You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Lindley <jl...@yahoo.com> on 2005/06/20 07:25:39 UTC

Differences between service startup and batch startup

I have noticed a difference between starting Tomcat 5.0.28 using the service and the batch file. 
When I run startup.bat, everything seems to be running fine.  I have an ODBC node defined,
connecting to an Access database, and I have no trouble retrieving the data through Tomcat. 
However, when I start Tomcat using the Windows service, Tomcat comes up without any errors, but I
cannot retrieve the data from the database.  I get the following error:


2005-06-18 23:13:06 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
com.borland.dx.dataset.DataSetException: General error


I am wondering if it has to do with the user accounts.  I know that in the Tomcat service
configuration, you can specify the account to log on as.  I have tried entering in my account
info, but it doesn't seem to make a difference.  Plus, the ODBC node is defined as a system node,
which should be available to all users.

Anyway, if anyone can offer any ideas, I would greatly appreciate it.  Thanks.

John


		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Differences between service startup and batch startup

Posted by John Lindley <jl...@yahoo.com>.
I tried checking the box to allow interaction with the desktop, but it didn't seem to make a
difference.  It's just so strange that it works completely fine when started from the batch file,
but not the service?

John

--- Jason Bainbridge <jb...@gmail.com> wrote:

> On 6/20/05, John Lindley <jl...@yahoo.com> wrote:
> > I have noticed a difference between starting Tomcat 5.0.28 using the service and the batch
> file.
> > When I run startup.bat, everything seems to be running fine.  I have an ODBC node defined,
> > connecting to an Access database, and I have no trouble retrieving the data through Tomcat.
> > However, when I start Tomcat using the Windows service, Tomcat comes up without any errors,
> but I
> > cannot retrieve the data from the database.  I get the following error:
> > 
> > 
> > 2005-06-18 23:13:06 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw
> exception
> > com.borland.dx.dataset.DataSetException: General error
> 
> May be you need to check the "Allow interact with desktop" (or
> whatever it is) option on the Logon details for the Windows Service?
> 
> Regards,
> -- 
> Jason Bainbridge
> http://kde.org - webmaster@kde.org
> Personal Site - http://jasonbainbridge.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Differences between service startup and batch startup

Posted by John Lindley <jl...@yahoo.com>.
I was finally able to get this working.  I'm not sure if it's a bug, but when I enter in the user
information on the Log On tab of the Tomcat service interface, it doesn't seem to actually apply
the information to the Windows service.  I finally tried entering the same info into the Windows
service interface and then it worked fine.

John

--- Jason Bainbridge <jb...@gmail.com> wrote:

> On 6/20/05, John Lindley <jl...@yahoo.com> wrote:
> > I have noticed a difference between starting Tomcat 5.0.28 using the service and the batch
> file.
> > When I run startup.bat, everything seems to be running fine.  I have an ODBC node defined,
> > connecting to an Access database, and I have no trouble retrieving the data through Tomcat.
> > However, when I start Tomcat using the Windows service, Tomcat comes up without any errors,
> but I
> > cannot retrieve the data from the database.  I get the following error:
> > 
> > 
> > 2005-06-18 23:13:06 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw
> exception
> > com.borland.dx.dataset.DataSetException: General error
> 
> May be you need to check the "Allow interact with desktop" (or
> whatever it is) option on the Logon details for the Windows Service?
> 
> Regards,
> -- 
> Jason Bainbridge
> http://kde.org - webmaster@kde.org
> Personal Site - http://jasonbainbridge.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Differences between service startup and batch startup

Posted by Jason Bainbridge <jb...@gmail.com>.
On 6/20/05, John Lindley <jl...@yahoo.com> wrote:
> I have noticed a difference between starting Tomcat 5.0.28 using the service and the batch file.
> When I run startup.bat, everything seems to be running fine.  I have an ODBC node defined,
> connecting to an Access database, and I have no trouble retrieving the data through Tomcat.
> However, when I start Tomcat using the Windows service, Tomcat comes up without any errors, but I
> cannot retrieve the data from the database.  I get the following error:
> 
> 
> 2005-06-18 23:13:06 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
> com.borland.dx.dataset.DataSetException: General error

May be you need to check the "Allow interact with desktop" (or
whatever it is) option on the Logon details for the Windows Service?

Regards,
-- 
Jason Bainbridge
http://kde.org - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org