Building JBoss 3.0.7 from source
bgw2 Apr 15, 2004 3:23 PMI'm trying to build JBoss 3.0.7 from the source distribution (jboss-3.0.7-src.tgz downloaded from SourceForge). I'm trying to build it without debug enabled in the Java class code. Seems to build without error (get "Build Successful" at the end of the Ant output), but doesn't deploy correctly at runtime. There's two classes missing from server/default/lib/jboss.jar:
$ diff jboss-jar.list jboss-jar-nodebug.list
415,416d414
< org/jboss/invocation/jrmp/server/JRMPInvoker_Stub.class
< org/jboss/invocation/jrmp/server/JRMPInvoker_Stub.java
These java files are present in the source that I'm building:
% find jboss-3.0.7-src -name JRMPInvoker.java
jboss-3.0.7-src/server/src/main/org/jboss/invocation/jrmp/server/JRMPInvoker.java
% find jboss-3.0.7-src -name RMIAdaptorImpl.java
jboss-3.0.7-src/server/src/main/org/jboss/jmx/adaptor/rmi/RMIAdaptorImpl.java
Grepping through the build output, there are a couple of warnings regarding these files:
% less build-release.log
...
compile-rmi:
[rmic] Unable to verify class org.jboss.invocation.jrmp.server.JRMPInvoker. It is not defined.
[rmic] Unable to verify class org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl. It is not defined.
...
At runtime, I get the following:
...
2004-04-15 15:14:44,005 INFO [org.jboss.deployment.MainDeployer] Adding deployer: org.jboss.deployment.EARDeployer@8238f4
2004-04-15 15:14:44,006 INFO [org.jboss.deployment.EARDeployer] Started
2004-04-15 15:14:44,006 INFO [org.jboss.invocation.jrmp.server.JRMPInvoker] Starting
2004-04-15 15:14:44,034 ERROR [org.jboss.invocation.jrmp.server.JRMPInvoker] Failed
java.rmi.StubNotFoundException: Stub class not found: org.jboss.invocation.jrmp.server.JRMPInvoker_Stub; nested exception is:
java.lang.ClassNotFoundException: org.jboss.invocation.jrmp.server.JRMPInvoker_Stub
at sun.rmi.server.RemoteProxy.getStub(Unknown Source)
at sun.rmi.server.RemoteProxy.getStub(Unknown Source)
...
What am I doing wrong ?
This is on Solaris 5.8, J2SE 1.4.2_03-b02. I built using:
% build/build.sh init
% build/build.sh release-tgz
Thanks in advance,
Bruce