Thanks for your reply.
This is the error i get
[startJMS] $  /bin/bash /var/tmp/hudson3826384858297686021.sh
FATAL: command execution failed
java.io.IOException: : not found
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
        at hudson.Proc$LocalProc.<init>(Proc.java:244)
        at hudson.Proc$LocalProc.<init>(Proc.java:216)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:763)
        at hudson.Launcher$ProcStarter.start(Launcher.java:353)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:988)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:955)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:326)
        at
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
        at java.lang.Thread.run(Thread.java:637)
Build step 'Execute shell' marked build as failure
Finished: FAILURE


If i apply & after the 
cd /opt/app/documentum/share/jboss4.3.0/server 
nohup ./startMethodServer.sh

I get below error

startJMS] $ /bin/sh -xe /var/tmp/hudson7153432316218641686.sh
+ cd /opt/app/documentum/share/jboss4.3.0/server 
+ nohup ./startMethodServer.sh 
=========================================================================

  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

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

08:05:06,432 INFO  [Server] Starting JBoss (MX MicroKernel)...
08:05:06,436 INFO  [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP06 (build:
SVNTag=JBPAPP_4_3_0_GA_CP06 date=200907141446)
08:05:06,441 INFO  [Server] Home Dir: /opt/app/documentum/share/jboss4.3.0
08:05:06,441 INFO  [Server] Home URL:
file:/opt/app/documentum/share/jboss4.3.0/
08:05:06,444 INFO  [Server] Patch URL: null
08:05:06,445 INFO  [Server] Server Name: DctmServer_MethodServer
08:05:06,445 INFO  [Server] Server Home Dir:
/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer
08:05:06,446 INFO  [Server] Server Home URL:
file:/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer/
08:05:06,447 INFO  [Server] Server Log Dir:
/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer/log
08:05:06,448 INFO  [Server] Server Temp Dir:
/opt/app/documentum/share/jboss4.3.0/server/DctmServer_MethodServer/tmp
08:05:06,450 INFO  [Server] Root Deployment Filename: jboss-service.xml
08:05:07,507 INFO  [ServerInfo] Java version: 1.6.0_17,Sun Microsystems Inc.
08:05:07,508 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM
14.3-b01,Sun Microsystems Inc.
08:05:07,508 INFO  [ServerInfo] OS-System: SunOS 5.10,sparc
08:05:07,519 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.sh
-Xms1024m -Xmx2048m
-Djava.endorsed.dirs=/opt/app/documentum/share/jboss4.3.0/lib/endorsed 
08:05:08,740 INFO  [Server] Core system initialized
Process leaked file descriptors. See
http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for
more information
08:05:18,286 INFO  [Server] Runtime shutdown hook called, forceHalt: true
08:05:18,287 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
08:05:18,335 INFO  [WebService] Using RMI server codebase:
http://appt4-mb2:9083/
08:05:18,349 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL:
resource:jboss-log4j.xml
08:05:18,506 INFO  [Server] Shutdown complete
Shutdown complete
08:05:18,568 INFO  [STDOUT] Halting VM
08:05:18,578 WARN  [ServiceController] Problem creating service
jboss.system:type=Log4jService,service=Logging
java.lang.IllegalStateException: Invalid usage of undeployed classloader
        at
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:625)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:467)
        at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
        at org.jboss.logging.Log4jService.setup(Log4jService.java:467)
        at org.jboss.logging.Log4jService.createService(Log4jService.java:476)
        at
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
        at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
        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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
        at $Proxy0.create(Unknown Source)
        at org.jboss.system.ServiceController.create(ServiceController.java:330)
        at org.jboss.system.ServiceController.create(ServiceController.java:273)
        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 $Proxy4.create(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        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:513)
        at java.lang.Thread.run(Thread.java:619)
Finished: SUCCESS


Please help as to what i am doing wrong.



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/JMS-Restart-tp4665741p4665969.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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to