Help about SPECjAppServer2002 and jboss.
terryxian Oct 25, 2004 5:23 PMI am using SPECjAppServer2002 to do some experiment on jboss.
What I am using are jboss4.0, jsdk1.4.2_05, and oracle 9i.
I have downloaded the necessary toolkit and followed the setup instruction to setup the
environment. After I ran:
> $ANT_HOME/bin/ant -buildfile jboss40.xml -deployall
Then I copied all .war .ear and .jar files in $JAS_HOME/jars into
$JBOSS_HOME/server/specj/deploy.
Then I ran
> run.sh -c specj
I got the following output which indicates jboss server deployed the beans incompletely:
==============================================================
===========
JBoss Bootstrap Environment
JBOSS_HOME: /usr/java/jboss
JAVA: /usr/java/j2sdk1.4.2_05/bin/java
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
CLASSPATH:
/usr/java/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar
==============================================================
===========
.................
.................
02:44:35,315 INFO [TomcatDeployer] deploy, ctxPath=/,
warUrl=file:/usr/java/jboss/server/specj/deploy/jbossweb-tomca
t50.sar/ROOT.war/
02:44:37,271 INFO [WrapperDataSourceService] Bound
connection factory for resource adapter for ConnectionManager
> 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI
> name 'java:DefaultDS'
> 02:44:37,309 INFO [TomcatDeployer] deploy,
> ctxPath=/jmx-console,
> warUrl=file:/usr/java/jboss/server/specj/deploy/jmx-console.war/
> 02:44:37,715 INFO [TomcatDeployer] deploy,
> ctxPath=/emulator,
> warUrl=file:/usr/java/jboss/server/specj/tmp/deploy/tmp16040em
> ulator-exp.war/
> 02:44:38,260 INFO [TomcatDeployer] deploy,
> ctxPath=/supplier,
> warUrl=file:/usr/java/jboss/server/specj/tmp/deploy/tmp16041su
> pplier-exp.war/
> 02:44:38,884 INFO [TomcatDeployer] deploy, ctxPath=/web,
> warUrl=file:/usr/java/jboss/server/specj/tmp/deploy/tmp16042we
> b-exp.war/
> 02:44:39,172 ERROR [URLDeploymentScanner] Incomplete
> Deployment listing:
> Packages waiting for a deployer:
> org.jboss.deployment.DeploymentInfo@a31eeeaf {
> url=file:/usr/java/jboss/server/specj/deploy/SPECjAppServer.ear }
> deployer: null
> status: null
> state: INIT_WAITING_DEPLOYER
> watch: file:/usr/java/jboss/server/specj/deploy/SPECjAppServer.ear
> altDD: null
> lastDeployed: 1098690279167
> lastModified: 1098690279000
> mbeans:
>
> org.jboss.deployment.DeploymentInfo@99874d8f {
> url=file:/usr/java/jboss/server/specj/deploy/emulator.ear }
> deployer: null
> status: null
> state: INIT_WAITING_DEPLOYER
> watch: file:/usr/java/jboss/server/specj/deploy/emulator.ear
> altDD: null
> lastDeployed: 1098690279170
> lastModified: 1098690279000
> mbeans:
>
> Incompletely deployed packages:
> org.jboss.deployment.DeploymentInfo@a31eeeaf {
> url=file:/usr/java/jboss/server/specj/deploy/SPECjAppServer.ear }
> deployer: null
> status: null
> state: INIT_WAITING_DEPLOYER
> watch: file:/usr/java/jboss/server/specj/deploy/SPECjAppServer.ear
> altDD: null
> lastDeployed: 1098690279167
> lastModified: 1098690279000
> mbeans:
>
> org.jboss.deployment.DeploymentInfo@99874d8f {
> url=file:/usr/java/jboss/server/specj/deploy/emulator.ear }
> deployer: null
> status: null
> state: INIT_WAITING_DEPLOYER
> watch: file:/usr/java/jboss/server/specj/deploy/emulator.ear
> altDD: null
> lastDeployed: 1098690279170
> lastModified: 1098690279000
> mbeans:
>
>
> 02:44:39,185 INFO [Server] JBoss (MX MicroKernel) [4.0.0RC1 (build:
> CVSTag=JBoss_4_0_0_RC1 date=200407202112)] Started in 25s:125ms
> 02:44:39,186 INFO [Tomcat5] Saw
> org.jboss.system.server.started notification, starting
> connectors 02:44:39,380 INFO [Http11Protocol] Starting
> Coyote HTTP/1.1 on http-0.0.0.0-8080
> 02:44:40,194 INFO [ChannelSocket] JK2: ajp13 listening on
> /0.0.0.0:8009
> 02:44:40,202 INFO [JkMain] Jk running ID=0 time=1/41
> config=null
> ===================================================================
>
> Obviously, all ear beans didnt get deployed. Why?
>
> Also, When I fired the driver, I got an IO error:
>
> > driver.sh
> Apps server is jboss40
> Driver Host: pcp060362pcs.unl.edu
> Binding controller to //pcp060362pcs.unl.edu/Controller
> Controller: Registering L1 on machine 129.93.68.36
> Controller: Registering O1 on machine 129.93.68.36
> L1 started ...
> O1 started ...
> Controller: Registering M1 on machine 129.93.68.36
> M1 started ...
> java.io.FileNotFoundException:
> http://localhost:8080/Emulator/EmulatorServlet?cmd=switchlog
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht pURLConnection.java:798)
> at
> org.spec.jappserver.launcher.Driver.switchLog(Driver.java:386)
> at
> org.spec.jappserver.launcher.Driver.runScript(Driver.java:319)
> at org.spec.jappserver.launcher.Script.main(Script.java:82)
>
How can I fix such problem. I was fighting with these errors for
several days. Any solution to them?
Thanks in advance!
Feng Xian