Re: Downgrading WebObjects from 54 to 52
Re: Downgrading WebObjects from 54 to 52
- Subject: Re: Downgrading WebObjects from 54 to 52
- From: Julien Verez <email@hidden>
- Date: Mon, 23 Mar 2009 13:46:03 +0100
The same error appends while trying to run
your code and any project crash like this.
I checked the "version.plist" file, the version is 5.2.
Before reinstall WE5.2 I removed the 5.4 file that you specified in
your previous mail but perhaps there are still some 5.4 file.
It's hard to be sure to delete all 5.4 files because there are in
different path.
email@hidden a écrit :
This sounds like you are using the
5.4 Frameworks.
You can check the loaded Versions
with the following code snippet:
public void
printFrameworkVersions()
{
for (int i = 0; i < NSBundle.frameworkBundles().count(); i++)
{
NSBundle framework = (NSBundle)
NSBundle.frameworkBundles().objectAtIndex(i);
String name = framework.name();
String version = (String)
framework._infoDictionary().valueForKey("CFBundleShortVersionString");
if (version == null)
{
version = "-";
}
NSLog.err.appendln("= " + name + " " + version + " (" +
framework.bundlePathURL() + ")");
}
}
Stefan
Hi List,
Webobjects52 is now correctly install.
I have an error while trying to run my app on my mac. On my WinXP with
the same code it runs.
Here is the log:
[2009-3-23 9:23:12 CET] <main> A fatal exception occurred:
com/webobjects/foundation/NSPropertyListSerialization$_Utilities
[2009-3-23 9:23:12 CET] <main> java.lang.NoClassDefFoundError:
com/webobjects/foundation/NSPropertyListSerialization$_Utilities
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:183)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5002)
at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:483)
at graal.control.Application.<init>(Application.java:133)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
com.webobjects.appserver.WOApplication.main(WOApplication.java:296)
at graal.control.Application.main(Application.java:94)
Regards,
Stefan Klein a écrit :
I never done this, but I think you had to
delete olny following folders:
/System/Library/WebObjects
/Library/WebObjects
Also try to find WO Framewoks in
/System/Library/Frameworks
/Library/Frameworks
and remove them.
JavaDTWGeneration.framework
JavaDirectToWeb.framework
JavaEOAccess.framework
JavaEOApplication.framework
JavaEOControl.framework
JavaEODistribution.framework
JavaEOGeneration.framework
JavaEOInterface.framework
JavaEOInterfaceCocoa.framework
JavaEOInterfaceSwing.framework
JavaEOProject.framework
JavaEORuleSystem.framework
JavaEOTool.framework
JavaFoundation.framework
JavaJDBCAdaptor.framework
JavaJNDIAdaptor.framework
JavaWOExtensions.framework
JavaWOJSPServlet.framework
JavaWebObjects.framework
JavaWebServicesClient.framework
JavaWebServicesGeneration.framework
JavaWebServicesSupport.framework
JavaXML.framework
Under /Developer/Examples/JavaWebObjects you will find the sample code.
I have no idea if WO 5.2 stores anything there.
Stefan
Julien Verez schrieb:
Ok, danke
Stefan,
but before re-install all correctly, I would like to uninstall all,
clean all path and then re-install following your tip.
That is to say: First uninstall 54 (apparently doomed when I install 52
over it), then install 52 and save directory and finally install 54 and
save directory.
So back to the first question-> How can I uninstall WO54?
Regards,
Stefan Klein a écrit :
Hi Julien,
you can use WO 5.2 and 5.4 on the same Mac.
I copied all the WO 5.2 stuff under /Developer/WebObjects52 and
followed the the description under http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-DevelopingwithbothWebObjects5.4and5.3
The changed properties files and scripts to switch between 5.2 and 5.4
are attached.
Stefan
Julien Verez schrieb:
Hi list,
I would like to downgrade my webobject 54 to 52. (because I work on
project develop with WE52 and I have some error running it on WE54)
On my WE52 cd, I have 2 files "install.pkg" and "uninstall.pkg" but on
my Leopard dvd, there is only the "install.pkg" file for WE54.
I found in documentation a line to uninstall XCode Tools:
"$ sudo <Xcode directory>/Library/uninstall-devtools --mode=all"
seen in "About XCode Tools.pdf" but I doesn't uninstall WebObjects.
I tried to install WE52 over WE54 but I'm still in 54.
Any help will be very appreciated!
Regards,
--
signature
|
Julien
Verez
Centre
de Ressources Informatiques
Université
de Lille 1
Bâtiment
M4
59655 Villeneuve d'Ascq
email@hidden
+33 (0)3 20 33 61 81
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
--
signature
|
Julien
Verez
Centre
de Ressources Informatiques
Université
de Lille 1
Bâtiment
M4
59655 Villeneuve d'Ascq
email@hidden
+33 (0)3 20 33 61 81
|
--
signature
|
Julien
Verez
Centre
de Ressources Informatiques
Université
de Lille 1
Bâtiment
M4
59655 Villeneuve d'Ascq
email@hidden
+33 (0)3 20 33 61 81
|
_______________________________________________
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
--
signature
|
Julien
Verez
Centre
de Ressources Informatiques
Université
de Lille 1
Bâtiment
M4
59655 Villeneuve d'Ascq
email@hidden
+33 (0)3 20 33 61 81
|
|
_______________________________________________
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