Re: Tomcat 4.1 not starting, how do I track error (database pooling)
Thanks very much all working, the problem was I had removed docbase paramter not hinking it was needed because the code was hosted directly under webapps. BTW username is correct in TC4. My context is privileged just because I copied it from somehwere else without knowing what it meant, no good reason. Shapira, Yoav wrote: Hi, 1. How do I stop the window started my Catalina from disappearing so I can see what the problem is. Use "catalina.bat run" instead of startup.bat (which calls "catalina.bat start"). 2. In Tomcat 4.0 can I have a config file for my application rather than adding it to server.xml No. 3. I am using the mysqllConnectector 3.15 driver does this work with Tomcat 4.0. Yes. 4. Are pooling connections configured the same in 4 as 5 or not below I have listed the contents of my xml file from Tomcat 5. Mostly the same, but some attribute names are different. Why is your context privileged? username kijil Try changing name to "user" instead of "username" -- I believe this was a change made in DBCP. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1 not starting, how do I track error (database pooling)
Hi, >1. How do I stop the window started my Catalina from disappearing so I >can see what the problem is. Use "catalina.bat run" instead of startup.bat (which calls "catalina.bat start"). >2. In Tomcat 4.0 can I have a config file for my application rather than >adding it to server.xml No. >3. I am using the mysqllConnectector 3.15 driver does this work with >Tomcat 4.0. Yes. >4. Are pooling connections configured the same in 4 as 5 or not below I >have listed the contents of my xml file from Tomcat 5. Mostly the same, but some attribute names are different. > Why is your context privileged? > > username > kijil > Try changing name to "user" instead of "username" -- I believe this was a change made in DBCP. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 4.1 not starting, how do I track error (database pooling)
Hi having written an application that ran fine on Tomcat 5 I am having to regress it to run on Tomcat 4.1 running on Windows. part of the deployment involves setting up database pooling. First of all I deployed my application war only and started Tomcat using catalina start this worked ok, but I then needed to configure database pooling to get it fully working. In Tomcat 5.0 I had a config file /contextname.xml /under CATLINA_HOME/conf/catalina/localhost which worked fine, under Tomcat 4.0 I have added the contents to server.xml. I then ran catalina.bat start this starts another window but then disappears immediately before I am able to trap the problem, there is nothing in the log file to indicate the problem. Could anybody please help with any of the following ? 1. How do I stop the window started my Catalina from disappearing so I can see what the problem is. 2. In Tomcat 4.0 can I have a config file for my application rather than adding it to server.xml 3. I am using the mysqllConnectector 3.15 driver does this work with Tomcat 4.0. 4. Are pooling connections configured the same in 4 as 5 or not below I have listed the contents of my xml file from Tomcat 5. factory org.apache.commons.dbcp.BasicDataSourceFactory maxActive 100 maxIdle 30 maxWait 1 username kijil password flyup driverClassName com.mysql.jdbc.Driver url jdbc:mysql://localhost:3306/kijil?autoReconnect=true - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]