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 97135 - jBoss 5.0.0 beta throws NoClassDefFoundError on startup
Summary: jBoss 5.0.0 beta throws NoClassDefFoundError on startup
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 21:32 UTC by Lark Fitzgerald
Modified: 2007-03-03 19:56 UTC (History)
1 user (show)

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 Lark Fitzgerald 2007-03-02 21:32:22 UTC
Installed jBoss 5.0.0 beta
Configured ide (5.5.1 w/vwp 5.5.1) to use it.
Started up jBoss (Servers tab > right click jBoss app server node > start)
It stared up but at the end the IDE threw this error:

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.java:66)
	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 $Proxy19.getAttribute(Unknown Source)
	at org.netbeans.modules.j2ee.jboss4.nodes.Util.getMBeanParameter
(Util.java:178)
	at org.netbeans.modules.j2ee.jboss4.ide.JBStartServer$1.run
(JBStartServer.java:206)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:932)


I tried a simple EE5 deployment (just put a basic button on the page) and 
again throws the above error.  Here is the output log:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
do-dist:
dist:
Starting server JBoss Application Server
JBoss Application Server Start Failed. HTTP Connector port 8080 is already in 
use.
C:\Documents and Settings\lfitzger\jbossa\nbproject\build-impl.xml:465: 
Deployment error:
JBoss Application Server Start Failed. HTTP Connector port 8080 is already in 
use.
See the server log for details.
BUILD FAILED (total time: 21 seconds)
Comment 1 Lark Fitzgerald 2007-03-02 21:35:47 UTC
I also get the same issues for an EE4 project. 
Comment 2 John Baker 2007-03-02 21:45:31 UTC
log says port conflict.

Please make sure Tomcat or Glassfish are not using this port before starting JBoss
or deploying to JBoss
Comment 3 _ potingwu 2007-03-02 21:48:10 UTC
This error happened when JBoss starts up under NetBeans 5.5.1.
Comment 4 Lark Fitzgerald 2007-03-02 21:51:28 UTC
Neither tomcat, nor glassfish was running, just jboss.  I had already started 
in the IDE, so deployment seem to realize that its already running and trys to 
start it again.
Comment 5 Lark Fitzgerald 2007-03-02 21:52:24 UTC
sorry - deploy does NOT seem to realize that its already running and tries to 
start it again.
Comment 6 Libor Kotouc 2007-03-03 19:56:39 UTC
NetBeans supports JBoss 5.0.0 Beta 2 only. It has not been released yet, the
sources can be downloaded from JBoss repository.

More information in the issue 89969.