Hey,
I even tried to build JBoss from src on FreeBsd but failed on both JBoss 3.0.x and 3.2.x. Has anyone actually succeeded in setting JBoss on FreeBsd?
here is some info about my system:
java version "1.3.1-p8"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-oakgrov2-030811-22:14)
FreeBSD 4.8-RELEASE FreeBSD 4.8-RELEASE #1
Senario 1): try to run JBoss3.2 installed from /usr/ports.
================================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss3.2
JAVA: /usr/local/linux-blackdown-jdk1.3.1/bin/java
JAVA_OPTS: -Dprogram.name=run.sh
CLASSPATH: /usr/local/jboss3.2/bin/run.jar:/usr/local/linux-blackdown-jdk1.3.1/lib/tools.jar
================================================================================
05:57:49,372 INFO [Server] Starting JBoss (MX MicroKernel)...
05:57:49,373 INFO [Server] Release ID: JBoss [WonderLand] 3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)
05:57:49,374 INFO [Server] Home Dir: /usr/local/jboss3.2
05:57:49,374 INFO [Server] Home URL: file:/usr/local/jboss3.2/
05:57:49,375 INFO [Server] Library URL: file:/usr/local/jboss3.2/lib/
05:57:49,376 INFO [Server] Patch URL: null
05:57:49,376 INFO [Server] Server Name: default
05:57:49,376 INFO [Server] Server Home Dir: /usr/local/jboss3.2/server/default
05:57:49,377 INFO [Server] Server Home URL: file:/usr/local/jboss3.2/server/default/
05:57:49,377 INFO [Server] Server Data Dir: /usr/local/jboss3.2/server/default/data
05:57:49,378 INFO [Server] Server Temp Dir: /usr/local/jboss3.2/server/default/tmp
05:57:49,378 INFO [Server] Server Config URL: file:/usr/local/jboss3.2/server/default/conf/
05:57:49,378 INFO [Server] Server Library URL: file:/usr/local/jboss3.2/server/default/lib/
05:57:49,379 INFO [Server] Root Deployemnt Filename: jboss-service.xml
05:57:49,385 INFO [Server] Starting General Purpose Architecture (GPA)...
05:57:49,545 INFO [ServerInfo] Java version: 1.3.1,Blackdown Java-Linux Team
05:57:49,546 INFO [ServerInfo] Java VM: Classic VM Blackdown-1.3.1-02b-FCS,Blackdown Java-Linux Team
05:57:49,546 INFO [ServerInfo] OS-System: Linux 2.4.2,i386
05:57:49,583 INFO [ServiceController] Controller MBean online
05:57:49,627 INFO [MainDeployer] Creating
05:57:49,651 INFO [MainDeployer] Created
05:57:49,653 INFO [MainDeployer] Starting
05:57:49,653 INFO [MainDeployer] Started
05:57:49,707 INFO [JARDeployer] Creating
05:57:49,728 INFO [JARDeployer] Created
05:57:49,729 INFO [JARDeployer] Starting
05:57:49,730 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@1265c85a
05:57:49,730 INFO [JARDeployer] Started
05:57:49,740 INFO [SARDeployer] Creating
05:57:49,766 INFO [SARDeployer] Created
05:57:49,767 INFO [SARDeployer] Starting
05:57:49,767 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@1266b02e
05:57:49,805 INFO [SARDeployer] Started
05:57:49,806 INFO [Server] Core system initialized
05:57:49,827 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss3.2/server/default/conf/jboss-service.xml
05:57:49,835 ERROR [Server] Failed to start
java.lang.AbstractMethodError: org/jboss/deployment/SubDeployerSupport.accepts
at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:881)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:680)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:484)
05:57:49,847 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
05:57:49,848 INFO [MainDeployer] Undeploying file:/usr/local/jboss3.2/server/default/conf/jboss-service.xml
05:57:49,849 ERROR [MainDeployer] Undeployment cleanup failed: file:/usr/local/jboss3.2/server/default/conf/jboss-service.xml
java.lang.NullPointerException:
at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:328)
at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:565)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:481)
at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:368)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:808)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:783)
at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:771)
05:57:49,852 INFO [MainDeployer] Undeployed 1 deployed packages
05:57:49,853 INFO [Server] Shutting down all services
Shutting down
05:57:49,853 INFO [ServiceController] Stopping 3 services
05:57:49,854 INFO [SARDeployer] Stopping
05:57:49,855 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@1266b02e
05:57:49,855 INFO [SARDeployer] Stopped
05:57:49,856 INFO [JARDeployer] Stopping
05:57:49,856 INFO [JARDeployer] Stopped
05:57:49,857 INFO [MainDeployer] Stopping
05:57:49,857 INFO [MainDeployer] Stopped
05:57:49,857 INFO [ServiceController] Stopped 3 services
05:57:49,862 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
##### End of Senario 1 ######
Senario 2) Build JBoss 3.0.x from src:
Searching for build.xml ...
Buildfile: /home/walter/jboss-3.0.8-src/build/build.xml
Trying to override old definition of task property
_buildmagic:init:
_buildmagic:init:local-properties:
_buildmagic:init:buildlog:
configure:
[echo] groups: default
[echo] modules: jmx,common,system,j2ee,naming,management,server,security,messaging,connector,cluster,jetty,varia,jboss.net,iiop,tomcat41
init:
_buildmagic:modules:most:
[execmodules]
[execmodules] ======================================================================
[execmodules] == Executing 'most' in module 'jmx'...
[execmodules] ==
_buildmagic:init:
configure:
init:
compile-mbean-sources:
compile-classes:
compile:
jars:
most:
[execmodules]
[execmodules] ==
[execmodules] == Finished with 'most' in module 'jmx'.
[execmodules] ======================================================================
[execmodules]
_module-jmx-most:
[execmodules]
[execmodules] ======================================================================
[execmodules] == Executing 'most' in module 'common'...
[execmodules] ==
_buildmagic:init:
configure:
init:
compile-mbean-sources:
0 [main] INFO XDocletMain.start - Running
INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
(Perhaps the referred class doesn't exist? Hasn't been generated yet?)
The referring classes do not import any fully qualified classes matching these classes.
However, since no packages are imported, xjavadoc has assumed that the referred classes
belong to the same package as the referring class. The classes are:
/home/walter/jboss-3.0.8-src/common/src/main/org/jboss/util/property/jmx/SystemPropertyClassValue.java --> SystemPropertyClassValueMBean qualified to org.jboss.util.property.jmx.SystemPropertyClassValueMBean
compile-classes:
[javac] Compiling 177 source files to /home/walter/jboss-3.0.8-src/common/output/classes
/home/walter/jboss-3.0.8-src/common/src/main/org/jboss/util/property/jmx/SystemPropertyClassValue.java:28: interface expected here
implements SystemPropertyClassValueMBean
^
/home/walter/jboss-3.0.8-src/common/src/main/org/jboss/logging/XPriority.java:77: warning: toPriority(java.lang.String) in org.apache.log4j.Priority has been deprecated
public static Priority toPriority(String name)
^
1 error
1 warning
BUILD FAILED
file:/home/walter/jboss-3.0.8-src/common/build.xml:260: Compile failed; see the compiler error output for details.
Total time: 18 seconds
##### End of Senario 2 ######
I tried building JBoss 3.2.x from src as well and I got the same error msg as with 3.0.x.
Any suggestions would be highly appreciated!!