> From: shashidhar velagandula
>     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

That's not surprising - most browsers don't understand httpg:... as a prefix.

Just to check, which of the following do you want to do?

1) Client (browser?) uses http to access a web application running inside 
Tomcat.  Web application redirects client to a httpg: resource.  Browser uses 
httpg to access that resource.

2) Client (browser?) uses http to access a web application running inside 
Tomcat.  Web application accesses the httpg: resource internally, forms a 
response to the browser, and replies to the browser using http.

3) Client (browser?) uses httpg to access a web application running inside 
Tomcat.

4) Something else - in which case please tell us what!


1 and 2 require no changes to Tomcat's configuration files.  3 does, but Tomcat 
doesn't support a httpg connector so you'd have to write your own.  1 and 3 
require the client to understand httpg, which browsers don't.

I *think* you're trying to do 2, in which case you need to write/buy the 
appropriate web application to deploy, and make sure its configuration files 
are set up so that it knows to contact httpg://srmserver.host:8444/ to reach 
the SRM endpoint.  If you're writing it, 
http://www.mail-archive.com/users@tomcat.apache.org/msg34996.html may be 
relevant - the webapp will have to be quite careful in how it registers the 
protocol handler.

If you're trying to do something else, post more details to the list and we may 
be able to help!

                - Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to