RE: PostgresJDBC Driver w/ Orion under load

2001-04-20 Thread Gerald Gutierrez
The PostgreSQL JDBC driver has a major "problem" in that it uses ThreadLocal objects to cache SimpleDateFormat instances in PreparedStatement.java. ThreadLocal objects leak memory, and is reported acknowledged in Sun's bug report tool. Eventually a server will run out of memory. -Original

request.getHeaders() totally broken

2001-04-04 Thread Gerald Gutierrez
It seems that request.getHeaders() is completely broken in Orion 1.4.7. If I call: request.getHeaders("Accept") And the HTTP request has the HTTP header: Accept: (that is Accept header with no value), Orion happily goes into an infinite loop and then eventually breaks out with an

RE: How to specify a servlet as a main page

2001-04-03 Thread Gerald Gutierrez
Title: SV: How to specify a servlet as a main page The simple solution is to write a simple JSP page and have it forward to your servlet. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrik AnderssonSent: Tuesday, April 03, 2001 10:57

RE: Connection Pooling

2001-03-27 Thread Gerald Gutierrez
Refer to Orion documentation on the data-sources.xml file. You can find the documentation links through the orionserver web site. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kesav Kumar Sent: Tuesday, March 27, 2001 10:08 AM To: Orion-Interest

RE: Removing SBs when expiring HttpSessions ... the challenge continues.

2001-03-23 Thread Gerald Gutierrez
As with anything, the devil is in the details. SBs expire in one of a number of ways. The two main ways are: you call remove() or they time out. This is well known. So if you have your SB bound to an HttpSession, everything works and you get get your SB from the session at any time. The REAL

RE: Orion doesnt' start as other user then root ??

2001-03-22 Thread Gerald Gutierrez
This is unnecessary. The IP chains mechanism in the Linux kernel can forward packets from one port to another, allowing orion to run as anyone (perferably as someone that has only permissions to do what it has to do). It still requires that the user have root acess so that he can set up the

RE: Orion Memory Configuration

2001-03-22 Thread Gerald Gutierrez
Uhh .. didn't the original poster say that he's using the memory options already? He executed "java -Xms512m -Xmx1024m -jar orion.jar". I have a similar problem where I have at least 200MB of memory free still and Orion is dying at about 90MB with an OutOfMemoryException. -Original

RE: bad timestamp confusion

2001-03-21 Thread Gerald Gutierrez
The problem seemed to have gone away when I tried the PostgreSQL 7.1b5 driver. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie Sent: Wednesday, March 21, 2001 4:55 AM To: Orion-Interest Subject: bad timestamp confusion Just like other people in

Removal of SBs from expiring HTTP sessions ...

2001-03-15 Thread Gerald Gutierrez
I posted this msg this morning, but I haven't seen it appear on the list yet. I'm reposting in case it was lost ... Session beans (SBs) must have their remove() methods called in order to "clean up" and return to an app server's object pool. I believe one common use of SBs is to create them

Spinning Thread

2001-03-12 Thread Gerald Gutierrez
Hi all, I've been getting some strange behaviour from Orion. After I deploy, it usually runs fine for several hours, but eventually I get a thread that just spins and sucks up all the CPU time. At this point, it is no longer possible to connect to the server. The applications I'm running are

Orion/Linux, kill -9, and dead server

2001-03-09 Thread Gerald Gutierrez
Hi all. I'm doing some testing with Orion 1.3.8 (higher versions have bugs that make it unusable for me right now) on Linux 2.2.14 and JDK1.3.01 with the Hotspot server VM. I have three applications running, two purely with CMP EBs and one with BMP EBs. Practically every time I have the

Re: Jikes 1.12 compiled code is bad!

2001-02-14 Thread Gerald Gutierrez
I've been using Jikes 1.12 for .. ever, I guess. I've not had problems. I'm using Orion on Windows 2000 and Linux. At 02:52 PM 2/14/2001 -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

Re: classloader

