One Star

JBoss Server not starting without giving any specific error

Hi
I installed MDM software by followin up the instructions.
I installed Jboss as a first step by clicking on the TMDMCE-Server-All-r43696-V4.0.2.jar file. Before that I have installed and set up the JAVA_HOME as well.
But when I click run.bat from Jboss installed folder it gives following message with out any specific error. Please guide.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
C:\TalendMDM\jboss-4.2.2.GA>cd bin
C:\TalendMDM\jboss-4.2.2.GA\bin>./run.bat -b 0.0.0.0
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\TalendMDM\jboss-4.2.2.GA
JAVA: C:\Sun\JDK6\bin\java
JAVA_OPTS: -Djava.library.path="C:\TalendMDM\jboss-4.2.2.GA\bin\native;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\sun\sdk\jdk\bin;c:\program files\
utimaco\safeguard easy\;c:\deepak\softwares\apache-maven-2.0.9\bin;c:\deepak\softwares\ant17\bin;c:\program files\rsa security\rsa securid software token\;c:\progra~1
\ibm\sqllib\bin;c:\progra~1\ibm\sqllib\function;c:\progra~1\ibm\sqllib\samples\repl;c:\program files\personal communications;c:\program files\windows imaging\;C:\Prog
ram Files\Java\jre6\bin\" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterv
al=3600000
CLASSPATH: C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
===============================================================================
Usage: java class
(to execute a class)
or java -jar jarfile
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM
The default VM is client.
-cp
-classpath
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea
-enableassertions
enable assertions
-da
-disableassertions
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:
load native agent library by full pathname
-javaagent:
load Java programming language agent, see java.lang.instrument
-splash:
show splash screen with specified image
Press any key to continue . . .
-----------------------------------------------------------------------------------------------------------------------------------------------------------

  • MDM
4 REPLIES
One Star

Re: JBoss Server not starting without giving any specific error

