On Dec 5, 2007, at 9:38 AM, Gordon Belray wrote:



Hi Chuck,

This is really a Wonder question and best asked on the Wonder list.


After a very, very quick look at the source, it seems that is is something malformed that you have on the classpath:

                                        } else if(jar.endsWith(".jar")) {
                                                String info = stringFromJar(jar, 
"Resources/Info.plist");
                                                if(info != null) {
NSDictionary dict = (NSDictionary) NSPropertyListSerialization.propertyListFromString(info);
                                                        bundle = (String) 
dict.objectForKey("CFBundleExecutable");
                                                        
allFrameworks.add(bundle);
                                                        // System.out.println("Jar 
bundle: " + bundle);
                                                }
                                        }

Do you have any jars that might be taken to be frameworks without an Resources/Info.plist file?

There's also an Obj-C library ImageIOJNIjnilib.m and libImaeIOJNI.jnilib in my /Library/Java/Extensions,

I doubt that would be it.


but I can take this to the Wonder list, unless you have a quick fix.

That would be best, I really don't know what is causing this. You could edit the source for ERXApplication.setup() to add more logging to track this down.

Chuck


On Dec 5, 2007, at 8:13 AM, Gordon Belray wrote:


On 5-Dec-07, at 11:03 AM, Chuck Hill wrote:


On Dec 5, 2007, at 7:44 AM, Gordon Belray wrote:

Hi,

I'm trying to get Project Wonder integrated into an existing application and get the following on launch:

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] No such file or directory at com.webobjects.foundation.NSForwardException._runtimeExceptionForT hrowable(NSForwardException.java:47) at er.extensions.ERXApplication.stringFromJar (ERXApplication.java:343)
        at er.extensions.ERXApplication.setup(ERXApplication.java:396)
        at er.extensions.ERXApplication.main(ERXApplication.java:353)
        at Application.main(Application.java:16)
        ... 5 more

In /Library/Java/Extensions I have the following jars:
avalon, batik, fop, junit,  lucene-core,

Move those someplace else, /Library/WebObjects/Extensions or a framework or somewhere

OpenBaseJDBC,

That one is OK

xalan, xerces, xml-apis

Get those out too.

moved everything except OpenBaseJDBC to /Library/WebObjects/ Extensions, still getting the same launch error:

Chuck



and in /Library/WebObjects/Extensions: axis-ant, axis, commons- discovery, commons-logging, jaxrpc, saaj, wsdl4j (I removed log4j as per Kieren's tutorial).

I'm mid migration from XCode to Eclipse and am encountering this in XCode.

any help would be appreciated.

Gordon


Gordon Belray
Information Architect and Imaging System Manager
Information Technology Services Robarts Library
416.946.8617    cell: 416.427.7007
[EMAIL PROTECTED]


 _______________________________________________
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]

--

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






Gordon Belray
Information Architect and Imaging System Manager
Information Technology Services Robarts Library
416.946.8617    cell: 416.427.7007
[EMAIL PROTECTED]



--

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






Gordon Belray
Information Architect and Imaging System Manager
Information Technology Services Robarts Library
416.946.8617    cell: 416.427.7007
[EMAIL PROTECTED]


--

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





_______________________________________________
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]

Reply via email to