Re: SSL problem in Tomcat
I know its going to sound silly... but then, i found out the problem. its the -storepass -keypass. they have to be the same. i thought they are for different purpose... anyway, issue closed. -- View this message in context: http://www.nabble.com/SSL+problem+in+Tomcat-t1601673.html#a4554704 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SerialPort TOMCAT
what version of java COMM are you using ? Plus it would help to know why you are accessing a serial port through tomcat server ? vrinda ullas wrote: -- Forwarded message -- From: vrinda ullas [EMAIL PROTECTED] Date: Thu, 25 May 2006 08:52:58 +0530 Subject: commapi using TOMCAT To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] I want to communicate with a microcontroller connected to the serial port of my computer. *I am using the following: Windows 98 operating system Tomcat web server 4.1 *The directory structure is as given: Tomcat 4.1/webapps/myjsp/web-inf/classes/remoteservlets. I have placed my jsp files in my jsp folder and classfiles in remote servlets folder. **my java program has compiled correctly.** ** my simple java application which accesses the serial port works fine.*** *when I start tomcat I am able to access the sevlet as the servlet responds with the button name i have pressed. I have also tried the following Copied file comm.jar in JAVA_HOME\jre\lib\ext Copied file javax.comm.properties in JAVA_HOME\jre\lib Copied file win32com.dll in JAVA_HOME\lib and also in c:\windows\system32 and c:\windows\system ***which helped me do away with errors. still I don't get any output. I dont get any errors either. PLEASE HELP. URGENT. i am at my wits end. Thank you. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JMX remote with JMXMP
Hello everyone, I'd like to remotely access my MBeans by using the JMXMP protocol. JMXMP is an alternative to the default RMI protocol and aims to be much more firewall friendly. I already have downloaded the JMX remote reference implementation and thus have got hold of jmxremote_optional.jar. I know how I can get jconsole to talk JMXMP instead of RMI, but I don't know how to tell Tomcat 5.5 and/or the JVM 1.5 to expose MBeans with JMXMP instead of RMI. Can you help? Regards, Andreas - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SerialPort TOMCAT
hi rajjev, i am using communication api version 2. i am trying to control a relay through serial port.I first built ajava application to do the same. It works fine.But on trying to convet the same into a web based application i don,t get any results. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat on a Memory Stick
Hi ... I wanna run my tomcat server on a memory stick but I have no idea how to get it running. does anyone got this and can help me ??? ... thanks a lot Markus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: modJK with and without load balancer
Eliminating the lb will give a slight performance improvement, using the lb will give you a subtle management improvement (being able to stop the worker in jkstatus). Different is also the way errors are handled (lb takes workers offline after errors for a minute, direct workers will be tried for each request even after they have thrown errors). Raman, Jay wrote: Is there a difference between the following 2 configurations of workers.properties? In the first case it is a load balanced configuration with only one worker The second case is not a load balanced configuration. When there is only one worker does modJK treat it as if it is the second case? Are there performance advantages in the second case? Jay # Load balancer with 1 worker worker.list=loadbalancer worker.router.host=lxdnp636.acme.com worker.router.port=8009 worker.router.type=ajp13 worker.router.lbfactor=1 worker.router.cache_timeout=120 worker.router.socket_keepalive=1 worker.router.socket_timeout=60 worker.router.disabled=True worker.loadbalancer.type=lb worker.loadbalancer.sticky_session=1 worker.loadbalancer.balanced_workers=router # # No load balancer # worker.list=router worker.router.host=lxdnp636.acme.com worker.router.port=8009 worker.router.type=ajp13 worker.router.lbfactor=1 worker.router.cache_timeout=120 worker.router.socket_keepalive=1 worker.router.socket_timeout=60 worker.router.disabled=True -- kippdata informationstechnologie GmbH Bornheimer Str. 33a 53111 Bonn Tel.: 0228/98549-0 Fax: 0228/98549-50 www.kippdata.de === kippdata informationstechnologie GmbH Bornheimer Str. 33a D-53111 Bonn Tel.: +49/0228/98549-0 Fax: +49/0228/98549-50 www.kippdata.de - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: modJK errors
Errno 131 means Connection reset by peer for Solaris. Any IP influencing components between Apache und Tomcat? Firewalls? Is Tomcat stil listening on 151.116.4.77:8009 (check via netstat -an) You could try to sniff network traffic on both sides (Apache and Tomcat) and check, whether connection packets go through (Solaris: snoop; Linux: tcpdump). Raman, Jay wrote: I have the following environment Solaris servers running Apache web server modJK 1.2.x Intel servers running RedHat Linux AS 3 update 5 Load test directly on Tomcat has not produced any issues. However with modJK we see the site humming along fine even under load and sometimes when there is no load, the site seems to freeze with the following mod_jk errors. [Mon May 22 08:14:41 2006] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the response message from tomcat, network problems or tomcat is down (151.116.4.77:8009), err=-131 [Mon May 22 08:14:41 2006] [error] ajp_get_reply::jk_ajp_common.c (1503): Tomcat is down or refused connection. No response has been sent to the client (yet) Any ideas on where to start debugging this issue? The workers.properties file has a loadbalancer with 1 enabled worker and 3 disabled workers. Thanks Jay -- kippdata informationstechnologie GmbH Bornheimer Str. 33a 53111 Bonn Tel.: 0228/98549-0 Fax: 0228/98549-50 www.kippdata.de === kippdata informationstechnologie GmbH Bornheimer Str. 33a D-53111 Bonn Tel.: +49/0228/98549-0 Fax: +49/0228/98549-50 www.kippdata.de - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Memory Leak
El Jueves 25 Mayo 2006 07:44, Bill Barker escribió: If you are using the AJP/1.3 Connector, then 5.0.19 has a very very very very well known memory leak. You need to set request.registerRequests=false in this case. Either that, or upgrade :). hello, I have a similar problem, and similar structure aplication too (MVC). I use DAOs for data access and a Oracle database, jakarta-struts and JSP with JSTL tags for the view layer. I use some profilers, and I obtain similar results. I realized that the char[] and byte[] variables are config and validation struts files and jsp page too. I don't know in what configuration file I have to activate this property: request.registerRequests=false , in jk.properties? server.xml? Is there another ajp version that I can use with ssl? I'm using jakarta-tomcat 50.19 too. The lastest version is 5.5, but I'm not sure that all memory leaks problems had been solved in it. What is your opinion for solved this problem? upgrade to 5.5 or upgrade to 5.0.28 or? For your information, I use Suse Linux Enterprise Server 9 and I install tomcat rpms included in this distritution: $ rpm -qa | grep -i tomcat jakarta-tomcat-5.0.19-29.1 jakarta-tomcat-doc-5.0.19-29.1 apache2-jakarta-tomcat-connectors-5.0.19-29.1 jakarta-tomcat-examples-5.0.19-29.1 $ Thanks and regards, Rocío - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SerialPort TOMCAT
I am also using java comm API version 2 and i can display all the port names and types through a servlet. so no magic here. Maybe you should use a simple program like this to test your environment first ? Plus one more point , i have copied comm api files (dll , properties file and comm jar file ) under my JDK/JRE as well as my system JRE. Hope this helps. Rajeev. vrinda ullas wrote: hi rajjev, i am using communication api version 2. i am trying to control a relay through serial port.I first built ajava application to do the same. It works fine.But on trying to convet the same into a web based application i don,t get any results. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Memory Leak
Petkov, Rossen ha scritto: Hello, I am having a problem with Tomcat 5.0.19 on windows with JDK 1.4.2_03.The memory that java.exe is using keeps growing till the point that tomcat Runs out of memory. Try this: http://wiki.apache.org/tomcat/OutOfMemory Ciao Antonio - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat on a Memory Stick
I'm not sure I see how this should be different than running it from a hard drive or any other file system location. Have you tried to do it? Are you having problems? --David Markus-Alexander Metz wrote: Hi ... I wanna run my tomcat server on a memory stick but I have no idea how to get it running. does anyone got this and can help me ??? ... thanks a lot Markus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem in GC tuning
Hi All, I m working on an sip application server and want to increase its performance. at max load the CPU of my server machine is around 45-50% free. The issue I am facing is that for a short period of time (for around 7-10 sec), free CPU goes below 25%. My server has a constraint that it must have at least 25% CPU free every time. So at the time when CPU goes below 25%, my server starts dropping requests. This limits my server performance. The reason why CPU goes below 25% is garbage collector. When GC occurs, CPU goes below 25%. My queries are, 1) Is there any means by which GC takes less CPU, I mean that it can take longer time to complete its one cycle (as memory is not a constraint) ? 2) Do writing of logs at higher loads have some impact on the performance? 3) As memory is not a constraint, until now, are there some options which can exploit this information for the betterment of the performance? I m using following garbage collector and heap option in my application server: export MEM_OPTS=-Xmx3400m -Xms3400m -XX:NewSize=194m -XX:MaxNewSize=194m -XX:+UseTLAB export GC_OPTS=${MEM_OPTS} -XX:+UseParNewGC -XX:+UseConcMarkSweepGC export GC_OPTS=${GC_OPTS} -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing export GC_OPTS=${GC_OPTS} -Xloggc:logFileName -XX:+PrintGCDetails -XX:+PrintGCTimeStamps The typical GC output looks like: 7760.617: [CMS-concurrent-mark-start] 7765.387: [GC 7765.387: [ParNew: 198272K-0K(198464K), 0.1787951 secs] 996415K-812092K(3481408K) icms_dc=10 , 0.1790065 secs] 7774.972: [GC 7774.972: [ParNew: 198272K-0K(198464K), 0.1910697 secs] 1010364K-827429K(3481408K) icms_dc=10 , 0.1913241 secs] 7784.586: [GC 7784.586: [ParNew: 198272K-0K(198464K), 0.1910507 secs] 1025701K-842794K(3481408K) icms_dc=10 , 0.1912954 secs] 7792.251: [GC 7792.251: [ParNew: 198272K-0K(198464K), 0.1595620 secs] 1041066K-854987K(3481408K) icms_dc=10 , 0.1597866 secs] 7801.843: [GC 7801.843: [ParNew: 198272K-0K(198464K), 0.195 secs] 1053259K-870350K(3481408K) icms_dc=10 , 0.1902646 secs] 7806.146: [CMS-concurrent-mark: 5.022/45.529 secs] 7806.147: [CMS-concurrent-preclean-start] 7811.467: [GC 7811.467: [ParNew: 198272K-0K(198464K), 0.1943446 secs] 1068622K-885726K(3481408K) icms_dc=10 , 0.1945964 secs] 7820.015: [GC 7820.015: [ParNew: 198272K-0K(198464K), 0.1667043 secs] 1083998K-898767K(3481408K) icms_dc=10 , 0.1669592 secs] 7828.807: [GC 7828.807: [ParNew: 198272K-0K(198464K), 0.1982581 secs] 1097039K-914071K(3481408K) icms_dc=10 , 0.1984625 secs] 7838.324: [GC 7838.324: [ParNew: 198272K-0K(198464K), 0.2005505 secs] 1112343K-929384K(3481408K) icms_dc=10 , 0.2008112 secs] 7842.719: [CMS-concurrent-preclean: 4.244/36.572 secs] 7842.719: [GC7843.155: [weak refs processing, 0.0032912 secs] [1 CMS-remark: 929384K(3282944K)] 1021754K(3481408K), 0.4391301 secs] 7843.159: [CMS-concurrent-sweep-start] 7847.798: [GC 7847.798: [ParNew: 198272K-0K(198464K), 0.1952376 secs] 1113089K-929939K(3481408K) icms_dc=10 , 0.1954940 secs] 7855.450: [GC 7855.450: [ParNew: 198272K-0K(198464K), 0.1753630 secs] 1108874K-922848K(3481408K) icms_dc=10 , 0.1756148 secs] 7865.105: [GC 7865.105: [ParNew: 198272K-0K(198464K), 0.2015532 secs] 1092061K-909155K(3481408K) icms_dc=10 , 0.2018162 secs] 7874.678: [GC 7874.678: [ParNew: 198272K-0K(198464K), 0.1859961 secs] 1058045K-875118K(3481408K) icms_dc=10 , 0.1862536 secs] 7883.184: [GC 7883.184: [ParNew: 198272K-0K(198464K), 0.1593874 secs] 1003006K-818082K(3481408K) icms_dc=10 , 0.1596041 secs] 7891.866: [GC 7891.866: [ParNew: 198272K-0K(198464K), 0.1977762 secs] 963983K-781405K(3481408K) icms_dc=10 , 0.1979563 secs] 7896.965: [CMS-concurrent-sweep: 5.086/53.806 secs] 7896.965: [CMS-concurrent-reset-start] 7901.469: [GC 7901.469: [ParNew: 198272K-0K(198464K), 0.1865064 secs] 924647K-741740K(3481408K) icms_dc=10 , 0.1867165 secs] 7905.936: [CMS-concurrent-reset: 0.356/8.971 secs] 7911.426: [GC 7911.426: [ParNew: 198272K-0K(198464K), 0.1802738 secs] 940012K-757357K(3481408K) icms_dc=10 , 0.1805271 secs] 7913.587: [GC [1 CMS-initial-mark: 757357K(3282944K)] 846861K(3481408K), 0.2955865 secs] 7913.883: [CMS-concurrent-mark-start] 7918.611: [GC 7918.611: [ParNew: 198272K-0K(198464K), 0.1589979 secs] 955629K-768902K(3481408K) icms_dc=10 , 0.1592427 secs] 7928.066: [GC 7928.066: [ParNew: 198272K-0K(198464K), 0.1978113 secs] 967174K-784280K(3481408K) icms_dc=10 , 0.1980187 secs] 7937.656: [GC 7937.656: [ParNew: 198272K-0K(198464K), 0.1959725 secs] 982552K-799658K(3481408K) icms_dc=10 , 0.1962251 secs] 7945.307: [GC 7945.307: [ParNew: 198272K-0K(198464K), 0.1633872 secs] 997930K-811865K(3481408K) icms_dc=10 , 0.1636053 secs] 7954.925: [GC 7954.925: [ParNew: 198272K-0K(198464K), 0.1972658 secs] 1010137K-827248K(3481408K) icms_dc=10 , 0.1974907 secs] 7964.609: [GC 7964.610: [ParNew: 198272K-0K(198464K), 0.2009350 secs] 1025520K-842638K(3481408K) icms_dc=10 , 0.2011559 secs] 7968.873: [CMS-concurrent-mark: 5.773/54.990 secs] 7968.873: [CMS-concurrent-preclean-start]
how to persist a session
Hi, I am using java server faces. My web server is Tomcat5.0. I want to persist my session that is the session should continue until user logs out. I don't want to do this task through session-config session-timeout0/session-timeout /session-config in web.xml. Any help will be highly appreciated... With Thanks And Regards Vikas Jain -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006
Re: how to persist a session
Option 3: Use a bit of javascript to refresh a small, invisible gif image on a timed basis. The session timeout can be short and the session will stay around as long as the browser windows is open or until the user clicks a logout link. --David Peter Crowther wrote: From: Vikas Jain [mailto:[EMAIL PROTECTED] I want to persist my session that is the session should continue until user logs out. I don't want to do this task through session-config session-timeout0/session-timeout /session-config in web.xml. You have no way of telling when a user closes a browser onto your application. Given that, and given that you want a session to continue until they click 'log out', you have the following alternatives: - Set an upper limit on the idle time of a session using session-timeout, and accept that users who are idle for longer than that will lose their session (the timeout could be measured in days); - Set no upper limit on the idle time, and accept that your server's working memory will slowly silt up with abandoned session. Your choice. Due to the design of HTTP, there are no other options on the Web. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to persist a session
From: Lung Chan [mailto:[EMAIL PROTECTED] I'm pretty new in web design, but why can't you use cookies to do what you want? If you do, you have two approaches: - Store all the session data in the cookie, and pass that back and forth on each request and response. This eliminates the need to store session state on the servver, is liable to being sniffed or altered in transit (so don't trust any of the data in the cookie to be safe), and potentially contains a lot of data. - Store all the session data on the server, and issue a cookie (Tomcat uses JSPSESSIONID as I recall) containing only a small key to that data. This is more common, but the server has to guess at when it is safe to discard the stored session data. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to persist a session
From: David Smith [mailto:[EMAIL PROTECTED] Option 3: Use a bit of javascript to refresh a small, invisible gif image on a timed basis. Very good point. I'm too used to advising on accessible design, where the browsers may not run Javascript :-). - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to persist a session
Vikas Jain wrote: I am using java server faces. My web server is Tomcat5.0. I want to persist my session that is the session should continue until user logs out. Use HttpSessionActivationListener http://www.docjar.com/docs/api/javax/servlet/http/HttpSessionActivationListener.html -- Mikolaj Rydzewski [EMAIL PROTECTED] Becomo S.A. tel. (12) 2927104 smime.p7s Description: S/MIME Cryptographic Signature
RE: how to persist a session
Hi Lung Chan, Many Many thanks for reply. I also think that through cookies it will done but how it is? Do you have any idea of using cookies to save a session? Regads Vikas Jain -Original Message- From: Lung Chan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 6:22 PM To: Tomcat Users List Subject: Re: how to persist a session I'm pretty new in web design, but why can't you use cookies to do what you want? Will that work?? On 5/25/06, Peter Crowther [EMAIL PROTECTED] wrote: From: Vikas Jain [mailto:[EMAIL PROTECTED] I want to persist my session that is the session should continue until user logs out. I don't want to do this task through session-config session-timeout0/session-timeout /session-config in web.xml. You have no way of telling when a user closes a browser onto your application. Given that, and given that you want a session to continue until they click 'log out', you have the following alternatives: - Set an upper limit on the idle time of a session using session-timeout, and accept that users who are idle for longer than that will lose their session (the timeout could be measured in days); - Set no upper limit on the idle time, and accept that your server's working memory will slowly silt up with abandoned session. Your choice. Due to the design of HTTP, there are no other options on the Web. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to persist a session
That's true and I've restled with the javascript or no javascript question myself a few times. I think with all the AJAX and web 2.0 stuff out there, it's getting so those cases are fewer and fewer. --David Peter Crowther wrote: From: David Smith [mailto:[EMAIL PROTECTED] Option 3: Use a bit of javascript to refresh a small, invisible gif image on a timed basis. Very good point. I'm too used to advising on accessible design, where the browsers may not run Javascript :-). - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Istalling Bugzilla on Tomcat
Hi Lessie Bugzilla is not a Java based Web App, it is build Perl/CGI, therefore you need a web server which can parse these requests, map and execute them. Recently JBoss announced JBoss Web which allows you to do exactly that along with running Tomcat. You can also run PHP and .Net. Have a look at: http://labs.jboss.com/portal/index.html?ctrl:id=page.default.infoproject=jbossweb Hopes this helps. With Best Regards Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 |-+--- | | Lessie Zoa | | | Mitch | | | [EMAIL PROTECTED]| | | aii.rr.com | | | | | | 25.05.06 05:52 | | | Please respond | | | to Tomcat Users| | | List | | | | |-+--- --| | | |To: users@tomcat.apache.org | |cc: | |Subject: Istalling Bugzilla on Tomcat | | | |Distribute: | |Personal? |---| | || [ ] x | | ||---| | | | --| Greetings everyone. I am relatively new and loving Java—Tomcat—Linux—all of it! But being new, well… please bear with me if I ramble… Situation: Due to the nature of our ecommerce software, we do not run Apache. I have only found one other post here regarding a Bugzilla on Tomcat install, and the response was most disappointing—as well as a few years ago. So, I present the question again… Has someone tried to install Bugzilla on a straight Tomcat server? Our box serves 5 separate IPs 3 are ecommerce sites 1 is an ftp area 1 is for development and tools, such as Bugzilla. I intend to use Bugzilla to help track issues on each of the ecommerce websites as well as development bugs for new ecommerce solutions. Complete Environment: Linux 2.6.9 MySQL 5.0.20 Tomcat 5.5.16 Bugzilla 2.22 (this is what I want!) Bugzilla’s ./checksetup.pl ran well and I installed the PERL stuff it needed. J Then I went to activate the cgi components of Tomcat. I have read through the files and did uncomment the cgi servelet and mapping in the web.xml for Tomcat, then realized that is a global setting – I only want it to work for Bugzilla. So I went ahead and created a WEB-INF directory, made a new web.xml. I also set up a context file in the CATALINA/hosts as I did for my ecommerce sites. But I am confused. Bugzilla is cgi… will the Tomcat even recognize it? My Tomcat manager does see the Bugzilla directory as I placed it in the MYDIR/ipstring/webapps directory, however it does not run (obviously, is not Java!). When I try to “run it” I get this: FAIL - Application at context path /bugzilla could not be started Ok, I can deal with that as Bugzilla is not java. I go to my webbrowser, and it does not come up. Am I barking up the wrong tree? Should I seek a more java-esq bug tracker? Is there one? Helpful advice would be greatly appreciated. Mahalo. LessZoa Lessie Zoä Mitch WebMaster SSH - OSS - BS - MOSS 815C Waiakamilo Rd. Honolulu, HI 96817 PH-(808) 847-4017 FX-(808) 842-1233 www.SafetySystemsHawaii.com www.OneShotSupplies.com www.BrandySigns.com
Re: how to persist a session
Vikas Jain wrote: Hi, I am using java server faces. My web server is Tomcat5.0. I want to persist my session that is the session should continue until user logs out. I don't want to do this task through session-config session-timeout0/session-timeout /session-config in web.xml. Any help will be highly appreciated... A cookie based approach might not be feasible for a lot of data and Ajax/Javascript tricks to persist a sesssion by reloading something (e.g. a .gif) require Javascript, of course. However JSF or Tapestry 4.0 support persistance of client-side session state by configuration means. See: http://www.theserverside.com/news/thread.tss?thread_id=33991 http://howardlewisship.com/blog/2005/04/property-persistence-on-client.html For Tapestry just use: property name=myProperty persist=client/ In case you neither want to use JSF or T4 you might still create your own session state serialization/deserialization code/jsp tags to do it. However be aware that you must not trust client data and that you might pass huge hidden fields along with each request. Crypting data is recommended. Using client-side state you won't even need a log out anylonger, except in order to reset/clean state. Cheers, Michael With Thanks And Regards Vikas Jain - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to persist a session
Instead of javascript you could also use an (small, invisible) iframe loading an otherwise empty html page with http meta refresh in it.. Regards Karl-Heinz - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 25, 2006 3:09 PM Subject: Re: how to persist a session That's true and I've restled with the javascript or no javascript question myself a few times. I think with all the AJAX and web 2.0 stuff out there, it's getting so those cases are fewer and fewer. --David Peter Crowther wrote: From: David Smith [mailto:[EMAIL PROTECTED] Option 3: Use a bit of javascript to refresh a small, invisible gif image on a timed basis. Very good point. I'm too used to advising on accessible design, where the browsers may not run Javascript :-). - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to persist a session
Please go through this link http://tomcat.apache.org/tomcat-5.0-doc/config/manager.html inside this at last there is Restart Persistence Whenver Catalina is shut down normally and restarted, or when an application reload is triggered, the standard Manager implementation will attempt to serialize all currently active sessions to a disk file located via the pathname attribute. All such saved sessions will then be deserialized and activated (assuming they have not expired in the mean time) when the application reload is completed. In order to successfully restore the state of session attributes, all such attributes MUST implement the java.io.Serializable interface. You MAY cause the Manager to enforce this restriction by including the distributable element in your web application deployment descriptor (/WEB-INF/web.xml). I want to do this that means I want to save the active sessions.And what to write inside distributable element in web.xml -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 6:40 PM To: Tomcat Users List Subject: Re: how to persist a session That's true and I've restled with the javascript or no javascript question myself a few times. I think with all the AJAX and web 2.0 stuff out there, it's getting so those cases are fewer and fewer. --David Peter Crowther wrote: From: David Smith [mailto:[EMAIL PROTECTED] Option 3: Use a bit of javascript to refresh a small, invisible gif image on a timed basis. Very good point. I'm too used to advising on accessible design, where the browsers may not run Javascript :-). - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSL: different client authentication for different web services
Hi, I have different AXIS services running and I would like some of them to be available only with ssl client authentication and some others only with server authentication. I have succeded to configure Tomcat to work with ssl with client authentication in port 8443 and in 8444 without client authentication. Currently I can access all web services in port 8080, 8443 and also 8444, but I don't want all kinds of authentication for all web services. How can I configure Tomcat to support this? Any help or reference on this is welcome. Thanks. Víctor Torres
Re: SerialPort TOMCAT
--- vrinda ullas [EMAIL PROTECTED] wrote: hi rajjev, i am using communication api version 2. i am trying to control a relay through serial port.I first built ajava application to do the same. It works fine.But on trying to convet the same into a web based application i don,t get any results. Have either of you two debugged you applications and stepped over the lines accessing the serial port? Does it throw an Exception of any kind, hang, or just fall on through? Another question might be are the comm APIs open source like the rest of the java APIs? If so then you could take the source of those packages and debug through those as well. This should help you track down where the error is faster. Wade - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Istalling Bugzilla on Tomcat
--- Bruno Georges [EMAIL PROTECTED] wrote: Hi Lessie Bugzilla is not a Java based Web App, it is build Perl/CGI, therefore you need a web server which can parse these requests, map and execute them. Recently JBoss announced JBoss Web which allows you to do exactly that along with running Tomcat. You can also run PHP and .Net. Have a look at: http://labs.jboss.com/portal/index.html?ctrl:id=page.default.infoproject=jbossweb Hopes this helps. With Best Regards Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 |-+--- | | Lessie Zoa | | | Mitch | | | [EMAIL PROTECTED]| | | aii.rr.com | | | | | | 25.05.06 05:52 | | | Please respond | | | to Tomcat Users| | | List | | | | |-+--- --| | | |To: users@tomcat.apache.org | |cc: | |Subject: Istalling Bugzilla on Tomcat | | | |Distribute: | |Personal? |---| | || [ ] x | | ||---| | | | --| Greetings everyone. I am relatively new and loving JavaâTomcatâLinuxâall of it! But being new, well⦠please bear with me if I ramble⦠Situation: Due to the nature of our ecommerce software, we do not run Apache. I have only found one other post here regarding a Bugzilla on Tomcat install, and the response was most disappointingâas well as a few years ago. So, I present the question again⦠Has someone tried to install Bugzilla on a straight Tomcat server? Our box serves 5 separate IPs 3 are ecommerce sites 1 is an ftp area 1 is for development and tools, such as Bugzilla. I intend to use Bugzilla to help track issues on each of the ecommerce websites as well as development bugs for new ecommerce solutions. Complete Environment: Linux 2.6.9 MySQL 5.0.20 Tomcat 5.5.16 Bugzilla 2.22 (this is what I want!) Bugzillaâs ./checksetup.pl ran well and I installed the PERL stuff it needed. J Then I went to activate the cgi components of Tomcat. I have read through the files and did uncomment the cgi servelet and mapping in the web.xml for Tomcat, then realized that is a global setting â I only want it to work for Bugzilla. So I went ahead and created a WEB-INF directory, made a new web.xml. I also set up a context file in the CATALINA/hosts as I did for my ecommerce sites. But I am confused. Bugzilla is cgi⦠will the Tomcat even recognize it? My Tomcat manager does see the Bugzilla directory as I placed it in the MYDIR/ipstring/webapps directory, however it does not run (obviously, is not Java!). When I try to ârun itâ I get this: FAIL - Application at context path /bugzilla could not be started Ok, I can deal with that as Bugzilla is not java. I go to my webbrowser, and it does not come up. Am I barking up the wrong tree? Should I seek a more java-esq bug
Re: Apache Cookie Buffer Overflow
you scanner may not work so well, it thinks that Tomcat is Apache httpd, The warnings you see, and the suggested fix, are related to httpd.apache.org, not tomcat.apache.org two different prouducts Hello, We just installed a JBOSS server in our production Environment... Apparently JBOSS came bundled with Apache Tomcat/5.5.9 Our current environment is: Windows 2003 SP1 JBOSS 4.0.2 JVM Version: 1.4.2_11-b06 Apache Tomcat/5.5.9 Our security scanner has picked up 2 security vulnerabilities on this server. Apache Cookie Buffer Overflow HTTP Buffer Overflows Our security scanner indicated that we need to upgrade from Apache v1.1.1 to v1.3.2... but since we are already on Apache Tomcat/5.5.9... I don't think that is correct. The scanner also indicated that we may be able to change a field in Apache called LimitRequestFieldsize... Thus far I have been unable to find this LimitRequestFieldsize field in any of our config files... Is the LimitRequestFieldsize in Apache V.1.1.1 the same as maxHttpHeaderSize in Apache Tomcat/5.5.9? Any suggestions would be appreciated. Thank you --Doug CONFIDENTIALITY NOTICE: This message (including any attachments) may contain Molex confidential information, protected by law. If this message is confidential, forwarding it to individuals, other than those with a need to know, without the permission of the sender, is prohibited. This message is also intended for a specific individual. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message or taking of any action based upon it, is strictly prohibited. Chinese Japanese www.molex.com/confidentiality.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More (Unending) Resource Not Found/ Directory Problems
the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow
RE: More (Unending) Resource Not Found/ Directory Problems
Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
Nope, unfortunately, didn't work. Still get the Resource not found message. What am I missing here? -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:28 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
I just checked the log files, and found an error because Document base /usr/local/tomcat/webapps/usr/local/tomcat/webapps/smsinfo does not exist or is not a readable directory. Well, this tells me two things: it is looking in the right place (at least for the document base) and it does NOT want an absolute path (unless it wants one of the form http://localhost:8080/smsinfo;; is that possible?). Hmph. -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:28 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More (Unending) Resource Not Found/ Directory Problems
Linux is case sensitive do you have the write case. Allen Williams wrote: Nope, unfortunately, didn't work. Still get the Resource not found message. What am I missing here? -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:28 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat and java
Is it possible to have 2 different java connections in Tomcat. And 1. set the language settings for each java connection differently 2. based on what web page is calling tomcat. display correct language. Aaron - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More (Unending) Resource Not Found/ Directory Problems
paste your context.xml and server.xml. As info. The docbase can be absolute or relative. I would suggest using relative (which would be relative to appBase). On 5/25/06, AJ Jonen [EMAIL PROTECTED] wrote: Linux is case sensitive do you have the write case. Allen Williams wrote: Nope, unfortunately, didn't work. Still get the Resource not found message. What am I missing here? -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:28 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow
Re: tomcat and java
google java resource bundles. This should lead you in the correct direction to how to use multiple languages and text/etc for different types of resources/languages/etc On 5/25/06, AJ Jonen [EMAIL PROTECTED] wrote: Is it possible to have 2 different java connections in Tomcat. And 1. set the language settings for each java connection differently 2. based on what web page is calling tomcat. display correct language. Aaron - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow
Re: Tomcat 5.0.28 Manager Stopped Allowing Login
Hi, I had a similar problem recently. There are two Tomcat users files. One is locaed in the $TOMCAT/conf folder and the other is in your user home. Check both files to see what the problem might be there. Cheers, Martin nightdots wrote: I'm having trouble with Tomcat Manager (Tomcat version 5.0.28). My tomcat-users.xml file is well formed and was working, and I was able to access the Tomcat Manager with a certain username. Just now, I tried to place ldap.jar (from the JNDI libraries) into my $TOMCAT/ server/libs directory. Then I restarted the Tomcat server and tried to log into Tomcat Manager. Now, Tomcat Manager will not accept my username/password. I tried removing the ldap.jar file and restarting Tomcat, but my username/password is still not being accepted. This is very strange and I would appreciate any help possible. Thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Martin Grogan Keizen Software [EMAIL PROTECTED] www.keizensoftware.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
Appreciate the tip, but the cases are all OK. -Original Message- From: AJ Jonen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:49 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems Linux is case sensitive do you have the write case. Allen Williams wrote: Nope, unfortunately, didn't work. Still get the Resource not found message. What am I missing here? -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:28 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but -- 2) when troubleshooting a problem like this, especially if you've been moving things around, try using *absolute paths* for appBase and docBase so you *know* there's no ambiguity. Is there some definitive guide to how the hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Running Tomcat with different JDKs under SuSE-SE-9.0
SuSE has a very nice mechanism for selecting which of several versions of Java to run. I would recommend you take the 15 minutes to read the README in /etc/java and then follow it. The old way of just unjarring multiple Java versions to different locations and then creating the links and setting/resetting CLASSPATH still works, but its much messier. And yes, as Hassan said - your questions was quite vague, actually non-existent. I may have not understood. HTH - Richard -Original Message- From: Markus Ludwig Grandpre [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 9:22 AM To: users@tomcat.apache.org Cc: [EMAIL PROTECTED] Subject: Running Tomcat with different JDKs under SuSE-SE-9.0 Hi all, I'd like to run jakarta-tomcat-5.0.19 with two different JDKs: - SunJava2-1.4.2 and - jdk1.5.0_06 on a SuSE-SE-9.0 system. I'd be glad to receive any help from you. Thanks in advance, Markus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More (Unending) Resource Not Found/ Directory Problems
On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? File system paths, your second choice :-) Also, I assume by docBase you mean the docbase attribute in the Context element. Sweet mother of -- no, I mean docBase, which, if you *read* the Fine Documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, you'll see is spelled exactly that way *AND IS CASE SENSITIVE*. OK? Go through your configuration and *look closely* at each element and attribute and *check them against the doc*. It'll save you a lot of unneccessary frustration. Really. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.0.28 Manager Stopped Allowing Login
I think i've narrowed it down to a problem with a realm tag I'm trying to connect to my LDAP server with the realm tag within server.xml, but I don't have ldap.jar. Sun's download site is down, does anyone know where i can get a mirrored copy of suns ldap.jar and the jndi/ldap booster pack? thanks! On May 25, 2006, at 3:00 PM, Martin Grogan wrote: Hi, I had a similar problem recently. There are two Tomcat users files. One is locaed in the $TOMCAT/conf folder and the other is in your user home. Check both files to see what the problem might be there. Cheers, Martin nightdots wrote: I'm having trouble with Tomcat Manager (Tomcat version 5.0.28). My tomcat-users.xml file is well formed and was working, and I was able to access the Tomcat Manager with a certain username. Just now, I tried to place ldap.jar (from the JNDI libraries) into my $TOMCAT/ server/libs directory. Then I restarted the Tomcat server and tried to log into Tomcat Manager. Now, Tomcat Manager will not accept my username/password. I tried removing the ldap.jar file and restarting Tomcat, but my username/password is still not being accepted. This is very strange and I would appreciate any help possible. Thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Martin Grogan Keizen Software [EMAIL PROTECTED] www.keizensoftware.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
I am not using a context.xml. Someone suggested I do so, it would be under META-INF, but I don't have a META-INF subdir except under one of the example apps. I'm more than happy to do so in the future, which this person pointed out was better form (more modular?), but not sure where it is supposed to go, and for the moment just want to get back to square one, with everything working. Therefore, the germane addition to my server.xml file is here: ** !-- Define the default virtual host Note: XML Schema validation will not work with Xerces 2.2. -- !-- I changed the following line (put absolute path in appBase) -- Host name=localhost appBase=/usr/local/tomcat/webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- === I added this context element, and experimented wildly with absolute paths for both path and docbase === -- Context path=/smsinfo docbase=/usr/local/tomcat/webapps/smsinfo debug=5 reloadable=true / !-- Defines a cluster for this node, By defining this element, means that every manager will be changed. So when running a cluster, only make sure that you have webapps in there that need to be clustered and remove the other ones. A cluster has the following parameters: className = the fully qualified name of the cluster class clusterName = a descriptive name for your cluster, can be anything mcastAddr = the multicast address, has to be the same for all the nodes mcastPort = the multicast port, has to be the same for all the nodes mcastBindAddress = bind the multicast socket to a specific address ** Anything else I can add? -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:57 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems paste your context.xml and server.xml. As info. The docbase can be absolute or relative. I would suggest using relative (which would be relative to appBase). On 5/25/06, AJ Jonen [EMAIL PROTECTED] wrote: Linux is case sensitive do you have the write case. Allen Williams wrote: Nope, unfortunately, didn't work. Still get the Resource not found message. What am I missing here? -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:28 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration in server.xml is discouraged; you'd be well off to get used to using META-INF/context.xml early :-) but --
tomcat 5 not starting
I am running apache 2.2.2 and tomcat 5.0 with jdk1.3 i get the following error message when trying to run tomcat 5: [2006-05-25 20:49:24] [info] Service Tomcat5 name Apache Tomcat [2006-05-25 20:49:25] [info] Service Tomcat5 installed [2006-05-25 20:49:25] [info] Procrun finished. [2006-05-25 20:50:15] [info] Updating service... [2006-05-25 20:50:15] [info] Service Tomcat5 updated [2006-05-25 20:50:15] [info] Update service finished. [2006-05-25 20:50:15] [info] Procrun finished. [2006-05-25 20:50:15] [info] Updating service... [2006-05-25 20:50:15] [info] Service Tomcat5 updated [2006-05-25 20:50:15] [info] Update service finished. [2006-05-25 20:50:15] [info] Procrun finished. [2006-05-25 20:50:38] [info] Running Service... [2006-05-25 20:50:38] [info] Starting service... [2006-05-25 20:50:38] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 20:50:38] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 20:50:38] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 20:50:38] [info] Run service finished. [2006-05-25 20:50:38] [info] Procrun finished. [2006-05-25 20:50:55] [info] Running Service... [2006-05-25 20:50:55] [info] Starting service... [2006-05-25 20:50:56] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 20:50:56] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 20:50:56] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 20:50:56] [info] Run service finished. [2006-05-25 20:50:56] [info] Procrun finished. [2006-05-25 20:51:17] [info] Running Service... [2006-05-25 20:51:17] [info] Starting service... [2006-05-25 20:51:17] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 20:51:17] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 20:51:17] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 20:51:17] [info] Run service finished. [2006-05-25 20:51:17] [info] Procrun finished. [2006-05-25 21:01:46] [info] Running Service... [2006-05-25 21:01:46] [info] Starting service... [2006-05-25 21:01:46] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 21:01:46] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 21:01:46] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 21:01:46] [info] Run service finished. [2006-05-25 21:01:46] [info] Procrun finished. [2006-05-25 21:07:10] [info] Running Service... [2006-05-25 21:07:10] [info] Starting service... [2006-05-25 21:07:10] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 21:07:10] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 21:07:10] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 21:07:10] [info] Run service finished. [2006-05-25 21:07:10] [info] Procrun finished. ive tried installing tomcat 3 and 4 but still have no luck in getting it to run. It just flashes up quickly (command window) but I dont think tomcat is actually running. -- View this message in context: http://www.nabble.com/tomcat+5+not+starting-t1683208.html#a4565490 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More (Unending) Resource Not Found/ Directory Problems
As Hassan pointed out your docbase tag is wrong. change to docBase (case sensitive) and check the other tags. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I am not using a context.xml. Someone suggested I do so, it would be under META-INF, but I don't have a META-INF subdir except under one of the example apps. I'm more than happy to do so in the future, which this person pointed out was better form (more modular?), but not sure where it is supposed to go, and for the moment just want to get back to square one, with everything working. Therefore, the germane addition to my server.xml file is here: ** !-- Define the default virtual host Note: XML Schema validation will not work with Xerces 2.2. -- !-- I changed the following line (put absolute path in appBase) -- Host name=localhost appBase=/usr/local/tomcat/webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- === I added this context element, and experimented wildly with absolute paths for both path and docbase === -- Context path=/smsinfo docbase=/usr/local/tomcat/webapps/smsinfo debug=5 reloadable=true / !-- Defines a cluster for this node, By defining this element, means that every manager will be changed. So when running a cluster, only make sure that you have webapps in there that need to be clustered and remove the other ones. A cluster has the following parameters: className = the fully qualified name of the cluster class clusterName = a descriptive name for your cluster, can be anything mcastAddr = the multicast address, has to be the same for all the nodes mcastPort = the multicast port, has to be the same for all the nodes mcastBindAddress = bind the multicast socket to a specific address ** Anything else I can add? -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:57 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems paste your context.xml and server.xml. As info. The docbase can be absolute or relative. I would suggest using relative (which would be relative to appBase). On 5/25/06, AJ Jonen [EMAIL PROTECTED] wrote: Linux is case sensitive do you have the write case. Allen Williams wrote: Nope, unfortunately, didn't work. Still get the Resource not found message. What am I missing here? -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:28 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Ahh! Thanks! I found the appBase attribute in the Host element. I'm putting absolute paths in everything (of the form /usr/local/tomcat/..., not of the form http://localhost:8080/...;) to see if that gets it working. The only context.xml file I've found is in the CATALINA_HOME/conf directory, not a META-INF directory. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:18 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems the appBase is an attribute that is defined in your server.xml. By default it is your TOMCAT_HOME/WEBAPPS folder. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I will take your advice and figure out how to use META-INF/context.xml as soon as I get back to where I was (I wondered what that META-INF directory was for;-). Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? This has always been a point of confusion for me. Also, I assume by docBase you mean the docbase attribute in the Context element. What do you mean by appBase? TIA -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:45 AM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: I added this to the server.xml file: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- This is what I added; note above, it is contained withing the localhost elements -- Context path=/smsinfo docbase=smsinfo debug=5 reloadable=true / What's wrong here, and can someone help me with this immediate problem? 1) putting context configuration
RE: Problem setting up an Oracle 8 datasource
I would chase down the ORA-00911 error myself. Here is a working snippet from my web.xml which also connects to Oracle 8i using the 1.2 thin driver: Resource name=jdbc/db type=javax.sql.DataSource driverClassName=oracle.jdbc.driver.OracleDriver url=jdbc:oracle:thin:@localhost:1521:db username=scott password=tiger validationQuery=SELECT COUNT(*) FROM DUAL initialSize=5 defaultCatalog=db maxIdle=25 maxWait=5000 maxActive=50/ Do you perhaps have funky characters in your username, or password, or some other field which you obfuscated prior to posting? (I can connect to this server, BTW, but don't have credentials to log in, so I'm guess this is where the invalid character(s) are.) ORA-00911: invalid character Cause: Special characters are valid only in certain places. If special characters other than $, _, and # are used in a name and the name is not enclosed in double quotation marks (), this message will be issued. One exception to this rule is for database names; in this case, double quotes are stripped out and ignored. Action: Remove the invalid character from the statement or enclose the object name in double quotation marks. Tim -Original Message- From: Judy Dobry [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 2:15 PM To: users@tomcat.apache.org Subject: Problem setting up an Oracle 8 datasource Hi, I am trying to set up a datasouce for an Oracle 8 database. Unfortunately, I get the following error when I try to get a connection: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-00911: invalid character) I have the following setup: JDBC DRIVER: I have put classes12.zip renamed to classes12.jar in $CATALINA_HOME/common/lib. $CATALINA_HOME/conf/context.xml contains: Context Resource auth=Container description=DB Connection name=jdbc/testDB type=javax.sql.DataSource password=test driverClassName=oracle.jdbc.driver.OracleDriver maxIdle=2 maxWait=5000 username=test url=jdbc:oracle:thin:@grad.berkeley.edu:1521:GD1T maxActive=4/ !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource /Context WEB.XML contains: resource-ref description Test Database /description res-ref-name jdbc/testDB /res-ref-name res-type javax.sql.DataSource /res-type res-auth Container /res-auth /resource-ref THE CODE: Context ctx = new InitialContext(); Context envContext = (Context)ctx.lookup(java:/comp/env); ds =(javax.sql.DataSource) envContext.lookup( jdbc/testDB); try { System.out.println(GLOWUtil.isAuthorized - try first getConnection...); conn = ds.getConnection(); } catch (java.sql.SQLException ee) { System.out.println(GLOWUtil.isAuthorized - first getConnection: + ee); System.out.println(GLOWUtil.isAuthorized - try second getConnection...); try { conn = ds.getConnection(); } catch (java.sql.SQLException eee) { System.out.println(GLOWUtil.isAuthorized - second getConnection: + eee); return isAuthorized; } } THE COMPLETE ERROR MESSAGE: GLOWUtil.isAuthorized - first getConnection:org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-00911: invalid character) GLOWUtil.isAuthorized - try second getConnection... GLOWUtil.isAuthorized - second getConnection:org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-00911: invalid character) Any suggestions would be much appreciated. Thanks, Judy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
Oooo-kay. I went and (re)read the document you suggested, did change docbase in the Context element to docBase (which I did miss until you pointed it out), and the same thing still hap- pens. Evidently, there's no way to tell tomcat how many times I've read the documentation;-) I know this is bound to be some stupid little thing I've missed (I actually had high hopes with the docbase-docBase change), but I don't know what it is. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:11 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? File system paths, your second choice :-) Also, I assume by docBase you mean the docbase attribute in the Context element. Sweet mother of -- no, I mean docBase, which, if you *read* the Fine Documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, you'll see is spelled exactly that way *AND IS CASE SENSITIVE*. OK? Go through your configuration and *look closely* at each element and attribute and *check them against the doc*. It'll save you a lot of unneccessary frustration. Really. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Memory Leak
--- Rocio Alfonso Pita [EMAIL PROTECTED] wrote: El Jueves 25 Mayo 2006 18:51, Petkov, Rossen escribi�: The request.registerRequests=false setting goes in the workers.properties file. I already have that an it's not helping with the memory leak. I plan to upgrade Tomcat to 5.0.28 and java to 1.4.2_11 Rossen I have a development pc with tomcat 5.0.28 and java 1.4.2_04 and I obtain out of memory too. I'm sure it's a different case. If you would like to ask a question it would be polite not to hijack someone elses thread. Please create your own email to the list with a specific subject and message/question. Thanks, Wade - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 5 not starting
Take a peek at this bugzilla entry that addresses your problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=28988 cheers - Warren -Original Message- From: ahum [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:21 PM To: users@tomcat.apache.org Subject: tomcat 5 not starting I am running apache 2.2.2 and tomcat 5.0 with jdk1.3 i get the following error message when trying to run tomcat 5: [2006-05-25 20:49:24] [info] Service Tomcat5 name Apache Tomcat [2006-05-25 20:49:25] [info] Service Tomcat5 installed [2006-05-25 20:49:25] [info] Procrun finished. [2006-05-25 20:50:15] [info] Updating service... [2006-05-25 20:50:15] [info] Service Tomcat5 updated [2006-05-25 20:50:15] [info] Update service finished. [2006-05-25 20:50:15] [info] Procrun finished. [2006-05-25 20:50:15] [info] Updating service... [2006-05-25 20:50:15] [info] Service Tomcat5 updated [2006-05-25 20:50:15] [info] Update service finished. [2006-05-25 20:50:15] [info] Procrun finished. [2006-05-25 20:50:38] [info] Running Service... [2006-05-25 20:50:38] [info] Starting service... [2006-05-25 20:50:38] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 20:50:38] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 20:50:38] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 20:50:38] [info] Run service finished. [2006-05-25 20:50:38] [info] Procrun finished. [2006-05-25 20:50:55] [info] Running Service... [2006-05-25 20:50:55] [info] Starting service... [2006-05-25 20:50:56] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 20:50:56] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 20:50:56] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 20:50:56] [info] Run service finished. [2006-05-25 20:50:56] [info] Procrun finished. [2006-05-25 20:51:17] [info] Running Service... [2006-05-25 20:51:17] [info] Starting service... [2006-05-25 20:51:17] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 20:51:17] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 20:51:17] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 20:51:17] [info] Run service finished. [2006-05-25 20:51:17] [info] Procrun finished. [2006-05-25 21:01:46] [info] Running Service... [2006-05-25 21:01:46] [info] Starting service... [2006-05-25 21:01:46] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 21:01:46] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 21:01:46] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 21:01:46] [info] Run service finished. [2006-05-25 21:01:46] [info] Procrun finished. [2006-05-25 21:07:10] [info] Running Service... [2006-05-25 21:07:10] [info] Starting service... [2006-05-25 21:07:10] [364 javajni.c] [error] Unsuported JNI version 65537 [2006-05-25 21:07:10] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2006-05-25 21:07:10] [982 prunsrv.c] [error] ServiceStart returned 2 [2006-05-25 21:07:10] [info] Run service finished. [2006-05-25 21:07:10] [info] Procrun finished. ive tried installing tomcat 3 and 4 but still have no luck in getting it to run. It just flashes up quickly (command window) but I dont think tomcat is actually running. -- View this message in context: http://www.nabble.com/tomcat+5+not+starting-t1683208.html#a4565490 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
I'm coming into this discussion late, so ignore this if it's offbase, but it looks like you are using absolute paths for both appBase and docBase: Host name=localhost appBase=/usr/local/tomcat/webapps Context path=/smsinfo docBase=/usr/local/tomcat/webapps/smsinfo The docBase docs say You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host. Shouldn't you be using a relative path for docBase, not an absolute one? Jay | Jay Burgess [Vertical Technology Group] | http://www.vtgroup.com/ -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:34 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Oooo-kay. I went and (re)read the document you suggested, did change docbase in the Context element to docBase (which I did miss until you pointed it out), and the same thing still hap- pens. Evidently, there's no way to tell tomcat how many times I've read the documentation;-) I know this is bound to be some stupid little thing I've missed (I actually had high hopes with the docbase-docBase change), but I don't know what it is. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:11 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? File system paths, your second choice :-) Also, I assume by docBase you mean the docbase attribute in the Context element. Sweet mother of -- no, I mean docBase, which, if you *read* the Fine Documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, you'll see is spelled exactly that way *AND IS CASE SENSITIVE*. OK? Go through your configuration and *look closely* at each element and attribute and *check them against the doc*. It'll save you a lot of unneccessary frustration. Really. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
Thanks. This all started when I went from a Debian package install to a more vanilla Linux install. Under the Debian apt package install, it put everything into /usr/share/, and everything worked fine until I tried to install an Ajp13 connector, whereupon it was recommended I do the vanilla install. I put the vanilla install into /usr/local (seemed to make more sense for some reason than /usr/share), and since then my (very simple, just to get started) app doesn't work. As you can see from this thread, it's like it can't find the top-level app directory (which, of course, I've put under /usr/local/tomcat/webapps). When I try to access it, I get a message in my browser that says The requested resource (/smsinfo/) is not available. Actually, at the moment, I am back to a relative path for docBase. Is there anyway to set a higher debug level or something so that maybe tomcat will print out how he is trying to resolve paths, etc.? -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:53 PM To: users@tomcat.apache.org Subject: RE: More (Unending) Resource Not Found/ Directory Problems I'm coming into this discussion late, so ignore this if it's offbase, but it looks like you are using absolute paths for both appBase and docBase: Host name=localhost appBase=/usr/local/tomcat/webapps Context path=/smsinfo docBase=/usr/local/tomcat/webapps/smsinfo The docBase docs say You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host. Shouldn't you be using a relative path for docBase, not an absolute one? Jay | Jay Burgess [Vertical Technology Group] | http://www.vtgroup.com/ -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:34 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Oooo-kay. I went and (re)read the document you suggested, did change docbase in the Context element to docBase (which I did miss until you pointed it out), and the same thing still hap- pens. Evidently, there's no way to tell tomcat how many times I've read the documentation;-) I know this is bound to be some stupid little thing I've missed (I actually had high hopes with the docbase-docBase change), but I don't know what it is. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:11 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? File system paths, your second choice :-) Also, I assume by docBase you mean the docbase attribute in the Context element. Sweet mother of -- no, I mean docBase, which, if you *read* the Fine Documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, you'll see is spelled exactly that way *AND IS CASE SENSITIVE*. OK? Go through your configuration and *look closely* at each element and attribute and *check them against the doc*. It'll save you a lot of unneccessary frustration. Really. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
changing web.xml to allow opening .eml files
I'm having a problem with my server opening .eml files. (email files) When trying to open them it just shows code and the email is imbedded in it. Previously I have been able to add mime mappings in the web.xml file to allow other types of files to be opened, but everything I try isn't working. I've tried: mime-mapping extensioneml/extension mime-typemessage/rfc822/mime-type /mime-mapping -- Kaitee Fleck Analyst/Programmer I Division of Finance Department of Administration Telephone: (907) 465-5635 Fax: (907) 465-2169 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
You can set up valves to handle log files. You need to create your log directory and such, then add it into your host context in the server.xml. First... for logging, you have to uncomment/add in the Valve in the main host section as such: Host Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common resolveHosts=false / /host In my server.xml I have 5 different webapps as they all run on different IPs (for security reasons). Here is a sample of a host setup so Tomcat can find my webapp: Host name=www.mysite.com appBase=/home/sites/www.mysite.com/webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Aliassafetysystemshawaii.com/Alias Valve className=org.apache.catalina.valves.AccessLogValve directory=/home/sites/www.mysite.com/logs prefix=www.mysite.com_access_log. suffix=.txt pattern=common resolveHosts=false / /Host then I have my Context seperate (/Catalina/ipnumber/) with the following: Context path=/appname docBase=dirofappname relodable=false privileged=false Resource auth=Container name=mail/Session type=javax.mail.Session / Resource name=jdbc/appname auth=Container scope=Shareable type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=500 removeAbondoned=true username=test password=test driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/dbname?autoReconnect=trueuseUnicode=truecharacterEncoding=UTF8 / /Context All of my apps are set up this way. They all work wonderfully. You may not have to get as indepth. The server.xml is a global file telling Tomcat where what is. Since I have multiple webapp directories I have to state each one in the server.xml then create a context in Catalina which helps to manage all of them. I also have seperate instances of the TomcatManager for each IP/webapp so I do not have to reboot Tomcat overall if I make a change to only one webapp. Hope this helps you... ~LZ~ -- View this message in context: http://www.nabble.com/More+%28Unending%29+%22Resource+Not+Found%22-+Directory++Problems-t1681606.html#a4566488 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
The reason I commented is that I noticed in one of your previous posts a log error like: Document base /usr/local/tomcat/webapps/usr/local/tomcat/webapps/smsinfo does not exist or is not a readable directory. Since this message contains the string /usr/local/tomcat/webapps twice, I thought maybe it was concatenating an absolute appBase with an absolute docBase, when it should be concatenating an absolute appBase with a relative docBase. Can you check the same log and see what the error looks like now? Jay | Jay Burgess [Vertical Technology Group] | http://www.vtgroup.com/ -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:03 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Thanks. This all started when I went from a Debian package install to a more vanilla Linux install. Under the Debian apt package install, it put everything into /usr/share/, and everything worked fine until I tried to install an Ajp13 connector, whereupon it was recommended I do the vanilla install. I put the vanilla install into /usr/local (seemed to make more sense for some reason than /usr/share), and since then my (very simple, just to get started) app doesn't work. As you can see from this thread, it's like it can't find the top-level app directory (which, of course, I've put under /usr/local/tomcat/webapps). When I try to access it, I get a message in my browser that says The requested resource (/smsinfo/) is not available. Actually, at the moment, I am back to a relative path for docBase. Is there anyway to set a higher debug level or something so that maybe tomcat will print out how he is trying to resolve paths, etc.? -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:53 PM To: users@tomcat.apache.org Subject: RE: More (Unending) Resource Not Found/ Directory Problems I'm coming into this discussion late, so ignore this if it's offbase, but it looks like you are using absolute paths for both appBase and docBase: Host name=localhost appBase=/usr/local/tomcat/webapps Context path=/smsinfo docBase=/usr/local/tomcat/webapps/smsinfo The docBase docs say You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host. Shouldn't you be using a relative path for docBase, not an absolute one? Jay | Jay Burgess [Vertical Technology Group] | http://www.vtgroup.com/ -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:34 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Oooo-kay. I went and (re)read the document you suggested, did change docbase in the Context element to docBase (which I did miss until you pointed it out), and the same thing still hap- pens. Evidently, there's no way to tell tomcat how many times I've read the documentation;-) I know this is bound to be some stupid little thing I've missed (I actually had high hopes with the docbase-docBase change), but I don't know what it is. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:11 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? File system paths, your second choice :-) Also, I assume by docBase you mean the docbase attribute in the Context element. Sweet mother of -- no, I mean docBase, which, if you *read* the Fine Documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, you'll see is spelled exactly that way *AND IS CASE SENSITIVE*. OK? Go through your configuration and *look closely* at each element and attribute and *check them against the doc*. It'll save you a lot of unneccessary frustration. Really. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Istalling Bugzilla on Tomcat
Thanks... but we cannot go to JBOSS... :( We are now looking for a more java solution to tracking our bugs and managing our development. I was pointed toward JIRA by a maillist response. I would much prefer to use open source if I could... Does anyone know what happened to RatBug? I vaguely remember that one (java based) but that was a long time ago... ~LZ~ -- View this message in context: http://www.nabble.com/Istalling+Bugzilla+on+Tomcat-t1679203.html#a4566756 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Native connector startup problem
I'm running into the error when I try to startup Tomcat 5.5.17 with the 1.1.3 native connector on AIX. It starts up fine on the same port when not using the native connector, so there's nothing else using the port. Has anyone else seen this? Anyone have any suggestions on what's wrong? Thanks in advance. , Josh. -bash-3.00$ LD_LIBRARY_PATH=/home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat/bin /native ./catalina.sh run Using CATALINA_BASE: /home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat Using CATALINA_HOME: /home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat Using CATALINA_TMPDIR: /home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat/temp Using JRE_HOME: /usr/java5 May 25, 2006 4:35:02 PM org.apache.coyote.ajp.AjpAprProtocol init SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22] A system call received a parameter that is not valid. at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:571) at org.apache.coyote.ajp.AjpAprProtocol.init(AjpAprProtocol.java:183) at org.apache.catalina.connector.Connector.initialize(Connector.java:1016) at org.apache.catalina.core.StandardService.initialize(StandardService.java :580) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:7 91) at org.apache.catalina.startup.Catalina.load(Catalina.java:503) at org.apache.catalina.startup.Catalina.load(Catalina.java:523) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431) May 25, 2006 4:35:02 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [22] A system call received a parameter that is not valid. at org.apache.catalina.connector.Connector.initialize(Connector.java:1018) at org.apache.catalina.core.StandardService.initialize(StandardService.java :580) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:7 91) at org.apache.catalina.startup.Catalina.load(Catalina.java:503) at org.apache.catalina.startup.Catalina.load(Catalina.java:523) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431) May 25, 2006 4:35:02 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1145 ms May 25, 2006 4:35:03 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 25, 2006 4:35:03 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 May 25, 2006 4:35:03 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 25, 2006 4:35:06 PM org.apache.coyote.ajp.AjpAprProtocol start SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [22] A system call received a parameter that is not valid. at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:571) at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:681) at org.apache.coyote.ajp.AjpAprProtocol.start(AjpAprProtocol.java:211) at org.apache.catalina.connector.Connector.start(Connector.java:1089) at org.apache.catalina.core.StandardService.start(StandardService.java:459) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) May 25, 2006 4:35:06 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.getName(): Catalina; Protocol handler start failed: java.lang.Exception: Socket bind failed: [22] A system call received a parameter that is not valid. at
RE: More (Unending) Resource Not Found/ Directory Problems
Yeah, I fixed that. That error is no longer in the logs. -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 5:22 PM To: users@tomcat.apache.org Subject: RE: More (Unending) Resource Not Found/ Directory Problems The reason I commented is that I noticed in one of your previous posts a log error like: Document base /usr/local/tomcat/webapps/usr/local/tomcat/webapps/smsinfo does not exist or is not a readable directory. Since this message contains the string /usr/local/tomcat/webapps twice, I thought maybe it was concatenating an absolute appBase with an absolute docBase, when it should be concatenating an absolute appBase with a relative docBase. Can you check the same log and see what the error looks like now? Jay | Jay Burgess [Vertical Technology Group] | http://www.vtgroup.com/ -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:03 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Thanks. This all started when I went from a Debian package install to a more vanilla Linux install. Under the Debian apt package install, it put everything into /usr/share/, and everything worked fine until I tried to install an Ajp13 connector, whereupon it was recommended I do the vanilla install. I put the vanilla install into /usr/local (seemed to make more sense for some reason than /usr/share), and since then my (very simple, just to get started) app doesn't work. As you can see from this thread, it's like it can't find the top-level app directory (which, of course, I've put under /usr/local/tomcat/webapps). When I try to access it, I get a message in my browser that says The requested resource (/smsinfo/) is not available. Actually, at the moment, I am back to a relative path for docBase. Is there anyway to set a higher debug level or something so that maybe tomcat will print out how he is trying to resolve paths, etc.? -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:53 PM To: users@tomcat.apache.org Subject: RE: More (Unending) Resource Not Found/ Directory Problems I'm coming into this discussion late, so ignore this if it's offbase, but it looks like you are using absolute paths for both appBase and docBase: Host name=localhost appBase=/usr/local/tomcat/webapps Context path=/smsinfo docBase=/usr/local/tomcat/webapps/smsinfo The docBase docs say You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host. Shouldn't you be using a relative path for docBase, not an absolute one? Jay | Jay Burgess [Vertical Technology Group] | http://www.vtgroup.com/ -Original Message- From: Allen Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:34 PM To: Tomcat Users List Subject: RE: More (Unending) Resource Not Found/ Directory Problems Oooo-kay. I went and (re)read the document you suggested, did change docbase in the Context element to docBase (which I did miss until you pointed it out), and the same thing still hap- pens. Evidently, there's no way to tell tomcat how many times I've read the documentation;-) I know this is bound to be some stupid little thing I've missed (I actually had high hopes with the docbase-docBase change), but I don't know what it is. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:11 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Are the absolute paths like http://localhost:8080/smsinfo; or like /usr/local/tomcat/webapps/smsinfo? File system paths, your second choice :-) Also, I assume by docBase you mean the docbase attribute in the Context element. Sweet mother of -- no, I mean docBase, which, if you *read* the Fine Documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, you'll see is spelled exactly that way *AND IS CASE SENSITIVE*. OK? Go through your configuration and *look closely* at each element and attribute and *check them against the doc*. It'll save you a lot of unneccessary frustration. Really. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
Re: Native connector startup problem
Looks more like AJP port is bound ..grep thru http*.conf , find the AJPPort specifier (usually 8009) then netstat -a | grep ThatPort (then go after the process id) If that doesnt solve it shutdown Tomcat/ shutdown Apache, and start Apache / start Tomcat If that doesnt solve it you may have to power cycle the box Anyone else ??? M- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Fenlason, Josh [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 25, 2006 5:44 PM Subject: Native connector startup problem I'm running into the error when I try to startup Tomcat 5.5.17 with the 1.1.3 native connector on AIX. It starts up fine on the same port when not using the native connector, so there's nothing else using the port. Has anyone else seen this? Anyone have any suggestions on what's wrong? Thanks in advance. , Josh. -bash-3.00$ LD_LIBRARY_PATH=/home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat/bin /native ./catalina.sh run Using CATALINA_BASE: /home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat Using CATALINA_HOME: /home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat Using CATALINA_TMPDIR: /home/snow/jfenlason/aix/install/tomcat5.5.17/tomcat/temp Using JRE_HOME: /usr/java5 May 25, 2006 4:35:02 PM org.apache.coyote.ajp.AjpAprProtocol init SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22] A system call received a parameter that is not valid. at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:571) at org.apache.coyote.ajp.AjpAprProtocol.init(AjpAprProtocol.java:183) at org.apache.catalina.connector.Connector.initialize(Connector.java:1016) at org.apache.catalina.core.StandardService.initialize(StandardService.java :580) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:7 91) at org.apache.catalina.startup.Catalina.load(Catalina.java:503) at org.apache.catalina.startup.Catalina.load(Catalina.java:523) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431) May 25, 2006 4:35:02 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [22] A system call received a parameter that is not valid. at org.apache.catalina.connector.Connector.initialize(Connector.java:1018) at org.apache.catalina.core.StandardService.initialize(StandardService.java :580) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:7 91) at org.apache.catalina.startup.Catalina.load(Catalina.java:503) at org.apache.catalina.startup.Catalina.load(Catalina.java:523) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431) May 25, 2006 4:35:02 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1145 ms May 25, 2006 4:35:03 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 25, 2006 4:35:03 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 May 25, 2006 4:35:03 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 25, 2006 4:35:06 PM org.apache.coyote.ajp.AjpAprProtocol start SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [22] A system call received a parameter that is not valid. at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:571) at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:681) at org.apache.coyote.ajp.AjpAprProtocol.start(AjpAprProtocol.java:211) at org.apache.catalina.connector.Connector.start(Connector.java:1089) at
Re: More (Unending) Resource Not Found/ Directory Problems
On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Yeah, I fixed that. That error is no longer in the logs. Let me assure you that absolute appBase and absolute docBase paths work fine together -- I've got systems in production set up that way. In any case, what *does* show up in your log when you start up Tomcat now? There should be some reference to why /smsinfo isn't found, or isn't starting. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
load balancer
From the docs [1], it's slightly unclear to me what the load-balancer is exactly. I've kind of gleaned from other sources that it's perhaps an apache httpd running modjk? Thanks, Dave 1. http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: load balancer
that, or even a load balancing appliance, those tend to be extremely scalable. this one used to be free, you could download an image and create any box to be a LB http://www.loadbalancer.org/products.html Filip David Durham wrote: From the docs [1], it's slightly unclear to me what the load-balancer is exactly. I've kind of gleaned from other sources that it's perhaps an apache httpd running modjk? Thanks, Dave 1. http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: More (Unending) Resource Not Found/ Directory Problems
Nothing at all shows up in them. That's why I asked a few posts ago whether there was some way I could increase the debug level. This is true not only at tomcat startup, but also when I try to access the directory. All I get is the requested resource is not available message in my browser. I've just started it and tried again, so I post them here, in case Dan Brown is reading and can crack some code: All that redirect stuff in localhost.log isn't germane, is it? catalina.log === May 25, 2006 7:09:58 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jdk1.5.0_06/jre/lib/i386/client:/usr/lib/jdk1.5.0_06/jre/lib/i386:/ usr/lib/jdk1.5.0_06/jre/../lib/i386 May 25, 2006 7:09:59 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 25, 2006 7:09:59 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 897 ms May 25, 2006 7:09:59 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 25, 2006 7:09:59 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 May 25, 2006 7:09:59 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 25, 2006 7:10:00 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 May 25, 2006 7:10:00 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 May 25, 2006 7:10:00 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/83 config=null May 25, 2006 7:10:00 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource May 25, 2006 7:10:00 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1440 ms localhost.log May 25, 2006 7:09:59 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] May 25, 2006 7:09:59 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() May 25, 2006 7:09:59 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() May 25, 2006 7:10:00 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() May 25, 2006 7:10:00 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() == catalina.out May 25, 2006 7:09:58 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jdk1.5.0_06/jre/lib/i386/client:/usr/lib/jdk1.5.0_06/jre/lib/i386:/ usr/lib/jdk1.5.0_06/jre/../lib/i386 May 25, 2006 7:09:59 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 25, 2006 7:09:59 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 897 ms May 25, 2006 7:09:59 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 25, 2006 7:09:59 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 May 25, 2006 7:09:59 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 25, 2006 7:10:00 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 May 25, 2006 7:10:00 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 May 25, 2006 7:10:00 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/83 config=null May 25, 2006 7:10:00 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource May 25, 2006 7:10:00 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1440 ms Thanks! -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 6:30 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Yeah, I fixed that. That error is no longer in the logs. Let me
RE: More (Unending) Resource Not Found/ Directory Problems
Well, I'd first like to say (before I make a complete fool of myself) thanks to all who helped me. I have (embarassing moment here) finally found the problem. When I was running under the old configuration, I had the test URL bookmarked as /smsinfo/login.jsp. The directory doesn't (or, didn't, until now) have an index.* file. Since the default page and all the examples worked, I decided to put my app directory as a link on the default page and see if I could get it to work that way. So, I took apart the default ROOT/WEB-INF/web.xml file (i. e., unmapped the precompiled default default page, so it would use the uncompiled index.jsp in the ROOT/ directory, added my link to it, and still nothing. Starting there, I found the problem. Is there an emoticon that denotes severe embarrassment? All I can say, is at least at some point I said it would be some trivial thing. Well, it was. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 6:30 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Yeah, I fixed that. That error is no longer in the logs. Let me assure you that absolute appBase and absolute docBase paths work fine together -- I've got systems in production set up that way. In any case, what *does* show up in your log when you start up Tomcat now? There should be some reference to why /smsinfo isn't found, or isn't starting. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More (Unending) Resource Not Found/ Directory Problems
The main thing is to keep the main thing the main thing and oh yeah I am happy you got your problem resolved. On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Well, I'd first like to say (before I make a complete fool of myself) thanks to all who helped me. I have (embarassing moment here) finally found the problem. When I was running under the old configuration, I had the test URL bookmarked as /smsinfo/login.jsp. The directory doesn't (or, didn't, until now) have an index.* file. Since the default page and all the examples worked, I decided to put my app directory as a link on the default page and see if I could get it to work that way. So, I took apart the default ROOT/WEB-INF/web.xml file (i. e., unmapped the precompiled default default page, so it would use the uncompiled index.jsp in the ROOT/ directory, added my link to it, and still nothing. Starting there, I found the problem. Is there an emoticon that denotes severe embarrassment? All I can say, is at least at some point I said it would be some trivial thing. Well, it was. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 6:30 PM To: Tomcat Users List Subject: Re: More (Unending) Resource Not Found/ Directory Problems On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote: Yeah, I fixed that. That error is no longer in the logs. Let me assure you that absolute appBase and absolute docBase paths work fine together -- I've got systems in production set up that way. In any case, what *does* show up in your log when you start up Tomcat now? There should be some reference to why /smsinfo isn't found, or isn't starting. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow
[help] blank index.jsp on Tomcat 5.5.9
I have an index.jsp that redirects to a jsf page. code: %response.sendRedirect(welcome.jsf);% I tested it and it works fine on my development computer with JBoss/Tomcat 5.5 I then uploaded it to my web server and now I get a blank page instead of the redirect. However I know the webapp was deployed because if I type in /welcome.jsf the page comes up. I checked the logs. No errors that I could find. Any help would be appreciated please. Shawn - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]