Re: Cannot view the console
Hi ! $CATALINA_BASE\bin\catalina.bat run Your must setup %JAVA_HOME%. Regards, Valera. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Connection pooling using multiple databases ...
No. This configuration allows you lookup your DataSource as resource. (see tyrex). -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP needed!! About pooling support in tomcat
Hi ! JDBC driver that supports 2.0 extended API is not connections pool. You must create your own connection pool using this API(see docs). For obtain DataSource connection Tomcat use tyrex, but tyrex not support connection pooling. I obtain ConnectionPoolDataSource in Tomcat(driver - Jconnect5.2), but each time reconnect. If you have any ideas, please How obtain PooledDataSource using Tomcat 4.0.3 throws JDBC 2.0 I don't understand this !!! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.0 DB connection pooling (using JNDI) and Oracle DB
I completely agree with Nikola ! After numerous attempts I too could not receive pooled connection through tyrex. It not supports JDBC 2.0 API for connection pooling !!! :( -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP needed!! About pooling support in tomcat
You can write resource factories that implements PolledConnectionDataSource interface :) I think tyrex not supplied PolledConnectionDataSource, it have only DataSource and XA-transaction implementations. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Debugging the servlet
Hi! You can use IDE that allow local and remote debug( for example Intel JIDEA or JBuilder). - Original Message - From: Juliet [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 04, 2002 3:39 AM Subject: Debugging the servlet Hello everyone, I'm new to developing a servlet and I wanted to debug it. Is anyone has an idea on how to do it? Thanks, Juliet -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: URL Length
Hi ! See your brouser preferences - Cookies ( must be enabled, otherwise session ID append for URL). - Original Message - From: Gurmeet [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 18, 2002 7:01 AM Subject: URL Length Dear ALL, When I submit a page , tomcat is appending the sessionID to the URL, which causing me a lot of problem. Please help me, how can I avoid this. Thanks Gurmeet -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem with run Tomcat 4.0.3 as a service on windows 2000
Hi ! Tomcat 4.x different Tomact 3ÀÞ See windows system reestr HKLM/CurrentControlSet/Services/Apache Tomcat. - Original Message - From: Lev Zak [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 9:48 AM Subject: Problem with run Tomcat 4.0.3 as a service on windows 2000 Hello, My %JAVA_HOME% is D:\jdk1.3.1_01. I unzip jakarta-tomcat-4.0.3.zip into d:\tomcat of my Windows2000 machine. I unzip jk_nt_service.zip into D:\tomcat\jakarta-tomcat-4.0.3\bin. I copied wrapper.properties from tomcat 3.3a to D:\tomcat\jakarta-tomcat-4.0.3\conf\jk. I update the wrapper.properties with the following strings: wrapper.tomcat_home=D:\tomcat\jakarta-tomcat-4.0.3 wrapper.java_home=D:\jdk1.3.1_01 wrapper.tomcat_policy=$(wrapper.tomcat_home)\conf\catalina.policy I successfully run the following command: D:\tomcat\jakarta-tomcat-4.0.3\bin\jk_nt_service.exe -I jakarta -A D:\tomcat\jakarta-tomcat-4.0.3\conf\jk\wrapper.properties But when I run after this the following command: D:\tomcat\jakarta-tomcat-4.0.3\bin\jk_nt_service.exe -S jakarta I receive the following message: Asked (and given) winsock 1.1 Starting jakarta. jakarta failed to start. If I try to start the jakarta service from Control Panel, I receive the following message: Could not start the jakarta service on Local Computer. Error 1067: The process terminated unexpectedly. But I can successfully start catalina through D:\tomcat\jakarta-tomcat-4.0.3\bin\startup.bat , it means the problem is not a default port. What I did wrong? Sorry about a long letter. Regards. Lev. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify us immediately and delete this communication. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp.so problem
Hi ! recompile mod_webapp.so widthout EAPI, see error message :) - Original Message - From: Xue-Feng Yang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, March 16, 2002 2:54 PM Subject: mod_webapp.so problem OS: RedHat 7.1 Apache: RedHat default installation, apache-1.3.20-16 Tomcat: 4.01 [warn] Loaded DSO modules/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Any suggestion? __ Find, Connect, Date! http://personals.yahoo.ca -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
mod_webapp not transfer symbols of second half of code table
The module mod_webapp by transfer GET request does not transfer parameters that containing symbols of second half of code table Why ??? May be comunication protocol have 7 bit range?
Two instance servlet during startup
Hi ! I am load servlet on startup. servlet servlet-nameMailingListServlet/servlet-name servlet-classservlets.MailingListServlet/servlet-class init-param param-nameperiod/param-name param-value20/param-value /init-param load-on-startup/load-on-startup /servlet But tomcat load two instance this servlet !!! In what there can be a problem ? I am using Windows 2000 + Java 1.3 + Tomcat 4.0.1. P.S. Tomcat start two instance of any servlets with startup.
Re: jsp xml syntax using?
Hi! Try this example: jsp:root xmlns:jsp=http://java.sun.com/jsp_1_2; jsp:directive.page contentType=text/html/ jsp:directive.page pageEncoding=windows-1251/ jsp:directive.page import=java.util.Date/ jsp:text html titleCurrent date/title body divCurrent date is :/div divjsp:expression(new Date()).toLocaleString()/jsp:expression/div /body /html /jsp:text /jsp:root I am read JSP Spetcification 1.2 and write this code. Its work fine on Tomcat 4.01 under Windows 2000. But I not understand what for it ? - Original Message - From: Daniel Faust [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 31, 2001 10:43 AM Subject: jsp xml syntax using? Hello, I would like use the xml syntax for all direktives, scriptlets and expressions in my jsp-pages, e.g.: not: %@ page import=abc.jsp% but: jsp:directive.page import=abc.jsp/ But the tomcat not interprets this statements. What must i do, for enabling this feature? I tryed it that, with Tomcat version 3.2 and 4.0 (standalon version). Thanks for our help Daniel Faust ___ Fraunhofer Institut for Software und Systemengineering Branch Berlin | fon: ++49 30 24306-474 Daniel Faust| fax: ++49 30 24306-199 Mollstr. 1 | e-mail : [EMAIL PROTECTED] D-10178 Berlin | WWW: http://www.isst.fhg.de/~dfaust/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Urgent : Problems with JDBC Date formats...
Hi ! Standart JDBC Date (java.sql.Date) format : yyy-mm-dd. - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: Shah, Chintan V (Chintan) [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 23, 2001 9:43 AM Subject: RE: Urgent : Problems with JDBC Date formats... In that case perhaps you could try using the SQL TO_DATE function. I'm not sure what the proper syntax for this is, but in Oracle you could use something like: Select * From table WHERE (dateField = TO_DATE('2001/01/01', '/mm/dd')) failing that, see if you can change the default date format in the database. hth dim On Tue, 23 Oct 2001, Shah, Chintan V (Chintan) wrote: Thanks for the guidance, but the problem is...my whole application is ready...i'm not using PreparedStatement anywhere... (to be honest, i've never used also...). And my SQL Statements are built dynamically in my Java Beans depending on the input coming from the users. So, I would prefer a solution, which doesn't force me to make drastic changes in my code... thanks and regards, Chintan -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 11:11 AM To: '[EMAIL PROTECTED]' Subject: Re: Urgent : Problems with JDBC Date formats... I cant guarentee that this will work with Access and SQL server, but the proper way to do what you're trying to do is use a PreparedStatement with setDate(2, new Date(2001, 1, 1)). hth dim On Tue, 23 Oct 2001, Shah, Chintan V (Chintan) wrote: Hi all, This is a very off-topic post (as perhaps it has nothing to do with tomcat), but I hope people would like to guide me on this.. I'm using Tomcat 3.2, Apache 1.3.19, Jdk 1.3, Jdbc-Odbc Driver on Win NT 4.0. I want my application to work with both the databases..i.e. with Ms-Access 2000 and SQL Server 7.0. I completed my whole application with Ms-Access, everything working fine..then I tried with SQL Server 7.0...by exporting databases from Ms-Access to SQL Server. For most of the parts of my code...which is interacting with DBs thru JDBC worked fine...except for some syntactical changes... but the major problem is with field types of *DATE*. In Ms-Access, the field type is Date/Time - short date and in SQL server it is smalldatetime. E.g. SQL Stmt : Select * From table WHERE (dateField = #2001/01/01#) gives desired results in MS-Access, but when the DB is SQL Server, it gives error. And the same way, SQL Stmt : Select * From table WHERE (dateField = '2001/01/01') gives desired results in SQL Server, but when the DB is Ms-Access, it gives syntax error, saying that data types mismatch in criteria expression. So, how should I deal with these types of things in my code, to make it compatible with Ms-Access and SQL Server as well. Your guidance will be a great help for me. thanks and regards, Chintan.