I use a local admin or even a domain admin. Both have print priveleges. And they both certainly can run batch-files to start eg. the calculator.
Christopher Schultz-2 wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > monesseldeur, > > On 2/11/2009 4:58 PM, monesseldeur wrote: >> I made a small Java web-application which prints pdf-files - on-demand - >> on >> the server. >> >> Everything went well on my dev environment, but not when I deployed the >> application on the Tomcat server in production. >> >> The Tomcat server is started as a service on a Windows 2003 Server. I was >> unable to print on the server. The application starts an external program >> that prints towards network printers. The strange thing is that the >> process >> of the external program is started (I can see the process in the Windows >> process manager) but nothing happens further more. I've searched on the >> net >> and found a whole lot of issues on this, which all referenced to the user >> used to start the Tomcat service. So I changed the user the services uses >> to >> a local admin, a domain admin, a user, .... Nothing seems to help. > > You need to use a user that has print access. > >> When I start the server with the startup.bat, I have no problem at all. >> But >> unfortunately, that's no option. > > It works because Tomcat is running as /you/, who presumably have print > access. > >> I've been trying, experimenting, searching, banging my head, ... for 2 >> days >> now. Can someone on this forum help me? > > What are your choices for local user? Do any of them have print > privileges? > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkmTTIIACgkQ9CaO5/Lv0PBcKQCbBfU2DKJ3GBHcTi6JbKXNl31e > 790AoK9Q2AvQ2LUwZg5QWw0+iNkixPt/ > =CIvF > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Problems-with-Tomcat-as-service-on-Windows-Server-2003-tp21965181p21965465.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org