|
From: beast <1b...@we...> - 2007-05-05 22:35:53
|
Hey, im using the Java Service Wrapper 3.2.3 on a Windows Server 2003-Machine to setup a service for my JBoss Application Server 4.0.5GA. The Appserver and my ejb-apps run very fine when i start the jboss normally via run.bat (not by starting the service). When i start the service the appserver starts normally as well (checked by the log-files) but my remote clients are unable to connect to the deployed sessionbeans. The jboss itself stays unchanged, so i guess its nothing within jboss. The weird thing is, that the remote clients doesnt even catch up an exception - they just doing something without popping out any log or exception on the point of connecting to the server. The very same tools work well without starting jboss by the service. Does anybody got an idea what may be wrong here ? Any help would be appreciated... thanks, oliver Heres my conf: #******************************************************************** # TestWrapper Properties # # NOTE - Please use src/conf/wrapper.conf.in as a template for your # own application rather than the values used for the # TestWrapper sample. #******************************************************************** # Java Application wrapper.java.command=%JAVA_HOME%/bin/java # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. #wrapper.java.mainclass=org.jboss.Main wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=%JBOSS_HOME%/lib/wrapper.jar wrapper.java.classpath.2=%JAVA_HOME%\lib\tools.jar wrapper.java.classpath.3=%JBOSS_HOME%/bin\run.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=%JBOSS_HOME%/lib # Java Additional Parameters wrapper.java.additional.1=-server wrapper.java.additional.2=-Xms128m wrapper.java.additional.3=-Xmx512m wrapper.java.additional.4=-Dsun.rmi.dgc.server.gcInterval=3600000 wrapper.java.additional.5=-Dprogram.name=run.bat # Initial Java Heap Size (in MB) #wrapper.java.initmemory=3 # Maximum Java Heap Size (in MB) #wrapper.java.maxmemory=64 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=org.jboss.Main #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Format of output for the console. (See docs for formats) wrapper.console.format=PM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=INFO # Log file to use for wrapper output logging. wrapper.logfile=%JBOSS_HOME%/server/default/log/wrapper.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=INFO # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=0 # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=0 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper Windows Properties #******************************************************************** # Title to use when running as a console wrapper.console.title=JBoss Application Server #******************************************************************** # Wrapper Windows NT/2000/XP Service Properties #******************************************************************** # WARNING - Do not modify any of these properties when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. # Name of the service wrapper.ntservice.name=JBoss # Display name of the service wrapper.ntservice.displayname=JBoss Application Server # Description of the service wrapper.ntservice.description=JBoss Application Server Description # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1= # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Allow the service to interact with the desktop. wrapper.ntservice.interactive=false |