Re: Installing WebObjects 5.3.3 in a Red Hat 5.2

2012-03-29 Thread Pascal Robert
WO apps won't use the JAVA_HOME variable, it will instead try to find the java 
binary in the path of the user (by default, in 
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/UserName/bin), and right 
now, your /usr/bin/java is using the crap Java 1.4 from the GNU Java 
implementation. Like Ken and I said, use the 'alternatives' command line app to 
link to the Sun JVM 1.6 that you installed (/usr/java/latest/bin/java).

To "install" it:

  sudo alternatives --install /usr/bin/java java /usr/java/latest/bin/java 1

To verify it's using the good one:

  sudo alternatives --config java

ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 Jan 10 03:05 /usr/bin/java -> /etc/alternatives/java

ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 25 Mar 29 10:34 /etc/alternatives/java -> 
/usr/java/latest/bin/java

> Yes i'm installed it using de RPM, but when I use the command "alternative 
> --config java" it doesn't show the 1.6 version only the 1.4.2 version,
> I'm put the JAVA_HOME variable in the .bash_profile and wotaskd and monitor 
> are running, but my Applications are throwing me a exception.
> java.lang.NoClassDefFoundError: com/tec/util/base/TecApplication
> 
> Thanks Ken.
> 
> Date: Wed, 28 Mar 2012 17:27:41 -0700
> Subject: Re: Installing WebObjects 5.3.3 in a Red Hat 5.2
> From: k...@watermarkstudios.com
> To: webobjects-dev@lists.apple.com
> 
> If you installed JDK 6 (1.6) using the Oracle RPM, you should have it 
> installed correctly. 
> 
> Use this command either as root or via sudo to change the active version: 
> "alternatives --config java"
> 
> I had it running on CentOS 5 just fine for the last year or so.
> 
> Good luck
> 
> Ken
>  
> 
> --
> 
> Message: 4
> Date: Wed, 28 Mar 2012 19:12:26 -0400
> From: Pascal Robert 
> To: Oscar González 
> Cc: webobjects-dev@lists.apple.com
> Subject: Re: Installing WebObjects 5.3.3 in a Red Hat 5.2
> Message-ID: 
> Content-Type: text/plain; charset=iso-8859-1
> 
> 
> Le 2012-03-28 à 16:45, Oscar González a écrit :
> 
> > Hi all,
> > I had try to install the WebObjects 5.3.3 in a Red Hat 5.2,
> 
> I do hope it's RedHat Enterprise Linux 5.2, not the old RedHat 5.2 from the 
> 90s :-)
> 
> > but after I follow the instructions from the wiki, and try to start the 
> > wotask and monitor by,
> > $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
> > $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor 
> > -WOPort 56789 &
> > I got this error:
> > java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at 
> > com.webobjects.foundation.NSLog$PrintStreamLogger.(NSLog.java:1643)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at com.webobjects.foundation.NSLog.(NSLog.java:497)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at com.webobjects.foundation._NSUtilities.(_NSUtilities.java:154)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at 
> > com.webobjects.appserver.WOApplication.(WOApplication.java:165)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at java.lang.reflect.Method.invoke(libgcj.so.7rh)
> >at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
> 
> > the weird thing is that after installing java 1.6, I do a java -version and 
> > the answer is "java version 1.4.2",
> 
> You probably have the 1.4 JVM from GNU, which is total crap (remove it with 
> yum erase, I think the package name is gnu-jvm14 or something like that). You 
> can use "alternatives" to specify which JVM you want (alternatives will 
> simply install symlinks so that /usr/bin/java points to your desired JVM).
> 
> > I don't know is this for having the wrong version of the jdk.
> >
> > thanks.
> >
> > ___
> > 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:
> > https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> >
> > This email sent to prob...@macti.ca
> 
> 
> 
> ___ 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: 
> https://lists.apple.com/mailman/o

RE: Installing WebObjects 5.3.3 in a Red Hat 5.2

2012-03-29 Thread Oscar González

Hi Chuck,I did your suggestion but got the same result.
Thanks Chuck.

