Hi

Trying to upgrade from Webobjects 5.2 to 5.4 on OSX 10.6

Am building the frameworks/woapps using WOLips and am receiving the
following error when I attempt to run the application


[2010-10-25 15:50:23 BST] <main> A fatal exception occurred: null
[2010-10-25 15:50:23 BST] <main> java.lang.ExceptionInInitializerError
    at 
com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStre
am(WOResourceManager.java:116)
    at 
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProper
ties.java:317)
    at 
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743)
    at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779)
    at Application.<init>(Application.java:66)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
    at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
    at Application.main(Application.java:35)
Caused by: java.lang.IllegalStateException:
<com.webobjects.foundation.NSBundle> warning: There is already a unique
instance for Bundle named 'JavaBusinessLogic'.  Use
NSBundle.bundleForName(JavaBusinessLogic) to access it:
<com.webobjects.foundation.NSBundle name:'JavaBusinessLogic'
bundlePath:'/Users/shiptj/Documents/workarea/marketdata/NOLv3/Frameworks/NOL
MarketDataToolkit/NOLMarketDataToolkit.framework' packages:'(
nol.marketdata.toolkit,
nol.marketdata.toolkit.sql,
nol.marketdata )' 22 classes >
    at 
com.webobjects.foundation.NSBundle.CreateBundleWithPath(NSBundle.java:826)
    at 
com.webobjects.foundation.NSBundle._bundleWithPathShouldCreateIsJar(NSBundle
.java:498)
    at 
com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.java:74
5)
    at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:373)
    ... 13 more


I can¹t work out where the JavaBusinessLogic is trying to be installed twice


Here is the classpath that the application is using

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="con" path="WOFramework/NOLMarketDataToolkit"/>
    <classpathentry kind="con" path="WOFramework/NOLMarketData"/>
    <classpathentry kind="con" path="WOFramework/JavaWOExtensions"/>
    <classpathentry kind="con" path="WOFramework/JavaEOAccess"/>
    <classpathentry kind="con" path="WOFramework/JavaEOControl"/>
    <classpathentry kind="con" path="WOFramework/JavaFoundation"/>
    <classpathentry kind="con" path="WOFramework/JavaJDBCAdaptor"/>
    <classpathentry kind="con" path="WOFramework/JavaWebObjects"/>
    <classpathentry kind="con" path="WOFramework/JavaXML"/>
    <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="output" path="bin"/>
</classpath>


Any thoughts?

Thanks James

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        
 _______________________________________________
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