axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Bateman <bobbate...@sequoiallc.com>
Subject Debugging Startup faults
Date Wed, 15 Dec 2004 15:33:23 GMT
Good morning!

I'm attempting to debug a service I'm deploying.  As part of that
effort, I've turned on DEBUG (yeah, I know - LOTS of output) within the
Log4j properties file.

I'm wading thru the output looking for a clue to my current problem when
I saw:

2980 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(exception00)
3088 [main] DEBUG org.apache.axis.encoding.ser.BaseSerializerFactory  -
Exception:
java.lang.NoSuchMethodException:
org.apache.axis.encoding.ser.castor.CastorSerializerFactory.create(java.lang.Class, javax.xml.namespace.QName)
	at java.lang.Class.getMethod(Class.java:986)
	at
org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:253)
	at
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:529)
	at
org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:245)
	at
org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:225)
	at
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:208)
	at
org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139)
	at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)
	at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:176)
	at org.apache.axis.AxisEngine.init(AxisEngine.java:162)
	at org.apache.axis.AxisEngine.<init>(AxisEngine.java:146)
	at org.apache.axis.server.AxisServer.<init>(AxisServer.java:87)
	at
org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
	at
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
	at org.apache.axis.server.AxisServer.getServer(AxisServer.java:72)
	at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:183)
	at
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:370)
	at
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:110)
	at javax.servlet.GenericServlet.init(GenericServlet.java:211)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
	at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
	at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
	at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:110)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1024)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
	at
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:121)
	at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
	at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
	at org.apache.commons.digester.Rule.end(Rule.java:276)
	at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
	at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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.commons.digester.Digester.parse(Digester.java:1567)
	at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

First thing this did was "remind" me that I need to insure I have
rebuilt my axis.jar file with Castor support.  I've verified this - the
jar file contains the requisite module.  Not being totally satisfied, I
turned on -verbose:class within my Tomcat startup.  I'm seeing:

[Loaded org.apache.axis.encoding.ser.castor.CastorSerializerFactory]

in the log file from Tomcat.


So...  The question becomes, is it possible to tell Axis to not produce
a fault at deployTypeMapping(WSDDService.java:529) during startup?  It
almost seems a "waste" to fault there as the container "should" load the
desired module for us.  Or am I missing something?  I'm getting the
above fault for each reference to the Serializer and Deserializer in my
deployment descriptor (18 references each).

Any thoughts MUCH appreciated!

Bob


Mime
View raw message