Thanks,

If I replace it with the original wrapper, I get:
------
[orion@ojo Orion]# java -classic -jar ./orion.jar
bash: /usr/local/java/bin/java: No such file or directory
------

However I just noticed that I am running 1.3.0, whereas someone else in the
newsgroup got it working with 1.3.1 (I suppose on a Linux machine), so I am
now downloading 1.3.1. I hope this works.
Only the downloading doesn't goes that fast.... ;(

Eddie


----- Original Message -----
From: cybermaster <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Tuesday, May 22, 2001 2:48 AM
Subject: RE: Orin cpu usage ??? ->>> HANGS ->> please some help!!


> I'll attach the modified version of the wrapper file - a while ago I
helped
> a collegue to set this up to get a profiler and analyzer (OptimizeIt) to
> work. So there may be some other changes in it  - hope this helps ...
>
> In your example, ttype=green_threads and not 'native'
>
> --peter
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
> Sent: Monday, May 21, 2001 1:43 PM
> To: Orion-Interest
> Subject: Re: Orin cpu usage ??? ->>> HANGS ->> please some help!!
>
> Hi cybermaster,
>
> In both the wrapper files If find something like below. What shall I
change
> ??
> I suppose the _JMS_THREADS_TYPE=native.. !
> -----------
> if [ "${vmtype}" = "classic" ]; then
>     ttype=green_threads
>     LD_BIND_NOW=yes
>     export LD_BIND_NOW
>     _JVM_THREADS_TYPE=green_threads
>     export _JVM_THREADS_TYPE
> fi
> -------
>
> But why ? and should I also change ttype ? If I only change the _JMS ..
part
> I do get the following:
> --------
> [orion@ojo Orion]# java -classic -jar ./orion.jar
> JVM Classic type
> Could not create the Java virtual machine.
> -------
>
> BTW: I haven't playes around with the max-instances yet, but I will do
that
> shorly but still don't know what the max value should be !!!
>
> Eddie
>
>
>
>
> if [ "${vmtype}" = "classic" ]; then
>     ttype=green_threads
>     LD_BIND_NOW=yes
>     export LD_BIND_NOW
>     _JVM_THREADS_TYPE=green_threads
>     export _JVM_THREADS_TYPE
> fi
>
>
> ----- Original Message -----
> From: cybermaster <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Sent: Monday, May 21, 2001 5:48 PM
> Subject: RE: Orin cpu usage ??? ->>> HANGS ->> please some help!!
>
>
> > Did max-instances solve the problem? Anyway, in some applications on
> > Linux/Unix you have to change
> >
> > #DEFAULT_THREADS_FLAG=green to:
> > DEFAULT_THREADS_FLAG=native
> >
> > in two places relative to JAVA_HOME: ./bin/.java_wrapper and
> > jre/bin/.java_wrapper.
> >
> > --peter
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
> > Sent: Monday, May 21, 2001 3:12 AM
> > To: Orion-Interest
> > Subject: Re: Orin cpu usage ??? ->>> HANGS ->> please some help!!
> >
> > Thanks peter.. again :) I looked at it and it gives some more
information.
> > But I think I also have to play around witht he max-instances to control
> the
> > number of bean instances, as I notices that other people had the same
> > problem and solved it like that.
> >
> > Eddie
> >
> > ----- Original Message -----
> > From: cybermaster <[EMAIL PROTECTED]>
> > To: Orion-Interest <[EMAIL PROTECTED]>
> > Sent: Friday, May 18, 2001 3:37 PM
> > Subject: RE: Orin cpu usage ??? ->>> HANGS ->> please some help!!
> >
> >
> > > Use the -monitorResourceThreads flag when you start orion - (use
> java -jar
> > > orion.jar -help to see possible startup options)
> > >
> > > --peter
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
> > > Sent: Friday, May 18, 2001 3:52 AM
> > > To: Orion-Interest
> > > Subject: Re: Orin cpu usage ??? ->>> HANGS ->> please some help!!
> > >
> > > Please tell me how I can see in Orion what's going wrong!!
> > > -> About every hour Orion still runs, but doesn't do any servlets,
> beans,
> > > etc... it just hangs... and I can't figure out why... not completely
> > true...
> > > it writes:
> > > ----
> > > java.lang.OutOfMemoryError: max threads limit  being reached in VM
> > >         at java.lang.Thread.start(Native Method)
> > >         at com.evermind.util.ThreadPool.cb(JAX)
> > >         at com.evermind.server.he.ap3(JAX)
> > >         at com.evermind.server.http.eq.run(JAX)
> > >         at com.evermind.util.f.run(JAX)
> > > -----
> > >
> > > But I don't understand this as I start it with enough memory:
> > > --
> > >    /opt/java/bin/java -Xms30m -Xmx190m -jar
/opt/Orion/orion.jar -config
> > > /opt/Orion/config/server.xml >> /opt/Orion/log/out.log 2>&1 &
> > > --
> > >
> > > And if I take a look with the orionconole the memory usage it always
> > around
> > > 13-32 MB....
> > > What ma I missing here.
> > > BTW: it's running on HP-UX 11 with jdk1.3
> > >
> > > 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