Re: Oracle Sequences and CMP

2001-02-18 Thread Alex 'Kazuma' Garbagnati
I'm trying to use CMP for beans that map to tables in which the primary key is an integer that comes from an Oracle SEQUENCE. How do I get the container to get the next number from the appropriate SEQUENCE on a create? You could build a Session Bean that will take care of connecting directly

(no subject)

2001-02-18 Thread mastmalanga
hello everyone, I an new to use orion and this list. While using the ejb examples shipped with orion I faced a problem, I introduced the hello() method in one of the ejb, after deploying them, It showed me the error abstract method defined , and sometimes no such method found, when I removed

Java Con: NY: First week march. Anyone going?

2001-02-18 Thread Dan Winfield
If any of the people on this list would like to meet up please email me and we can arrange to meet offline from this list. I will post though when a meeting time has been decided for any last minute Dan Site http://www.javacon2000.com/

java.io.StreamCorruptedException

2001-02-18 Thread Nils Frohberg
Hi, since i have update to 1.4.7 i found this message in the log files: Error restoring application state: java.io.StreamCorruptedException (InputStream does not contain a serialized object) it occurs only from time to time (e.g. everytime orion is started and the first request comes along).

RE: Oracle Sequences and CMP

2001-02-18 Thread Mike Cannon-Brookes
Quite simply, you can't ;) EJBs must generate their own primary keys. The only way you can do this is have another bean that runs a custom SQL query to get a new ID from the sequence and then use that. But this is very ugly, not DB independent and involves coding SQL in your bean. I don't

RE: Not authorized to view this page

2001-02-18 Thread Adamson, Scott
Title: SV: Not authorized to view this page I do know how to manage these problems - hack away at it for a few hours (quite used to doing that on my own time with open source stuff), but I'd prefer not to have to deal with trivial crap that can take up a lot of time. I also prefer to use

Orion performance tuning

2001-02-18 Thread Mark Helms
We are investigating Orionserver to replace Apache Tomcat. We could use any input on performance tuning for servlets. Has anyone seen a matrix or formula for initial values that might help us out? We have approximately 100 internal users that hit the server serving ~90 objects with

RE: Not authorized to view this page

2001-02-18 Thread Kemp Randy-W18971
Good point, Scott. Never make judgements about a person until you have walked a mile in his mocassins -- old Native American proverb. Or here is my own saying. Someday my teacher may be my student and my student may be my teaccher. -Original Message- From: Adamson, Scott To:

Applets in J2EE Presentation Layer

2001-02-18 Thread Jay Abraham
A few months ago there was a spirited discussion about the possible demise of the applet wrt to J2EE application development. I'm unable to find this thread in the archives. Does anyone have any link to it? Also, is there anyone who is currently using, or has previously successfully used,

Re: How can I run two instances of orion on single m/c

2001-02-18 Thread Mohit Palhan
I am sorry for being extremely late in my reply but I guess you would be knowing by now!! If not then you just change the port number in the rmi.xml file in the config directory :-\ ?xml version="1.0"?> !DOCTYPE rmi-server PUBLIC "Orion RMI-server"

How to define a data type in cmp field???

2001-02-18 Thread setareh jalili
Hi, I'm developing an EJB component based on CMP and I'm facing a limitation in orion's CMP engine: how can I map a field of my ejb to a long database field? The field is a variable-length long java.lang.String field used for comments a user enters, and I want it to store it in database using