Thanks for the response. I checked the permissions and everyone can read all the files in that directory and every one can read and execute the directory.
See below jeffmac:/Library/WebObjects/Extensions simpson$ ls -ld drwxrwxr-x 15 root admin 510 Dec 10 14:20 . jeffmac:/Library/WebObjects/Extensions simpson$ ls -l total 5040 -rwxr--r-- 1 root admin 958858 Aug 26 2004 ant.jar -rwxr--r-- 1 root admin 58803 Oct 11 2002 avalon-framework-4.1.2.jar -rw-rw-r-- 1 root admin 385010 Sep 12 2006 axis-ant.jar -rw-rw-r-- 1 root admin 71442 Sep 12 2006 commons-discovery.jar -rw-rw-r-- 1 root admin 31605 Sep 12 2006 commons-logging.jar -rw-rw-r-- 1 root admin 35759 Sep 12 2006 jaxrpc.jar -rwxr--r-- 1 root admin 378778 Sep 30 2003 log4j-1.2.4.jar -rw-rw-r-- 1 root admin 352668 Sep 12 2006 log4j-1.2.8.jar -rwxr--r-- 1 root admin 72150 Oct 11 2002 logkit-1.0.1.jar -rw-rw-r-- 1 root admin 18501 Sep 12 2006 saaj.jar -rw-rw-r-- 1 root admin 78064 Mar 29 2005 servlet.jar -rw-rw-r-- 1 root admin 113853 Sep 12 2006 wsdl4j.jar I am wondering whether my app needs any of theses. As you can see it has 2 log4j jars. And most of these files are in my framework. I think the problem is that these jars are not on my classpath when I build but are on classpath when I run the App. Because of this when I build the App it will build fine but it is using a different version of the class at runtime. Do any of these files have to be in the Extensions library for a run of the mill app? I know I would have to test my App to see if it needs them here. If I understand right the Extensions directory is a place to put jars so that all your apps can see them and would not have to include them in their framework. On 12/28/07 10:10 AM, "Chuck Hill" <[EMAIL PROTECTED]> wrote: > > On Dec 28, 2007, at 6:18 AM, Jeffrey Simpson wrote: > >> We tried upgrading to Wonder version 4 and when launch our app we >> get the >> following exception. Does any one know why? >> >> /Library/WebObjects/Extensions/ > > This path... > >> 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:585) >> at com.webobjects._bootstrap.WOBootstrap.main >> (WOBootstrap.java:71) >> Caused by: com.webobjects.foundation.NSForwardException >> [java.util.zip.ZipException] Permission denied > > This error... > > Try checking the file perms on the jars in that directory. > > Chuck > > >> at >> com.webobjects.foundation.NSForwardException._runtimeExceptionForThrow >> able(N >> SForwardException.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 org.yfu.myyfuweb.Application.main(Application.java:56) >> ... 5 more >> >> Our code works fine with Wonder 3. >> >> Jeffrey Simpson >> Youth For Understanding USA >> [EMAIL PROTECTED] >> Telephone: (240) 235-2114 >> FAX: (202) 235-2104 >> >> Preparing young people for their responsibilities and opportunities >> in a >> changing, interdependent world. >> >> >> >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill% >> 40global-village.net >> >> This email sent to [EMAIL PROTECTED] >> Jeffrey Simpson Youth For Understanding USA [EMAIL PROTECTED] Telephone: (240) 235-2114 FAX: (202) 235-2104 Preparing young people for their responsibilities and opportunities in a changing, interdependent world. _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