> Subject: Re: Installing WebObjects 5.3.3 in a Red Hat 5.2
> From: ch...@global-village.net
> Date: Wed, 28 Mar 2012 18:12:37 -0700
> CC: webobjects-dev@lists.apple.com
> To: racso...@hotmail.com
> 
> You need to run it like this:
> cd $NEXT_ROOT/Local/Library/WebObjects/Applications/logistica.woa
> ./logistica
> 
> The current working directory is important.
> 
> Chuck
> 
> 
> On 2012-03-28, at 5:53 PM, Oscar González wrote:
> 
> > Hi all, 
> > The wotaskd and monitor are running, but now when I try to run my 
> > application in command line 
> > "$NEXT_ROOT/Local/Library/WebObjects/Applications/logistica.woa/logistica" 
> > got this error
> > java.lang.NoClassDefFoundError: com/tec/util/base/TecApplication
> > at java.lang.ClassLoader.defineClass1(Native Method)
> > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> > at 
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> > at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> > at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
> > Caused by: java.lang.ClassNotFoundException: 
> > com.tec.util.base.TecApplication
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > 
> > I'm don't know what is going wrong, the same application is running ok in 
> > an ubuntu server.
> > 
> > Thanks.
> > 
> > 
> > From: racso...@hotmail.com
> > To: webobjects-dev@lists.apple.com
> > Subject: Installing WebObjects 5.3.3 in a Red Hat 5.2
> > Date: Wed, 28 Mar 2012 14:45:24 -0600
> > 
> > Hi all,
> > I had try to install the WebObjects 5.3.3 in a Red Hat 5.2, but after I 
> > follow the instructions from the wiki, and try to start the wotask and 
> > monitor by,
> > $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
> > $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor 
> > -WOPort 56789 &
> > I got this error:
> > java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at 
> > com.webobjects.foundation.NSLog$PrintStreamLogger.(NSLog.java:1643)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at com.webobjects.foundation.NSLog.(NSLog.java:497)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at com.webobjects.foundation._NSUtilities.(_NSUtilities.java:154)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at 
> > com.webobjects.appserver.WOApplication.(WOApplication.java:165)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at java.lang.reflect.Method.invoke(libgcj.so.7rh)
> >at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) 
> > 
> > the weird thing is that after installing java 1.6, I do a java -version and 
> > the answer is "java version 1.4.2",
> > I don't know is this for having the wrong version of the jdk.
> > 
> > thanks.
> > 
> > 
> > ___ 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: 
> > https://lists.apple.com/mailman/options/webobjects-dev/racso_gp%40hotmail.com
> >  This email sent to racso...@hotmail.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:
> > https://lists.apple.com/mailman/opt

RE: Installing WebObjects 5.3.3 in a Red Hat 5.2

2012-03-29 Thread Oscar González

Yes i'm installed it using de RPM, but when I use the command "alternative 
--config java" it doesn't show the 1.6 version only the 1.4.2 version,I'm put 
the JAVA_HOME variable in the .bash_profile and wotaskd and monitor are 
running, but my Applications are throwing me a 
exception.java.lang.NoClassDefFoundError: com/tec/util/base/TecApplication

Thanks Ken.

Date: Wed, 28 Mar 2012 17:27:41 -0700
Subject: Re: Installing WebObjects 5.3.3 in a Red Hat 5.2
From: k...@watermarkstudios.com
To: webobjects-dev@lists.apple.com

If you installed JDK 6 (1.6) using the Oracle RPM, you should have it installed 
correctly. 

Use this command either as root or via sudo to change the active version: 
"alternatives --config java"

I had it running on CentOS 5 just fine for the last year or so.

Good luck

Ken
 

--



Message: 4

Date: Wed, 28 Mar 2012 19:12:26 -0400

From: Pascal Robert 

To: Oscar González 

Cc: webobjects-dev@lists.apple.com

Subject: Re: Installing WebObjects 5.3.3 in a Red Hat 5.2

Message-ID: 

Content-Type: text/plain; charset=iso-8859-1





Le 2012-03-28 à 16:45, Oscar González a écrit :



> Hi all,

> I had try to install the WebObjects 5.3.3 in a Red Hat 5.2,



I do hope it's RedHat Enterprise Linux 5.2, not the old RedHat 5.2 from the 90s 
:-)



> but after I follow the instructions from the wiki, and try to start the 
> wotask and monitor by,

> $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &

> $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor 
> -WOPort 56789 &

> I got this error:

> java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone

>at java.lang.Class.initializeClass(libgcj.so.7rh)

>at 
> com.webobjects.foundation.NSLog$PrintStreamLogger.(NSLog.java:1643)

>at java.lang.Class.initializeClass(libgcj.so.7rh)

>at com.webobjects.foundation.NSLog.(NSLog.java:497)

>at java.lang.Class.initializeClass(libgcj.so.7rh)

>at com.webobjects.foundation._NSUtilities.(_NSUtilities.java:154)

>at java.lang.Class.initializeClass(libgcj.so.7rh)

>at com.webobjects.appserver.WOApplication.(WOApplication.java:165)

>at java.lang.Class.initializeClass(libgcj.so.7rh)

>at java.lang.Class.initializeClass(libgcj.so.7rh)

>at java.lang.reflect.Method.invoke(libgcj.so.7rh)

>at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)



> the weird thing is that after installing java 1.6, I do a java -version and 
> the answer is "java version 1.4.2",



You probably have the 1.4 JVM from GNU, which is total crap (remove it with yum 
erase, I think the package name is gnu-jvm14 or something like that). You can 
use "alternatives" to specify which JVM you want (alternatives will simply 
install symlinks so that /usr/bin/java points to your desired JVM).




