[prev in list] [next in list] [prev in thread] [next in thread] 

List:       java-apache-users
Subject:    Jserv with JSP files
From:       "Parker, Mark" <Mark.Parker () virgin-energy ! co ! uk>
Date:       2001-01-24 14:51:06
[Download RAW message or body]

----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I have had some success with my jserv anv virtual hosts issue, however I
have come across another problem.

The site is primarily coded in jsp, and we are using the oracle jsp engine.
I have defined the ApJServMount and ApJServAction in the virtual server and
this solves my problem with the directory being set in the JSP engine by the
first jsp file being run.

ApJServMount /myacc /myacc
ApJServAction .jsp /myacc/oracle.Jsp

I have defined the repositories in the myacc.properties to include the
directory containing the jsp files. However when I attempt to use a test.jsp
which is contained in the repositories directory I receive an error that 

java.lang.IllegalArgumentException: Repository /myacc/_pages does not exist!


So I have created the /myacc directory and I get a step further, except that
this time the JSP engine complains that the file /myacc/test.jsp does not
exist. (test.jsp is in my repositories directory). I have then copied the
test.jsp to this directory and it works. However this is an ugly solution.

Does anyone know of a reason/solution to this? 

Many Thanks

Mark Parker

________________________________________________________________________
This message has been checked for all known viruses, by Star Internet, 
delivered through the MessageLabs Virus Control Centre. 
For further information visit:
http://www.star.net.uk/stats.asp



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        java-apache-users-on@list.working-dogs.com
To unsubscribe:      java-apache-users-off@list.working-dogs.com
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           jon@working-dogs.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic