Re: New user, help!
You need some JkMount directives to tell Apache which requests to forward to Tomcat. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html Jon Katherine Faella wrote: I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0 system. I am running Apache V2.0.54 and my version of Tomcat is 5.5.9. I believe my apache installation is okay because when I go to localhost I see the apache welcome screen. When I go to localhost:8080 I see the Tomcat welcome screen. For a short while, when I went to localhost I actually saw the Tomcat welcome screen and could run the samples there. The only thing missing were the Tomcat icons etc. However, I have improved my installation to the point where tomcat is no longer serving for apache, ie. at localhost I see the apache welcome screen. When I peer around at various log files I do not see any obvious errors. Needless to say - I am going nowhere! Can anyone help me? Point me in the right direction at least?! Thanks in advance, Kathy Faella University of Rhode Island a netstat -ln returns: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 0 :::123 :::* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 5899 /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 5986 /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 5515 /var/run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 6062 /var/run/dbus/system_bus_socket *** To the default httpd.conf I added: LoadModule jk_module modules/mod_jk.so # # Configure mod_jk*** kmf *** # JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel info JkShmFile /var/log/httpd/jkshmfile JkShmSize 20M *** my workers.properties *** # workers.properties.minimal - # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=loadbalancer # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 # add any new workers to the list here to have them balanced worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13w workers.tomcat_home=/usr/local/src/jakarta-tomcat-5.5.9 workers.java_home=/usr/java/jdk1.5.0_03 - 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: New user, help!
I am a newbie at this stuff also, and as I understand, for development I do not need to install Apache at all. Tomcat will act as a static web page server. I am using eclipse so I dont even want Apache installed. Just redirect everything to localhost:8080 Steve Jon Wingfield wrote: You need some JkMount directives to tell Apache which requests to forward to Tomcat. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html Jon Katherine Faella wrote: I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0 system. I am running Apache V2.0.54 and my version of Tomcat is 5.5.9. I believe my apache installation is okay because when I go to localhost I see the apache welcome screen. When I go to localhost:8080 I see the Tomcat welcome screen. For a short while, when I went to localhost I actually saw the Tomcat welcome screen and could run the samples there. The only thing missing were the Tomcat icons etc. However, I have improved my installation to the point where tomcat is no longer serving for apache, ie. at localhost I see the apache welcome screen. When I peer around at various log files I do not see any obvious errors. Needless to say - I am going nowhere! Can anyone help me? Point me in the right direction at least?! Thanks in advance, Kathy Faella University of Rhode Island a netstat -ln returns: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 0 :::123 :::* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 5899 /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 5986 /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 5515 /var/run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 6062 /var/run/dbus/system_bus_socket *** To the default httpd.conf I added: LoadModule jk_module modules/mod_jk.so # # Configure mod_jk*** kmf *** # JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel info JkShmFile /var/log/httpd/jkshmfile JkShmSize 20M *** my workers.properties *** # workers.properties.minimal - # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=loadbalancer # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 # add any new workers to the list here to have them balanced worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13w workers.tomcat_home=/usr/local/src/jakarta-tomcat-5.5.9 workers.java_home=/usr/java/jdk1.5.0_03 - 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] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962 881924 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New user, help!
Firtst read java / j2ee / jsp and some tutorials ... http://www.tusc.com.au/tutorial/html is a good place to start Guru -Original Message- From: Steve [mailto:[EMAIL PROTECTED] Sent: 22 June 2005 16:49 To: Tomcat Users List Subject: Re: New user, help! I am a newbie at this stuff also, and as I understand, for development I do not need to install Apache at all. Tomcat will act as a static web page server. I am using eclipse so I dont even want Apache installed. Just redirect everything to localhost:8080 Steve Jon Wingfield wrote: You need some JkMount directives to tell Apache which requests to forward to Tomcat. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html Jon Katherine Faella wrote: I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0 system. I am running Apache V2.0.54 and my version of Tomcat is 5.5.9. I believe my apache installation is okay because when I go to localhost I see the apache welcome screen. When I go to localhost:8080 I see the Tomcat welcome screen. For a short while, when I went to localhost I actually saw the Tomcat welcome screen and could run the samples there. The only thing missing were the Tomcat icons etc. However, I have improved my installation to the point where tomcat is no longer serving for apache, ie. at localhost I see the apache welcome screen. When I peer around at various log files I do not see any obvious errors. Needless to say - I am going nowhere! Can anyone help me? Point me in the right direction at least?! Thanks in advance, Kathy Faella University of Rhode Island a netstat -ln returns: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 0 :::123 :::* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 5899 /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 5986 /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 5515 /var/run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 6062 /var/run/dbus/system_bus_socket *** To the default httpd.conf I added: LoadModule jk_module modules/mod_jk.so # # Configure mod_jk*** kmf *** # JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel info JkShmFile /var/log/httpd/jkshmfile JkShmSize 20M *** my workers.properties *** # workers.properties.minimal - # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=loadbalancer # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 # add any new workers to the list here to have them balanced worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13w workers.tomcat_home=/usr/local/src/jakarta-tomcat-5.5.9 workers.java_home=/usr/java/jdk1.5.0_03 - 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] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962 881924 - 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: New user, help!
Thanks Mind you though, the introduction to this document says *Prerequisites for this tutorial.* Before you start this tutorial, you should ideally have a working knowledge of *Java technology, XML, J2EE technology and some exposure to SQL, JDBC concepts, and Xdoclet (Attribute Oriented Programming)*. Even if you are new to a lot of this then don't panic – just expect to do a bit more learning along the way! Raghupathy,Gurumoorthy wrote: Firtst read java / j2ee / jsp and some tutorials ... http://www.tusc.com.au/tutorial/html is a good place to start Guru -Original Message- From: Steve [mailto:[EMAIL PROTECTED] Sent: 22 June 2005 16:49 To: Tomcat Users List Subject: Re: New user, help! I am a newbie at this stuff also, and as I understand, for development I do not need to install Apache at all. Tomcat will act as a static web page server. I am using eclipse so I dont even want Apache installed. Just redirect everything to localhost:8080 Steve Jon Wingfield wrote: You need some JkMount directives to tell Apache which requests to forward to Tomcat. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html Jon Katherine Faella wrote: I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0 system. I am running Apache V2.0.54 and my version of Tomcat is 5.5.9. I believe my apache installation is okay because when I go to localhost I see the apache welcome screen. When I go to localhost:8080 I see the Tomcat welcome screen. For a short while, when I went to localhost I actually saw the Tomcat welcome screen and could run the samples there. The only thing missing were the Tomcat icons etc. However, I have improved my installation to the point where tomcat is no longer serving for apache, ie. at localhost I see the apache welcome screen. When I peer around at various log files I do not see any obvious errors. Needless to say - I am going nowhere! Can anyone help me? Point me in the right direction at least?! Thanks in advance, Kathy Faella University of Rhode Island a netstat -ln returns: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 0 :::123 :::* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 5899 /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 5986 /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 5515 /var/run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 6062 /var/run/dbus/system_bus_socket *** To the default httpd.conf I added: LoadModule jk_module modules/mod_jk.so # # Configure mod_jk*** kmf *** # JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel info JkShmFile /var/log/httpd/jkshmfile JkShmSize 20M *** my workers.properties *** # workers.properties.minimal - # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=loadbalancer # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 # add any new workers to the list here to have them balanced worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13w workers.tomcat_home=/usr/local/src/jakarta-tomcat-5.5.9 workers.java_home=/usr/java/jdk1.5.0_03 - 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] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962 881924
RE: New user, help! (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE There are more tutorials on the web you just have to spend some time googling. Some that really help understand putting all the bits and pieces together is http://www.coreservlets.com You'll find tutorials on the different technologies and tools Fadi -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 11:52 AM To: 'Tomcat Users List' Subject: RE: New user, help! Firtst read java / j2ee / jsp and some tutorials ... http://www.tusc.com.au/tutorial/html is a good place to start Guru -Original Message- From: Steve [mailto:[EMAIL PROTECTED] Sent: 22 June 2005 16:49 To: Tomcat Users List Subject: Re: New user, help! I am a newbie at this stuff also, and as I understand, for development I do not need to install Apache at all. Tomcat will act as a static web page server. I am using eclipse so I dont even want Apache installed. Just redirect everything to localhost:8080 Steve Jon Wingfield wrote: You need some JkMount directives to tell Apache which requests to forward to Tomcat. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html Jon Katherine Faella wrote: I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0 system. I am running Apache V2.0.54 and my version of Tomcat is 5.5.9. I believe my apache installation is okay because when I go to localhost I see the apache welcome screen. When I go to localhost:8080 I see the Tomcat welcome screen. For a short while, when I went to localhost I actually saw the Tomcat welcome screen and could run the samples there. The only thing missing were the Tomcat icons etc. However, I have improved my installation to the point where tomcat is no longer serving for apache, ie. at localhost I see the apache welcome screen. When I peer around at various log files I do not see any obvious errors. Needless to say - I am going nowhere! Can anyone help me? Point me in the right direction at least?! Thanks in advance, Kathy Faella University of Rhode Island a netstat -ln returns: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 0 :::123 :::* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 5899 /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 5986 /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 5515 /var/run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 6062 /var/run/dbus/system_bus_socket *** To the default httpd.conf I added: LoadModule jk_module modules/mod_jk.so # # Configure mod_jk*** kmf *** # JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel info JkShmFile /var/log/httpd/jkshmfile JkShmSize 20M *** my workers.properties *** # workers.properties.minimal - # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=loadbalancer # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 # add any new workers to the list here to have them balanced worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13w workers.tomcat_home=/usr/local/src/jakarta-tomcat-5.5.9 workers.java_home=/usr/java/jdk1.5.0_03 - 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] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962
Re: New to struts
Raja you would be much better off to read the manuals and books already available on Struts. They will be more helpful to you than some offhand stuff here on the list. Also, there is a Struts list which would be more appropriate and more helpful to you than this list on this question. Good luck! On 5/22/05, raja buddha [EMAIL PROTECTED] wrote: Hi, I am new to struts, I have installed tomcat on my system. Can any body please let me the steps how to configure and run the struts on my tomcat server. Please exaplane me what are the jar files are need and let me know where to keep thouse jar files. Please explain indetail. Thanks in advance Raj _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New logs showing up under Tomcat 5.5.9
On 4/29/05, Ryan Daly [EMAIL PROTECTED] wrote: All: Just upgraded to 5.5.9 yesterday. Can anyone quickly tell me what the extra log files are in the logs directory? I'm getting: admin.2005-04-28.log, catalina.2005-04-28.log, host- manager.2005-04-28.log, localhost.2005-04-28.log, and manager.2005-04-28.log They're all 0 bytes. Can I stop them from showing up? These files shoudn't be empty. You can read about logging configuration in the docs: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New logs showing up under Tomcat 5.5.9tomcat-user-unsubscribe@jakarta.apache
In a message dated 4/29/2005 9:46:44 AM Pacific Standard Time, [EMAIL PROTECTED] writes: [EMAIL PROTECTED]
Re: new to tomcat 5.0.28-how i can add context in the server.xml
Ashutosh Sharma wrote: Hi, I m new to tomcat 5.0.28. Previously i worked with tomcat 4.1.x-where i will create a context with a docBase and this way i will work with my webApp. Now the world has changed a lot-everyone just deploying a WAR file under webapps. But i still want to work in the old manner-i want my C:\Dir\sub-Dir\java\src\a\b\c\ to be compiled using ant which goes under C:\Dir\sub-\java\classes\a\b\c\ so that as and when i make any changes in any jsp file, struts-action, formbean it gets direclty reflected rather than creating an out of box WAR file again and again and putting it all under the webApps dir of tomcat. Can someone help me out? Even ur help to deploy using manager will do?but i want manual editing server.xml and then adding the context for my webApp. Please help me. Edit the file $CATALINA_HOME/conf/Catalina/localhost/your_webapp.xml. Regards. David. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new to tomcat 5.0.28-how i can add context in the server.xml
Hi David, Thanks for the reply. But if i see the manager.xml under this location it's contents are like this: Context path=/manager docBase=${catalina.home}/server/webapps/manager debug=0 privileged=true !-- Link to the user database we will get roles from -- ResourceLink name=users global=UserDatabase type=org.apache.catalina.UserDatabase/ /Context So for my webApp viz. reports if i put this kind of contents: Context path=/reports docBase=C:\talkBack src\talkback\java\build\reports debug=0 privileged=true /Context and then i restart the tomcat i see the directory listing. Shud i giv refrence of build dir or src directory. Actually my build.xml compiles everythign from my src to corresponding build Dir. On Tue, 15 Mar 2005 14:34:22 +0100, David Causse [EMAIL PROTECTED] wrote: Ashutosh Sharma wrote: Hi, I m new to tomcat 5.0.28. Previously i worked with tomcat 4.1.x-where i will create a context with a docBase and this way i will work with my webApp. Now the world has changed a lot-everyone just deploying a WAR file under webapps. But i still want to work in the old manner-i want my C:\Dir\sub-Dir\java\src\a\b\c\ to be compiled using ant which goes under C:\Dir\sub-\java\classes\a\b\c\ so that as and when i make any changes in any jsp file, struts-action, formbean it gets direclty reflected rather than creating an out of box WAR file again and again and putting it all under the webApps dir of tomcat. Can someone help me out? Even ur help to deploy using manager will do?but i want manual editing server.xml and then adding the context for my webApp. Please help me. Edit the file $CATALINA_HOME/conf/Catalina/localhost/your_webapp.xml. Regards. David. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- With best regards: Ashutosh Sharma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new to tomcat 5.0.28-how i can add context in the server.xml
Ashutosh Sharma wrote: Hi David, Thanks for the reply. But if i see the manager.xml under this location it's contents are like this: Context path=/manager docBase=${catalina.home}/server/webapps/manager debug=0 privileged=true !-- Link to the user database we will get roles from -- ResourceLink name=users global=UserDatabase type=org.apache.catalina.UserDatabase/ /Context So for my webApp viz. reports if i put this kind of contents: Context path=/reports docBase=C:\talkBack src\talkback\java\build\reports debug=0 privileged=true /Context and then i restart the tomcat i see the directory listing. Shud i giv refrence of build dir or src directory. Actually my build.xml compiles everythign from my src to corresponding build Dir. You have to give a docBase that points to your webapps, in your example you must have this directory : C:\talkBack src\talkback\java\build\reports\WEB-INF and I hope a web.xml inside. and for java classes (your build dest must be something like this) C:\talkBack src\talkback\java\build\reports\WEB-INF\classes\ Your JSPs can be everywhere inside (depends on you web.xml): C:\talkBack src\talkback\java\build\reports\ Don't forget to specify welcome-file in your web.xml. You removed the RessourceLink to user databases so why do you continue to use privileged=true ? I don't know if it's correct... You can add log info to your context that might help you later: Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_reports_log. suffix=.txt timestamp=true/ Good luck, David. PS. I don't know if the '\' is OK for file separator inside this file: you'd better use '/' like this: c:/webapps/reports. [...] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Tomcat
Amrish Bharatiya wrote: Hi All, I am new to tomcat and want a nice tutorial for JSP Development. Can anybody suggest me some links for the same. Here's something: http://www.netbeans.org/kb/using-netbeans/40/dbconn.html It tells you how to use Tomcat connection pooling (with the help of NetBeans IDE). -- Geertjan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new Host without restarting Tomcat
So nobody knows how to deploy a new Host without the restart of Tomcat ? On Tue, 11 Jan 2005 16:05:06 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all, I'd want to create and deploy new Virtual(s) Host(s) and Contexts without having to restart the entire Tomcat Server (4.1.31 or 5.0.28). This works if my Host(s) exist in server.xml when I start Tomcat (I follow http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html). BUT, if I want to create and deploy new Hosts before deploying new Contexts, I don't succeed (I tried this with the Tomcat Admin tool and the Tomcat Manager Tool) In my test, I create a new Host (myHOST) with the Tomcat Admin tool. I put a Logger and a manager Context into it. The problem is : With the Admin GUI, it is not possible to put privileged=true, so, when I launch http://myHost:8080/manager/html/list, I have a SecurityException because the HTMLManagerServlet est privileged and cannot be loaded by this web app... I don't find a solution in the mailing lists, so, what is the solution for this ? - 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: new Host without restarting Tomcat
I may be incorrect, but in all I have read, the server.xml is only read once, during Tomcat startup. This is the reason for the context.xml fragment files which can be read and loaded without a restart. So the answer is it can't be done at this point. To the best of my knowledge. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/startup/serverStartup.txt Section b4 Doug - Original Message - From: Lionel Farbos [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, January 12, 2005 6:38 AM Subject: Re: new Host without restarting Tomcat So nobody knows how to deploy a new Host without the restart of Tomcat ? On Tue, 11 Jan 2005 16:05:06 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all, I'd want to create and deploy new Virtual(s) Host(s) and Contexts without having to restart the entire Tomcat Server (4.1.31 or 5.0.28). This works if my Host(s) exist in server.xml when I start Tomcat (I follow http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html). BUT, if I want to create and deploy new Hosts before deploying new Contexts, I don't succeed (I tried this with the Tomcat Admin tool and the Tomcat Manager Tool) In my test, I create a new Host (myHOST) with the Tomcat Admin tool. I put a Logger and a manager Context into it. The problem is : With the Admin GUI, it is not possible to put privileged=true, so, when I launch http://myHost:8080/manager/html/list, I have a SecurityException because the HTMLManagerServlet est privileged and cannot be loaded by this web app... I don't find a solution in the mailing lists, so, what is the solution for this ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new Host without restarting Tomcat
Thank you for your response. server.xml is read only once, but, with the Tomcat Admin Tool, we can increase this config and save it. So, I think the only (perhaps?) missing feature to do the creation of the Host is the ability to declare the privileged=true within the Context Manager. I'll try to declare a bug for this. Thank you. On Wed, 12 Jan 2005 07:51:20 -0500 Parsons Technical Services [EMAIL PROTECTED] wrote: I may be incorrect, but in all I have read, the server.xml is only read once, during Tomcat startup. This is the reason for the context.xml fragment files which can be read and loaded without a restart. So the answer is it can't be done at this point. To the best of my knowledge. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/startup/serverStartup.txt Section b4 Doug - Original Message - From: Lionel Farbos [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, January 12, 2005 6:38 AM Subject: Re: new Host without restarting Tomcat So nobody knows how to deploy a new Host without the restart of Tomcat ? On Tue, 11 Jan 2005 16:05:06 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all, I'd want to create and deploy new Virtual(s) Host(s) and Contexts without having to restart the entire Tomcat Server (4.1.31 or 5.0.28). This works if my Host(s) exist in server.xml when I start Tomcat (I follow http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html). BUT, if I want to create and deploy new Hosts before deploying new Contexts, I don't succeed (I tried this with the Tomcat Admin tool and the Tomcat Manager Tool) In my test, I create a new Host (myHOST) with the Tomcat Admin tool. I put a Logger and a manager Context into it. The problem is : With the Admin GUI, it is not possible to put privileged=true, so, when I launch http://myHost:8080/manager/html/list, I have a SecurityException because the HTMLManagerServlet est privileged and cannot be loaded by this web app... I don't find a solution in the mailing lists, so, what is the solution for this ? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new isapi_redirector2.dll
SF_NOTIFY_AUTH_COMPLETE is part of the platform SDK. The errors you're getting suggests VC doesn't know where to find the SDK. [EMAIL PROTECTED] 12/14/2004 10:02:26 AM I think I've followed the steps to build JK2, but there are still errors in the jk_isapi_plugin.c file. The latest version from CVS is 1.64 (according to WinCVS). Should I just fix these, or is there a better alternative? Thanks, Derrick jk_isapi_plugin.c C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : error C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(229) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned long *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since the last official release in March, so I've built a version based on the latest snapshot. I've also added a How to page for people interested in building it themselves. http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=isapipage=overview - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new isapi_redirector2.dll
I was a bit hasty in my response. How do you get Visual C++ to recognize the SDK files? Thanks, Derrick -Original Message- From: Derrick Koes [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 1:14 PM To: Tomcat Users List Subject: RE: new isapi_redirector2.dll Thank you! ContactInfo NameDerrick Koes/Name TitleSenior Software Engineer/Title Company name=SkillSoft url=http://www.skillsoft.com/ AIMcodeauthor2001/AIM Email[EMAIL PROTECTED]/Email Phone(603) 305-1753/Phone Fax/ Quote attributedTo=YodaNo, try not, do or do not, there is no try./Quote /ContactInfo -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: RE: new isapi_redirector2.dll SF_NOTIFY_AUTH_COMPLETE is part of the platform SDK. The errors you're getting suggests VC doesn't know where to find the SDK. [EMAIL PROTECTED] 12/14/2004 10:02:26 AM I think I've followed the steps to build JK2, but there are still errors in the jk_isapi_plugin.c file. The latest version from CVS is 1.64 (according to WinCVS). Should I just fix these, or is there a better alternative? Thanks, Derrick jk_isapi_plugin.c C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : error C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(229) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned long *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since the last official release in March, so I've built a version based on the latest snapshot. I've also added a How to page for people interested in building it themselves. http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=isapipage=overview - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new isapi_redirector2.dll
I just had to move 'C:\Program Files\Microsoft SDK\include' higher in the directories list. -Original Message- From: Derrick Koes Sent: Tuesday, December 14, 2004 1:51 PM To: 'Tomcat Users List' Subject: RE: new isapi_redirector2.dll I was a bit hasty in my response. How do you get Visual C++ to recognize the SDK files? Thanks, Derrick -Original Message- From: Derrick Koes [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 1:14 PM To: Tomcat Users List Subject: RE: new isapi_redirector2.dll Thank you! ContactInfo NameDerrick Koes/Name TitleSenior Software Engineer/Title Company name=SkillSoft url=http://www.skillsoft.com/ AIMcodeauthor2001/AIM Email[EMAIL PROTECTED]/Email Phone(603) 305-1753/Phone Fax/ Quote attributedTo=YodaNo, try not, do or do not, there is no try./Quote /ContactInfo -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: RE: new isapi_redirector2.dll SF_NOTIFY_AUTH_COMPLETE is part of the platform SDK. The errors you're getting suggests VC doesn't know where to find the SDK. [EMAIL PROTECTED] 12/14/2004 10:02:26 AM I think I've followed the steps to build JK2, but there are still errors in the jk_isapi_plugin.c file. The latest version from CVS is 1.64 (according to WinCVS). Should I just fix these, or is there a better alternative? Thanks, Derrick jk_isapi_plugin.c C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : error C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(229) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned long *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since the last official release in March, so I've built a version based on the latest snapshot. I've also added a How to page for people interested in building it themselves. http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=isapipage=overview - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new isapi_redirector2.dll
Thank you! ContactInfo NameDerrick Koes/Name TitleSenior Software Engineer/Title Company name=SkillSoft url=http://www.skillsoft.com/ AIMcodeauthor2001/AIM Email[EMAIL PROTECTED]/Email Phone(603) 305-1753/Phone Fax/ Quote attributedTo=YodaNo, try not, do or do not, there is no try./Quote /ContactInfo -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: RE: new isapi_redirector2.dll SF_NOTIFY_AUTH_COMPLETE is part of the platform SDK. The errors you're getting suggests VC doesn't know where to find the SDK. [EMAIL PROTECTED] 12/14/2004 10:02:26 AM I think I've followed the steps to build JK2, but there are still errors in the jk_isapi_plugin.c file. The latest version from CVS is 1.64 (according to WinCVS). Should I just fix these, or is there a better alternative? Thanks, Derrick jk_isapi_plugin.c C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : error C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(229) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned long *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since the last official release in March, so I've built a version based on the latest snapshot. I've also added a How to page for people interested in building it themselves. http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=isapipage=overview - 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: new isapi_redirector2.dll
I think I've followed the steps to build JK2, but there are still errors in the jk_isapi_plugin.c file. The latest version from CVS is 1.64 (according to WinCVS). Should I just fix these, or is there a better alternative? Thanks, Derrick jk_isapi_plugin.c C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : error C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(160) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(229) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned long *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(231) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(234) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_isapi_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since the last official release in March, so I've built a version based on the latest snapshot. I've also added a How to page for people interested in building it themselves. http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=isapipage=overview - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new isapi_redirector2.dll
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new isapi_redirector2.dll
If you are trying to build jk2 to have a connector between your webserver and tomcat, and you are just starting out, then you should probably know that jk2 is no longer supported and you should get jk 1.2.7 (in beta currently but it works and will be released soon I think). Allistair. -Original Message- From: Derrick Koes [mailto:[EMAIL PROTECTED] Sent: 14 December 2004 16:02 To: Tomcat Users List Subject: RE: new isapi_redirector2.dll I think I've followed the steps to build JK2, but there are still errors in the jk_isapi_plugin.c file. The latest version from CVS is 1.64 (according to WinCVS). Should I just fix these, or is there a better alternative? Thanks, Derrick jk_isapi_plugin.c C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(160) : error C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(160) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(229) : warning C4018: '==' : signed/unsigned mismatch C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(231) : error C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(231) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(231) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned long *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(231) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(234) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(234) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(234) : error C2059: syntax error : ')' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(237) : error C2146: syntax error : missing ')' before identifier 'pvNotification' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(237) : warning C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs in levels of indirection from 'int ' C:\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\jk_is api_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since the last official release in March, so I've built a version based on the latest snapshot. I've also added a How to page for people interested in building it themselves. http://web.bvu.edu/staff/david/index.jsp?section=softwaresubs ection=isapipage=overview - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Babie query - pls pls help me
You need to create a mapping in web.xml to invoke the servlet. Look at the elements servlet and servlet-mapping elements in the example/WEB-INF/web.xml. Create a similar one and restart Tomcat. rgds Antony Paul On Mon, 13 Dec 2004 21:09:07 +0800, Manisha Sathe [EMAIL PROTECTED] wrote: Hi, I am totally totally new to Servlet/Tomcat. I wrote a very simple HelloWorld servlet. I could compile it and could create the HelloWorld.class file. But how to test it thr Tomat web server ? I put the class inside servlet example dir C:\jakarta-tomcat-5.0.28\webapps\servlets-examples\WEB-INF\classes But whe tried to run it like http://localhost:8080/servlets-examples/servlet/HelloWorld always i get description The requested resource (/servlets-examples/servlet/HelloWorld) is not available. I tried to start-stop/reload the tomcat servlet-example but still the same, i understand i need to change some files - but can any body tell stepwise instructions ? Pls pls help me I am stuck Thanks in advance Manisha - 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: New Babie query - pls pls help me
Welcome aboard. The first thing you should do is find yourself a good book or tutorial. There is a good one here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html If you just want a simple servlet example that you can drop into a running instance of Tomcat and run you can find one here: http://simple.souther.us Good Luck -Ben On Mon, 2004-12-13 at 08:09, Manisha Sathe wrote: Hi, I am totally totally new to Servlet/Tomcat. I wrote a very simple HelloWorld servlet. I could compile it and could create the HelloWorld.class file. But how to test it thr Tomat web server ? I put the class inside servlet example dir C:\jakarta-tomcat-5.0.28\webapps\servlets-examples\WEB-INF\classes But whe tried to run it like http://localhost:8080/servlets-examples/servlet/HelloWorld always i get description The requested resource (/servlets-examples/servlet/HelloWorld) is not available. I tried to start-stop/reload the tomcat servlet-example but still the same, i understand i need to change some files - but can any body tell stepwise instructions ? Pls pls help me I am stuck Thanks in advance Manisha - 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: New Babie query - pls pls help me
Argh. Triple hijack! This thread started as JSP expressions are displayed as string, became Do not allow browsing the root directory to tomcat, then problem starting tomcat 5.5/jdk1.3.1_11 and now New Babie query - pls pls help me. For the sake of the archives and those of us using thread-aware mail clients, please start a new thread instead of replying to a completely unrelated topic. Ta, Jon Antony Paul wrote: You need to create a mapping in web.xml to invoke the servlet. Look at the elements servlet and servlet-mapping elements in the example/WEB-INF/web.xml. Create a similar one and restart Tomcat. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New session created from same client/different host
From: Mark O'Driscoll [mailto:[EMAIL PROTECTED] If my client (IE6) connects to a single tomcat(5.0.28 Windows2k) using different hostnames (e.g. http://localhost:8080/myapp/test.jsp AND http://127.0.0.1:8080/myapp/test.jsp ) a new session is created for each alias. Is there any way to stop these new sessions being created? Not if you use cookies. The JSPSESSIONID cookie will be bound either to 'localhost' or to '127.0.0.1', and IE will only send the cookie corresponding to the given hostname. - Peter smime.p7s Description: S/MIME cryptographic signature
Re: New session created from same client/different host
Not really. -Tim Mark O'Driscoll wrote: If my client (IE6) connects to a single tomcat(5.0.28 Windows2k) using different hostnames (e.g. http://localhost:8080/myapp/test.jsp AND http://127.0.0.1:8080/myapp/test.jsp ) a new session is created for each alias. Is there any way to stop these new sessions being created? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New Install of Tomcat 4 on HP-UX Can't Start
Hi, Is there a root cause in your log following this InvocationTargetException? If you're just starting out with Tomcat, there's no reason to use 4.x. Go with 5.0.28 or 5.5.4. And whether using 5.x or 4.x, first just install it from the distribution and start it up without changing configuration or webapps. Make sure you can access and run the example applications. Then worry about your specific ones. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Gibson, Danny [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 12:40 PM To: [EMAIL PROTECTED] Subject: New Install of Tomcat 4 on HP-UX Can't Start Howdy All, I am trying my very first attempt of loading Tomcat on an HP-UX 11.11 system. Unfortunately I am encountering troubles getting it started. Any suggestions would be greatly appreciated. Here is the error it is generating, it appears to be complaining about rsajca which does not exists within the src.zip. I have Java SDK 1.4.2_06 and Tomcat 4.1.30. I also have JAVA_HOME and CATALINA_HOME both defined. I am just lost on what to look for on this error about the rsajca/Provider. Nov 23, 2004 11:34:20 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.30 Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 9 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp l .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Caused by: java.lang.NoClassDefFoundError: com/sun/rsajca/Provider$1 at com.sun.rsajca.Provider.init(DashoA6275) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor Acce s sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon stru c torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at java.security.Provider.loadProvider(Provider.java:153) at java.security.Security$2.run(Security.java:278) at java.security.AccessController.doPrivileged(Native Method) at java.security.Security.reloadProviders(Security.java:274) at java.security.Security.getProviders(Security.java:814) at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:468) at java.security.SecureRandom.init(SecureRandom.java:128) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor Acce s sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon stru c torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at org.apache.catalina.session.ManagerBase.getRandom(ManagerBase.java:488) at org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.j ava: 7 06) at org.apache.catalina.session.StandardManager.start(StandardManager.java: 649) at org.apache.catalina.core.StandardContext.start(StandardContext.java:359 0) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497 ) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) ... 5 more count = 0, total = 78 Danny [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.
Re: New User needing urgent help
Hi Steve! I don't belive that you can import at root-level. You have to put your classes in a package (folder) that you then put in the web-inf/classes. Regards Roland - Original Message - From: Steven R. Christensen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 23, 2004 7:42 PM Subject: New User needing urgent help Hello, I am new to using Tomcat and am having difficulty getting an application to work. Any help would be greatly appreciated. I have a web app that is giving me the following errors and can't seem to find why. Thanks in advance for your help. org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:6: '.' expected import Account; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:7: '.' expected import Banner; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:8: '.' expected import CalDate; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:9: '.' expected import Campaign; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:10: '.' expected import Dates; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:11: '.' expected import DB; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:12: '.' expected import DetectOSBrowser; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:13: '.' expected import Environment; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:14: '.' expected import GetAdServlet; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:15: '.' expected import GetLinkServlet; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:16: '.' expected import Javamail; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:17: '.' expected import Keys; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:18: '.' expected import LicenseCheck; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:19: '.' expected import LogError; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:20: '.' expected import LogonValidation; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:21: '.' expected import LogsCutover; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:22: '.' expected import Msgsend; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:23: '.' expected import Popwindow; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:24: '.' expected import Region; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:25: '.' expected import Sendmail; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:26: '.' expected import servletUpload; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:27: '.' expected import SmartHello; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:28: '.' expected import Stats; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:29: '.' expected import Subscriber; ^ Generated servlet error:
Re: New User needing urgent help
Correct. When you import w/o a package like you have, it will import from the current package - that is org.apache.somethingorother. Put them in a package, and change the imports. Larry [EMAIL PROTECTED] 10/23/04 11:47 AM Hi Steve! I don't belive that you can import at root-level. You have to put your classes in a package (folder) that you then put in the web-inf/classes. Regards Roland - Original Message - From: Steven R. Christensen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 23, 2004 7:42 PM Subject: New User needing urgent help Hello, I am new to using Tomcat and am having difficulty getting an application to work. Any help would be greatly appreciated. I have a web app that is giving me the following errors and can't seem to find why. Thanks in advance for your help. org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:6: '.' expected import Account; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:7: '.' expected import Banner; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:8: '.' expected import CalDate; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:9: '.' expected import Campaign; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:10: '.' expected import Dates; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:11: '.' expected import DB; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:12: '.' expected import DetectOSBrowser; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:13: '.' expected import Environment; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:14: '.' expected import GetAdServlet; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:15: '.' expected import GetLinkServlet; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:16: '.' expected import Javamail; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:17: '.' expected import Keys; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:18: '.' expected import LicenseCheck; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:19: '.' expected import LogError; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:20: '.' expected import LogonValidation; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:21: '.' expected import LogsCutover; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:22: '.' expected import Msgsend; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:23: '.' expected import Popwindow; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:24: '.' expected import Region; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:25: '.' expected import Sendmail; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:26: '.' expected import servletUpload; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:27: '.' expected import SmartHello; ^ Generated servlet error: D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:28: '.' expected import Stats; ^ Generated
RE: New User needing urgent help
From this I gathered that the import code isn't required and it looks like that fixed the problem. One thing I should have said was sun-java newbie as well so I am vastly ignorant on how all of this works. Only been trying to use it the last day or two. Appreciate the expert advice and very fast response everyone have given on this. You guys ROCK! Hopefully I will be able to get this operational without bothering everyone again. Thanks, Steve From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Sat 10/23/2004 12:52 PM To: 'Tomcat Users List' Subject: AW: New User needing urgent help Hi import Account; No. No. No. Import is used to make classes of foreign packages available. Classes in the same package are always available. And you should never have any package-less class, hence no problems. Regards, Steffen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New User needing urgent help
You'll probably have other problems later if you don't get your classes into packages (mapping servlets etc..). On Sat, 2004-10-23 at 14:01, Steven R. Christensen wrote: From this I gathered that the import code isn't required and it looks like that fixed the problem. One thing I should have said was sun-java newbie as well so I am vastly ignorant on how all of this works. Only been trying to use it the last day or two. Appreciate the expert advice and very fast response everyone have given on this. You guys ROCK! Hopefully I will be able to get this operational without bothering everyone again. Thanks, Steve From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Sat 10/23/2004 12:52 PM To: 'Tomcat Users List' Subject: AW: New User needing urgent help Hi import Account; No. No. No. Import is used to make classes of foreign packages available. Classes in the same package are always available. And you should never have any package-less class, hence no problems. Regards, Steffen __ - 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: New User needing urgent help
Originally this app was setup to be located outside of the webapp directory in it's own directory. I had it working for the Tomcat 3.3.2 by setting the context on it with no problems. I wanted to make sure I had the latest Tomcat install to ensure that I wouldn't have to upgrade too soon so I did that but couldn't find where I could get it deployed on an absolute path instead of the relative so I set it up in the webapp to make things simpler but then ran into this problem. The support for this software is pretty meager so I am working through it so I can support it myself. From what I see in the software the mapping servlets and such look like they are all in place. Just the location of the whole thing has been beating me up. Perhaps someone knows a way I can leave it outside the root and save me some extra work? Thanks for the help. From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Sat 10/23/2004 1:06 PM To: Tomcat Users List Subject: RE: New User needing urgent help You'll probably have other problems later if you don't get your classes into packages (mapping servlets etc..). On Sat, 2004-10-23 at 14:01, Steven R. Christensen wrote: From this I gathered that the import code isn't required and it looks like that fixed the problem. One thing I should have said was sun-java newbie as well so I am vastly ignorant on how all of this works. Only been trying to use it the last day or two. Appreciate the expert advice and very fast response everyone have given on this. You guys ROCK! Hopefully I will be able to get this operational without bothering everyone again. Thanks, Steve From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Sat 10/23/2004 12:52 PM To: 'Tomcat Users List' Subject: AW: New User needing urgent help Hi import Account; No. No. No. Import is used to make classes of foreign packages available. Classes in the same package are always available. And you should never have any package-less class, hence no problems. Regards, Steffen __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New User needing urgent help
Perhaps someone knows a way I can leave it outside the root and save me some extra work? This should help: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html On Sat, 2004-10-23 at 14:14, Steven R. Christensen wrote: Originally this app was setup to be located outside of the webapp directory in it's own directory. I had it working for the Tomcat 3.3.2 by setting the context on it with no problems. I wanted to make sure I had the latest Tomcat install to ensure that I wouldn't have to upgrade too soon so I did that but couldn't find where I could get it deployed on an absolute path instead of the relative so I set it up in the webapp to make things simpler but then ran into this problem. The support for this software is pretty meager so I am working through it so I can support it myself. From what I see in the software the mapping servlets and such look like they are all in place. Just the location of the whole thing has been beating me up. Perhaps someone knows a way I can leave it outside the root and save me some extra work? Thanks for the help. From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Sat 10/23/2004 1:06 PM To: Tomcat Users List Subject: RE: New User needing urgent help You'll probably have other problems later if you don't get your classes into packages (mapping servlets etc..). On Sat, 2004-10-23 at 14:01, Steven R. Christensen wrote: From this I gathered that the import code isn't required and it looks like that fixed the problem. One thing I should have said was sun-java newbie as well so I am vastly ignorant on how all of this works. Only been trying to use it the last day or two. Appreciate the expert advice and very fast response everyone have given on this. You guys ROCK! Hopefully I will be able to get this operational without bothering everyone again. Thanks, Steve From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Sat 10/23/2004 12:52 PM To: 'Tomcat Users List' Subject: AW: New User needing urgent help Hi import Account; No. No. No. Import is used to make classes of foreign packages available. Classes in the same package are always available. And you should never have any package-less class, hence no problems. Regards, Steffen __ - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new to Tomcat..
Did you use the admin or manager tool to check if it's available? -Original Message- From: Vivek Behal [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 10:39 PM To: [EMAIL PROTECTED] Subject: new to Tomcat.. Hi, I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder. Then I modified the web.xml file according to that. it is working very fine. but if I put a .html file, a simple static hello.html in the webapps\ROOT then I use the explorer http://localhost:8080/hello.html http://localhost:8080/hello.html I get page not found error. Could you suggest me what is the problem? Regards, Vivek Behal. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new to Tomcat..
No. but the .html is avaialable there and tomcat is not able to get it. Regards, Vivek Behal. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 12:32 PM To: 'Tomcat Users List' Subject: RE: new to Tomcat.. Did you use the admin or manager tool to check if it's available? -Original Message- From: Vivek Behal [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 10:39 PM To: [EMAIL PROTECTED] Subject: new to Tomcat.. Hi, I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder. Then I modified the web.xml file according to that. it is working very fine. but if I put a .html file, a simple static hello.html in the webapps\ROOT then I use the explorer http://localhost:8080/hello.html http://localhost:8080/hello.html I get page not found error. Could you suggest me what is the problem? Regards, Vivek Behal. - 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: new to Tomcat..
Have you restarted tomcat? -Original Message- From: Vivek Behal [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 11:58 PM To: Tomcat Users List Subject: RE: new to Tomcat.. No. but the .html is avaialable there and tomcat is not able to get it. Regards, Vivek Behal. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 12:32 PM To: 'Tomcat Users List' Subject: RE: new to Tomcat.. Did you use the admin or manager tool to check if it's available? -Original Message- From: Vivek Behal [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 10:39 PM To: [EMAIL PROTECTED] Subject: new to Tomcat.. Hi, I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder. Then I modified the web.xml file according to that. it is working very fine. but if I put a .html file, a simple static hello.html in the webapps\ROOT then I use the explorer http://localhost:8080/hello.html http://localhost:8080/hello.html I get page not found error. Could you suggest me what is the problem? Regards, Vivek Behal. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new to Tomcat..
when I put the .html file there, the tomcat was not running.after putting the .html file i started tomcat. Regards, Vivek Behal. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 12:45 PM To: 'Tomcat Users List' Subject: RE: new to Tomcat.. Have you restarted tomcat? -Original Message- From: Vivek Behal [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 11:58 PM To: Tomcat Users List Subject: RE: new to Tomcat.. No. but the .html is avaialable there and tomcat is not able to get it. Regards, Vivek Behal. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 12:32 PM To: 'Tomcat Users List' Subject: RE: new to Tomcat.. Did you use the admin or manager tool to check if it's available? -Original Message- From: Vivek Behal [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 10:39 PM To: [EMAIL PROTECTED] Subject: new to Tomcat.. Hi, I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder. Then I modified the web.xml file according to that. it is working very fine. but if I put a .html file, a simple static hello.html in the webapps\ROOT then I use the explorer http://localhost:8080/hello.html http://localhost:8080/hello.html I get page not found error. Could you suggest me what is the problem? Regards, Vivek Behal. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
On Sun, 26 Sep 2004 02:47:19 -0300, Eugene [EMAIL PROTECTED] wrote: Hello, also it would be great if they can give some information where and how to place jsp pages if somebody want to use Tomcat with Apache. by default the deployment folder is webapps. refer conf--server.xml-- host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true I figure it out by myself after some hours of learning basics of JSP. But tell the truth I never seen clear instructions how exactly newbie can deploy the page or application. All books starts from there is a common deployment descriptor for all apps which is place in conf-web.xml HelloWorld.. but there no any word about ROOT, about how to use custom directory under Apache or without it and things like this. I've If u place any application in webapps it will be loaded automatically. say i create a folder test in webapps. create a folder WEB-INF under test. create a web.xml it containing the following -- ?xml version=1.0 encoding=ISO-8859-1? !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 display-nameThis is a test folder /display-name description Welcome to the test folder /description web-app -- this is the deployment descriptor specificallty for webapplication test. for putting java beans u need to create a classes folder under WEB-INF and all ur java classes go in there. if u create testClass.java under WEB-INF--classes folder then u need the following in ur jsp page to access it. = jsp:useBean id=myclass class=testClass/ = under test u can put jsp pages. to access jsp pages u need to type http://localhost:8080/test test will be automatically loaded because appBase is webapps as per our settings in server.xml other wise we need to add a context in server.xml under host to load the application. discovered that the balancers theme also looks like some kind of black magic and not just for me. Sunday, September 26, 2004, 2:21:52 AM, you wrote: On Sat, Sep 25, 2004 at 09:44:20PM -0700, hbklau wrote: : I have a few questions here. I am running tomcat 5 on my windows 98. It goes : like this, I had deleted the index.jsp but how come i still able to view the : index.jsp when i type http://locahost:8080? Sounds like you tried to customize one of the demo apps. This usually isn't a good idea, since those JSPs come precompiled and are thus hard-mapped as servlets in web.xml. You want to start from scratch. Follow the instructions on the Tomcat website for first webapp or something of that nature. For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -QM -- Best regards, Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 / * Learn the rules as you would need them to break them properly * / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -QM Wouldn't it make more sense NOT to precompile the JSPs for one of the sample apps? The Sample JSPs would probably be the most likely candidate. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -QM Wouldn't it make more sense NOT to precompile the JSPs for one of the sample apps? The Sample JSPs would probably be the most likely candidate. Thats a good idea. Agree.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
Hello Atishay, thanks for answer. The thing is I'm using Apache, I'm writing on Perl or PHP, I know just basics of JSPs (as I have VB-ASP specialization on the past, and tell the truth they're pretty close, at least familiar). I want to give my clients access from their FTP account to one folder - public_html to control their content, so thats why I need to deploy all not in webapps, but in htdocs. Because other pages are served by Apache. Thts why I telling that it wolud be great to have basic instructions about. I figure it out by myself - all works fine jsp and applets erved by Tomcat, php,pl,cgi - by Apache, but it was pretty hard at start to make it work together. Thanks. Sunday, September 26, 2004, 3:08:11 AM, you wrote: On Sun, 26 Sep 2004 02:47:19 -0300, Eugene [EMAIL PROTECTED] wrote: Hello, also it would be great if they can give some information where and how to place jsp pages if somebody want to use Tomcat with Apache. by default the deployment folder is webapps. refer conf--server.xml-- host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true I figure it out by myself after some hours of learning basics of JSP. But tell the truth I never seen clear instructions how exactly newbie can deploy the page or application. All books starts from there is a common deployment descriptor for all apps which is place in conf-web.xml HelloWorld.. but there no any word about ROOT, about how to use custom directory under Apache or without it and things like this. I've If u place any application in webapps it will be loaded automatically. say i create a folder test in webapps. create a folder WEB-INF under test. create a web.xml it containing the following -- ?xml version=1.0 encoding=ISO-8859-1? !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 display-nameThis is a test folder /display-name description Welcome to the test folder /description web-app -- this is the deployment descriptor specificallty for webapplication test. for putting java beans u need to create a classes folder under WEB-INF and all ur java classes go in there. if u create testClass.java under WEB-INF--classes folder then u need the following in ur jsp page to access it. = jsp:useBean id=myclass class=testClass/ = under test u can put jsp pages. to access jsp pages u need to type http://localhost:8080/test test will be automatically loaded because appBase is webapps as per our settings in server.xml other wise we need to add a context in server.xml under host to load the application. discovered that the balancers theme also looks like some kind of black magic and not just for me. Sunday, September 26, 2004, 2:21:52 AM, you wrote: On Sat, Sep 25, 2004 at 09:44:20PM -0700, hbklau wrote: : I have a few questions here. I am running tomcat 5 on my windows 98. It goes : like this, I had deleted the index.jsp but how come i still able to view the : index.jsp when i type http://locahost:8080? Sounds like you tried to customize one of the demo apps. This usually isn't a good idea, since those JSPs come precompiled and are thus hard-mapped as servlets in web.xml. You want to start from scratch. Follow the instructions on the Tomcat website for first webapp or something of that nature. For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -QM -- Best regards, Eugene -- Best regards, Eugenemailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
go tomcat root directory-work-localhost and the find the appropriate directory which contains the file u r trying to open. delete it and try again. it should work. also did u try ctrl+F5 to refresh. On Sat, 25 Sep 2004 21:44:20 -0700 (PDT), hbklau [EMAIL PROTECTED] wrote: I have a few questions here. I am running tomcat 5 on my windows 98. It goes like this, I had deleted the index.jsp but how come i still able to view the index.jsp when i type http://locahost:8080? And i tried placing a index.html into the root directory but it can't load the images! Can anyone please help me with this? Thanks = Lau Siang Loon alt. mail = [EMAIL PROTECTED] http://sg.geocities.com/hbklau __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 / * Learn the rules as you would need them to break them properly * / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
Sorry, I still don't get it. Maybe my message is not clear and lead to some misunderstanding. I had deleted the original index.jsp from tomcat root\webapps\ root. But when i type http://get2gether.mine.nu:8080 . I still got back the original index.jsp which i had deleted earlier. I tried your solution but i can't find any file except with a file name called tldCache.ser . Sorry if I have confused. Thanks again. --- Atishay Kumar [EMAIL PROTECTED] wrote: go tomcat root directory-work-localhost and the find the appropriate directory which contains the file u r trying to open. delete it and try again. it should work. also did u try ctrl+F5 to refresh. On Sat, 25 Sep 2004 21:44:20 -0700 (PDT), hbklau [EMAIL PROTECTED] wrote: I have a few questions here. I am running tomcat 5 on my windows 98. It goes like this, I had deleted the index.jsp but how come i still able to view the index.jsp when i type http://locahost:8080? And i tried placing a index.html into the root directory but it can't load the images! Can anyone please help me with this? Thanks = Lau Siang Loon alt. mail = [EMAIL PROTECTED] http://sg.geocities.com/hbklau __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 / * Learn the rules as you would need them to break them properly * / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = Lau Siang Loon alt. mail = [EMAIL PROTECTED] http://sg.geocities.com/hbklau __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
On Sat, Sep 25, 2004 at 09:44:20PM -0700, hbklau wrote: : I have a few questions here. I am running tomcat 5 on my windows 98. It goes : like this, I had deleted the index.jsp but how come i still able to view the : index.jsp when i type http://locahost:8080? Sounds like you tried to customize one of the demo apps. This usually isn't a good idea, since those JSPs come precompiled and are thus hard-mapped as servlets in web.xml. You want to start from scratch. Follow the instructions on the Tomcat website for first webapp or something of that nature. For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -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]
Re: New bies
Hello, also it would be great if they can give some information where and how to place jsp pages if somebody want to use Tomcat with Apache. I figure it out by myself after some hours of learning basics of JSP. But tell the truth I never seen clear instructions how exactly newbie can deploy the page or application. All books starts from HelloWorld.. but there no any word about ROOT, about how to use custom directory under Apache or without it and things like this. I've discovered that the balancers theme also looks like some kind of black magic and not just for me. Sunday, September 26, 2004, 2:21:52 AM, you wrote: On Sat, Sep 25, 2004 at 09:44:20PM -0700, hbklau wrote: : I have a few questions here. I am running tomcat 5 on my windows 98. It goes : like this, I had deleted the index.jsp but how come i still able to view the : index.jsp when i type http://locahost:8080? Sounds like you tried to customize one of the demo apps. This usually isn't a good idea, since those JSPs come precompiled and are thus hard-mapped as servlets in web.xml. You want to start from scratch. Follow the instructions on the Tomcat website for first webapp or something of that nature. For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -QM -- Best regards, Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New idea - Enable Tomcat for SSL?
Hi, I don't know about CRL support -- why not just try it out? Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 7:51 PM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Shapira, Yoav wrote: Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html And, of course, http://jakarta.apache.org/tomcat/faq/connectors.html#integrate which should have saved you considerable time and effort. Yoav, I had posted a number of messages about problems I was having, but in any event, thanks for the links. One other question: If I configure Tomcat (5.0.27) as a standalone SSL-enabled (client and server) webserver+container, will the Tomcat SSL handling support the use of certificate revocation lists (CRLs)? I've been trying to research this, and so far have had no luck finding anything on it, and, from the standpoint of security, support for CRLs is going to be a must-have if I go this direction. If you or anyone knows the answer to this question, please let me know. Thanks again, Jim - 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]
Re: New idea - Enable Tomcat for SSL?
Yoav, The problem is that I can't find any info at all on how to configure it to use a CRL. FYI, after an all-nighter, I was just able to get the client and server SSL part working with standalone Tomcat. Very cool :)! And, best of all, I was able to confirm that with this, I can access the client certificate info from my JSPs. I'm just so close to what I need now, if I can just figure out how to enable or incorporate the CRL checking, as from a security standpoint, they won't let me deploy a PKI-enabled system if it doesn't support CRLs. Jim Shapira, Yoav wrote: Hi, I don't know about CRL support -- why not just try it out? Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 7:51 PM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Shapira, Yoav wrote: Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html And, of course, http://jakarta.apache.org/tomcat/faq/connectors.html#integrate which should have saved you considerable time and effort. Yoav, I had posted a number of messages about problems I was having, but in any event, thanks for the links. One other question: If I configure Tomcat (5.0.27) as a standalone SSL-enabled (client and server) webserver+container, will the Tomcat SSL handling support the use of certificate revocation lists (CRLs)? I've been trying to research this, and so far have had no luck finding anything on it, and, from the standpoint of security, support for CRLs is going to be a must-have if I go this direction. If you or anyone knows the answer to this question, please let me know. Thanks again, Jim - 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]
RE: New idea - Enable Tomcat for SSL?
Hi, I'm afraid I can't help much with CRLs on Tomcat. I've never done that before ;) I don't see much in the docs. I do see hits on Google, such as http://proj-grid-data-build.web.cern.ch/proj-grid-data-build/edg-java-se curity/edg-java-security-1.5.9/tomcat/Authentication_Admin_Guide.html, suggesting a custom SSLSocketFactory is in order. Tomcat of course lets you integrate whatever socket factory you want for your connector, and the one in the above links allows for CRL configuration. Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:55 AM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Yoav, The problem is that I can't find any info at all on how to configure it to use a CRL. FYI, after an all-nighter, I was just able to get the client and server SSL part working with standalone Tomcat. Very cool :)! And, best of all, I was able to confirm that with this, I can access the client certificate info from my JSPs. I'm just so close to what I need now, if I can just figure out how to enable or incorporate the CRL checking, as from a security standpoint, they won't let me deploy a PKI-enabled system if it doesn't support CRLs. Jim Shapira, Yoav wrote: Hi, I don't know about CRL support -- why not just try it out? Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 7:51 PM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Shapira, Yoav wrote: Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html And, of course, http://jakarta.apache.org/tomcat/faq/connectors.html#integrate which should have saved you considerable time and effort. Yoav, I had posted a number of messages about problems I was having, but in any event, thanks for the links. One other question: If I configure Tomcat (5.0.27) as a standalone SSL-enabled (client and server) webserver+container, will the Tomcat SSL handling support the use of certificate revocation lists (CRLs)? I've been trying to research this, and so far have had no luck finding anything on it, and, from the standpoint of security, support for CRLs is going to be a must-have if I go this direction. If you or anyone knows the answer to this question, please let me know. Thanks again, Jim - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New idea - Enable Tomcat for SSL?
Excuse me everyone who has talked on this thread, i haven't followed this thread closely, but why aren't you using a proven software for that matter like Apache HTTPD?. it has years of SSL patches, corrections and improvements, also, tomcat is just too slow to serve static content like images or large files. If you're concerned with security, you should never think on the first place to begin a new development, security has to have a process of maturity before you can decide something is *secure enough* Shapira, Yoav escribió: Hi, I'm afraid I can't help much with CRLs on Tomcat. I've never done that before ;) I don't see much in the docs. I do see hits on Google, such as http://proj-grid-data-build.web.cern.ch/proj-grid-data-build/edg-java-se curity/edg-java-security-1.5.9/tomcat/Authentication_Admin_Guide.html, suggesting a custom SSLSocketFactory is in order. Tomcat of course lets you integrate whatever socket factory you want for your connector, and the one in the above links allows for CRL configuration. Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:55 AM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Yoav, The problem is that I can't find any info at all on how to configure it to use a CRL. FYI, after an all-nighter, I was just able to get the client and server SSL part working with standalone Tomcat. Very cool :)! And, best of all, I was able to confirm that with this, I can access the client certificate info from my JSPs. I'm just so close to what I need now, if I can just figure out how to enable or incorporate the CRL checking, as from a security standpoint, they won't let me deploy a PKI-enabled system if it doesn't support CRLs. Jim Shapira, Yoav wrote: Hi, I don't know about CRL support -- why not just try it out? Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 7:51 PM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Shapira, Yoav wrote: Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html And, of course, http://jakarta.apache.org/tomcat/faq/connectors.html#integrate which should have saved you considerable time and effort. Yoav, I had posted a number of messages about problems I was having, but in any event, thanks for the links. One other question: If I configure Tomcat (5.0.27) as a standalone SSL-enabled (client and server) webserver+container, will the Tomcat SSL handling support the use of certificate revocation lists (CRLs)? I've been trying to research this, and so far have had no luck finding anything on it, and, from the standpoint of security, support for CRLs is going to be a must-have if I go this direction. If you or anyone knows the answer to this question, please let me know. Thanks again, Jim - 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] 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: New idea - Enable Tomcat for SSL?
On Fri, Aug 20, 2004 at 10:11:01AM -0400, John Villar wrote: : tomcat is just too slow to serve : static content like images or large files. Says who? ;) -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]
Re: New idea - Enable Tomcat for SSL?
Somewhere on the net don't know where :-D. just in case, i did test it. with the JK2 integrator with IIS and Tomcat 5.0.19 the performance tripled comparing with Tomcat 5.0.19 alone of course, with a site that has *LOTS* of statically placed images QM escribió: On Fri, Aug 20, 2004 at 10:11:01AM -0400, John Villar wrote: : tomcat is just too slow to serve : static content like images or large files. Says who? ;) -QM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New idea - Enable Tomcat for SSL?
Hi, I just love it when people pop in to a thread with assertions and their own performance tripled benchmarks. http://jakarta.apache.org/tomcat/faq/performance.html#faster Stop basing your decisions on out of date information. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 10:18 AM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Somewhere on the net don't know where :-D. just in case, i did test it. with the JK2 integrator with IIS and Tomcat 5.0.19 the performance tripled comparing with Tomcat 5.0.19 alone of course, with a site that has *LOTS* of statically placed images QM escribió: On Fri, Aug 20, 2004 at 10:11:01AM -0400, John Villar wrote: : tomcat is just too slow to serve : static content like images or large files. Says who? ;) -QM - 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]
Re: New idea - Enable Tomcat for SSL?
John, FYI, that (Apache+SSL) was my first approach, and I spent over a week trying to get it working, and posted a bunch of times about my problems. I was able to get the SSL authentication working early on, but what I was struggling with is getting access to the client cert information from JSPs. In the end, I was able to conclude that the reason for that last problem was that the binaries that I was working with (Apache, mod_jk/jk2) were not compiled with the --EAPI directive, and that was preventing the SSL/client cert info from passing to Tomcat. Besides the fact that I'm kind of running out of time to get something working, so I wouldn't have the time to build Apache, mod_ssl, mod_jk/jk2, I'm working in an environment where the binaries are controlled and single-sourced internally, and so even if I did have the time, I wouldn't be allowed to do and deploy a 'special' build. After all of that, I turned back to Tomcat, and like I said, I'm that close now. Also, as I indicated in an earlier msg in this thread, this is not going to be a high-volume website, at most maybe 1-2 people at a time, so performance is not a major concern. Jim John Villar wrote: Excuse me everyone who has talked on this thread, i haven't followed this thread closely, but why aren't you using a proven software for that matter like Apache HTTPD?. it has years of SSL patches, corrections and improvements, also, tomcat is just too slow to serve static content like images or large files. If you're concerned with security, you should never think on the first place to begin a new development, security has to have a process of maturity before you can decide something is *secure enough* Shapira, Yoav escribió: Hi, I'm afraid I can't help much with CRLs on Tomcat. I've never done that before ;) I don't see much in the docs. I do see hits on Google, such as http://proj-grid-data-build.web.cern.ch/proj-grid-data-build/edg-java-se curity/edg-java-security-1.5.9/tomcat/Authentication_Admin_Guide.html, suggesting a custom SSLSocketFactory is in order. Tomcat of course lets you integrate whatever socket factory you want for your connector, and the one in the above links allows for CRL configuration. Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:55 AM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Yoav, The problem is that I can't find any info at all on how to configure it to use a CRL. FYI, after an all-nighter, I was just able to get the client and server SSL part working with standalone Tomcat. Very cool :)! And, best of all, I was able to confirm that with this, I can access the client certificate info from my JSPs. I'm just so close to what I need now, if I can just figure out how to enable or incorporate the CRL checking, as from a security standpoint, they won't let me deploy a PKI-enabled system if it doesn't support CRLs. Jim Shapira, Yoav wrote: Hi, I don't know about CRL support -- why not just try it out? Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 7:51 PM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Shapira, Yoav wrote: Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html And, of course, http://jakarta.apache.org/tomcat/faq/connectors.html#integrate which should have saved you considerable time and effort. Yoav, I had posted a number of messages about problems I was having, but in any event, thanks for the links. One other question: If I configure Tomcat (5.0.27) as a standalone SSL-enabled (client and server) webserver+container, will the Tomcat SSL handling support the use of certificate revocation lists (CRLs)? I've been trying to research this, and so far have had no luck finding anything on it, and, from the standpoint of security, support for CRLs is going to be a must-have if I go this direction. If you or anyone knows the answer to this question, please let me know. Thanks again, Jim - 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
Re: New idea - Enable Tomcat for SSL?
Please, don't start a flame war with this but in my enviroment (W2K Server, IIS 5.0, Tomcat 5.0.19, MS SQL Server 2000, J2SDK 1.4.1_02) it considerabily faster with when working in integrated mode. you could blame the OS (possibly that's the cause) but its a fact for me and my customers Stop basing your decisions on out of date information. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New Loggers imply tomcat recompile????
Hi, If you were even remotely concerned with portability you wouldn't be writing custom Loggers, would you? ;) Waste of time, they're gone in Tomcat 5.5. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 10:33 AM To: Tomcat Users List Subject: New Loggers imply tomcat recompile Hello everyone, a question i have in mind that has troubled me a lot lately If i want to include a new Logger class on tomcat, do i have to recompile the whole thing!!!??? :-O because i haven't found a way to append to the mbean descriptor without *violating* the tomcat package and i really stress the need of portability John - 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]
Re: New Loggers imply tomcat recompile????
Shapira, Yoav escribió: Hi, If you were even remotely concerned with portability you wouldn't be writing custom Loggers, would you? ;) Waste of time, they're gone in Tomcat 5.5. Yoav Shapira Millennium Research Informatics NO MY LOGGER gg. i see then i need to find another way by the way? what's using T5.5? Log4j? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New Loggers imply tomcat recompile????
Hi, Tomcat 5.5 concludes the trend started in 4.1.x and intensified in 5.0.x, which is to use commons-logging everywhere and gradually phase out org.apache.catalina.Logger. We don't need yet another Logger interface and implementation. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 10:56 AM To: Tomcat Users List Subject: Re: New Loggers imply tomcat recompile Shapira, Yoav escribió: Hi, If you were even remotely concerned with portability you wouldn't be writing custom Loggers, would you? ;) Waste of time, they're gone in Tomcat 5.5. Yoav Shapira Millennium Research Informatics NO MY LOGGER gg. i see then i need to find another way by the way? what's using T5.5? Log4j? - 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]
Re: New Loggers imply tomcat recompile????
I see. now i understand the crappy design of ..catalina.logger, finally i can finish my implementation of the Overkill Mail Logger hahahaha. thanks Shapira, Yoav escribió: Hi, Tomcat 5.5 concludes the trend started in 4.1.x and intensified in 5.0.x, which is to use commons-logging everywhere and gradually phase out org.apache.catalina.Logger. We don't need yet another Logger interface and implementation. Yoav Shapira Millennium Research Informatics - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New Loggers imply tomcat recompile????
You don't append to the mbean descriptor file: You write your own mbean-descriptor file, jar it up with your Logger (or any other managed object) implementation, and modify the ServerLifeCycleListener Listener in your server.xml to get the additional descriptor file. Then drop your jar in the server/lib directory, and bounce Tomcat. Off Topic: I'm kind of sorry to see that Logger interface go, even if I did just use them to wrap log4j loggers. I hope there's still a way to swallow output? I know, I know: not portable. But who's leaving? Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:45 AM To: Tomcat Users List Subject: RE: New Loggers imply tomcat recompile Hi, If you were even remotely concerned with portability you wouldn't be writing custom Loggers, would you? ;) Waste of time, they're gone in Tomcat 5.5. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 10:33 AM To: Tomcat Users List Subject: New Loggers imply tomcat recompile Hello everyone, a question i have in mind that has troubled me a lot lately If i want to include a new Logger class on tomcat, do i have to recompile the whole thing!!!??? :-O because i haven't found a way to append to the mbean descriptor without *violating* the tomcat package and i really stress the need of portability John - 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]
Re: New Loggers imply tomcat recompile????
You simply have to include the 'mbeans-descriptors.xml' file in the same package in the jar file that contains your Logger class. Of course, if you are trying to add your class to the package 'org.apache.catalina.logger', you probably shouldn't ;-). John Villar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello everyone, a question i have in mind that has troubled me a lot lately If i want to include a new Logger class on tomcat, do i have to recompile the whole thing!!!??? :-O because i haven't found a way to append to the mbean descriptor without *violating* the tomcat package and i really stress the need of portability John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New idea - Enable Tomcat for SSL?
Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html And, of course, http://jakarta.apache.org/tomcat/faq/connectors.html#integrate which should have saved you considerable time and effort. Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 10:47 AM To: [EMAIL PROTECTED] Subject: New idea - Enable Tomcat for SSL? Hi, With the problems that I've posted about, trying to run Apache+Tomcat+mod_jk/jk2/proxy and not being able to retrieve the PKI client certificate information in JSPs, I'm now wondering if the best way to do this might be to just forget about Apache, and just run Tomcat by itself. I've seen some info that SEEMS to indicate that it's possible to configure Tomcat as a standalone webserver+container that supports both client and server SSL authentication, i.e., no Apache, no mod_xxx, etc. Can anyone confirm that this is true? Also, if this is true, does anyone know if I'll then be able to access the client certificate information from my JSPs? If anyone can point to some detailed instructions or HOWTOs on configuring Tomcat this way, I'd really appreciate it. This would be for the latest Tomcat (5.0.27?). Even in production, traffic on the server for my project is going to be very limited, so I'm thinking that this might be the easiest option, if it can work, and if it allows me to access the info in client certs from JSP. Thanks, Jim - 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]
Re: New idea - Enable Tomcat for SSL?
Shapira, Yoav wrote: Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html And, of course, http://jakarta.apache.org/tomcat/faq/connectors.html#integrate which should have saved you considerable time and effort. Yoav, I had posted a number of messages about problems I was having, but in any event, thanks for the links. One other question: If I configure Tomcat (5.0.27) as a standalone SSL-enabled (client and server) webserver+container, will the Tomcat SSL handling support the use of certificate revocation lists (CRLs)? I've been trying to research this, and so far have had no luck finding anything on it, and, from the standpoint of security, support for CRLs is going to be a must-have if I go this direction. If you or anyone knows the answer to this question, please let me know. Thanks again, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New idea - Enable Tomcat for SSL?
hi out there i am actually new to servlets and tomcat ofcourse. Basically the problem is that i have a servlet that i want to run in Tomcat. If you could just please tell me simple steps on how to run a simple hello world servlet in tomcat ..i would really appreciate it. and also tell me what url i should use to run it thanks -bhaarat
Servlet Basics [WAS: Re: New idea - Enable Tomcat for SSL?]
On Thu, Aug 19, 2004 at 07:55:32PM -0400, [EMAIL PROTECTED] wrote: : i am actually new to servlets and tomcat ofcourse. Basically the problem is : that i have a servlet that i want to run in Tomcat. If you could just please : tell me simple steps on how to run a simple hello world servlet in tomcat ..i : would really appreciate it. and also tell me what url i should use to run it Hello, 1/ When you write to the list, please post a new message. Responding to an old message confuses thread-aware mailers, which makes it more difficult for a helpful person to see your request. I've changed both your subject and yanked the old message-ID to address this. 2/ Tomcat has extensive docs on this subject, as does Sun: http://jakarta.apache.org/tomcat http://java.sun.com -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]
Re: new to list - need help
I get below errors on any jsp request. thanks -Anand [Mon Aug 16 11:23:13 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.4 configured -- resuming normal operations [Mon Aug 16 11:23:13 2004] [error] ajp13.init(): No channel /usr/local/jakarta-tomcat-5.0.25/work/jk2.socket [Mon Aug 16 11:28:21 2004] [error] ajp13.init(): No channel /usr/local/jakarta-tomcat-5.0.25/work/jk2.socket Anand A Rao wrote: hi , I am a new member to the list. I am trying to setup an Apache 2 - Tomcat 5 setup on my linux server and have ended in some issues. Currently I can run jsps and servlets directly from tomcat but not through apache. I have tried to follow some guides from the internet on using unix sockets for communication between apache and tomcat. Any pointer to a good and working setup guide to accomplish this will be appriciated a lot. thanks and regards Anand - 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: new to list - need help
Try this, its one of the best around http://www.connecties.com/cymulacrum/tomcat5/book1.html Ta Matt -Original Message- From: Anand A Rao [mailto:[EMAIL PROTECTED] Sent: 16 August 2004 17:47 To: Tomcat Users List Subject: new to list - need help hi , I am a new member to the list. I am trying to setup an Apache 2 - Tomcat 5 setup on my linux server and have ended in some issues. Currently I can run jsps and servlets directly from tomcat but not through apache. I have tried to follow some guides from the internet on using unix sockets for communication between apache and tomcat. Any pointer to a good and working setup guide to accomplish this will be appriciated a lot. thanks and regards Anand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [tomcat] Re: new to list - need help
Just wondering. Are you using mod_jk2 or similar? What kind of content are you serving and what are your mappings in the configuration files for the mod_jk connector? José Ernesto Echeverría -Original Message- From: Anand A Rao [mailto:[EMAIL PROTECTED] Sent: Lunes, 16 de Agosto de 2004 10:50 a.m. To: Tomcat Users List Subject: [tomcat] Re: new to list - need help I get below errors on any jsp request. thanks -Anand [Mon Aug 16 11:23:13 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.4 configured -- resuming normal operations [Mon Aug 16 11:23:13 2004] [error] ajp13.init(): No channel /usr/local/jakarta-tomcat-5.0.25/work/jk2.socket [Mon Aug 16 11:28:21 2004] [error] ajp13.init(): No channel /usr/local/jakarta-tomcat-5.0.25/work/jk2.socket Anand A Rao wrote: hi , I am a new member to the list. I am trying to setup an Apache 2 - Tomcat 5 setup on my linux server and have ended in some issues. Currently I can run jsps and servlets directly from tomcat but not through apache. I have tried to follow some guides from the internet on using unix sockets for communication between apache and tomcat. Any pointer to a good and working setup guide to accomplish this will be appriciated a lot. thanks and regards Anand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New connection joining existing session
Answering my own question... Yes, just do the same as the url rewriting by adding ;jsessionid=${pageContext.session.id} to the end of the URL. Tim -Original Message- From: Tim Penhey [mailto:[EMAIL PROTECTED] Sent: 15 June 2004 13:55 To: Tomcat-User Subject: New connection joining existing session I have a web application that uses Java Web Start to do nice printing from the client machine. As a parameter to the web start application is an URL which the locally executed java app hits to get the data (normally in XML), which is most likely protected by a JDBCRealm which the user has already authenticated against. Is it possible to pass a session id as part of the URL? Would that be sufficient for an independant connection? Tim - 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: new context with port mapping doesn't work
On Thu, Jun 03, 2004 at 11:43:29AM +0200, Nina Aschenbrenner wrote: : We wanted to create a new context for our webapplication, so we could invoke : it vie ipaddress:portnumber. : We tried several tutorials but nevertheless it does not work. : Can anybody help? Perhaps, but unless you: 1/ explain what you've tried 2/ show what error(s) you received 3/ post your server.xml there's not a lot anyone can do... -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]
Re: New users Problem with mod_jk
On Thu, Apr 22, 2004 at 11:56:30AM +0700, Muhammad Reza wrote: I'm interesting to integrating Apache Server and Tomcat so my development team can host their jsp in my FreeBSD-4.9Stable machine. But I have some difficulties, here goes the detail. My httpd server is apache-2.0.47 (installed from FreeBSD-4.9Stable Port) with jakarta-tomcat-4.1.29.tar.gz and mod_jk2-apache2-2.0.4 binary for FreeBSD from http://jakarta.apache.org. and diablo-jdk1.31 My configuration from Web Server side... #cat httpd.conf --snip-- LoadModule jk2_module libexec/apache2/mod_jk2.so Include /usr/local/etc/apache2/mod_jk.conf ---snap-- #cat /usr/local/etc/apache2/mod_jk.conf IfModule mod_jk.c JkWorkersFile /usr/local/etc/apache2/workers2.properties JkLogFile logs/jk.log JkLogLevel warn JkSet config.file /usr/local/etc/apache2/workers2.properties JkMount /*.jsp localhost JkMount /servlet/* localhost JkMount /examples/* localhost /IfModule You're trying to use mod_jk2 with the mod_jk1 syntax. You must use the JkUriSet or uri mapping, take a look at jk2 documentation. -- Staf Wagemakers email: staf at patat.org homepage: http://staf.patat.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new apache to tomcat connector for linux
Hi all, Thanks for the replies.. Yoav.. Yes I read the documentation. The documentation was helpful but there is/was no download available for linux. The download directory was empty. At that point I stopped to ask for assistance. Dale.. I have not yet read this howto. Thank you very much! Andrew.. I couldn't find a valid download link in the docs and thought maybe they were old. Thanks, Mark -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 9:50 AM To: Tomcat Users List Subject: RE: new apache to tomcat connector for linux Hi, You mean to say you read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and found none of it helpful enough to do something besides copy the old conf directory?!? Yoav Shapira Millennium Research Informatics -Original Message- From: Mark Nye [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 9:32 AM To: [EMAIL PROTECTED] Subject: new apache to tomcat connector for linux Hi, I spend about half a day looking for the jk flavor of the week. It seems the documentation is running in circles. I currently use apache 2 with tomcat 3. (tomcat 3 is the only tomcat that we have been succesfull at installing with apache) I would like to use the new tomcat with apache but the jk for linux download directory is empty. I'm comfortable with the install of apache and tomcat but I can't find any good documentation on getting the jk directory under tomcat5-- conf. About the best I could do is copy my jk directory from the old tomcat to the new. Start the new tomcat server and Apache. Tomcat does get the servlet requests but says the servlet cannot be found. I don't like this hack though and was wondering if anyone else has experienced this confusion. If so could you point to the correct jk and connection methodology? Thanks, Mark 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: new apache to tomcat connector for linux
This may not live there for much longer but is the best tutorial about http://cymulacrum.net/writings/tomcat5/book1.html Ta Matt -Original Message- From: Mark Nye [mailto:[EMAIL PROTECTED] Sent: 26 March 2004 14:32 To: [EMAIL PROTECTED] Subject: new apache to tomcat connector for linux Hi, I spend about half a day looking for the jk flavor of the week. It seems the documentation is running in circles. I currently use apache 2 with tomcat 3. (tomcat 3 is the only tomcat that we have been succesfull at installing with apache) I would like to use the new tomcat with apache but the jk for linux download directory is empty. I'm comfortable with the install of apache and tomcat but I can't find any good documentation on getting the jk directory under tomcat5-- conf. About the best I could do is copy my jk directory from the old tomcat to the new. Start the new tomcat server and Apache. Tomcat does get the servlet requests but says the servlet cannot be found. I don't like this hack though and was wondering if anyone else has experienced this confusion. If so could you point to the correct jk and connection methodology? Thanks, Mark Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new apache to tomcat connector for linux
Mark, I use apache2, Tomcat 5 and JK2. It is far better for you to compile the JK2 connector yourself. It is a lot easier to do than you might think. Make sure you configure your apache2 for DSO and it is extremely simple to set it all up. Drew -Original Message- From: Mark Nye [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 9:32 AM To: [EMAIL PROTECTED] Subject: new apache to tomcat connector for linux Hi, I spend about half a day looking for the jk flavor of the week. It seems the documentation is running in circles. I currently use apache 2 with tomcat 3. (tomcat 3 is the only tomcat that we have been succesfull at installing with apache) I would like to use the new tomcat with apache but the jk for linux download directory is empty. I'm comfortable with the install of apache and tomcat but I can't find any good documentation on getting the jk directory under tomcat5-- conf. About the best I could do is copy my jk directory from the old tomcat to the new. Start the new tomcat server and Apache. Tomcat does get the servlet requests but says the servlet cannot be found. I don't like this hack though and was wondering if anyone else has experienced this confusion. If so could you point to the correct jk and connection methodology? Thanks, Mark
RE: new apache to tomcat connector for linux
Hi, You mean to say you read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and found none of it helpful enough to do something besides copy the old conf directory?!? Yoav Shapira Millennium Research Informatics -Original Message- From: Mark Nye [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 9:32 AM To: [EMAIL PROTECTED] Subject: new apache to tomcat connector for linux Hi, I spend about half a day looking for the jk flavor of the week. It seems the documentation is running in circles. I currently use apache 2 with tomcat 3. (tomcat 3 is the only tomcat that we have been succesfull at installing with apache) I would like to use the new tomcat with apache but the jk for linux download directory is empty. I'm comfortable with the install of apache and tomcat but I can't find any good documentation on getting the jk directory under tomcat5-- conf. About the best I could do is copy my jk directory from the old tomcat to the new. Start the new tomcat server and Apache. Tomcat does get the servlet requests but says the servlet cannot be found. I don't like this hack though and was wondering if anyone else has experienced this confusion. If so could you point to the correct jk and connection methodology? Thanks, Mark This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New User Web.xml question
Howdy, You don't need to declare JSPs in your web.xml even though they really are servlets, because there's a special servlet that serves JSP pages. That servlet is declared and mapped in the master web.xml file located in the $CATALINA_HOME/conf directory. Start with a web.xml file that just has an empty webapp element: ?xml version=1.0 encoding=ISO-8859-1? !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 /web-app Alternatively, you can use the basic web.xml provided in the tomcat First Webapp guide: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/web.xml.txt (In general, I suggest reading http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/ before any of your many printed books). Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 12:14 PM To: [EMAIL PROTECTED] Subject: New User Web.xml question Windows Server 2k, Tomcat 4.1. I'm relatively new at building web applications. I'm ok with the programming, I've never learned how to make a web.xml file. I've gotten by on the invoker running all of my jsp pages. It's now time to do things right. I have many books in front of me. NetBeans The Definitive Guide Tomcat Kick Start Apache Tomcat Bible Tomcat The Definitive Guide Web Development with JavaServer Pages CORE JSTL Mastering the JSP Standard Tag Library CORE Servlets and JavaServer Pages I still have no clue. I only write jsp pages, no servlets. I understand that Tomcat converts this to a servlet. I understand that this servlet is a class. The sample web.xml in the ROOT directory of webapps does not mention a class, yet the index page runs. The sample web.xml in the examples directory of webapps has lots of filter and filter-mapping entries. I have only a vague idea of what they do. I have a few very simple webapps. 1 page to login, 1 page to search. I would like to make a web.xml file for my webapps. Right now, whatever I try I get a 404 error when I restart Tomcat, then I delete the web.xml I made and everything is good again. Can someone give me a tip. If your webapp's root was \\webserver\www.company.com file:///\\webserver\www.company.com%20and%20you%20added%20test.jsp and you added test.jsp to that web app. What entry would you make in your web.xml file? Thanks in advance. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New User Web.xml question
JSP do not need any entries in web.xml caused they are simply mapped by filename Servlets need an entry so that you can map the servlet class to a URL pattern Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 9:14 AM To: [EMAIL PROTECTED] Subject: New User Web.xml question Windows Server 2k, Tomcat 4.1. I'm relatively new at building web applications. I'm ok with the programming, I've never learned how to make a web.xml file. I've gotten by on the invoker running all of my jsp pages. It's now time to do things right. I have many books in front of me. NetBeans The Definitive Guide Tomcat Kick Start Apache Tomcat Bible Tomcat The Definitive Guide Web Development with JavaServer Pages CORE JSTL Mastering the JSP Standard Tag Library CORE Servlets and JavaServer Pages I still have no clue. I only write jsp pages, no servlets. I understand that Tomcat converts this to a servlet. I understand that this servlet is a class. The sample web.xml in the ROOT directory of webapps does not mention a class, yet the index page runs. The sample web.xml in the examples directory of webapps has lots of filter and filter-mapping entries. I have only a vague idea of what they do. I have a few very simple webapps. 1 page to login, 1 page to search. I would like to make a web.xml file for my webapps. Right now, whatever I try I get a 404 error when I restart Tomcat, then I delete the web.xml I made and everything is good again. Can someone give me a tip. If your webapp's root was \\webserver\www.company.com file:///\\webserver\www.company.com%20and%20you%20added%20test.jsp and you added test.jsp to that web app. What entry would you make in your web.xml file? Thanks in advance. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New User Web.xml question
Thank you Flip and Yoav for your help. That cleared up a lot of confusion. I have used the empty web.xml listed below, restarted tomcat, and everything was fine. I then added some taglibs to the web.xml: ?xml version=1.0 encoding=ISO-8859-1? !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 taglib taglib-urihttp://jakarta.apache.org/taglibs/c/taglib-uri taglib-location/WEB-INF/c.tld/taglib-location /taglib taglib taglib-urihttp://jakarta.apache.org/taglibs/sql/taglib-uri taglib-location/WEB-INF/sql.tld/taglib-location /taglib /web-app When I restart Tomcat, I get a 404 error. Any ideas? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 12:20 PM To: Tomcat Users List Subject: RE: New User Web.xml question Howdy, You don't need to declare JSPs in your web.xml even though they really are servlets, because there's a special servlet that serves JSP pages. That servlet is declared and mapped in the master web.xml file located in the $CATALINA_HOME/conf directory. Start with a web.xml file that just has an empty webapp element: ?xml version=1.0 encoding=ISO-8859-1? !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 /web-app Alternatively, you can use the basic web.xml provided in the tomcat First Webapp guide: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/web.xml.txt (In general, I suggest reading http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/ before any of your many printed books). Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 12:14 PM To: [EMAIL PROTECTED] Subject: New User Web.xml question Windows Server 2k, Tomcat 4.1. I'm relatively new at building web applications. I'm ok with the programming, I've never learned how to make a web.xml file. I've gotten by on the invoker running all of my jsp pages. It's now time to do things right. I have many books in front of me. NetBeans The Definitive Guide Tomcat Kick Start Apache Tomcat Bible Tomcat The Definitive Guide Web Development with JavaServer Pages CORE JSTL Mastering the JSP Standard Tag Library CORE Servlets and JavaServer Pages I still have no clue. I only write jsp pages, no servlets. I understand that Tomcat converts this to a servlet. I understand that this servlet is a class. The sample web.xml in the ROOT directory of webapps does not mention a class, yet the index page runs. The sample web.xml in the examples directory of webapps has lots of filter and filter-mapping entries. I have only a vague idea of what they do. I have a few very simple webapps. 1 page to login, 1 page to search. I would like to make a web.xml file for my webapps. Right now, whatever I try I get a 404 error when I restart Tomcat, then I delete the web.xml I made and everything is good again. Can someone give me a tip. If your webapp's root was \\webserver\www.company.com file:///\\webserver\www.company.com%20and%20you%20added%20test.jsp and you added test.jsp to that web app. What entry would you make in your web.xml file? Thanks in advance. 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: New User Web.xml question
Howdy, When I restart Tomcat, I get a 404 error. Any ideas? You don't get a 404 error when you restart tomcat. You get a 404 error when you try to access some resource that tomcat can't find. What resource, what is its mapping if any, and what errors are in your logs? 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]
RE: New User Web.xml question
) 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:2225) at org.apache.catalina.startup.CatalinaService.stop(CatalinaService.java:295) 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.BootstrapService.stop(BootstrapService.java:260) at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:309) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 1:52 PM To: Tomcat Users List Subject: RE: New User Web.xml question Howdy, When I restart Tomcat, I get a 404 error. Any ideas? You don't get a 404 error when you restart tomcat. You get a 404 error when you try to access some resource that tomcat can't find. What resource, what is its mapping if any, and what errors are in your logs? 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]
RE: New User Web.xml question
Hi, When you get an error processing your web.xml, the entire context becomes unavailable: all requests to it will result in 4xx or 5xx errors, depending on the request. As for the specific error: http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=Exception+processi ng+tldq=b Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 2:31 PM To: [EMAIL PROTECTED] Subject: RE: New User Web.xml question Tomcat Log for web app, after I add taglibs to web.xml: 2004-02-25 13:41:02 WebappLoader[]: Deploying class repositories to work directory C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\www.company.com\_ 2004-02-25 13:41:02 WebappLoader[]: Deploy class files /WEB-INF/classes to E:\Inetpub\wwwroot\www.company.com\WEB-INF\classes 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/dom.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\dom.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaxen-full.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jaxen-full.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaxp-api.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jaxp-api.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jdbc2_0-stdext.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jdbc2_0-stdext.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jstl.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jstl.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/sax.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\sax.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/saxpath.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\saxpath.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/standard.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\standard.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/xalan.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\xalan.jar 2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/xercesImpl.jar to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\xercesImpl.jar 2004-02-25 13:41:02 WebappLoader[]: Reloading checks are enabled for this Context 2004-02-25 13:41:02 ContextConfig[] Exception processing TLD at resource path /WEB-INF/c.tld javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/c.tld at org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java :101 0 ) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:87 0) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig. java : 243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS uppo r t.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:356 8) at org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConf ig.j a va:614) at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854) at java.lang.Thread.run(Thread.java:534) - Root Cause - java.lang.IllegalArgumentException: Invalid TLD resource path /WEB- INF/c.tld at org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java :100 2 ) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:87 0) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig. java : 243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS uppo r t.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:356 8) at org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConf ig.j a va:614) at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854) at java.lang.Thread.run(Thread.java:534) 2004-02-25 13:41:02 ContextConfig[]: Marking this application unavailable due to previous error(s) 2004-02-25 13:41:02 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2004-02-25 13:41:02 StandardManager[]: Seeding of random number generator has been completed 2004-02-25 13:41:02 StandardContext[]: Context startup failed due to previous errors 2004-02-25 13:41:39 StandardHost[www.company.com]: Removing web application at context path 2004-02-25 13:41:39 StandardHost[www.company.com]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3644 ) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1 036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeploy er.j a va:470
RE: New to tomcat
Try this in your {JAVA_HOME}\jre\lib\security directory keytool -list -v -keystore cacerts You'll need to enter your keystore password. This is changeit by default unless someone had the good sense to do the obvious. This will give a long list of the certificates including the validity dates. Mark -Original Message- From: Tea, Justin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 10:56 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: New to tomcat Hi, I'm new to Tomcat, Apache and JDK world (three things I noticed are loaded on our server). Our custom apps broke around the time Verisign cert expired. How can I tell whether this is indeed the case? Keytool? If so, what's the exact parameter? - 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: New to tomcat
Thanks! That works. Sure enough, it expired 1/7. Now, how do I get the Verisign intermediate cert in there? -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 3:12 PM To: 'Tomcat Users List' Subject: RE: New to tomcat Try this in your {JAVA_HOME}\jre\lib\security directory keytool -list -v -keystore cacerts You'll need to enter your keystore password. This is changeit by default unless someone had the good sense to do the obvious. This will give a long list of the certificates including the validity dates. Mark -Original Message- From: Tea, Justin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 10:56 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: New to tomcat Hi, I'm new to Tomcat, Apache and JDK world (three things I noticed are loaded on our server). Our custom apps broke around the time Verisign cert expired. How can I tell whether this is indeed the case? Keytool? If so, what's the exact parameter? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New to tomcat
Should be something like this to remove expired certs keytool -delete -alias verisignclass2ca -keystore -cacerts -storepass changeit keytool -delete -alias verisignclass3ca -keystore -cacerts -storepass changeit keytool -delete -alias verisignclass4ca -keystore -cacerts -storepass changeit Verisign appear to recommend that you remove the class1 cert too. keytool -delete -alias verisignclass1ca -keystore -cacerts -storepass changeit Download new certs to {JAVA_HOME}\jre\lib\security directory from http://www.verisign.com/support/roots.html Extract PCA1ss_v4.509,PCA2ss_v4.509,PCA3ss_v4.509 to the same directory Then import them using keytool -import -alias verisignclass1ca -keystore -cacerts -storepass changeit -file PCA1ss_v4.509 keytool -import -alias verisignclass2ca -keystore -cacerts -storepass changeit -file PCA2ss_v4.509 keytool -import -alias verisignclass3ca -keystore -cacerts -storepass changeit -file PCA3ss_v4.509 Verisgn also recommend importing the G2 and G3 certs. Extract releveant files from zip. Use import as above, remembering to give each cert a unique (sensible) alias. There is also at least on other thread on tomcat-user about this. Might be worth a look in the archives. Mark -Original Message- From: Tea, Justin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 11:47 PM To: Tomcat Users List Subject: RE: New to tomcat Thanks! That works. Sure enough, it expired 1/7. Now, how do I get the Verisign intermediate cert in there? snip Try this in your {JAVA_HOME}\jre\lib\security directory keytool -list -v -keystore cacerts You'll need to enter your keystore password. This is changeit by default unless someone had the good sense to do the obvious. This will give a long list of the certificates including the validity dates. Mark -Original Message- From: Tea, Justin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 10:56 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: New to tomcat Hi, I'm new to Tomcat, Apache and JDK world (three things I noticed are loaded on our server). Our custom apps broke around the time Verisign cert expired. How can I tell whether this is indeed the case? Keytool? If so, what's the exact parameter? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New Object Pooling project
Howdy, Huh? Have you considered commons-pool? (http://jakarta.apache.org/commons/pool/) Yoav Shapira Millennium ChemInformatics -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: New Object Pooling project Hi all, I've released a beta of my Object Pooling software and it's freely available on my web site: http://web.bvu.edu/staff/david/pooling/ This is an extensible Object Pooling system that could be extending to handle pooling of just about any Object type. The initial release contains a full database connection pooling system. The main distinction between this pooling system and the others I can find is that there's no need to pre-configure the pools or use JNDI. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new JVM feature, just an idea
Just an idea, a jar archive can contain a list of jar dependencies in its META-INF/manifest.mf file. You could create such a jar in a fixed location in your system, and set your CLASSPATH point to it. An example of such a manifest could be: Manifest-Version: 1.0 Created-By: myself Class-Path: d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar d:\usr\local\skinlf-1.2.4\lib\skinregion.jar; ... This way, including this jar in your classpath will be equivalent to include all its dependencies :-) Another think that could help would be to create a d:\jars directory, and place a copy of all your jars into it. This way, the CLASSPATH variable will be shorter (and BTW, your ant scripts too ;-) Hope this helps, Rodrigo Ruiz Edson Alves Pereira wrote: That´s right, but even using a GUI IDE like JBuilder or Netbeans this problem can occours, because in a low level these tools make a command like to compile, to build a webbapp or to create a jar file. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada:sexta-feira, 12 de dezembro de 2003 15:18 Para: Tomcat Users List Assunto:RE: new JVM feature, just an idea Howdy, And Yoav, you did say that in almost 10 years no one complains about it, but as i know there are many people facing this issue all over internet also. My neibour here has a windows 2000, he will make some tests with its command line. I misunderstood your problem when I said no one else has it. What you describe is a common issue. It used to be more common before people used Ant and IDEs, when they did more stuff on the command line. I just haven't compiled anything in a DOS window for ages, so I forgot ;) Yoav Shapira -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada:sexta-feira, 12 de dezembro de 2003 14:41 Para: Tomcat Users List Assunto:RE: new JVM feature, just an idea Howdy, I see -- thanks for the example. You do realize Ant adds a lot of these jars for you automatically to the classpath, right? You don't need to add anything in ANT_HOME/lib, as that's automatically included. Furthermore, if you're using JDK 1.4 or later, you can remove a bunch of other jars from the path as they're included in the JDK, e.g. JAXP, Crimson, JDBC 2.0 extensions. Finally, you have a number of duplicates, e.g. the XML APIs, repeated a number of times in the path. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:35 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea This mainly it happen with ant, here a snapshot of it: D:\home\edsonset LOCALCLASSPATH=d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\arquiv~1\ j2sd k1.4.1_01\commapi\comm.jar;d:\usr\local\skinlf- 1.2.4\lib\skinregion.jar;d:\u sr\l ocal\skinlf-1.2.4\lib\skinlf.jar;d:\usr\local\ecs-1.4.1\lib\xerces- 1.2.2.jar ;d:\ usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;d:\usr\local\ecs- 1.4.1\ecs - 1. 4.1. jar;d:\usr\local\java_cup\java_cup.jar;d:\usr\local\hsqldb_v.1.61\lib\hs q ld b .jar ;d:\usr\local\junit3.7\junit.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\x mlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\desenv\os ctrl _lib\classes;d:\desenv\osctrl\classes;d:\desenv\pannet\src\servlets\ifin a nc e \cla sses;d:\desenv\pannet\src\servlets\intranet\classes;d:\desenv\pannet\src \ se r vlet s\panfinance\classes;d:\desenv\pannet\src\servlets\base\classes;d:\desen v \p a nnet \java-lib\jasper-runtime.jar;d:\desenv\pannet\java-lib\jasper- compiler.jar;d :\de senv\pannet\java-lib\jdbc2_0-stdext.jar;d:\desenv\pannet\java- lib\tinySQL.ja r;d: \desenv\pannet\java-lib\servlet.jar;d:\desenv\pannet\java- lib\ojdbc14.jar;d: \des env\pannet\java-lib\shell_term.jar;d:\desenv\pannet\java- lib\crimson.jar;d:\ dese nv\pannet\java-lib\jconcept.zip;d:\desenv\pannet\java- lib\com.zip;d:\desenv\ pann et\java-lib\acme.zip;d:\desenv\pannet\java- lib\xBaseJ.jar;d
Re: new JVM feature, just an idea
It is a feature of the JAR specification. You can find the online document at http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html It is in the Main Attributes section. The feature is also present in JDK 1.4.1 (and I think in 1.3.1 too, but I have not tested this) :-) Regards, Rodrigo Ruiz Derek Mahar wrote: Is the Class-Path keyword actually available in META-INF/minfest.mf or is this a feature that you like the JVM to support? Derek -Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED] Sent: December 15, 2003 3:50 AM To: Tomcat Users List Subject: Re: new JVM feature, just an idea Just an idea, a jar archive can contain a list of jar dependencies in its META-INF/manifest.mf file. You could create such a jar in a fixed location in your system, and set your CLASSPATH point to it. An example of such a manifest could be: Manifest-Version: 1.0 Created-By: myself Class-Path: d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar d:\usr\local\skinlf-1.2.4\lib\skinregion.jar; ... This way, including this jar in your classpath will be equivalent to include all its dependencies :-) Another think that could help would be to create a d:\jars directory, and place a copy of all your jars into it. This way, the CLASSPATH variable will be shorter (and BTW, your ant scripts too ;-) Hope this helps, Rodrigo Ruiz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new JVM feature, just an idea
Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:16 AM To: 'Tomcat-User List' Subject: new JVM feature, just an idea Hello folks, as you know windows has a limit for command-line ( something like 128kb ), i´m not a windows fan, but here for a while i still using this OS. Then as we cannot change this behaviour ( in win95, win98 and winnt, others i don´t known and i hope never use them ), would be a good idea make JVM read classpath form a file named .javarc like .bash_profile and there create a entrypoint like: ### #/home/edson/.javarc classpath=d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinregion.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinlf.jar;\ d:\usr\local\ecs-1.4.1\lib\xerces-1.2.2.jar;\ d:\usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;\ d:\usr\local\ecs-1.4.1\ecs-1.4.1.jar;\ d:\usr\local\java_cup\java_cup.jar;\ d:\usr\local\hsqldb_v.1.61\lib\hsqldb.jar;\ d:\usr\local\junit3.7\junit.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar; ### Here i give up to find a solution for my winnt, because there isn´t solution. Then i´ll create a new ClassLoader for my winnt machine to find my classpath in this file also. What do you think about it? Does it could be a good implementation for JVM for windows or all JVMs? Regards, Edson This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new JVM feature, just an idea
The point here is that my classpath is very big and even using environment variables winnt complain about it. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 10:47 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:16 AM To: 'Tomcat-User List' Subject: new JVM feature, just an idea Hello folks, as you know windows has a limit for command-line ( something like 128kb ), i´m not a windows fan, but here for a while i still using this OS. Then as we cannot change this behaviour ( in win95, win98 and winnt, others i don´t known and i hope never use them ), would be a good idea make JVM read classpath form a file named .javarc like .bash_profile and there create a entrypoint like: ### #/home/edson/.javarc classpath=d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinregion.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinlf.jar;\ d:\usr\local\ecs-1.4.1\lib\xerces-1.2.2.jar;\ d:\usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;\ d:\usr\local\ecs-1.4.1\ecs-1.4.1.jar;\ d:\usr\local\java_cup\java_cup.jar;\ d:\usr\local\hsqldb_v.1.61\lib\hsqldb.jar;\ d:\usr\local\junit3.7\junit.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar; ### Here i give up to find a solution for my winnt, because there isn´t solution. Then i´ll create a new ClassLoader for my winnt machine to find my classpath in this file also. What do you think about it? Does it could be a good implementation for JVM for windows or all JVMs? Regards, Edson This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new JVM feature, just an idea
Howdy, So you really have a classpath environment variable that's bigger than 128KB? (If that's really the limit, as you say in your original message). Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:51 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea The point here is that my classpath is very big and even using environment variables winnt complain about it. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 10:47 Para:Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:16 AM To: 'Tomcat-User List' Subject: new JVM feature, just an idea Hello folks, as you know windows has a limit for command-line ( something like 128kb ), i´m not a windows fan, but here for a while i still using this OS. Then as we cannot change this behaviour ( in win95, win98 and winnt, others i don´t known and i hope never use them ), would be a good idea make JVM read classpath form a file named .javarc like .bash_profile and there create a entrypoint like: ### #/home/edson/.javarc classpath=d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinregion.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinlf.jar;\ d:\usr\local\ecs-1.4.1\lib\xerces-1.2.2.jar;\ d:\usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;\ d:\usr\local\ecs-1.4.1\ecs-1.4.1.jar;\ d:\usr\local\java_cup\java_cup.jar;\ d:\usr\local\hsqldb_v.1.61\lib\hsqldb.jar;\ d:\usr\local\junit3.7\junit.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar; ### Here i give up to find a solution for my winnt, because there isn´t solution. Then i´ll create a new ClassLoader for my winnt machine to find my classpath in this file also. What do you think about it? Does it could be a good implementation for JVM for windows or all JVMs? Regards, Edson 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new JVM feature, just an idea
Exactly, that´s it! Even using environment variable in a MSDOS shell you can reach the line limit. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 13:57 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, So you really have a classpath environment variable that's bigger than 128KB? (If that's really the limit, as you say in your original message). Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:51 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea The point here is that my classpath is very big and even using environment variables winnt complain about it. -- De:Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 10:47 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:16 AM To: 'Tomcat-User List' Subject: new JVM feature, just an idea Hello folks, as you know windows has a limit for command-line ( something like 128kb ), i´m not a windows fan, but here for a while i still using this OS. Then as we cannot change this behaviour ( in win95, win98 and winnt, others i don´t known and i hope never use them ), would be a good idea make JVM read classpath form a file named .javarc like .bash_profile and there create a entrypoint like: ### #/home/edson/.javarc classpath=d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinregion.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinlf.jar;\ d:\usr\local\ecs-1.4.1\lib\xerces-1.2.2.jar;\ d:\usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;\ d:\usr\local\ecs-1.4.1\ecs-1.4.1.jar;\ d:\usr\local\java_cup\java_cup.jar;\ d:\usr\local\hsqldb_v.1.61\lib\hsqldb.jar;\ d:\usr\local\junit3.7\junit.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar; ### Here i give up to find a solution for my winnt, because there isn´t solution. Then i´ll create a new ClassLoader for my winnt machine to find my classpath in this file also. What do you think about it? Does it could be a good implementation for JVM for windows or all JVMs? Regards, Edson 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new JVM feature, just an idea
I used to get around this by having seperate batch scripts that set my classpath for each project I was working on. On Friday 12 December 2003 01:03 pm, Edson Alves Pereira wrote: Exactly, that´s it! Even using environment variable in a MSDOS shell you can reach the line limit. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada:sexta-feira, 12 de dezembro de 2003 13:57 Para: Tomcat Users List Assunto:RE: new JVM feature, just an idea Howdy, So you really have a classpath environment variable that's bigger than 128KB? (If that's really the limit, as you say in your original message). Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:51 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea The point here is that my classpath is very big and even using environment variables winnt complain about it. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 10:47 Para:Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:16 AM To: 'Tomcat-User List' Subject: new JVM feature, just an idea Hello folks, as you know windows has a limit for command-line ( something like 128kb ), i´m not a windows fan, but here for a while i still using this OS. Then as we cannot change this behaviour ( in win95, win98 and winnt, others i don´t known and i hope never use them ), would be a good idea make JVM read classpath form a file named .javarc like .bash_profile and there create a entrypoint like: ### #/home/edson/.javarc classpath=d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinregion.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinlf.jar;\ d:\usr\local\ecs-1.4.1\lib\xerces-1.2.2.jar;\ d:\usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;\ d:\usr\local\ecs-1.4.1\ecs-1.4.1.jar;\ d:\usr\local\java_cup\java_cup.jar;\ d:\usr\local\hsqldb_v.1.61\lib\hsqldb.jar;\ d:\usr\local\junit3.7\junit.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar; ### Here i give up to find a solution for my winnt, because there isn´t solution. Then i´ll create a new ClassLoader for my winnt machine to find my classpath in this file also. What do you think about it? Does it could be a good implementation for JVM for windows or all JVMs? Regards, Edson 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] 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] -- Ben Souther F.W. Davison Company, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new JVM feature, just an idea
Howdy, It's fascinating other people in the almost decade-long history of the language haven't had this problem. Don't you find that curious? ;) Can you post one such classpath example that's giving you problems? Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:03 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea Exactly, that´s it! Even using environment variable in a MSDOS shell you can reach the line limit. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 13:57 Para:Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, So you really have a classpath environment variable that's bigger than 128KB? (If that's really the limit, as you say in your original message). Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:51 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea The point here is that my classpath is very big and even using environment variables winnt complain about it. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 10:47 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:16 AM To: 'Tomcat-User List' Subject: new JVM feature, just an idea Hello folks, as you know windows has a limit for command-line ( something like 128kb ), i´m not a windows fan, but here for a while i still using this OS. Then as we cannot change this behaviour ( in win95, win98 and winnt, others i don´t known and i hope never use them ), would be a good idea make JVM read classpath form a file named .javarc like .bash_profile and there create a entrypoint like: ### #/home/edson/.javarc classpath=d:\arquiv~1\j2sdk1.4.1_01\commapi\comm.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinregion.jar;\ d:\usr\local\skinlf-1.2.4\lib\skinlf.jar;\ d:\usr\local\ecs-1.4.1\lib\xerces-1.2.2.jar;\ d:\usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;\ d:\usr\local\ecs-1.4.1\ecs-1.4.1.jar;\ d:\usr\local\java_cup\java_cup.jar;\ d:\usr\local\hsqldb_v.1.61\lib\hsqldb.jar;\ d:\usr\local\junit3.7\junit.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmltask.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\xercesImpl.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\optional.jar;\ d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar; ### Here i give up to find a solution for my winnt, because there isn´t solution. Then i´ll create a new ClassLoader for my winnt machine to find my classpath in this file also. What do you think about it? Does it could be a good implementation for JVM for windows or all JVMs? Regards, Edson 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] 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] This e-mail, including any attachments, is a confidential business communication, and may contain information
RE: new JVM feature, just an idea
This mainly it happen with ant, here a snapshot of it: D:\home\edsonset LOCALCLASSPATH=d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant-1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar;d:\arquiv~1\ j2sd k1.4.1_01\commapi\comm.jar;d:\usr\local\skinlf-1.2.4\lib\skinregion.jar;d:\u sr\l ocal\skinlf-1.2.4\lib\skinlf.jar;d:\usr\local\ecs-1.4.1\lib\xerces-1.2.2.jar ;d:\ usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;d:\usr\local\ecs-1.4.1\ecs-1. 4.1. jar;d:\usr\local\java_cup\java_cup.jar;d:\usr\local\hsqldb_v.1.61\lib\hsqldb .jar ;d:\usr\local\junit3.7\junit.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\x mlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml-apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant-1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\ant.jar;d:\desenv\os ctrl _lib\classes;d:\desenv\osctrl\classes;d:\desenv\pannet\src\servlets\ifinance \cla sses;d:\desenv\pannet\src\servlets\intranet\classes;d:\desenv\pannet\src\ser vlet s\panfinance\classes;d:\desenv\pannet\src\servlets\base\classes;d:\desenv\pa nnet \java-lib\jasper-runtime.jar;d:\desenv\pannet\java-lib\jasper-compiler.jar;d :\de senv\pannet\java-lib\jdbc2_0-stdext.jar;d:\desenv\pannet\java-lib\tinySQL.ja r;d: \desenv\pannet\java-lib\servlet.jar;d:\desenv\pannet\java-lib\ojdbc14.jar;d: \des env\pannet\java-lib\shell_term.jar;d:\desenv\pannet\java-lib\crimson.jar;d:\ dese nv\pannet\java-lib\jconcept.zip;d:\desenv\pannet\java-lib\com.zip;d:\desenv\ pann et\java-lib\acme.zip;d:\desenv\pannet\java-lib\xBaseJ.jar;d:\desenv\pannet\j ava- lib\oreilly.jar;d:\desenv\pannet\java-lib\mail.jar;d:\desenv\pannet\java-lib \jst yle.jar;d:\desenv\pannet\java-lib\jndi.jar;d:\desenv\pannet\java-lib\jcServl et.j ar;d:\desenv\pannet\java-lib\activation.jar;d:\jbuilder4\lib\jaxp.jar;d:\arq uiv~ 1\j2sdk1.4.1_01\lib\tools.jar;d:\arquiv~1\j2sdk1.4.1_01\lib\dt.jar;.;; I couldn´t take correctly ant´s command line, but i think that it gives some idea. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 14:07 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, It's fascinating other people in the almost decade-long history of the language haven't had this problem. Don't you find that curious? ;) Can you post one such classpath example that's giving you problems? Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:03 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea Exactly, that´s it! Even using environment variable in a MSDOS shell you can reach the line limit. -- De:Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 13:57 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, So you really have a classpath environment variable that's bigger than 128KB? (If that's really the limit, as you say in your original message). Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:51 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea The point here is that my classpath is very big and even using environment variables winnt complain about it. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada:sexta-feira, 12 de dezembro de 2003 10:47 Para: Tomcat Users List Assunto:RE: new JVM feature, just an idea Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:16 AM To: 'Tomcat-User List' Subject: new JVM feature, just an idea Hello folks, as you know windows has a limit for command-line ( something like 128kb ), i´m not a windows fan, but here for a while i still using this OS. Then as we cannot change this behaviour ( in win95, win98 and winnt, others i don´t known and i hope never use them ), would be a good idea make JVM read classpath form a file named .javarc like .bash_profile and there create a entrypoint like
RE: new JVM feature, just an idea
Howdy, I see -- thanks for the example. You do realize Ant adds a lot of these jars for you automatically to the classpath, right? You don't need to add anything in ANT_HOME/lib, as that's automatically included. Furthermore, if you're using JDK 1.4 or later, you can remove a bunch of other jars from the path as they're included in the JDK, e.g. JAXP, Crimson, JDBC 2.0 extensions. Finally, you have a number of duplicates, e.g. the XML APIs, repeated a number of times in the path. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:35 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea This mainly it happen with ant, here a snapshot of it: D:\home\edsonset LOCALCLASSPATH=d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\arquiv~1\ j2sd k1.4.1_01\commapi\comm.jar;d:\usr\local\skinlf- 1.2.4\lib\skinregion.jar;d:\u sr\l ocal\skinlf-1.2.4\lib\skinlf.jar;d:\usr\local\ecs-1.4.1\lib\xerces- 1.2.2.jar ;d:\ usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;d:\usr\local\ecs-1.4.1\ecs- 1. 4.1. jar;d:\usr\local\java_cup\java_cup.jar;d:\usr\local\hsqldb_v.1.61\lib\hsqld b .jar ;d:\usr\local\junit3.7\junit.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\x mlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\desenv\os ctrl _lib\classes;d:\desenv\osctrl\classes;d:\desenv\pannet\src\servlets\ifinanc e \cla sses;d:\desenv\pannet\src\servlets\intranet\classes;d:\desenv\pannet\src\se r vlet s\panfinance\classes;d:\desenv\pannet\src\servlets\base\classes;d:\desenv\p a nnet \java-lib\jasper-runtime.jar;d:\desenv\pannet\java-lib\jasper- compiler.jar;d :\de senv\pannet\java-lib\jdbc2_0-stdext.jar;d:\desenv\pannet\java- lib\tinySQL.ja r;d: \desenv\pannet\java-lib\servlet.jar;d:\desenv\pannet\java- lib\ojdbc14.jar;d: \des env\pannet\java-lib\shell_term.jar;d:\desenv\pannet\java- lib\crimson.jar;d:\ dese nv\pannet\java-lib\jconcept.zip;d:\desenv\pannet\java- lib\com.zip;d:\desenv\ pann et\java-lib\acme.zip;d:\desenv\pannet\java- lib\xBaseJ.jar;d:\desenv\pannet\j ava- lib\oreilly.jar;d:\desenv\pannet\java-lib\mail.jar;d:\desenv\pannet\java- lib \jst yle.jar;d:\desenv\pannet\java-lib\jndi.jar;d:\desenv\pannet\java- lib\jcServl et.j ar;d:\desenv\pannet\java- lib\activation.jar;d:\jbuilder4\lib\jaxp.jar;d:\arq uiv~ 1\j2sdk1.4.1_01\lib\tools.jar;d:\arquiv~1\j2sdk1.4.1_01\lib\dt.jar;.;; I couldn´t take correctly ant´s command line, but i think that it gives some idea. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 14:07 Para:Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, It's fascinating other people in the almost decade-long history of the language haven't had this problem. Don't you find that curious? ;) Can you post one such classpath example that's giving you problems? Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:03 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea Exactly, that´s it! Even using environment variable in a MSDOS shell you can reach the line limit. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 13:57 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, So you really have a classpath environment variable that's bigger than 128KB? (If that's really the limit, as you say in your original message). Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:51 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea The point here is that my classpath is very big and even using environment variables winnt complain about it. -- De:Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 10:47 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, You can use the environment variables on windows as well. And FYI, though I'm not a big M$ fan, Windows XP and 2003 are not bad, I've been working with them a bit without stability problems. Yoav Shapira Millennium ChemInformatics
RE: new JVM feature, just an idea
Because my projects really use XML-APIs and JDBC2 as well as many others, i need put them in my real class path. Ant, as a good example repeat some of course, what we have here is different applications or projects that each one use there libraries and everybody shares the same environment variable CLASSPATH. And i must keep a default CLASSPATH for my machine, by the other hand, we can tomcat lookup for libraries in an interesting way, it just use all libraries that came within and standard Java jars. To solve that problem i´ve already cut out some jars from my default CLASSPATH, but i believe in a future i will face the same problem, that´s why a going to create a new ClassLoader for my machine. And Yoav, you did say that in almost 10 years no one complains about it, but as i know there are many people facing this issue all over internet also. My neibour here has a windows 2000, he will make some tests with its command line. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 14:41 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, I see -- thanks for the example. You do realize Ant adds a lot of these jars for you automatically to the classpath, right? You don't need to add anything in ANT_HOME/lib, as that's automatically included. Furthermore, if you're using JDK 1.4 or later, you can remove a bunch of other jars from the path as they're included in the JDK, e.g. JAXP, Crimson, JDBC 2.0 extensions. Finally, you have a number of duplicates, e.g. the XML APIs, repeated a number of times in the path. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:35 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea This mainly it happen with ant, here a snapshot of it: D:\home\edsonset LOCALCLASSPATH=d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\arquiv~1\ j2sd k1.4.1_01\commapi\comm.jar;d:\usr\local\skinlf- 1.2.4\lib\skinregion.jar;d:\u sr\l ocal\skinlf-1.2.4\lib\skinlf.jar;d:\usr\local\ecs-1.4.1\lib\xerces- 1.2.2.jar ;d:\ usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;d:\usr\local\ecs-1.4.1\ecs - 1. 4.1. jar;d:\usr\local\java_cup\java_cup.jar;d:\usr\local\hsqldb_v.1.61\lib\hsq ld b .jar ;d:\usr\local\junit3.7\junit.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\x mlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\desenv\os ctrl _lib\classes;d:\desenv\osctrl\classes;d:\desenv\pannet\src\servlets\ifina nc e \cla sses;d:\desenv\pannet\src\servlets\intranet\classes;d:\desenv\pannet\src\ se r vlet s\panfinance\classes;d:\desenv\pannet\src\servlets\base\classes;d:\desenv \p a nnet \java-lib\jasper-runtime.jar;d:\desenv\pannet\java-lib\jasper- compiler.jar;d :\de senv\pannet\java-lib\jdbc2_0-stdext.jar;d:\desenv\pannet\java- lib\tinySQL.ja r;d: \desenv\pannet\java-lib\servlet.jar;d:\desenv\pannet\java- lib\ojdbc14.jar;d: \des env\pannet\java-lib\shell_term.jar;d:\desenv\pannet\java- lib\crimson.jar;d:\ dese nv\pannet\java-lib\jconcept.zip;d:\desenv\pannet\java- lib\com.zip;d:\desenv\ pann et\java-lib\acme.zip;d:\desenv\pannet\java- lib\xBaseJ.jar;d:\desenv\pannet\j ava- lib\oreilly.jar;d:\desenv\pannet\java-lib\mail.jar;d:\desenv\pannet\java- lib \jst yle.jar;d:\desenv\pannet\java-lib\jndi.jar;d:\desenv\pannet\java- lib\jcServl et.j ar;d:\desenv\pannet\java- lib\activation.jar;d:\jbuilder4\lib\jaxp.jar;d:\arq uiv~ 1\j2sdk1.4.1_01\lib\tools.jar;d:\arquiv~1\j2sdk1.4.1_01\lib\dt.jar;.;; I couldn´t take correctly ant´s command line, but i think that it gives some idea. -- De:Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 14:07 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, It's fascinating other people in the almost decade-long history of the language haven't had this problem. Don't you find that curious? ;) Can you post one such classpath example that's giving you problems? Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:03 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea Exactly, that´s it! Even using environment
RE: new JVM feature, just an idea
Howdy, And Yoav, you did say that in almost 10 years no one complains about it, but as i know there are many people facing this issue all over internet also. My neibour here has a windows 2000, he will make some tests with its command line. I misunderstood your problem when I said no one else has it. What you describe is a common issue. It used to be more common before people used Ant and IDEs, when they did more stuff on the command line. I just haven't compiled anything in a DOS window for ages, so I forgot ;) Yoav Shapira -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 14:41 Para:Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, I see -- thanks for the example. You do realize Ant adds a lot of these jars for you automatically to the classpath, right? You don't need to add anything in ANT_HOME/lib, as that's automatically included. Furthermore, if you're using JDK 1.4 or later, you can remove a bunch of other jars from the path as they're included in the JDK, e.g. JAXP, Crimson, JDBC 2.0 extensions. Finally, you have a number of duplicates, e.g. the XML APIs, repeated a number of times in the path. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:35 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea This mainly it happen with ant, here a snapshot of it: D:\home\edsonset LOCALCLASSPATH=d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\arquiv~1\ j2sd k1.4.1_01\commapi\comm.jar;d:\usr\local\skinlf- 1.2.4\lib\skinregion.jar;d:\u sr\l ocal\skinlf-1.2.4\lib\skinlf.jar;d:\usr\local\ecs-1.4.1\lib\xerces- 1.2.2.jar ;d:\ usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;d:\usr\local\ecs- 1.4.1\ecs - 1. 4.1. jar;d:\usr\local\java_cup\java_cup.jar;d:\usr\local\hsqldb_v.1.61\lib\hsq ld b .jar ;d:\usr\local\junit3.7\junit.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\x mlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\desenv\os ctrl _lib\classes;d:\desenv\osctrl\classes;d:\desenv\pannet\src\servlets\ifina nc e \cla sses;d:\desenv\pannet\src\servlets\intranet\classes;d:\desenv\pannet\src\ se r vlet s\panfinance\classes;d:\desenv\pannet\src\servlets\base\classes;d:\desenv \p a nnet \java-lib\jasper-runtime.jar;d:\desenv\pannet\java-lib\jasper- compiler.jar;d :\de senv\pannet\java-lib\jdbc2_0-stdext.jar;d:\desenv\pannet\java- lib\tinySQL.ja r;d: \desenv\pannet\java-lib\servlet.jar;d:\desenv\pannet\java- lib\ojdbc14.jar;d: \des env\pannet\java-lib\shell_term.jar;d:\desenv\pannet\java- lib\crimson.jar;d:\ dese nv\pannet\java-lib\jconcept.zip;d:\desenv\pannet\java- lib\com.zip;d:\desenv\ pann et\java-lib\acme.zip;d:\desenv\pannet\java- lib\xBaseJ.jar;d:\desenv\pannet\j ava- lib\oreilly.jar;d:\desenv\pannet\java- lib\mail.jar;d:\desenv\pannet\java- lib \jst yle.jar;d:\desenv\pannet\java-lib\jndi.jar;d:\desenv\pannet\java- lib\jcServl et.j ar;d:\desenv\pannet\java- lib\activation.jar;d:\jbuilder4\lib\jaxp.jar;d:\arq uiv~ 1\j2sdk1.4.1_01\lib\tools.jar;d:\arquiv~1\j2sdk1.4.1_01\lib\dt.jar;.;; I couldn´t take correctly ant´s command line, but i think that it gives some idea. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 14:07 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, It's fascinating other people in the almost decade-long history of the language haven't had this problem. Don't you find that curious? ;) Can you post one such classpath example that's giving you problems? Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:03 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea Exactly, that´s it! Even using environment variable in a MSDOS shell you can reach the line limit. -- De:Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 13:57 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, So you really have a classpath environment variable that's bigger than 128KB? (If that's really the limit, as you
RE: new JVM feature, just an idea
That´s right, but even using a GUI IDE like JBuilder or Netbeans this problem can occours, because in a low level these tools make a command like to compile, to build a webbapp or to create a jar file. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 15:18 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, And Yoav, you did say that in almost 10 years no one complains about it, but as i know there are many people facing this issue all over internet also. My neibour here has a windows 2000, he will make some tests with its command line. I misunderstood your problem when I said no one else has it. What you describe is a common issue. It used to be more common before people used Ant and IDEs, when they did more stuff on the command line. I just haven't compiled anything in a DOS window for ages, so I forgot ;) Yoav Shapira -- De:Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada: sexta-feira, 12 de dezembro de 2003 14:41 Para: Tomcat Users List Assunto: RE: new JVM feature, just an idea Howdy, I see -- thanks for the example. You do realize Ant adds a lot of these jars for you automatically to the classpath, right? You don't need to add anything in ANT_HOME/lib, as that's automatically included. Furthermore, if you're using JDK 1.4 or later, you can remove a bunch of other jars from the path as they're included in the JDK, e.g. JAXP, Crimson, JDBC 2.0 extensions. Finally, you have a number of duplicates, e.g. the XML APIs, repeated a number of times in the path. Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:35 PM To: 'Tomcat Users List' Subject: RE: new JVM feature, just an idea This mainly it happen with ant, here a snapshot of it: D:\home\edsonset LOCALCLASSPATH=d:\usr\local\jakarta\apache-ant-1.5.4\lib\xmlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\arquiv~1\ j2sd k1.4.1_01\commapi\comm.jar;d:\usr\local\skinlf- 1.2.4\lib\skinregion.jar;d:\u sr\l ocal\skinlf-1.2.4\lib\skinlf.jar;d:\usr\local\ecs-1.4.1\lib\xerces- 1.2.2.jar ;d:\ usr\local\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;d:\usr\local\ecs- 1.4.1\ecs - 1. 4.1. jar;d:\usr\local\java_cup\java_cup.jar;d:\usr\local\hsqldb_v.1.61\lib\hs q ld b .jar ;d:\usr\local\junit3.7\junit.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\x mlta sk.jar;d:\usr\local\jakarta\apache-ant-1.5.4\lib\xml- apis.jar;d:\usr\local\j akar ta\apache-ant-1.5.4\lib\xercesImpl.jar;d:\usr\local\jakarta\apache-ant- 1.5.4 \lib \optional.jar;d:\usr\local\jakarta\apache-ant- 1.5.4\lib\ant.jar;d:\desenv\os ctrl _lib\classes;d:\desenv\osctrl\classes;d:\desenv\pannet\src\servlets\ifin a nc e \cla sses;d:\desenv\pannet\src\servlets\intranet\classes;d:\desenv\pannet\src \ se r vlet s\panfinance\classes;d:\desenv\pannet\src\servlets\base\classes;d:\desen v \p a nnet \java-lib\jasper-runtime.jar;d:\desenv\pannet\java-lib\jasper- compiler.jar;d :\de senv\pannet\java-lib\jdbc2_0-stdext.jar;d:\desenv\pannet\java- lib\tinySQL.ja r;d: \desenv\pannet\java-lib\servlet.jar;d:\desenv\pannet\java- lib\ojdbc14.jar;d: \des env\pannet\java-lib\shell_term.jar;d:\desenv\pannet\java- lib\crimson.jar;d:\ dese nv\pannet\java-lib\jconcept.zip;d:\desenv\pannet\java- lib\com.zip;d:\desenv\ pann et\java-lib\acme.zip;d:\desenv\pannet\java- lib\xBaseJ.jar;d:\desenv\pannet\j ava- lib\oreilly.jar;d:\desenv\pannet\java- lib\mail.jar;d:\desenv\pannet\java- lib \jst yle.jar;d:\desenv\pannet\java-lib\jndi.jar;d:\desenv\pannet\java- lib\jcServl et.j ar;d:\desenv\pannet\java- lib\activation.jar;d:\jbuilder4\lib\jaxp.jar;d:\arq uiv~ 1\j2sdk1.4.1_01\lib\tools.jar;d:\arquiv~1\j2sdk1.4.1_01\lib\dt.jar;.;; I couldn´t take correctly ant´s command line, but i think that it gives some idea. -- De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada:sexta-feira, 12 de dezembro de 2003 14:07 Para: Tomcat Users List Assunto:RE: new JVM feature, just an idea Howdy, It's fascinating other people in the almost decade-long history of the language haven't had this problem. Don't you find that curious? ;) Can you post one such classpath example that's giving you problems? Yoav Shapira Millennium ChemInformatics -Original Message- From: Edson Alves Pereira [mailto
RE: New to Tomcat
you should read this : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html It explains how to create your own web app with Tomcat. Arnaud. -Message d'origine- De : Khairuddin Md Saad [mailto:[EMAIL PROTECTED] Envoye : mercredi 8 octobre 2003 12:17 A : [EMAIL PROTECTED] Objet : New to Tomcat Hi, I'm very new here. I have 1 question. I have downloaded Tomcat 4.1.27 from http://mirror.leafbug.org/apache-dist/jakarta/tomcat-4/binarie s/jakarta-tomcat-4.1.27.exe. I have downloaded and installed j2sdk1.4.2. I have tried to start Tomcat and successfully get the http://localhost:8080/index.jsp. Unfortunately I cannot find any class folder in my TOMCAT_HOME\webapps\ROOT\WEB-INF\ directory. Is it normal?? Can I simply create my own 'classes' folder under this directory or do I need to configure something else when I create the 'classes'? For your information, I have set the environment variable for PATH=C:\j2sdk1.4.2\bin;C:\j2sdk1.4.2 TOMCAT_HOME, JAVA_HOME and CATALINA HOME - Do you Yahoo!? The New Yahoo! Shopping - with improved product search - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat user
On Wed, October 1, 2003 1at 0:39 am, [EMAIL PROTECTED] sent the following C:\%CATALINA_HOME%\bin\startup Using CATALINA_BASE: c:\jakarta-tomcat-4.1.27 Using CATALINA_HOME: c:\jakarta-tomcat-4.1.27 Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.27\temp Using JAVA_HOME: c:\jdk1.2.2 The system cannot find the file -Djava.endorsed.dirs=c:\jakarta-tomcat-4.1.27\co mmon\endorsed. Well, does the directory c:\jakarta-tomcat-4.1.27\common\endorsed exist? It should have a couple jar files in it. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]