Howto deploy WebObjects on Tomcat?
Michael Holtermann <[email protected]> Tue, 22 Mar 2005 18:29:05 +0100
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
Hi!
I've tried to deploy a simple application created with WOLips (under
Windows) on a Tomcat (under Linux) for days. Nothing worked...
I've placed the license-key in a file LICENSE in the project's root, set
webXML=true in build.properties, set the undocumented attribute
embedstdframeworks="yes" under target "build.woapp"-woapplication in
build.xml and I've removed the if="${never}" from the war- and
ssdp-targets.
The only thing I'll see in Tomcat if I call the application is a directory
listing containing "TestTomcat.woa" and "tlds/" (TestTomcat is the name of
the project).
In the catalina.log there appears a RuntimeException on deployment:
java.lang.RuntimeException: Can't find application bundle. You can either
define WOROOT, LOCALROOT and WOAINSTALLROOT as Java system properties (e.g.
in your application server's launch script as command line arguments) or in
the application Deployment Descriptor file (web.xml).
Okay, but in the war-archive there are *two* web.xml with absolute
windows-Paths. What the h....?
So, the simple question is: How-to deploy a WO-Application under Tomcat,
including all necessary libraries to be able to start that app? Without the
installation of WebObjects on the Tomcat-Server, of course...
Thanks in advance!
Greetings, Michael.