Unknown Source

2002-04-16 Thread Adam Cassar

Hi Guys,

I am having a problem with v1.5.4 of Orion. In stack traces it displays
the line number everywhere except for the EJB's!

I know it used to work, any ideas on what to look for? 





Transactions and OTS

2001-10-23 Thread Adam Cassar

Has anyone every successfully integrated orion with a 3rd party OTS, or
have any idea on how to go about it?




Wierd CMP Bug

2001-09-20 Thread Adam Cassar

Using a list-mapping with orion and using a vector to store the mapping
works if you add elements to the vector using .add, however when using 
.addElement orion will not store the vector. Wierd or am I missing something?
w




Orion not honouring transient attribute?

2001-09-16 Thread Adam Cassar

Is anyone having a similar problem? Orion not honouring the
transient attribute in a session bean? IIRC the spec says that
attributes with the transient modifier do not get serialized.




Re: Orion and properties (Anyone used a CORBA client within Orion?)

2001-09-10 Thread Adam Cassar

Didn't help unfortunately. :(

On Mon, Sep 10, 2001 at 01:06:56PM +0200, Johan Fredriksson wrote:
 Have you tried the
 
 -Xms64m -Xmx128m
 
 options to java?
 
 Type
 
 java -X
 
 for help
 
 Johan
 - Original Message -
 From: Adam Cassar [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, September 10, 2001 5:54 AM
 Subject: Orion and properties (Anyone used a CORBA client within Orion?)
 
 
  Guys!
 
  I hope some of you can shed some light on this problem.
 
  I am (attempting) to use a stateless session bean as a corba client. I
  place (openORB or JacORB) inside orion/lib and set up its properties
  file.
 
  All I get when I attempt to use it in  a session bean (however it works in
  a plain class) is
 
  9/10/01 1:49 PM Error in bean SomeBean
  java.lang.StackOverflowError
  at java.util.Properties.getProperty(Properties.java:478)
  at com.evermind.server.ApplicationServerSystemProperties._grc(Unknown
 Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
  at java.lang.System.getProperty(System.java:562)
  at com.evermind.server.ApplicationServer._xh(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
  at java.lang.System.getProperty(System.java:562)
  at com.evermind.server.ApplicationServer._xh(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
 
  this goes on and on and on.
 
  Obviously orion doesn't like this, the thing is, how can I make it work?
 
  Ideas, suggestions ANYTHING? :)
 
  TIA
 
 
 
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




Re: Orion Performance Tuning

2001-07-25 Thread Adam Cassar

Enable the undocumented option:

-Xconcurrentio

You will find that with a large number of simultaneous connections
you will gain a large performance increase. (The sun site claim up to 40%,
but I have only found a 20-30% depending on the app).

Read 

http://java.sun.com/docs/hotspot/VMOptions.html

and

http://java.sun.com/docs/hotspot/PerformanceFAQ.html

and

http://java.sun.com/docs/hotspot/gc/index.html

for a good overview.

On Wed, Jul 25, 2001 at 10:51:27AM -0700, Robert S. Sfeir wrote:
 Hello all,
 
 I've gone through and read most of the information posted from this list 
 about improving the performance of Orion, and increasing the number of 
 threads Orion uses to improve its overall performance under load.
 
 What I've been able to do so far, and it's helped a lot, is:
 1- Added the -Xms and -Xmx switches to make sure Orion starts and uses more 
 memory, they're set at 100MB and 300MB respectively, and Orion uses 175MB 
 as soon as I start it up, and doesn't seem to grow past 177MB as the day 
 goes one and it gets used.
 
 2- I added the -server switch in front of the java command so we make sure 
 we use the Server version of the HotSpot VM. (Boy does this thing pick up 
 speed when using the -server switch!)
 
 Is there anything else that can be done, short of clustering, to further 
 increase Orion's performance?
 
 My main objective is to make sure we don't get any more weird hangs and 
 long wait times in Orion for no apparent reason.  Perhaps increasing the 
 number of threads Orion uses?  I can't seem to find any definite answer on 
 that.
 
 Our servlet seems to be fine, but sometimes when clicking through a test 
 web site, one url request seemed to just sit there and hang, as if Orion 
 was dead, but I could click and request a different URL and get immediate 
 response.  So I assumed it was threads in Orion which were not being 
 managed properly.
 
 After making reading the posts to the list and making the the 2 changes 
 above, the problem seemed to have gone away for the most part, except it 
 still happens from time to time in Netscape, IE doesn't seem to have this 
 problem.  I can quit Netscape and go back in and the problem is gone for a 
 while.  There is no specific time frame for it to happen.  It does happen 
 consistently when I click, then stop for about 30-60 seconds, then click 
 again or reload, and it just sits there and waits for the world to come to 
 an end of something.  Very bizarre.
 
 Any ideas you may have would be of great help.
 
 Thanks
 R
 
 
 Robert S. Sfeir
 Director of Software Development
 PERCEPTICON corporation,
   in Joint Venture With JTransit
 San Francisco, CA 94123
 pw - http://www.percepticon.com/
 jw - http://jtransit.com
 e- [EMAIL PROTECTED]
 
 
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




Re: Internal server error

2001-05-30 Thread Adam Cassar

Have you looked at your application log?

On Wed, May 30, 2001 at 02:12:41PM +0200, Johan Fredriksson wrote:
 I get this message every now and then...
 
 500 Internal Server Error
 java.lang.NullPointerException
   at com.evermind[Orion/1.5.1 (build 
10410)].server.http.JSPBeanInfo._djb(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 10410)].server.http.JSPPage._bec(Unknown 
Source)
   at com.evermind[Orion/1.5.1 (build 10410)]._ah._ybd(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 10410)]._ah._pcd(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 
10410)].server.http.JSPServlet.service(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
   at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)
 
 
 And I have no idea what is causing it. If I reload the page the error message goes 
away.
 Anyone have a clue of where to look for the error and where should I put my try 
catch so the users don't get this ugly errormessage?
 Maybe I'll just have to create an errorpage that handles this specific error.
 
 Johan
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




RE: StackOverflowError

2001-05-25 Thread Adam Cassar


file a bug


On 25 May 2001 00:19:55 -0600, Tim McCune wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I went back and retraced my steps to try to figure this out.  I have
 a jar inside my ear file that contains an application-client.xml, so
 I wondered if that might be causing some kind of infinite loop in
 Orion.  Copying this jar into Orion's lib directory fixed the
 problem.  Don't quite know why, but then again, this whole experience
 with Orion is turning into one big exercise in trial and error. :( 
 So now I'm on to the next problem, but I'll start a new thread...
 
  -Original Message-
  From: Tim McCune [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 9:08 PM
  To: Orion-Interest
  Subject: RE: StackOverflowError
  
  
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  I'm not getting any other error messages from either Orion or my
  client JVM, although the CPU is chugging like crazy for a bit
  before the StackOverflowError.  My ejbCreate method is one line
  long,
  basically
  public void ejbCreate(String s) {
  this.s = s;
  }
  
  Nothing fancy, and no JCE involved.
  
   -Original Message-
   From: Adam Cassar [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, May 24, 2001 4:23 PM
   To: Orion-Interest
   Subject: Re: StackOverflowError
   
   
   
   Hi Tim,
   
   I had this problem a while back and I ended up tracing it back to
   the java crypto extensions. Are you getting a whole bunch of
   errors from your VM? What is your session bean doing?
   
   
   On 24 May 2001 01:18:12 -0600, Tim McCune wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I finally got Orion to deploy my app tonight, but my client
throws a StackOverflowError the first time I try to create a
session bean. 
 
Exception in thread main java.lang.StackOverflowError
at com.evermind.server.rmi.ba.invokeMethod(JAX)
at com.evermind.server.rmi.a1.invoke(JAX)
at com.evermind.server.rmi.a2.invoke(JAX)
at __Proxy1.create(Unknown Source)
 
This happens the first time I try it after starting Orion. 
Subsequent runs give a NoClassDefFoundError instead until I
restart Orion:
 
Exception in thread main java.lang.NoClassDefFoundError
at com.evermind.server.rmi.ba.invokeMethod(JAX)
at com.evermind.server.rmi.a1.invoke(JAX)
at com.evermind.server.rmi.a2.invoke(JAX)
at __Proxy1.create(Unknown Source)
 
Any suggestions would be appreciated.  Thanks.

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use 
   http://www.pgp.com

iQA/AwUBOwy1YtUPOr8a7vy5EQLulwCgsMBtTm68RAFb7VyGekR/7IQUeLQAn2cS
cwL0zbBiWzaXhujRrP6hRrlQ
=WlHP
-END PGP SIGNATURE-
   
   -- 
   
   Adam Cassar
   Technical Development Manager
   ___  
   NetRegistry http://www.netregistry.au.com
   Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
   PO Box 270 Broadway NSW 2007 Australia
   
   
  
  -BEGIN PGP SIGNATURE-
  Version: PGPfreeware 6.5.3 for non-commercial use
  http://www.pgp.com  
  
  iQA/AwUBOw3MMdUPOr8a7vy5EQL80QCeKnwmSR4hrjLD8XyVdMwN+m6b3m4AoJOr
  WRxdqdco+4lDPHabv7v6oKzI
  =H23a
  -END PGP SIGNATURE-
  
 
 -BEGIN PGP SIGNATURE-
 Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com
 
 iQA/AwUBOw35N9UPOr8a7vy5EQJVFwCfac71voIuUaQxyOMGEj22sU2LBf0AoJDI
 ey8j6OYc0QmM09H0dY0psAEy
 =q0xE
 -END PGP SIGNATURE-
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: StackOverflowError

2001-05-24 Thread Adam Cassar


Hi Tim,

I had this problem a while back and I ended up tracing it back to the
java crypto extensions. Are you getting a whole bunch of errors from
your VM? What is your session bean doing?


On 24 May 2001 01:18:12 -0600, Tim McCune wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I finally got Orion to deploy my app tonight, but my client throws a
 StackOverflowError the first time I try to create a session bean.
  
 Exception in thread main java.lang.StackOverflowError
 at com.evermind.server.rmi.ba.invokeMethod(JAX)
 at com.evermind.server.rmi.a1.invoke(JAX)
 at com.evermind.server.rmi.a2.invoke(JAX)
 at __Proxy1.create(Unknown Source)
  
 This happens the first time I try it after starting Orion. 
 Subsequent runs give a NoClassDefFoundError instead until I restart
 Orion:
  
 Exception in thread main java.lang.NoClassDefFoundError
 at com.evermind.server.rmi.ba.invokeMethod(JAX)
 at com.evermind.server.rmi.a1.invoke(JAX)
 at com.evermind.server.rmi.a2.invoke(JAX)
 at __Proxy1.create(Unknown Source)
  
 Any suggestions would be appreciated.  Thanks.
 
 -BEGIN PGP SIGNATURE-
 Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com
 
 iQA/AwUBOwy1YtUPOr8a7vy5EQLulwCgsMBtTm68RAFb7VyGekR/7IQUeLQAn2cS
 cwL0zbBiWzaXhujRrP6hRrlQ
 =WlHP
 -END PGP SIGNATURE-

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: How do you make JDBC and EJB in same Transaction?

2001-05-24 Thread Adam Cassar


Hi,

 I have the following in the same method inside a session bean
 
 1 - Get a datasource using the EJB Datasource lookup

This is the correct way to do it. Are your ejb's using the EJB
Datasource lookup? Check in you orion-ejb.xml

 What is happening is that the JDBC call is not using the same transaction as
 the Entity bean and this is causing a deadlock. The Entity bean call is
 waiting on the JDBC statements to be commited. But these statements will not
 be commited until the entity bean finishes the delete.

I do something similar. I have an session bean that 'Requires' a
transaction, and my EJB's are set to 'Supports'.

Within that transaction, I do an insert using jdbc, I stuff around with
some entity beans, and then I stuff around with the jdbc connection some
more.

What's even cooler is in another method I process some credit cards, and
if this fails we throw the appropriate exception. Effectively the whole
transaction gets rolled back.
 
 I thought that since both  session bean and entity bean are declared as
 REQUIRE for transaction in the ejb-jar.xml that they would automatically be
 inside the same transaction.

That's correct, so it should work. Just double check that your EJB's and
the JDBC are using the same datasource.
 
 Is this a bug or is there something that I am missing?


Good luck :)

 Eduardo
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





RE: StackOverflowError

2001-05-24 Thread Adam Cassar

Which JVM and Orion version are you using?

Definately wierd, good luck :)

On 24 May 2001 21:07:48 -0600, Tim McCune wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'm not getting any other error messages from either Orion or my
 client JVM, although the CPU is chugging like crazy for a bit before
 the StackOverflowError.  My ejbCreate method is one line long,
 basically
 public void ejbCreate(String s) {
   this.s = s;
 }
 
 Nothing fancy, and no JCE involved.
 
  -Original Message-
  From: Adam Cassar [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 4:23 PM
  To: Orion-Interest
  Subject: Re: StackOverflowError
  
  
  
  Hi Tim,
  
  I had this problem a while back and I ended up tracing it back to
  the java crypto extensions. Are you getting a whole bunch of errors
  from your VM? What is your session bean doing?
  
  
  On 24 May 2001 01:18:12 -0600, Tim McCune wrote:
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
   
   I finally got Orion to deploy my app tonight, but my client
   throws a StackOverflowError the first time I try to create a
   session bean. 

   Exception in thread main java.lang.StackOverflowError
   at com.evermind.server.rmi.ba.invokeMethod(JAX)
   at com.evermind.server.rmi.a1.invoke(JAX)
   at com.evermind.server.rmi.a2.invoke(JAX)
   at __Proxy1.create(Unknown Source)

   This happens the first time I try it after starting Orion. 
   Subsequent runs give a NoClassDefFoundError instead until I
   restart Orion:

   Exception in thread main java.lang.NoClassDefFoundError
   at com.evermind.server.rmi.ba.invokeMethod(JAX)
   at com.evermind.server.rmi.a1.invoke(JAX)
   at com.evermind.server.rmi.a2.invoke(JAX)
   at __Proxy1.create(Unknown Source)

   Any suggestions would be appreciated.  Thanks.
   
   -BEGIN PGP SIGNATURE-
   Version: PGPfreeware 6.5.3 for non-commercial use 
  http://www.pgp.com
   
   iQA/AwUBOwy1YtUPOr8a7vy5EQLulwCgsMBtTm68RAFb7VyGekR/7IQUeLQAn2cS
   cwL0zbBiWzaXhujRrP6hRrlQ
   =WlHP
   -END PGP SIGNATURE-
  
  -- 
  
  Adam Cassar
  Technical Development Manager
  ___  
  NetRegistry http://www.netregistry.au.com
  Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
  PO Box 270 Broadway NSW 2007 Australia
  
  
 
 -BEGIN PGP SIGNATURE-
 Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com
 
 iQA/AwUBOw3MMdUPOr8a7vy5EQL80QCeKnwmSR4hrjLD8XyVdMwN+m6b3m4AoJOr
 WRxdqdco+4lDPHabv7v6oKzI
 =H23a
 -END PGP SIGNATURE-
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





RE: remote shutdown of orion 1.4.8

2001-05-06 Thread Adam Cassar


IIRC, using -shutdown -force will generally work

On 05 May 2001 18:28:21 -0700, Jeff Schnitzer wrote:
  From: Eduardo Estefano [mailto:[EMAIL PROTECTED]]
  
  The same is happening to me. Using 1.4.7 everything was fine.
  
  I already posted a message before but here it is again:
  
  -   java -jar admin.jar ormi://localhost admin 123 -shutdown
  Works as long as no EJB/Database is called.
  Gives the shutting down... for ever message if ejb/jdbc is
  accessed
 
 This has been happening to me since I started using Orion (1.3.8).
 There was some discussion of this problem on the list a long time ago,
 and I believe the conclusion was that there is some sort of JVM problem.
 You might want to search the list for shutdown.
 
 I'm using Win2K with JDK 1.3  1.3_02.
 
 Jeff
 





Interests sake

2001-05-03 Thread Adam Cassar


Hi all,

For interests sake, what OS is everyone on the list running orion on?

Windows 2000?
WinNT
Linux?

I would of thought that most people would be using Linux but I think
from postings on this list
that I might be mistaken

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: session sharing still bad

2001-05-03 Thread Adam Cassar

Which files did you modify.

This is what I did to get it to work:

In my server.xml

web-site shared=true path=default-web-site.xml
web-site shared=true path=default-secure-web-site.xml

Not leaving out the default-web-app shared=true etc for both
'web-sites defined above'

On 03 May 2001 03:07:12 -0700, Fleming Shi wrote:
 After I changed default-web-app... shared=true between 2 web-sites, the 
 session data I place use setAttribute and getAttribute still don't sync 
 up.  That means the session data is not shared.  I messed around with 
 orion-web.xml also, playing with session tracking tag, not much 
 luck.  Any help would be greatly appreciated.
 
 





Backward compatibility

2001-05-02 Thread Adam Cassar


Orion 1.4.8 not backward compatbile with at least 1.4.7?

Anyone else experience this problem?

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Backward compatibility

2001-05-02 Thread Adam Cassar


Sorry guys,

Specifically:

two seperate processes - process (1) using the orion 1.4.7 libraries,
process (2) using
1.4.8, where process (1) is acting as a server and (2) the client.

Process (2) cannot make any RMI invocations to process (1), complaining
that the protocol
is not ormi.

On 02 May 2001 23:36:17 -0400, Tim Endres wrote:
 You will need to be more specific.
 
 We ran into a problem with XML. We coded to the Xalan 1 API,
 making use of a class named 'XPathSupport'. However, this API
 has changed in Xalan 2, and Orion 1.4.8 uses Xalan 2. So we
 have put off updating to 1.4.8 until we can update our code
 to Xalan 2. We have not spent a great deal of time on it, but
 it does appear there is no way to work with Xalan 2 as our
 code is currently written.
 
 tim.
 
  Orion 1.4.8 not backward compatbile with at least 1.4.7?
  
  Anyone else experience this problem?
  
  -- 
  
  Adam Cassar
  Technical Development Manager
  ___  
  NetRegistry http://www.netregistry.au.com
  Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
  PO Box 270 Broadway NSW 2007 Australia
  
  
 
 
 



-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: remote shutdown of orion 1.4.8

2001-04-27 Thread Adam Cassar

try -force

On 25 Apr 2001 08:46:02 -0600, [EMAIL PROTECTED] wrote:
 Folks,
 
 The following remote shutdown command does not work anymore in 1.4.8 (it
 works fine in 1.4.7), any ideas? bug?
 
 java -jar admin.jar ormi://localhost admin password -shutdown
 
 P.S.
 already verified the password is correct in
 [orion-home]/config/principals.xml
 
 Thanks in advance!
 
 Chris
 





RE: PostgresJDBC Driver w/ Orion under load

2001-04-19 Thread Adam Cassar


I am using 7.03 + appropriate jdbc drivers with no problems under load.

Have you tried debugging from the postgres end? Get postgres to dump the
SQL statements as
they pass through.

On 19 Apr 2001 14:14:08 +1000, Mike Cannon-Brookes wrote:
 I'm using Postgres 7.1rc3 with 'the most recent Orion build' ;)
 
 I'm going to upgrade both overnight to see if it makes any difference, but I
 think what I really need is a tool to see:
 a) the threads Orion is running and what method they're stuck in (JPDA
 should do this)
 b) the current connections to postgres and the query that's being run - any
 idea how to get this info?
 
 Heavy load is very heavy, real life load. (if that helps)
 
 -mike
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar
  Sent: Thursday, April 19, 2001 12:24 PM
  To: Orion-Interest
  Subject: Re: PostgresJDBC Driver w/ Orion under load
 
 
  What version's r u using?
 
  We use postgres + orion here with no problems.
 
  What do you classify as 'heavy load'? Is it testing or real life load?
 
  On 19 Apr 2001 10:27:02 +1000, Mike Cannon-Brookes wrote:
   Has anyone used Postgres + JDBC + Orion under heavy load?
  
   We're having a problem on one of our production machines that on some
   occasions under heavy load Postgres JDBC connections seem to be dying /
   locking up as do Orion threads and we're not sure where to
  start looking.
  
   Has anyone used this combo and has experience with this sort of thing?
  
   Here's an example trace:
  
   An I/O error occured while reading from backend - Exception:
   java.net.SocketException: Connection reset by peer: Connection
  reset by peer
   Stack Trace:
   java.net.SocketException: Connection reset by peer: Connection
  reset by peer
   at java.net.SocketInputStream.socketRead(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:86)
   at
  java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
   at
  java.io.BufferedInputStream.read(BufferedInputStream.java:204)
   at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
   at org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
  
   or
  
   An I/O error occured while reading from backend - Exception:
   java.net.SocketException: Broken pipe: Broken pipe
   Stack Trace:
   java.net.SocketException: Broken pipe: Broken pipe
   at java.net.SocketInputStream.socketRead(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:86)
   at
  java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
   at
  java.io.BufferedInputStream.read(BufferedInputStream.java:204)
   at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
   at org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
   ...
   at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:184)
   at org.postgresql.Connection.openConnection(Connection.java:160)
   at org.postgresql.Driver.connect(Driver.java:122)
  
   any ideas where to start looking?
  
   -mike
  
  
  
  
 
 
 
  --
 
  Adam Cassar
  Technical Development Manager
  ___
  NetRegistry http://www.netregistry.au.com
  Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
  PO Box 270 Broadway NSW 2007 Australia
 
 
 
 
 
 



