Are we required to move to Tomcat 5.5 in order to move to JDK 1.5
Hi all, We are currently using Tomcat-5.0.28 and JDK 1.4.2_03. We need to move onto JDK 1.5. We would build our war file using JDK 1.5. Can we continue to use Tomcat-5.0.28 with JDK 1.5? Do you see any problem? Are there any known issues? Since Tomcat 5.5 is designed to run on J2SE 5.0 [JDK 1.5] and later, are we required to move to Tomcat 5.5 in order to move to JDK 1.5? - Sachin
HTTP 505: version not supported
Return Receipt Your HTTP 505: version not supported document : was Sachin S Zope/Complementary/PharmRD/GSK received by: at: 11/02/2004 07:39:54 AM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Premature EOF error.
Hi All, I am using following environment. Web Server: Apache Tomcat on Sun Solaris Database: Oracle 8.1.7 on Sun Solaris I have batch process running on the web server. The process reads the xml from url and then parse the xml and insert data in the database. I am getting following error. ERROR importRandAllData : The following error occurred: java.io.IOException: Premature EOF at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:540) at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:584) at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:671) at java.io.FilterInputStream.read(FilterInputStream.java:111) at oracle.xml.parser.v2.XMLByteReader.fillByteBuffer(XMLByteReader.java:354) at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:142) at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:448) at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2026) at oracle.xml.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:1805) at oracle.xml.parser.v2.NonValidatingParser.parseAttributes(NonValidatingParser.java:1235) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1088) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:293) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:260) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201) at com.gsk.ramos.ctsweb.RandAllImport.getAllStudiesFromURL(RandAllImport.java:1305) at com.gsk.ramos.ctsweb.DBAccess.importRandAllData(DBAccess.java:14020) at com.gsk.ramos.ctsweb.Gateway.service(Gateway.java:3316) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:356) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585) at java.lang.Thread.run(Thread.java:536) Any inputs will be highly appreciated. Sachin Zope Preclinical IT Sr. Java Developer 610-270-5863 (Work) 610-269-2243 (Home) 412-656
REPOST: Can't find child 2386 in scoreboard
This is a repost. Please help. Hi I have checked the archives and google to solve the problem but to no avail. Please help. The error I get in my apache error_log when navigating to http://localhost/examples is: [Sat Dec 06 00:11:21 2003] [info] Server: Apache/2.0.46, Interface: mod_ssl/2.0.46, Library: OpenSSL/0.9.6b [Sat Dec 06 00:11:21 2003] [error] jk2_init() Can't find child 2386 in scoreboard [Sat Dec 06 00:11:21 2003] [error] mod_jk child init 1 -2 [Sat Dec 06 00:11:21 2003] [error] jk2_init() Can't find child 2389 in scoreboard [Sat Dec 06 00:11:21 2003] [error] mod_jk child init 1 -2 [Sat Dec 06 00:11:21 2003] [notice] Apache/2.0.46 (Unix) mod_ssl/2.0.46 OpenSSL/0.9.6b mod_jk2/2.0.3-dev configured -- resuming normal operations [Sat Dec 06 00:11:21 2003] [info] Server built: Nov 30 2003 02:31:06 [Sat Dec 06 00:11:21 2003] [debug] in the catalina.out log output seems fine: [Sat Dec 06 00:10:08 2003] ( info ) [jk_uriEnv.c (245)] uriEnv.setAttribute() t he worker directive is deprecated. Use 'group' instead. [Sat Dec 06 00:10:08 2003] ( info ) [jk_uriEnv.c (245)] uriEnv.setAttribute() t he worker directive is deprecated. Use 'group' instead. [Sat Dec 06 00:10:08 2003] ( info ) [jk_logger_file.c (184)] Initializing log f ile stderr [Sat Dec 06 00:10:08 2003] ( info ) [jk_workerEnv.c (403)] workerEnv.init() ok /usr/local/apache2/conf/workers2.properties Dec 6, 2003 12:10:08 AM org.apache.jk.apr.AprImpl init INFO: JK2: Initialized apr Dec 6, 2003 12:10:08 AM org.apache.jk.common.ChannelUn init INFO: JK: listening on unix socket: /opt/apache/jakarta-tomcat-4.1.29/work/jk2.s ocket Dec 6, 2003 12:10:08 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 I am trying to use unix sockets. WHAT could be wrong? I have made sure that shm.file exists and that the same shm.file is being used by tomcat and apache. I am using apache 2.0.46, jk2 2.0.3 and tomcat 4.1.29. Please help. sachin dole = Cheers! Sachin Dole __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
can't find child in scoreboard error
Hi I have checked the archives and google to solve the problem but to no avail. Please help. The error I get in my apache error_log when navigating to http://localhost/examples is: [Sat Dec 06 00:11:21 2003] [info] Server: Apache/2.0.46, Interface: mod_ssl/2.0.46, Library: OpenSSL/0.9.6b [Sat Dec 06 00:11:21 2003] [error] jk2_init() Can't find child 2386 in scoreboard [Sat Dec 06 00:11:21 2003] [error] mod_jk child init 1 -2 [Sat Dec 06 00:11:21 2003] [error] jk2_init() Can't find child 2389 in scoreboard [Sat Dec 06 00:11:21 2003] [error] mod_jk child init 1 -2 [Sat Dec 06 00:11:21 2003] [notice] Apache/2.0.46 (Unix) mod_ssl/2.0.46 OpenSSL/0.9.6b mod_jk2/2.0.3-dev configured -- resuming normal operations [Sat Dec 06 00:11:21 2003] [info] Server built: Nov 30 2003 02:31:06 [Sat Dec 06 00:11:21 2003] [debug] in the catalina.out log output seems fine: [Sat Dec 06 00:10:08 2003] ( info ) [jk_uriEnv.c (245)] uriEnv.setAttribute() t he worker directive is deprecated. Use 'group' instead. [Sat Dec 06 00:10:08 2003] ( info ) [jk_uriEnv.c (245)] uriEnv.setAttribute() t he worker directive is deprecated. Use 'group' instead. [Sat Dec 06 00:10:08 2003] ( info ) [jk_logger_file.c (184)] Initializing log f ile stderr [Sat Dec 06 00:10:08 2003] ( info ) [jk_workerEnv.c (403)] workerEnv.init() ok /usr/local/apache2/conf/workers2.properties Dec 6, 2003 12:10:08 AM org.apache.jk.apr.AprImpl init INFO: JK2: Initialized apr Dec 6, 2003 12:10:08 AM org.apache.jk.common.ChannelUn init INFO: JK: listening on unix socket: /opt/apache/jakarta-tomcat-4.1.29/work/jk2.s ocket Dec 6, 2003 12:10:08 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 I am trying to use unix sockets. WHAT could be wrong? I have made sure that shm.file exists and that the same shm.file is being used by tomcat and apache. I am using apache 2.0.46, jk2 2.0.3 and tomcat 4.1.29. Please help. sachin dole = Cheers! Sachin Dole __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How many concurrent user on Tomcat and Apache(New Bie)
Can any body tell me that on a Apache web Server(tomcat as worker) hosting web site. How many concurrent user possible if Server has good hardware configuration. Do we need to maintains worker.properties file for many tomcat Instances under Apache.. If any body help me or any suggesstion Thanks Sachin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How many concurrent user on Tomcat and Apache(New Bie)
Hi John, But john i have to deploy my applciation for client now client is ready for each hardware And my appication performance is good. Bu My Client is saying 10,000 concurrent user.. I have found in forum archive that people suffering from problem of concurrency when concurrent user become new 1000 Well my applciation basically handling serveral temporary XML files and at last update data into database. XML file documents. created by application is nearly 2-3 kb But i am not able to judge that what approach should i follow. Well i am thinking that worker.properties file will manage load balancing between several tomcat which work as a worker under Apache So how will i judge that how many tomcat or there is no need for multiple If ant suggesstion then please let me know?? tnanks sachin -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 6:03 PM To: Tomcat Users List Subject: Re: How many concurrent user on Tomcat and Apache(New Bie) You only need one workers.properties file. All it does is tell mod_jk.so where to find Tomcat. Regarding how many concurrent users that is impossible to say. It depends on what your definition of good hardware is, as well as the complexity and quality of the web applications you're hosting. It doesn't matter how much hardware you have or how many users you have, a single poorly designed web application can bring even the most robust server to a halt. John Sachin wrote: Can any body tell me that on a Apache web Server(tomcat as worker) hosting web site. How many concurrent user possible if Server has good hardware configuration. Do we need to maintains worker.properties file for many tomcat Instances under Apache.. If any body help me or any suggesstion Thanks Sachin - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: build.xml for Ant/JspC
There is a snippet of the build.xml that we use for jsp compilation. java classname=${product.jspc.compiler} fork=true dir=${product.webapp.build.dir} arg value=-webinc/ arg value=${product.webapp.tmp.dir}/jsps-servlets/ arg value=-d/ arg value=${product.webapp.tmp.dir}/ arg value=-uriroot/ arg value=${product.webapp.build.dir}/ arg value=-exclude/ arg value=${product.jspc.exclude}/ arg value=-webapp/ arg value=.// classpath refid=all-classpath / /java hth Cheers Sachin Pandey NUIX Pty Ltd Level 8, 143 York Street, Sydney 2000 Phone: (02) 92839010 Fax: (02) 92839020 Disclaimer: This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing,copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. - Original Message - From: Subir Sengupta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 9:41 AM Subject: build.xml for Ant/JspC Hi, Has anyone got Jspc running with Ant? If so could you send me your build.xml or send me any suggestions on how to get it working. I followed the docs at http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html but couldn't get it working. I'm running TC 404 on Red Hat 7.3 and JDK 1.4 Thanks, Subir -- 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]
tomcat 4 logger does not work for me!
Hi I added a logger to my context in my servlet I added log(my string) But I don't get the log file at all. What am I doing wrong? The code does compile so it means its finding the class for log() method. Do I need to copy any jar file so that log() method of FileLogger class is called? Context path=/econnector docBase=econnector debug=9 reloadable=true Logger className=org.apache.catalina.logger.FileLogger prefix=tomcat_log suffix=.txt directory=/webapps/econnector/logs timestamp=true/ Manager className=org.apache.catalina.session.PersistentManager debug=9 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager /Context _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Problems when starting Apache with Tomcat on Win2K
Hi I get the following error when starting apache 2 with the directive: LoadModule jk_module modules/mod_jk.dll I have the dll in place. But I dont have the Tomcat running. Is it necessary to configure tomcat to make this directive run? What could be the problem? Warm Regards Sachin Dole -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Apache 2 and Tomcat 4 on Windows!!@#$!
Hi I get the following error when starting apache 2 with the directive: LoadModule jk_module modules/mod_jk.dll The error: C:\Program Files\Apache Group\Apache2\binapache Syntax error on line 952 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_jk.dll into server: The specified module could not be found. I have the dll in place. Now, I have tomcat running, I have the attached Worker.properties and httpd.conf. Can someone please help me out. I have searched the mail archives and though there are a number of people facing the same problem, it seems to me that my problems are unique!!! httpd.conf workers.properties What could be the problem? Warm Regards Sachin Dole Warm Regards Sachin Dole Gateway Village - 800 Bldg, 800 W.Trade St., 3rd Flr South, NC1-025-03-42, Charlotte NC. Phone: 704-683-3603 httpd.conf Description: Binary data workers.properties Description: Binary data -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Linking Apache 2 and Tomcat 4.0.3
Hi Ken, you have to download the mod webapp and mod jk from tomcat 3 binary distribution. These are upward compatible. Even I am trying to link tomcat 4 and apache 2 on windows 2k. And it is definitely not easy. First of all, I have done exactly the same thing as many guys have written but when I start the Apache service i simply get an error: Could not load into Apache: Could not find the specified module. I have absolutely no idea why this happens. Can some one please help? Sachin Dole -Original Message- From: Ken Miller [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 7:55 PM To: Tomcat Users List Subject: Linking Apache 2 and Tomcat 4.0.3 I am new to setting up Apache web server and Tomcat and want to have them automatically connect. I found a source that mentions getting the mod_webapp.so file and putting it into the /modules subdirectory. Unfortunately, when I looked in the release directory (on Apache.org) for Tomcat I didn't see the webapp_module file to download. Has it been moved, or am I looking in the wrong place? Also, is it straight forward to setup Tomcat to link to Apache under 2K or XP? From what I have read, after putting the mod_webapp.so in the /modules directory, I just need to modify the httpd.conf file and the server.xml file. Is there anything else that might prove to be a gotcha for me? Thanks for any help in advance. Ken -- 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]
No. of User Restrictor
Hi All I am looking for a functionality with my web application I need some suggestions. Application running on Apache 1.3 and Tomcat3.2(4.0 optional) What I need is we want to restrict the no. of user connected to our application for example If we need only 50 user can be connected not more than that ...so how we can implement that or what approch should be taken. Basically Tomcat or with apache server does not respond to more than no. of defined user...so how that can be accomplished in any way..?using session or else.?? So if any one have any idea of that plz fwd. Regds Sachin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat4.0:-Ignorance Of class path ::::oracle.jdbc.driver.OracleDriver ..
thanks .. Its working...when classes12.jar file placed to jakarta-tomcat-4.0\common\lib (WEB-INF/lib it might be ) only...It does not work when we place that file in \common\classes...that directory is for what. And on more thing is this mentioned some where that TomCat4.0 ignore the complete CLASSPATH of system.because some other .jar files required for my web application, set in classpath are also not able to import... So is this mandatory to place all .jar files in tomcat/lib... which is required for the application.?? Or can we add classpath through scripts at Tomcat startup Regds sachin - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 01, 2002 2:01 AM Subject: Re: Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver .. On Mon, 31 Dec 2001, David Morsberger wrote: Date: Mon, 31 Dec 2001 13:02:23 -0500 From: David Morsberger [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDrive r .. I had the same problem and converting the .zip to a .jar worked. I reviewed the documentation and I could not find any mention of zip files. Does the absence of info on zip files imply they are not supported? Yep, in terms of what any web container is supposed to support in /WEB-INF/lib (and Tomcat applies the same rules to its shared lib directories). Zip files still work on a CLASSPATH for standard Java applications, because they were in existence from JDK 1.0 days -- before there was such a thing as a JAR file. But that still doesn't do you any good on either 3.3 or 4.0, because they both ignore your CLASSPATH ... I think the Tomcat 3.3 and 4.0 documentation should be updated to explicitly state that zip files and not supported by the servlet spec and therefore must be converted to jar files and stored in the /lib directory. I disagree. The list of things that are *not* supported is close to infinite :-). You'd be much better off making the starting assumption that anything not mentioned is not supported. The only time you'll be wrong is when a feature hasn't been documented yet. And, even with it documented, it would still be one of the top 5 questions on TOMCAT-USER, just like it is today. The mailing list archives are full of the answer to this question -- along with a lot of questions that *are* answered in the docs -- so it wouldn't help much anyway. Craig From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Mon, 31 Dec 2001 09:00:31 -0800 (PST) To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver. . On Mon, 31 Dec 2001, Sachin Tyagi wrote: Date: Mon, 31 Dec 2001 14:52:15 +0530 From: Sachin Tyagi [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDrive r.. hi all, while I am running my web application with Tomcat4.0(Catalina) in accessing database queries.It is showing java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver.. I am using classes12.zip driver ..I have already set classpath for the same..And with Tomcat3.2 my application is running well. Only with Tomcat4.0 getting this problem.I am trying to upgrade for Tomcat4.0. In this case any thing I have to edit or set properties in server.xml. or some where else. Or this relate with Realms. If any one having idea about this plz pass this. You need to do two things: * Read the class-loader-howto.html documentation, and you'll see that Tomcat recognizes only JAR files, not ZIP files. Rename classes12.zip to classes12.jar and it should work. * Complain to Oracle that they should package their JDBC drivers as JAR files. Regards Sachin Craig McClanahan -- 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] -- 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]
Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver..
hi all, while I am running my web application with Tomcat4.0(Catalina) in accessing database queries.It is showing java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver.. I am using classes12.zip driver ..I have already set classpath for the same..And with Tomcat3.2 my application is running well. Only with Tomcat4.0 getting this problem.I am trying to upgrade for Tomcat4.0. In this case any thing I have to edit or set properties in server.xml. or some where else. Or this relate with Realms. If any one having idea about this plz pass this. Regards Sachin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Generating .keystore does not work
Which version of JDK are u using? Sun's JDK comes along with the KeyPairGenerator in the form of sunrsasign.jar in the jre/lib directory. The IBM's jdk doesn't come along with the RSA provider so u have to put the sunrsasign.jar in the jre/lib/ext directory and edit the java.security file to include that security.provider.3=com.sun.rsajca.Provider Hope that helps Cheers Sachin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Hi
Hi, I was mistaken earlier by saying that the JBoss distribution comes along with javac.jar. This jar File is actually a part of the JBoss source download which make the licensing issues very different. Sachin
Re: javac.jar
Hi, Quite an interesting question cause the Jboss ditsribution also comes bundled with a javac.jar. I would like to know the answer too. Sachin On Monday 22 October 2001 15:34, you wrote: Hi, I have a question on licencing requirements: I bundle Tomcat with my product. In the past I have used Tomcat v3.1, and want to upgrade to v3.2.3. Tomcat v3.1 included javac.jar as part of its installation. This was licenced by Sun. Tomcat v3.2.3 doesn't include this file. I want to distribute javac.jar along with Tomcat v3.2.3, and would like to know if this will violate Sun's licencing agreement? Any info on this matter would be greatly appreciated. Cheers, Debi _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Simple Catalina/JSP question
I am using catalina 4.0 B5. But if I make changes to the JSP page it does recompile the page. Even after restarting the catalina. Only way to see the changes is to add a new JSP page restart the server. What configs in server.xml I need to change? Thanks in advance for your help. = Sachin Chaudhari __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: Simple Catalina/JSP question
Thanks a lot! You think I can get the latest build from the same place from apache.org on July 1st. --- Remy Maucherat [EMAIL PROTECTED] wrote: I am using catalina 4.0 B5. But if I make changes to the JSP page it does recompile the page. Even after restarting the catalina. Only way to see the changes is to add a new JSP page restart the server. What configs in server.xml I need to change? Thanks in advance for your help. It's a Windows-only problem which will be fixed in the beta which will be coming up for J1. Remy = Sachin Chaudhari __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
RTFM?
RTFM - I've seen this abbr. in use. What does it stand for? Sachin PS. I can see a few sniggering faces but how's a guy to know if he doen't ask?
TTFL
:-) Thank The Friendly List Thanks The F'ing List :-) The redirect to vera was great. thanks sachin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 15, 2001 5:00 PM Subject: Re: RTFM? Read The F'ing Manual Roger
Re: Tomcat providers
Hi! Cristoph You could check out www.podc.com thanks sachin - Original Message - From: Christoph Rooms [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 10, 2001 2:22 AM Subject: Tomcat providers Hi, I'm looking for a host firm that will host my site and my java servlet. (tomcat ?) Do you guys have got any good references ? I'm not a bussiness so I'm not looking for an expensive solution :))) thanks ! Christoph
Re: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000)
TC3.2.1 has worked successfully, in Win2K IIS5. try my post date 9/5/01 hope ot helps sachin - Original Message - From: test test [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 7:02 AM Subject: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000) Hello all Can anyone please help ? I seem to be going backwards on all this. I did have the examples working before but something has gone wrong. I have been through the how to document (troubleshooting sections etc) but no luck. I have not amended the uriworkermap.properties file. Has anybody had any luck getting it to work on Windows 2000 ? Any pointers, things to watch out for or tips ? Can somebody please help !!! Many thanks Hamant
MSSQL Tomcat JSP / Servlets
Hi! Has anyone setup MSSQL 7.0 with TC? Can anyone point me in the right direction? thanks sachin
tomcat-user-help| Message number?
Hi! I understand that the Admin for this list resoponds to specific commands. One I am interested in is: To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The Question is if one wants to follow a thread How does one figure out the Message number? Thanks Sachin
isapi_redirector.dll - Registry - help for Newbies
Hi! I just configured the iis redirector on three machines got a different typo each :-(. I'm sure I am not alone many newbies face. I have a solution: If you are using defaults i.e Tomcat installed on C:\jakarta-tomcat dll in .\bin\win32\i386 etc. then 1. Cut paste the text below into notepad. 2. Save it as jakarta.reg 3. Right-click on this file select Merge. Your registry woes are over. !--Text to cut Paste Begins : below this line -- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=C:\\jakarta-tomcat\\logs\\isapi.log log_level=info worker_file=C:\\jakarta-tomcat\\conf\\workers.properties worker_mount_file=C:\\jakarta-tomcat\\conf\\uriworkermap.properties !--End of text to cut paste--
.xml v .properties for configurations
Hi! Q. Am i correct in deducing that .xml files are used when configuring Tomcat on Unix type OSes or Apache Webserver .properties files are used when configuring windows OSes with IIS? Yes or No thanks sachin
Re: Virtual Hosts on IIS5 TOMCAT3.2
The problem is most likely in teh registry. Try my earlier post subject : isapi_redirector.dll - Registry - help for Newbies thanks sachin - Original Message - From: Antoan Christov To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 1:46 PM Subject: RE: Virtual Hosts on IIS5 TOMCAT3.2 Hi, I've tried to run Tomcat 3.2 integrated in IIS, but the isapi_redirect.dll fails to load under my Win2K Pro and IIS5. Can you tell me please is this library works on your IIS5? Thanks, Antoan -Original Message- From: Sachin Phatak [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 15:49 To: [EMAIL PROTECTED] Subject: Virtual Hosts on IIS5 TOMCAT3.2 Can someone please direct me to some documentation on this issue? or better explain it to me. After I create Virtual Hosts on IIS, do i just add he same filter Virtual directory as I did for the default website? thanks sachin
Re: .xml v .properties for configurations
I am refereing to version 3.2 - Original Message - From: Pae Choi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 3:26 PM Subject: Re: .xml v .properties for configurations Which version of TC are you referring to? Pae Hi! Q. Am i correct in deducing that .xml files are used when configuring Tomcat on Unix type OSes or Apache Webserver .properties files are used when configuring windows OSes with IIS? Yes or No thanks sachin
Re: Tomcat, IIS and virtual hosts
Hi! This Post by Robert was helpful I tried it and it works. But i have a few more Qs. Q 1. The Documentation mentions that to add contexts to the IIS we need to add contexts in uriworkermap.properties (a file totaly ignored in Robert's solution). Any idea whether that needs to be done at all if so in what situation? Q 2. In the Host ... /Host entry of server.xml, we create a Context with path=xyz docBase=webapps/contextname. What should one do if teh context is to be mapped to a directory outside c:\jakarta-tomcat\webapps\ say maybe on d:\webapps\ Q3. Are there any benefits to running multiple instances of tomcat for each virtual host. If yes how does one run multiple instances? thanks sachin - Original Message - From: Robert J. Lebowitz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 04, 2001 12:23 AM Subject: Re: Tomcat, IIS and virtual hosts I finally solved the problem of virtual hosts on IIS myself it took a bit of time, and I had to re-read the Tomcat documentation quite a bit. It might be useful to have an example as there is for the Apache server in there in the future. I had to modify to files to allow me to connect properly to my virtual hosts: 1. server.xml - use the Host name=myhost.org /Host section to define an appropriate context for the virtual host. Supposedly you can specify either the fully qualified hostname, or it's IP address in the name attribute. 2. workers.properties. This is the part that had me stumped for quite a while. I had to redefine the host associated with the ajp12 worker. I suppose that if I wanted to retain the localhost setting, I could define another worker in the worker.list, make sure it is of type ajp12, and assign it's .host attribute with the name of my virtual host, and it's port as 8007. here's an example. In the uriworkers.properties file it's important to assign the correct worker to the URL path name you're using for that virtual host... since I used ajp12, I didn't have to do much there... # # Defining a worker named ajp12 and of type ajp12 # Note that the name and the type do not have to match. # worker.list=ajp12, ajp13 worker.ajp12.port=8007 #worker.ajp12.host=localhost worker.ajp12.host=myhost.org worker.ajp12.type=ajp12
Re: Help me Please I have something with Tomcat_IIS
Dear Aster / Eric I just finished an identical configuration. Try this url: http://localhost/examples/jsp/index.html This page will give youlinks to the jsp pages Servelets configured by default. Hope this helps Sachin - Original Message - From: ???\ (ASTER) [EMAIL PROTECTED]) To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 7:07 PM Subject: Help me Please I have something with Tomcat_IIS Dear I have a Big problem about my Tomcat! Please help me Afterinstall Tomcat(V 3.2 with default setting) in c:\jakarta-tomcat I have down load the isapi_redirect.dll and put in in c:\jakarta-tomcat\bin\win32\i386 directory and modified my registry with "HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0" add string values extension_uri "/jakarta/isapi_redirect.dll" log_file "c:\jakarta-tomcat\logs\isapi.log" log_level "debug" worker_file "c:\jakarta-tomcat\conf\workers.properties" worker_mount_file "c:\jakarta-tomcat\conf\uriworkermap.properties" In my IIS I've create a virtual directory named "jakarta" and its physical path is "c:\jakarta-tomcat\bin\win32\i386" with execute access and add "isapi_redirect.dll" as a ISAPIFILTER with my web site After restart IIS, WWW Service, and Tomcat I have a green up-pointing arrow. but I can't execute my jsp when I try http://localhost/examples/jsp/index.jsp and have an erroe - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null I don't have any idea to deal with it ,PLEASE HELP ME ,THANKS A LOT. Best Regard
Virtual Hosts on IIS5 TOMCAT3.2
Can someone please direct me to some documentation on this issue? or better explain it to me. After I create Virtual Hosts on IIS, do i just add he same filter Virtual directory as I did for the default website? thanks sachin
Re: Tomcat/PWS (in NT)
Dea r Balu, When you say not working what do you mean exactly? Did you check the Log files? Did you make the Filter DLLs Registry entry. Please post questions with a lot of details. Sachin P.S. Answers for similar Q's HAVE been posted. I myself was helped by such posts. - Original Message - From: V Balu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 3:57 AM Subject: Tomcat/PWS (in NT) I systematically followed the instructions in the Document given to install Tomcat 3.2 on PWS in my NT workstation and it is not working neigther the isapi_redirect.dll gets activated. Can any one help me and many asked the same Q but no one put any answers on the net YET!! Balu _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: win32 apache support Log to pipe??
Lets not get personal. PLEASE. - Original Message - From: Tim O'Neil [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 3:46 AM Subject: RE: win32 apache support Log to pipe?? At 03:04 PM 5/8/2001 -0700, you wrote: I think the most annoying thing of all is poking fun as someone on a public forum when all they want is a little guidance. Everyone here has the beautify key on their keyboard called delete, don't get annoyed at someone who needs help. Just offer what you can or delete. And in case you haven't noticed, this list is billed as the support list for Tomcat, going to it when you have a problem and need help solving it seems reasonable to me, regardless of how much money you get paid. Man, are you off base. No one here is under any obligation to answer anyone's questions. With that in mind, do you honestly think as an employer I'd want any developers to rely on this forum in any capacity? Ha ha ha... you've got to be kidding me. You'd be a fool.
Re: NT Service question
Dear Stefan, You want a system to pre defines TOMCAT_HOME JAVA_HOME, right? Do that using the basic NT Environment variables settings. In W2K this is can be done by right clck on My computer = Propertities Page = Advanced Tab = Environment Variables. This could help. thanks sachin - Original Message - From: Stefan Henke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 07, 2001 1:59 PM Subject: NT Service question Hi, I set up Tomcat to work as NT service and it works fine. Now I want to install Tomcat on several other computers. As Tomcat is installed in different paths on the different computers, I have to change the wrapper.properties (JAVA_HOME and TOMCAT_HOME) manually. My question is: Can I tell Tomcat to take the environment settings of TOMCAT_HOME and JAVA_HOME in wrapper.properties. This variables are already set for TOMCAT in normal mode. This could help me a lot. Thanks for any help Stefan
Can someone please explain
hi! I am running TC on W2K IIS5. The Redirector is installed but gives me a 404. I was suggested to change the Mappings in worker.properties check for a valid connector. But i am a total newbie. Can someone please explain "Valid Connector" "Mappings" possibly with an example? Thanks sachin
Any instance of Win2K with TOMCAT?
Hi! Everybody, 1. Has anyone out there used this combination successfuly - TOMCAT (running as an NT service), IIS5 on Windows 2000 Server? 2. TOMCAT works fine on port 8080 but when I call the default examples context, via IIS (i.e. on port 80) I get a 404. The log files seem to show the redirection (using isapi_redirect.dll) being executed. Can anyone suggest a possible cause /or solution? 3. What do the entries in isapi.log mean? log file entries: isapi.log [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters IIS Log 2001-05-03 04:39:40 192.168.0.250 - W3SVC3 PODCWS 192.168.0.250 80 GET /jakarta/isapi_redirect.dll+ - 404 2 3406 270 0 HTTP/1.1 podc.cop Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) ASPSESSIONIDQMFC=GCNHONGAPFOLKILALHEBIEDJ - Any help will be highly appreciated. thanks sachin
isapi
Hi! Can anyone tell me what "NULL parameter" means in the isapi.log --[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULLparameter -- thanks sachin
Re: Any instance of Win2K with TOMCAT?
Thanks a Lot Randy. May I impose on you with 2 more questions? 1. I have made the registry entries as mentioned in the documentation bundled with TC, but that is for NT4 not W2K. In W2K registry when a value is added it asks for Datatype, which defaults to REG_SZ (I guess this was not the case with NT4, as it is not mentioned in the Documentation). What should the datatype be? I have used REG_SZ? 2. valid mappings ... in workers.properties Can you illustrate this with an example please? I am very new to this. thanks sachin - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 4:42 PM Subject: RE: Any instance of Win2K with TOMCAT? Answers: 1. Yes 2. Lots of things, usually problems with your registry entries 3. Either the path to the uriworkermap.properties file is incorrect in the registry, or the file doesn't contain any valid mappings (mapping are valid when they map a URL or URL fragment to a valid connector defined in workers.properties. Randy -Original Message- From: Sachin Phatak [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 3:01 AM To: [EMAIL PROTECTED] Subject: Any instance of Win2K with TOMCAT? Hi! Everybody, 1. Has anyone out there used this combination successfuly - TOMCAT (running as an NT service), IIS5 on Windows 2000 Server? 2. TOMCAT works fine on port 8080 but when I call the default examples context, via IIS (i.e. on port 80) I get a 404. The log files seem to show the redirection (using isapi_redirect.dll) being executed. Can anyone suggest a possible cause /or solution? 3. What do the entries in isapi.log mean? log file entries: isapi.log [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters IIS Log 2001-05-03 04:39:40 192.168.0.250 - W3SVC3 PODCWS 192.168.0.250 80 GET /jakarta/isapi_redirect.dll+ - 404 2 3406 270 0 HTTP/1.1 podc.cop Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) ASPSESSIONIDQMFC=GCNHONGAPFOLKILALHEBIEDJ - Any help will be highly appreciated. thanks sachin
Run Tomcat as a Standalone
Hello, I have downloaded the jakarta-tomcat-4.0-m5.zip file and extracted it in the c:\tomcat folder. I have also added the following lines in my autoexec.bat set JAVA_HOME=c:\jdk1.2 set TOMCAT_HOME=c:\tomcat\jakarta-tomcat-4.0-m5 now when i run thestartup command from the c:\tomcat\jakarta-tomcat-4.0-m5\bin folder, tomcat starts and shuts down after flashing some errors. I'd appreciate if you guys can help me with this problem. Do i have to do any other steps to run tomcat as a standalone server. I'm doing the above on a machine running Windows 98. Looking forward to hearing from you. Have a nice day.With regards,Sachin S. Khanna.www.emailanorder.com
Unable to run tomcat 4.0 on win 98
Hello, I'm trying to run tomcat on my mchine which has a jdk1.2 installed. But the statup.bat file throws this error : Relocation Error : Null relocation target has occured in org/apache/crimson... Please let me know why is this happening and how do i get rid of this fatal error. Have a nice day.With regards,Sachin S. Khanna.www.emailanorder.com
Re: Unable to run tomcat 4.0 on win 98
Thanks Craig. Well i was missing the jndi.jar file thats why tomcat wasn't starting, hence the fatal error :-). Have a nice day.With regards,Sachin S. Khanna.www.emailanorder.com - Original Message - From: Craig R. McClanahan To: [EMAIL PROTECTED] Sent: Saturday, February 03, 2001 4:49 AM Subject: Re: Unable to run tomcat 4.0 on win 98 "Sachin S. Khanna" wrote: Hello, I'm trying to run tomcat on my mchine which has a jdk1.2 installed. But the statup.bat file throws this error :Relocation Error : Null relocation target has occured in org/apache/crimson...Please let me know why is this happening and how do i get rid of this fatal error. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.comAs the rest of the message tells you, this is a JVM issue, not a Tomcat related problem. It will require a fix in the JVM to make it go away. However, in my experience the error is *not* fatal -- Tomcat starts and runs fine. Craig McClanahan