Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
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
JSP - A mailing list about Java Server Pages specification and reference
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
 
Cannot define Djava.library.path while using tomcat as a Windows
   2000 service

Cannot define Djava.library.path while using tomcat as a Windows
   2000 service

2004-01-15       - By Bruchem, A. van (Alexander)

 Back
Hi,



I defined my library path in the Catalina.bat under Windows 2000 and if I
start the startup.bat Tomcat 5.0.16 works fine with the connected libraries.



Now I made a Windows 2000 service of Tomcat, but can't it find my libraries
anymore.

I used the install script which has been posted earlier by Bill Barker
(included).

The script is working fine for starting Tomcat, but without the library. I
changed one of the last lines into:



"%EXECUTABLE%" //US//%SERVICE_NAME% --JavaOptions
-Dcatalina.home="\"%CATALINA_HOME%\""
-Djava.library.path="\"%CATALINA_BASE%\webapps\brs\""
-Djava.endorsed.dirs="\"%CATALINA_HOME%\common\endorsed\"" -Xrs
--StdOutputFile "%CATALINA_HOME%\logs\stdout.log" --StdErrorFile
"%CATALINA_HOME%\logs\stderr.log" --WorkingPath "%CATALINA_HOME%\bin"



(in the mail it maybe be more lines, but it is actually 1)

The result is that I can't start the service anymore.



Any ideas on what can be the problem?



Thanks in advance,

Alexander

__ ____ ____ ____ ____ ____ ___

Alexander van Bruchem

Windows System Engineer

ISD - N.V. Organon

P.O. Box 20

5340 BH Oss

The Netherlands

Ext.: +31 (0) 412 665076

mailto:alexander.vanbruchem@(protected)



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
This message, including attached files, may contain confidential
information and is intended only for the use by the individual
and/or the entity to which it is addressed. Any unauthorized use,
dissemination of, or copying of the information contained herein is
not allowed and may lead to irreparable harm and damage for which
you may be held liable. If you receive this message in error or if
it is intended for someone else please notify the sender by
returning this e-mail immediately and delete the message.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
 

<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
  {margin:0in;
  margin-bottom:.0001pt;
  font-size:11.0pt;
  font-family:Arial;}
a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
  {color:purple;
  text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
  {margin:0in;
  margin-bottom:.0001pt;
  font-size:12.0pt;
  font-family:"Times New Roman";}
span.EmailStyle17
  {font-family:Arial;
  color:windowtext;}
@(protected) Section1
  {size:8.5in 11.0in;
  margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
  {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Hi,<
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&nbsp
;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>I
defined my library path in the Catalina.bat under Windows 2000 and if I start
the startup.bat Tomcat 5.0.16 works fine with the connected libraries.</span><
/font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&nbsp
;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Now I
made a Windows 2000 service of Tomcat, but can't it find my libraries
anymore.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>I
used the install script which has been posted earlier by Bill Barker (included)
.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>The
script is working fine for starting Tomcat, but without the library. I changed
one of the last lines into:</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&nbsp
;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&quot
;%EXECUTABLE%&quot;
//US//%SERVICE_NAME% --JavaOptions -Dcatalina.home=&quot;\&quot;%CATALINA_HOME%
\&quot;&quot;
-Djava.library.path=&quot;\&quot;%CATALINA_BASE%\webapps\brs\&quot;&quot;
-Djava.endorsed.dirs=&quot;\&quot;%CATALINA_HOME%\common\endorsed\&quot;&quot;
-Xrs --StdOutputFile &quot;%CATALINA_HOME%\logs\stdout.log&quot; --StdErrorFile
&quot;%CATALINA_HOME%\logs\stderr.log&quot; --WorkingPath
&quot;%CATALINA_HOME%\bin&quot;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&nbsp
;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>(in
the mail it maybe be more lines, but it is actually 1)</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>The
result is that I can't start the service anymore.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&nbsp
;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Any
ideas on what can be the problem?</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&nbsp
;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Thanks
in advance,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'
>Alexander</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>__ ____ ____ ____ ____ ____ ___</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Alexander van Bruchem</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Windows System Engineer</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>ISD - N.V. Organon</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
 font-family:Arial'>P.O. Box</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> 20</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>5340 BH </span></font><font size=2 face=Arial><span
 style='font-size:10.0pt;font-family:Arial'>Oss</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The </span></font><font size=2 face=Arial><span
 style='font-size:10.0pt;font-family:Arial'>Netherlands</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Ext.: +31 (0) 412 665076</span></font></p>

<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>mailto:alexander.vanbruchem@(protected)</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:11.0pt'>&nbsp
;</span></font></p>

</div>

</body>

</html>

<P><FONT SIZE=2 FACE="Arial">-- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
-- ---- ---- -----</FONT></P>

<P><FONT SIZE=2 FACE="Arial">This message, including attached files, may
contain confidential</FONT></P>

<P><FONT SIZE=2 FACE="Arial">information and is intended only for the use by
the individual</FONT></P>

<P><FONT SIZE=2 FACE="Arial">and/or the entity to which it is addressed. Any
unauthorized use,</FONT></P>

<P><FONT SIZE=2 FACE="Arial">dissemination of, or copying of the information
contained herein is</FONT></P>

<P><FONT SIZE=2 FACE="Arial">not allowed and may lead to irreparable harm and
damage for which</FONT></P>

<P><FONT SIZE=2 FACE="Arial">you may be held liable. If you receive this
message in error or if</FONT></P>

<P><FONT SIZE=2 FACE="Arial">it is intended for someone else please notify the
sender by</FONT></P>

<P><FONT SIZE=2 FACE="Arial">returning this e-mail immediately and delete the
message.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">-- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
-- ---- ---- -----</FONT></P>

<P><FONT SIZE=2 FACE="Arial"> </FONT> </P>

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

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