Re: Illegal IMail List Server Command!
unsubscribe tomcat-user@jakarta.apache.org -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 - Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: php and apache tomcat
I haven't tried this, but I suppose you can also compile php as CGI and use it via CGI servlet. And you can configure apache + tomcat using mod_jk, and serve php pages with the Apache server. Regards, Pablo E. Siciliano. - Original Message - From: Hassan Schroeder [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Sunday, March 20, 2005 9:22 PM Subject: Re: php and apache tomcat Benson Margulies wrote: Apache isn't the same thing as 'Apache Software Foundation / Jakarta Tomcat'. The usual PHP requires plain old Apache, not Tomcat. Well -- yes to the first, not exactly to the second. The chances are good that the original poster is confused about the difference between Apache httpd and Tomcat, but PHP 4 has an option in the `configure` script to build a PHP servlet. I've built it, run it, used it for lightweight PHP stuff. Works OK, more or less, but any significant glitch takes the whole JVM down. In other words, not suitable for serious production use, but fine for running one calendar app, or some such trivia :-) The servlet build function seems to be missing in PHP5, though. FWIW, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/03/05 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
blank page
Hi all, I have a problem in my production environment and I cann't reproduce this in develop one. I'm using Tomcat 5.0.27, IIS 6 and Isapi_redirect 1.0. When I ask on jsp or servlet I get blank page. I review the looger but I don't see any error. Only in the IIS connector I can see entries like: --- [Wed Jan 19 10:53:23 2005] [jk_isapi_plugin.c (586)]: jk_ws_service_t::write, WriteClient failed [Wed Jan 19 10:53:23 2005] [jk_ajp_common.c (1052)]: ERROR sending data to client. Connection aborted or network problems [Wed Jan 19 10:53:23 2005] [jk_ajp_common.c (1303)]: ERROR: Client connection aborted or network problems --- Any help will be appreciate. Best regards -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.0.27 Cluster Issues
-dic-2004 18:29:59 org.apache.catalina.cluster.session.DeltaManager start INFO: Manager[], skipping state transfer. No members active in cluster group. 07-dic-2004 18:29:59 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 07-dic-2004 18:29:59 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=16/188 config=C:\Tomcat 5.0\conf\jk2.properties 07-dic-2004 18:30:00 org.apache.catalina.startup.Catalina start INFO: Server startup in 9500 ms 07-dic-2004 18:37:55 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.3:4010, 172.26.102.3,4010, alive=461847] 07-dic-2004 18:37:59 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.3 :4010,172.26.102.3,4010, alive=461847] Machine 2 07-dic-2004 18:29:06 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 4922 ms 07-dic-2004 18:29:07 org.apache.catalina.core.StandardService start INFO: Arrancando servicio Catalina 07-dic-2004 18:29:07 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.27 07-dic-2004 18:29:07 org.apache.catalina.core.StandardHost start INFO: Desactivada la validación XML 07-dic-2004 18:29:07 org.apache.catalina.cluster.tcp.SimpleTcpCluster start INFO: Cluster is about to start 07-dic-2004 18:29:07 org.apache.catalina.cluster.mcast.McastService start INFO: Sleeping for 2000 secs to establish cluster membership 07-dic-2004 18:29:09 org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) 07-dic-2004 18:29:09 org.apache.catalina.core.StandardHostDeployer install INFO: Procesando URL de archivo de configuración de Contexto file:C:\Tomcat 5.0\conf\Standalone\localhost\admin.xml 07-dic-2004 18:29:14 org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 07-dic-2004 18:29:14 org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 07-dic-2004 18:29:15 org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true 07-dic-2004 18:29:18 org.apache.catalina.core.StandardHostDeployer install INFO: Procesando URL de archivo de configuración de Contexto file:C:\Tomcat 5.0\conf\Standalone\localhost\manager.xml 07-dic-2004 18:29:19 org.apache.catalina.core.StandardHostDeployer install INFO: Procesando URL de archivo de configuración de Contexto file:C:\Tomcat 5.0\conf\Standalone\localhost\ROOT.xml Creating ClusterManager for context using class org.apache.catalina.cluster.session.DeltaManager 07-dic-2004 18:29:22 org.apache.catalina.cluster.session.DeltaManager start INFO: Starting clustering manager...: 07-dic-2004 18:29:22 org.apache.catalina.cluster.session.DeltaManager start INFO: Manager[], skipping state transfer. No members active in cluster group. 07-dic-2004 18:29:24 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 07-dic-2004 18:29:24 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/375 config=c:\Tomcat 5.0\conf\jk2.properties 07-dic-2004 18:29:25 org.apache.catalina.startup.Catalina start INFO: Server startup in 18688 ms 07-dic-2004 18:30:36 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2:4010, 172.26.102.2,4010, alive=107453] 07-dic-2004 18:30:39 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=107453] 07-dic-2004 18:32:41 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2:4010, 172.26.102.2,4010, alive=232390] 07-dic-2004 18:32:44 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=232390] 07-dic-2004 18:34:46 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2:4010, 172.26.102.2,4010, alive=357296] 07-dic-2004 18:34:49 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=357296] __ Pablo Carretero Sánchez Cygnux Arquitecto
Documentation
Hi, Where can I find documentation about Tomcat looger, and debug verbosity params? I change the debug and verbosity values, and the log is always the same. Thank you very much. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Documentation
Thanks Yoav, Maybe, I don't explain very well my case. For example, If I active the debug in the database pool connection, can I see the active connection, free connection, the queries, etc... Other example, I'm configuring a cluster in memory, I would like activate the debug option, in order to know if the machines of the cluster is working good or not. I mean, I looking for this documentation, but I find nothing about that. Do you know if are there any documentation about this issues?? Thank a lot. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: martes, 07 de diciembre de 2004 19:40 To: Tomcat Users List Subject: RE: Documentation Hi, Where can I find documentation about Tomcat looger, and debug verbosity params? I change the debug and verbosity values, and the log is always the same. Different Tomcat versions have different ways to configure logging. Make sure you're looking at the documentation for your Tomcat version. The verbosity attribute is mostly for Tomcat 3.x. The debug attribute, if allowed (the docs will list it if it's allowed), goes from 0 (the default, no logging) to 99 (the highest, max logging). But it's mostly used in Tomcat 4.x, and less in 5.x. The more recent versions of Tomcat use Commons-Logging increasingly. To configure their logging, you need to pick an implementation (e.g. log4j or JDK 1.4 logging) and configure Tomcat to use that logging implementation with your chosen logging levels. This is explained in the FAQ and documentation (the latter only for Tomcat 5.5). For Tomcat 5.5, there's no Logger, and no debug attributes, at all. It's all Commons-Logging. Yoav Shapira http://www.yoavshapira.com 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Documentation
Yoav and Filip, thanks a lot. I'm very new in the Open Source software, I good like the idea, and under my point of view, is the best solution event the big companies. But for beginner, is very difficult. Thank you very much I try continue with your indication. Best regards. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: martes, 07 de diciembre de 2004 20:37 To: Tomcat Users List Subject: RE: Documentation Hi, Maybe, I don't explain very well my case. For example, If I active the debug in the database pool connection, can I see the active connection, free connection, the queries, etc... There are two ways to determine what logging output you will see if you enable debug-level logging for a given Tomcat component. One way to is try it. The other way is to look at the source code, which of course is freely available for you to download and examine. If you look at the source, you will see that some components do more logging than others. So even setting debug-level logging for them might not yield much information. As to the specific question above about database pooling: because that's not implemented by Tomcat, but by a pluggable implementation (DBCP by default), it's up to the implementation's logging. Again, you can try it, or you can consult the DBCP source code. Alternatively you can plug in your own connection pooling implementation. I mean, I looking for this documentation, but I find nothing about that. Do you know if are there any documentation about this issues?? What are you asking is generic. Documentation for Tomcat's own logging is covered under the Logger configuration reference and, for Tomcat 5.5, in the logging-howto section of the docs. There is also a FAQ entry showing how to configure Tomcat 5.0.x with log4j. For parts of the code that are not Tomcat's own, e.g. DBCP, you need to consult that component's documentation. Yoav Shapira http://www.yoavshapira.com 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Setup Xms Xmx
Hi, my platform is: Windows 2K Tomcat 5.0.27 I start Tomcat as Win2K service, can I setup JAVA_OPTS like Xms and Xms. Thank a lot and best regards. ciao -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Filter tricks in tomcat
Hi, Im working with Tomcat 5 from 3 months ago. I understand the filter architecture, but I cannot capture the response filter for my JSP and servelt. Tomcat 5 is Servlet 2.4, so I thing it can filter either request or response. What I can do, is capture the entire request and its response, to have a good mechanism of statistics in my web application. So, can you help in order to know how can I catch the response in a filter?? Thanks in advanced, And best regards. .pcs __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velázquez nº 3 Esc Izq 7º B 28932 Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] http://www.cygnux.com/egroupware/email/compose.php?folder=INBOXsessionid=1 2a0f5acc6fd5805a190a5b55a147155kp3=7c4ad1ea016bfe58bf86addf2e6064d3domain= cygnux.com[EMAIL PROTECTED]
mod_rewrite mod_proxy issues with apache and tomcat
To anyone who can help, I currently am looking into alternative to mod_jk2 for apache and tomcat . Simply because of latency issues. One of the avenues that I am attempting is using mod_proxy and mod_rewrite. I have followed the directions from this url http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html the only difference between these directions and my implementation is that I have this Location /jsp-examples RewriteEngine On RewriteCond %{HTTP_COOKIE} (^|;\s*)JSESSIONID=\w*\.(\w+)($|;) RewriteRule (.*) http://${SERVERS:%2|${SERVERS:ALL}}%{REQUEST_URI} [P,L] RewriteRule ^.*;jsessionid=\w*\.(\w+)($|;) http://${SERVERS:$1|${SERVERS:ALL}}%{REQUEST_URI} [P,L] RewriteRule (.*) http://${SERVERS:ALL}%{REQUEST_URI}; [P,L] /Location instead of what the apache how to implements Location /webapp RewriteEngine On RewriteCond %{HTTP_COOKIE} (^|;\s*)jsessionid=\w*\.(\w+)($|;) RewriteRule (.*) http://${SERVERS:%2}%{REQUEST_URI}; [P,L] RewriteRule ^.*;jsessionid=\w*\.(\w+)($|;) http://${SERVERS:$1}%{REQUEST_URI}; [P,L] RewriteRule (.*) http://${SERVERS:ALL}%{REQUEST_URI}; [P,L] /Location That was just a little tip that I got from a website. I can get to the urls just fine. For instance if I go to one off my apps (notice ssl) https://sdp-webprod.phila.k12.pa.us/masterlogin/ I get there with no problem . Should I take away the trailing slash and hit enter I end up with the following in my url string http://170.235.31.19:8080/masterlogin/ Any suggestions? -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PLEASE HELP : time outs with sticky session and file store
Hi folks, I am currently running apache 2.0.52 , mod_jk2, solaris 8 tomcat 5.0.28 on my servers . I have two apache serves behind an alteon that service my webapps on 4 tomcat servers. I have sticky sessions with a file store set up on my boxes. My filestore is via nfs. All my hosts are on the same subnet. They are mulithomed hosts because I need a back interface for the webapps to talk to the db. But my default routes are all set the same . I have one apache server that hits two tomcat servers and then another apache sever that has two other tomcat servers. Once I start that apache servers everything is fine , for a few hours . After a few hours the tomcat servers start to time out. I can get to the apache index page but as soon as I ask the apache server to make a request to a webapp on the tomcat servers is just sits there and times out. Sometimes the webapp does pop up but very slowly. I have examined the routing tables , I have done traceroutes I have pin pointed my problem down to the application layer. So I must be doing something wrong in my configuration. I checked over my configuration a hundred times and I did it exactly the way the book told me to professional apache tomcat 5 . This all worked on my testing environment , but it is not working now. I have included a very small tar file that has my config files . If any of you can give me an example of a working config or tell me what I am doing wrong I would greatly appreciate it . -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PLEASE HELP : time outs with sticky session and file store
Sorry forgot to add the config files as an attachment . config_file.tar.gz Description: GNU Zip compressed data On Oct 25, 2004, at 1:22 PM, pablo wrote: Hi folks, I am currently running apache 2.0.52 , mod_jk2, solaris 8 tomcat 5.0.28 on my servers . I have two apache serves behind an alteon that service my webapps on 4 tomcat servers. I have sticky sessions with a file store set up on my boxes. My filestore is via nfs. All my hosts are on the same subnet. They are mulithomed hosts because I need a back interface for the webapps to talk to the db. But my default routes are all set the same . I have one apache server that hits two tomcat servers and then another apache sever that has two other tomcat servers. Once I start that apache servers everything is fine , for a few hours . After a few hours the tomcat servers start to time out. I can get to the apache index page but as soon as I ask the apache server to make a request to a webapp on the tomcat servers is just sits there and times out. Sometimes the webapp does pop up but very slowly. I have examined the routing tables , I have done traceroutes I have pin pointed my problem down to the application layer. So I must be doing something wrong in my configuration. I checked over my configuration a hundred times and I did it exactly the way the book told me to professional apache tomcat 5 . This all worked on my testing environment , but it is not working now. I have included a very small tar file that has my config files . If any of you can give me an example of a working config or tell me what I am doing wrong I would greatly appreciate it . -Pablo - 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: response.sendRedirect()
Sorry, I did more test about the problem. I have one JSP(jspa) and (jspb) from jsp I do an include of jspb and from jspb I have a sendRedirect(www.google.com). If I invoke to http:///../jspa.jsp it doesn't work, but If I invoke directly to http://..//jspb.jsp It works ok. best regard Ben Souther ([EMAIL PROTECTED]) escribi? Without seeing the rest of your code, I'll guess that the problem is that you've started the relative link with a /. Try without it. If you have to back up a directory use ../jknopkn/prueba.jsp. On Wed, 2004-10-06 at 11:11, Pablo Carretero Sánchez wrote: Hi, I don't test in other Tomcat version. I'm trying a sendRedirect() in one JSP. And it doesn't work. The code is: response.sendRediredt(/jknopkn/prueba.jsp); QM ([EMAIL PROTECTED]) escribió: On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote: : I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. : : It doesn't work in my appl. What, specifically, doesn't work? Did this same code work in a previous version of Tomcat 5.0.x? etc, etc. We're all pretty sharp here, but I don't think any of us are clairvoyant. ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - 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] -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
response.sendRedirect()
Hi, I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. It doesn't work in my appl. Can anyone help me. Thanks a lot -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: response.sendRedirect()
Hi, I don't test in other Tomcat version. I'm trying a sendRedirect() in one JSP. And it doesn't work. The code is: response.sendRediredt(/jknopkn/prueba.jsp); QM ([EMAIL PROTECTED]) escribió: On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote: : I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. : : It doesn't work in my appl. What, specifically, doesn't work? Did this same code work in a previous version of Tomcat 5.0.x? etc, etc. We're all pretty sharp here, but I don't think any of us are clairvoyant. ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sticky sessions with a persistent session manager and a shared file store
Hi Folks, I am a little stumped so I decided to swallow my pride and ask the collective. I am trying to configure tomcat 5.0.25 to have sticky sessions with a persistent session manager and a shared file store. I want to accomplish this using nfs. I set up the tomcat servers , the nfs mounts and I did the following 1) add distributable/ to the applications web.xml 2) server xml added the following right before the end of the Host element . Right above /Host !-- Following added by Pablo -- Context docBase=jsp-examples path=/jsp-examples Manager className=org.apache.catalina.session.PersistentManager Store classname=org.apache.catalina.session.FileStore directory=/usr/local/nfs / /Manager /Context !-- end Of entry made by Pablo -- /Host These are the instructions that were in my Professional Apache Tomcat 5 book. I tried to start up tomcat and it would not budge. Output of the catalina.out at the bottom of this email. I also tried the directions from http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html in conjunction to the information in my tomcat 5 book. No dice. I looked in the web and the only thing that I was able to find was the following http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html?page=2 notice the section that states Saving the session state to a shared file system (org.apache.catalina.session.FileStore, part of catalina-optional.jar). this bullet is under Session Replication in Tomcat. So I went to my /usr/local/tomcat/common/lib directory and I was unable to find that jar file. I am a little frustrated because there is such a lack of documentation on the web regarding this issue on tomcat 5. Is there any of you with experience on this topic that may be able to point me in the right direction? Any help would be greatly appreciated. -Pablo Output from catalina.out [EMAIL PROTECTED] /usr/local/tomcat/logs]# cat catalina.out Sep 23, 2004 1:43:15 PM org.apache.commons.digester.Digester startElement SEVERE: Begin event threw exception java.lang.NullPointerException at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo ader.java:769) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo ader.java:721) at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java :252) at org.apache.commons.digester.Rule.begin(Rule.java:200) at org.apache.commons.digester.Digester.startElement(Digester.java:1273) at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester. java:65) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(U nknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.Catalina.load(Catalina.java:489) at org.apache.catalina.startup.Catalina.load(Catalina.java:528) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424) Catalina.start using conf/server.xml: java.lang.NullPointerException java.lang.NullPointerException at org.apache.commons.digester.Digester.createSAXException(Digester.java: 2540) at org.apache.commons.digester.Digester.createSAXException(Digester.java: 2566) at org.apache.commons.digester.Digester.startElement(Digester.java:1276) at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester. java:65) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(U nknown Source
JSP Implicit import
Hi, do know if can I import java packages in a implicit way in a JSP?? I means, I'm working with a Bea Weblogic application, and I want run this app in Tomcat. There are several jsp in Bea using Vector without the import java.utils.Vector. This jsp works fine in Bea but not in Tomcat. Do you know why?? Best regards. -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why tomcat 4 or even 3?
Sometimes there are old sw, in old servers, that was not upgraded for some (stupid?) reason. Some examples: - if the client does not pay for the upgrade - if there are a old compiled webapp that cannot be replaced Regards, Paul John Villar escribió: Hmm that seems a valid argument however, i want to know what every other person in the mailing list says. i don't think that every T4 user has HP-UX (its a posibillity, however, i've seen comments like i run tomcat 4.1.x on W2K) John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com Wendy Smoak escribió: From: John Villar [EMAIL PROTECTED] A question to everyone out there. why does anyone use nowadays Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull and backwards compatible? that question has haunted me from the beginning of joining this list. Because we're on HP-UX and they have not yet officially blessed Tomcat 5. That, and Tomcat 4 works perfectly well, I haven't found sufficient motivation to test everything on TC5 and start developing with the new features yet. - 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: Why tomcat 4 or even 3?
Sometimes one dont need to be faster. I'm talking about a old legacy app (not critical - intranet), running very well for a couple of years in the same old server. John Villar escribió: Yep, that's true but T5 is way faster than T4 or T3 and is comparable to Apache (Yoav's word, not threefold speeds anymore LOL) John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why tomcat 4 or even 3?
John Villar escribió: ... the recompile problem: that wouldn't happen if you had a good software provider i'm against any provider that forces their customers to stick to an old dying tomcat revision. ... That's right. But, in real life, sometimes we have not choice :D Good providers may go away too, or even turn in BAD providers... In open source apps thats is not a big problem... But with closed source... grasp! BTW, I always recommend stay upgraded, if that can be done ;) Regards, Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
pageContext.getSession()
Hi all, I'm migrating an application from Weblogic 5.1 to Tomcat 5. can I use pageContext.getSession() in tomHi all, I'm migrating an application from Weblogic 5.1 to Tomcat 5. can I use pageContext.getSession() in tomcat 5??cat 5?? I'm using it and the Session returned is null- Best regards -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pageContext.getSession()
Hi, Yes I'm calling this from a JSP. But i don't understand you. How can I setup the session in the jsp. QM ([EMAIL PROTECTED]) escribió: On Tue, Sep 14, 2004 at 02:24:03PM +0200, Pablo Carretero S?nchez wrote: : I'm migrating an application from Weblogic 5.1 to Tomcat 5. can I use : pageContext.getSession() in tomcat 5??cat 5?? Isn't this call in the servlet spec? ;) Yes, it should work. What's the relevant code? I'd suspect you're calling this from a JSP? Are you certain a session has even been setup when this JSP is called? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jakarta-tomcat-5.0.25, apache2.0.49 ,mod_jk2 , solaris9 and channelApr.receive errors
Hi Folks, I am having some problems with tomcat and apache. I keep experiencing problems like apache all of a sudden not serving https to tomcat pages via mod_jk2 . I have been forced to restart my production servers (restart processes) a few times this week in order to fix these issues. Here is what I get in my apache error logs. [Wed Sep 08 12:50:39 2004] [notice] shm.createSlot() found existing slot epStat.21 [Wed Sep 08 12:50:39 2004] [notice] workerEnv.init() create slot epStat.2 [Wed Sep 08 12:50:39 2004] [notice] channelApr.open(): create tcp socket 6327512 [Wed Sep 08 12:50:39 2004] [notice] channelApr.open(): create tcp socket 6319064 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=143 type=4 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=3161 type=3 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=2 type=5 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=126 type=4 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=1028 type=3 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=2 type=5 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 0 epStat.0 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 8192 epStat.3 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 16384 epStat.3605 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 24576 epStat.3610 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 32768 epStat.3611 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 40960 epStat.19 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 49152 epStat.18 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 57344 epStat.16 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 65536 epStat.14 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 73728 epStat.33 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 81920 epStat.21 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 90112 epStat.20 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 98304 epStat.3602 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 106496 epStat.17 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 114688 epStat.15 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 122880 epStat.3612 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 131072 epStat.28 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 139264 epStat.27 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 147456 epStat.3645 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 155648 epStat.41 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 163840 epStat.31 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 172032 epStat.25 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 180224 epStat.43 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 188416 epStat.3624 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 196608 epStat.3607 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 204800 epStat.29 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 212992 epStat.26 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 221184 epStat.22 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 229376 epStat.13 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 237568 epStat.35 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 245760 epStat.32 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 253952 epStat.39 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 262144 epStat.34 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 270336 epStat.3608 [Wed Sep 08 13:17:55 2004] [notice] shm.createSlot() Created slot 35 [Wed Sep 08 13:17:55 2004] [notice] workerEnv.init() create slot epStat.38 [Wed Sep 08 13:17:55 2004] [notice] channelApr.open(): create tcp socket 6327512 [Wed Sep 08 13:17:55 2004] [notice] channelApr.open(): create tcp socket 6319064 [Wed Sep 08 13:17:55 2004] [notice] channelApr.receive(): Received len=127 type=4 [Wed Sep 08 13:17:55 2004] [notice] channelApr.receive(): Received len=1031 type=3 [Wed Sep 08 13:17:55 2004] [notice] channelApr.receive(): Received len=2 type=5 I am not getting any errors in my tomcat logs. Any help woould be greatly appreciated . -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
channelApr.receive errors
Hi guys, I am getting really strange errors in my apache errors log from my mod_jk2 config. Have any of you ever seen this ? It is affecting services on my machines. [Wed Sep 08 12:50:39 2004] [notice] shm.createSlot() found existing slot epStat.21 [Wed Sep 08 12:50:39 2004] [notice] workerEnv.init() create slot epStat.2 [Wed Sep 08 12:50:39 2004] [notice] channelApr.open(): create tcp socket 6327512 [Wed Sep 08 12:50:39 2004] [notice] channelApr.open(): create tcp socket 6319064 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=143 type=4 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=3161 type=3 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=2 type=5 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=126 type=4 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=1028 type=3 [Wed Sep 08 12:50:39 2004] [notice] channelApr.receive(): Received len=2 type=5 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 0 epStat.0 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 8192 epStat.3 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 16384 epStat.3605 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 24576 epStat.3610 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 32768 epStat.3611 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 40960 epStat.19 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 49152 epStat.18 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 57344 epStat.16 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 65536 epStat.14 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 73728 epStat.33 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 81920 epStat.21 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 90112 epStat.20 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 98304 epStat.3602 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 106496 epStat.17 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 114688 epStat.15 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 122880 epStat.3612 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 131072 epStat.28 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 139264 epStat.27 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 147456 epStat.3645 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 155648 epStat.41 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 163840 epStat.31 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 172032 epStat.25 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 180224 epStat.43 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 188416 epStat.3624 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 196608 epStat.3607 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 204800 epStat.29 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 212992 epStat.26 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 221184 epStat.22 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 229376 epStat.13 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 237568 epStat.35 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 245760 epStat.32 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 253952 epStat.39 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 262144 epStat.34 [Wed Sep 08 13:17:55 2004] [notice] shm.getSlot() found existing slot 270336 epStat.3608 [Wed Sep 08 13:17:55 2004] [notice] shm.createSlot() Created slot 35 [Wed Sep 08 13:17:55 2004] [notice] workerEnv.init() create slot epStat.38 [Wed Sep 08 13:17:55 2004] [notice] channelApr.open(): create tcp socket 6327512 [Wed Sep 08 13:17:55 2004] [notice] channelApr.open(): create tcp socket 6319064 [Wed Sep 08 13:17:55 2004] [notice] channelApr.receive(): Received len=127 type=4 [Wed Sep 08 13:17:55 2004] [notice] channelApr.receive(): Received len=1031 type=3 [Wed Sep 08 13:17:55 2004] [notice] channelApr.receive(): Received len=2 type=5 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TAG Lib problem
) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Do you know something about this error. I'll apprecite any help. Best regards and thank a lot. ciao .pcs -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TAG Lib problem
Hi Brice, yes it's work, I tried it. The real problem, is that I'm working in app. migration from BEA to Tomcat, my appy is in real environment and If I change the attribute in the tld, I need change the attribute in all my jsp, that is very power change. I appreciate your info, but do you know any other work around. Thank a lot. ciao .pcs Ruth, Brice ([EMAIL PROTECTED]) escribió: You may be having a problem with the case of your tag attribute. Try changing the case of the attribute to all lower-case: titulo and see if that helps. Pablo Carretero Sánchez wrote: Hi all, I have a problem with the Jasper compiler when I try to compile a JSP using TagLibs. The configuration is: Tomcat 5.0.19, JSDK 1.4.2. I have a simple application with: .- 1 TLD: tag nameOperacion/name tag-classcom.kutxa.kn.comun.tags.TituloOperacionTag/tag-class attribute nameMasInfo/name requiredfalse/required /attribute attribute nameTitulo/name requiredfalse/required rtexprvaluetrue/rtexprvalue /attribute attribute nameAncho/name requiredfalse/required rtexprvaluetrue/rtexprvalue /attribute attribute nameSalto/name requiredfalse/required /attribute attribute nameVolverInicio/name requiredfalse/required rtexprvaluetrue/rtexprvalue /attribute /tag JSP: With on reference to the TLD: cod:Operacion Titulo=_T_DETALLE Salto=false VolverInicio=false JAVA TAG CLASS: With one attribute and method: - String Titulo - public void setTitulo(...){ } - public String getTitulo(...){ } When the jasper compile the JSP I have one error: ...Unable to find setter method for attribute org.apache.jasper.JasperException: /jkn_opkn/tmpl/es/posglobal.jsp(433,0) Unable to find setter method for attribute: Titulo at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150) at org.apache.jasper.compiler.Generator$GenerateVisitor.evaluateAttribute(Generator.java:2674) at org.apache.jasper.compiler.Generator$GenerateVisitor.generateSetters(Generator.java:2822) at org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomStart(Generator.java:2156) at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1667) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1687) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219) at org.apache.jasper.compiler.Node$Root.accept(Node.java:456) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Generator.generate(Generator.java:3269) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510
Re: How can I inhibit web navegation?
Another quick hack: just add en empty index.html (or .jsp) file. BTW, see http://jakarta.apache.org/tomcat/faq/misc.html#listing first. Shapira, Yoav escribió: http://jakarta.apache.org/tomcat/faq/misc.html#listing Yoav Shapira Millennium Research Informatics -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 9:35 AM To: 'Tomcat Users List' Subject: How can I inhibit web navegation? Hello, I have a web application that runs under jakarta-tomcat-5.0.19. The root of my application is: /opt/jakarta-tomcat-5.0.19/webapps/provision/ I can access the application through: http://135.88.100.251:8080/provision/web/login.jsp Now, I don't want the user to be able to navigate through my application. For instance, if he enters: http://135.88.100.251:8080/provision/web/ I don't want him to see the directories (or even the files) in it. I think they must be a Context parameter that can do it but I don't know how. Could you help? Thanks Elisabeth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with started
Hello What`s mean this problem?? when i load the page at localhost:8080/opennms the screnn is all white and the error in logs is this. Thanks for all. 2004-05-13 09:04:24 StandardHost[localhost]: Removing web application at context path /ROOT/opennms 2004-05-13 09:04:24 StandardHost[localhost]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[/ROOT/opennms] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) at org.apache.catalina.core.StandardService.stop(StandardService.java:554) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
load balancing with jk2
Hello , I am currently running tomcat 5.0.19 , apache 2.0.49 on a redhat 9 box. I have been succesful in geting mod_jk to work for a single instance of tomcat but as soon as I add a second instance in my workers2.properties I get a very interesting problem. I can get to both tomcat instance but I am unable to maintain a session . The way I know this is because I go to the jsp-examples and I test out the Carts app. Everytime I add a video to the shopping cart only one item appears instead of a second item added. I have tried to keep my config as vanilla a possible to keep it simple. The only thing that I have done to my server.xml is what is described in the session replication how to from the tomcat website: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html If you check out that web page you will see a link for load balancing . Once you click on it you see that if you want to do load balancing with mod_jk2 then it refers you to the JK Documentation instead of providing a link. I have been unable to find any load balancing documentation in here : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html maybe I am just missing something. I noticed that in my server.xml there is a portion that is commented out and is specific to JK2 load balancing . !-- You should set jvmRoute to support load-balancing via JK/JK2 ie : Engine name=Standalone defaultHost=localhost:8009 debug=0 jvmRoute=jvm1 -- Everytime I make an attempt to uncomment this tomcat will not start. Regardless this is what my workers2.properties looks like. #INSTANCE 1 #Socket Channel, explicity set port and host [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8009 lb_factor=1 #define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 #INSTANCE 2 #Socket Channel, explicity set port and host [channel.socket:localhost:8019] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8019 lb_factor=1 #define the worker [ajp13:localhost:8019] channel=channel.socket:tomcat2:8019 [logger] level=DEBUG [config:] file=/usr/local/apache2.0.49/conf/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=0 # Alternate file logger [logger.file:0] level=DEBUG file=/usr/local/apache2.0.49/logs/jk2.log #Share memory handling. Needs To be set. [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=/usr/local/apache2.0.49/logs/jk2.shm size=1048576 debug=0 disabled=0 [workerEnv:] info=Global server options timing=1 debug=0 [status:status] info=Status worker, displays runtime informations ## [uri:/jkstatus/*] info=Display status information and checks the config file for changes group=status: worker=status:status ## [uri:/jsp-examples] info=Example webapp in the default context. context=/examples debug=0 [uri:/jsp-examples/servlet/*] info=Prefix mapping [uri:/jsp-examples/*.jsp] info=Extension mapping [uri:/jsp-examples/*] info=Map the whole webapp ## any help would be greatly appreciated. -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
load balancing with jk2
Hello , I am currently running tomcat 5.0.19 , apache 2.0.49 on a redhat 9 box. I have been succesful in geting mod_jk to work for a single instance of tomcat but as soon as I add a second instance in my workers2.properties I get a very interesting problem. I can get to both tomcat instance but I am unable to maintain a session . The way I know this is because I go to the jsp-examples and I test out the Carts app. Everytime I add a video to the shopping cart only one item appears instead of a second item added. I have tried to keep my config as vanilla a possible to keep it simple. The only thing that I have done to my server.xml is what is described in the session replication how to from the tomcat website: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html If you check out that web page you will see a link for load balancing . Once you click on it you see that if you want to do load balancing with mod_jk2 then it refers you to the JK Documentation instead of providing a link. I have been unable to find any load balancing documentation in here : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html maybe I am just missing something. I noticed that in my server.xml there is a portion that is commented out and is specific to JK2 load balancing . !-- You should set jvmRoute to support load-balancing via JK/JK2 ie : Engine name=Standalone defaultHost=localhost:8009 debug=0 jvmRoute=jvm1 -- Everytime I make an attempt to uncomment this tomcat will not start. Regardless this is what my workers2.properties looks like. #INSTANCE 1 #Socket Channel, explicity set port and host [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8009 lb_factor=1 #define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 #INSTANCE 2 #Socket Channel, explicity set port and host [channel.socket:localhost:8019] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8019 lb_factor=1 #define the worker [ajp13:localhost:8019] channel=channel.socket:tomcat2:8019 [logger] level=DEBUG [config:] file=/usr/local/apache2.0.49/conf/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=0 # Alternate file logger [logger.file:0] level=DEBUG file=/usr/local/apache2.0.49/logs/jk2.log #Share memory handling. Needs To be set. [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=/usr/local/apache2.0.49/logs/jk2.shm size=1048576 debug=0 disabled=0 [workerEnv:] info=Global server options timing=1 debug=0 [status:status] info=Status worker, displays runtime informations ## [uri:/jkstatus/*] info=Display status information and checks the config file for changes group=status: worker=status:status ## [uri:/jsp-examples] info=Example webapp in the default context. context=/examples debug=0 [uri:/jsp-examples/servlet/*] info=Prefix mapping [uri:/jsp-examples/*.jsp] info=Extension mapping [uri:/jsp-examples/*] info=Map the whole webapp ## any help would be greatly appreciated. -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: load balancing with jk2
Thank you . It was exactly what I needed to get over the hump. I just did as you said and tested it. Thanx a million . On Mar 30, 2004, at 1:45 PM, Chris Egolf wrote: pablo wrote: maybe I am just missing something. I noticed that in my server.xml there is a portion that is commented out and is specific to JK2 load balancing . !-- You should set jvmRoute to support load-balancing via JK/JK2 ie : Engine name=Standalone defaultHost=localhost:8009 debug=0 jvmRoute=jvm1 -- Make sure that for each instance of Tomcat, there is a unique jvmRoute attribute in the Engine element of each instance's server.xml. The jvmRoute corresponds to the tomcatId setting in your workers2.properties file (see below). The jvmRoute needs to be unique for each instance. Also, if you're just uncommenting the above in your server.xml, you'll need to comment out the other Engine section that doesn't have the jvmRoute attribute. Maybe that's why Tomcat won't start. Everytime I make an attempt to uncomment this tomcat will not start. Regardless this is what my workers2.properties looks like. #INSTANCE 1 #Socket Channel, explicity set port and host [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8009 ^^ This should be the jvmRoute setting you specified in this instance's server.xml. The other instance below should have a unique tomcatId as well. In other words, you've got at least two separate server.xml files, one for each instance of Tomcat on localhost. For instance 1, edit the Engine section and add jvmRoute=jvm1. For instance 2, edit the Engine section and add jvmRoutejvm2. Then, in your workers2.properties file, change the tomcatId=jvm1 and tomcatId=jvm2 in each instance's section. Hope that's clear. -- === = Chris Egolf http://www.ugholf.net [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]
clustering/replication tomcat 5
Hi folks, I am looking for a step by step on how to do tomcat clustering/replication . I am unable to find anything decent on the web nor in my books (being that they are still tomcat 4 specific ). If anybody has a quick down and dirty on these procedures please let me know. -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
session replication
Hello , I am running tomcat 5 and I am trying to figure out how to configure session replication . Unfortunately the Filip Hanik website that has all that good info either no longer exists or it has moved. Any help on getting the How to would be greatly appreciated. -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: session replication
I was hoping to find something other than just an instructions to uncomment a few lines . On Mar 25, 2004, at 12:28 PM, Erin O'Neill wrote: Here's an interesting thing -- I just make the change of adding to /etc/profile: the JAVA_HOME CATALINA_HOME, restarted tomcat and the JSP example that normally fails works. If I reload the page and it fails with the compiler not found error but if I go back and reclick it works (this is on 5.0.16). I guess I have to deploy my little test app. I've got it showing up in the manager but never compiling ... erin - who thinks this JSP example compiling may be a fluke... I'm going back to the tutorial and see if they offer any more tidbits! At 11:47 AM 3/25/2004 -0500, you wrote: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Yoav Shapira Millennium Research Informatics -Original Message- From: pablo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 11:46 AM To: [EMAIL PROTECTED] Subject: session replication Hello , I am running tomcat 5 and I am trying to figure out how to configure session replication . Unfortunately the Filip Hanik website that has all that good info either no longer exists or it has moved. Any help on getting the How to would be greatly appreciated. -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - 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]
Two database connectors for tomcat + cocoon
Hi!! I'm using tomcat 4.1 under windows 98, with cocoon 2.0.1 , and jvm 1.4.2. I tried to add connection pool for MS SQL 2000 server. I'm using the connection driver provided by Microsoft in http://www.microsoft.com/downloads/details.aspx?FamilyID=9f1874b6-f8e1-4bd6- 947c-0fc5bf05bf71DisplayLang=en. I've added that connector to cocoon.xconf, and the driver to web.xml, and It really stablish the pool (I can see it into SQL Server processes), but I can't compile anything. I only obtain an OutOffMemoryError from console. I tried even with a pool with only one connection. Please, help me. Pablo E. Siciliano. Depto. Programación. puentenet.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Two database connectors for tomcat + cocoon
I solved it adding SET JAVA_OPTS= -server -Xms512m -Xmx512m in my autoexec.bat file. - Original Message - From: Pablo E. Siciliano [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:40 PM Subject: Two database connectors for tomcat + cocoon Hi!! I'm using tomcat 4.1 under windows 98, with cocoon 2.0.1 , and jvm 1.4.2. I tried to add connection pool for MS SQL 2000 server. I'm using the connection driver provided by Microsoft in http://www.microsoft.com/downloads/details.aspx?FamilyID=9f1874b6-f8e1-4bd6- 947c-0fc5bf05bf71DisplayLang=en. I've added that connector to cocoon.xconf, and the driver to web.xml, and It really stablish the pool (I can see it into SQL Server processes), but I can't compile anything. I only obtain an OutOffMemoryError from console. I tried even with a pool with only one connection. Please, help me. Pablo E. Siciliano. Depto. Programación. puentenet.com - 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: running tomcat5 as a user other than root
Thanx for putting it back on the site On Jan 13, 2004, at 10:37 AM, Shapira, Yoav wrote: Howdy, However, commons-deamon is not listed on http://jakarta.apache.org/site/sourceindex.cgi I still don't know why it wasn't there, but I've added it back. Both source and binary downloads are now available via the main site (which they have been for a while) as well as mirrors accessed via the above URL. Note that the nightly builds have been available as well at the usual URL, http://cvs.apache.org/builds/jakarta-commons/nightly/commons-daemon/ Right now there are only .tar.gz distro for daemon. Thanks for pointing out that their links were missing from the mirrors. Yoav Shapira 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jsvc Problem from tomcat5
Hi Guys, I have not been able to run jsvc on Solaris8 with the latest patches. I followed the installation instructions from http://jakarta.apache.org/commons/daemon/jsvc.html and from the INSTALL.txt from source that came with tomcat5 binary. I have all the apropriate gnu tools installed and I am using the j2sdk1.4.2_2. This is what happens. Any Suggestions? bash-2.05$ ./jsvc -help Usage: jsvc [-options] class [args...] Where options include: -jvm JVM name use a specific Java Virtual Machine. Available JVMs: Segmentation Fault (core dumped) bash-2.05$ Any suggestions would be appreciated. -Pablo
running tomcat5 as a user other than root
Hi guys, I am trying to run tomcat 5 as any user other than root on my sun box so that I can configure mod_jk2 using unix sockets rather than channel sockets. (referencehttp://www.cymulacrum.net/tomcat/tomcat_mod_jk2.html ). I have tried doing many things in my init scripts like a su -c tomcat $TOMCAT_HOME/bin/startup.sh but I have been unsuccessful. I know it is probably something stupid or simple that I am just missing , but I am just not seeing it. If any of you know how to do this and would like to share how , I would greatly appreciate it. -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Xmx and Xms setting in tomcat 5.0.16
Hey Folks, I am currently running tomcat 5.0.16 and I am not quite sure how to set the memory parameters at start time nor how to test if they worked. If anybody out there has a good unix startup script with an example I would greatly appreciate it. -Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Directory listings and virtual hosts
I have Linux server running Tomcat 4.1.24 with several virtual hosts. I want to disable directory listings in all but one specific virtual host. Does anybody know if this is possible?. The only thing I could do was to disable or enable entirely the directory listings by setting the listings parameter to false in $CATALINA_HOME/conf/web.xml Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 tomcat4.1.29 apache2.0.48
Hey Folks, I am having a bit of a challenge setting up mod_jk2 . It seems very different from its predecessor mod_jk. I try putting diectives in my httpd.conf just like I did with mod_jk and all I get is an error stating that the objective is for a module that does not exist or it is mispelled. Could someone please guide me to the a definitive guide on mod_jk2 , or even a snip at what my httpd.conf is supposed to look like I would greatly appreciate it thank you , Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 tomcat4.1.29 apache2.0.48
Hey Folks, I am having a bit of a challenge setting up mod_jk2 . It seems very different from its predecessor mod_jk. I try putting diectives in my httpd.conf just like I did with mod_jk and all I get is an error stating that the objective is for a module that does not exist or it is mispelled. Could someone please guide me to the a definitive guide on mod_jk2 , or even a snip at what my httpd.conf is supposed to look like I would greatly appreciate it thank you , Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: E-Mail to CompuServe Customer Service
I agree, I've been receiving bogus replies through other addresses that act in the same way: I'm supposedly the original sender of the mail, but of course the headers show I'm not. filter /dev/null On Friday 22 August 2003 1:49 pm, Eric J. Pinnell wrote: Yup. It looks like an auto-responder getting flooded by sobig. So the virus is hitting compuserver support and the (forged) Reply-To is the list address. Otherwise we'd get the attachment. -e On Fri, 22 Aug 2003, Mike Curwen wrote: Is this http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED] tml ?? -Original Message- From: CompuServe Customer Service [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 12:27 PM To: Tomcat Users List Subject: E-Mail to CompuServe Customer Service - 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] -- Pablo Mayrgundter Director of Applications and Services www.reeltwo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Userdatabase
you can set it in tomcat-users.xml, e.g.: ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=manager/ role rolename=admin/ user username=user password=pass roles=admin,manager/ /tomcat-users On Wednesday 20 August 2003 3:45 pm, Sjoerd van Leent wrote: I installed the last binary build on my system, however, I need access to the manager web application, but I don't know the username/password. Where can I find this, or what is this password in general? Sjoerd van Leent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Pablo Mayrgundter Director of Applications and Services www.reeltwo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat cannot find subclass
One of the classes in that package, ServletSelectAnswerFormatter, generates an HTML select. I get the options by invoking a method designed to be overridden in a subclass. My current project has such a subclass, CountryServletSelectAnswerFormatter, which resides in WEB-INF/classes/com/stortek/ilm/userresponse for the correct context. When the servlet runs, I get a ClassNotFoundException: Class not found: com.stortek.ilm.userresponse.CountrySelectServletAnswerFormat ter Is this mistyped? Above, you have CountrySelectServlet... not found, but you say it's actually called CountryServletSelect... (Servlet and Select are swapped), so it's right that it not be found. -- Pablo Mayrgundter Director of Applications and Services www.reeltwo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [File Upload] How to Increase the Speed of File transfer ??
I want some suggestion about below factors: 1.Iam sending file to server as block wise of 1024 bytes and my servlet also writes file in remote destination folder as a block wise of 1024 bytes.If I increase the block size then is it increase the speed ? Yeah.. test with higher block sizes. 2. I have used DataOutputStream for writing on outputstream and InputStream for reading,if I used BufferWriter and BufferReader then is it increase the speed ? Defnitely a good idea. -- Pablo Mayrgundter Director of Applications and Services www.reeltwo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Calendar Tool?
I've attached the beginnings of a community calendar I've been working on. The calendar arithmetic, which is the tricky part, has been taken care of. The style design needs work. The rest of the typical featuers, e.g. events, should probably be handled separately, with a DB, etc. On Tuesday 19 August 2003 3:33 pm, Rick Roberts wrote: Anyone know of a decent calendar tool / server that would integrate well with java/jsp/jdbc/tomcat? Thanks, -- Pablo Mayrgundter Director of Applications and Services www.reeltwo.com [EMAIL PROTECTED] import=java.text.*, java.util.* % jsp:include page=header.html.part / % Date d = new Date(); SimpleDateFormat df = new SimpleDateFormat(); GregorianCalendar monthCal = new GregorianCalendar(); monthCal.setTime(d); monthCal.set(monthCal.DAY_OF_MONTH, 1); GregorianCalendar utilCal = new GregorianCalendar(); utilCal.setTime(monthCal.getTime()); df.applyPattern(MM ); % center h1Community Calendar/h1 h2%= df.format(d) %/h2 table width=75% height=75% cellpadding=5 cellspacing=0 class=calendar % // Set calendars back to the Sunday preceeding the 1st. do { monthCal.roll(monthCal.DAY_OF_WEEK, false); utilCal.roll(monthCal.DAY_OF_WEEK, false); } while(monthCal.get(monthCal.DAY_OF_WEEK) != monthCal.SUNDAY); // Write out the calendar. df.applyPattern(E); for (int week = 0; week 7; week++) { % tr % for (int day = 0; day 7; day++) { if (week == 0) { % th width=14% height=5%%= df.format(utilCal.getTime()) %/th % utilCal.roll(utilCal.DAY_OF_WEEK, true); } else { % td height=15.8% align=left valign=top%= monthCal.get(monthCal.DAY_OF_MONTH) %/td % monthCal.roll(monthCal.DAY_OF_MONTH, true); } } % /tr % } % /table /center jsp:include page=footer.html.part / .calendar th { background-color: #ccc; } .calendar td { padding: 3px; border: solid 1px black; font-size: 8pt; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NOTE: Aliases not implemented in 5.0.3 and earlier.
Hi, I just spent a bit of time trying to figure out why the Alias command in server.xml wasn't causing the proper virtual hosting to work. Turns out that it wasn't implemented until 5.0.4. Bummer. Just posting this in case anyone else is browsing the archives for the same problem. From the series 5 ChangeLog at: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html 5.0.4 Coyote Add support for mapping host aliases (remm) -- Pablo Mayrgundter Director of Applications and Services www.reeltwo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error when I starting Jakarta-tomcat
bad interpreter makes me think your java installation isn't setup correctly. Can you run a test Java program? On Monday 18 August 2003 2:40 pm, Luong Phan wrote: Hi all, I am having problem starting TOMCAT, I installed j2sdk1.4.2 and jakarta-tomcat-3.2.4 on the Redhat Linux 7.3. Those two directories are located at the /usr/java. I set the envoroment variables in the /.bash_profile as the following: JAVA_HOME=/usr/java/j2sdk1.4.2 TOMCAT_HOME=/usr/java/jakarta-tomcat-3.2.4 CLASSPATH=$JAVA_HOME/lib/tools.jar:$TOMCAT_HOME/lib/servlet.jar export JAVA_HOME TOMECAT_HOME CLASSPATH Every time I try [EMAIL PROTECTED] root]# $TOMCAT_HOME/bin/startup.sh I get the massage: bad interpreter, permision denied Please help me! LuongPhan - Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. -- Pablo Mayrgundter Director of Applications and Services www.reeltwo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
bc4j and tomcat
Hello People! Has anyone ever did bc4j and tomcat integration? I had already checked all documentation in OTN but nothing works. I believe that there is some hint hidden somewhere... I would like to hear from people who have already make it work in fact please! :) ps: Everything I want to start is to deploy a simple BC4J browse/edit application generated by JDeveloper. []s Pablo Pablo Gomes Ludermir mailto:[EMAIL PROTECTED] INFLOR Consultoria e Sistemas Ltda. Rua Dr. Eurico de Aguiar, 888 - Sala 1004 Santa Lúcia - Vitória - ES Cep: 29055-280 Tel: (27) 3225-7115 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tiles strut
i'm using tiles struts, and i cannot add html headers to the response. ethereal shows in response the headers does not appear where should i add them? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html:errors/
hi i want access the error list written by the html:errors/ tag usign java, not the tag (i wanna submit exceptions by mail automatically). how is that? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DBCP: pool exhausted
Hi all, i'm new in the list. I receive a java.sql.SQLException: DBCP could not obtain an idle db connection, pool exhausted using a resource org.apache.commons.dbcp.BasicDataSourceFactory even closing the connections, having removeAbandoned in true, but nothing happens. The connexions remains sleeping (not running) and are never freed. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: tomcat setup problem
Is there any sample for connecting Tomcat with Apache via TCP/IP with the Apache API? Thanks, Pablo -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Building Tomcat 4.0.3
Im trying to build Tomcat 4.0.3, and following the instructions I reached a step that says I need to download the JMX 1.1 Maintenance Release Instrumentation and Agent Reference Implementation Binary from Sun, thru the link http://java.sun.com/products/JavaManagement/download.html After logging in the system, the zip file is not found. Could anyone send me the zip file? Thanks, Pablo -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: JkMount + Alias
- Original Message - From: Pablo Schor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 14, 2002 1:29 PM Subject: JkMount + Alias I've installed Tomcat 4.0.3 and Apache 1.3.24 in two different boxes with Win2000. Jsp and static objects are in the same directory. I want Apache to serve static objects and Tomcat to serve jsps and other java classes. When there's no Alias command in the httpd.conf file, jsps work fine, but with the Alias enabled, the browser shows jsps as a static page. Is there a workaround or do I have to separate jsps and static objects in different directories? Thanks, Pablo Schor httpd.conf : JkWorkersFile C:/Apache/conf/workers.properties JkLogFile C:/Apache/logs/mod_jk.log JkLogLevel warn Alias /webdav J:/jakarta-tomcat-4.0.3/webapps/webdav Directory J:/jakarta-tomcat-4.0.3/webapps/webdav Options Indexes FollowSymLinks DirectoryIndex index.jsp index.html index.htmn /Directory # Deny direct access to WEB-INF and META-INF # Location /webdav/WEB-INF/* AllowOverride None deny from all /Location Location /webdav/META-INF/* AllowOverride None deny from all /Location JkMount /webdav/servlet ajp13 JkMount /webdav/servlet/* ajp13 JkMount /webdav/*.jsp ajp13 -- 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]
JkMount + Alias
I've installed Tomcat 4.0.3 and Apache 1.3.24 in two different boxes with Win2000. Jsp and static objects are in the same directory. I want Apache to serve static objects and Tomcat to serve jsps and other java classes. When there's no Alias command in the httpd.conf file, jsps work fine, but with the Alias enabled, the browser shows jsps as a static page. Is there a workaround or do I have to separate jsps and static objects in different directories? Thanks, Pablo Schor httpd.conf : JkWorkersFile C:/Apache/conf/workers.properties JkLogFile C:/Apache/logs/mod_jk.log JkLogLevel warn Alias /webdav J:/jakarta-tomcat-4.0.3/webapps/webdav Directory J:/jakarta-tomcat-4.0.3/webapps/webdav Options Indexes FollowSymLinks DirectoryIndex index.jsp index.html index.htmn /Directory # Deny direct access to WEB-INF and META-INF # Location /webdav/WEB-INF/* AllowOverride None deny from all /Location Location /webdav/META-INF/* AllowOverride None deny from all /Location JkMount /webdav/servlet ajp13 JkMount /webdav/servlet/* ajp13 JkMount /webdav/*.jsp ajp13 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: TomcatIIS (on different computers )
Nacho, tal vez me puedas ayudar, tengo Tomcat y Apache en distintas maquinas con mod_jk, los JSPs funcionan bien, pero cuando quiero mapear con Alias los objetos estaticos, me toma los JSPs como estaticos tambien, alguna sugerencia? Gracias, Pablo - Original Message - From: Ignacio J. Ortega [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 9:21 AM Subject: RE: TomcatIIS (on different computers ) De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 15 de mayo de 2002 8:13 Substitute localhost in your worker.properties with the ip or name of the host where tomcat resides.. Saludos , Ignacio J. Ortega -- 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]
Intallation of Tomcat
Where can I find complete guide to install Jakarta Tomcat? Regards, Pablo. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Unpack WARs
Please, a Yes or No will do. I'm sure this is a very simple thing for you proffessional users ;) Using the below settings... is TC4 supposed to unpack my WARs or not??? (I just can't get it to do so) My Env.: CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.1/ Service... Host name=localhost debug=0 appBase=webapps unpackWARs=true !-- My Context -- Context path=/XXX docBase=/usr/local/jakarta-tomcat/webapps/XXX.war debug=0 reloadable=true Logger className=org.apache.catalina.logger.FileLogger prefix=XXX_log. suffix=.txt timestamp=true/ /Context /Host .../Service ( I'm offcourse putting my WARs under webapps ) PM. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
server.xml example
Sorry for bringing up this basic problems! Could someone please, please privide me with an example of an server.xml file using the WAR deploying method. I'm deploying with a .war and TC4 doesn't want to unpack my WARs. I'm adding a context but it still doesn't want to be unpacked! Perhaps deploying with a WAR and at the same time using a Context is the wrong approach? Host name=localhost debug=0 appBase=webapps unpackWARs=true !-- My Context -- Context path=/XXX docBase=/usr/local/jakarta-tomcat/webapps/XXX.war debug=0 reloadable=true Logger className=org.apache.catalina.logger.FileLogger prefix=XXX_log. suffix=.txt timestamp=true/ /Context /Host Very greatfull. Pablo M. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Prevent TC from serving documents
Hi all. Is it possible to prevent TC4 from serving files like eg. *.ini or *.txt. Even if I have direcorylisting=false Tomcat serves files if you know the correct path !!! Thanx. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Context in server.xml or not?
Hi all. Very simple question... so I give it another try since my first message didn't capture you'r intrest ;) please help. I have my Tomcat4 up and running as Stand-Alone but it doesn't want to deploy my .WAR files. All of the Examles application do work just fine... From what I understand reading the manuals AND surfing the web for several days I must include my web.xml (descriptor) file into the WEB-INF dir. Well, i'm doing so and i'm ALSO adding my context in the server.xml. Question: Must I have a context in server.xml AND a descriptor? When I do have both I get this error message in the logfile: ### Error initializing resources: Document base /usr/local/jakarta-tomcat-4.0.1/webapps/XXX does not exist or is not a readable directory ### When I remove the context entry from the server.xml it all works fine !!! So my friends, wich is it... both or one of them? Many thanx. Cheers
Context Or not?
Hi all. Sorry for bringing this old topic back to the surface... But I really need help here. I have my Tomcat4 up and running as Stand-Alone but it doesn't want to deploy my .WAR files. All of the Examles application do work just fine... With Tomcat3.3 all works like a charm :) From what I understand reading the manuals AND sufing the web for several days I must include my web.xml (descriptor) file into the WEB-INF dir in the app. Well, i'm doing so and i'm also adding my context in the server.xml wich looks like this: !-- My XXX Context -- Context path=/XXX docBase=XXX debug=0 reloadable=true/ My web.xml (desccriptor) looks like this: ### !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !-- General description of the application -- display-nameNAME/display-name description bla bla /description context-param param-namewebmaster/param-name param-value[EMAIL PROTECTED]/param-value description bla bla /description /context-param session-config session-timeout10/session-timeout!-- 10 minutes -- /session-config /web-app ### Question: Must I have a context in server.xml AND a descriptor? When I do have both I get this error message in the logfile: ### Error initializing resources: Document base /usr/local/jakarta-tomcat-4.0.1/webapps/XXX does not exist or is not a readable directory ### When I remove the context entry from the server.xml it all works fine !!! So my friends, wich is it... both or one of them? Many thanx. Cheers Pablo
Re: GETTING STARTED WITH TOMCAT
Better assign JAVA_HOME TOMCAT_HOME in AUTOEXEC.BAT (Win9x), or in the Enviroment (NT/2K). At 08:59 13/12/2001 -0500, you wrote: hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is what it should behave like!!) BUT the problem is that when i try to test whether tomcat is working its not finding http://localhost:8080 please help me out so i can proceed further. regards vivek -- __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- 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: SSL , Verisign Certificate and Tomcat 3.2.3
I'm not sure. Maybee -alias cacerts or -alias cacert Regards At 17:14 12/12/2001 +, you wrote: I am trying to import a verisign global server id .. but the certificate won't work.. my temporary self certificate works fine. after installing the verisign certificate, the https does not work, with IE 5.5 , I get the 'page cannot be displayed and with Netscape 4.5 I get the message ..no common encrytion algorithm. the certificate comes with a Intermediate certificate, i hv imported the intermediate to ../cacerts ..but i hv not specified any alias for the intermediate...do i need to specify any alias for this?.. I am not able to find any clue to this yet.. OS: IBM AIX 4.3 Web Server: tomcat 3.2.3 (standalone) java version : java1.3.0 (ibm ) If anybody has any suggestions, it will be helpful thanks abhijit _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- 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: Change an include file requires re-compiling all JSP that include it (?)
There are 2 ways to include a file: %@ include file=relativeURL % for static files, parsing JSP elements. and jsp:include page={reletiveURL | %= expression % } flush=true{ / | [ jsp:param name=parameterName value={parameterValue | %= expression%} / ]+ /jsp:include } You need the 2nd form. A simple example: jsp:include page=include.jsp flush=true / (from JSP Syntax V1.1) Saludos At 10:05 11/12/2001 -0800, you wrote: A couple of things you can do, both would be easier than resaving all the JSPs 1. Delete the generated class files... 2. Touch the JSP files. - Original Message - From: Scott Hodson [EMAIL PROTECTED] To: Tomcat User [EMAIL PROTECTED] Sent: Tuesday, December 11, 2001 10:00 AM Subject: Change an include file requires re-compiling all JSP that include it (?) I come from an ASP background where we would frequently change include files and see the results immediately. However, in JSP, since JSP pages are compiled into servlet classes, if I change an include file the JSP file including it won't get re-compiled because the JSP hasn't changed, just the include file. Even if I restart Tomcat it still won't recompile the JSPs. So for now every time I make a change to an include file I have to re-save all of my JSPs so Tomcat forces a recompile. That's a big pain. Can somebody help me out here? Is there a way to force re-compilation of JSPs if the files they include ever change? ___ Scott Hodson (949) 709-4496 office (949) 709-3890 fax [EMAIL PROTECTED] http://www.ubero.com -- 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: Pool connection to database
OK. I think that I am understood what have I do to resolve it. I have to put a ConnectionPool object in the system properties hash table and I will get a connection pooled enviroment for mines servlets, jBeans and JSP's. Thanks for your help. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Héctor Pérez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 7:04 AM Subject: RE: Pool connection to database You must enclose de Connection Pool within a class with one object: the Pool. The Pool must be a variable within this class and when you call a specific method, if this variable is null, you create the pool, in the others cases you ask for a connection from the pool. The method you use must be proctected by sincronized clause, because this variable may be accesed by multiple objects or threads. It's clear?. I use this methodology and it works fine. Now you may use your connection pool in what ever you like: jsp, servlets, etc. - Original Message - From: Jacob FanChiang (??) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 10:55 PM Subject: Re: Pool connection to database Hi: You can put it in tomcat use System.getProperties().put(key,value); System.getProperties().getProperty(key); Here is my solution. I create the connections in constructor ConnectionPool(). I new the ConnectionPool instance in where I need to use it. ConnectionPool dbPool = new ConnectionPool(); Connection c = dbPool.getConnection(); Jacob FanChiang From Taiwan Assoiciate Researcher Customer Care and Billing System Dept. Telecommunication Laboratories Chunghwa Telecom Co., Ltd. Tel: +886 2 3707 1098 Fax +886 2 2325 5844 Email: [EMAIL PROTECTED] - Original Message - From: Pablo Morillas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 6:07 AM Subject: Pool connection to database Hello all. I have a problem that I suppose is resolved by Tomcat. I'm using Tomcat 3.2 and I can connect to an Oracle 8i database. The problem is that a process is created by oracle in any connection to the database done from mines servlets. I want to use a pool of connection for limit the number of connection actives. Is there any way to specify a class that run when I start tomcat? If I have any pool connection running inside tomcat I think that I will get the pool, won't I? Thanks to all in advance. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] ==
Pool connection to database
Hello all. I have a problem that I suppose is resolved by Tomcat. I'm using Tomcat 3.2 and I can connect to an Oracle 8i database. The problem is that a process is created by oracle in any connection to the database done from mines servlets. I want to use a pool of connection for limit the number of connection actives. Is there any way to specify a class that run when I start tomcat? If I have any pool connection running inside tomcat I think that I will get the pool, won't I? Thanks to all in advance. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] ==
Control the number of request's
Hello all. Can anyone explain me (and to all people of the list) how control the number of request that one client can do? I'm using Tomcat 3.2.3 and if one client with IE or NN push Reload several times, my server does one connection to the DataBase in all the requests. Then, the Oracle 8i crash becouse the other server creates several process, one per thread of the session of the Tomcat. I would like to respond only the last request, and cancel the previous one. Is it possible with Tomcat? And another question, are there any way to call a method of a servlet periodicaly from the server? I would like to clean several objets that are in the httpsession. Thanks to all. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] ==
changes in jsp included file dont refreshed
Hi, I need some help. When I had changed a jsp file included in other file, the changes don't view in the resulting file, except when I touched the master jsp file (where is the %@include ... %). Thanxs PD1: I'm using tomcat 3.2.2 PD2: Tomcat rocks!
Re: changes in jsp included file dont refreshed
Yes, the included file contains code. This feature is in the tomcat's to-do's? Maybe usefull. Thank you. At 10:44 28/06/2001 -0400, you wrote: That is correct. When you '%@ include' a file it is included at translation time. The server is allowed to notice that included files have been changed, but most do not (tomcat does not). If you 'jsp:include' the file it will be included at request time so changes will be apparent immediately. You can't 'jsp:include' files containing code though. You will probably need to keep touching the master jsp file. -Jeff - Original Message - From: Pablo Lillia [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 10:05 AM Subject: changes in jsp included file dont refreshed Hi, I need some help. When I had changed a jsp file included in other file, the changes don't view in the resulting file, except when I touched the master jsp file (where is the %@include ... %). Thanxs PD1: I'm using tomcat 3.2.2 PD2: Tomcat rocks!
RE: tomcat work with mozilla but not with IE
Try http://127.0.0.1:8080/index.html Try add the line: 127.0.0.1 localhost to your c:\windows\hosts file (create it whith notepad if it don't exists). Also, if you use a proxy, check "don't use proxy server for local hosts" or similar. Greetings -Original Message-From: Christoph Brunner [mailto:[EMAIL PROTECTED]]Sent: Friday, June 15, 2001 10:49 AMTo: [EMAIL PROTECTED]Subject: tomcat work with mozilla but not with IE Hi, I had installed Tomcat as a stand-alone servlet container! I can start tomcat with the startup- script! When I try to access http://localhost:8080/index.html the Internet Explorer can't locate the site! With themozilla- Browser all looks pretty fine!!! Any ideas? thank you Christoph Brunner
Re: Automaticaly update the servlets
Ok, but my problem is that when I put in a servlet 'Class.forName(sun.jdbc.odbc.JdbcOdbcDriver)' I get the message NoClassDefFoundError. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Luba Powell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 11:21 PM Subject: Re: Automaticaly update the servlets This jar is in my classpath yet becouse if I type in the DOS Console java sun.jdbc.odbc.JdbcOdbcDriver I get the message: NoSuchMethodError: main instead of NoClassDefFoundError? This is correct. This class does not have main method. - Original Message - From: Pablo Morillas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 5:12 PM Subject: Re: Automaticaly update the servlets Yes. Finally I have get the proper result. Mines servlets are automatically updated. Thanks to all. But, in other side, when I've tried to use the jdbc.odbc driver I have get the message NoClassDefFoundError. I've resolved it setting another line in the wrapper.properties file: wrapper.class_path=$(wrapper.java_home)\jre\lib\rt.jar This jar is in my classpath yet becouse if I type in the DOS Console java sun.jdbc.odbc.JdbcOdbcDriver I get the message: NoSuchMethodError: main instead of NoClassDefFoundError. My question is: what classpath use jk_nt_service if no definition is set for it in the wrapper.properties file? Thanks to all that are bearing me. ;-) == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 6:41 PM Subject: Re: Automaticaly update the servlets On Fri, 8 Jun 2001, Pablo Morillas wrote: Thanks. I beleive that I'm seen the light. My problem is that my system class loader (in my server) is loading my classes instead Tomcat, ins't it? Well, I won't guarantee it 100%, but it very well could be the problem. Could anyone give me an address where I can find information about the way that Tomcat class loader runs? I don't have a specific source, but I believe there are tutorials/articles about on the web -- do a search at www.google.com. I'm pretty sure there was a JDC Tech Tips about classloaders (they're all up on the JDC site), and other sites (e.g. javaworld) may have stuff on it as well. You can also check the tomcat documentation/source. How can I force to Tomcat Class loader to take my servlets? Simply change your classpath so that the relevant directories (.../WEB-INF/classes, and probably .../WEB-INF/lib as well) are not included. Do that, try again, and let us know whether it worked. - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 4:25 PM Subject: RE: Automaticaly update the servlets The problem is that the System class loader (the one that loads your CLASSPATH environment variable) is keeping a cache around of the class. This is why Milt (correctly) told you to remove the WEB-INF/classes from your classpath if you want the auto-reloading to work as it is supposed to*. If the System class loader loads your class then its impossible for Tomcat to load it, and if Tomcat doesn't load it in the first place, then it can't unload and reload it. Randy * - Many people have problems with the way that auto-reloading works in Tomcat. A large number have problems like yours, and large numbers also complain that the auto-reloading doesn't work for non-servlet classes (which it doesn't due to complexity of the problem). -Original Message- From: Pablo Morillas [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: Automaticaly update the servlets Yes, it is in my classpath. But I don't believe that the classpath is the problem becouse when I start Tomcat as a service it runs properly. If I change a .jsp it reload properly. I don't know what is happen but, when I delete the class file from the WEB-INF/classes the servlet run properly (incredible). Then, after I restart the server a error was reported. I compile it another in the WEB-INF/classes without restart Tomcat and it runs ok. I suppose that the servlet file is in any cache of Tomcat, but I can be perfectly wrong. Uses Tomcat any type of GUID to run classes? I don't know what's happen. Please, advice. == Pablo Morillas
Re: Automaticaly update the servlets
Yes. Finally I have get the proper result. Mines servlets are automatically updated. Thanks to all. But, in other side, when I've tried to use the jdbc.odbc driver I have get the message NoClassDefFoundError. I've resolved it setting another line in the wrapper.properties file: wrapper.class_path=$(wrapper.java_home)\jre\lib\rt.jar This jar is in my classpath yet becouse if I type in the DOS Console java sun.jdbc.odbc.JdbcOdbcDriver I get the message: NoSuchMethodError: main instead of NoClassDefFoundError. My question is: what classpath use jk_nt_service if no definition is set for it in the wrapper.properties file? Thanks to all that are bearing me. ;-) == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 6:41 PM Subject: Re: Automaticaly update the servlets On Fri, 8 Jun 2001, Pablo Morillas wrote: Thanks. I beleive that I'm seen the light. My problem is that my system class loader (in my server) is loading my classes instead Tomcat, ins't it? Well, I won't guarantee it 100%, but it very well could be the problem. Could anyone give me an address where I can find information about the way that Tomcat class loader runs? I don't have a specific source, but I believe there are tutorials/articles about on the web -- do a search at www.google.com. I'm pretty sure there was a JDC Tech Tips about classloaders (they're all up on the JDC site), and other sites (e.g. javaworld) may have stuff on it as well. You can also check the tomcat documentation/source. How can I force to Tomcat Class loader to take my servlets? Simply change your classpath so that the relevant directories (.../WEB-INF/classes, and probably .../WEB-INF/lib as well) are not included. Do that, try again, and let us know whether it worked. - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 4:25 PM Subject: RE: Automaticaly update the servlets The problem is that the System class loader (the one that loads your CLASSPATH environment variable) is keeping a cache around of the class. This is why Milt (correctly) told you to remove the WEB-INF/classes from your classpath if you want the auto-reloading to work as it is supposed to*. If the System class loader loads your class then its impossible for Tomcat to load it, and if Tomcat doesn't load it in the first place, then it can't unload and reload it. Randy * - Many people have problems with the way that auto-reloading works in Tomcat. A large number have problems like yours, and large numbers also complain that the auto-reloading doesn't work for non-servlet classes (which it doesn't due to complexity of the problem). -Original Message- From: Pablo Morillas [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: Automaticaly update the servlets Yes, it is in my classpath. But I don't believe that the classpath is the problem becouse when I start Tomcat as a service it runs properly. If I change a .jsp it reload properly. I don't know what is happen but, when I delete the class file from the WEB-INF/classes the servlet run properly (incredible). Then, after I restart the server a error was reported. I compile it another in the WEB-INF/classes without restart Tomcat and it runs ok. I suppose that the servlet file is in any cache of Tomcat, but I can be perfectly wrong. Uses Tomcat any type of GUID to run classes? I don't know what's happen. Please, advice. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 3:03 PM Subject: Re: Automaticaly update the servlets On Fri, 8 Jun 2001, Pablo Morillas wrote: Hello Filip. I didn't know that but, unfortunately the servlet is in the WEB-INF/classes directory. The scheme is that I start tomcat and I Is WEB-INF/classes in your classpath? Because it shouldn't be if you want reloading to work. [ ... ] Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]
Re: Automaticaly update the servlets
Well. When I compile the servlet I haven't got problems with the java.sql package. I have problems when I try to run this into Tomcat. I am using Tomcat as a service in a Win2K box. I suspect that my problem is that the JVM that starts when the service start is using a wrong CLASSPATH. Could it be true? Thanks. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Luba Powell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 11:29 PM Subject: Re: Automaticaly update the servlets did you: import java.sql.*; - Original Message - From: Pablo Morillas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 5:23 PM Subject: Re: Automaticaly update the servlets Ok, but my problem is that when I put in a servlet 'Class.forName(sun.jdbc.odbc.JdbcOdbcDriver)' I get the message NoClassDefFoundError. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Luba Powell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 11:21 PM Subject: Re: Automaticaly update the servlets This jar is in my classpath yet becouse if I type in the DOS Console java sun.jdbc.odbc.JdbcOdbcDriver I get the message: NoSuchMethodError: main instead of NoClassDefFoundError? This is correct. This class does not have main method. - Original Message - From: Pablo Morillas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 5:12 PM Subject: Re: Automaticaly update the servlets Yes. Finally I have get the proper result. Mines servlets are automatically updated. Thanks to all. But, in other side, when I've tried to use the jdbc.odbc driver I have get the message NoClassDefFoundError. I've resolved it setting another line in the wrapper.properties file: wrapper.class_path=$(wrapper.java_home)\jre\lib\rt.jar This jar is in my classpath yet becouse if I type in the DOS Console java sun.jdbc.odbc.JdbcOdbcDriver I get the message: NoSuchMethodError: main instead of NoClassDefFoundError. My question is: what classpath use jk_nt_service if no definition is set for it in the wrapper.properties file? Thanks to all that are bearing me. ;-) == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 6:41 PM Subject: Re: Automaticaly update the servlets On Fri, 8 Jun 2001, Pablo Morillas wrote: Thanks. I beleive that I'm seen the light. My problem is that my system class loader (in my server) is loading my classes instead Tomcat, ins't it? Well, I won't guarantee it 100%, but it very well could be the problem. Could anyone give me an address where I can find information about the way that Tomcat class loader runs? I don't have a specific source, but I believe there are tutorials/articles about on the web -- do a search at www.google.com. I'm pretty sure there was a JDC Tech Tips about classloaders (they're all up on the JDC site), and other sites (e.g. javaworld) may have stuff on it as well. You can also check the tomcat documentation/source. How can I force to Tomcat Class loader to take my servlets? Simply change your classpath so that the relevant directories (.../WEB-INF/classes, and probably .../WEB-INF/lib as well) are not included. Do that, try again, and let us know whether it worked. - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 4:25 PM Subject: RE: Automaticaly update the servlets The problem is that the System class loader (the one that loads your CLASSPATH environment variable) is keeping a cache around of the class. This is why Milt (correctly) told you to remove the WEB-INF/classes from your classpath if you want the auto-reloading to work as it is supposed to*. If the System class loader loads your class then its impossible for Tomcat to load it, and if Tomcat doesn't load it in the first place, then it can't unload and reload it. Randy * - Many people have problems with the way that auto-reloading works in Tomcat. A large number have problems like yours, and large numbers also complain that the auto-reloading doesn't work for non-servlet
Re: Automaticaly update the servlets
Hello Filip. I didn't know that but, unfortunately the servlet is in the WEB-INF/classes directory. The scheme is that I start tomcat and I get the correct result but, if I change the servlet and compile it the output is the same until I restart Tomcat. I've tried to remove the class file of the servlet that is in the WEB-INF/classes but the page goes up like it would be in a cache. I get the result even the class is removed. If I restart tomcat I get the error page saying that request didn't be found. I've readed several mail and I've sincronized the time between my box and the server with net time /domain /set and I now have the same time, but this isn't the solution. Can anybody help me, becouse I use tomcat like a service in other coumputer with IIS and I dn't want to have restart the server service when I change anything in any servlet. Thaks all. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 2:25 AM Subject: RE: Automaticaly update the servlets as long as your servlet classes are under WEB-INF/classes and not WEB-INF/lib Tomcat will reload servlets. and it always reloads JSP pages Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Pablo Morillas [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 2:21 PM To: [EMAIL PROTECTED] Subject: Automaticaly update the servlets Hello all. I'm starting to use Tomcat and I have seen that I have to restart the server when I update a servlet. Is it true? Is there any way to avoid it? Thanks all. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] ==
Re: Automaticaly update the servlets
Yes, it is in my classpath. But I don't believe that the classpath is the problem becouse when I start Tomcat as a service it runs properly. If I change a .jsp it reload properly. I don't know what is happen but, when I delete the class file from the WEB-INF/classes the servlet run properly (incredible). Then, after I restart the server a error was reported. I compile it another in the WEB-INF/classes without restart Tomcat and it runs ok. I suppose that the servlet file is in any cache of Tomcat, but I can be perfectly wrong. Uses Tomcat any type of GUID to run classes? I don't know what's happen. Please, advice. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 3:03 PM Subject: Re: Automaticaly update the servlets On Fri, 8 Jun 2001, Pablo Morillas wrote: Hello Filip. I didn't know that but, unfortunately the servlet is in the WEB-INF/classes directory. The scheme is that I start tomcat and I Is WEB-INF/classes in your classpath? Because it shouldn't be if you want reloading to work. get the correct result but, if I change the servlet and compile it the output is the same until I restart Tomcat. I've tried to remove the class file of the servlet that is in the WEB-INF/classes but the page goes up like it would be in a cache. I get the result even the class is removed. If I restart tomcat I get the error page saying that request didn't be found. I've readed several mail and I've sincronized the time between my box and the server with net time /domain /set and I now have the same time, but this isn't the solution. Can anybody help me, becouse I use tomcat like a service in other coumputer with IIS and I dn't want to have restart the server service when I change anything in any servlet. Thaks all. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 2:25 AM Subject: RE: Automaticaly update the servlets as long as your servlet classes are under WEB-INF/classes and not WEB-INF/lib Tomcat will reload servlets. and it always reloads JSP pages Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Pablo Morillas [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 2:21 PM To: [EMAIL PROTECTED] Subject: Automaticaly update the servlets Hello all. I'm starting to use Tomcat and I have seen that I have to restart the server when I update a servlet. Is it true? Is there any way to avoid it? Thanks all. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] == Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]
tomcat 3.1 + apache 1.3.14 in win32
Hi, I found in Tomcat v3.1 (Win32) a problem: the file /conf/tomcat-apache.conf has \ in paths, and it need / to work in apache (version 1.3.12 for win32). I don't know if that is a well-known problem, because I don't found any reference in doc's faq's. Greetings
Automaticaly update the servlets
Hello all. I'm starting to use Tomcat and I have seen that I have to restart the server when I update a servlet. Is it true? Is there any way to avoid it? Thanks all. == Pablo Morillas http://www.sortes.com [EMAIL PROTECTED] ==
Sessions
Hello again, Excuse me for the nuisances but I have problems with the sessions. Yesterday Randy answered me that to discover on the sessions of the Tomcat I should see the class org.Apache.tomcat.session.StandarManager. I have been able to discover that class is in Webserver.jar. Where I can get the code of that library? Another topic. I can not receive any message of the list. Why will it be? Pablo - Click here for Free Video!! http://www.gohip.com/free_video/
Session in Tomcat
Hello friends, I need information about how Tomcat assign the numbers of ID for each session. I also need to know where is the Cookie JSessionID stored. I wait you can help me and thank you Pablo
Session In TOmcat
Hello friends, I need information about how Tomcat assign the numbers of ID for each session. I also need to know where is the Cookie JSessionID stored. I wait you can help me and thank you Pablo P.D.:This is the second time that I send the message, but I don't receive it. Excuse me for the nuisances
Source code of Tomcat
Where I found the source code of the class org.apache.tomcat.session.StandardManager? Thanks for your help
Source code of Tomcat
Where I found the source code of the class org.apache.tomcat.session.StandardManager? Thanks for your help - Click here for Free Video!! http://www.gohip.com/free_video/
error
I am working with Tomcat and Apache. Now I am trying to install Apache1.3.14 and mod_ssl. Copy the I module mod_jserv in libexec and add the line include /apache-tomcat.conf in the file httpd.conf. it gives me the following error when lifting the Apache: invalid command LoadModule. What Happened? - Click here for Free Video!! http://www.gohip.com/free_video/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: save a attachment Pablo Trujillo
Josh Thank you for your e-mail, it is the best gift that I can receive from somebody that is so far. In fact I don't like a lot to turn years, but I am taking it well - Click here for Free Video!! http://www.gohip.com/free_video/ - Original Message - From: Josh Knowles [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 24, 2000 3:26 PM Subject: RE: save a attachment there are examples of working with attachments in the javamail documentation -Original Message- From: Pablo Trujillo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2000 11:13 AM To: [EMAIL PROTECTED] Subject: save a attachment I am developing a service of e-mail in Web and I need help to be able to save a received attachment