synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gayan Dhanushka <gayanl...@gmail.com>
Subject [Exception in axis 2 server]
Date Sat, 24 Mar 2012 10:02:32 GMT
Hi,

When after starting the axis 2 server , I got this exception while trying
to reach "http://localhost:9000/services/SimpleStockQuoteService?wsdl"

this is the stack trace

org.apache.axis2.dataretrieval.DataRetrievalException:
org/apache/xml/serializer
/TreeWalker
        at
org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLo
catorImpl.java:85)
        at
org.apache.axis2.description.AxisService.getData(AxisService.java:300
7)
        at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:168
1)
        at
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1
449)
        at
org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor.generateWs
dl(DefaultHttpGetProcessor.java:432)
        at
org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor.process(De
faultHttpGetProcessor.java:128)
        at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java
:277)
        at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
WorkerPool.java:173)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError:
org/apache/xml/serializer/TreeWalker
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Tran
sformerFactoryImpl.java:823)
        at
org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.j
ava:511)
        at org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:473)
        at
org.apache.axis2.description.AxisService2WSDL11.generateOM(AxisServic
e2WSDL11.java:229)
        at
org.apache.axis2.dataretrieval.WSDLDataLocator.outputInlineForm(WSDLD
ataLocator.java:131)
        at
org.apache.axis2.dataretrieval.WSDLDataLocator.getData(WSDLDataLocato
r.java:73)
        at
org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLo
catorImpl.java:81)
        ... 10 more
Caused by: java.lang.ClassNotFoundException:
org.apache.xml.serializer.TreeWalke
r
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 17 more

Please help

Thank You!

-- 
*Gayan Dhanushka*
Undergraduate
Computer Science & Engineering
University of Moratuwa
Sri Lanka

Mime
View raw message