Thank you for the response. Yes, I've read through this documentation. Unfortunately, I believe that I've done everything that the documentation instructs. (See full email below.)
Any other ideas? Thanks, Mike Quoting robert lazarski <[EMAIL PROTECTED]>: > Try starting here: > > http://ws.apache.org/axis2/1_2/app_server.html > > HTH, > Robert > > On 6/22/07, Mike Ferraro <[EMAIL PROTECTED]> wrote: > > > > I'd like to add that we have included Xerces 2.9.0 and Xalan 2.7.0 in the > > underlying JDK endorsed directory because the latest versions of Xerces > > and > > Xalan are required for other non-related applications that are deployed > > within > > WebLogic. > > > > I have tried removing the Xerces and Xalan libraries from both Axis2 and > > my > > services, but then I get the exception below, which seems completely > > strange to > > me because it looks like the ConfigurationFactory from the Commons > > Configuration > > library in my services deployment is getting found but then the > > Configuration > > class is not. This really seems like some sort of class loader issue, but > > I > > have no idea where to start. > > > > Mike > > > > Jun 21, 2007 8:03:32 PM > > > > > org.apache.commons.configuration.ConfigurationFactory$FileConfigurationFactory > > createObject > > Jun 21, 2007 8:03:32 PM org.apache.commons.digester.Digester endElement > > SEVERE: End event threw exception > > java.lang.ClassNotFoundException: > > org.apache.commons.configuration.Configuration > > at > > weblogic.utils.classloaders.GenericClassLoader.findClass( > > GenericClassLoader.java:198) > > at > > weblogic.utils.classloaders.ChangeAwareClassLoader.findClass( > > ChangeAwareClassLoader.java:61) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > > at > > weblogic.utils.classloaders.GenericClassLoader.loadClass( > > GenericClassLoader.java:223) > > at > > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass( > > ChangeAwareClassLoader.java:48) > > at org.apache.commons.digester.SetNextRule.end(SetNextRule.java > > :203) > > at org.apache.commons.digester.Rule.end(Rule.java:230) > > at org.apache.commons.digester.Digester.endElement(Digester.java > > :1130) > > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > > Source) > > at > > org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown > > Source) > > at > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement > > (Unknown > > Source) > > at > > > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch > > (Unknown > > Source) > > at > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > > Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > Source) > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > > Source) > > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse > > (Unknown > > Source) > > at org.apache.commons.digester.Digester.parse(Digester.java:1666) > > at > > org.apache.commons.configuration.ConfigurationFactory.getConfiguration( > > ConfigurationFactory.java:165) > > at edu.harvard.itis.util.ConfigurationManager.loadConfiguration > > (Unknown > > Source) > > at edu.harvard.itis.util.ConfigurationManager.load(Unknown Source) > > at edu.harvard.itis.util.ConfigurationManager.load(Unknown Source) > > at edu.harvard.itis.util.ConfigurationManager.load(Unknown Source) > > at edu.harvard.cait.cdws.services.CDWSServiceLifeCycle.startUp > > (Unknown > > Source) > > at > > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass( > > ServiceBuilder.java:454) > > at > > org.apache.axis2.deployment.ServiceBuilder.populateService( > > ServiceBuilder.java:176) > > at > > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup( > > ServiceGroupBuilder.java:98) > > at > > > > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup > > (ArchiveReader.java:106) > > at > > > > > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup > > (ArchiveReader.java:140) > > at > > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java > > :79) > > at > > org.apache.axis2.deployment.DeploymentEngine.doDeploy( > > DeploymentEngine.java:582) > > at > > org.apache.axis2.deployment.repository.util.WSInfoList.update( > > WSInfoList.java:201) > > at > > org.apache.axis2.deployment.RepositoryListener.update( > > RepositoryListener.java:271) > > at > > org.apache.axis2.deployment.RepositoryListener.checkServices( > > RepositoryListener.java:189) > > at > > org.apache.axis2.deployment.DeploymentEngine.loadServices( > > DeploymentEngine.java:110) > > at > > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices( > > WarBasedAxisConfigurator.java:257) > > at > > > > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext > > (ConfigurationContextFactory.java:74) > > at > > org.apache.axis2.transport.http.AxisServlet.initConfigContext( > > AxisServlet.java:486) > > at > > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:406) > > at > > weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run( > > ServletStubImpl.java:993) > > at > > weblogic.security.acl.internal.AuthenticatedSubject.doAs( > > AuthenticatedSubject.java:317) > > at > > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) > > at > > weblogic.servlet.internal.ServletStubImpl.createServlet( > > ServletStubImpl.java:869) > > at > > weblogic.servlet.internal.ServletStubImpl.createInstances( > > ServletStubImpl.java:848) > > at > > weblogic.servlet.internal.ServletStubImpl.prepareServlet( > > ServletStubImpl.java:787) > > at > > weblogic.servlet.internal.WebAppServletContext.preloadServlet( > > WebAppServletContext.java:3252) > > at > > weblogic.servlet.internal.WebAppServletContext.preloadServlets( > > WebAppServletContext.java:3197) > > at > > weblogic.servlet.internal.WebAppServletContext.preloadResources( > > WebAppServletContext.java:3174) > > at > > weblogic.servlet.internal.WebAppServletContext.setStarted( > > WebAppServletContext.java:5647) > > at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java > > :869) > > at > > weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java > > :2022) > > at > > weblogic.j2ee.J2EEApplicationContainer.activate( > > J2EEApplicationContainer.java:2063) > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer > > (SlaveDeployer.java:2592) > > at > > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit( > > SlaveDeployer.java:2515) > > at > > weblogic.management.deploy.slave.SlaveDeployer$Task.commit( > > SlaveDeployer.java:2317) > > at > > weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit( > > SlaveDeployer.java:2399) > > at > > weblogic.management.deploy.slave.SlaveDeployer$Task.prepare( > > SlaveDeployer.java:2311) > > at > > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare( > > SlaveDeployer.java:2479) > > at > > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask( > > SlaveDeployer.java:798) > > at > > weblogic.management.deploy.slave.SlaveDeployer.prepareDelta( > > SlaveDeployer.java:507) > > at > > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate( > > SlaveDeployer.java:465) > > at > > weblogic.drs.internal.SlaveCallbackHandler$1.execute( > > SlaveCallbackHandler.java:25) > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) > > > > > > Quoting Mike Ferraro <[EMAIL PROTECTED]>: > > > Hello, > > > > > > I have deployed Axis2 to Weblogic 8.1 (we are still on SP2) in the > > exploded > > > format and I have included a weblogic.xml file in the WEB-INF directory > > that > > > looks like this: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <!DOCTYPE weblogic-web-app PUBLIC > > > "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" > > > "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"> > > > <weblogic-web-app> > > > <container-descriptor> > > > <prefer-web-inf-classes>true</prefer-web-inf-classes> > > > </container-descriptor> > > > </weblogic-web-app> > > > > > > I just deployed a packaged aar service file containing a group of > > services to > > > the axis2/WEB-INF/services directory. The services have a > > ServiceLifeCycle > > > class that is attempting to preload some configuration files. > > > > > > I successfully deployed the StockQuoteService.aar sample, but when I try > > to > > > deploy my services I get the exception below. I have all of the > > necessary > > > libraries packaged in my aar file in the lib directory. I have tried > > > deploying > > > with the Xerces and Xalan jar files included in my aar lib directory and > > also > > > tried deploying without them. I get the same results in both > > cases. Any > > > help > > > would be much appreciated. > > > > > > -Mike > > > > > > Jun 21, 2007 4:26:47 PM org.apache.axis2.deployment.ModuleDeployerdeploy > > > INFO: Deploying module: addressing-1.2 > > > Jun 21, 2007 4:26:47 PM org.apache.axis2.deployment.ModuleDeployerdeploy > > > INFO: Deploying module: soapmonitor-1.2 > > > [JAM] Warning: You are running under a pre-1.5 JDK. JSR175-style source > > > annotations will not be available > > > Jun 21, 2007 4:26:48 PM org.apache.axis2.deployment.ServiceDeployerdeploy > > > INFO: Deploying Web service: version.aar > > > Jun 21, 2007 4:26:48 PM org.apache.axis2.deployment.ServiceDeployerdeploy > > > INFO: Deploying Web service: StockQuoteService.aar > > > Jun 21, 2007 4:26:51 PM > > edu.harvard.cait.cdws.services.CDWSServiceLifeCycle > > > startUp > > > INFO: > > > Jun 21, 2007 4:26:51 PM > > edu.harvard.cait.cdws.services.CDWSServiceLifeCycle > > > startUp > > > INFO: Initializing configuration... > > > Jun 21, 2007 4:26:51 PM > > edu.harvard.cait.cdws.services.CDWSServiceLifeCycle > > > startUp > > > INFO: > > > Jun 21, 2007 4:26:52 PM org.apache.axis2.deployment.ServiceDeployerdeploy > > > INFO: The cdws.aar service, which is not valid, caused > > > java.lang.LinkageError: > > > Class org/xml/sax/InputSource violates loader constraints > > > at java.lang.ClassLoader.defineClass0(Native Method) > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:539) > > > at > > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > > > at > > > > > weblogic.utils.classloaders.GenericClassLoader.findLocalClass( > > GenericClassLoader.java:476) > > > at > > > > > weblogic.utils.classloaders.GenericClassLoader.findClass( > > GenericClassLoader.java:181) > > > at > > > > > weblogic.utils.classloaders.ChangeAwareClassLoader.findClass( > > ChangeAwareClassLoader.java:61) > > > at > > > > > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass( > > ChangeAwareClassLoader.java:46) > > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > > Source) > > > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse > > (Unknown > > > Source) > > > at org.apache.commons.digester.Digester.parse(Digester.java > > :1666) > > > at > > > > > org.apache.commons.configuration.ConfigurationFactory.getConfiguration( > > ConfigurationFactory.java:165) > > > at > > > edu.harvard.itis.util.ConfigurationManager.loadConfiguration(Unknown > > > Source) > > > at edu.harvard.itis.util.ConfigurationManager.load(Unknown > > Source) > > > at edu.harvard.itis.util.ConfigurationManager.load(Unknown > > Source) > > > at edu.harvard.itis.util.ConfigurationManager.load(Unknown > > Source) > > > at > > > edu.harvard.cait.cdws.services.CDWSServiceLifeCycle.startUp(Unknown > > > Source) > > > at > > > > > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass( > > ServiceBuilder.java:454) > > > at > > > > > org.apache.axis2.deployment.ServiceBuilder.populateService( > > ServiceBuilder.java:176) > > > at > > > > > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup( > > ServiceGroupBuilder.java:98) > > > at > > > > > > > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup > > (ArchiveReader.java:106) > > > at > > > > > > > > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup > > (ArchiveReader.java:140) > > > at > > > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java > > :79) > > > at > > > > > org.apache.axis2.deployment.DeploymentEngine.doDeploy( > > DeploymentEngine.java:582) > > > at > > > > > org.apache.axis2.deployment.repository.util.WSInfoList.update( > > WSInfoList.java:201) > > > at > > > > > org.apache.axis2.deployment.RepositoryListener.update( > > RepositoryListener.java:271) > > > at > > > > > org.apache.axis2.deployment.RepositoryListener.checkServices( > > RepositoryListener.java:189) > > > at > > > > > org.apache.axis2.deployment.DeploymentEngine.loadServices( > > DeploymentEngine.java:110) > > > at > > > > > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices( > > WarBasedAxisConfigurator.java:257) > > > at > > > > > > > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext > > (ConfigurationContextFactory.java:74) > > > at > > > > > org.apache.axis2.transport.http.AxisServlet.initConfigContext( > > AxisServlet.java:486) > > > at > > > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:406) > > > at > > > > > weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run( > > ServletStubImpl.java:993) > > > at > > > > > weblogic.security.acl.internal.AuthenticatedSubject.doAs( > > AuthenticatedSubject.java:317) > > > at > > > weblogic.security.service.SecurityManager.runAs(SecurityManager.java > > :118) > > > at > > > > > weblogic.servlet.internal.ServletStubImpl.createServlet( > > ServletStubImpl.java:869) > > > at > > > > > weblogic.servlet.internal.ServletStubImpl.createInstances( > > ServletStubImpl.java:848) > > > at > > > > > weblogic.servlet.internal.ServletStubImpl.prepareServlet( > > ServletStubImpl.java:787) > > > at > > > > > weblogic.servlet.internal.WebAppServletContext.preloadServlet( > > WebAppServletContext.java:3252) > > > at > > > > > weblogic.servlet.internal.WebAppServletContext.preloadServlets( > > WebAppServletContext.java:3197) > > > at > > > > > weblogic.servlet.internal.WebAppServletContext.preloadResources( > > WebAppServletContext.java:3174) > > > at > > > > > weblogic.servlet.internal.WebAppServletContext.setStarted( > > WebAppServletContext.java:5647) > > > at > > > weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869) > > > at > > > > > weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java > > :2022) > > > at > > > > > weblogic.j2ee.J2EEApplicationContainer.activate( > > J2EEApplicationContainer.java:2063) > > > at > > > > > > > > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer > > (SlaveDeployer.java:2592) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit( > > SlaveDeployer.java:2515) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer$Task.commit( > > SlaveDeployer.java:2317) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit( > > SlaveDeployer.java:2399) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer$Task.prepare( > > SlaveDeployer.java:2311) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare( > > SlaveDeployer.java:2479) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask( > > SlaveDeployer.java:798) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer.prepareDelta( > > SlaveDeployer.java:507) > > > at > > > > > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate( > > SlaveDeployer.java:465) > > > at > > > > > weblogic.drs.internal.SlaveCallbackHandler$1.execute( > > SlaveCallbackHandler.java:25) > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
