RE: Questionnaire

2002-02-03 Thread Geoff Soutter

I was wondering what the (BS) stood for :-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Robb (BS)
Sent: Sunday, February 03, 2002 8:10 AM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Re: Questionnaire


If you cannot control your weblist from people who deploy viruses, how
in the hell can you make a decent app server

Please remove me from your list ASAP!!
- Original Message - 
From: chen.hui 
To: Orion-Interest 
Sent: Saturday, February 02, 2002 9:31 AM
Subject: Questionnaire





java.lang.NullPointerException

2002-02-03 Thread SeaWolf

i had faced this exception when invoking the statefull
session bean. I am using java version "1.2.2"
Classic VM (J2RE 1.2.2 IBM build ca122-2915 (JIT
enabled: jitc))
. Running in AIX with 1G of memory.

java.lang.NullPointerException
at
java.io.DataOutputStream.writeUTF(DataOutputStream.java:315)
at
java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:1529)
at
com.evermind.server.ejb.StatefulSessionObjectInfo.writeExternal(StatefulSession
ObjectInfo.java:31)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled
Code))
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled
Code))
at
com.evermind.server.rmi.RMIOutputStream.writeType(RMIOutputStream.java(Compiled
 Code))
at
com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java(Compiled
Code))
at
com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java(Compiled
Code))

Thanks

seawolf

__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com




Re: Weird behaviour: Orion 1.5.3 / Postgres 7.2RC2 / RH7.2

2002-02-03 Thread Christian Meunier
Title: Re: Weird behaviour: Orion 1.5.3 / Postgres 7.2RC2 / RH7.2



THANKS SO MUCH !!!
 
Damn i lost 2 days switching OS,Jvm,DB, debugging 
code etc cause of this freaking Ipchains.
 
Again thank you very much.
Best regards

  - Original Message - 
  From: 
  Mike 
  Cannon-Brookes 
  To: Orion-Interest 
  Sent: Sunday, February 03, 2002 3:50 
  AM
  Subject: Re: Weird behaviour: Orion 1.5.3 
  / Postgres 7.2RC2 / RH7.2
  Christian,This may be a shot in the 
  dark but had a very similar problem on one of our servers. Are you 
  running Orion on a non-privileged port and using ipchains to map (say port 80 
  to port 8000?) If so, the problem is with ipchains. We moved to using iptables 
  and it works perfectly now.As I said, may be a shot in the dark but it 
  might be the problem.Cheers,MikeMike 
  Cannon-Brookes[EMAIL PROTECTED]Atlassian :: 
  www.atlassian.comSupporting YOUR 
  worldOn 3/2/02 3:47 AM, "Christian Meunier" 
  ([EMAIL PROTECTED]) penned the words:
  Hi,i re installed my server 
yesterday, upgrading mainly the os and some hardware.I got like 30 000 
visit / day with 2Millions hitsthe os is : RH 7.2, the cpu is an athlon 
600MHz with 1.5Go SDRAMgot an Adaptec raid controller 3200S ( one array 
in raid 1)Top 
snapshot:-- 4:41pm  up 
 2:43,  1 user,  load average: 62,01, 58,01, 48,15262 
processes: 230 sleeping, 32 running, 0 zombie, 0 stoppedCPU states: 
15,4% user, 84,5% system,  0,0% nice,  0,0% idleMem: 
 1544452K av,  492688K used, 1051764K free,   62064K 
shrd,   36688K buffSwap: 2096472K av, 
  0K used, 2096472K free 
 171564K 
cached PID USER PRI  NI  SIZE 
 RSS SHARE STAT %CPU %MEM   TIME COMMAND 3075 orion 
18   0 14584  14M  2928 R 
1,3  0,9   0:02 java 3073 
orion 17   0 14584  14M  2928 R 
1,2  0,9   0:01 java 3074 
postgres  15   0 21864  21M 21156 R 
1,2  1,4   0:02 
postmaster 3093 orion 18   0 
14584  14M  2928 R 1,2  0,9 
  0:01 java 1710 orion 17 
  0 77860  75M  2976 S 1,1 
 4,9   0:27 java 3000 root 
 17   0  1184 1184 
  836 R 1,1  0,0   0:06 
top 3076 postgres  17   0 21192  20M 20516 R 
1,1  1,3   0:01 
postmaster 3095 postgres  16   0 21696  21M 
20996 R 1,1  1,4   0:01 
postmaster 2463 postgres  11   0 45404  44M 
43936 S 1,0  2,9   0:29 
postmaster 1509 orion 12   0 
77812  75M  2976 R 0,9  4,9 
  0:28 java 1511 orion 11 
  0 77812  75M  2976 R 0,9 
 4,9   0:29 java 1585 orion 
