Re: Tomcat 5.5.12 WAR Deployment Problem
Re: Tomcat 5.5.12 WAR Deployment Problem
- Subject: Re: Tomcat 5.5.12 WAR Deployment Problem
- From: Pierre Frisch <email@hidden>
- Date: Thu, 12 Jan 2006 15:44:06 -0800
Yes there is a solution but not easy and not without recompiling.
I think that older version of WebObjects were using an "Undocumented Feature" of the JVM that would make the loading of the eomodel included in a jar work. This has become broken with one of the minor fixes in Java 1.4.2, I think it has been corrected with 5.3.1 but I am not sure as I have not tested it personally. Really the culprit is WO code, the problems is that you need to rewrite the NSPathUtilities class in Foundation. I have had mixed success in overwritting this class in the Tomcat environment. I think that you will have to open the jar file and replace it as the usual trick of packjaging the new class with the jar of the application does not work in the Tomcat environment. I think the reason is that Tomcat load WO libraries before your app so you have to patch the WO jars.
I do not remember the exact correction I made so I attached the corrected version. It works with our application which is deployed not with Tomcat but with a custom single directory using the same principle.
Pierre -- Pierre Frisch President sPearWay Ltd. phone: +1 604 929 9610 ext 6011 email: email@hidden sPearCat Web Catalogs, Custom designed in-house with the click of a mouse. http://www.spearcat.com/ |
Attachment:
NSPathUtilities.java
Description: Binary data
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden