Re: Problem Deployment on Cent OS 5 - 64 bit vs. 32 bit
Re: Problem Deployment on Cent OS 5 - 64 bit vs. 32 bit
- Subject: Re: Problem Deployment on Cent OS 5 - 64 bit vs. 32 bit
- From: Q <email@hidden>
- Date: Tue, 30 Oct 2012 16:22:34 +1000
On 30/10/2012, at 3:54 PM, ute Hoffmann <email@hidden> wrote:
> Just to eliminate this:
> If I compile a WO App on a 32 Bit system (development) and deploy on a 64 bit system, are there known issues?
No, the compiled bytecode is the same not matter what architecture you compile it on.
> Are there known issues with running WO on a 64 bit system?
The JVM environment is independent of the underlying platform (unless you use JNI), running on 64bit vs 32bit will make no difference to compatibility.
> I will try to check which version of WO we use in this install and which version of wonder.
You need to ensure that the wo/wonder binaries you are deploying with are the same ones used to compile your application with. The best way to ensure this is always correct is to build your application with fully embedded frameworks.
> Am 29.10.2012 um 12:32 schrieb Pascal Robert:
>
>>
>> Le 2012-10-29 à 02:47, ute Hoffmann <email@hidden> a écrit :
>>
>>>
>>>
>>> Anfang der weitergeleiteten E-Mail:
>>>
>>>> Von: ute Hoffmann <email@hidden>
>>>> Datum: 29. Oktober 2012 07:47:06 MEZ
>>>> An: email@hidden
>>>> Betreff: Problem Deployment on Cent OS 5
>>>>
>>>> Hi,
>>>> We tried to install WebObjects on a Cent OS 5.7 root server (64 bit) at a provider with Java 1.5.x.
>>>>
>>>> We did use WOinstaller and the how to in the wiki but the Apps will not run.
>>>>
>>>> This is the (as I believe) relevant part of the stacktrace:
>>>> 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: java.lang.AbstractMethodError: com.webobjects.foundation._NSWeakMutableArray.addReference(Ljava/lang/Object;)V
>>>> at com.webobjects.foundation.NSNotificationCenter.addObserver(NSNotificationCenter.java:230)
>>>> at er.extensions.appserver.ERXApplication$Loader.<init>(ERXApplication.java:527)
>>>> at er.extensions.appserver.ERXApplication.setup(ERXApplication.java:906)
>>>> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:782)
>>>> at Application.main(Application.java:26)
>>>>
>>>> Has anyone seen this kind of error before and can give some advice? Can 64 bit be the problem?
>>
>> If you run a 32 bit JVM on a 64 bit, it will have problems. But your problems seems like a mismatch between WO vs Wonder versions, are you using WO 5.4 or 5.3?
>>
>>>> Regards,
>>>>
>>>> Ute
>>>
>>> _______________________________________________
>>> 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
>>
>
>
> _______________________________________________
> 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
_______________________________________________
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