Hi
I now set Echo On and changed the %PATH% from java.liabrary.path to
if exist "%JBOSS_HOME%\bin\native" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%JBOSS_HOME%\bin\native;C:\WINDOWS\system32;C:\WINDOWS;"
but still the server is not started...The message is as below
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\TalendMDM\jboss-4.2.2.GA>cd bin
C:\TalendMDM\jboss-4.2.2.GA\bin>./run.bat -b 0.0.0.0
C:\TalendMDM\jboss-4.2.2.GA\bin>rem -------------------------------------------------------------------------
C:\TalendMDM\jboss-4.2.2.GA\bin>rem JBoss Bootstrap Script for Win32
C:\TalendMDM\jboss-4.2.2.GA\bin>rem -------------------------------------------------------------------------
C:\TalendMDM\jboss-4.2.2.GA\bin>rem $Id: run.bat 63249 2007-05-30 13:20:25Z dimitris@jboss.org $
C:\TalendMDM\jboss-4.2.2.GA\bin>set DIRNAME=.\
C:\TalendMDM\jboss-4.2.2.GA\bin>if "Windows_NT" == "Windows_NT" set DIRNAME=C:\TalendMDM\jboss-4.2.2.GA\bin\
C:\TalendMDM\jboss-4.2.2.GA\bin>set PROGNAME=run.bat
C:\TalendMDM\jboss-4.2.2.GA\bin>if "Windows_NT" == "Windows_NT" set PROGNAME=run.bat
C:\TalendMDM\jboss-4.2.2.GA\bin>pushd C:\TalendMDM\jboss-4.2.2.GA\bin\..
C:\TalendMDM\jboss-4.2.2.GA>set JBOSS_HOME=C:\TalendMDM\jboss-4.2.2.GA
C:\TalendMDM\jboss-4.2.2.GA>popd
C:\TalendMDM\jboss-4.2.2.GA\bin>REM Add bin/native to the PATH if present
C:\TalendMDM\jboss-4.2.2.GA\bin>if exist "C:\TalendMDM\jboss-4.2.2.GA\bin\native" set PATH=C:\TalendMDM\jboss-4.2.2.GA\bin\native;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\program files\utimaco\safeguard easy\;c:\program files\rsa security\rsa securid software token\;c:\progra~1\ibm\sqllib\bin;c:\progra~1\ibm\sqllib\function;c:\progra~1\ibm\sqllib\samples\repl;c:\program files\personal communications;c:\program files\windows imaging\;C:\Sun\JDK6\bin;
C:\TalendMDM\jboss-4.2.2.GA\bin>if exist "C:\TalendMDM\jboss-4.2.2.GA\bin\native" set JAVA_OPTS= -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;"
C:\TalendMDM\jboss-4.2.2.GA\bin>rem Read all command line arguments
C:\TalendMDM\jboss-4.2.2.GA\bin>REM
C:\TalendMDM\jboss-4.2.2.GA\bin>REM The env variable commented out in favor of using -b 0.0.0.0 to include
C:\TalendMDM\jboss-4.2.2.GA\bin>REM all args in java command line. See bug #840239.
C:\TalendMDM\jboss-4.2.2.GA\bin>REM
C:\TalendMDM\jboss-4.2.2.GA\bin>REM set ARGS=
C:\TalendMDM\jboss-4.2.2.GA\bin>REM :loop
C:\TalendMDM\jboss-4.2.2.GA\bin>REM if == [] goto endloop
C:\TalendMDM\jboss-4.2.2.GA\bin>REM set ARGS= -b
C:\TalendMDM\jboss-4.2.2.GA\bin>REM shift
C:\TalendMDM\jboss-4.2.2.GA\bin>REM goto loop
C:\TalendMDM\jboss-4.2.2.GA\bin>REM :endloop
C:\TalendMDM\jboss-4.2.2.GA\bin>rem Find run.jar, or we can't continue
C:\TalendMDM\jboss-4.2.2.GA\bin>set RUNJAR=C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
C:\TalendMDM\jboss-4.2.2.GA\bin>if exist "C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar" goto FOUND_RUN_JAR
C:\TalendMDM\jboss-4.2.2.GA\bin>if not "C:\Sun\JDK6" == "" goto ADD_TOOLS
C:\TalendMDM\jboss-4.2.2.GA\bin>set JAVA=C:\Sun\JDK6\bin\java
C:\TalendMDM\jboss-4.2.2.GA\bin>rem A full JDK with toos.jar is not required anymore since jboss web packages
C:\TalendMDM\jboss-4.2.2.GA\bin>rem the eclipse jdt compiler and javassist has its own internal compiler.
C:\TalendMDM\jboss-4.2.2.GA\bin>if not exist "C:\Sun\JDK6\lib\tools.jar" goto SKIP_TOOLS
C:\TalendMDM\jboss-4.2.2.GA\bin>rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include it, as this will
C:\TalendMDM\jboss-4.2.2.GA\bin>rem result in including the local directory in the classpath, which makes
C:\TalendMDM\jboss-4.2.2.GA\bin>rem error tracking harder.
C:\TalendMDM\jboss-4.2.2.GA\bin>if not "" == "" set RUNJAR=;C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
C:\TalendMDM\jboss-4.2.2.GA\bin>if "" == "" set RUN_CLASSPATH=C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
C:\TalendMDM\jboss-4.2.2.GA\bin>if "C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar" == "" set RUN_CLASSPATH=;C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
C:\TalendMDM\jboss-4.2.2.GA\bin>set JBOSS_CLASSPATH=C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
C:\TalendMDM\jboss-4.2.2.GA\bin>rem Setup JBoss specific properties
C:\TalendMDM\jboss-4.2.2.GA\bin>set JAVA_OPTS= -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat
C:\TalendMDM\jboss-4.2.2.GA\bin>rem Add -server to the JVM options, if supported
C:\TalendMDM\jboss-4.2.2.GA\bin>"C:\Sun\JDK6\bin\java" -version 2>&1 | findstr /I hotspot 1>nul
C:\TalendMDM\jboss-4.2.2.GA\bin>if not errorlevel 1 (set JAVA_OPTS= -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat -server )
C:\TalendMDM\jboss-4.2.2.GA\bin>rem JVM memory allocation pool parameters. Modify as appropriate.
C:\TalendMDM\jboss-4.2.2.GA\bin>set JAVA_OPTS= -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m
C:\TalendMDM\jboss-4.2.2.GA\bin>rem With Sun JVMs reduce the RMI GCs to once per hour
C:\TalendMDM\jboss-4.2.2.GA\bin>set JAVA_OPTS= -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
C:\TalendMDM\jboss-4.2.2.GA\bin>rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
C:\TalendMDM\jboss-4.2.2.GA\bin>rem JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
C:\TalendMDM\jboss-4.2.2.GA\bin>rem Setup the java endorsed dirs
C:\TalendMDM\jboss-4.2.2.GA\bin>set JBOSS_ENDORSED_DIRS=C:\TalendMDM\jboss-4.2.2.GA\lib\endorsed
C:\TalendMDM\jboss-4.2.2.GA\bin>echo ===============================================================================
===============================================================================
C:\TalendMDM\jboss-4.2.2.GA\bin>echo.

