RE: issue with Tomcat as service on Windows 2008 server
> From: Kamatnurkar (EXT), Praveen > [mailto:praveen.kamatnurkar@siemens.com] > Subject: RE: issue with Tomcat as service on Windows 2008 server > > I already make sure that all the Tomcat processes (tomcat6.exe and > tomcat6w.exe) are running under same account as I run the tomcat from > command line. If you used tomcat6w.exe to set the account for the service, that doesn't work (I don't know why). You have to set the service's account from the Services admin tool. > Any other solution or thought on this issue? André already told you: > > I think you should really ask the "jacozoom" people for help on this > > one, because I doubt anyone here has any idea what it is trying to do. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: issue with Tomcat as service on Windows 2008 server
Just a shot from the hip: When you run TC from the comand-line, I figure you're using startup.bat, right? So, maybe there are some env-variables set in this script (or catalina.bat, classpath.bat), which are not set when running tomcat.exe as a service? Forget my comments in case you're running tomcat6.exe from the comand-line Cheers Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: issue with Tomcat as service on Windows 2008 server
I already make sure that all the Tomcat processes (tomcat6.exe and tomcat6w.exe) are running under same account as I run the tomcat from command line. The same login is used to test this case. Any other solution or thought on this issue? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, May 06, 2010 4:17 PM To: Tomcat Users List Subject: Re: issue with Tomcat as service on Windows 2008 server Kamatnurkar (EXT), Praveen wrote: > Hi > I created an web application which has an integration with MS Excel. I used > jacozoom for this integration. I deploy this application on Tomcat 6.0.26. > When I run Tomcat as service my application is throwing following error. > Exception Text: com.inzoom.comjni.ComJniException: code=0x800a03ec Type= > com.inzoom.comjni.ComJniException.eComError > at com.inzoom.comjni.jcw.IUnknownJCW.jniVtblCall(Native > Method) > at > com.inzoom.comjni.jcw.IUnknownJCW.vtblCall(IUnknownJCW.java:75) > at > com.ms2k3.Excel.jcw.WorkbooksJCW.open(WorkbooksJCW.java:1133) > at > com.edsplm.tc.req.web.ExcelUtil.ExcelConverter.convertToMhtml(ExcelConverter.java:91) > But when I start the Tomcat from command line it works fine without any > error. What can be the cause of this problem? The error is thrown only in > case of Windows 2008 Server. If I install the Tomcat on Windows XP it works > fine( as a service). My application has a dependency on some jacozoom dlls > which are package inside the war file. I tried keeping them outside of tomcat > and giving the full path of this folder to my application then also this > fails. The Tomcat gets started properly. It fails when accessing the URL. > I am really stuck here. > I think you should really ask the "jacozoom" people for help on this one, because I doubt anyone here has any idea what it is trying to do. But based on your description, I will hazard a guess : - when you run Tomcat from a command window, it runs under your Windows user account, with the access permissions of your user account. - when you run Tomcat as a service, it runs under whatever user-id the service is set up to run as (by default probably LocalSystem). That Windows account does not have the same environment and permissions, as your user account. There is probably the difference. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: issue with Tomcat as service on Windows 2008 server
Kamatnurkar (EXT), Praveen wrote: Hi I created an web application which has an integration with MS Excel. I used jacozoom for this integration. I deploy this application on Tomcat 6.0.26. When I run Tomcat as service my application is throwing following error. Exception Text: com.inzoom.comjni.ComJniException: code=0x800a03ec Type= com.inzoom.comjni.ComJniException.eComError at com.inzoom.comjni.jcw.IUnknownJCW.jniVtblCall(Native Method) at com.inzoom.comjni.jcw.IUnknownJCW.vtblCall(IUnknownJCW.java:75) at com.ms2k3.Excel.jcw.WorkbooksJCW.open(WorkbooksJCW.java:1133) at com.edsplm.tc.req.web.ExcelUtil.ExcelConverter.convertToMhtml(ExcelConverter.java:91) But when I start the Tomcat from command line it works fine without any error. What can be the cause of this problem? The error is thrown only in case of Windows 2008 Server. If I install the Tomcat on Windows XP it works fine( as a service). My application has a dependency on some jacozoom dlls which are package inside the war file. I tried keeping them outside of tomcat and giving the full path of this folder to my application then also this fails. The Tomcat gets started properly. It fails when accessing the URL. I am really stuck here. I think you should really ask the "jacozoom" people for help on this one, because I doubt anyone here has any idea what it is trying to do. But based on your description, I will hazard a guess : - when you run Tomcat from a command window, it runs under your Windows user account, with the access permissions of your user account. - when you run Tomcat as a service, it runs under whatever user-id the service is set up to run as (by default probably LocalSystem). That Windows account does not have the same environment and permissions, as your user account. There is probably the difference. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org