[Installation, Configuration & Deployment] - Re: Multiple Servers
by PeterJ
The example binding service file is located at docs/examples/binding-manager/sample-bindings.xml. (Hmm, did you install using the JEMS installer? If so, I'm not sure if you even get the docs directory. If you don't have docs, try downloading and unzipping the zip file instead, I know it is there.)
Since you run the app server as a service, you will have to install two services, with two different service names (e.g., "jboss" and "jboss2"), each starting a different configuration.
And you got the part about copying 'server/default' as 'server/serv1' correct, you would use "-c serv1" as part of the command to start up this configuration. And you should do this when it is not running.
Hopefully this is enough to get you started. Give a holler if it doesn't.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036603#4036603
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036603
19 years
[JBoss Messaging] - Re: Machine with Two LAN Card -Not able to receive message
by Craig2007
I tried out callback mechanism to overcome the problem...
Still i could not able to solve that problem.
will tell you the scenario and also tell you what i did to implement callback mechanism
MachineA - machine with LAN Card-A,IP Address-172.19.6.6
MachineB(acting as DHCP) - machine with LAN Card-A,
IPAddress-172.19.6.7 and LAN Card-B,IP Address-10.0.18.101
MachineC - machine with LAN Card-B,IP Address-10.0.18.102
Now MachineA(172.19.6.6) has JBoss Messaging Server and i have started it .
Now MachineB(172.19.6.7,10.0.18.101) has durable receiver which listens for any message posted on Messaging server(172.19.6.6).This receiver is started with callback parameter passed as command line arguements as below
java -Djboss.messaging.callback.bind.address=172.19.6.6 MessageReceiver
when i started my receiver in MachineA , i got exeception and at the same time i also got some exception in the server side (MachineB).
I am attaching two files with this mail as server.zip and receiver.zip containing the details of logs and exception at servere and details of logs and exception at receiver side.
Please do respond with your vaulable information.It would help us to solve the problem.
For your kind information,i have also attached the exception and log file as i said earlier
I am pasting the exception which i got at the JBoss Messaging Server side when i started my receiver in MachineB(with Two LAN Card)
|
| 2007-04-11 12:56:54,800 DEBUG [org.jboss.jms.server.endpoint.ServerSessionEndpoint] created and registered ConsumerEndpoint[-2147483644]
| 2007-04-11 12:56:54,875 DEBUG [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] ConsumerEndpoint[-2147483644] NOT started yet!
| 2007-04-11 12:56:54,883 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] ConnectionEndpoint[-2147483646] started
| 2007-04-11 12:56:54,889 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,891 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,893 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,895 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,897 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,899 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,901 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,904 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,906 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,908 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,910 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,912 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,915 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,918 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,921 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,923 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,925 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,927 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,929 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,931 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,933 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,935 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,937 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,939 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,941 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,943 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,945 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,947 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,949 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,951 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,951 WARN [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] Failed to deliver the message to the client. See the server log for more details.
| 2007-04-11 12:56:54,952 DEBUG [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] ConsumerEndpoint[-2147483644] failed to deliver the message to the client.
| org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for locator - InvokerLocator [socket://10.0.18.101:3122/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationType=jboss&socket.check_connection=false&timeout=0&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:323)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
| at org.jboss.remoting.Client.invoke(Client.java:589)
| at org.jboss.remoting.Client.invoke(Client.java:581)
| at org.jboss.remoting.Client.invoke(Client.java:566)
| at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$Deliverer.run(ServerConsumerEndpoint.java:766)
| at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
| at java.lang.Thread.run(Thread.java:567)
| Caused by: java.net.SocketException: Network is unreachable
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
| at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
| at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
| at java.net.Socket.connect(Socket.java:478)
| at java.net.Socket.connect(Socket.java:428)
| at java.net.Socket.<init>(Socket.java:335)
| at java.net.Socket.<init>(Socket.java:150)
| at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:183)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:685)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
| ... 7 more
| 2007-04-11 12:56:54,952 WARN [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] A problem has been detected with the connection to remote client a0i2t-to6o47-f0dgrfdu-1-f0dgrgh7-4. 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.
| 2007-04-11 12:56:54,952 DEBUG [org.jboss.jms.server.ServerPeer] ServerPeer [server.0] removing consumer -2147483644 from the cache
| 2007-04-11 12:56:54,953 DEBUG [org.jboss.jms.server.ServerPeer] ServerPeer [server.0] removing consumer -2147483644 from the cache
| 2007-04-11 12:56:54,954 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] unregistered connection ConnectionEndpoint[-2147483646] with remoting session ID ...-f0dgrgh7-4
| 2007-04-11 12:56:54,954 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] cleared up state for connection ConnectionEndpoint[-2147483646]
| 2007-04-11 12:56:54,955 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,957 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,959 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,961 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,963 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,965 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,967 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,969 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,971 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,973 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,975 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,977 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,979 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,982 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,984 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,987 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,990 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,993 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,995 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,997 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:54,999 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,001 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,003 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,005 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,007 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,009 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,011 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,013 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,015 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,017 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] java.net.SocketException: Network is unreachable
| 2007-04-11 12:56:55,017 WARN [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] Failed to deliver the message to the client. See the server log for more details.
| 2007-04-11 12:56:55,017 DEBUG [org.jboss.jms.server.endpoint.ServerConsumerEndpoint] ConsumerEndpoint[-2147483644] failed to deliver the message to the client.
| org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for locator - InvokerLocator [socket://10.0.18.101:3122/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationType=jboss&socket.check_connection=false&timeout=0&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:323)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
| at org.jboss.remoting.Client.invoke(Client.java:589)
| at org.jboss.remoting.Client.invoke(Client.java:581)
| at org.jboss.remoting.Client.invoke(Client.java:566)
| at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$Deliverer.run(ServerConsumerEndpoint.java:766)
| at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
| at java.lang.Thread.run(Thread.java:567)
| Caused by: java.net.SocketException: Network is unreachable
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
| at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
| at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
| at java.net.Socket.connect(Socket.java:478)
| at java.net.Socket.connect(Socket.java:428)
| at java.net.Socket.<init>(Socket.java:335)
| at java.net.Socket.<init>(Socket.java:150)
| at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:183)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:685)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
| ... 7 more
|
Exception At Receiver Side
|
| DEBUG 2007-Apr-11 01:23:41 readString::pulling data to Buffer at pos 0 size= 0
| ERROR 2007-Apr-11 01:23:41 Caught Exception:
| org.jboss.aop.NotFoundInDispatcherException: Object with oid: -2147483646 was not found in the Dispatcher
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:85)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:127)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:1008)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:857)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:454)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:541)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:172)
| at org.jboss.remoting.Client.invoke(Client.java:589)
| at org.jboss.remoting.Client.invoke(Client.java:581)
| at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:111)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at org.jboss.jms.client.container.StateCreationAspect.handleCreateSessionDelegate(StateCreationAspect.java:101)
| at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect1.invoke(StateCreationAspect1.java)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at org.jboss.jms.client.container.ConnectionAspect.handleCreateSessionDelegate(ConnectionAspect.java:164)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
| at java.lang.reflect.Method.invoke(Method.java:391)
| at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.createSessionDelegate(ClientConnectionDelegate.java)
| at org.jboss.jms.client.JBossConnection.createSessionInternal(JBossConnection.java:255)
| at org.jboss.jms.client.JBossConnection.createSession(JBossConnection.java:91)
| at com.tcs.retail.framework.messaging.core.consumer.MsgConsumer.consumeProcess(MsgConsumer.java:144)
| at com.tcs.retail.framework.messaging.core.receiver.MessageReceiver.createConsumer(MessageReceiver.java:201)
| at com.tcs.retail.framework.messaging.core.receiver.MessageReceiver.activateNormalConsumers(MessageReceiver.java:97)
| at com.tcs.retail.framework.messaging.core.receiver.MessageReceiver.receive(MessageReceiver.java:45)
| at com.tcs.retail.framework.messaging.core.receiver.MessageReceiver.main(MessageReceiver.java:280)
| ERROR 2007-Apr-11 01:23:41 MsgConsumer : Exception Occured
| Exception Cause --> org.jboss.jms.client.container.ExceptionInterceptor(org.jboss.jms.util.MessagingJMSException: Caught exception)
| Exception Cause --> org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805(org.jboss.jms.util.MessagingJMSException: Caught exception)
| Exception Cause --> org.jboss.jms.client.container.ClientLogInterceptor(org.jboss.jms.util.MessagingJMSException: Caught exception)
| Exception Cause --> org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805(org.jboss.jms.util.MessagingJMSException: Caught exception)
| Exception Cause --> org.jboss.jms.client.delegate.ClientConnectionDelegate(org.jboss.jms.util.MessagingJMSException: Caught exception)
| Exception Cause --> org.jboss.jms.client.JBossConnection(org.jboss.jms.util.MessagingJMSException: Caught exception)
| Exception Cause --> org.jboss.jms.client.JBossConnection(org.jboss.jms.util.MessagingJMSException: Caught exception)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036601#4036601
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036601
19 years
[JBoss Seam] - problems when migrate navigation from faces-config.xml to pa
by tangdazhu
1.i had a application which is runing well when i am using the faces-config.xml, for example the login page:
<navigation-rule>
<from-view-id>/pages/input/login.jsp</from-view-id>
<navigation-case>
<from-outcome>login_success</from-outcome>
<to-view-id>/pages/input/mainpage.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>login_failure</from-outcome>
<to-view-id>/pages/input/login.jsp</to-view-id>
</navigation-case>
</navigation-rule>
2.Now i want to use the seam 1.2 page navigation ability : so i migrate the navigation to the pages.xml:
<page view-id="/pages/input/login.jsp">
<rule if-outcome="login_success">
<redirect view-id="/pages/input/mainpage.jsp" />
<rule if-outcome="login_failure">
<redirect view-id="/pages/input/login.jsp" />
3.The problem is i can't show the wrong messages when i migrated into pages.xml. the codes to deal with the messages in the managed bean are
if (!user.getPassword().equals(this.getPassword())) {
facesMessages.addToControlFromResourceBundle("loginForm:password",
FacesMessage.SEVERITY_ERROR,
"login_password_is_not_correct");
return "login_failure";
}
"loginForm:password" means that i have a form called "loginForm" and a field called "password" in the jsp page.
So how to show the wrong messages in the web page if i choose to use seam navigation?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036597#4036597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036597
19 years
[JBoss Seam] - Stack must not be null
by djeverson
We are experiencing intermittent errors during our testing of a pageflow. The stack trace provides little information (that we can use or understand) to help us in identifying the source of this issue. The stack trace does not refer to any code written by us. We are looking for advice on how to resolve this issue.
>From the user perspective when this stack trace occurs the user is presented a blank page in the browser. The stack trace is intermittent and can not be 100% reproduced.
Our environment is JBoss 4.0.5, Seam 1.2, jBPM. We are the error on both Windows and Linux, in both the Sun JVM and JRockit.
Any information on the source/resolution of this error would be greatly appreciated.
The stack trace that we are seeing:
| 2007-04-12 00:27:19,732 ERROR [org.jboss.seam.web.ExceptionFilter] uncaught exception
| java.lang.IllegalStateException
| at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404)
| at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107)
| at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:698)
| at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:354)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 2007-04-12 00:27:19,779 ERROR [org.jboss.seam.exceptions.DebugPageHandler] redirecting to debug page
| java.lang.IllegalStateException
| at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404)
| at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107)
| at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:698)
| at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:354)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 2007-04-12 00:27:19,792 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/crimnet].[default]] Servlet.service() for servlet default threw exception
| java.lang.IllegalArgumentException: Stack must not be null
| at org.jboss.seam.core.ConversationEntry.<init>(ConversationEntry.java:40)
| at org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
| at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:685)
| at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:834)
| at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:852)
| at org.jboss.seam.exceptions.DebugPageHandler.handle(DebugPageHandler.java:24)
| at org.jboss.seam.core.Exceptions.handle(Exceptions.java:79)
| at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036595#4036595
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036595
19 years