RE: Using Log4j With Orion

2001-02-19 Thread Torgeir . Lerkerod
Hi, cat.debug("message")and friends works on most appservers. What the spesification says is that you can't open a file input/outputstream directly from an ejb and this is because of portability. So output to screen should always be possible from an ejb. And this is what log4j does its realy

RE: Using Log4j With Orion

2001-02-16 Thread Torgeir . Lerkerod
Hi, We have done this. By writing a tree part solution. We wrote a little servlet that sets up default things in a singelton class that handels all log calls through it. We than also wrote a jsp page to set the debuglevels for classes. As you know log4j defaults to info. turning on debug and

RE: JNDI Lookup from Applet

2001-02-12 Thread Torgeir . Lerkerod
Hi, The simpel answer is everything. You need the include orion.jar and all it friends. I know this is a pain in the neck as it adds around 3mb to the application and hurts us a lot her. (Thats the one of the reasons why I am sitting her at the moment porting xml files to be valis so the

RE: JNDI Lookup from Applet

2001-02-12 Thread Torgeir . Lerkerod
Hi, Commenting on myself. I forgot to add the client side code Just remeber you can only make a context once from a client. Then you must reuse that one to get the ejb-instances. Her it is initialisation: java.util.Hashtable env = new java.util.Hashtable();

RE: Out of memory

2000-10-05 Thread Torgeir . Lerkerod
start with java -mxmemory -jar orion.jar By default the java VM doesn't support more than 64mb of memmory used. I normally run with -mx256m (mx is the max memmory allowed to a client) Regards, Torgeir Lerkerod -Original Message- From: Stanislav Maximov [mailto:[EMAIL PROTECTED]] Sent

RE: 1.3.8 on NT causing Dr. Watson

2000-10-03 Thread Torgeir . Lerkerod
You are seeing the diference between nativ and greenthreads... Regards, Torgeir Lerkerød -Original Message- From: Dale M. Boresz [mailto:[EMAIL PROTECTED]] Sent: 3. oktober 2000 16:17 To: Orion-Interest Subject: Re: 1.3.8 on NT causing Dr. Watson For what it's worth, here's what I've

SV: SV: orion hangs when out of connections

2000-09-25 Thread Torgeir . Lerkerod
1.3.8 and remember this isn't really a problem. It only shows up when processing large amount of data. Normal use wouldn't give you a problem, but when you access every record in tables with millons of records it will show up. A coworker of mine ran into the same problem. We have just learned

SV: orion hangs when out of connections

2000-09-21 Thread Torgeir . Lerkerod
Title: RE: orion hangs when out of connections I do some heavy mathematics and statistics calculation in a bean and then build a a datawarehouse out of the processed data. On the initial processing I read about 10 -12 million records and wrote about 1,5 million records. Needles to say the

RE: Specifying finder-methods (full query)

2000-09-13 Thread Torgeir . Lerkerod
You forgot to mention that you can write out a full Sql stment with joins and so on. I use it a lot because of the datastructure we have here. To this one have to edit the orion-ejb.xml and insert a complet vaild sql statment which only returns the fields you have in the ententity object. In

RE: ejb.deployment.ContainerManagedField ERROR, PLEASE HELP

2000-08-24 Thread Torgeir . Lerkerod
I already spent 6 hours trying to figure this one out. I use Java SDK1.3, Jikes, J2EE 1.21 and Orion 1.2.0 ^^ This might be your problem. If you have non ascii 0-127 characters in the source file it will miscompile under orion with jiikes. Some time back I spent 6

RE: EJB stub classes and stand-alone remote java client

2000-08-22 Thread Torgeir . Lerkerod
As indicated by an e-mail from Karl Alvdal of the Orion team earlier today they are working on a lightwight library which will remedy this. As for makeing jars with home and remote interfaces, it's easy to automate this task with a shell-script, bat-file or using ant. The later is what we

RE: autoupdate - proxy problem?

2000-06-30 Thread Torgeir . Lerkerod
Use : java -DproxyHost=name of proxy -DproxyPort=poxy port number -jar autoupdate.jar Regards Torgeir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 30. juni 2000 13:58 To: Orion-Interest Subject: autoupdate - proxy problem? Hi all, OK, I am trying to use

Applet and Orion. Please help!

2000-06-20 Thread Torgeir . Lerkerod
Hallo! This question is perhaps not orion specific, but bear with me. I am a bit desperate. This is the case: I have an application running as an applet inside jave-plugin version 1.3. I have signed the .jar files which are used with a self made certificate and jarsigner -verify says it's

findAll() in Orion 1.0 rc1

2000-05-29 Thread Torgeir . Lerkerod
Halo folks! I have been trying to make a find all function with Orion 1.0 rc1 and I get a warning message that tells me that the resultsett is already closed. This cant be the case as all I do is this: Context context = new InitialContext(); Bruker_navnHome home =