Thanks peter,

The javac is indeed linked to .java_wrapper, but to me it's not clear what I
should change such that it works in classic mode. Neither do I find anything
about that in the man pages. Doesn't anyone knows how to execute
java -classic .. on a Linux box ??

Eddie

----- Original Message -----
From: cybermaster <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 3:43 PM
Subject: RE: Orin cpu usage ???


> I am currently sitting on a w2k box, but I remember that under Unix many
of
> these files are links to a wrapper for either hotspot or classic JVM. You
> may have to play around and change those.
>
> --peter
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
> Sent: Friday, May 18, 2001 2:27 AM
> To: Orion-Interest
> Subject: Re: Orin cpu usage ???
>
> Thanks peter,
>
> I tried it as classic, but it doesn't work. It complains that it can't
find
> the JIT, wheras it is able find it, as the below, any idea why this is (I
> haven't got much experience with running the jvm in different modes, any
> idea where to find more info, as I can't find it in the man java ??) ??:
> -------
> [orion@ojo Orion]# java -classic orion.jar
> Warning: JIT compiler "/usr/local/java/bin/javac" not found. Will use
> interpreter.
> Exception in thread "main" java.lang.NoClassDefFoundError: orion/jar
> [orion@ojo Orion]# ls /usr/local/java/bin/ja
> jar           java          javac         javah
> jarsigner     java-rmi.cgi  javadoc       javap
> [orion@ojo Orion]# ls /usr/local/java/bin/javac
> /usr/local/java/bin/javac
> [orion@ojo Orion]#
> ------
>
> Eddie
>
>
> ----- Original Message -----
> From: cybermaster <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Sent: Thursday, May 17, 2001 4:07 PM
> Subject: RE: Orin cpu usage ???
>
>
> > I have seen other instances where profiling doesn't work with the
HotSpot
> > JVM - use the Classic, and it (may) work.
> >
> > --peter
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
> > Sent: Thursday, May 17, 2001 6:04 AM
> > To: Orion-Interest
> > Subject: Re: Orin cpu usage ???
> >
> > Thanks Marcel,
> >
> > Indeed I get more information when I start with -Xprof, however when I
use
> > the -Xrunhprof I get the following error (the total command is also
> > included):
> >
> > Funny !!!,
> > Eddie
> > ----------
> > #
> > # HotSpot Virtual Machine Error, Internal Error
> > # Please report this error at
> > # http://java.sun.com/cgi-bin/bugreport.cgi
> > #
> > # Error ID: 4D555445583F4C494E55580E4350500104
> > #
> > # Problematic Thread: prio=1 tid=0x804dcd8 nid=0x4c99 runnable
> > #
> > ----------
> > Start command:
> > -------
> > su -l program --command='/usr/local/java/bin/java -Xrunhprof -jar
> > /opt/Orion/orion.jar -config /opt/Orion/config/server.xml >>
> > /opt/Orion/log/out.log 2>&1 &
> > ----
> >
> >
> > ----- Original Message -----
> > From: Marcel Schutte <[EMAIL PROTECTED]>
> > To: Orion-Interest <[EMAIL PROTECTED]>
> > Sent: Thursday, May 17, 2001 11:48 AM
> > Subject: RE: Orin cpu usage ???
> >
> >
> > > Hi Eddie,
> > >
> > > You could try to use the JVM profiler (startup arguments -Xprof
> > > and -Xrunhprof). This is ofcourse not orion specific, but you can give
> it
> > a
> > > try. You can also try leaving out parts of your application until you
> find
> > > the bit that's causing your problem.
> > >
> > > Marcel
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
> > > > Sent: Thursday, May 17, 2001 10:11 AM
> > > > To: Orion-Interest
> > > > Subject: Re: Orin cpu usage ???
> > > >
> > > >
> > > > Can someone please answer this question !!!???
> > > > The problem I am having is the Orion sometimes hangs, it uses
> > > > a lot of cpu
> > > > and I can't figure out why, so I need some advices on how I
> > > > can monitor
> > > > this.
> > > >
> > > > Please... ??
> > > >
> > > > Eddie
> > > >
> > > > ----- Original Message -----
> > > > From: Eddie <[EMAIL PROTECTED]>
> > > > To: Orion-Interest <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, May 16, 2001 11:42 AM
> > > > Subject: Orin cpu usage ???
> > > >
> > > >
> > > > > Can someone please tell me how to monitor the cpu usage of
> > > > Orion in detail
> > > > > per component/item/application ?
> > > > >
> > > > > When I use orionconsole I can only view the overall memory
> > > > usage of all
> > > > > application, but that's it. With "top" I see it is using a
> > > > lot of cpu
> > > > time:
> > > > > about 50 percent.
> > > > > But I want more information, how do I get that ??
> > > > >
> > > > > Eddie
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

Reply via email to