> I don't know is this for having the wrong version of the jdk.

>

> thanks.

>

> ___

> 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:

> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca

>

> This email sent to prob...@macti.ca





___
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:
https://lists.apple.com/mailman/options/webobjects-dev/racso_gp%40hotmail.com

This email sent to racso...@hotmail.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Installing WebObjects 5.3.3 in a Red Hat 5.2

2012-03-28 Thread Chuck Hill
You need to run it like this:
cd $NEXT_ROOT/Local/Library/WebObjects/Applications/logistica.woa
./logistica

The current working directory is important.

Chuck


On 2012-03-28, at 5:53 PM, Oscar González wrote:

> Hi all, 
> The wotaskd and monitor are running, but now when I try to run my application 
> in command line 
> "$NEXT_ROOT/Local/Library/WebObjects/Applications/logistica.woa/logistica" 
> got this error
> java.lang.NoClassDefFoundError: com/tec/util/base/TecApplication
>   at java.lang.ClassLoader.defineClass1(Native Method)
>   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>   at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
> Caused by: java.lang.ClassNotFoundException: com.tec.util.base.TecApplication
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 
> I'm don't know what is going wrong, the same application is running ok in an 
> ubuntu server.
> 
> Thanks.
> 
> 
> From: racso...@hotmail.com
> To: webobjects-dev@lists.apple.com
> Subject: Installing WebObjects 5.3.3 in a Red Hat 5.2
> Date: Wed, 28 Mar 2012 14:45:24 -0600
> 
> Hi all,
> I had try to install the WebObjects 5.3.3 in a Red Hat 5.2, but after I 
> follow the instructions from the wiki, and try to start the wotask and 
> monitor by,
> $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
> $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor 
> -WOPort 56789 &
> I got this error:
> java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at 
> com.webobjects.foundation.NSLog$PrintStreamLogger.(NSLog.java:1643)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at com.webobjects.foundation.NSLog.(NSLog.java:497)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at com.webobjects.foundation._NSUtilities.(_NSUtilities.java:154)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at com.webobjects.appserver.WOApplication.(WOApplication.java:165)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at java.lang.reflect.Method.invoke(libgcj.so.7rh)
>at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) 
> 
> the weird thing is that after installing java 1.6, I do a java -version and 
> the answer is "java version 1.4.2",
> I don't know is this for having the wrong version of the jdk.
> 
> thanks.
> 
> 
> ___ 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: 
> https://lists.apple.com/mailman/options/webobjects-dev/racso_gp%40hotmail.com 
> This email sent to racso...@hotmail.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:
> https://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

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/gvc/practical_webobjects










smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


RE: Installing WebObjects 5.3.3 in a Red Hat 5.2

2012-03-28 Thread Oscar González

Hi all, The wotaskd and monitor are running, but now when I try to run my 
application in command line 
"$NEXT_ROOT/Local/Library/WebObjects/Applications/logistica.woa/logistica" got 
this errorjava.lang.NoClassDefFoundError: com/tec/util/base/TecApplication at 
java.lang.ClassLoader.defineClass1(Native Method)at 
java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)  at 
java.lang.ClassLoader.defineClass(ClassLoader.java:615)  at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)  at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at 
java.net.URLClassLoader.access$000(URLClassLoader.java:58)   at 
java.net.URLClassLoader$1.run(URLClassLoader.java:197)   at 
java.security.AccessController.doPrivileged(Native Method)   at 
java.net.URLClassLoader.findClass(URLClassLoader.java:190)   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:306)at 
java.lang.ClassLoader.loadClass(ClassLoader.java:247)at 
com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)Caused by: 
java.lang.ClassNotFoundException: com.tec.util.base.TecApplication at 
java.net.URLClassLoader$1.run(URLClassLoader.java:202)   at 
java.security.AccessController.doPrivileged(Native Method)   at 
java.net.URLClassLoader.findClass(URLClassLoader.java:190)   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:306)at 
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
I'm don't know what is going wrong, the same application is running ok in an 
ubuntu server.
Thanks.

From: racso...@hotmail.com
To: webobjects-dev@lists.apple.com
Subject: Installing WebObjects 5.3.3 in a Red Hat 5.2
Date: Wed, 28 Mar 2012 14:45:24 -0600