2001-02-13 Thread Gerald Gutierrez
Try using the current thread's context class loader in the forName() statement. This has allowed me to load some classe that I otherwise could not get to load. At 07:21 PM 2/13/2001 +0100, you wrote: I'm trying to use Class.forName in the startup of an application running in Orion. It simply

Re: Form-based authentication not working right

2001-02-06 Thread Gerald Gutierrez
At 09:07 AM 2/6/2001 -0700, you wrote: Gerald, I tried your exact example (see attached zipped up web app) and everything worked just as it should (using orion 1.4.5). Once again I ask, what happens if you remove the security and simply request the secured page? Then I get the secured page.

Form-based authentication not working right

2001-02-05 Thread Gerald Gutierrez
Recently I asked about form-based authentication. I appreciate the help several people gave, but from the responses I got it seems that I might have miscommunicated somehow. I'm going to try again, this time explaining myself better. I'm using Orion 1.4.5 on Windows 2000. The same thing

Re: embedded servlet tag

2001-02-02 Thread Gerald Gutierrez
What would this do? There is the include tag that lets you include the output of a servlet in another. jsp:include page="..."/ and an include directive for "verbatim" include of another JSP page: %@ include file="..."% At 08:00 PM 2/1/2001 -0800, you wrote: Does anyone know if there is

RE: When using autonumber for the primarykey...

2001-02-01 Thread Gerald Gutierrez
You can always just use direct JDBC calls, or database-specific auto incrementing fields or other sequence number constructs. At 06:01 PM 1/31/2001 +, you wrote: I'm using the counter.jar which is fine, but does it have any impact on performance ? Ok, the EJB spec doesn't support id

Form Login bouncing me to welcome page!

2001-02-01 Thread Gerald Gutierrez
I've searched the mailing list, but there doesn't seem to be information on this. I'm a little desparate now. I'm using a form-based login for my web application. When a user hits Login.jsp, s/he must log in. I have the LoginForm.jsp and LoginError.jsp files in / of my context root. This

Re: Form Login bouncing me to welcome page!

2001-02-01 Thread Gerald Gutierrez
I agree that is the correct sequence, but that is not what I get. Assume I have a welcome file defined called welcome.jsp. The sequence of events is: - User requests secured page /Login.jsp - User is redirected to LoginForm.jsp - User enters correct credentials - User is logged in - User is

Re: Compiling tag libraries - with which IDE?

2001-01-29 Thread Gerald Gutierrez
I use ANT and JIKES to compile. The tags work for me. The only gotcha there is with it is that the entire runtime expression has to be enclosed in %= %, not just a part of it. At 04:34 PM 1/29/2001 +0100, you wrote: Hi Is anyone of you able to compile your own custom tags which take runtime

What is this strange error?

2001-01-23 Thread Gerald Gutierrez
I'm trying to deploy a very simple application, and am getting the error "Invalid principals config URL: principals.xml". What in the world does this mean? I've had this problem all the way from 1.3.x up to 1.4.5 and no one has been able to tell me what it means, or why it happens, or what I

Re: Port forwarding

2001-01-22 Thread Gerald Gutierrez
At 11:15 AM 1/22/2001 -0500, you wrote: Has anybody gotten port-forwarding to work? I want orion to run as non-root user on Linux.I did see: http://www.orionsupport.com/articles/unixprocess.html Works here. There are two separate pieces: the forwarding and Orion. Make sure each

RE: Single Sign On

2001-01-18 Thread Gerald Gutierrez
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Gutierrez Sent: 02 December 2000 20:09 To: Orion-Interest Subject: Single Sign On Does Orion do any sort of single sign-on for multiple applications deployed on the same application server? If so, how

Attempt to write longer than content-length?

2001-01-12 Thread Gerald Gutierrez
What does this mean? java.lang.IllegalArgumentException: Attempted to write longer than Content-Lengt h (2182 + 34 / 2182) at com.evermind.server.http.ez.write(JAX) at com.evermind.server.http.EvermindJSPWriter.r2(JAX) at

Re: Open source and license

