Referential Integrity in one to one

2002-04-10 Thread Jesper Rasmussen
Hi, Im having some problems with the move integrity of a one to one relationship. The problem is this: a1 = new A a2= new A b1= new B b2 = new B a1.setRefToB(b1) a2.setRefToB(b2) This all works fine. when i then do: a1.setRefToB(a2.getRefToB()) The container should move the reference and

SV: JNDI Reference to home of EJB failing?

2002-04-17 Thread Jesper Rasmussen
Are you looking up from an EJB? if so do you have a reference in the ejb-jar for that bean to the bean you are looking up? like: ejb-ref ejb-ref-nameejb/ItemHome/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homebeans.ItemHome/home

SV: Does Orion support PHP? How to enable it?

2002-04-23 Thread Jesper Rasmussen
http://www.orionsupport.com/articles/php.html -Oprindelig meddelelse-Fra: wzfg [mailto:[EMAIL PROTECTED]]Sendt: 23. april 2002 03:59Til: Orion-InterestEmne: Does Orion support PHP? How to enable it? Hi,Friend, As Httpd Server, Does Orion support PHP? if yes, How can I

SV: OffTopic: Entity-Beans and relational structure

2002-04-25 Thread Jesper Rasmussen
Or you could use ContainerManagedRelationships (CMR) from the ejb2.0 specs. With this you define the relationships between the beans in the ejb-jar.xml, and declare the abstract getters and setters yo use Set or Collection. Be warned that you have to use the 1.5.4 Orion and some of the

SV: how to shutdown orion app server?

2002-04-29 Thread Jesper Rasmussen
java -jar admin.jar ormi://localhost admin 1234 -shutdown where admin is username and 1234 is password For more info: java -jar admin.jar ormi://localhost admin 1234 -help -Oprindelig meddelelse-Fra: gusl [mailto:[EMAIL PROTECTED]]Sendt: 28. april 2002 05:26Til:

SV: CMP entity bean deployment compilation errors

2002-04-30 Thread Jesper Rasmussen
I have both local and remote interfaces to my beans, and it works fine. I got the same error which i traced back to a error in my ejb-jar.xml. I cant remember which error though. Try to clear the deployment files in orion/applications and orion/application-deployments. This is how one entity

Initial context problem.

2002-05-01 Thread Jesper Rasmussen
Hi all, Im trying to make an application which askes for the login and password to connect to the application deployed on 1.5.4 orion server. It works fine if i specify the correct login(admin). However if I uses some wrong cridentials(admin1) i get an exception which also is fine. HOWEVER when

SV: Initial context problem.

2002-05-02 Thread Jesper Rasmussen
://www.myprofiles.com/member/profile/apara_personal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jesper Rasmussen Sent: Wednesday, May 01, 2002 3:10 AM To: Orion-Interest Subject: Initial context problem. Hi all, Im trying to make an application which askes

SV: tool to print all remote method invokations of EJBs

2002-05-03 Thread Jesper Rasmussen
Title: tool to print all remote method invokations of EJBs Why not use a logger? I find using a logger extremly helpfull in tracking how both the clients and the server acts. I use Log4J, but in j2sdk 1.4 the logging package is also available. As far as i can see,itdoes not matter much