geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Relja <aurelije_zo...@yahoo.com>
Subject A jaxws-calculator example error with Geronimo v.2.0.2
Date Wed, 21 Nov 2007 16:36:15 GMT

Hi,

I have downloaded Geronimo v2.0.2 (Jetty and Tomcat 6) and Simple Web
Service with JAX-WS example source code. After building and deploying in
Jetty or Tomcat version I have this error:

HTTP ERROR: 500
javax/xml/bind/JAXBContext
RequestURI=/jaxws-calculator/add.jsp
Caused by:
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
	at java.lang.Class.getDeclaredMethods(Class.java:1763)
	at net.sf.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:348)
	at net.sf.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:351)
	at net.sf.cglib.proxy.Enhancer.getMethods(Enhancer.java:421)
	at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:456)
	at
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
	at
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
	at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
	at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
	at
org.apache.geronimo.jaxws.client.JAXWSServiceReference.createServiceProxy(JAXWSServiceReference.java:170)
	at
org.apache.geronimo.jaxws.client.JAXWSServiceReference.getContent(JAXWSServiceReference.java:134)
	at
org.apache.geronimo.cxf.client.CXFServiceReference.getContent(CXFServiceReference.java:57)
	at org.apache.xbean.naming.context.ContextUtil.resolve(ContextUtil.java:61)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:118)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:617)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:158)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:617)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:158)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:603)
	at javax.naming.InitialContext.lookup(InitialContext.java:351)
	at org.apache.jsp.add_jsp._jspService(add_jsp.java:105)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at
org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
	at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)
	at
org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:313)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
	at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)
Powered by Jetty://
Any help will be appreciated.

Regards,
Relja


-----

Regards,
Relja
-- 
View this message in context: http://www.nabble.com/A-jaxws-calculator-example-error-with-Geronimo-v.2.0.2-tf4851337s134.html#a13880903
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message