-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





deployment.cache and wrapper classes

2001-04-19 Thread Adam Cassar


Hey guys,

I desperately need to have a look what's going on inside of orion's
wrapper classes. How can I access them? Previously on the list it is
mentioned that they are in the deployment.cache file, however when
I attempt to unjar that file, I only get one or two classes, not the
entire lot.

Any idea on how to debug these wrappers? They are constantly producing
Stack Overflow exceptions 
and it would be nice to see what is happening.

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: smp w/jdk

2001-04-19 Thread Adam Cassar

I haven't noticed any issues as yet.

On 19 Apr 2001 21:07:19 -0700, elephantwalker wrote:
 I just noticed that the readme for Sun's 1.3.0.02 recommends against smp
 kernels on Linux.
 
 Is that an issue? I haven't noticed a problem, had anybody else noticed a
 problem with Linux and Sun's jvm with the smp kernel?
 
 Regards,
 
 The elephantwalker
 
 
 



-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: PostgresJDBC Driver w/ Orion under load

2001-04-18 Thread Adam Cassar

What version's r u using?

We use postgres + orion here with no problems.

What do you classify as 'heavy load'? Is it testing or real life load?

On 19 Apr 2001 10:27:02 +1000, Mike Cannon-Brookes wrote:
 Has anyone used Postgres + JDBC + Orion under heavy load?
 
 We're having a problem on one of our production machines that on some
 occasions under heavy load Postgres JDBC connections seem to be dying /
 locking up as do Orion threads and we're not sure where to start looking.
 
 Has anyone used this combo and has experience with this sort of thing?
 
 Here's an example trace:
 
 An I/O error occured while reading from backend - Exception:
 java.net.SocketException: Connection reset by peer: Connection reset by peer
 Stack Trace:
 java.net.SocketException: Connection reset by peer: Connection reset by peer
 at java.net.SocketInputStream.socketRead(Native Method)
 at java.net.SocketInputStream.read(SocketInputStream.java:86)
 at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
 at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
 at org.postgresql.Connection.openConnection(Connection.java:160)
 at org.postgresql.Driver.connect(Driver.java:122)
 
 or
 
 An I/O error occured while reading from backend - Exception:
 java.net.SocketException: Broken pipe: Broken pipe
 Stack Trace:
 java.net.SocketException: Broken pipe: Broken pipe
 at java.net.SocketInputStream.socketRead(Native Method)
 at java.net.SocketInputStream.read(SocketInputStream.java:86)
 at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
 at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:181)
 at org.postgresql.Connection.openConnection(Connection.java:160)
 at org.postgresql.Driver.connect(Driver.java:122)
 ...
 at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:184)
 at org.postgresql.Connection.openConnection(Connection.java:160)
 at org.postgresql.Driver.connect(Driver.java:122)
 
 any ideas where to start looking?
 
 -mike
 
 
 
 



