I am a Nukes/Jboss newbie. I get the following errors trying to build Nukes. Any ideas on how I can debug this problem?
build.sh: Executing: /usr/local/nukes/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger
Trying to override old definition of task property
[echo] groups: default
[echo] modules: common,nukes,adminmessages,bb,downloads,faq,jmx,journal,list,mp3player,news,permission,polls,quotes,sections,template
== Executing 'most' in module 'common'...
Overriding previous definition of reference to javac.classpath
[mkdir] Created dir: /usr/local/nukes/common/output/gen/classes/org/jboss/nukes/common/template
[javacc] Warning: -BUILD_TOKEN_MANAGER:true not understood. Ignoring.
[javacc] Warning: -BUILD_PARSER:true not understood. Ignoring.
[javacc] Warning: -OUTPUT_DIRECTORY:/usr/local/nukes/common/output/gen/classes/org/jboss/nukes/common/template not understood. Ignoring.
[javacc] Exception in thread "main" java.lang.NoClassDefFoundError: COM.sun.labs.javacc.Main
[javacc] at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
[javacc] at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
[javacc] at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
[javacc] at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) (/usr/lib/./libgcj.so.3)
[javacc] at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
[javacc] at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
[javacc] at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
[javacc] at 0x08048910: __gcj_personality_v0 (install.root=/usr/local/nukes/thirdparty/sun-javacc/lib)
[javacc] at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
[javacc] at 0x080486c1: _Jv_RegisterClasses (install.root=/usr/local/nukes/thirdparty/sun-javacc/lib)
file:/usr/local/nukes/common/build.xml:133: java failed with return code 1
Total time: 6 seconds
Is this the wrong forum to ask about a build problem? I would really appreciate a response. What more information should I provide? anybody???
no - this is the correct forum. could you provide some information about your environment? jdk, etc.
I used the Jboss 3.2.3rc1 and j2sdk 1.4.2_06
Also running on Redhat Shrike 9 OS.
hrm - are you working w/ the latest code from cvs?
I pulled from CVS last night.
How did you pull from CVS? You need to check out the nukes module. It looks like you don't have the javacc libraries.
Do you have a thirdparty directory?
Which 1.4.2 sdk whould I be using?
where should the third party directory be located.
under the directory where the rest of the checked out code lives - nukes/thirdparty.
I'll check this out when I get back home today cant reach my box from the office. So if the thirdparty directory is not there should I do a pull using some other method or what do I do in this case?
Thanks for your help guys will let you know how it goes after I do another cvs checkout of nukes.
My bad!. My path was set wrong. The build was using a 1.3.1 SDK. After pointing at a 1.4.2 sdk it builds okay. But I have run into the following error :-
HTTP Status 500 - No Context configured to process this request
type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.