java/134481: Jboss 5 Makefile problem with copying dir to deployment path

Horst Leitenmueller horst.leitenmueller at liwest.at
Tue May 12 05:50:02 UTC 2009


>Number:         134481
>Category:       java
>Synopsis:       Jboss 5 Makefile problem with copying dir to deployment path
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 12 05:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Horst Leitenmueller
>Release:        7.1
>Organization:
>Environment:
FreeBSD 7.1-RELEASE-p3 #0: Thu Feb 19 14:43:15 CET 2009 amd64
>Description:
Problem on building jboss 5 port /usr/ports/java/jboss5
deployment runs ok, but on starting the jboss does not find the default libs
which are located in the common directory

this is new; changed from jboss 4 to jboss 5
common contains the jar files for the base server/* 

missing in Makefile:

APP_HOME_FILES= bin client lib server *common*
>How-To-Repeat:
remove the deployed /usr/local/jboss5 directory
deploy it again start the jboss5
add in /etc/rc.conf   the line 
jboss5_enable="YES"

boot the jboss /usr/local/etc/rc.d/jboss5 start

look in jboss5 log file 
tail -f /usr/local/jboss5/server/default/log/server.log
>Fix:
cp -R /usr/ports/java/jboss5/work/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/common /usr/local/jboss5/

chown -R www:www /usr/local/jboss5/common


correct fix is:

add in /usr/ports/java/jboss5/Makefile (without *)
APP_HOME_FILES= bin client lib server *common*

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-java mailing list