[Design of JBoss Web Services] - Re: Using jbossws/trunk for jboss-5.0, jboss-4.2, jboss-4.0.
by meghanai_99
Ok now I have followed the instructions step by step. I got source code for JBoss 4.0.5 as per the instructions. Everything builds well but when I run 'ant tests' I get following exception for several tests.
14:45:59,358 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.
0.5.ejb3/build/output/jboss-4.0.5.GA-ejb3/server/default/tmp/deploy/tmp37641jaxr
pc-jbws165.ear-contents/jaxrpc-jbws165-both.jar
java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/TypeMappingRegistry
at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpoi
ntDeployer.java:84)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.createServiceEnd
point(DeployerInterceptor.java:127)
at org.jboss.ws.integration.jboss42.DeployerInterceptorEJB.createService
Endpoint(DeployerInterceptorEJB.java:43)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerI
nterceptor.java:78)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
So which jar file am I missing? Where should it go?
Notice in the stack trace 'org.jboss.ws.integration.jboss42.DeployerInterceptor' is called and I have JBoss 4.0.5 so is it right?
Thank you,
Meghana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024011#4024011
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024011
17 years, 10 months
[Design of JBoss Remoting, Unified Invokers] - Invalid error logging
by scott.stark@jboss.org
I'm seeing errors like the following from the remoting layer since the latest version updates in trunk:
anonymous wrote :
| 12:34:20,129 ERROR [ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() cal
| l failed: Failed to find template for: FakeDsXmlDataSourceTemplate
| 12:34:20,566 ERROR [ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() cal
| l failed: Failed to find deployment for name: testAddDataSource-dsf.xml
|
The throwing an exception as part of an invocation should not be producing this. Its also be logged at DEBUG level (which is also not consistent with out logging conventions. It should be a checked TRACE) with the exception:
| 2007-02-28 12:34:20,129 ERROR [org.jboss.remoting.transport.socket.ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() call failed: Failed to find template for: FakeDsXmlDataSourceTemplate
| 2007-02-28 12:34:20,129 DEBUG [org.jboss.remoting.transport.socket.ServerThread] SocketServerInvoker[0.0.0.0:4446].invoke() call failed
| java.lang.IllegalStateException: Failed to find template for: FakeDsXmlDataSourceTemplate
| at org.jboss.profileservice.management.ManagementViewImpl.getTemplate(ManagementViewImpl.java:301)
| 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.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:57)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:715)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:552)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:363)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023954#4023954
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023954
17 years, 10 months