Re: Dev - Server WO version mismatch with bundled war deploy question
Re: Dev - Server WO version mismatch with bundled war deploy question
- Subject: Re: Dev - Server WO version mismatch with bundled war deploy question
- From: Chuck Hill <email@hidden>
- Date: Mon, 10 Jan 2011 11:20:03 -0800
The Java and WebObjects class loaders will preferentially load jars from those two directories. That will happen before any emebedded frameworks are used. Look for WO jars in those directories.
Chuck
On Jan 10, 2011, at 11:18 AM, William Hatch wrote:
> Sorry Chuck, but what should I be checking for? And, on which host, mine or server? When I run the app local, the properties indicate it's WO 5.4.2; same on the server, but digging into the error, there's other posts that indicate this error is associated with an api difference between 5.3 and 5.4. My logic (however flawed) is that being that it runs as a normal .woa on my local dev machine, and that I'm only getting this on the server after deploying it with tomcat, that somehow, there's some dependency on the servers local versions, even though I'm building full stand alone. Does that make sense? Thanks man.
>
> Bill
>
>
> On Jan 10, 2011, at 1:58 PM, Chuck Hill wrote:
>
>> Check /Library/Java/Extensions and /Library/WebObjects/Extensions.
>>
>> Chuck
>>
>>
>> On Jan 10, 2011, at 10:31 AM, William Hatch wrote:
>>
>>> Trying to deploy a war, bundling all the local frameworks with WO 5.4 and Wonder 5, and I'm getting an error that indicates a version mismatch:
>>>
>>> java.lang.NoSuchMethodError: com.webobjects.appserver.WOApplication.createRequest(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/webobjects/foundation/NSData;Ljava/util/Map;)Lcom/webobjects/appserver/WORequest;
>>> com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApplicationWrapper.java:108)
>>> com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:727)
>>> com.webobjects.jspservlet.WOServletAdaptor.doGet(WOServletAdaptor.java:709)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>>
>>> The server is still on 5.3, but being that I'm doing this under tomcat and including all the frameworks for a self contained war, I wouldn't think this should matter. Any ideas on what else might be amiss? Thanks.
>>>
>>> Bill
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> --
>> Chuck Hill Senior Consultant / VP Development
>>
>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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