-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Finder methods on EJB fields

2001-04-05 Thread Adam Cassar

Hello,


Does anyone on this list know if an EB using an Entity Reference as an
attribute, can have a finder method
search on that attribute? If so can you search on attributes of the
afore mentioned entity reference?



-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Jikes 1.12 compiled code is bad!

2001-02-14 Thread Adam Cassar

I am using jikes v1.13 on linux with no problems here


On Wed, Feb 14, 2001 at 02:52:14PM -0700, Mike Fontenot wrote:
 I've been developing on Win2K, and deploying on Solaris. Works fine.
 
 I was using Jikes version 1.07 to compile my classes. Just switched to Jikes
 version 1.12 and now orion is breaking during startup. If I compile my
 classes with 1.12 and try to start orion, orion itself dies with an error
 message related to ArrayOutOfBounds. It never initializes or loads any ejbs,
 nothing.
 
 If I go back and recompile everything with 1.07 again, it works fine.
 
 Has anyone see this? I've searched the mail archive regarding this error and
 I've found somewhat related messages, but no real answers/solutions.
 
 Thanks in advance,
 Mike
 
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




Re: Wierd Servlet to EJB RMI problem

2001-01-16 Thread Adam Cassar

I thought the same as well. I was supprised however that when making an rmi
call between two different machines, the standard .equals works, however
when used within a servlet it doesn't. 

