Re: SQL Server 2000: JDBC
We are closing all connections but we see that still lots of process are open in SQL server. Dont know what exactly is the cause, open connections or a weak driver. On 9/30/05, Karasek-XID, Nicolas [EMAIL PROTECTED] wrote: -Original Message- From: sree kanth [mailto:[EMAIL PROTECTED] Sent: vendredi 30 septembre 2005 05:27 To: Tomcat Users List; Lalit Batra Subject: Re: SQL Server 2000: JDBC Hello lalit, we too had the problem of connection reset by peer and then we changed the Driver.Now we are using SourceForge driver jtds.jar.May be this may solve ur problem. If anyone can find a better alternative please inform us. Regards, Sreekanth I did the same, changed to jtds. I don't know if jtds is the best solution, but the main tips if you use SQL Server is *not* to use the Microsoft driver. Hibernate developers also recommend not to use it... -- Nicolas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SQL Server 2000: JDBC
Hi! I am investigating the error messages below. These messages come once in a while and sometime together as a bunch. We are using connection pooling inside a servlet and also using some classes (in Jsp) without connection Pooling. Error making pool: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket. Error connecting: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write All help will be appreciated! Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PHP / JSP on Tomcat.
Hi! Is it a good Idea to have PHP enabled on tomcat ? As Tomcat is for Java/JSP. Sorry if the question is very basic. I am not too sure if running PHP is a good option on Tomcat. thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: starting Tomcat service
My two cents: Write a Script in Windows, make it service (Plenty of code on Web), which starts on when Windows start. On 9/23/05, Tuan Quan [EMAIL PROTECTED] wrote: Thanks Kerem, But I want the script to run at boot time, in Windows. Rather than having to login and run the script manually. KEREM ERKAN [EMAIL PROTECTED] wrote: You may write a shell script which includes a java program to test oracle connectivity and if it can connect, it can be used to start Tomcat. If it fails, it may say Oracle down, I am not starting Tomcat. Cheers, Kerem -Original Message- From: Tuan Quan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 10:48 PM To: tomcat-user@jakarta.apache.org Subject: starting Tomcat service In windows, one of my webapp needs to connect to a database in order to work correctly. How can I check for oracle database ready before starting Tomcat service? Set 'DependOnService' parameter in registry to point to Oracle db service, may work, but what if the database is on a different PC? thanks - Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. - Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
https://issues/-12227
https://problems/ WE are running Tomcat 5.5.9 on Windows Server 2003, Jre 1.5 and are getting the -12227 unexpected error when using Netscape 8.0 and Firefox 1.0 . Things are OK with Netscape 7.0, and Internet Explorer. Out Client Auth is set to false in server.xml. Can anybody suggest a work around or a script. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
https:// Netscape and Firefox 1.0
Hi! Has anybody experienced problems of using https://blah.blah.com:8443/ esp. with Netscape 8.0 and FireFox 1.0. I get the following error: blah.blah.com has received an incorrect or unexpected message. Error Code: -12227 Things are fine when I use IE or Netscape version 7.0 thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: https:// Netscape and Firefox 1.0
I am using the tomcat 5.5.9 , Sun JRE 1.5 and certificate from verisign. FireFox 1.0 On 9/16/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Lalit Batra [mailto:[EMAIL PROTECTED] Subject: https:// Netscape and Firefox 1.0 Has anybody experienced problems of using https://blah.blah.com:8443/ esp. with Netscape 8.0 and FireFox 1.0. I'm using SSL on Firefox 1.0.6 with Tomcat 5.5.9 on Sun's JRE 1.4.2 and 5.0 without any problems. - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: https:// Netscape and Firefox 1.0
Upgraded firefox 1.0.6 and still same problem. On 9/16/05, Lalit Batra [EMAIL PROTECTED] wrote: I am using the tomcat 5.5.9 , Sun JRE 1.5 and certificate from verisign. FireFox 1.0 On 9/16/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Lalit Batra [mailto:[EMAIL PROTECTED] Subject: https:// Netscape and Firefox 1.0 Has anybody experienced problems of using https://blah.blah.com:8443/ esp. with Netscape 8.0 and FireFox 1.0. I'm using SSL on Firefox 1.0.6 with Tomcat 5.5.9 on Sun's JRE 1.4.2 and 5.0 without any problems. - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSL 8443
Hi! My current implementation for SSL on tomcat 5.5.9 is https://mytomcat.com:8443/blah.html Is there any way I can have to do without enetering 8443 port number. https://mytomcat.com/blah.html Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Windows and Tomcat
I have received partial success. Windows has a bad habit to do things by default or to do things whcihc make no sense. The problem was due to inherritance/ permissions for Windows folder. Unsetting the read-only thing does not work, becasuse windows changes it to read-only by default. The only way one can work around is to change the folder options for XP, in view you have an option to change the security configuration. This will provide you with more granular (user based permissions for folders/files) access. Now you can change options you like. In unix chown and chmod would have solved the problems. Thanks for help!! Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: Tomcat will also need write access rights. When it starts, it changes some of the XML configuration files and tries to create logs as well. You could give your user full control to the tree under your CATALINA_HOME. Since you say that when you set the User to have power user rights it Tomcat seems to run, I would guess that this would fix your problem. Logs of the error might help more but if Tomcat cannot write to the directories, logs will not be able to be created. Not knowing more detail, this would be my guess. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:56 AM To: Tomcat Users List Subject: Re: Windows and Tomcat Robert, Thanks for replying! 1) When I installed it I was in Admin user, and installed it with Service option. In windows services, Apache Tomcat we have an option of starting with USER. The service starts and shows me the owner as the User and even in the Process information from (task Managger) I see User as the process (tomcat) owner. So yes it starts with the USER I started the service with. 2) User priveledges: The user has read+Execute permissions for the webapps folder (changed it also for Aplication folder Tomcat under programs) and restarted many times.Still http://localhost does not come up. (I am using 80, modified server to run on port 80). 3) If I put the USER to Power User Group of XP everything works. please help thanks, Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account with the rights you want and set the service to start with that account and the password to use. You can also set how Tomcat is to start as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:32 AM To: tomcat-user@jakarta.apache.org Subject: Windows and Tomcat Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Windows and Tomcat
Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit
Re: Windows and Tomcat
Robert, Thanks for replying! 1) When I installed it I was in Admin user, and installed it with Service option. In windows services, Apache Tomcat we have an option of starting with USER. The service starts and shows me the owner as the User and even in the Process information from (task Managger) I see User as the process (tomcat) owner. So yes it starts with the USER I started the service with. 2) User priveledges: The user has read+Execute permissions for the webapps folder (changed it also for Aplication folder Tomcat under programs) and restarted many times.Still http://localhost does not come up. (I am using 80, modified server to run on port 80). 3) If I put the USER to Power User Group of XP everything works. please help thanks, Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account with the rights you want and set the service to start with that account and the password to use. You can also set how Tomcat is to start as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:32 AM To: tomcat-user@jakarta.apache.org Subject: Windows and Tomcat Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Windows Box: User Account
Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit