WAS
asked on
how to sotp jboss application server on linux
how to sotp jboss application server on linux
i am using jboss AS 5.1 on linux 5.7
[webadmin@centos5 ~]$ /app/govi/jboss-5.1.0.GA/b in/shutdow n.sh -S
Exception in thread "main" javax.naming.Communication Exception: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.Communication Exception: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavai lableExcep tion: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused]]]
at org.jnp.interfaces.NamingC ontext.che ckRef(Nami ngContext. java:1763)
at org.jnp.interfaces.NamingC ontext.loo kup(Naming Context.ja va:693)
at org.jnp.interfaces.NamingC ontext.loo kup(Naming Context.ja va:686)
at javax.naming.InitialContex t.lookup(I nitialCont ext.java:3 92)
at org.jboss.Shutdown.main(Sh utdown.jav a:219)
Caused by: javax.naming.Communication Exception: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavai lableExcep tion: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused]]
at org.jnp.interfaces.NamingC ontext.get Server(Nam ingContext .java:335)
at org.jnp.interfaces.NamingC ontext.che ckRef(Nami ngContext. java:1734)
... 4 more
Caused by: javax.naming.ServiceUnavai lableExcep tion: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused]
at org.jnp.interfaces.NamingC ontext.get Server(Nam ingContext .java:305)
... 5 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.s ocketConne ct(Native Method)
at java.net.PlainSocketImpl.d oConnect(P lainSocket Impl.java: 351)
at java.net.PlainSocketImpl.c onnectToAd dress(Plai nSocketImp l.java:213 )
at java.net.PlainSocketImpl.c onnect(Pla inSocketIm pl.java:20 0)
at java.net.SocksSocketImpl.c onnect(Soc ksSocketIm pl.java:36 6)
at java.net.Socket.connect(So cket.java: 529)
at org.jnp.interfaces.TimedSo cketFactor y.createSo cket(Timed SocketFact ory.java:9 7)
at org.jnp.interfaces.TimedSo cketFactor y.createSo cket(Timed SocketFact ory.java:8 2)
at org.jnp.interfaces.NamingC ontext.get Server(Nam ingContext .java:301)
... 5 more
[webadmin@centos5 ~]$
i am using jboss AS 5.1 on linux 5.7
[webadmin@centos5 ~]$ /app/govi/jboss-5.1.0.GA/b
Exception in thread "main" javax.naming.Communication
at org.jnp.interfaces.NamingC
at org.jnp.interfaces.NamingC
at org.jnp.interfaces.NamingC
at javax.naming.InitialContex
at org.jboss.Shutdown.main(Sh
Caused by: javax.naming.Communication
at org.jnp.interfaces.NamingC
at org.jnp.interfaces.NamingC
... 4 more
Caused by: javax.naming.ServiceUnavai
at org.jnp.interfaces.NamingC
... 5 more
Caused by: java.net.ConnectException:
at java.net.PlainSocketImpl.s
at java.net.PlainSocketImpl.d
at java.net.PlainSocketImpl.c
at java.net.PlainSocketImpl.c
at java.net.SocksSocketImpl.c
at java.net.Socket.connect(So
at org.jnp.interfaces.TimedSo
at org.jnp.interfaces.TimedSo
at org.jnp.interfaces.NamingC
... 5 more
[webadmin@centos5 ~]$
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1099 is an rmi port. 8080 is http port which is used for webapplications deployed on jboss
ASKER
got it
where can i change rmi port in jboss ?
where can i change rmi port in jboss ?
you don't have to change it. You should just point to it in your shutdown.sh call.
by the way what happens then you call:
./shutdown.sh -s jnp://your_binded_ip_addre ss:1099 -S
by the way what happens then you call:
./shutdown.sh -s jnp://your_binded_ip_addre
ASKER
it's working , but i want to know where i find the rmi port in jboss filesystem
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Rama,
Thanks for helping, sorry i forgot to close this ticket.
Thanks for helping, sorry i forgot to close this ticket.
ASKER
also my jboss runs on port 8080 ,