I am completely new to jenkins.need help on the below issue

I created a job in jenkins to start and stop JMS .Below are the steps i
followed.

Step1.Name of the job.Freestyle job

Step 2.Restrict where project can be run and i placed label of the slave

Step3 in Build Execute shell :cd /opt/app/documentum/share/jboss4.3.0/server 
nohup ./startMethodServer.sh &

it is giving following error

JBoss Bootstrap Environment

  JBOSS_HOME: /opt/app/documentum/share/jboss4.3.0

  JAVA: /opt/app/documentum/share/jboss4.3.0/jdk/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1024m -Xmx2048m

  CLASSPATH:
/opt/app/documentum/share/jboss4.3.0/bin/run.jar:/opt/app/documentum/share/jboss4.3.0/jdk/lib/tools.jar

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

11:35:01,059 INFO  [Server] Starting JBoss (MX MicroKernel)...
11:35:01,064 INFO  [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP06 (build:
SVNTag=JBPAPP_4_3_0_GA_CP06 date=200907141446)
11:35:01,070 INFO  [Server] Home Dir: /opt/app/documentum/share/jboss4.3.0
11:35:01,071 INFO  [Server] Home URL:
file:/opt/app/documentum/share/jboss4.3.0/
11:35:01,075 INFO  [Server] Patch URL: null
11:35:01,075 INFO  [Server] Server Name: DctmServer_MethodServer
11:35:01,076 INFO  [Server] Server Home Dir:
/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer
11:35:01,077 INFO  [Server] Server Home URL:
file:/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer/
11:35:01,078 INFO  [Server] Server Log Dir:
/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer/log
11:35:01,079 INFO  [Server] Server Temp Dir:
/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer/tmp
11:35:01,080 INFO  [Server] Root Deployment Filename: jboss-service.xml
11:35:02,255 INFO  [ServerInfo] Java version: 1.6.0_17,Sun Microsystems Inc.
11:35:02,255 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM
14.3-b01,Sun Microsystems Inc.
11:35:02,256 INFO  [ServerInfo] OS-System: SunOS 5.10,sparc
11:35:02,266 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.sh
-Xms1024m -Xmx2048m
-Djava.endorsed.dirs=/opt/app/documentum/share/jboss4.3.0/lib/endorsed 
11:35:03,503 INFO  [Server] Core system initialized
Process leaked file descriptors. See
http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for
more information
11:35:11,718 INFO  [Server] Runtime shutdown hook called, forceHalt: true
11:35:11,719 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
11:35:11,803 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM
Finished: SUCCESS



Now when i remove & from the start command ..it starts the server however
the job doesnot end .

Please help ..



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/JMS-Restart-tp4665741.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to