HI ,

    I am using apache-tomcat-6.0.18 , I want to access a  SRM(storage
resource manager) service endpoint which uses httpg protocol
eg: service endpoint - httpg://srmserver.host:8444/ , by deploying a web
service application using apache-tomcat server

when a client tries to invoke the service , it is giving error as  Exception
java.net.MalformedURLException: unknown protocol: httpg

After searching in the google , I tried adding the following in the apache
server.xml file

1)

 <Connector className="org.apache.catalina.connector.http.HttpConnector"
                 port="8444" minProcessors="5" maxProcessors="75"
                 enableLookups="true" authenticate="true"
                 acceptCount="10" debug="1" scheme="httpg" secure="true">
        <Factory
className="org.globus.tomcat.catalina.net.GSIServerSocketFactory"
                 cacertdir="/etc/grid-security/certificates"
                 proxy="/etc/grid-security/hostproxy.pem"
                 gridMap="/etc/grid-security/grid-mapfile"
                debug="3"/>
      </Connector>

 <Valve className="org.globus.tomcat.coyote.valves.HTTPSValve55" />

2)  In tomcat_dir/bin/catalina.sh file

CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar

CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/cog-jglobus.jar":"$CATALINA_HOME/common/lib/log4j-1.2.8.jar":"$CATALINA_HOME/common/lib/ogsa.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/xercesImpl.jar":"$CATALINA_HOME/common/endorsed/xmlsec.jar":"$CATALINA_HOME/common/lib/xalan.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/puretls.jar":"$CATALINA_HOME/common/lib/jce-jdk13-120.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/cryptix32.jar":"$CATALINA_HOME/common/lib/cryptix-asn1.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/cryptix.jar":"$CATALINA_HOME/common/lib/saag.jar":"$CATALINA_HOME/common/lib/wsdl4j.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/Berkeley.StorageResourceManager-client-api.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/Berkeley.StorageResourceManager-client-stub.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/Berkeley.StorageResourceManager-client-samples.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/cryptix.jar":"$CATALINA_HOME/common/lib/axis.jar":"$CATALINA_HOME/common/lib/cog-axis.jar"
CLASSPATH="$CLASSPATH":"$CATALINA_HOME/common/lib/commons-discovery.jar":"$CATALINA_HOME/common/lib/commons-logging.jar":"$CATALINA_HOME/common/lib/jaxrpc.jar"

3) In tomcat_dir/bin/setclasspath.sh file
appended the line :
CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/common/lib/cog-url.jar

4) Even I have copied all the globus-4.0.7 lib  jar files to
tomcat_dir/common/lib directory also


I was not clear about this configuration with tomcat ( I am new to tomcat
server usage ), what are the changes to be done on the server and client
side of the deployed service , Please help me to configure the tomcat server
to support httpg protocol ?


Thanks & Regards,
shashidhar

Reply via email to