Re: URL-pointing problem

2007-02-28 Thread wille
We tried changing the folder name, however that makes our servlet crash. Couldn't find content.xml though; only admin.xml and manager.xml resides under /conf/ . The following error message is returned when trying to run the app: org.apache.jasper.JasperException

RE: URL-pointing problem

2007-02-28 Thread Peter Crowther
From: wille [mailto:[EMAIL PROTECTED] root cause java.lang.NullPointerException pubdb.Entry.getDocuments(Entry.java:399) pubdb.Entry.getEntryById(Entry.java:217) So what's causing the NPE then? :-) - Peter

RE: URL-pointing problem

2007-02-28 Thread wille
^__^ Our webapp had hardcoded paths in it, now we just have to grep them all and replace them. Thanks y'all! On Wed, 2007-02-28 at 10:58 +, Peter Crowther wrote: From: wille [mailto:[EMAIL PROTECTED] root cause java.lang.NullPointerException

RE: URL-pointing problem

2007-02-28 Thread Peter Crowther
From: wille [mailto:[EMAIL PROTECTED] Our webapp had hardcoded paths in it, now we just have to grep them all and replace them. Oops :-). You might like to look at the servlet context's methods for fetching resources (getResource and getResourceAsStream, I think). They make the file

URL-pointing problem

2007-02-27 Thread wille
Hello, having a bit of a problem here. We have deployed a web application on our server by putting it in the webapps directory, this makes it appear at a URL like http://mjau.com/pub_db. Now we want to change the URL for this webapp to something else, (in this case

Re: URL-pointing problem

2007-02-27 Thread David Smith
There's a difference between webapp names and servlet names. You want to change the webapp's name. To do that, just change the name of the webapp in the webapps folder ie pub_db - publications or pub_db.war - publications.war. You may have to make a similar name change to the context.xml file

Re: URL-pointing problem

2007-02-27 Thread Richard Gemmell
Hi Wille, wille wrote: We have deployed a web application on our server by putting it in the webapps directory, this makes it appear at a URL like http://mjau.com/pub_db. Now we want to change the URL for this webapp to something else, (in this case http://mjau.com/publications). The