Tomcat question
Hello, Does anyone know why I am able to load .jsp files but not .jspa files? Example: http://localhost/forum/admin/setup/index.jsp works http://localhost/forum/admin/setup/setup.index!default.jspa does not work I am using Fedora Core 2, tomcat 4.1.27 and the jk2 / AJP 1.3 connector. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
*.jspa is not mapped to the JSP servlet. See $CATALINA_HOME/conf/web.xml Thanks, Tim, I am really new to tomcat and java. I took a look in the web.xml and didn't see anything related to .jspa. Can you please tell me what I need to add. I tried adding: servlet-mapping servlet-namejspa/servlet-name url-pattern*.jspa/url-pattern /servlet-mapping But that broke everything. Thanks -Tim Thomas E. Dukes wrote: Hello, Does anyone know why I am able to load .jsp files but not .jspa files? Example: http://localhost/forum/admin/setup/index.jsp works http://localhost/forum/admin/setup/setup.index!default.jspa does not work I am using Fedora Core 2, tomcat 4.1.27 and the jk2 / AJP 1.3 connector. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
Hi, servlet-mapping servlet-namejspa/servlet-name url-pattern*.jspa/url-pattern /servlet-mapping That's pretty close: look at the servlet-mapping element for *.jsp. Copy and paste it, change the url-pattern to *.jspa. That's it. Keep the servlet-name the same, don't modify it to jspa. Thanks!! Made the change. It didn't break this time but when I try to access the page, http://localhost/forum/admin/setup/setup.index!default.jspa, I still get error 404 object not found - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
Hi, Made the change. It didn't break this time but when I try to access the page, http://localhost/forum/admin/setup/setup.index!default.jspa, I still get error 404 object not found What's this weird URL? Are you really running on port 80? Hi, I'm trying to setup jive forums. Try this link: http://palmettodomains.com/forum/admin/setup/main.jsp, the click the Continue button. Thanks!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Confused
Hello, I have only been running tomcat for 3 days now but I am confused about something. Today, I change the appBase from webapps to /var/www/html for the default virtual host in server.xml. I restarted tomcat. I then installed jive forums in /var/www/html/forums but was not able to get it to work at that location. I changed appBase back to webapps, moved jive forums to /var/lib/tomcat and bingo-bango, it worked. My reasoning for this is I have several virtual hosts and didn't want to lump all java apps together. I'd rather spread them out to their respective home directories. This is a Fedora Core 2 system running tomcat 4.1.27. Is there something I didn't do besides changing server.xml? TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SPAM MAIL FROM HSBC
-Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 10:52 PM To: [EMAIL PROTECTED] Subject: SPAM MAIL FROM HSBC Hello to All! Im always receiving HSBC spam mail here in tomcat mailing list... Am I the only one receiving this spam mail? or everybody in mailing list? I've received 50 or more of the same email. It must be an out of office reply or something. Can tomcat mailing list administrator block this? or its in our server? You'd think. I don't know what they are waiting for, but I wish they'd remove him from the list. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Problems
Hello, I am running Fedora Core 2 with the stock version of tomcat, 4.1.27-13. I know this is not the latest version but I thought I'd start with what comes with this distribution. I have followed the howto at jakarta.apache.org. First, if I go to http://localhost/examples, I can see the examples and run them with no problems. The problem is http://localhost:8080. According to the howto, I should see a tomcat welcome message. All I get is connection refused. The excerpt from the apahace error log is: [Mon Sep 13 10:26:27 2004] [error] channelSocket.open() connect failed localhost:8019 111 Connection refused [Mon Sep 13 10:26:27 2004] [error] ajp13.connect() failed ajp13:localhost:8019 [Mon Sep 13 10:26:27 2004] [error] ajp13.service() failed to connect endpoint errno=111 Connection refused [Mon Sep 13 10:26:27 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8019 1 1 [Mon Sep 13 10:26:27 2004] [notice] ajp13.done() close endpoint ajp13:localhost:8019 error_state 1 [Mon Sep 13 10:26:27 2004] [error] lb.service() worker failed 12 for ajp13:localhost:8019 [Mon Sep 13 10:26:28 2004] [error] channelUn.connect() connect failed 2 No such file or directory [Mon Sep 13 10:26:28 2004] [error] ajp13.connect() failed ajp13:/opt/33/work/jk2.socket [Mon Sep 13 10:26:28 2004] [error] ajp13.service() failed to connect endpoint errno=2 No such file or directory [Mon Sep 13 10:26:28 2004] [error] ajp13.service() Error forwarding ajp13:/opt/33/work/jk2.socket 1 1 [Mon Sep 13 10:26:28 2004] [notice] channelUn.close(): close unix socket -1 [Mon Sep 13 10:26:28 2004] [notice] ajp13.done() close endpoint ajp13:/opt/33/work/jk2.socket error_state 1 [Mon Sep 13 10:26:28 2004] [error] lb.service() worker failed 12 for ajp13:/opt/33/work/jk2.socket [Mon Sep 13 10:26:28 2004] [error] channelSocket.open() connect failed localhost:8019 111 Connection refused [Mon Sep 13 10:26:28 2004] [error] ajp13.connect() failed ajp13:localhost:8019 [Mon Sep 13 10:26:28 2004] [error] ajp13.service() failed to connect endpoint errno=111 Connection refused [Mon Sep 13 10:26:28 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8019 1 1 [Mon Sep 13 10:26:28 2004] [notice] ajp13.done() close endpoint ajp13:localhost:8019 error_state 1 [Mon Sep 13 10:26:28 2004] [error] lb.service() worker failed 12 for ajp13:localhost:8019 [Mon Sep 13 10:26:28 2004] [error] channelUn.connect() connect failed 2 No such file or directory [Mon Sep 13 10:26:28 2004] [error] ajp13.connect() failed ajp13:/opt/33/work/jk2.socket [Mon Sep 13 10:26:28 2004] [error] ajp13.service() failed to connect endpoint errno=2 No such file or directory [Mon Sep 13 10:26:28 2004] [error] ajp13.service() Error forwarding ajp13:/opt/33/work/jk2.socket 1 1 [Mon Sep 13 10:26:28 2004] [notice] channelUn.close(): close unix socket -1 [Mon Sep 13 10:26:28 2004] [notice] ajp13.done() close endpoint ajp13:/opt/33/work/jk2.socket error_state 1 [Mon Sep 13 10:26:28 2004] [error] lb.service() worker failed 12 for ajp13:/opt/33/work/jk2.socket The first thing I noticed is the ajp13:/opt/33/work/jk2.socket. I don't have this directory or file, anywhere. I'm not sure if I missed installing an rpm or there is a incorrect config file that cam with this distribution somewhere pointing to this. I have searched google and the archive with no success. Any help would be appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Problems
-Original Message- From: RJ [mailto:[EMAIL PROTECTED] Sent: Monday, September 13, 2004 12:07 PM To: Tomcat Users List Subject: Re: Tomcat Problems One thing that I've noticed with some installs of Fedora is that out of the box the iptables firewall gets setup in a weird way that rejects a lot of connections (even if it's supposedly allowing the ports you want to go thru). Flushing the rules it creates, and putting the ones in that I want fixes the problem. rj Thanks RJ! Got it working. It wasn't iptables. The problem was it was commented out in server.xml :-( Sorry, but you put me on the right track. Also, I don't know if you can answer this one or not but I have 3 virtual hosts running and I'd rather put java apps somewhere in the home directories for each virtual host instead of lumping them all in the default location. I saw in the jakarta virtual hosting howto that the appBase can be changed. If I put them in the document root of the virtual host will this cause any problems? Thanks!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]