I (incorrectly)imagined that as the ejb container
and the servlet are in the same process that the equals method would work
for sure. However I found the opposite to be true.

On Tue, Jan 16, 2001 at 10:55:30AM -0700, Nick Newman wrote:
 Hi,
 
 It may be because of the way that the .equals() method is written for your 
 class.  For example, the Object class itself says that two objects are 
 equal only if they are the SAME object.  After they are passed BY VALUE 
 (i.e. through serialization) to a session bean they can no longer be the 
 same object (even if they were initially) and so will always be "not equal".
 
 For your particular class it might make sense to write a more relevant 
 .equals() method.
 
 Nick
 
 At 04:22 PM 1/16/01 +1100, you wrote:
 'lo all,
 
 I am experiencing a wierd problem/feature with orion v1.4.4
 
 I have a servlet that calls a stateless session bean with lets say paramaters
 of the same object type.
 
 eatme( Object o1, Object o2)
 
 The stateless session bean uses the .equals method of the object to see if
 o1.equals( o2) and so on.
 
 If I call this method from a java client with o1 and o2 the same object,
 o1.equals( o2) is true.
 
 However if I call this method with o1 and o2 the same object from a servlet
 o1 does not equal o2.
 
 Feature? Bug? Something that I sould not be doing?
 
 If anyone has any experience with the same problem I would appreciate any
 comments.
 
 --
 
 Adam Cassar
 Technical Development Manager
 ___
 NetRegistry http://www.netregistry.au.com
 Tel: +61 2 9641 8605 | Fax: +61 2 9699 6088
 PO Box 270 Broadway NSW 2007 Australia
 
 
 

-- 
-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8605 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




Re: Standard Err stream

2000-12-14 Thread Adam Cassar

java -jar orion.jar

-out [file] - specifies a file to route standard output to
-err [file] - specifies a file to route error output to

On Thu, Dec 14, 2000 at 03:35:17PM -0800, Seung Bang wrote:
 Hello,
 Where does 'System.err.println()' print?
 For debugging purpose, I put some System.out.println() statements.
 Of course, it prints messages on the console window where I started
 orion.
 However, if I run the orion server in the background and close the
 console window,
 there is no way of viewing the debug messages.
 Instead, I used System.err stream and I noticed it did not log any
 message in any
 log files. If any of you have experience with other servers such as
 Caucho's resin
 server, you may have noticed that it logs everything out of standard
 error stream
 in a specific log file. I believe orion has something equivalent to
 that.
 Or at least something very close to that. Please help. Thanks a million.
 
 
 
 
 