18   0 77860  75M  2976 R 
0,9  4,9   0:25 java 2240 
orion 13   0 77900  75M 65396 S 
0,9  4,9   0:23 java 2652 
orion 11   0 77900  75M 63556 S 
0,9  4,9   0:13 java 2734 
orion 20   0 77900  75M 55948 R 
0,9  4,9   0:09 java 3031 
postgres  20   0 33344  32M 32188 R 
0,9  2,1   0:03 
postmaster 3126 postgres  13   0 27988  27M 
27300 S 0,9  1,8   0:00 
postmaster 2173 orion  9   0 
77900  75M 65396 S 0,8  4,9 
  0:18 java 2182 orion 12 
  0 77900  75M 65396 S 0,8  4,9 
  0:21 java 2184 orion 14 
  0 77900  75M 65396 S 0,8  4,9 
  0:22 java 2484 orion 10 
  0 77900  75M 63556 S 0,8  4,9 
  0:17 java 2505 orion 11 
  0 77900  75M 63556 S 0,8  4,9 
  0:11 java 2687 orion 10 
  0 77900  75M 55948 S 0,8  4,9 
  0:11 java 2886 postgres  14   0 28032 
 27M 26520 S 0,8  1,8   0:09 
postmaster 2959 postgres  16   0 33128  32M 
31984 R 0,8  2,1   0:04 
postmaster---I was used to handle 
the load perfectly well and now its messy and i have no clue 
why.I wonder why i have a system cpu state so high, leading to a very 
very high load average.for this snapshot i started orion with no 
argument ( java -jar orion.jar)As for postgres ( max backend set to the 
default 32):tcpip_socket = 
trueshared_buffers = 
16384sort_mem = 
4096wal_buffers = 
2048wal_files = 3If someone has some 
ideas or tips to find out whats going on...Thx in advanceBest 
regards 


Re: url.openConnection() doesn't allow to pass objects or attributes

2002-02-03 Thread Kesav Kumar

I just noticed one more thing with your servlet.  It seems that you are
using doGet method in your servlet.  If you do a post request through URL
you need to write doPost method in your servlet.

-kesav kumar
[EMAIL PROTECTED]

- Original Message -
From: "prasanth sb" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Sunday, February 03, 2002 2:51 AM
Subject: Re: url.openConnection() doesn't allow to pass objects or
attributes


