Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jboss problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cubano
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 79
Location: LONDON, UK

PostPosted: Tue Oct 18, 2005 4:24 pm    Post subject: jboss problem [solved] Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Oct 19, 2005 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cubano
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 79
Location: LONDON, UK

PostPosted: Wed Oct 19, 2005 6:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
carl.anderson
Apprentice
Apprentice


Joined: 05 Sep 2005
Posts: 162
Location: Mountain View

PostPosted: Fri Dec 09, 2005 11:05 pm    Post subject: another solution... Reply with quote

I was having a very similar problem that was unrelated to the SDK and jboss. Mine was solved by modifying the /etc/init.d/jboss script. Also, my problem was caused by splashutils.


For more details, see this thread: https://forums.gentoo.org/viewtopic-t-319325-highlight-connect+localhost+1099.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum