Ok, Ok.. You've heard it, written responses, and thought it was wrapped
up and no one would ever have this problem again :)

I'm trying to embed Tomcat 4 beta 6 into my application. I am also using
Castor (http://castor.exolab.org), which requires Xerces. I'm getting
the sealing violation after Castor starts and during the startup of
Catalina. I have basically created a wrapper to invoke the main of the
Bootstrap class for Tomcat. Anyone performed a similiar task?

Most of the archives I see relate to deploying web apps, but I'm not
able to launch Tomcat to even approach this. I tried copying the
tomcat/jasper/jaxp.jar and crimson.jar over to my project's lib
directory that the CLASSPATH references, and even moving jaxp, crimson,
and xerces around in my classpath in combination.

Any ideas? Please don't tell me to RTFM, as I have and still can't get
past the issue. I've tried searching the mailing list archives, but most
threads are related to web apps, as I mentioned earlier. I'm hoping
someone who has done the same thing can give me a cookbook or lessons
learned to assist in getting this to work. I've been using Tomcat 3.x
for some time and really love the product, and want to try to get it
deployed within my application's VM (rather than spawning a separate
process).

Regards,
James

<DETAILS>

Here is my current CLASSPATH:

LOCALCLASSPATH=3D"./lib/activation.jar:./lib/castor-0.9.2-xml.jar:./lib/c=
astor-0.9.2.jar:./lib/jaxp.jar:./lib/crimson.jar:./lib/xerces.jar:./class=
es:./properties:......."

Here is the command line launcher:

$JAVACMD -Dcatalina.home=3D"./tomcat" -classpath "$LOCALCLASSPATH"
com.myproject.Boot "$@"

Here is a listing of my jars for byte sizes, just in case:

-rw-r--r--    1 james    None       295934 Jun 24 23:17 ant-1.3.jar
-rw-r--r--    1 james    None       241856 Jun 24 23:17 ant-optional.jar
-rw-r--r--    1 james    None       517501 Jun 24 23:17 castor-0.9.2-xml.jar
-rw-r--r--    1 james    None      1050741 Jun 24 23:17 castor-0.9.2.jar
-rw-r--r--    1 james    None       187246 Aug  9 22:08 crimson.jar
-rw-r--r--    1 james    None        28466 Aug  9 22:08 jaxp.jar
-rw-r--r--    1 james    None       955716 Jun 24 23:18 xerces.jar

</DETAILS>

Reply via email to