[JBoss Messaging] - Mismatch version of JBossSerialization signature
by mskonda
Server A is purely an applicaiton server (call it as EAI server) without JMS (JBossMessaging) capabilities.
Server B is purely JMS server (with JBossMessage 1.0.1GA) call it as JMS Server.
The EAI server has been started on Dec 21 at 11pm. It connected to JMS server and all is happy.
On 23rd December, the EAI reported an error:
| [20061223 02:14:44.357GMT] SEVERE [JDK14LoggerPlugin] [error] [16] Caught exception from connection
| java.lang.Exception: Could not connect to server.
| at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:117)
| at java.util.TimerThread.mainLoop(Timer.java:512)
| at java.util.TimerThread.run(Timer.java:462)
|
| [20061223 02:14:44.359GMT] WARNING [JDK14LoggerPlugin] [warn] [16] JMS provider failure detected:
| javax.jms.JMSException: Throwable received from underlying connection
| at org.jboss.jms.client.container.ConnectionAspect.handleConnectionException(ConnectionAspect.java:203)
| at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:139)
|
| [20061223 02:14:45.362GMT] SEVERE [JDK14LoggerPlugin] [error] [17] Caught exception from connection
| java.lang.Exception: Could not connect to server.
| at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:117)
| at java.util.TimerThread.mainLoop(Timer.java:512)
| at java.util.TimerThread.run(Timer.java:462)
|
|
At the same time, JMS Server reported error too:
| [20061223 02:15:21.843GMT] WARNING [JDK14LoggerPlugin] [warn] [11] A problem has been detected with the connection to remote client a32652m-q2uq3e-ew0lj9yf-1-ew0m566c-16k. It is possible the client has exited without closing its connection(s) or there is a network problem. All connection resources corresponding to that client process will now be removed.
| [20061223 02:15:25.435GMT] SEVERE [JDK14LoggerPlugin] [error] [12] Failed to accept socket connection
| java.lang.reflect.InvocationTargetException
| at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
| at org.jboss.remoting.transport.socket.ServerThread.createServerSocket(ServerThread.java:202)
| at org.jboss.remoting.transport.socket.ServerThread.wakeup(ServerThread.java:243)
| at org.jboss.remoting.transport.socket.SocketServerInvoker.processInvocation(SocketServerInvoker.java:535)
| at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:450)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.net.SocketException: Connection reset
| at java.net.SocketInputStream.read(SocketInputStream.java:168)
| at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
| at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
| at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
| at java.io.FilterInputStream.read(FilterInputStream.java:90)
| at org.jboss.serial.io.JBossObjectInputStream.checkSignature(JBossObjectInputStream.java:110)
| at org.jboss.serial.io.JBossObjectInputStream.<init>(JBossObjectInputStream.java:94)
| at org.jboss.remoting.serialization.impl.jboss.JBossSerializationManager.createInput(JBossSerializationManager.java:59)
| at org.jboss.remoting.transport.socket.ServerSocketWrapper.createInputStream(ServerSocketWrapper.java:56)
| at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:76)
| at org.jboss.remoting.transport.socket.ClientSocketWrapper.<init>(ClientSocketWrapper.java:54)
| at org.jboss.remoting.transport.socket.ServerSocketWrapper.<init>(ServerSocketWrapper.java:50)
| ... 8 more
|
| [20061223 02:15:25.436GMT] SEVERE [JDK14LoggerPlugin] [error] [12] Failed to accept socket connection
| java.lang.reflect.InvocationTargetException
| at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
| at org.jboss.remoting.transport.socket.ServerThread.createServerSocket(ServerThread.java:202)
| at org.jboss.remoting.transport.socket.ServerThread.wakeup(ServerThread.java:243)
| at org.jboss.remoting.transport.socket.SocketServerInvoker.processInvocation(SocketServerInvoker.java:535)
| at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:450)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.io.IOException: Mismatch version of JBossSerialization signature
| at org.jboss.serial.io.JBossObjectInputStream.checkSignature(JBossObjectInputStream.java:113)
| at org.jboss.serial.io.JBossObjectInputStream.<init>(JBossObjectInputStream.java:94)
| at org.jboss.remoting.serialization.impl.jboss.JBossSerializationManager.createInput(JBossSerializationManager.java:59)
| at org.jboss.remoting.transport.socket.ServerSocketWrapper.createInputStream(ServerSocketWrapper.java:56)
| at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:76)
| at org.jboss.remoting.transport.socket.ClientSocketWrapper.<init>(ClientSocketWrapper.java:54)
| at org.jboss.remoting.transport.socket.ServerSocketWrapper.<init>(ServerSocketWrapper.java:50)
| ... 8 more
|
|
After following the previous threads, I have checked the versions of JBoss Serialisation and Remoting on both the servers and can confirm they are same.
We dont' have a firewall on these boxes and also we have got all permissions to create sockets.
This situation only happens when the server is left running overnight or long..
Any clues much appreciated!
Thanks
Madhu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996430#3996430
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996430
19 years, 4 months
[EJB 3.0] - Re: EJB 3.0 AND JBOSS 4.0.4 G.A
by alexg79
Please, in future posts wrap your code using the "code" button on the posting page (where you write your post). That way it'll preserve the indentation and use a monospace font so it'll be much easier to read.
Regarding your problem, the JNDI path you're using is wrong, assuming you use JBoss of course. I don't know where you got that code, but the correct JNDI path would be APPNAME/FacadeBean/remote. Replace APPNAME with the name of your deployed application. It's best to verify from the JMX console that the resulting JNDI path actually exists on your server after deployment.
One more tip:
MessageFormat.format("{0}/{1}Bean/remote", APPNAME, beanName);
This is what I use in my own application.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996429#3996429
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996429
19 years, 4 months
[JBoss Portal] - same application running fine on Sun appserver but giving Nu
by Palam
16:37:22,143 ERROR [STDERR] java.lang.NullPointerException
16:37:22,143 ERROR [STDERR] at HServlet.doGet(HServlet.java:37)
16:37:22,143 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
16:37:22,143 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
16:37:22,143 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
16:37:22,143 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
16:37:22,143 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
16:37:22,143 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
16:37:22,143 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
16:37:22,143 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
16:37:22,143 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
16:37:22,143 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
16:37:22,159 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
16:37:22,159 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
16:37:22,159 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
16:37:22,159 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
16:37:22,159 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
16:37:22,159 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
16:37:22,159 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
16:37:22,159 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
16:37:22,159 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
16:37:22,159 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
16:37:22,159 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996421#3996421
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996421
19 years, 4 months