[Design of JBoss ESB] - Re: an error occured when I use esb to invoke the ejb throug
by mark.little@jboss.com
Can you try with the trunk, i.e., check out ESB via anonsvn and try again with that code? Although some of the code your stack trace touches hasn't changed in a while, some of it has. Just looking at the trunk code:
| 10:55:17,281 ERROR [STDERR] MyAction error invoke
| 10:55:17,312 ERROR [STDERR] java.lang.NullPointerException
| 10:55:17,312 ERROR [STDERR] at java.net.URI$Parser.parse(URI.java:3010)
| 10:55:17,312 ERROR [STDERR] at java.net.URI.(URI.java:578)
| 10:55:17,312 ERROR [STDERR] at org.jboss.internal.soa.esb.addressing.helpers.CallHelper.fromXML(CallHelper.java:150)
|
indicates that the RelatesTo component of the message header is invalid (null). I've updated the code so we trap that (we should have). So although this won't fix your problem, it'll at least get handled more gracefully.
If you can try with the latest trunk and this still problem still happens, then let us know.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053371#4053371
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053371
18 years, 10 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remote replyto functionality - Bridge configuration in p
by thomasra
I agree the correlation bit isn't necessary if we use temp queues, however, the JMS spec intent on using those fields (albeit on a single provider) is something that would be very nice to have.
I went along and changed Bridge.java to test this using temp queues, by adding an inner class that is a Runnable, and then using QueueRequestor. Then the bridge would just spawn the inner class in a new thread, which blocks until a response arrives, and then it switches ReplyTo back again to the original values. I haven't thought about the overhead of creating/closing temp queues, so that is valuable input.
Atleast if things were implemented this way we wouldn't have to keep a mapping (the Runnable is given the necessary state through the constructor).
I see some problems with this, but they might be trivial to implement:
* Threading and replies that don't arrive (we would need to set a timeout and handle the situation)
* Pooling the threads so things don't get out of hand
* Reduce performance hit by reusing temp queues for a session
Oh, and I am testing the bridge using activemq as the remote provider, and will gather some experiences with this that I can give you.
Any more?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053352#4053352
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053352
18 years, 10 months
[Design of JBoss ESB] - an error occured when I use esb to invoke the ejb through we
by sdwfxsf
Web can invoke web services on ESB.
ESB can invoke web services on Back-End.(Back-End is deployed on another server)
But when we try to call web services on Back-End via ESB from Web, something unexpected happened.
The following are the console information from ESB server:
The version of the sofrwares are as follows:
JBoss AS 4.2.0 GA
Jbossesb 4.2MR2
10:55:16,578 INFO [STDOUT] HelloWorld Hit! hello
10:55:16,578 INFO [STDOUT] esb web service
10:55:16,984 INFO [STDOUT] invoke MyAction.execute------
10:55:16,984 INFO [STDOUT] get from client:hello
10:55:16,984 INFO [STDOUT] check the user......
10:55:16,984 INFO [STDOUT] invoke services...
10:55:17,140 INFO [STDOUT] before invokeorg.jboss.ws.core.jaxrpc.client.CallImpl@b18b90
10:55:17,250 ERROR [STDERR] java.rmi.RemoteException: Call invocation failed; nested exception is:
java.io.IOException: Could not transmit message
10:55:17,250 ERROR [STDERR] at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:526)
10:55:17,250 ERROR [STDERR] at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:276)
10:55:17,250 ERROR [STDERR] at com.cvicse.esb.MyAction.getfromserver(MyAction.java:73)
10:55:17,250 ERROR [STDERR] at com.cvicse.esb.MyAction.execute(MyAction.java:31)
10:55:17,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:55:17,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:55:17,250 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:55:17,250 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
10:55:17,265 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
10:55:17,265 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
10:55:17,265 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:253)
10:55:17,265 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:301)
10:55:17,265 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
10:55:17,265 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
10:55:17,265 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
10:55:17,265 ERROR [STDERR] Caused by: java.io.IOException: Could not transmit message
10:55:17,265 ERROR [STDERR] at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:192)
10:55:17,265 ERROR [STDERR] at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
10:55:17,265 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:322)
10:55:17,265 ERROR [STDERR] at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:507)
10:55:17,265 ERROR [STDERR] ... 14 more
10:55:17,265 ERROR [STDERR] Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
10:55:17,265 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
10:55:17,265 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
10:55:17,265 ERROR [STDERR] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
10:55:17,265 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1550)
10:55:17,265 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:530)
10:55:17,281 ERROR [STDERR] at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:171)
10:55:17,281 ERROR [STDERR] ... 17 more
10:55:17,281 ERROR [STDERR] Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - /EchoBeanServiceService/EchoBeanService
10:55:17,281 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:72)
10:55:17,281 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:472)
10:55:17,281 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:304)
10:55:17,281 ERROR [STDERR] ... 22 more
10:55:17,281 INFO [STDOUT] get from the ejb server:null
10:55:17,281 WARN [ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: Unexpected invocation target exception from processor
at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:123)
at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:253)
at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:301)
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)
Caused by: java.lang.NullPointerException
at com.cvicse.esb.MyAction.execute(MyAction.java:33)
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.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
... 6 more
10:55:17,281 ERROR [STDERR] MyAction error invoke
10:55:17,312 ERROR [STDERR] java.lang.NullPointerException
10:55:17,312 ERROR [STDERR] at java.net.URI$Parser.parse(URI.java:3010)
10:55:17,312 ERROR [STDERR] at java.net.URI.(URI.java:578)
10:55:17,312 ERROR [STDERR] at org.jboss.internal.soa.esb.addressing.helpers.CallHelper.fromXML(CallHelper.java:150)
10:55:17,312 ERROR [STDERR] at org.jboss.internal.soa.esb.message.format.xml.HeaderImpl.fromXML(HeaderImpl.java:99)
10:55:17,312 ERROR [STDERR] at org.jboss.internal.soa.esb.message.format.xml.MessageImpl.fromXML(MessageImpl.java:183)
10:55:17,312 ERROR [STDERR] at org.jboss.soa.esb.util.Util.deserialize(Util.java:214)
10:55:17,312 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.JmsCourier.pickup(JmsCourier.java:356)
10:55:17,312 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:223)
10:55:17,312 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:205)
10:55:17,312 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.attemptDelivery(MessageDeliveryAdapter.java:216)
10:55:17,312 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliver(MessageDeliveryAdapter.java:147)
10:55:17,312 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliverSync(MessageDeliveryAdapter.java:109)
10:55:17,312 ERROR [STDERR] at com.cvicse.esb.ESBWebservice.sayHello(ESBWebservice.java:32)
10:55:17,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:55:17,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:55:17,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:55:17,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
10:55:17,312 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
10:55:17,312 ERROR [STDERR] at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
10:55:17,328 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
10:55:17,328 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
10:55:17,328 ERROR [STDERR] at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
10:55:17,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
10:55:17,328 ERROR [STDERR] at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
10:55:17,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:55:17,328 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
10:55:17,328 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
10:55:17,328 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
10:55:17,328 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:55:17,328 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
10:55:17,328 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
10:55:17,328 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
10:55:17,328 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
10:55:17,328 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
10:55:17,328 ERROR [JmsCourier] Object in JMS message is not a Serializeable
java.io.IOException: org.jboss.soa.esb.UnmarshalException: java.lang.NullPointerException
at org.jboss.soa.esb.util.Util.deserialize(Util.java:219)
at org.jboss.internal.soa.esb.couriers.JmsCourier.pickup(JmsCourier.java:356)
at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:223)
at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:205)
at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.attemptDelivery(MessageDeliveryAdapter.java:216)
at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliver(MessageDeliveryAdapter.java:147)
at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliverSync(MessageDeliveryAdapter.java:109)
at com.cvicse.esb.ESBWebservice.sayHello(ESBWebservice.java:32)
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.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
10:55:17,437 INFO [STDOUT] invoke MyAction.execute------
10:55:17,437 INFO [STDOUT] get from client:hello
10:55:17,437 INFO [STDOUT] check the user......
10:55:17,437 INFO [STDOUT] invoke services...
10:55:17,593 INFO [STDOUT] before invokeorg.jboss.ws.core.jaxrpc.client.CallImpl@ac3f94
10:55:17,671 ERROR [STDERR] java.rmi.RemoteException: Call invocation failed; nested exception is:
java.io.IOException: Could not transmit message
10:55:17,687 ERROR [STDERR] at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:526)
10:55:17,687 ERROR [STDERR] at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:276)
10:55:17,687 ERROR [STDERR] at com.cvicse.esb.MyAction.getfromserver(MyAction.java:73)
10:55:17,687 ERROR [STDERR] at com.cvicse.esb.MyAction.execute(MyAction.java:31)
10:55:17,687 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:55:17,687 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:55:17,687 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:55:17,687 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
10:55:17,687 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
10:55:17,687 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
10:55:17,687 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:253)
10:55:17,687 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:301)
10:55:17,687 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
10:55:17,687 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
10:55:17,687 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
10:55:17,687 ERROR [STDERR] Caused by: java.io.IOException: Could not transmit message
10:55:17,687 ERROR [STDERR] at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:192)
10:55:17,687 ERROR [STDERR] at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
10:55:17,687 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:322)
10:55:17,687 ERROR [STDERR] at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:507)
10:55:17,687 ERROR [STDERR] ... 14 more
10:55:17,687 ERROR [STDERR] Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
10:55:17,687 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
10:55:17,703 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
10:55:17,703 ERROR [STDERR] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
10:55:17,703 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1550)
10:55:17,703 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:530)
10:55:17,703 ERROR [STDERR] at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:171)
10:55:17,703 ERROR [STDERR] ... 17 more
10:55:17,703 ERROR [STDERR] Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - /EchoBeanServiceService/EchoBeanService
10:55:17,703 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:72)
10:55:17,703 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:472)
10:55:17,703 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:304)
10:55:17,703 ERROR [STDERR] ... 22 more
10:55:17,703 INFO [STDOUT] get from the ejb server:null
10:55:17,703 WARN [ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: Unexpected invocation target exception from processor
at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:123)
at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:253)
at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:301)
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)
Caused by: java.lang.NullPointerException
at com.cvicse.esb.MyAction.execute(MyAction.java:33)
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.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
... 6 more
10:55:17,703 ERROR [STDERR] MyAction error invoke
10:55:17,734 ERROR [STDERR] java.lang.NullPointerException
10:55:17,734 ERROR [STDERR] at java.net.URI$Parser.parse(URI.java:3010)
10:55:17,734 ERROR [STDERR] at java.net.URI.(URI.java:578)
10:55:17,734 ERROR [STDERR] at org.jboss.internal.soa.esb.addressing.helpers.CallHelper.fromXML(CallHelper.java:150)
10:55:17,734 ERROR [STDERR] at org.jboss.internal.soa.esb.message.format.xml.HeaderImpl.fromXML(HeaderImpl.java:99)
10:55:17,734 ERROR [STDERR] at org.jboss.internal.soa.esb.message.format.xml.MessageImpl.fromXML(MessageImpl.java:183)
10:55:17,750 ERROR [STDERR] at org.jboss.soa.esb.util.Util.deserialize(Util.java:214)
10:55:17,750 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.JmsCourier.pickup(JmsCourier.java:356)
10:55:17,750 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:223)
10:55:17,750 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:205)
10:55:17,750 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.attemptDelivery(MessageDeliveryAdapter.java:216)
10:55:17,750 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliver(MessageDeliveryAdapter.java:147)
10:55:17,750 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliverSync(MessageDeliveryAdapter.java:109)
10:55:17,750 ERROR [STDERR] at com.cvicse.esb.ESBWebservice.sayHello(ESBWebservice.java:32)
10:55:17,750 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:55:17,750 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:55:17,750 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:55:17,750 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
10:55:17,750 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
10:55:17,750 ERROR [STDERR] at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
10:55:17,750 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
10:55:17,750 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
10:55:17,750 ERROR [STDERR] at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
10:55:17,750 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
10:55:17,750 ERROR [STDERR] at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
10:55:17,750 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
10:55:17,750 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:55:17,765 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
10:55:17,765 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
10:55:17,765 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
10:55:17,765 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:55:17,765 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
10:55:17,765 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
10:55:17,765 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
10:55:17,765 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
10:55:17,781 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
10:55:17,781 ERROR [JmsCourier] Object in JMS message is not a Serializeable
java.io.IOException: org.jboss.soa.esb.UnmarshalException: java.lang.NullPointerException
at org.jboss.soa.esb.util.Util.deserialize(Util.java:219)
at org.jboss.internal.soa.esb.couriers.JmsCourier.pickup(JmsCourier.java:356)
at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:223)
at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:205)
at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.attemptDelivery(MessageDeliveryAdapter.java:216)
at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliver(MessageDeliveryAdapter.java:147)
at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliverSync(MessageDeliveryAdapter.java:109)
at com.cvicse.esb.ESBWebservice.sayHello(ESBWebservice.java:32)
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.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
10:55:17,781 INFO [STDOUT] org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message to Service [FirstServiceESBTest:SimpleListenerTest]. Check for errors.
10:55:17,781 INFO [STDOUT] org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message to Service [FirstServiceESBTest:SimpleListenerTest]. Check for errors.
10:55:17,781 INFO [STDOUT] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliver(MessageDeliveryAdapter.java:156)
10:55:17,781 INFO [STDOUT] at org.jboss.soa.esb.listeners.message.MessageDeliveryAdapter.deliverSync(MessageDeliveryAdapter.java:109)
10:55:17,781 INFO [STDOUT] at com.cvicse.esb.ESBWebservice.sayHello(ESBWebservice.java:32)
10:55:17,781 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:55:17,781 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:55:17,781 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:55:17,796 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:55:17,796 INFO [STDOUT] at org.jboss.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
10:55:17,796 INFO [STDOUT] at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
10:55:17,796 INFO [STDOUT] at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
10:55:17,796 INFO [STDOUT] at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
10:55:17,796 INFO [STDOUT] at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
10:55:17,796 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
10:55:17,796 INFO [STDOUT] at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
10:55:17,796 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:55:17,796 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
10:55:17,796 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
10:55:17,796 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
10:55:17,796 INFO [STDOUT] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
10:55:17,796 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:55:17,812 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
10:55:17,812 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
10:55:17,812 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
10:55:17,812 INFO [STDOUT] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
10:55:17,812 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053346#4053346
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053346
18 years, 10 months
[Deployers on JBoss (Deployers/JBoss)] - Error while deploying jar file
by Malert
Hi I am new to jboss. I am getting the following error messages while starting the server. I copied ServiceBean.jar file to the /server/default/deploy/ directory for deploying it while starting the server.
please help
17:22:57,044 INFO [Server] Starting JBoss (MX MicroKernel)...
17:22:57,044 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Bra
nch_4_0 date=200610162339)
17:22:57,091 INFO [Server] Home Dir: C:\jboss-4.0.5.GA
17:22:57,091 INFO [Server] Home URL: file:/C:/jboss-4.0.5.GA/
17:22:57,091 INFO [Server] Patch URL: null
17:22:57,091 INFO [Server] Server Name: default
17:22:57,091 INFO [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\default
17:22:57,122 INFO [Server] Server Home URL: file:/C:/jboss-4.0.5.GA/server/defa
ult/
17:22:57,122 INFO [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\default\log
17:22:57,122 INFO [Server] Server Temp Dir: C:\jboss-4.0.5.GA\server\default\tm
p
17:22:57,122 INFO [Server] Root Deployment Filename: jboss-service.xml
17:22:57,732 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.
17:22:57,732 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_04-b05
,Sun Microsystems Inc.
17:22:57,732 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
17:22:58,951 INFO [Server] Core system initialized
17:23:04,031 INFO [WebService] Using RMI server codebase: http://DSCP30256:8083
/
17:23:04,094 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
17:23:19,677 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date
=200609291417)
17:23:21,506 INFO [Embedded] Catalina naming disabled
17:23:21,569 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
17:23:21,569 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
17:23:22,381 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
.0.0-8080
17:23:22,381 INFO [Catalina] Initialization processed in 812 ms
17:23:22,381 INFO [StandardService] Starting service jboss.web
17:23:22,397 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.2
0
17:23:22,428 INFO [StandardHost] XML validation disabled
17:23:22,522 INFO [Catalina] Server startup in 141 ms
17:23:22,913 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
17:23:23,272 INFO [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
17:23:24,069 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
b-tomcat55.sar/ROOT.war/
17:23:24,429 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
loy/tmp34463jbossws-context-exp.war/
17:23:24,882 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
17:23:26,930 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
17:23:27,977 INFO [MailService] Mail Service bound to java:/Mail
17:23:28,290 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
17:23:28,399 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
17:23:28,477 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
17:23:28,555 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
17:23:28,759 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
17:23:28,837 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
17:23:30,416 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
17:23:30,947 INFO [A] Bound to JNDI name: queue/A
17:23:30,947 INFO [B] Bound to JNDI name: queue/B
17:23:30,947 INFO [C] Bound to JNDI name: queue/C
17:23:30,947 INFO [D] Bound to JNDI name: queue/D
17:23:31,009 INFO [ex] Bound to JNDI name: queue/ex
17:23:31,244 INFO [testTopic] Bound to JNDI name: topic/testTopic
17:23:31,244 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
17:23:31,244 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
17:23:31,260 INFO [testQueue] Bound to JNDI name: queue/testQueue
17:23:31,478 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
17:23:31,760 INFO [DLQ] Bound to JNDI name: queue/DLQ
17:23:31,994 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
17:23:32,010 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jbos
s-4.0.5.GA/server/default/deploy/ServiceBean.jar
java.lang.InternalError: jzentry == 0,
jzfile = 658053408,
total = 8,
name = C:\jboss-4.0.5.GA\server\default\tmp\deploy\tmp34495ServiceBean.jar
,
i = 1,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:430)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:416)
at java.util.jar.JarFile$1.nextElement(JarFile.java:215)
at java.util.jar.JarFile$1.nextElement(JarFile.java:214)
at org.jboss.deployment.SubDeployerSupport.addDeployableJar(SubDeployerS
upport.java:480)
at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubD
eployerSupport.java:378)
at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:
284)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
the jar has been packaged with the ejb-jar.xml file.
Thanks
Malert Jones
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053344#4053344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053344
18 years, 10 months
[Design the new POJO MicroContainer] - Re: Retrowoven container project
by flavia.rainone@jboss.com
The main difficulty of implementing the generic reflection methods is the fact that java.lang.Class does not extend java.lang.reflect.Type.
Kabir and I have been discussing about this issue in the past few days.
I decided to play a little with the code Kabir attached to Jira
http://jira.jboss.com/jira/browse/JBBUILD-333
The generic API Kabir implemented is returning java.lang.Object where java.lang.Type is expected. This approach works fine, except for the following scenario:
| final Type[] OBJ_TYPE_ARR = new Type[] {Object.class};
|
which results in java.lang.ArrayStoreException
I can think of three solutions for this problem:
(1) do nothing, leave as is, and add the scenario above as a restriction in the usage of jboss retro
pros: simplicity
cons: we are not solving the problem above
(2) change bootclasspath, in a similar way we do in Jboss AOP to affect
java.lang.ClassLoader. In a very simple way, we could make Class to implement Type, and make Class, Method and Constructor to implement GenericDeclaration.
pros: simple solution and solves the problem
cons: we are forcing users to set xbootclasspath everytime they run a retro woven code
(3) replace java.lang.Class by a org.jboss.retro.runtime.lang.Class
pros: problem solved
cons: problem of casting (explained below)
affects performance
complex solution
After playing with the replacement of java.lang.Class for a while, I have an almost ready version. Nevertheless, there is a lot of details involved that I had to solve. The code looks too complex, and it does not work completely. It will fail in the following scenarios:
| Class clazz = (Class) list.get(0); // if this list has been returned by an api, and it contains java.lang.Class instances, we have a problem, we need to wrap the element in a org.jboss.retro.runtime.lang.Class instance
| Class clazz = (Class) Biblio.doSomething(); // same here, this time it is an api method that returns Object
|
In order to solve the problem with the code above, we would need to detect those class casts and wrap the java.lang.Class in a jboss retro class.
All in all, I think that we should leave as is, unless ArrayStoreException be considered a very serious issue. Another possibility would be to provide the bootclasspath solution as an option, so that, if there is a problem with an woven code due to java.lang.Class not implementing org.jboss.retro.runtime.lang.Type, there would be a solution available.
Any thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053342#4053342
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053342
18 years, 10 months