On 26/01/2010, at 8:17 AM, ute Hoffmann wrote:

> I tried to update an Application on a Debian Server to wonder and failed.
> 
> This is the error which is thrown:
> /opt/Apple/Local/Library/WebObjects/Extensions/maxmindgeoip.jar
>  /opt/Apple/Local/Library/WebObjects/Extensions/
> java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
> Caused by: com.webobjects.foundation.NSForwardException 
> [java.util.zip.ZipException] No such file or directory
>        at 
> com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:47)
>        at er.extensions.ERXApplication.stringFromJar(ERXApplication.java:321)
>        at er.extensions.ERXApplication.setup(ERXApplication.java:365)
>        at er.extensions.ERXApplication.main(ERXApplication.java:331)
>        at Application.main(Application.java:26)
> 
> A earlier post indicates a classloader issue, but I checked and double 
> checked the items in WebObjects/Extensions and
> it looks ok compared to two Mac Os X Machines running the same app under 
> wonder and working.
> 
> It stops loading at the saaj.jar, I think, but again, it seems to have the 
> right permissions, I did not change it from before the upgrade
> and everythink worked with the older Version of the app and this saaj.jar. I 
> then copied the jar from another server with wonder
> which works fine - error still there on the affected server...
> 
> What I noticed is that the wonder framworks contain/load different versions 
> of jcommon and log4j, for example.
> Could that lead to a conflict which results in this error - should I remove 
> those jars from /WebObjects/Extensions?

Yes. It's oft mentioned that the best solution is to fully embed all 
frameworks/libs in each app such that they're self contained. Then you'll have 
no conflicts, just larger apps.

> So, has anyone a idea what it could be? I went back to the old version for 
> now so everything is running again,
> for now, but...
> 
> Thanks a lot.
> 
> Regards,
> 
> Ute
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-deploy/lachlan.deck%40gmail.com
> 
> This email sent to [email protected]

with regards,
--

Lachlan Deck



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to