Hi Chuck,
On May 18, 2011, at 16:43, Chuck Hill <ch...@global-village.net> wrote: > It looks like the user that wotaskd is running under (appserveruser) is > defaulting to the 1.5 JVM. Thanks. Do you also happen to know the best way to fix that? Running java -version shows 1.6 set for my user. > > > On May 18, 2011, at 11:54 AM, Kevin Hinkson wrote: > >> Hi all, >> I have a problem that I have not been able to solve. I am currently >> developing on 10.6 (5.4.3) and attempting to deploy on 10.5 (5.4.3). >> Currently all my deployment machines are on 64-Bit Java 1.6 and I am hoping >> to keep it that way. >> >> When I deploy the app on 10.5, running it manually on the command line >> launches it ok. Some errors do show up: >> >> [2011-5-18 14:39:1 GMT-04:00] <main> The bundle <AppName> has malformed >> version number: >> and I can see java 64 bit is being loaded >> >> java.specification.version=1.6 >> java.vm.name=Java HotSpot(TM) 64-Bit Server VM >> >> However, running it using WOMonitor (Apples) in combination with >> SpawnOfWotaskd.sh Logging addition >> (http://wiki.objectstyle.org/confluence/display/WO/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X) >> I get: >> >> /Library/WebObjects/Extensions/xml-apis.jar >> /Library/WebObjects/Extensions/ >> java.lang.UnsupportedClassVersionError: Bad version number in .class file >> at java.lang.ClassLoader.defineClass1(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:676) >> at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:56) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:195) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:317) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:252) >> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84) >> >> >> I have tried >> • adding -d64 to additional arguments, which is pointless since the correct >> java version is loading >> • embedding system frameworks and not embedding them >> • switching to 1.5 compatibility which raise another error in a Math library >> I was using >> >> I'm really not certain how to remedy this. Does anyone have any pointers as >> to what the problem is exactly? >> >> --- >> Kevin Hinkson >> h...@kevinhinkson.com >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > Chuck Hill Senior Consultant / VP Development > > Come to WOWODC this July for unparalleled WO learning opportunities and real > peer to peer problem solving! Network, socialize, and enjoy a great > cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/ >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com