axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph O. Delfs" <r.o.de...@web.de>
Subject [Axis2] xmlbean deserialization
Date Fri, 30 Jun 2006 09:11:18 GMT
Hello,
i am running axis2 1.0 on tomcat 5.0 and try to get a simple service using xmlbeans data binding
to work. i use WSDL2JAVA to generate client and server-side code. the service deploys without
problems, but on testing there seems to be a problem during deserialization of the xmlbean
on the server side, but i am not able to find out what is going wrong. i rechecked xbeans.jar,
but there is only the one that comes with the standart distribution, which also contains the
XBeanDebug class, which cannot be found. any help in further debugging apprechiated!
Cheers,
Ralph

2006-06-30 03:35:51 StandardWrapperValve[AxisServlet]: Servlet.service() for servlet AxisServlet
threw exception
java.lang.ExceptionInInitializerError
       at sun.misc.Unsafe.ensureClassInitialized(Native Method)
       at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
       at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
       at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
       at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
       at java.lang.reflect.Field.get(Field.java:357)
       at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:768)
       at pong.PongDocument.<clinit>(PongDocument.java:19)
       at pong.PongDocument$Factory.parse(PongDocument.java:133)
       at pong.PongAMessageReceiverInOut.fromOM(PongAMessageReceiverInOut.java:148)
       at pong.PongAMessageReceiverInOut.invokeBusinessLogic(PongAMessageReceiverInOut.java:50)
       at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
       at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
       at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       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:585)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
       at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Could not instantiate SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException):
is the version of xbean.jar correct?
       at schemaorg_apache_xmlbeans.system.s21C98D6BACB2C3C818831819B5ADDDA2.TypeSystemHolder.loadTypeSystem(Unknown
Source)
       at schemaorg_apache_xmlbeans.system.s21C98D6BACB2C3C818831819B5ADDDA2.TypeSystemHolder.<clinit>(Unknown
Source)
       ... 53 more
Caused by: java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       ... 55 more
Caused by: java.lang.NoClassDefFoundError: org/apache/xmlbeans/impl/common/XBeanDebug
       at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:178)
       ... 59 more



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message