[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4026) jboss as with native folder containing libraries fails to start through the jbds2 server manager.

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Apr 13 21:00:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12461932#action_12461932 ] 

Rob Stryker commented on JBIDE-4026:
------------------------------------

Great to hear. I'll investigate what's causing all the redundant paths to show up. 

> jboss as with native folder containing libraries fails to start through the jbds2 server manager.
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4026
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4026
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.0.0.CR2
>         Environment: windows xp, sp2
> eclipse.buildId=M20090107-0800
> java.version=1.5.0_17
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 
>            Reporter: Jon Hendrich
>            Assignee: Rob Stryker
>
> Unable to launch the server when a native directory containing native libraries is in the bin directory...
> The debug perspective launches immediately after starting the server in debug mode, and this is the stack I see:
> org.jboss.Main at localhost:4798
> Thread [main] (Suspended (exception ClassNotFoundException))
> URLClassLoader$1.run() line: 200 [local variables unavailable]
> AccessController.doPrivileged(PrivilegedExceptionAction, AccessControlContext) line: not available [native method]
> Launcher$AppClassLoader(URLClassLoader).findClass(String) line: 188
> Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 306
> Launcher$AppClassLoader.loadClass(String, boolean) line: 268
> Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 251
> Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: 319
> This error message appears in the console. Nothing else is output to the console:
> java.lang.NoClassDefFoundError: C:/jboss-4/2/3/GA/bin/native
> Then I "stop" the server by clicking the red square. Sometimes an error message dialog appears that the main class def wasn't found. The last time i tried though I didn't get an error dialog.
> Nothing appears in the eclipse error log.
> In the log file for the server located in the workspace metadata is this content:
> !SESSION 2009-03-14 10:59:57.372 -----------------------------------------------
> eclipse.buildId=M20090107-0800
> java.version=1.5.0_17
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
> !ENTRY org.jboss.ide.eclipse.as.core 0 33751041 2009-03-14 18:24:13.629
> !MESSAGE Module /saa-ear/resources/saa-ds.xml copied.
> !ENTRY org.jboss.ide.eclipse.as.core 0 33685505 2009-03-14 18:24:16.254
> !MESSAGE 9 files modified in module saa-ear
> !ENTRY org.jboss.ide.eclipse.as.core 0 33685505 2009-03-14 18:24:16.348
> !MESSAGE 8 files modified in module saa-ejb
> !ENTRY org.jboss.ide.eclipse.as.core 0 33685505 2009-03-14 18:24:21.395
> !MESSAGE 48 files modified in module saa
> !ENTRY org.jboss.ide.eclipse.as.core 0 33685505 2009-03-14 18:24:21.535
> !MESSAGE 1 files modified in module lib/saa-ear/EarContent/flamingo-service-1.7.1.jar
> !ENTRY org.jboss.ide.eclipse.as.core 0 33685505 2009-03-14 18:24:21.754
> !MESSAGE 1 files modified in module lib/saa-ear/EarContent/jboss-seam.jar
> !ENTRY org.jboss.ide.eclipse.as.core 0 33685505 2009-03-14 18:24:21.926
> !MESSAGE 1 files modified in module lib/saa-ear/EarContent/mvel14.jar
> !ENTRY org.jboss.ide.eclipse.as.core 1 16842760 2009-03-14 18:24:22.051
> !MESSAGE Server Starting
> !ENTRY org.jboss.ide.eclipse.as.core 2 16908288 2009-03-14 18:24:23.176
> !MESSAGE Could not obtain connection to any of these urls: localhost:1099
> !STACK 0
> javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is 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: connect]]]
> at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
> at javax.naming.InitialContext.lookup(InitialContext.java:351)
> at org.jboss.ide.eclipse.as.core.extensions.jmx.JMXSafeRunner.run(JMXSafeRunner.java:56)
> at org.jboss.ide.eclipse.as.core.extensions.jmx.JMXSafeRunner.run(JMXSafeRunner.java:35)
> at org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller$PollerRunnable.run(JMXPoller.java:110)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: 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: connect]]
> at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
> at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
> ... 7 more
> Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
> at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)
> ... 8 more
> Caused by: java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> at java.net.Socket.connect(Socket.java:520)
> at java.net.Socket.connect(Socket.java:470)
> at java.net.Socket.(Socket.java:367)
> at java.net.Socket.(Socket.java:267)
> at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
> at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
> at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244)
> ... 8 more
> !ENTRY org.jboss.ide.eclipse.as.core 1 16973825 2009-03-14 18:30:26.774
> !MESSAGE Server processes have been terminated.
> I suspect that the server connect error is simply the result of the server never starting.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list