aspose file tools*
The moose likes Tomcat and the fly likes getSchema()Ljavax Excep Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "getSchema()Ljavax Excep" Watch "getSchema()Ljavax Excep" New topic
Author

getSchema()Ljavax Excep

elangovan Balakrishnan
Greenhorn

Joined: May 19, 2006
Posts: 3
Exception :

javax.security.auth.login.LoginException: java.lang.NoSuchMethodError: javax.xml.parsers.SAXParserFactory.getSchema()Ljavax/xml/validation/Schema;

Version Used in the application :
Tomcat : 5.0.28 Axis : 1.1 JDK(sun) : 1.4.2 Weblogic : 9.1
SOAP : 1.1 Xerces : 2.6

We are facing above failures,when trying to connect to weblogic server using Tomcat server as a web service.

Our application is deployed in the weblogic, when we directly access the application on weblogic server it is working fine.. but when we try to connect through Tomcat Server (Web service - SOAP and axis is deployed)
we getting javax.security.auth.login.LoginException.

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:124)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:98)
at weblogic.xml.jaxp.WebLogicSAXParser.<init>(WebLogicSAXParser.java:45)
at weblogic.xml.jaxp.WebLogicSAXParserFactory.newSAXParser(WebLogicSAXParserFactory.java:51)
at weblogic.rmi.internal.DescriptorManager.getDescriptorAsMap(DescriptorManager.java:176)
at weblogic.rmi.internal.DescriptorManager.getDescriptorAsMap(DescriptorManager.java:162)
at weblogic.rmi.internal.DescriptorManager.createRuntimeDescriptor(DescriptorManager.java:107)
at weblogic.rmi.internal.DescriptorManager.getBasicRuntimeDescriptor(DescriptorManager.java:88)
at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:54)
at weblogic.rmi.extensions.server.ServerHelper.getRuntimeDescriptor(ServerHelper.java:332)
at weblogic.common.internal.RMIBootServiceStub.<clinit>(RMIBootServiceStub.java:29)
at weblogic.security.acl.internal.Security.authenticate(Security.java:177)
at weblogic.security.acl.internal.Security.authenticate(Security.java:146)
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:112)

It is working in Weblogic 8 version with same set-up.

We don't know why it gives this such exception.Can please help in this issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getSchema()Ljavax Excep