JSVC Problem

2005-02-18 Thread Behrang Saeedzadeh
Hi

I've finally compiled JSVC successfuly. After some trials and errors
I've been able to run JSVC but then now I get the following error
message indicating that the server.xml cannot be found:

Feb 18, 2005 12:54:38 PM org.apache.catalina.startup.Catalina load
WARNING: Can't load server.xml
Feb 18, 2005 12:54:38 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms

I run Tomcat like this:

sudo ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp
./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile
./logs/catalina.err org.apache.catalina.startup.Bootstrap

I've also exported CATALINA_HOME:

export CATALINA_HOME=/home/behrang/Java/Tomcat-5.5.7 

Any ideas?

Thanks in advance,
-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JSVC problem on Linux with Tomcat 5

2004-06-04 Thread Shapira, Yoav

Hi,
Did you try using Tomcat5.sh instead of tomcat.sh (same directory, the
latter is for tomcat4)?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Solley, Tim [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 5:11 PM
To: Tomcat Users List
Subject: RE: JSVC problem on Linux with Tomcat 5

A follow up to this message, I found a couple of lines in catalina.out
that
I thought maybe have something to do with this:

Can't load server.xml
jsvc.exec debug: Daemon loaded successfully
Can't load server.xml

Perhaps this helps.  Thanks again in advance.

Tim




-Original Message-
From: Solley, Tim
Sent: Thursday, June 03, 2004 3:35 PM
To: [EMAIL PROTECTED]
Subject: JSVC problem on Linux with Tomcat 5


Hi all,

I'm trying to get Tomcat 5 running as a daemon on my RH 9 machine.
I've
gone through the setup and everything seemed to be okay.  So I moved on
to
modifying the tomcat/bin/jsvc-src/native/tomcat.sh file to work with my
environment.  Now I use the script to start JSVC, and in the
catalina.out
file it shows the server starting up in zero seconds, and JSVC shows up
in
the process list.  But Tomcat is still not available through a browser.
Below is the debug output when starting JSVC:

jsvc debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --
jsvc debug: | Detach:  True
jsvc debug: | Show Version:No
jsvc debug: | Show Help:   No
jsvc debug: | Check Only:  Disabled
jsvc debug: | Run as service:  No
jsvc debug: | Install service: No
jsvc debug: | Remove service:  No
jsvc debug: | JVM Name:null
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | PID File:/var/run/jsvc.pid
jsvc debug: | User Name:   root
jsvc debug: | Extra Options:   4
jsvc debug: |   -Dcatalina.home=/usr/tomcat
jsvc debug: |   -Djava.io.tmpdir=/var/tmp
jsvc debug: |   -verbose
jsvc debug: |   -
Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/
comm
ons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc debug: | Class Invoked:   org.apache.catalina.startup.Bootstrap
jsvc debug: | Class Arguments: 0
jsvc debug: +---
jsvc debug: user changed to 'root'
jsvc debug: User 'root' validated
jsvc debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc debug: Attempting to locate VM configuration file
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc debug: Attempting to locate VM configuration file
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc debug: VM configuration file not found
jsvc debug: Attempting to locate VM library
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc debug: Attempting to locate VM library
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc debug: +-- DUMPING JAVA HOME STRUCTURE 
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | Java VM Config.: null
jsvc debug: | Found JVMs:  1
jsvc debug: | JVM Name:null
jsvc debug: |
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: +---
jsvc debug: Using default JVM in
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Invoking w/
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_04/jre/lib/i386/client:/usr/java/j
2sdk
1.4.2_04/jre/lib/i386
jsvc.exec debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS
--
jsvc.exec debug: | Detach:  True
jsvc.exec debug: | Show Version:No
jsvc.exec debug: | Show Help:   No
jsvc.exec debug: | Check Only:  Disabled
jsvc.exec debug: | Run as service:  No
jsvc.exec debug: | Install service: No
jsvc.exec debug: | Remove service:  No
jsvc.exec debug: | JVM Name:null
jsvc.exec debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc.exec debug: | PID File:/var/run/jsvc.pid
jsvc.exec debug: | User Name:   root
jsvc.exec debug: | Extra Options:   4
jsvc.exec debug: |   -Dcatalina.home=/usr/tomcat
jsvc.exec debug: |   -Djava.io.tmpdir=/var/tmp
jsvc.exec debug: |   -verbose
jsvc.exec debug: |   -
Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/
comm
ons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc.exec debug: | Class Invoked:
org.apache.catalina.startup.Bootstrap
jsvc.exec debug: | Class Arguments: 0
jsvc.exec debug:
+---
jsvc.exec debug: user changed to 'root'
jsvc.exec debug: User 'root' validated
jsvc.exec debug: Attempting to locate Java Home in
/usr/java/j2sdk1.4.2_04
jsvc.exec debug: Attempting to locate VM configuration file
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc.exec debug: Attempting to locate VM configuration file
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc.exec debug: VM configuration file not found
jsvc.exec debug: Attempting to locate VM library
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc.exec debug: Attempting to locate VM library
/usr/java

RE: JSVC problem on Linux with Tomcat 5

2004-06-04 Thread Solley, Tim
Thanks for the reply Yoav.  I didn't even realize there were two shell scripts 
available.  I just compared Tomcat5.sh to the original that I modified, and they're 
the same.  

Luckily, just a few minutes ago, I found the problem.  It was permissions.  I allowed 
more broad permissions to the Tomcat directory structure and things started up 
beautifully.

Thanks for the help.

Tim


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 7:57 AM
To: Tomcat Users List
Subject: RE: JSVC problem on Linux with Tomcat 5



Hi,
Did you try using Tomcat5.sh instead of tomcat.sh (same directory, the
latter is for tomcat4)?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Solley, Tim [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 5:11 PM
To: Tomcat Users List
Subject: RE: JSVC problem on Linux with Tomcat 5

A follow up to this message, I found a couple of lines in catalina.out
that
I thought maybe have something to do with this:

Can't load server.xml
jsvc.exec debug: Daemon loaded successfully
Can't load server.xml

Perhaps this helps.  Thanks again in advance.

Tim




-Original Message-
From: Solley, Tim
Sent: Thursday, June 03, 2004 3:35 PM
To: [EMAIL PROTECTED]
Subject: JSVC problem on Linux with Tomcat 5


Hi all,

I'm trying to get Tomcat 5 running as a daemon on my RH 9 machine.
I've
gone through the setup and everything seemed to be okay.  So I moved on
to
modifying the tomcat/bin/jsvc-src/native/tomcat.sh file to work with my
environment.  Now I use the script to start JSVC, and in the
catalina.out
file it shows the server starting up in zero seconds, and JSVC shows up
in
the process list.  But Tomcat is still not available through a browser.
Below is the debug output when starting JSVC:

jsvc debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --
jsvc debug: | Detach:  True
jsvc debug: | Show Version:No
jsvc debug: | Show Help:   No
jsvc debug: | Check Only:  Disabled
jsvc debug: | Run as service:  No
jsvc debug: | Install service: No
jsvc debug: | Remove service:  No
jsvc debug: | JVM Name:null
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | PID File:/var/run/jsvc.pid
jsvc debug: | User Name:   root
jsvc debug: | Extra Options:   4
jsvc debug: |   -Dcatalina.home=/usr/tomcat
jsvc debug: |   -Djava.io.tmpdir=/var/tmp
jsvc debug: |   -verbose
jsvc debug: |   -
Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/
comm
ons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc debug: | Class Invoked:   org.apache.catalina.startup.Bootstrap
jsvc debug: | Class Arguments: 0
jsvc debug: +---
jsvc debug: user changed to 'root'
jsvc debug: User 'root' validated
jsvc debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc debug: Attempting to locate VM configuration file
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc debug: Attempting to locate VM configuration file
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc debug: VM configuration file not found
jsvc debug: Attempting to locate VM library
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc debug: Attempting to locate VM library
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc debug: +-- DUMPING JAVA HOME STRUCTURE 
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | Java VM Config.: null
jsvc debug: | Found JVMs:  1
jsvc debug: | JVM Name:null
jsvc debug: |
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: +---
jsvc debug: Using default JVM in
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Invoking w/
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_04/jre/lib/i386/client:/usr/java/j
2sdk
1.4.2_04/jre/lib/i386
jsvc.exec debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS
--
jsvc.exec debug: | Detach:  True
jsvc.exec debug: | Show Version:No
jsvc.exec debug: | Show Help:   No
jsvc.exec debug: | Check Only:  Disabled
jsvc.exec debug: | Run as service:  No
jsvc.exec debug: | Install service: No
jsvc.exec debug: | Remove service:  No
jsvc.exec debug: | JVM Name:null
jsvc.exec debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc.exec debug: | PID File:/var/run/jsvc.pid
jsvc.exec debug: | User Name:   root
jsvc.exec debug: | Extra Options:   4
jsvc.exec debug: |   -Dcatalina.home=/usr/tomcat
jsvc.exec debug: |   -Djava.io.tmpdir=/var/tmp
jsvc.exec debug: |   -verbose
jsvc.exec debug: |   -
Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/
comm
ons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc.exec debug: | Class Invoked:
org.apache.catalina.startup.Bootstrap
jsvc.exec debug: | Class Arguments: 0
jsvc.exec debug

JSVC problem on Linux with Tomcat 5

2004-06-03 Thread Solley, Tim
Hi all,

I'm trying to get Tomcat 5 running as a daemon on my RH 9 machine.  I've gone through 
the setup and everything seemed to be okay.  So I moved on to modifying the 
tomcat/bin/jsvc-src/native/tomcat.sh file to work with my environment.  Now I use the 
script to start JSVC, and in the catalina.out file it shows the server starting up in 
zero seconds, and JSVC shows up in the process list.  But Tomcat is still not 
available through a browser.  Below is the debug output when starting JSVC:

jsvc debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --
jsvc debug: | Detach:  True
jsvc debug: | Show Version:No
jsvc debug: | Show Help:   No
jsvc debug: | Check Only:  Disabled
jsvc debug: | Run as service:  No
jsvc debug: | Install service: No
jsvc debug: | Remove service:  No
jsvc debug: | JVM Name:null
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | PID File:/var/run/jsvc.pid
jsvc debug: | User Name:   root
jsvc debug: | Extra Options:   4
jsvc debug: |   -Dcatalina.home=/usr/tomcat
jsvc debug: |   -Djava.io.tmpdir=/var/tmp
jsvc debug: |   -verbose
jsvc debug: |   
-Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/commons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc debug: | Class Invoked:   org.apache.catalina.startup.Bootstrap
jsvc debug: | Class Arguments: 0
jsvc debug: +---
jsvc debug: user changed to 'root'
jsvc debug: User 'root' validated
jsvc debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc debug: VM configuration file not found
jsvc debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc debug: +-- DUMPING JAVA HOME STRUCTURE 
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | Java VM Config.: null
jsvc debug: | Found JVMs:  1
jsvc debug: | JVM Name:null
jsvc debug: |  /usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: +---
jsvc debug: Using default JVM in /usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Invoking w/ 
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_04/jre/lib/i386/client:/usr/java/j2sdk1.4.2_04/jre/lib/i386
jsvc.exec debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --
jsvc.exec debug: | Detach:  True
jsvc.exec debug: | Show Version:No
jsvc.exec debug: | Show Help:   No
jsvc.exec debug: | Check Only:  Disabled
jsvc.exec debug: | Run as service:  No
jsvc.exec debug: | Install service: No
jsvc.exec debug: | Remove service:  No
jsvc.exec debug: | JVM Name:null
jsvc.exec debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc.exec debug: | PID File:/var/run/jsvc.pid
jsvc.exec debug: | User Name:   root
jsvc.exec debug: | Extra Options:   4
jsvc.exec debug: |   -Dcatalina.home=/usr/tomcat
jsvc.exec debug: |   -Djava.io.tmpdir=/var/tmp
jsvc.exec debug: |   -verbose
jsvc.exec debug: |   
-Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/commons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc.exec debug: | Class Invoked:   org.apache.catalina.startup.Bootstrap
jsvc.exec debug: | Class Arguments: 0
jsvc.exec debug: +---
jsvc.exec debug: user changed to 'root'
jsvc.exec debug: User 'root' validated
jsvc.exec debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc.exec debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc.exec debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc.exec debug: VM configuration file not found
jsvc.exec debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc.exec debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc.exec debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc.exec debug: +-- DUMPING JAVA HOME STRUCTURE 
jsvc.exec debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc.exec debug: | Java VM Config.: null
jsvc.exec debug: | Found JVMs:  1
jsvc.exec debug: | JVM Name:null
jsvc.exec debug: |  
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc.exec debug: +---
jsvc.exec debug: Running w/ 
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_04/jre/lib/i386/client:/usr/java/j2sdk1.4.2_04/jre/lib/i386
jsvc.exec debug: redirecting stdout to /usr/tomcat/logs/catalina.out 

RE: JSVC problem on Linux with Tomcat 5

2004-06-03 Thread Solley, Tim
A follow up to this message, I found a couple of lines in catalina.out that I thought 
maybe have something to do with this:

Can't load server.xml
jsvc.exec debug: Daemon loaded successfully
Can't load server.xml

Perhaps this helps.  Thanks again in advance.

Tim




-Original Message-
From: Solley, Tim 
Sent: Thursday, June 03, 2004 3:35 PM
To: [EMAIL PROTECTED]
Subject: JSVC problem on Linux with Tomcat 5


Hi all,

I'm trying to get Tomcat 5 running as a daemon on my RH 9 machine.  I've gone through 
the setup and everything seemed to be okay.  So I moved on to modifying the 
tomcat/bin/jsvc-src/native/tomcat.sh file to work with my environment.  Now I use the 
script to start JSVC, and in the catalina.out file it shows the server starting up in 
zero seconds, and JSVC shows up in the process list.  But Tomcat is still not 
available through a browser.  Below is the debug output when starting JSVC:

jsvc debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --
jsvc debug: | Detach:  True
jsvc debug: | Show Version:No
jsvc debug: | Show Help:   No
jsvc debug: | Check Only:  Disabled
jsvc debug: | Run as service:  No
jsvc debug: | Install service: No
jsvc debug: | Remove service:  No
jsvc debug: | JVM Name:null
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | PID File:/var/run/jsvc.pid
jsvc debug: | User Name:   root
jsvc debug: | Extra Options:   4
jsvc debug: |   -Dcatalina.home=/usr/tomcat
jsvc debug: |   -Djava.io.tmpdir=/var/tmp
jsvc debug: |   -verbose
jsvc debug: |   
-Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/commons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc debug: | Class Invoked:   org.apache.catalina.startup.Bootstrap
jsvc debug: | Class Arguments: 0
jsvc debug: +---
jsvc debug: user changed to 'root'
jsvc debug: User 'root' validated
jsvc debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc debug: VM configuration file not found
jsvc debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc debug: +-- DUMPING JAVA HOME STRUCTURE 
jsvc debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc debug: | Java VM Config.: null
jsvc debug: | Found JVMs:  1
jsvc debug: | JVM Name:null
jsvc debug: |  /usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: +---
jsvc debug: Using default JVM in /usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Invoking w/ 
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_04/jre/lib/i386/client:/usr/java/j2sdk1.4.2_04/jre/lib/i386
jsvc.exec debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --
jsvc.exec debug: | Detach:  True
jsvc.exec debug: | Show Version:No
jsvc.exec debug: | Show Help:   No
jsvc.exec debug: | Check Only:  Disabled
jsvc.exec debug: | Run as service:  No
jsvc.exec debug: | Install service: No
jsvc.exec debug: | Remove service:  No
jsvc.exec debug: | JVM Name:null
jsvc.exec debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc.exec debug: | PID File:/var/run/jsvc.pid
jsvc.exec debug: | User Name:   root
jsvc.exec debug: | Extra Options:   4
jsvc.exec debug: |   -Dcatalina.home=/usr/tomcat
jsvc.exec debug: |   -Djava.io.tmpdir=/var/tmp
jsvc.exec debug: |   -verbose
jsvc.exec debug: |   
-Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/commons-daemon.jar:/usr/tomcat/bin/bootstrap.jar
jsvc.exec debug: | Class Invoked:   org.apache.catalina.startup.Bootstrap
jsvc.exec debug: | Class Arguments: 0
jsvc.exec debug: +---
jsvc.exec debug: user changed to 'root'
jsvc.exec debug: User 'root' validated
jsvc.exec debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc.exec debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc.exec debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc.exec debug: VM configuration file not found
jsvc.exec debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc.exec debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc.exec debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc.exec debug: +-- DUMPING JAVA HOME STRUCTURE 
jsvc.exec debug: | Java Home:   /usr/java/j2sdk1.4.2_04
jsvc.exec debug: | Java VM Config.: null
jsvc.exec debug

Jsvc Problem from tomcat5

2004-01-13 Thread Pablo Garaitonandia
Hi Guys,

I have not been able to run jsvc on Solaris8 with the latest patches.
I followed the installation instructions from
http://jakarta.apache.org/commons/daemon/jsvc.html
and from the INSTALL.txt from source that came with tomcat5 binary.  I 
have all
the apropriate gnu tools installed and I am using the j2sdk1.4.2_2. 
This is
what happens.  Any Suggestions?

bash-2.05$ ./jsvc -help
Usage: jsvc [-options] class [args...]
Where options include:

-jvm JVM name
use a specific Java Virtual Machine. Available JVMs:
Segmentation Fault (core dumped)
bash-2.05$
Any suggestions would be appreciated.
-Pablo


Re: Jsvc Problem from tomcat5

2004-01-13 Thread Bill Barker

Pablo Garaitonandia [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi Guys,

 I have not been able to run jsvc on Solaris8 with the latest patches.
 I followed the installation instructions from
 http://jakarta.apache.org/commons/daemon/jsvc.html
 and from the INSTALL.txt from source that came with tomcat5 binary.  I
 have all
 the apropriate gnu tools installed and I am using the j2sdk1.4.2_2.
 This is
 what happens.  Any Suggestions?


Yeah, that's a known bug (which is fixed in the CVS).  You need to have
JAVA_HOME defined in your environment.

 bash-2.05$ ./jsvc -help
 Usage: jsvc [-options] class [args...]

 Where options include:

  -jvm JVM name
  use a specific Java Virtual Machine. Available JVMs:
 Segmentation Fault (core dumped)
 bash-2.05$

 Any suggestions would be appreciated.
 -Pablo






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]