View previous topic :: View next topic |
Author |
Message |
Cubano Tux's lil' helper
Joined: 27 Jan 2005 Posts: 79 Location: LONDON, UK
|
Posted: Tue Oct 18, 2005 4:24 pm Post subject: jboss problem [solved] |
|
|
I am trying to start jboss - I emerged it last week and I could start the server and connect to apache2 on port 8080.
Last weekend I ran emerge world and now I am unable to connect to http://localhost:8080/
If I try to stop jboss I get the following:
Code: | ~ # /etc/init.d/jboss stop
* Stopping JBoss ...
17:18:45,123 WARN [NamingContext] Failed to connect to localhost:1099
javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:213)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1185)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:188)
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:187)
... 5 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:211)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:183)
... 5 more
Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1198)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:188) [ !! ]
baddabing ~ # /etc/init.d/jboss start
* WARNING: "jboss" has already been started.
|
I have seen the following thread:
http://www.linuxquestions.org/questions/history/371852
However java_config is not something in my portage tree.
I am using jre 1.5.05 - I did a fresh install today using portage.
Any ideas?
Last edited by Cubano on Wed Oct 19, 2005 6:23 pm; edited 1 time in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Oct 19, 2005 4:44 pm Post subject: |
|
|
Moved from Installing Gentoo to Networking & Security.
Not an installing gentoo problem. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Cubano Tux's lil' helper
Joined: 27 Jan 2005 Posts: 79 Location: LONDON, UK
|
Posted: Wed Oct 19, 2005 6:22 pm Post subject: |
|
|
Seem to have resolved the problem.
I unmerge jboss then remerged following this I had the option to unmerge and remerge the java-sdk as mentioned in the before mentioned link. |
|
Back to top |
|
|
carl.anderson Apprentice
Joined: 05 Sep 2005 Posts: 162 Location: Mountain View
|
|
Back to top |
|
|
|