0 Replies Latest reply on Apr 1, 2003 3:05 PM by sys user

    Calling EJB which is running on Weblogic5.1 from JBoss 3.0.2

    sys user Master

      I am getting the following error while calling weblogic.jndi.WLInitialContextFactory.getInitialContext():

      ==========

      13:07:54,970 ERROR [Server] start failed
      java.lang.NoSuchMethodError
      at org.apache.crimson.tree.XmlDocumentBuilder.startDTD(XmlDocumentBuilder.java:633)
      at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1123)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
      at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:631)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:150)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:668)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:484)
      java.lang.NoSuchMethodError
      at org.apache.crimson.tree.XmlDocumentBuilder.startDTD(XmlDocumentBuilder.java:633)
      at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1123)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
      at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:631)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:150)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:668)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:484)
      13:07:54,980 INFO [Server] Undeploying all packages
      13:07:54,980 INFO [MainDeployer] Undeploying file:/C:/jboss-3.0.2_tomcat-4.0.4/server/default/conf/jboss-serv
      ice.xml
      13:07:54,990 INFO [MainDeployer] Cleaned Deployment file:/C:/jboss-3.0.2_tomcat-4.0.4/server/default/conf/jbo
      ss-service.xml
      13:07:54,990 INFO [MainDeployer] Undeployed file:/C:/jboss-3.0.2_tomcat-4.0.4/server/default/conf/jboss-servi
      ce.xml
      13:07:54,990 INFO [MainDeployer] Undeployed 1 deployed packages
      13:07:54,990 INFO [Server] Shutting down all services
      Shutting down
      13:07:54,990 INFO [ServiceController] Stopping 3 services
      13:07:54,990 INFO [SARDeployer] Stopping
      13:07:54,990 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@2ce908
      13:07:54,990 INFO [SARDeployer] Stopped
      13:07:54,990 INFO [JARDeployer] Stopping
      13:07:54,990 INFO [JARDeployer] Stopped
      13:07:54,990 INFO [MainDeployer] Stopping
      13:07:54,990 INFO [MainDeployer] Stopped
      13:07:54,990 INFO [ServiceController] Stopped 3 services
      13:07:54,990 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      Press any key to continue . . .


      =============
      I have added %WL_HOME%/classes and %WL_HOME%/lib/weblogicaux.jar to classpath.

      Is it possible to call EJB which is running on Weblogic 5.1 from JBoss?