C:\TalendMDM\jboss-4.2.2.GA\bin>echo JBoss Bootstrap Environment
JBoss Bootstrap Environment
C:\TalendMDM\jboss-4.2.2.GA\bin>echo.

C:\TalendMDM\jboss-4.2.2.GA\bin>echo JBOSS_HOME: C:\TalendMDM\jboss-4.2.2.GA
JBOSS_HOME: C:\TalendMDM\jboss-4.2.2.GA
C:\TalendMDM\jboss-4.2.2.GA\bin>echo.

C:\TalendMDM\jboss-4.2.2.GA\bin>echo JAVA: C:\Sun\JDK6\bin\java
JAVA: C:\Sun\JDK6\bin\java
C:\TalendMDM\jboss-4.2.2.GA\bin>echo.

C:\TalendMDM\jboss-4.2.2.GA\bin>echo JAVA_OPTS: -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
JAVA_OPTS: -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
C:\TalendMDM\jboss-4.2.2.GA\bin>echo.

C:\TalendMDM\jboss-4.2.2.GA\bin>echo CLASSPATH: C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
CLASSPATH: C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar
C:\TalendMDM\jboss-4.2.2.GA\bin>echo.

C:\TalendMDM\jboss-4.2.2.GA\bin>echo ===============================================================================
===============================================================================
C:\TalendMDM\jboss-4.2.2.GA\bin>echo.

C:\TalendMDM\jboss-4.2.2.GA\bin>"C:\Sun\JDK6\bin\java" -Djava.library.path=="C:\TalendMDM\jboss-4.2.2.GA\bin\native;C:\WINDOWS\system32;C:\WINDOWS;" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=C:\TalendMDM\jboss-4.2.2.GA\lib\endorsed" -classpath "C:\TalendMDM\jboss-4.2.2.GA\bin\run.jar" org.jboss.Main -b 0.0.0.0
C:\TalendMDM\jboss-4.2.2.GA\bin>if ERRORLEVEL 10 goto RESTART
C:\TalendMDM\jboss-4.2.2.GA\bin>if "" == "" pause
Press any key to continue . . .
--------------------------------------------------------------------------------------------------------------------------------------------------------------
One Star

Re: JBoss Server not starting without giving any specific error

I removed -server option from the run.bat file and then server started well...I am not sure if removing the server option could hamper anything ahead while working on MDM....
One Star

Re: JBoss Server not starting without giving any specific error

from what I see could be related to the bug I opened:
http://www.talendforge.org/bugs/view.php?id=13830
B/r
One Star

Re: JBoss Server not starting without giving any specific error

Hello Depak,
How did u removed that server?
U mentioned in the comment right..
Thank you.