tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Bentzen" <bu...@worldonline.dk>
Subject Re: How to run tomcat as service program in Win2k [[HELP]]
Date Fri, 12 Apr 2002 20:30:03 GMT
It might be useful to check the registry to see if you have the expected
options set. Just search for the name of the service.I had some surprises on
that account.
There might be a problem with the "'s. Or at least they look different from
how I used them.....???

----- Original Message -----
From: "Ted Neward" <tneward@javageeks.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, April 12, 2002 11:34 AM
Subject: Re: How to run tomcat as service program in Win2k [[HELP]]


> Did you get past this?
>
> Ted Neward
> {.NET || Java} Course Author & Instructor, DevelopMentor
> (http://www.develop.com)
> http://www.javageeks.com/tneward
> http://www.clrgeeks.com/tneward
>
> ----- Original Message -----
> From: "Dahnke, Eric" <EDahnke@nextsource.com>
> To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, April 11, 2002 9:29 AM
> Subject: RE: How to run tomcat as service program in Win2k [[HELP]]
>
>
> >
> > I've followed this thread and am still having no luck. Here's the
> situation.
> > The TC that comes with jwsdp is TC4.0b7. This release of TC doesn't
> include
> > a tomcat.exe file, so I grabbed one from the TC4.0.1 release. I then run
> > following from the cmd prompt.
> >
> > "%CATALINA_HOME%\bin\tomcat.exe" -install Tomcat
> > "%JAVA_HOME%\jre\bin\classic\jvm.dll" -Djava.class.path=
> > "%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar"
> > -Dcatalina.home="%CATALINA_HOME%" -Xrs -start
> > org.apache.catalina.startup.Bootstrap -params start -stop
> > org.apache.catalina.startup.Bootstrap -params stop -out
> > "%CATALINA_HOME%\logs\stderr.log"
> >
> > Response is:
> >
> > The service was successfully installed.
> >
> > Upon starting the service I get:
> >
> > "Could not start the service on Local Computer. The service did not
return
> > an error. This could be a Windows error or an internal service error."
> >
> > the stderr.log file is created but is empty.
> >
> >
> > Anyone have any ideas? How can I further troubleshoot. Regards Eric
> >
> >
> >
> > -----Original Message-----
> > From: Jordan C N Chong [mailto:chong@cs.utwente.nl]
> > Sent: Thursday, April 11, 2002 2:06 AM
> > To: Tomcat Users List
> > Subject: Access local directory with Tomcat 4.0
> >
> >
> > Dear all,
> >
> > Sorry to post this question again, cause I didn't receive any reply...
so
> I
> > think I should rephrase my question.
> >
> > I am using standalone Apache Tomcat 4.0, on my Windows 2000 machine.
> >
> > I am making a servlet for file downloading using the Tomcat 4.0, but I
am
> > not sure how to setup or configure the local directory, cause when I do
> > this:
> >
> > FileInputStream filein = new FileInputStream("C:\\temp\\text.txt");
> >
> > I got IOException for that, because Tomcat 4.0 complains the directory
is
> > not accessible... Please help me. Thank you very much.
> >
> >
> > Best regards,
> > Jo
> >
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message