This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am facing a problem with jboss windows service.I am using jboss 4.2.2 GA.I have done it as a windows service.it is working fine.
The problem is ,if we are taking remote desktop using Start->Run->mstsc / console, started Jboss through windows services ,after that I log off the remote connection,suddenly the running jboss has been stopped.I couldn't find the exact reason.If we are using only "mstsc" it is working fine eventhough the server has been logged off.
Please help me,
Thanks in advance.
What tool are you using to start JBoss AS as a service? Be specific (an URL for the tool would be great) because many of the tools have similar names.
Please provide more information on exactly how you are starting JBoss AS when using the Remote Desktop Connection. I often use Remote Desktop to connect to my host running JBoss AS and can start and stop JBoss AS using the "net start/stop" from the command line, or from Services within Administrative Tools.
Hi,My jboss version is Jboss 4.2.2 GA.I am using Jboss native,followed the link http://www.jboss.org/community/docs/DOC-10679 I have downloaded the jboss native jboss-native-2.0.1-windows-ia64-ssl.Normally I use remote Desktop to connect to my host running jboss.For taking remote Desktop, different ways are there.ie.Start->Run-> enter mstsc in the run Window, or enter mstsc /console in the Run Window.I have used mstsc /console in the Run Window to connect the Remote host running Jboss.Then I started jboss using Services within Administrative Tools.Jboss has been started and running properly.Afterthat I log Off the remote host using Start->Log Off.Then the already running jboss has been stoped.This is the problem I am facing.But if I am using "mstsc" only,the jboss willnot stop.
yes .. I mean a different solution.
there are several team and spread responsibilities over them.
I can't control the way how other people access to the OS.
And is is a bit curious as only JBoss crashes not the other services.
Joined: Aug 18, 2010
... several teams ...
And it is a bit curious ...
Windows Server 2003 R2 SP2 Enterprise
The service is set up to start automatically at OS start up
REM JBoss, the OpenSource webOS
REM Distributable under LGPL license.
REM See terms of license at gnu.org.
REM JBoss Service Script for Windows
@if not "%ECHO%" == "" echo %ECHO%
@if "%OS%" == "Windows_NT" setlocal
REM VERSION, VERSION_MAJOR and VERSION_MINOR are populated
REM during the build with ant filter.
set SVCDISP=JBoss Application Server 4.0.5
set SVCDESC=JBoss Application Server 4.0.5 GA
jbosssvc.exe -iwdc %SVCNAME% "%DIRNAME%" "%SVCDISP%" "%SVCDESC%" service.bat
@if not errorlevel 0 goto errExplain
echo Service %SVCDISP% installed
jbosssvc.exe -u %SVCNAME%
@if not errorlevel 0 goto errExplain
echo Service %SVCDISP% removed
REM Executed on service start
call run.bat -c nfusion >run.log
REM Executed on service stop
call shutdown -S jnp://localhost:1099 >shutdown.log
REM Executed on service restart
REM Note. We can only stop and start
call shutdown -S jnp://localhost:1099 >>shutdown.log
call run.bat -c nfusion >>run.log
REM Send signal to the service.
REM Requires jbosssch.dll to be loaded in JVM
@if not ""%2"" == """" goto execSignal
echo Missing signal parameter.
echo Usage: service signal [0...9]
jbosssvc.exe -k%2 %SVCNAME%
giorgio bellinger wrote:
currently this is the value of JAVA_OPTS
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
Just append -Xrs to that line. I'm still trying to find the JIRA where this was identified as an issue and fixed. I'm not yet fully sure whether adding that param is going to fix this issue, I remember there was something else too.
Can you answer my other question:
I'm guessing you downloaded the JBoss Native (the project which allows you to create the Windows service) separately. If so, what version of it did you download?