> I set the doOuptut parameters ,but still in orion it is not working.
> Can you please help me in this?
>
>
>
> >From: "Kesav Kumar" <[EMAIL PROTECTED]>
> >Reply-To: Orion-Interest <[EMAIL PROTECTED]>
> >To: Orion-Interest <[EMAIL PROTECTED]>
> >Subject: Re: url.openConnection() doesn't allow to pass objects or
> >attributes
> >Date: Sat, 26 Jan 2002 08:12:31 -0800
> >
> >For Posting data from through URLs you have to set doOutput to true.
> >con.setDoOutput(true);
> >con.setDoInput(true);
> >
> >Once you set the above you can get the OutputStream associated with
> >connection and send parameters.
> >
> >For more info read the article at JavaWorld
> >http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
> >
> >-kesav kumar
> >
> >- Original Message -
> >From: "prasanth sb" <[EMAIL PROTECTED]>
> >To: "Orion-Interest" <[EMAIL PROTECTED]>
> >Sent: Saturday, January 26, 2002 1:27 AM
> >Subject: url.openConnection() doesn't allow to pass objects or attributes
> >
> >
> >Hello dear friends,
> >   Please help me with a strange problem happening with
> >orion. I am calling url.openConnection() to a servlet page.When I call
> >this,
> >the call goes to doGet method of the servlet. But it has to go to the
> >doPost
> >method. Second problem is I am able to read the values from the callee
> >servlet. But I am not able to pass the values to the callee servlet.I am
> >trying to pass objects in a stream.I have seen this problem reported in
the
> >mailing list. Can anyone help me in this?
> >
> >Please find the sample code,
> >
> >Caller Servlet
> >
> >URLConncetion con =url.openConnection("http://ipname:port/Servlet1";);
> >ObjectOutputStream os = new ObjectOutputStream(con.getOutputStream());
> >os.writeObject("string object");
> >
> >Callee servlet(Servlet1.java)
> >
> >
> >public void doGet(HttpServletRequest req,HttpServletResponse res) {
> >ObjectInputStream ois = new ObjectInputStream(req.getInputStream());
> >ois.readObject();//This line , it prints null.It wont print the string
> >//"string object".But if I return values from the servlet1, then Caller
> >servlet is able to read.
> >
> >Can some one throw some light on this.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >_
> >Join the world's largest e-mail service with MSN Hotmail.
> >http://www.hotmail.com
> >
> >
> >
> >
>
>
> _
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
>




Re: Deploy Existing EJB's on Orion?

2002-02-03 Thread Stephen Davidson

Billy Rutledge wrote:

> Hi All...
> 
> I am setting up Orion as an alternative to WebLogic and need help getting
> started.  Currently we run WebLogic 5.1 and it allows you deploy EJBs
> separately from your web apps.  So typically, we deploy the beans once and
> then deploy many web apps that reference the deployed beans.
> 
> Looking through the docs, it doesn't seem clear on how you would accomplish
> the same thing on Orion.  If we have EJBs that are already .jar-ed up (v
> 1.1) can we just deploy them to Orion?  Or can you only deploy the all
> encompassing .ear files?
> 
> Any info on how to get things started would be much appreciated!
> -Billy
> 

Hi Billy.

I have been deploying the ear file everytime.  However, Orion has been scanning it to 
see what has been updated.  If it is only the war file ( I have one war 
file, multiple jars), only the war file is redeployed, the jars are not redeployed.  
If only one EJB-jar file has been changed, only that jar is redeployed, and 
not the war file and the not the rest of the jars.  Since I am doing the deployments 
remotely, just sending one file over has been proving easier and faster for 
me than trying to send the individual files over.

The only time that I have had difficulties is when the API's for the EJB's are 
changed, or EJB's are added or deleted.

-Steve

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208





Re: url.openConnection() doesn't allow to pass objects or attributes

2002-02-03 Thread prasanth sb

I set the doOuptut parameters ,but still in orion it is not working.
Can you please help me in this?



>From: "Kesav Kumar" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: Re: url.openConnection() doesn't allow to pass objects or 
>attributes
>Date: Sat, 26 Jan 2002 08:12:31 -0800
>
>For Posting data from through URLs you have to set doOutput to true.
>con.setDoOutput(true);
>con.setDoInput(true);
>
>Once you set the above you can get the OutputStream associated with
>connection and send parameters.
>
>For more info read the article at JavaWorld
>http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
>
>-kesav kumar
>
>- Original Message -
>From: "prasanth sb" <[EMAIL PROTECTED]>
>To: "Orion-Interest" <[EMAIL PROTECTED]>
>Sent: Saturday, January 26, 2002 1:27 AM
>Subject: url.openConnection() doesn't allow to pass objects or attributes
>
>
>Hello dear friends,
>   Please help me with a strange problem happening with
>orion. I am calling url.openConnection() to a servlet page.When I call 
>this,
>the call goes to doGet method of the servlet. But it has to go to the 
>doPost
>method. Second problem is I am able to read the values from the callee
>servlet. But I am not able to pass the values to the callee servlet.I am
>trying to pass objects in a stream.I have seen this problem reported in the
>mailing list. Can anyone help me in this?
>
>Please find the sample code,
>
>Caller Servlet
>
>URLConncetion con =url.openConnection("http://ipname:port/Servlet1";);
>ObjectOutputStream os = new ObjectOutputStream(con.getOutputStream());
>os.writeObject("string object");
>
>Callee servlet(Servlet1.java)
>
>
>public void doGet(HttpServletRequest req,HttpServletResponse res) {
>ObjectInputStream ois = new ObjectInputStream(req.getInputStream());
>ois.readObject();//This line , it prints null.It wont print the string
>//"string object".But if I return values from the servlet1, then Caller
>servlet is able to read.
>
>Can some one throw some light on this.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>_
>Join the world's largest e-mail service with MSN Hotmail.
>http://www.hotmail.com
>
>
>
>


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





Re: Weird behaviour: Orion 1.5.3 / Postgres 7.2RC2 / RH7.2

2002-02-03 Thread Christian Meunier
Title: Re: Weird behaviour: Orion 1.5.3 / Postgres 7.2RC2 / RH7.2



Gonna try this since i use ipchains to redirect 80 
-> 10080 as you said.
I will let you know if it solve the 
issue.

  - Original Message - 
  From: 
  Mike 
  Cannon-Brookes 
  To: Orion-Interest 
  Sent: Sunday, February 03, 2002 3:50 
  AM
  Subject: Re: Weird behaviour: Orion 1.5.3 
  / Postgres 7.2RC2 / RH7.2
  Christian,This may be a shot in the 
  dark but had a very similar problem on one of our servers. Are you 
  running Orion on a non-privileged port and using ipchains to map (say port 80 
  to port 8000?) If so, the problem is with ipchains. We moved to using iptables 
  and it works perfectly now.As I said, may be a shot in the dark but it 
  might be the problem.Cheers,MikeMike 
  Cannon-Brookes[EMAIL PROTECTED]Atlassian :: 
  www.atlassian.comSupporting YOUR 
  worldOn 3/2/02 3:47 AM, "Christian Meunier" 
  ([EMAIL PROTECTED]) penned the words:
  Hi,i re installed my server 
yesterday, upgrading mainly the os and some hardware.I got like 30 000 
visit / day with 2Millions hitsthe os is : RH 7.2, the cpu is an athlon 
600MHz with 1.5Go SDRAMgot an Adaptec raid controller 3200S ( one array 
in raid 1)Top 
snapshot:-- 4:41pm  up 
 2:43,  1 user,  load average: 62,01, 58,01, 48,15262 
processes: 230 sleeping, 32 running, 0 zombie, 0 stoppedCPU states: 
15,4% user, 84,5% system,  0,0% nice,  0,0% idleMem: 
 1544452K av,  492688K used, 1051764K free,   62064K 
shrd,   36688K buffSwap: 2096472K av, 
  0K used, 2096472K free 
 171564K 
cached PID USER PRI  NI  SIZE 
 RSS SHARE STAT %CPU %MEM   TIME COMMAND 3075 orion 
18   0 14584  14M  2928 R 
1,3  0,9   0:02 java 3073 
orion 17   0 14584  14M  2928 R 
1,2  0,9   0:01 java 3074 
postgres  15   0 21864  21M 21156 R 
1,2  1,4   0:02 
postmaster 3093 orion 18   0 
14584  14M  2928 R 1,2  0,9 
  0:01 java 1710 orion 17 
  0 77860  75M  2976 S 1,1 
 4,9   0:27 java 3000 root 
 17   0  1184 1184 
  836 R 1,1  0,0   0:06 
top 3076 postgres  17   0 21192  20M 20516 R 
1,1  1,3   0:01 
postmaster 3095 postgres  16   0 21696  21M 
20996 R 1,1  1,4   0:01 
postmaster 2463 postgres  11   0 45404  44M 
43936 S 1,0  2,9   0:29 
postmaster 1509 orion 12   0 
77812  75M  2976 R 0,9  4,9 
  0:28 java 1511 orion 11 
  0 77812  75M  2976 R 0,9 
 4,9   0:29 java 1585 orion 
18   0 77860  75M  2976 R 
0,9  4,9   0:25 java 2240 
orion 13   0 77900  75M 65396 S 
0,9  4,9   0:23 java 2652 
orion 11   0 77900  75M 63556 S 
0,9  4,9   0:13 java 2734 
orion 20   0 77900  75M 55948 R 
0,9  4,9   0:09 java 3031 
postgres  20   0 33344  32M 32188 R 
0,9  2,1   0:03 
postmaster 3126 postgres  13   0 27988  27M 
27300 S 0,9  1,8   0:00 
postmaster 2173 orion  9   0 
77900  75M 65396 S 0,8  4,9 
  0:18 java 2182 orion 12 
  0 77900  75M 65396 S 0,8  4,9 
  0:21 java 2184 orion 14 
  0 77900  75M 65396 S 0,8  4,9 
  0:22 java 2484 orion 10 
  0 77900  75M 63556 S 0,8  4,9 
  0:17 java 2505 orion 11 
  0 77900  75M 63556 S 0,8  4,9 
  0:11 java 2687 orion 10 
  0 77900  75M 55948 S 0,8  4,9 
  0:11 java 2886 postgres  14   0 28032 
 27M 26520 S 0,8  1,8   0:09 
postmaster 2959 postgres  16   0 33128  32M 
31984 R 0,8  2,1   0:04 
postmaster---I was used to handle 
the load perfectly well and now its messy and i have no clue 
why.I wonder why i have a system cpu state so high, leading to a very 
very high load average.for this snapshot i started orion with no 
argument ( java -jar orion.jar)As for postgres ( max backend set to the 
default 32):tcpip_socket = 
trueshared_buffers = 
16384sort_mem = 
4096wal_buffers = 
2048wal_files = 3If someone has some 
ideas or tips to find out whats going on...Thx in advanceBest 
regards