This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 112365 - Exception occurs if JBoss port is in use
Summary: Exception occurs if JBoss port is in use
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 22:43 UTC by John Baker
Modified: 2007-08-09 08:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2007-08-08 22:43:50 UTC
If JBoss port 8080 is in use then when attempting to start another instance of JBoss an exception occurs.

To reproduce
1) Register JBoss 5 beta2
2) Start JBoss 
3) Remove JBoss
4) Re-register JBoss
5) Start JBoss

Exception occurs:

java.lang.NoClassDefFoundError: org/jboss/invocation/MarshalledInvocation$DeclaredMethodsAction
        at org.jboss.invocation.MarshalledInvocation.getFullInterfaceHashes(MarshalledInvocation.java:171)
        at org.jboss.invocation.MarshalledInvocation.calculateHash(MarshalledInvocation.java:318)
        at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:493)
        at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1307)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
        at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:258)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
        at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
        at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
        at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:241)
        at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:181)
        at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.jav
        at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
        at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
        at $Proxy40.getAttribute(Unknown Source)
        at org.netbeans.modules.j2ee.jboss4.nodes.Util.getMBeanParameter(Util.java:179)
        at org.netbeans.modules.j2ee.jboss4.ide.JBStartServer$1.run(JBStartServer.java:207)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 John Baker 2007-08-08 22:58:48 UTC
Also reported by users
http://anna.nbextras.org:8081/exceptions/detail.do?id=474

I don't know how to mark this issue as a duplicate
Comment 2 John Baker 2007-08-09 00:07:16 UTC
This error occurs with JBoss beta1

JBoss beta 2 works fine.