Value Objects and Entity References

2000-12-13 Thread Adam Cassar

'lo all,

I am enquiring about peoples experiences with value/detail objects and entity
references.

Some of the entity beans that I have are persisting entity beans (ie their pk's - 1 to 
1 relationships). If I have a detail object with the entity bean as a
attribute, when returning the detail object to the client, I only get null.

I take it this is because an entity bean is not serializable. Is the best
solution to return a handle and get the detail object to look it up?

How are other people on this list handling this?




Re: Collection of entity beans

2000-11-23 Thread Adam Cassar

I use the following in my orion-ejb file that persists a list of 'dns records'

cmp-field-mapping name="dnsRecords"
list-mapping table="dnsrecord"
primkey-mapping
cmp-field-mapping name="domain_id" 
persistence-name="domain_id" /
/primkey-mapping
value-mapping type="blah.DNSRecord"
cmp-field-mapping
fields
cmp-field-mapping 
name="_class" persistence-name="class" /
/fields
/cmp-field-mapping
/value-mapping
/list-mapping
/cmp-field-mapping

On Thu, Nov 23, 2000 at 08:50:32AM +0100, Giorgio Angiolini wrote:
 Thanks for the response !
 
 Does anyone have some examples  of ejb-jar.xml with one entity bean with
 collections of entity beans ?
 Thanks.
 
 Giorgio
 
 
 
 Mike Cannon-Brookes ha scritto:
 
  just use it as you would any other collection. Orion is smart enough to
  persist the primary keys of each entity in the relation.
 
  -mike
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Giorgio
   Angiolini
   Sent: Wednesday, November 22, 2000 7:48 PM
   To: Orion-Interest
   Subject: Collection of entity beans
  
  
   Repost for mail server problem (sorry !)
   Hello
   I have just read the nice  article "Advanced Object-relational mapping"
   found in orionsupport.com (thank's Joe Walnes !).
  
   The following types of field can be mapped within entity beans:
   1) Simple object and primitives
  
   2) Object
  
   3) Serializable objects (A.K.A BLOB)
  
   4) Entity references
  
   5) Collection
  
   One question: how can I use the container managed persistence with
   collection of entity references ?
  
   Thank's a lot !
  
   Giorgio
  
  
  
  
  
  
 
 




Re: custom finder duplication

2000-11-21 Thread Adam Cassar

Thanks for you help,

I ended up just copying the autogenerated finders and just modified the query

On Mon, Nov 20, 2000 at 03:33:00PM +0100, Robert Krueger wrote:
 At 00:07 21.11.00 , you wrote:
 'lo all
 
 i'm having a wierd problem with custom finders with orion 1.3.8 and later:
 
 a) custom finders to orion cmp fields such as
  - entity references and
  - collections
 
 b) my finders are being duplicated in orion-ejb.jar.xml ie
 
 finder-method query="select domain.domain_id, domain.domain, 
 domain.tld_id, domain.owner_id, domain.admin_id, domain.tech_id, 
 domain.bill_id, domain.created, domain.modified, domain.expire from domain 
 where domain.owner_id = $1" partial="false"
  method
  ejb-nameSomeName/ejb-name
  method-intfHome/method-intf
  method-namefindByOwner/method-name
  method-params
  method-paramlong/method-param
  /method-params
  /method
 /finder-method
 
 gets duplicated later in the deployed xml file however the first line will 
 read
 instead
 
 finder-method query=""
  !-- generated sql: blah blah blah
 
 does anyone have any ideas?
 
 check if you've misspelled the ejb-name in your finder definition. if you 
 did that's exactly the behaviour orion exhibits. maybe we should file this 
 as a bug report because orion should complain that one tries t define a 
 finder method for a non-existent ejb. that's a tricky one to find. I've had 
 the pleasure just a few days ago ;-).
 
 HTH
 
 robert
 
 --
 
 Adam Cassar
 Technical Development Manager
 ___
 NetRegistry http://www.netregistry.au.com
 Tel: +61 2 9641 8605 | Fax: +61 2 9699 6088
 PO Box 270 Broadway NSW 2007 Australia
 
 (-) Robert Krüger
 (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
 (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de
 
 




custom finder duplication

2000-11-20 Thread Adam Cassar

'lo all

i'm having a wierd problem with custom finders with orion 1.3.8 and later:

a) custom finders to orion cmp fields such as 
- entity references and
- collections

b) my finders are being duplicated in orion-ejb.jar.xml ie

finder-method query="select domain.domain_id, domain.domain, domain.tld_id, 
domain.owner_id, domain.admin_id, domain.tech_id, domain.bill_id, domain.created, 
domain.modified, domain.expire from domain where domain.owner_id = $1" partial="false"
method
ejb-nameSomeName/ejb-name
method-intfHome/method-intf
method-namefindByOwner/method-name
method-params
method-paramlong/method-param
/method-params
/method
/finder-method

gets duplicated later in the deployed xml file however the first line will read
instead

finder-method query=""
!-- generated sql: blah blah blah

does anyone have any ideas?

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8605 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




DeadlockException

2000-11-14 Thread Adam Cassar

Does anyone know what the following error means?

11/14/00 10:51 PM Error in bean com.netregistry.aucom.accounting.BillingAccount: Error 
in ejbPassivate
com.evermind.server.DeadlockException: Deadlock detected: thread 11 is waiting for 
resource entity 1003 held by thread 11

Any ideas on how to track it down?





Re: orion server works with jdk 1.3???

2000-11-14 Thread Adam Cassar

or do you mean ibm's jdk1.3 crashes? :)

