Servlet.destroy but not init called when context is reloaded

2003-09-14 Thread Henrik Vendelbo
? Rather than waste your time by pasting a 1000 lines from the logfile. My question is simply : what is the most likely cause of my problem ? Environment : Tomcat 4.1.27 Axis 1.1 J2SDK 1.4.2 Thanks for your time, Henrik Vendelbo

Logger.getConfigurationFileName()

2003-09-28 Thread Henrik Vendelbo
With all the flexibility in cofiguring the logging facility, I wonder if there is some way to discover how current properties were loaded. I imagine that getting the absolute path of for instance the log4j.properties file would be tricky; How about the name of the ClassLoader and the

Re: Logger.getConfigurationFileName()

2003-09-28 Thread Henrik Vendelbo
: Logger.getConfigurationFileName() If using log4j, log4j automagically looks for log4j.properties in the classloader with no package prefix. So if log4j is in $TOMCAT_HOME/lib, you can configure it via log4j.properties in $TOMCAT_HOME/classes. -Tim Henrik Vendelbo wrote: With all the flexibility

Re: Tomcat as a service

2003-09-28 Thread Henrik Vendelbo
The information is fairly limited on how to get things to work with Tomcat running as a service. What I have learnt so far is : 1) CATALINA_OPTS environment variable allows you to pass options to the JVM 2) The Jakarta Commons project hosts the Daemon that does the work of running Tomcat as a

Re: Stop Tomcat Remotely

2003-09-28 Thread Henrik Vendelbo
What about Java Management Extensions (JMX) and MBeans. Perhaps they will do it for you ? - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:28 PM Subject: Re: Stop Tomcat Remotely I was under the

Re: cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Henrik Vendelbo
class threw an exception. Going down a little further we find the Caused by error that claims Log4JLogger does not implement Log. This is almost certainly due to having more than one copy of the Log4J classes visible in the class loader hierarchy. Craig Thank you soo much. I was really

web.xml validator

2003-09-28 Thread Henrik Vendelbo
Do someone know a URL for a site that will validate a web.xml file against the webapp DTD ? Apparently there is an error in this webapp block, but damned if I can find it :( web-app display-namedspc Management/display-name description SOAP interface to dspc Management on the

cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Henrik Vendelbo
I am running Axis under Tomcat. Both are the latest versions. I chose to use the log4j that is already in the Tomcat directory. When the Axis servlet loads, I get the following. Where does the issue lie ? 2003-09-28 18:44:02 StandardWrapper[/dspc:DspcAxisServlet]: Marking servlet DspcAxisServlet

Tomcat 5.5 classloading blues

2004-12-19 Thread Henrik Vendelbo
Still remembering earlier bruises setting up Tomcat I try to run as plain vanilla as possible. Fedora Core 3, Tomcat 5.5.4 Java 5 installed with rpm's Everything ran great. I got Tapestry examples working fine. And then based on working web apps, I moved some of the Tapestry jars into

Re: Tomcat 5.5 classloading blues

2004-12-20 Thread Henrik Vendelbo
Everything ran great. I got Tapestry examples working fine. And then based on working web apps, I moved some of the Tapestry jars into shared/lib. All of a sudden the classloader couldn't find ServletInputStream. That's a bit bizarre Exactly my point. I know that if you have multiple

NullPointerException attempting to deploy a WAR with context.xml in META-INF on Tomcat 5.5

2004-12-26 Thread Henrik Vendelbo
I have a quite persistent problem attempting to use the ManagerServlet deployment tasks. On Tomcat 5.5.28+Java5 with Host config autoDeploy=false I use the deploy task to upload my war file. It fails and thereafter on every startup Tomcat throws a NullPointerException in

Servlet Filter modifying RequestURL

2004-06-28 Thread Henrik Vendelbo
I am trying to use a Filter for a bit of URL rewriting. Although the request.getRequestURL() documentation states that changing the content of the returned StringBuffer is an intended us, it doesn't seem to have much effect. The DefaultServlet is still chosen to create a response. The context

changing the storage location for webdav app

2005-03-26 Thread Henrik Vendelbo
I want to modify the default webdav app in Tomcat 5.5 to storing information in a folder outside the webapps hierachy. How do I do that ? Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Tomcat WebDAV access via httpd/jk

2005-03-27 Thread Henrik Vendelbo
Hi guys, I have run in to a little problem with accessing a webdav enabled app on tomcat. I run Tomcat 5.5 with Apache2+jk in front of it, but fail to get working connection when authenticating. I have configured tomcat and app exactly as my installation on a local test server where I access