Working with the Enhydra3 container.
Not 100% why, yet, but if I run the framework by hand everything seems to
initialize correctly.
% java org.apache.cactus.ant.EnhydraRun -start
/home/tanner/projects/jakarta-cactus/target/servlet22/dist/sample/target/test/enhydra31/conf/multiserver.conf
% java org/apache/cactus/TestAll
Of course there is some playing with the CLASSPATH to make this all work. As
documented on the Cactus web site.
But if I do
% ant tests_enhydra_31
Multiserver,INFO: Starting Enhydra Multiserver
Multiserver,INFO: HTTP listening on port: 8080
Multiserver,INFO: Starting servlet/application CactusTest
Multiserver,INFO: Application CactusTest has url prefix "/test".
CactusTest,INFO: Configuring web service using "default"
Multiserver,ERROR: Exception while handeling request "/test" for servlet CactusTest.:
null
Multiserver,ERROR+at org.apache.tomcat.core.Context.handleRequest(Context.java:732)
Looking at Context.java:732
result.getWrapper().handleRequest(request.getFacade(),
response.getFacade());
It looks like ant is not setting up the request of the response objects
correctly.
Any ideas on why things run manually work fine, but things run as an ant task
fail?
--
Bob Tanner <[EMAIL PROTECTED]> | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax : (952)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9