On Tue, Nov 14, 2000 at 01:51:50PM +0200, [EMAIL PROTECTED] wrote:
 I work with SUN's jdk1.3 (with server Hotspot )on Win200, but Orion crashes
 with IBM's jdk1.3.
 
 
 Bernshtam Pavel   053-398944
 Certified Java 2 Programmer   [EMAIL PROTECTED]
 
 M.Sc. student at CS department, BGU[EMAIL PROTECTED]
 http://www.cs.bgu.ac.il/~barnshte
 http://www.enow.comA million minds a minute!
 
 
  -Original Message-
  From: Robert Krueger [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, November 14, 2000 11:50 AM
  To: Orion-Interest
  Subject: Re: orion server works with jdk 1.3???
  
  
  At 09:16 14.11.00 , you wrote:
  hi,
  
  I used to work with orion server with jdk 1.2.2. Recently I 
  installed jdk 
  1.3 and uninstalled jdk 1.2.2. Now I am not able to start 
  orion server. I 
  get the error message saying that could not find version 
  number 1.3 for 
  jre in program files/java soft/jre.
  
  any idea?
  
  has nothing to do with orion. it's something with your registry being 
  screwed up by installing/uninstalling, typical M$ problem. 
  I've had that a 
  ages ago but don't remember the solution :-(.
  
  robert
  
  thanks in advance.
  
  krishna
  _
  
  Get Your Private, Free E-mail from MSN Hotmail at 
 http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at 
 http://profiles.msn.com.
 
 
 
 (-) Robert Krüger
 (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
 (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de
 
 




Re: Postgres and Orion

2000-08-14 Thread Adam Cassar

We are using Orion with Postgres v7 here and we have no such problem.

On Mon, Aug 14, 2000 at 12:06:07PM -0400, KirkYarina wrote:
 FWIW, we found major problems with postgresql.  Running a test that created 
 and deleted EBs caused index and data files to grow 
 continuously.  Recovering data space took a "vacuum" command, but the only 
 way to recover deleted index file space was to copy tables.  In addition 
 every test run was slower than the one before it - from my notes when run 3 
 times each run took twice as long as the one before.  The same tests took 
 the same time every run when using Hypersonic or Sybase.
 
 This was several months ago, so perhaps it's been fixed.  We deleted 
 postgres and moved on...
 
 Our old data-sources.xml section is below, just in case it helps.  I 
 believe I had to edit the database-schema file to change null="null" to 
 null="" also.
 
 Kirk Yarina
 
 At 05:58 PM 8/12/00 -0700, you wrote:
 Are the postgres drivers built in to orion?  I want to make some changes to
 them.
 
 I'm trying to use postgres as my datasource in Orion.  It sets up fine, but
 I need to make some changes to the driver implementation.  I'm having a
 bunch of problems with the date and timestamp implementations.  I found on
 the PostGres mailing lists that it's a pretty common problem and you just
 have to modifiy ResultSet for your setup.
 
 The problem I'm having is that I can't seem to override the drivers in
 orion.  I've tried putting a jar of postgres drivers in the orion/lib
 directory, but it still seems to be using some other drivers.
 
 -Lkb
 /**
   * @author: Lorin Kobashigawa-Bates [EMAIL PROTECTED]
   * @title:  CodeMonkey / COO - Robot6 Inc.
   * @phone:  415.345.8872
   * @addr:   1177 Polk St. San Francisco, CA 94109
   */
 
 from datasources.xml:
 
  data-source
  name="Default data-source"
  class="com.evermind.sql.ConnectionDataSource"
  location="jdbc/DefaultDS"
  pooled-location="jdbc/DefaultPooledDS"
  xa-location="jdbc/xa/DefaultXADS"
  ejb-location="jdbc/DefaultEJBDS"
  url="jdbc:postgresql://ourhost/ejbtest"
  connection-driver="org.postgresql.Driver"
  username="admin"
  password="123"
  schema="database-schemas/postgresql.xml"
  /
 
 
 Kirk Yarina
 [EMAIL PROTECTED]
 
 

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Orion hardware?

2000-08-08 Thread Adam Cassar

Funny,

We are using 4500's here and they haven't skipped a beat.

On Mon, Aug 07, 2000 at 06:23:07PM -0700, Kevin Duffey wrote:
 Orion hardware?Hi,
 
 We had some disaster problems with IBMs NetFinity racks. We had to send all 5 back 
at various times. The HDs died, the systems overheated, etc. They looked nice in 
principal, but in reality they didn't hold up so well. We now use Dell servers which 
kick ass. IBM generally makes good hardware..but these 4000 racks were terrible. I 
think they didn't alot much space for heating. They are small..only 1.5 ru's and all.
 
   -Original Message-
   From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Hani Suleiman
   Sent: Monday, August 07, 2000 3:26 PM
   To: Orion-Interest
   Subject: Orion hardware?
 
 
   I've almost convinced my company to go with Orion as our choice of application 
server (vs Dynamo, which is horrific). Now, the intended hardware is a bunch of IBM 
servers, dual pentium's with 1gb of ram, with an F5 load balancer in front. Has 
anyone experienced any issues with scalability given this hardware? The main concern 
voiced against Orion is that it isn't a big reliable company that can be held 
accountable, so I'm concerned on the level of support available. Has anyone had any 
negative experience here?
 
   Also, in terms of OS choice, is anyone happily running a high load site under 
linux? 
 

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





orion-ejb-jar.xml

2000-08-07 Thread Adam Cassar

greeting,

i am a little confused about some of the tags/attributes in the above mentioned
file. specifically:

entity-deployment wrapper="blah"

when orion deploys the beans it sets the wrapper to some internal class. if we
supply our own orion-ejb-jar - what do we do with this paramater? can we
ignore it or should we stick with the one that orion originally generated?

i guess the same would go for the deployment-version tag etc - can we ignore them? 
also where should this file be placed in the jar for it to be used by
orion?

regards,

adam.

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Orion hardware?

2000-08-07 Thread Adam Cassar

Hello,

I am in a similar situation. However Orion is up against the likes of
WebLogic, WebSphere and IAS.

On Mon, Aug 07, 2000 at 06:25:53PM -0400, Hani Suleiman wrote:
 F5 load balancer in front. Has anyone experienced any issues with
 scalability given this hardware? The main concern voiced against Orion is
 that it isn't a big reliable company that can be held accountable, so I'm

Can any of the companies be truely held accountable? I know WebLogic's support
is awesome, while not expecting the same level of support with Orion,
how reliable is the support, and how reliable is the server in a production
environment?

 concerned on the level of support available. Has anyone had any negative
 experience here?

The hardware should scale well. What type of DB are you using, will it be
on a dedicated machine? It sounds like your site will be getting a large
amount of hits. How are you handling session data accross multiple machines?
Is session data available to all the machines in an Orion cluster, or are
you using a db to store such information?

 Also, in terms of OS choice, is anyone happily running a high load site
 under linux?

We run many high load sites under Linux and NFS for stared storage -
however not using Orion. Will be able to say more in two months and would be
keenly interested in how your project goes.

Linux can easily handle the load. I might suggest however going to a 2.4
kernel when available if you are expecting a high load on the box.

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Error starting HTTP-Server: Permission denied

2000-08-02 Thread Adam Cassar

Thanks for the link Earl.

I recompiled the library and copied libNativeSupport.so to /usr/local/orion/liborion.so

I then started the server with

java -Dnative.user=orion -Djava.library.path=. -jar orion.jar -console2

I receive the following on the output - however the console doesn't start up :(

Setting native user to orion... done.
Orion/1.1.24 initialized

The server starts up, a "ps aux | grep orion" reveals that the server
is still running as root. Is this because:

(1) I am running Orion/1.1.24 or
(2) When a new thread is spawned the server then changes the owner

??

Thanks for the help.

On Wed, Aug 02, 2000 at 08:01:40AM -0600, Earl Marwil wrote:
 Adam,
 
 See http://www.orionsupport.com/?key=users on how to set this up. I had to 
 recompile the .so file for my environment. Note that the (re)deployment 
 occurs before the server is bound to the port, so that certain files are 
 still owned by root which can create problems downstream. After the port is 
 bound, then the hand off is made to the "native user".
 
 Hope this helps,
 
 Earl
 
 
 At 09:48 8/2/00 +1000, Adam Cassar wrote:
 Is there any way to get Orion to drop root privilages after binding to
 the port?
 
 On Mon, Jul 31, 2000 at 05:39:18PM +0200, Mattias Arbin wrote:
  
  
  
Mattias Arbin wrote:
   
 I am trying to setup a linux user (Red Hat 6.2) to run orion.
 When starting Orion I get the error:

 Error starting HTTP-Server: Permission denied
 Orion/1.1.37 initialized

 Nothing in the logs.

 Any ideas?

 /Mattias
   
Hi Mattias,
   
Normally, that happens when you're trying to launch orion without root
privileges. Ports below 1024 are reserved and can only be bound by
root-owned programs.
There are several solutions, but the easiest is to choose:
   
1 - You want Orion to listen to port 80 (the standard http port) and so
you must launch it on a root prompt
2 - You don't mind if Orion does not listen to other port (say, for
instance, 8080), but you want to launch it from an ordinary user
account. In this case, you must edit the
orion_path/config/default-web-site.xml
and on the web-site ... tag, change the port from port="80" to
port="8080".
   
In theory either one of these solutions, will make the permission denied
error go away
   
Best Regards,
   
Fábio
  
   Thanks. That explains the error.
   However, my problem was not that I could't start Orion. I have run it as
   root until now.
   I just thought that it might be good, for security reasons, to create a 
  user
   with
   less priviliges than root, to run Orion.
  
   /Thanks,
   Mattias
  
  
  
 
 --
 
 Adam Cassar
 Senior Web Developer
 ___
 NetRegistry http://www.netregistry.au.com
 Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
 PO Box 270 Broadway NSW 2007 Australia
 
 Earl Marwil
 SCIENTECH, Inc.
 1690 International Way
 Idaho Falls, ID 83402
 208.525.3717
 

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Latest Version

2000-08-02 Thread Adam Cassar

I have noticed on previous postings talk about Orion v1.1.30. Where
does one get this version? The WWW site only has 1.1.24

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Latest Version

2000-08-02 Thread Adam Cassar

How can I get that to use a proxy?

On Wed, Aug 02, 2000 at 11:42:51PM -0600, Mike Clark wrote:
 You can download version 1.1.24 and then use...
 
 java -jar $ORION_HOME/autoupdate.jar
 
 This will update the installation to 1.1.30+.
 
 Mike
 
 
 Adam Cassar wrote:
 
  I have noticed on previous postings talk about Orion v1.1.30. Where
  does one get this version? The WWW site only has 1.1.24
 
  --
 
  Adam Cassar
  Senior Web Developer
  ___
  NetRegistry http://www.netregistry.au.com
  Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
  PO Box 270 Broadway NSW 2007 Australia
 
 --
 //
 //
 //  Mike Clark
 //
 //  Clarkware Consulting
 //  Enterprise Java Architecture, Design, Development
 //
 //  http://www.clarkware.com
 //  [EMAIL PROTECTED]
 //  +1.720.851.2014
 //
 
 

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Latest Version

2000-08-02 Thread Adam Cassar

found it: 

its

java -DproxyHost=blah -DproxyPort=blah -jar autoupdate.jar


-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





ejb client problem

2000-07-31 Thread Adam Cassar

would anyone have any idea what this exception means?

err: java.lang.ClassCastException: __Proxy2

The error occurs when I call the home create method.


-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia