Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Jboss with Jrockit JVM

- Jboss with Jrockit JVM

2007-06-11       - By gregamb

 Back
Hi,

I'm trying to set up the Java Service Wrapper to start the Jboss as a windows
service.
I tried to use the instructions on the official web page, but they don't work
for me. When ever I want to test it (start from Console) I?m getting exceptions
? so also the  windows service is not working.

My environment is like this:
OS: Windows Server 2003
App Server: jboss-4 (See http://oss-4.ora-code.com).0.5.GA
JAVA: jrockit-R27.2.0-jdk1.5.0_10

I'm running 3 instances of JBoss. If I start them from run.bat they are working
normally ? also if I use SUN java and Java service it's working as it should.

My wrapper.conf file looks like this:

wrapper.java.command=%JAVA_HOME%/bin/java
wrapper.java.additional.1=-Dprogram.name=run.bat
wrapper.java.additional.2=-Xms256m
wrapper.java.additional.3=-Xmx768m
wrapper.java.additional.4=-Djava.endorsed.dirs=c:/%JBOSS_HOME%/lib/endorsed
wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar
wrapper.java.classpath.3=./run.jar
wrapper.java.library.path.1=../lib
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
wrapper.app.parameter.1=org.jboss.Main
wrapper.app.parameter.2=-c instance3
wrapper.ntservice.name=JBoss-instance3
wrapper.ntservice.displayname=JBoss Server-instance3

Does any one have any idea how should I set up the config file so that it will
start instance that I want on JBoss.

Or do you know how else i could create Windows service because javaservice is
not working with jRockit java.

Thanks,

Grega

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4053078#4053078

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4053078
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.