Hi all the problem of this all has been found. By some reason (maybe class loader) on the unix systems the jms handler from axis can not be loaded even it is correct registered in the java.protocol.handler.pkgs system property.
Using an own URLStreamHandlerFactory solved the problem also on unix based systems. Beat Beat Ris wrote: > > Hi all > > I use Axis 1.2 final and have a WebService using JMS as transport. On my > windows box running with Sun's JRE 1.4.2_09 all works fine. Now we have > deployed the software to AIX (5.2) which used IBM's JRE 1.4.2. > > In the AIX I get following exception: > > java.net.MalformedURLException: unknown protocol: jms > > when the locator tries to load the endpoint. I have checked Sun's manual > about > Protocol Handlers > (http://java.sun.com/developer/onlineTraining/protocolhandlers) > and all seems to be fine. I instrumented the code with view statements to > get > an understanding whats happen: > > When reading the system property "java.protocol.handler.pkgs", I see that > Axis > has registered the handler package correct. > > java.protocol.handler.pkgs=org.apache.axis.transport > > The Handler class itslef "org.apache.axis.transport.jms.Handler" also > exsists. > I check this by calling the default constructor to see if the class can be > loaded. > > So all should be setup correct, but when I then call > > new java.net.URL("jms:/EF.TIBCO.EMS.ORDER?vendor=Tibco"); > > I get the exception > > java.net.MalformedURLException: unknown protocol: jms > > I know that the URL jms:/EF... looks strange, but that how Axis wants to > have > any JMS transprort loaded. So I guess this is not the issue since it works > fine on Windows. Somehow the JVM does not see the JMS handler supported > from > Axis. > > I also checked any security setting on the AIX already. I pretty sure that > I oversee > something quite obvious. Any help or idea would be appreciated. > > Thanks > > Beat Ris > Swisscom IT Service AG > Switzerland > -- View this message in context: http://www.nabble.com/Problem-loading-JMS-protocol-handler-on-AIX-tf4523994.html#a12915685 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