2001-01-05 Thread Gerald Gutierrez
At 12:40 PM 1/5/2001 -0600, you wrote: If Orion is a full J2EE implementation, they are probably right in not legally releasing the source code as open source. I found this in the openEJB letter archive at http://openejb.exolab.org/list-archive/msg00103.html, under www.openejb.org So what

Bug or not? JSP servlet-mapping of /*

2000-12-14 Thread Gerald Gutierrez
I have a JSP page that I map to /* using servlet-mapping, so that all requests to anything within my application go through it. When I tried to get the path info (getPathInfo()), I found that I always get an empty string regardless of the URL that I hit the application with. Everything,

RE: www.orionserver.com down again

2000-12-14 Thread Gerald Gutierrez
At 12:41 PM 12/14/2000 +0100, you wrote: As to linux stability (especially with Java), the figures confirm my suspicions that linux is not ready for primetime... Can you elaborate on what figures these are? Jeroen T. Wenting [EMAIL PROTECTED] Gerald.

www.orionserver.com down again

2000-12-13 Thread Gerald Gutierrez
Once again the web site is down. This time a scan shows me that something is listening on port 80, and one can connect to it via [telnet www.orionserver.com 80], but nothing comes back. I'm not sure about the other customers and potential customers of the Orion server, I'd like some

Re: /servlet/TestServlet to /exec/TestServlet ??? how ???

2000-12-06 Thread Gerald Gutierrez
Look up "servlet-mapping" in the servlet specification. That is exactly what you're looking for. At 06:01 PM 12/6/2000 +0500, you wrote: Hello, Want to know how to convert http://localhost/servlet/TestServlethttp://localhost/servlet/TestServlet to

Single Sign On

2000-12-02 Thread Gerald Gutierrez
Does Orion do any sort of single sign-on for multiple applications deployed on the same application server? If so, how can one get this working?

Single Sign On

2000-11-29 Thread Gerald Gutierrez
Does Orion do any sort of single sign-on for multiple applications deployed on the same application server? If so, how can one get this working?

Re: Does Orion work woth Ms access

2000-11-28 Thread Gerald Gutierrez
The data source names, the driver class (e.g. the ODBC bridge) and the URL. Refer to Sun documentation on how to use the ODBC bridge. At 06:17 PM 11/28/2000 +, you wrote: hi, I would like to test Orion server with different Databases. Has any one tried Orion with Ms access Database. What

Re: Anyone using Orion in production? [long]

2000-11-24 Thread Gerald Gutierrez
However I can sympatize with Karl and Magnus. EJB is a very new technology. Shipping the source makes it relatively easy for the competition to copy the product which of course is the downside. But I think shippingg the source would be for the better of the server. Nobody is perfect and if all

RE: Anyone using Orion in production? [long]

2000-11-24 Thread Gerald Gutierrez
At 05:36 PM 11/24/2000 -0800, you wrote: You know..while I would love to see source for the sole purpose of allowing us to help the Orion team debug and fix problems (not to allow a fork of the product), I think everyone needs to think about other products. Do you think WebLogic, Inprise, Oracle,

Re: Can`t deploy Orion-Primer

2000-11-24 Thread Gerald Gutierrez
3Ch is the character "", which cannot appear literally in an XML document. You do have an "illegal character". Nor is a "" a legal character, or a number of other ones. Check the XML specification at www.w3c.org. Gerald. At 06:22 PM 10/24/2000 +0200, you wrote: Hi, I followed the orion

RE: Instantiate more than one session bean

2000-11-21 Thread Gerald Gutierrez
Would implementing SingleThreadModel "fix" this? At 10:57 AM 11/21/2000 -0300, you wrote: that's valid... but be careful... some servlet engines are known to 'reuse' the same instance of a servlet many times -Original Message- From: Storm Linux User [mailto:[EMAIL PROTECTED]] Sent:

Re: server.xml fails -validateXML

2000-11-21 Thread Gerald Gutierrez
I tried the option once, and it gave me errors about ejb-jar.xml (or some other XML) files at a certain line number, and that line number doesn't even exist. I then tried a freshly unzipped version of Orion, followed the instructions exactly to deploy the News application, and ran java -jar

What's wrong with this principals.xml?

2000-11-21 Thread Gerald Gutierrez
What's wrong with the principals.xml and orion-application.xml files below? - ?xml version="1.0"? !DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" "http://www.orionserver.com/dtds/principals.dtd"

Why's www.orionserver.com down so often?

2000-11-19 Thread Gerald Gutierrez
I frequent the Orion web site daily looking for information. And frequently, it's down. The computer itself is not down, because I can ping it and I can scan it (see below), but the web server (which I assume is the Orion server) is, many times, not running. Is this representative of the

Common servlets in multiple WAR modules

2000-11-19 Thread Gerald Gutierrez
I have multiple WAR modules that both use a common servlet. I noticed that the ATM example duplicates its taglib JAR files in the atm-wap and atm-web modules. Should I be duplicating the Java class files for the servlet in the different WAR modules as well?

WAR contexts in application.xml and default-web-site.xml

2000-11-19 Thread Gerald Gutierrez
What is the difference between the war-module context paths (the URL paths) that are specified in application.xml (context-root="...") and default-web-site.xml (root="...")? If I've already specified it in the J2EE-standard way, must I do it again in default-web-site.xml? Assuming that I

Re: Current Hypersonic SQL web page

2000-11-17 Thread Gerald Gutierrez
Disappeared two or three days ago for some reason. At 09:44 AM 11/17/2000 -0600, you wrote: I can't find the Hypersonic SQL link at http://hsql.oron.ch/. Does anyone know their current home?

RE: What does this error mean?

2000-11-16 Thread Gerald Gutierrez
e to the principals is to the right file, the one that lies in the same dir as orion-application.xml) Perhaps an autoupdate is in order? -Original Message- From: Gerald Gutierrez [mailto:[EMAIL PROTECTED]] Sent: MiƩrcoles, 15 de Noviembre de 2000 23:33 To: Orion-Interest Subject: What does

Precompiling JSPs

2000-11-16 Thread Gerald Gutierrez
Is there a way to get Orion to precompile JSP pages instead of having them dynamically compiled at runtime? This would allow much speedier authoring of these pages, I think. Thanks,

Re: EJB Assembler tool

2000-11-15 Thread Gerald Gutierrez
I've found that you need to add the class files to the "files" section of the EJB assembler before it'll find anything. Right click and do the "import" on the "files" section displayed on the left of the screen. At 04:39 PM 11/15/2000 +0100, you wrote: Did somebody successfull use the EJB

RE: EJB Performance Question.

2000-11-15 Thread Gerald Gutierrez
At 10:11 AM 11/15/2000 +0100, you wrote: At 14:48 14.11.00 , you wrote: Thanks Robert. I think I'll try running some benchmarks this week and post the results. I wonder.. is there a way for and EJB-EJB to be _forced_ to go through RMI? i.e. can I turn this optimization off? I don't think

Re: specify datasource for entity bean

2000-11-15 Thread Gerald Gutierrez
Put it inside the EAR file; I believe it goes into a special "orion" directory. I think that directory is called "orion" and is a sibling to META-INF. You can also do it on an application scope with orion-application.xml. At 11:52 AM 11/15/2000 -0600, you wrote: Hi, I may have missed it in

Re: EJB using core classes?

2000-11-15 Thread Gerald Gutierrez
Uhh ... isn't this unnecessarily vendor-specific? I've had utility classes used by both web and ejb layers and I just stick them with the EJB JAR file and things seem to work out fine. At 06:20 PM 11/15/2000 +0100, you wrote: snip/ At any rate..my main question here is, the EJB class in the

Re: orion server works with jdk 1.3???

2000-11-14 Thread Gerald Gutierrez
You're probably using Windows. This wouldn't happen on Linux. Somewhere, you've messed up the registry key that indicates what version of the Java Runtime you supposedly have installed. The easiest thing is to uninstall JDK1.3, and then reinstall it again. At 09:16 AM 11/14/2000 +, you

Re: orion server works with jdk 1.3???

2000-11-14 Thread Gerald Gutierrez
er about 5 minutes of continuous HTTP requests. To be fair, I don't think this would happen under Windows... which isn't to say I want to use Windows... but lets be fair. -Dan Gerald Gutierrez wrote: You're probably using Windows. This wouldn't happen on Linux. Somewhere, you've

Cannot get DataSourceUserManager to work

2000-11-14 Thread Gerald Gutierrez
People have indicated success with this user manager but I cannot seem to get it to work. I would appreciate some input those who have gotten it to work. I have the following in my orion-application.xml: security-role-mapping name="players" group name="players"/

Principals.xml, invalid URL?!

2000-11-14 Thread Gerald Gutierrez
In my quest to find a reliable way to authenticate, I've run against another problem (Orion 1.4.0, Windows 2000). This time I'm trying to use the default principals.xml. file. With the following line in my orion-application.xml, principals path="principals.xml"/ when I run Orion to

Re: Cannot get DataSourceUserManager to work

2000-11-14 Thread Gerald Gutierrez
should proceed. Any help would be greatly appreciated. Thanks. At 04:55 PM 11/14/2000 -0800, Gerald Gutierrez wrote: People have indicated success with this user manager but I cannot seem to get it to work. I would appreciate some input those who have gotten it to work. I have the f

RE: Cannot get DataSourceUserManager to work

2000-11-14 Thread Gerald Gutierrez
somewhere. Otherwise Orion is trying to map a group it thinks doesn't exist. -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Gutierrez Sent: Wednesday, November 15, 2000 11:56 AM To: Orion-Interest Subject:

OR?

2000-11-11 Thread Gerald Gutierrez
Lately lots of people have been talking about "object relations" and one-to-many mapping and such things as it pertains to EJB2.0. I'm not familiar with these concepts, and so am unable to follow the ongoing discussions. Can someone point me someplace where I can find some good (possibly

State of the Graphical Tools

2000-11-08 Thread Gerald Gutierrez
What's the state of the graphical tools? Can they replace editing of the DD files? I'm having trouble trying to use some of them. For example, how to you specify the select criteria for CMP findBy* methods?

Re: newsgroup forum

2000-11-07 Thread Gerald Gutierrez
Consider using an email client that threads messages. KMail, for example, does it well. On Monday 06 November 2000 12:47, you wrote: I agree! Using a newsgroup is a grand idea! Sure would make the threads alot easier to navigate. -Original Message- From: James Hays

Re: Two Orion Servers!

2000-11-07 Thread Gerald Gutierrez
http://www.orionserver.com/subscribe.html On Tuesday 07 November 2000 16:06, you wrote: Un-subscribe-me -Original Message- From: Joel Shellman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 07, 2000 2:35 PM To: Orion-Interest Subject: Re: Two Orion Servers! In

orion-*.xml

2000-11-02 Thread Gerald Gutierrez
The documentation describes these orion-*.xml files as being Orion-specific descriptors, but does not say where one can put these files inside the EAR/JAR/WAR files. I'm guessing that they go along side the standard descriptors because the filenames are their analogues (e.g. ejb-jar.xml to

Re: JavaBean - setter methods NOT being called!

2000-11-01 Thread Gerald Gutierrez
Perhaps delete the deployments directory and try again. On Wednesday 01 November 2000 03:28, you wrote: Lars Borup Jensen wrote: Hi! Anyone ever experienced a setXX method NOT being called on a JavaBean when using Orion = 1.3.8. Well, I have more than once.. When I write a

Orion-specific descriptors authentication API

2000-10-31 Thread Gerald Gutierrez
I have some questions regarding these Orion-specific deployment descriptors that I can't seem to find much information on. It would be great if someone can give me some pointers. In doing CMP entity beans, somewhere one must bind the bean to a data source. Apparently this is in