UNSUSCRIBE
problems deploying to Oracle
Hi, I have around 15 CMP EJBs that deploy great using MSSQL but now I want to deploy using Oracle and I found a problem with a not very clear error. Some of the tables for my EJBs are being created in my Oracle DB. But if the EJB's description is extended in the orion-ejb-jar.xml file, then the following exception is thrown by Orion: java.lang.NullPointerException at com.evermind.server.ejb.compilation.f4.s_(JAX) at com.evermind.server.ejb.compilation.ga.s_(JAX) at com.evermind.server.ejb.EJBContainer.bz(JAX) at com.evermind.server.Application.bz(JAX) at com.evermind.server.Application.gf(JAX) at com.evermind.server.ApplicationServer.rv(JAX) at com.evermind.server.ApplicationServer.aqb(JAX) at com.evermind.server.ApplicationServer.gf(JAX) at com.evermind.server.hg.run(JAX) at java.lang.Thread.run(Thread.java:484) at com.evermind.util.f.run(JAX) (This happens even if the "entity-deployment" block is empty) Any help will be appreciated. Thanks, juan
Bug in CMP 1-many relations deployment
I'm trying to create a CMP 1-many relation between two entity beans. The relation is as follows: the Customer has a List of Service objects (both, Customer and Service are entity beans). When I deploy this, I get the following error: CustomerService_ORList104.java:182: Exception java.rmi.RemoteException must be caught, or it must be declared in the throws clause of this method. java.lang.String primaryKey112 = ((test.ejb.User)context.getPrimaryKey()) == null ? null : ((java.lang.String)((test.ejb.User)context.getPrimaryKey()).getPrimaryKey()) ; I think that the problem is because the Customer's primary key is another entity bean (User). So, a RemoteException must be caught or thrown, when calling the getPrimaryKey method from the Customer's context. thanks, juan
RE: www.orionserver.com down again
The site works for me -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Gutierrez Sent: Wednesday, December 13, 2000 11:36 AM To: Orion-Interest Subject: www.orionserver.com down again 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 explanation for these frequent down-times. Is this the quality of service that one can expect of this application server? Starting nmap V. 2.53 by [EMAIL PROTECTED] ( www.insecure.org/nmap/ ) Interesting ports on (195.84.237.197): (The 1507 ports scanned but not shown below are in state: closed) Port State Service 7/tcp filteredecho 21/tcp openftp 22/tcp filteredssh 23/tcp filteredtelnet 25/tcp opensmtp 68/tcp filteredbootpc 80/tcp openhttp 98/tcp openlinuxconf 110/tcpopenpop-3 137/tcpfilterednetbios-ns 138/tcpfilterednetbios-dgm 139/tcpfilterednetbios-ssn 143/tcpopenimap2 520/tcpfilteredefs 1080/tcp filteredsocks 3306/tcp openmysql Nmap run completed -- 1 IP address (1 host up) scanned in 24 seconds
Is this a bug?
Title: RE: EJB2.0 Generated class uncompilable I'm trying to create a CMP 1 to many relation between two entity beans. So, the Customerhas a List of Service objects (both, Customer and Service are entity beans). When I deploy this, I get the following error: CustomerService_ORList104.java:182: Exception java.rmi.RemoteException must be caught, or it must be declared in the throws clause of this method. java.lang.String primaryKey112 = ((test.ejb.User)context.getPrimaryKey()) == null ? null : ((java.lang.String)((test.ejb.User)context.getPrimaryKey()).getPrimaryKey()); I think that the problem is because the Customer's primary key is another entity bean (User). So, a RemoteException must be caught or thrown, when calling the getPrimaryKey method from the Customer's context. thanks, juan
RE: Entity bean reference mapping
So the ejb-jar.xml and orion-ejb-jar.xml have to be EJB2.0 compliant for an entity bean reference mapping to work??? juan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi (Chile) Sent: Thursday, December 07, 2000 6:38 AM To: Orion-Interest Subject: RE: Entity bean reference mapping juan, have you set the descriptor to be EJB 2.0 complaint?? -Original Message- From: Juan Gargiulo [mailto:[EMAIL PROTECTED]] Sent: MiƩrcoles, 06 de Diciembre de 2000 20:27 To: Orion-Interest Subject: Entity bean reference mapping Joe, I tried the configuration example for EJB reference mapping that you described in the orionsupport site (http://www.orionsupport.com/articles/complex-or.html) for my EJBs but it's not working. I have two EJBs: Member that has a variable called "memberInfo" that is a reference to the MemberInfo EJB. And this is what I configured in the orion-ejb-jar.xml file: entity-deployment name="Member" cmp-field-mapping name="memberInfo" entity-ref home="ejb/memberInfo" cmp-field-mapping name="memberInfo" persistence-name="memberInfo" / /entity-ref /cmp-field-mapping /entity-deployment but Orion keeps showing the following error: Internal error, unset persistence type for memberInfo:0 I tried setting up the persistence-type parameter to the cmp-field-mapping, but this also didn't work. Do you know what can be wrong?? Thank you in advance, juan
Entity bean reference mapping
Joe, I tried the configuration example for EJB reference mapping that you described in the orionsupport site (http://www.orionsupport.com/articles/complex-or.html) for my EJBs but it's not working. I have two EJBs: Member that has a variable called "memberInfo" that is a reference to the MemberInfo EJB. And this is what I configured in the orion-ejb-jar.xml file: entity-deployment name="Member" cmp-field-mapping name="memberInfo" entity-ref home="ejb/memberInfo" cmp-field-mapping name="memberInfo" persistence-name="memberInfo" / /entity-ref /cmp-field-mapping /entity-deployment but Orion keeps showing the following error: Internal error, unset persistence type for memberInfo:0 I tried setting up the persistence-type parameter to the cmp-field-mapping, but this also didn't work. Do you know what can be wrong?? Thank you in advance, juan
EJB-EJB CMP
Hi, I'm having problems configuring orion to create the tables for entity EJBs with references to other entity EJBs (using CMP). Can somebody, please, enumerate the steps for doing this. Thanks in advance, Juan Gargiulo
Entity bean reference mapping
I need help with the following problem: One field of my Member entity bean is a reference to the MemberInfo entity bean. I'm using CMP but I can't get Orion to deploy this. It keeps showing this error: "Internal error, unset persistence type for memberInfo: 0". I already tried setting the persistence-type to "integer" but it didn't work. Here is my configuration: My XML deployment descriptor in orion-ejb-jar.xml has the following: !-- Member EJB -- entity-deployment name="com.my.ejb.Member" table="Member" cmp-field-mapping name="memberInfo" entity-ref home="ejb/memberInfo" cmp-field-mapping name="memberInfo" persistence-name="memberInfo" / /entity-ref /cmp-field-mapping /entity-deployment !-- MemberInfo EJB -- entity-deployment name="com.my.ejb.MemberInfo" table="MemberInfo" /entity-deployment Thanks, Juan Gargiulo