On 07/06/2012 09:26 AM, nkululeko wrote:
>
> Hi all
> I am getting an error when I stop jboss . I am running rbpm 4.0.1 patch
> b on sles 11sp1
>
> Exception in thread "main" javax.naming.CommunicationException: Could
> not obtain connection to any of these urls: localhost:1199 [Root
> exception is javax.naming.CommunicationException: Failed to connect to
> server localhost/127.0.0.1:1199 [Root exception is
> javax.naming.ServiceUnavailableException: Failed to connect to server
> localhost/127.0.0.1:1199 [Root exception is java.net.ConnectException:
> Connection refused]]]
> at
> org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1763)
> at
> org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:693)
> at
> org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:686)
> at javax.naming.InitialContext.lookup(Unknown Source)
> at org.jboss.Shutdown.main(Shutdown.java:219)
> Caused by: javax.naming.CommunicationException: Failed to connect to
> server localhost/127.0.0.1:1199 [Root exception is
> javax.naming.ServiceUnavailableException: Failed to connect to server
> localhost/127.0.0.1:1199 [Root exception is java.net.ConnectException:
> Connection refused]]
> at
> org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:335)
> at
> org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1734)
> .. 4 more
> Caused by: javax.naming.ServiceUnavailableException: Failed to connect
> to server localhost/127.0.0.1:1199 [Root exception is
> java.net.ConnectException: Connection refused]
> at
> org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:305)
> .. 5 more
> Caused by: java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(Unknown Source)
> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> at java.net.PlainSocketImpl.connect(Unknown Source)
> at java.net.SocksSocketImpl.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at
> org.jnp.interfaces.TimedSocketFactory.createSocket (TimedSocketFactory.java:97)
>
>

Greetings,
If you are not running with +01 (which off sets all ports +100) in
start script for all ports then port 1199 would not be the correct port
to connect to for the stop

--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