List Info

Thread: Exception while initializing WebServer




Exception while initializing WebServer
user name
2006-07-20 05:10:59
Dear All,

I'm using XML RPC version 3.0b1.
Jars in my application: xmlrpc-client-3.0b1.jar,
xmlrpc-common-3.0b1.jar,
xmlrpc-server-3.0b1.jar

When I try this code
Webserver wServer = new WebServer(8090);

I got this exception
Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/ws/commons/serialize/DOMSerializer
	at
org.apache.xmlrpc.serializer.NodeSerializer.<clinit>(N
odeSerializer.java:27)
	at
org.apache.xmlrpc.common.TypeFactoryImpl.<clinit>(Type
FactoryImpl.java:85)
	at
org.apache.xmlrpc.common.XmlRpcController.<init>(XmlRp
cController.java:28)
	at
org.apache.xmlrpc.server.XmlRpcServer.<init>(XmlRpcSer
ver.java:34)
	at
org.apache.xmlrpc.server.XmlRpcStreamServer.<init>(Xml
RpcStreamServer.java:49)
	at
org.apache.xmlrpc.server.XmlRpcHttpServer.<init>(XmlRp
cHttpServer.java:14)
	at
org.apache.xmlrpc.webserver.ConnectionServer.<init>(Co
nnectionServer.java:28)
	at
org.apache.xmlrpc.webserver.WebServer.newXmlRpcStreamServer(
WebServer.java:85)
	at
org.apache.xmlrpc.webserver.WebServer.<init>(WebServer
.java:82)
	at
org.apache.xmlrpc.webserver.WebServer.<init>(WebServer
.java:100)
	at ipcs.test.JavaServer1.main(JavaServer1.java:60)

It looks I'm missing some jars in my apllication.

Any clue? please..
-- 
View this message in context: http://www.nabble.com/Except
ion-while-initializing-WebServer-tf1970334.html#a5409051
Sent from the Apache Xml-RPC - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Exception while initializing WebServer
user name
2006-07-21 01:13:58
Hi!

Looks as if you don't have commons-utils in your classpath.
You'll find a similar thread here:
http://www.nabble.com/about-commons-codec-tf193
4893.html#a5303921


For a complete dependency list see:
http://
ws.apache.org/xmlrpc/dependencies.html

regards,
Jimisola


-- 
View this message in context: http://www.nabble.com/Except
ion-while-initializing-WebServer-tf1970334.html#a5427222
Sent from the Apache Xml-RPC - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Exception while initializing WebServer
user name
2006-07-21 08:39:13
Where do I get this commons-utils. Because in the bundle
xmlrpc-3.0b1, I only
got 3 jars (xmlrpc-client-3.0b1.jar,
xmlrpc-common-3.0b1.jar,
xmlrpc-server-3.0b1.jar).

I try to visit http://ws.apache.o
rg/commons/util/ but I find no link for
download.

???
-- 
View this message in context: http://www.nabble.com/Except
ion-while-initializing-WebServer-tf1970334.html#a5430245
Sent from the Apache Xml-RPC - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )