404 Error troubleshooting

2009-09-11 Thread Mike Baranski
I have a webapp, which shows up in the manager, but gives a 404 error every time I try to access it. Can someone let me know how to turn on debugging and see what exactly is going on? It's an XMLRPC app (not that it makes a difference), and I have my web.xml servlet filter setup properly

RE: 404 Error troubleshooting

2009-09-11 Thread Mike Baranski
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, September 11, 2009 11:49 AM To: Tomcat Users List Subject: RE: 404 Error troubleshooting From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: 404 Error troubleshooting I

RE: 404 Error troubleshooting

2009-09-11 Thread Mike Baranski
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, September 11, 2009 12:47 PM To: Tomcat Users List Subject: RE: 404 Error troubleshooting From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 404 Error troubleshooting

RE: 404 Error troubleshooting

2009-09-11 Thread Mike Baranski
Users List Subject: RE: 404 Error troubleshooting From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 404 Error troubleshooting 127.0.0.1 - - [11/Sep/2009:12:50:19 -0400] POST /xmlrpc-status/ HTTP/1.0 404 997 Did you reload the webapp or restart Tomcat after making

RE: 404 Error troubleshooting

2009-09-14 Thread Mike Baranski
troubleshooting On Fri, Sep 11, 2009 at 1:06 PM, Kris Schneider kschnei...@gmail.com wrote: On Fri, Sep 11, 2009 at 12:59 PM, Mike Baranski list-subscripti...@secmgmt.com wrote: Yes, restarted Tomcat (I also opened the war and opened the web.xml inside of it to make sure it was what I thought

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Mike Baranski
http://www.urbandictionary.com/define.php?term=thread+hijacking -Original Message- From: Nagulapalli, Srinivas [mailto:srinivas.nagulapa...@starwoodvo.com] Sent: Thursday, September 17, 2009 11:30 AM To: Tomcat Users List Subject: RE: Configuring second tomcat instance on same box This

Getting arbitrary environment variables from webapp

2009-09-30 Thread Mike Baranski
Is there a way I can specify an environment variable via the startup.sh that I can then use System.getenv(MYWEBAPP_CONFIG_FILE); to get it from within my application? I need to store a file outside of the webroot to read configuration from, so that if a user changes this file, it will not get

RE: Getting arbitrary environment variables from webapp

2009-10-01 Thread Mike Baranski
Thanks! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, September 30, 2009 3:47 PM To: Tomcat Users List Subject: RE: Getting arbitrary environment variables from webapp From: Mike Baranski [mailto:list-subscripti...@secmgmt.com

302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
Here is my web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameSecurity Managment Consulting/display-name servlet

RE: 302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
ProtocolError for sirrus:8080/xmlrpc-status/: 404 Not Found Done -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, October 29, 2009 11:46 AM To: Tomcat Users List Subject: RE: 302 Error with XMLRPC app From: Mike Baranski [mailto:list

RE: 302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
, 2009 12:42 PM To: Tomcat Users List Subject: RE: 302 Error with XMLRPC app From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 302 Error with XMLRPC app reply: 'HTTP/1.1 404 Not Found\r\n' Now we need more information about how you have Tomcat and your webapp set up

RE: 302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
Worked like a champ! Thanks, I was struggling. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, October 29, 2009 1:12 PM To: Tomcat Users List Subject: RE: 302 Error with XMLRPC app From: Mike Baranski [mailto:list-subscripti

Trouble with context and JNDI resource

2009-11-03 Thread Mike Baranski
I'm using this page, trying to get a resource in a java class: http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html I have this in context.xml: Context !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource !-- Uncomment this

RE: Trouble with context and JNDI resource

2009-11-03 Thread Mike Baranski
of the ressource. I guess it must be org.apache.commons.dbcp.dbcp. (I guess) but in the tomcat source is string compared to: javax.sql.DataSource You can try that. Regards, Carsten Pohl - Original Message - From: Mike Baranski list-subscripti...@secmgmt.com To: Tomcat Users List

RE: Trouble with context and JNDI resource

2009-11-03 Thread Mike Baranski
That worked, thanks. -Original Message- From: Mikolaj Rydzewski [mailto:m...@ceti.pl] Sent: Tuesday, November 03, 2009 9:11 AM To: Tomcat Users List Subject: Re: Trouble with context and JNDI resource Mike Baranski wrote: Resource name=proteus auth=Container type

RE: Trouble with context and JNDI resource

2009-11-03 Thread Mike Baranski
think you can change the url/username or passwd once the app has been deployed in Catalina/localhost/WEBAPPNAME.xml it will NOT work. Regards, Carsten Pohl - Original Message - From: Mike Baranski list-subscripti...@secmgmt.com To: Tomcat Users List users@tomcat.apache.org, p...@tyntec.com

Class not found when doing JNDI lookup

2009-11-03 Thread Mike Baranski
I have ifxjdbc.jar in WEB-INF/lib, which contains the Informix driver I'm looking for (I opened it and verified). I have the following in context.xml: Context path= !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource !-- Uncomment this

RE: Class not found when doing JNDI lookup

2009-11-03 Thread Mike Baranski
Duh! That makes perfect sense. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, November 03, 2009 10:38 AM To: Tomcat Users List Subject: RE: Class not found when doing JNDI lookup From: Mike Baranski [mailto:list-subscripti