Hi all,I had try to install the WebObjects 5.3.3 in a Red Hat 5.2, but after I 
follow the instructions from the wiki, and try to start the wotask and monitor 
by,$NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd 
&$NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor 
-WOPort 56789 &I got this error:java.lang.NoClassDefFoundError: 
com.webobjects.foundation.NSTimeZone   at 
java.lang.Class.initializeClass(libgcj.so.7rh)   at 
com.webobjects.foundation.NSLog$PrintStreamLogger.(NSLog.java:1643)   
at java.lang.Class.initializeClass(libgcj.so.7rh)   at 
com.webobjects.foundation.NSLog.(NSLog.java:497)   at 
java.lang.Class.initializeClass(libgcj.so.7rh)   at 
com.webobjects.foundation._NSUtilities.(_NSUtilities.java:154)   at 
java.lang.Class.initializeClass(libgcj.so.7rh)   at 
com.webobjects.appserver.WOApplication.(WOApplication.java:165)   at 
java.lang.Class.initializeClass(libgcj.so.7rh)   at 
java.lang.Class.initializeClass(libgcj.so.7rh)   at 
java.lang.reflect.Method.invoke(libgcj.so.7rh)   at 
com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) 
the weird thing is that after installing java 1.6, I do a java -version and the 
answer is "java version 1.4.2",I don't know is this for having the wrong 
version of the jdk.
thanks.
  

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/racso_gp%40hotmail.com

This email sent to racso...@hotmail.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Installing WebObjects 5.3.3 in a Red Hat 5.2

2012-03-28 Thread Ken Anderson
If you installed JDK 6 (1.6) using the Oracle RPM, you should have it
installed correctly.

Use this command either as root or via sudo to change the active
version: "alternatives
--config java"

I had it running on CentOS 5 just fine for the last year or so.

Good luck

Ken


>
> --
>
> Message: 4
> Date: Wed, 28 Mar 2012 19:12:26 -0400
> From: Pascal Robert 
> To: Oscar González 
> Cc: webobjects-dev@lists.apple.com
> Subject: Re: Installing WebObjects 5.3.3 in a Red Hat 5.2
> Message-ID: 
> Content-Type: text/plain; charset=iso-8859-1
>
>
> Le 2012-03-28 à 16:45, Oscar González a écrit :
>
> > Hi all,
> > I had try to install the WebObjects 5.3.3 in a Red Hat 5.2,
>
> I do hope it's RedHat Enterprise Linux 5.2, not the old RedHat 5.2 from
> the 90s :-)
>
> > but after I follow the instructions from the wiki, and try to start the
> wotask and monitor by,
> > $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
> >
> $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
> -WOPort 56789 &
> > I got this error:
> > java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at
> com.webobjects.foundation.NSLog$PrintStreamLogger.(NSLog.java:1643)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at com.webobjects.foundation.NSLog.(NSLog.java:497)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at
> com.webobjects.foundation._NSUtilities.(_NSUtilities.java:154)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at
> com.webobjects.appserver.WOApplication.(WOApplication.java:165)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at java.lang.Class.initializeClass(libgcj.so.7rh)
> >at java.lang.reflect.Method.invoke(libgcj.so.7rh)
> >at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
>
> > the weird thing is that after installing java 1.6, I do a java -version
> and the answer is "java version 1.4.2",
>
> You probably have the 1.4 JVM from GNU, which is total crap (remove it
> with yum erase, I think the package name is gnu-jvm14 or something like
> that). You can use "alternatives" to specify which JVM you want
> (alternatives will simply install symlinks so that /usr/bin/java points to
> your desired JVM).
>
> > I don't know is this for having the wrong version of the jdk.
> >
> > thanks.
> >
> > ___
> > 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:
> >
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> >
> > This email sent to prob...@macti.ca
>
>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Installing WebObjects 5.3.3 in a Red Hat 5.2

2012-03-28 Thread Pascal Robert

Le 2012-03-28 à 16:45, Oscar González a écrit :

> Hi all,
> I had try to install the WebObjects 5.3.3 in a Red Hat 5.2,

I do hope it's RedHat Enterprise Linux 5.2, not the old RedHat 5.2 from the 90s 
:-)

> but after I follow the instructions from the wiki, and try to start the 
> wotask and monitor by,
> $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
> $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor 
> -WOPort 56789 &
> I got this error:
> java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at 
> com.webobjects.foundation.NSLog$PrintStreamLogger.(NSLog.java:1643)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at com.webobjects.foundation.NSLog.(NSLog.java:497)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at com.webobjects.foundation._NSUtilities.(_NSUtilities.java:154)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at com.webobjects.appserver.WOApplication.(WOApplication.java:165)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at java.lang.Class.initializeClass(libgcj.so.7rh)
>at java.lang.reflect.Method.invoke(libgcj.so.7rh)
>at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) 

> the weird thing is that after installing java 1.6, I do a java -version and 
> the answer is "java version 1.4.2",

You probably have the 1.4 JVM from GNU, which is total crap (remove it with yum 
erase, I think the package name is gnu-jvm14 or something like that). You can 
use "alternatives" to specify which JVM you want (alternatives will simply 
install symlinks so that /usr/bin/java points to your desired JVM).

> I don't know is this for having the wrong version of the jdk.
> 
> thanks.
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com