[jboss-user] [Installation, Configuration & Deployment] - Help required for SPECjAppserver2004 setup on Jboss

sudheer_pisces do-not-reply at jboss.com
Tue Mar 27 06:13:52 EDT 2007


I have been trying to setup SPECjAppserver2004 on Jboss, I have used jboss version 4.05-GA and the jboss-specj kit version 1.3.7 for the setup. 
The emulator, SUT and the database server are on different machines.
 On the emulator machine, Jboss server fails to start, it says that the jboss-service.xml file is missing. I have found that some files are not created by ant in the $JBOSS_EMULATOR_HOME/server/$JBOSS_EMULATOR_SERVER_NAME directory.

The error message that I get is as follows :
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss-4.0.5.GA

  JAVA: /usr/java/jdk1.6.0/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: /usr/local/jboss-4.0.5.GA/bin/run.jar:/usr/java/jdk1.6.0/lib/tools.jar

=========================================================================

15:06:32,865 INFO  [Server] Starting JBoss (MX MicroKernel)...
15:06:32,867 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
15:06:32,870 INFO  [Server] Home Dir: /usr/local/jboss-4.0.5.GA
15:06:32,871 INFO  [Server] Home URL: file:/usr/local/jboss-4.0.5.GA/
15:06:32,873 INFO  [Server] Patch URL: null
15:06:32,873 INFO  [Server] Server Name: emulator
15:06:32,873 INFO  [Server] Server Home Dir: /usr/local/jboss-4.0.5.GA/server/emulator
15:06:32,874 INFO  [Server] Server Home URL: file:/usr/local/jboss-4.0.5.GA/server/emulator/
15:06:32,874 INFO  [Server] Server Log Dir: /usr/local/jboss-4.0.5.GA/server/emulator/log
15:06:32,875 INFO  [Server] Server Temp Dir: /usr/local/jboss-4.0.5.GA/server/emulator/tmp
15:06:32,876 INFO  [Server] Root Deployment Filename: jboss-service.xml
15:06:33,487 INFO  [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
15:06:33,487 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc.
15:06:33,487 INFO  [ServerInfo] OS-System: Linux 2.4.20-8smp,i386
15:06:33,916 INFO  [Server] Core system initialized
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url file:/usr/local/jboss-4.0.5.GA/server/emulator/conf/jboss-service.xml could not be opened, does it exist?
        at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:781)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
 at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:490)
        at java.lang.Thread.run(Thread.java:619)
15:06:33,951 INFO  [Server] Runtime shutdown hook called, forceHalt: true
15:06:33,952 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
15:06:33,964 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM

The jboss-MySQL-run.properties file on the machine is as follows:
#--------------
#SPECJ home
#--------------

JAS_HOME=/usr/local/SPECjAppServer2004-1.05


#--------------
#Driver configuration
#--------------

TXRATE=50
OUTDIR=/usr/local/SPECjAppServer2004-1.05/output
DUMPDIR=/tmp/specj
TRIGGERTIME=50
RAMPUPTIME=600
STDYSTATETIME=1800
RAMPDOWNTIME=300


#--------------
#SUT configuration
#--------------

JBOSS_HOME=/usr/local/jboss-4.0.5.GA
JBOSS_URL=http://10.107.26.6:8080
APPLICATION_HOST=10.107.26.6
APPLICATION_PORT=8080
server-name=specj2004

#--------------
#Emulator configuration
#--------------

JBOSS_EMULATOR_HOME=/usr/local/jboss-4.0.5.GA
JBOSS_EMULATOR_HOST=10.107.26.23
JBOSS_EMULATOR_PORT=8080
JBOSS_EMULATOR_SERVER_NAME=emulator


#--------------
#specj2004 database
#--------------

JDBC_URL=jdbc:mysql://10.107.26.43/specj2004
JDBC_DRIVER=com.mysql.jdbc.Driver
JDBC_USER=specj2004
JDBC_PASSWORD=specj2004

JDBC_DATASOURCE_NAME=SpecjDS
JDBC_DATASOURCE_NAME_RC=SpecjDS_RC
JDBC_DATASOURCE_NAME_RR=SpecjDS_RC
JDBC_DATASOURCE_NAME_RC.MIN=0
JDBC_DATASOURCE_NAME_RC.MAX=500
JDBC_DATASOURCE_NAME_RR.MIN=0
JDBC_DATASOURCE_NAME_RR.MAX=500


#--------------
#jms database
#--------------

JMS_JDBC_URL=jdbc:mysql://10.107.26.43/jbossjms
JMS_JDBC_DRIVER=com.mysql.jdbc.Driver
JMS_JDBC_USER=jbossjms
JMS_JDBC_PASSWORD=jbossjms
JMS_JDBC_DATASOURCE_NAME=SpecjJMSDS


#--------------
#Datasources configuration
#--------------


JDBC_DATASOURCE_MAPPING=mySQL
#DRIVER_JAVA_PARAMETERS=
server-database=mySQL


--
Regards,
sudheer_pisces



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031960#4031960

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031960



More information about the jboss-user mailing list