Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl

Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl

Post by tosh » Fri, 27 Feb 2009 21:33:24


In message: < XXXX@XXXXX.COM >
Horst Leitenmueller < XXXX@XXXXX.COM > writes:

1. edit the /etc/rc.conf file.

jboss5_enable="YES"
jboss5_config="default"
jboss5_flags="-Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

2. check the permission of the server configuration directory.

then work here.


I also test the jboss-seam.

$ tar zxf jboss-seam-2.1.1.GA.tar.gz
$ cd jboss-seam-2.1.1.GA
$ echo "jboss.home=/usr/local/jboss5/" >> build.properties
$ ant
$ cd examples/booking/
$ ant

see the following page:

http://localhost:8080/seam-booking/

\o/

I'm going to start the Java EE.

Thanks.

---
SAITOU
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl

Post by horst.leit » Wed, 04 Mar 2009 18:08:39

i Saitou,

error still exists here some more details on my problem
1) i added information of you point 1. didn't solve the problem
2) looked at the server config dir mod is: www:www 644

add info jboss is running inside a jail with part of read only directory
and part of rw directory /s/ is rw

on amd64 all is running smooth, on i386 it fails ?! i extracted the
important information from both systems....

jboss5 boot.log amd64 inside jail
Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA
date=200903011549)
16:16:52,637 INFO [ServerImpl] Home Dir: /s/usr-local/jboss5
16:16:52,637 INFO [ServerImpl] Home URL: file:/s/usr-local/jboss5/
16:16:52,637 INFO [ServerImpl] Library URL:
file:/s/usr-local/jboss5/lib/
16:16:52,638 INFO [ServerImpl] Patch URL: null
16:16:52,638 INFO [ServerImpl] Common Base URL:
file:/s/usr-local/jboss5/common/
16:16:52,638 INFO [ServerImpl] Common Library URL:
file:/s/usr-local/jboss5/common/lib/
16:16:52,639 INFO [ServerImpl] Server Name: default
16:16:52,639 INFO [ServerImpl] Server Base
Dir: /s/usr-local/jboss5/server
16:16:52,639 INFO [ServerImpl] Server Base URL:
file:/s/usr-local/jboss5/server/
16:16:52,639 INFO [ServerImpl] Server Config URL:
file:/s/usr-local/jboss5/server/default/conf/
16:16:52,639 INFO [ServerImpl] Server Home
Dir: /s/usr-local/jboss5/server/default
16:16:52,639 INFO [ServerImpl] Server Home URL:
file:/s/usr-local/jboss5/server/default/
16:16:52,639 INFO [ServerImpl] Server Data
Dir: /s/usr-local/jboss5/server/default/data
16:16:52,640 INFO [ServerImpl] Server Library URL:
file:/s/usr-local/jboss5/server/default/lib/
16:16:52,640 INFO [ServerImpl] Server Log
Dir: /s/usr-local/jboss5/server/default/log
16:16:52,640 INFO [ServerImpl] Server Native
Dir: /s/usr-local/jboss5/server/default/tmp/native
16:16:52,640 INFO [ServerImpl] Server Temp
Dir: /s/usr-local/jboss5/server/default/tmp
16:16:52,640 INFO [ServerImpl] Server Temp Deploy
Dir: /s/usr-local/jboss5/server/default/tmp/deploy


16:16:55,242 INFO [ServerInfo] Java version: 1.6.0_07,The FreeBSD
Foundation
16:16:55,243 INFO [ServerInfo] Java VM: Diablo Java HotSpot(TM) 64-Bit
Server VM 10.0-b23,The FreeBSD Foundation
16:16:55,243 INFO [ServerInfo] OS-System: FreeBSD 7.1-RELEASE-p3,amd64
16:16:55,243 DEBUG [ServerInfo] Full System Properties Dump
16:16:55,243 DEBUG [ServerInfo] java.vendor: The FreeBSD Foundation
16:16:55,243 DEBUG [ServerInfo] sun.java.launcher: SUN_STANDARD
16:16:55,243 DEBUG [ServerInfo] sun.management.compiler: HotSpot
64-Bit Server Compiler
16:16:55,243 DEBUG [ServerInfo] os.name: FreeBSD
16:16:55,243 DEBUG [ServerInfo]
sun.boot.class.path: /s/usr-local/diablo-jdk1.6.0/jre/lib/resources.jar:/s/usr-local/diablo-jdk1.6.0/jre/lib/rt.jar:/s/usr-local/diablo-jdk1.6.0/jre/lib/sunr
sasign.jar:/s/usr-local/diablo-jdk1.6.0/jre/lib/jsse.jar:/s/usr-local/diablo-jdk1.6.0/jre/lib/jce.jar:/s/usr-local/diablo-jdk1.6.0/jre/lib/charsets.jar:/s/usr-local/diablo-jdk1.6.0/jre/classes
16:16:55,243 DEBUG [ServerInfo] java.vm.specification.vendor: Sun
Microsystems Inc.
16:16:55,243 DEBUG [ServerInfo] java.runtime.version: 1.6.0_07-b02
16:16:55,244 DEBUG [ServerInfo] user.name: www
16:16:55,244 DEBUG [ServerInfo] jboss.bind.address: 127.0.0.1
16:16:55,244 DEBUG [ServerInfo]
sun.boot.library.path: /s/usr-local/diablo-jdk1.6.0/jre/lib/amd64
16:16:55,244 DEBUG [ServerInfo] jboss.home.url:
file:/s/usr-
 
 
 

Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl

Post by tosh » Wed, 04 Mar 2009 21:11:23

In message: <1236071371.93150.11.camel@lap01>
Horst Leitenmueller < XXXX@XXXXX.COM > writes:

I'm using ports/java/openjdk6 on i386 machine without jail.



I am a beginner about JBoss so I wouldn't help you, sorry.
But is this occur outside a jail.

---
SAITOU
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl

Post by tosh » Thu, 05 Mar 2009 19:02:52

In message: < XXXX@XXXXX.COM >
SAITOU Toshihide < XXXX@XXXXX.COM > writes:
^^^^^^^^ this was mistake,
I had used java/diablo-jdk16. I'm sorry.
Though running with openjdk6 is OK by changing these files:

/usr/local/bin/jboss5ctl (work/daemonctl.c)
/usr/local/etc/rc.d/jboss5 (work/jboss5.sh)

And maybe this was not your case but I had changed Makefile
as following:

APP_HOME_FILES= bin client *common* lib server
(see. http://www.yqcomputer.com/ )

---
SAITOU
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "