Re: class loader launch problem with Wonder
Re: class loader launch problem with Wonder
- Subject: Re: class loader launch problem with Wonder
- From: Chuck Hill <email@hidden>
- Date: Wed, 5 Dec 2007 09:00:20 -0800
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?
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._runtimeExceptionForThr
owable(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@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
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@hidden
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden