OR mapping (1/* relationship between 2 entity beans)

2001-10-03 Thread George Mardale
Hello everyone, I have an OR mapping that involves 2 entity beans, named Group and User, like in the following example: public class GroupBean implements EntityBean { ... List users; public addUser(User user) { users.add(user); } } So, I have an 1/*

ANNOUNCE: Atlassian-Orion Knowledge Base

2001-10-03 Thread Mike Cannon-Brookes
It's been a long time coming, but Atlassian is proud to announce the launch of the official Orion knowledge base! http://kb.atlassian.com The knowledge base is the most comprehensive collection of Orion documentation and articles available anywhere, and it will grow continually as we

Re: Design strategy

2001-10-03 Thread George Mardale
Hello Daniel, What I said about those 2 tables, was strictly Orion-related. You are right, in designing relational databases, a n-m relationship will be normalized by introducing 1 (one) table and two 1-n relationships between the existing 2 tables (Group, User) and the new one (let's say

RE: Design strategy

2001-10-03 Thread BRICKER_JONATHAN_E
I would think that is this better done with LDAP and defined roles and groups. Then use the J2EE security linked to the LDAP to control access. Remember that Entity beans represent data in the database. Unless each of these things are actual data then it should not be an entity bean. Jonathan

javax.naming

2001-10-03 Thread Nusairat, Joseph F.
Title: javax.naming javax.naming what happened to this in the 1.3 release?? what did it get replaced by Joseph Faisal Nusairat, Sr. Project Manager WorldCom tel: 614-723-4232 pager: 888-452-0399 textmsg: [EMAIL PROTECTED]

New Release????

2001-10-03 Thread Stephen Davidson
My original post never appeared, so I am reposting... -Steve ---BeginMessage--- Greetings. A new release was recently announced, but I have been unable to find it on the website. The only thing I have been able to find any references to is the 1.5.2 build, which has been around for a while.

RE: OR mapping (1/* relationship between 2 entity beans)

2001-10-03 Thread Alex Paransky
Orion is pretty good as far as keeping the relationships in orion-ejb-jar.xml current. We have not been using BMP, but mostly 2.0 style CMP, and this particular area has been working for us without a flaw. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

RE: Design strategy

2001-10-03 Thread Alex Paransky
Yes, I have noticed the same behavior in 2.0 CMP style beans. What I have been doing is simply alerting orion-ejb-jar.xml, and changing one of the tables into another one. So, instead of 2 tables, there is actually 1 table. I am not sure, if this is working correctly during transaction, in

Re: New Release????

2001-10-03 Thread Ray Harrison
The release was only announced as coming within the next few days - which is certainly not specific. They've had to re-write a bit of the core parts for spec purposes so there is certainly testing they need to do before it gets out to us... Hopefully - within the next few days! Cheers Ray ---

RE: New Release????

2001-10-03 Thread Juan Lorandi (Chile)
no new release... always check out http://www.orionserver.com/orion/changes.txt also, you can download orion.jar from http://www.orionserver.com/orion/orion.jar (that's what autoupdate does, BTW) No new release or further comments from magnus yet. -Original Message- From: Stephen

Protocol violation w/ Oracle

2001-10-03 Thread Chad Cromwell
Does any noe know why i would get this error servlet to session bean to oracle db i do get a connection then when i try to create a preparedStatement this happens thanks chad java.sql.SQLException: Protocol violation at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:631)

Displaying errors in JSP

2001-10-03 Thread EXT-Vaze, Vinay G
If I have a code block such as % try { } catch (Exception e) { } % inside a JSP, how do I output error to either the browser or to the server console ? -- Vinay Vaze M/S : 7H-80 Phone : (425)-865-2929 Email : [EMAIL PROTECTED]

Can't get client app to work

2001-10-03 Thread Lorenc, Swavek
I am trying to get to work the examples from Ed Roman's book Mastering Enerprise Java Beans. One of his examples is CountBean client application. Here is what I have done so far. I have Orion installed in D:\Program Files\SPSSWeb\Orion J2EE sdk installed in C:\j2sdkee1.2.1 Java SDK installed

RE: javax.naming

2001-10-03 Thread Tucker, James
Title: javax.naming Umm..it's in the rt.jar.. right where it has always has been... -Original Message-From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 03, 2001 8:49 AMTo: Orion-InterestSubject: javax.naming javax.naming what happened to

RE: Displaying errors in JSP

2001-10-03 Thread The elephantwalker
for the terminal, you can use System.out.println(e.getMessage()) in the catch phrase for the jsp, you will need to initialize some string variable in the catch block and then use in the html ... % String error = ; try { } catch (Exception e){ error =

Re: NullPointerException and DataSource

2001-10-03 Thread Chad Cromwell
Perry did you fin out the answer to this i'm running into the same problem data-sources !-- An example/default DataSource that uses an ordinary JDBC-driver (in this case hsql) to create the connections. This tag creates all the needed

RE: Displaying errors in JSP

2001-10-03 Thread Juan Lorandi (Chile)
BTW, if you use IE, disable 'friendly HTTP error messages'. This option, in its active state will prevent the error page to display in the browser. JP -Original Message- From: The elephantwalker [mailto:[EMAIL PROTECTED]] Sent: MiƩrcoles, 03 de Octubre de 2001 13:21 To:

RE: Displaying errors in JSP

2001-10-03 Thread Michael Laccetti
System.out.print() - server console out.print() - HTML page -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of EXT-Vaze, Vinay G Sent: Wednesday, October 03, 2001 12:09 To: Orion-Interest Subject: Displaying errors in JSP If I have a code block such as

Re: Displaying errors in JSP

2001-10-03 Thread Stephen Davidson
Response Inlined. EXT-Vaze, Vinay G wrote: If I have a code block such as % try { } catch (Exception e) { e.printStackTrace(); //This should write the stack trace of the exception to the console. } % inside a JSP, how do I output error to either the browser or to

Re: Can't get client app to work

2001-10-03 Thread Stephen Davidson
Greetings, Swavek. I think the problem may be your orion-ejb-jar.xml file. If you do not have one (you did not post one), Orion will autogenerate one for you based (loosely) on your ejb-jar.xml file. It is similar to the one for the J2EE server, and the details are available on the Orion

I've screwed up a component DD???? NamingException: Cannot lookup java:comp/env attributes, not in a valid component

2001-10-03 Thread Curt Smith
I've got two apps deployed as expaned directories. XML files are similar since they're similar apps. But one does not allow any context lookups and one does? orionconsole can't access the context and EJB's in the broken app but can in the other. It gets these naming exceptions in

RE: I've screwed up a component DD???? NamingException: Cannot lookup java:comp/env attributes, not in a valid component

2001-10-03 Thread The elephantwalker
What happened when you deployed? Did you get any error messages? It looks like your datasource jndi name is wrong in the offending appalmost like it isn't even deployed. Check out the name of your datasource in your resource tag. This is where it is blowing up. For example, if this is

Can't get client app to work

2001-10-03 Thread Xiaowen Wang
I think it might be that sun-j2ee-ri.xml is specifying the jndi name, ejb-ref name binding, whereas orion is not parsing that file. I think you have to do it in orion-ejb-jar.xml to do the things equivalent to sun-j2ee-ri.xml does. You can find the orion-ejb-jar.xml in

URGENT! JNI problem on Orion-Could Not Get Class for Java ....

2001-10-03 Thread YiYi Mao
We're having a problem running JNI (C++) from Orion enviorment. The original error message is: C++ CommIFCMSListener::processEvent - Could Not Get Class For Java CMSListener Object. The JNI method is called from a Java class, not EJB. The Java application is deployed into Orion Server. The JNI

Servlet expiration

2001-10-03 Thread Kipnis, Adam
Does anyone know how to configure Orion so the servlet container never expires initialized servlets? Adam Kipnis JAMDAT Mobile [EMAIL PROTECTED] 310.636.3126 Why document? If it was hard to write, it should be hard to understand! -Me

Reg: Does any one has the BenchMarks of OC4J with Application Servers

2001-10-03 Thread Venkata_Nallam
Dear all, Does any one of our group have bench mark reports of OC4J wrt other Application Servers mainly WebLogic, Iplanet and IBM Web Sphere. Can we get the performance reports of OC4J and how much load it can handle. Please help in regard.. With warm regards