RE: Concurrency
Hi ted, You are right, but the exeption is in an AbstractList and I'm not using any extension of AbstractList. In addition, the exeption is in com.evermind pakage. I have analyzed this package and I've seen that the method com.evermind.server.rmi.RMIServer.gb uses a java.util.List. Therefore I suppose that it is an orion problem when the SLSB is created. Thanks, Esteban -Original Message- From: Rice, Ted [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 1:45 PM To: Orion-Interest Subject: RE: Concurrency you are working with a non-synchronized collection. if you get an iterator and attempt to modify the backing list with multiple threads you will receive a ConcurrentModificationException. synchronize on the the iterator or list. ./ted -Original Message- From: Lopez Esteban [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 3:44 AM To: Orion-Interest Subject: Concurrency Hi Please help me. I am working with a stateless EJB and I have about 250 clients which has to use this EJB. When the clients access to the SLEJB concurretly, the Orion crash, and the server.log shows: 7/4/01 6:45 PM Internal server error java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at java.util.AbstractCollection.remove(Unknown Source) at com.evermind.server.rmi.RMIServer.gb(JAX) at com.evermind.server.rmi.ba.run(JAX) at com.evermind.util.f.run(JAX) Anyone knows something about this. Thanks! Esteban.
Concurrency
Hi Please help me. I am working with a stateless EJB and I have about 250 clients which has to use this EJB. When the clients access to the SLEJB concurretly, the Orion crash, and the server.log shows: 7/4/01 6:45 PM Internal server error java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at java.util.AbstractCollection.remove(Unknown Source) at com.evermind.server.rmi.RMIServer.gb(JAX) at com.evermind.server.rmi.ba.run(JAX) at com.evermind.util.f.run(JAX) Anyone knows something about this. Thanks! Esteban.
FW: Concurrency
Hi Please help me. I am working with a stateless EJB and I have about 250 clients which has to use this EJB. When the clients access to the SLEJB concurretly, the Orion crash, and the server.log shows: 7/4/01 6:45 PM Internal server error java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at java.util.AbstractCollection.remove(Unknown Source) at com.evermind.server.rmi.RMIServer.gb(JAX) at com.evermind.server.rmi.ba.run(JAX) at com.evermind.util.f.run(JAX) Anyone knows something about this. Thanks! Esteban.
RE: communication between the different orion server
look at http://www.mail-archive.com/orion-interest@orionserver.com/msg02763.html Esteban -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 4:35 PM To: Orion-Interest Subject: communication between the different orion server Hi, Our group is developping an application in which two different orion servers need to communicate. An example about this kind of situation likes that an EJB deployed in a server calls another EJB deployed another server. Does anybody know how to handle it? Thanks a lot Na
RE: Transaction across several different methods in Session beans
Sorry, my begin method is: public void begin() { try { ejbCtx.getUserTransaction().begin(); } catch(Exception e) { e.printStackTrace(); } } I make this mistake becose I before try do this using Context ctx = new InitialContext(); utx = (UserTransaction)ctx.lookup("java:comp/UserTransaction"); but I catch the same exception. Thanks. -Original Message- From: Scott Stirling [SMTP:[EMAIL PROTECTED]] Sent: Thursday, December 14, 2000 3:03 AM To: Orion-Interest Subject: RE: Transaction across several different methods in Session beans Maybe you're calling begin() and commit() on two different UserTransactions. Does the line where you assign the return value of UserTransaction.begin() to utx work? That looks weird (shorthand coding style), but if it works I guess it's OK. The type of utx isn't declared anywhere in the code you posted. Check these lines: public void begin() { try { utx = ejbCtx.getUserTransaction().begin(); } and: public void commit() { try { ejbCtx.getUserTransaction().commit(); } Scott Stirling West Newton, MA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lopez Esteban Sent: Wednesday, December 13, 2000 6:14 AM To: Orion-Interest Subject: Transaction across several different methods in Session beans Hi all, I'm trying to use UserTransactions in a stateful session bean to associate itself with a transaction across several diferent methods, but it does not work. My code is: Stateful Session Bean: public class TransactionBean implements SessionBean { private SessionContext ejbCtx; private Entity entityRole = null; public void setSessionContext(SessionContext context) throws RemoteException, EJBException { ejbCtx = context; } public void ejbActivate() throws RemoteException, EJBException { } public void ejbPassivate() throws RemoteException, EJBException { } public void ejbRemove() throws RemoteException, EJBException { } public void ejbCreate() throws CreateException, EJBException, RemoteException { } public void createEntity(String id) { try { Context context = new InitialContext(); EntityHome entityHome = (EntityHome)PortableRemoteObject.narrow(context.lookup("java:comp/env/enti ty "), EntityHome.class); ejbEntity = entityHome.create(id); } catch (Exception ne) { ejbEntity = null; ne.printStackTrace(); } } public void setDescription(String description) throws RemoteException { if (ejbEntity == null) { throw( new RemoteException("Entity is null, use createEntity() first")); } try { ejbEntity.setDescription(description); } catch (RemoteException re) { re.printStackTrace(); } } public void begin() { try { utx = ejbCtx.getUserTransaction().begin(); } catch(Exception e) { e.printStackTrace(); } } public void commit() { try { ejbCtx.getUserTransaction().commit(); } catch(Exception e) { e.printStackTrace(); } } public void rollback() { try { ejbCtx.getUserTransaction().rollback(); } catch(Exception e) { e.printStackTrace(); } } } and my client is: public class TransactionTest { public static void main(String[] args) { try { Context context = new InitialContext(); TransactionHome home = (TransactionHome)PortableRemoteObject.narrow(context.lookup("java:comp/env /t ransaction"), TransactionHome.class); Transaction tx = home.create(); tx.begin(); tx.createEntity("tx entity"); tx.setDescription("tx description"); tx.commit(); } catch (Exception e) { e.printStackTrace(); } } } I'm using Orion 1.4.4 and Windows 98. I set transaction-typeBean/transaction-type in the ejb-jar.xml of Transaction Bean and container-transaction description/ method description/ ejb-nameentity/ejb-name method-name*/method-name /method trans-attributeRequired/trans-attribute /container-transaction for Entity bean. When I try to use this I catch the folow exception: java.lang.IllegalArgumentException: No active Transaction at com.evermind.server.ApplicationServerTransactionManager.commit(JAX) at transaction.TransactionBean.commit(TransactionBean.java:127) at Transaction_St
FW: Please help me!! JMS and distributed EJBs
Hi I've already posted this few days ago. Please help me! Thanks, Esteban -Original Message- From: Lopez Esteban [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 12:52 PM To: Orion-Interest Subject: JMS and distributed EJBs Hi! I need some help about JMS configuration. My problem is: I have 2 orion servers, orionA and orionB, I have configured my servers like this: orionA (rmi.xml): server host="orionB" username="admin" password="admin" / orionB (rmi.xml): server host="orionA" username="admin" password="admin" / And I deployed an aplications which have 2 beans Bean1: session bean Bean2: MessageDriven In my orion-application-jar.xml i put: orionA (orion-application-jar.xml): ejb-module remote="false" path="Bean1" / ejb-module remote="true" path="Bean2" / orionB (orion-application-jar.xml): ejb-module remote="true" path="Bean1" / ejb-module remote="false" path="Bean2" / I use the orionB in my jndi.property in my client to use Bean1 and this work fine, but must Bean1 use JMS to call Bean2 and Bean2 recieves nothing. If I deploy the 2 beans in 1 orion, this work correctly, but in 2 orions the JMS does not work correctly. Any ideas? Thanks, Esteban
Transaction across several different methods in Session beans
Hi all, I'm trying to use UserTransactions in a stateful session bean to associate itself with a transaction across several diferent methods, but it does not work. My code is: Stateful Session Bean: public class TransactionBean implements SessionBean { private SessionContext ejbCtx; private Entity entityRole = null; public void setSessionContext(SessionContext context) throws RemoteException, EJBException { ejbCtx = context; } public void ejbActivate() throws RemoteException, EJBException { } public void ejbPassivate() throws RemoteException, EJBException { } public void ejbRemove() throws RemoteException, EJBException { } public void ejbCreate() throws CreateException, EJBException, RemoteException { } public void createEntity(String id) { try { Context context = new InitialContext(); EntityHome entityHome = (EntityHome)PortableRemoteObject.narrow(context.lookup("java:comp/env/entity "), EntityHome.class); ejbEntity = entityHome.create(id); } catch (Exception ne) { ejbEntity = null; ne.printStackTrace(); } } public void setDescription(String description) throws RemoteException { if (ejbEntity == null) { throw( new RemoteException("Entity is null, use createEntity() first")); } try { ejbEntity.setDescription(description); } catch (RemoteException re) { re.printStackTrace(); } } public void begin() { try { utx = ejbCtx.getUserTransaction().begin(); } catch(Exception e) { e.printStackTrace(); } } public void commit() { try { ejbCtx.getUserTransaction().commit(); } catch(Exception e) { e.printStackTrace(); } } public void rollback() { try { ejbCtx.getUserTransaction().rollback(); } catch(Exception e) { e.printStackTrace(); } } } and my client is: public class TransactionTest { public static void main(String[] args) { try { Context context = new InitialContext(); TransactionHome home = (TransactionHome)PortableRemoteObject.narrow(context.lookup("java:comp/env/t ransaction"), TransactionHome.class); Transaction tx = home.create(); tx.begin(); tx.createEntity("tx entity"); tx.setDescription("tx description"); tx.commit(); } catch (Exception e) { e.printStackTrace(); } } } I'm using Orion 1.4.4 and Windows 98. I set transaction-typeBean/transaction-type in the ejb-jar.xml of Transaction Bean and container-transaction description/ method description/ ejb-nameentity/ejb-name method-name*/method-name /method trans-attributeRequired/trans-attribute /container-transaction for Entity bean. When I try to use this I catch the folow exception: java.lang.IllegalArgumentException: No active Transaction at com.evermind.server.ApplicationServerTransactionManager.commit(JAX) at transaction.TransactionBean.commit(TransactionBean.java:127) at Transaction_StatefulSessionBeanWrapper0.commit(Transaction_StatefulSessionBe anWrapper0.java:190) at java.lang.reflect.Method.invoke(Native Method) at com.evermind.server.rmi.bf.do(JAX) at com.evermind.util.f.run(JAX) Any ideas. Thanks, Esteban
JMS and distributed EJBs
Hi! I need some help about JMS configuration. My problem is: I have 2 orion servers, orionA and orionB, I have configured my servers like this: orionA (rmi.xml): server host="orionB" username="admin" password="admin" / orionB (rmi.xml): server host="orionA" username="admin" password="admin" / And I deployed an aplications which have 2 beans Bean1: session bean Bean2: MessageDriven In my orion-application-jar.xml i put: orionA (orion-application-jar.xml): ejb-module remote="false" path="Bean1" / ejb-module remote="true" path="Bean2" / orionB (orion-application-jar.xml): ejb-module remote="true" path="Bean1" / ejb-module remote="false" path="Bean2" / I use the orionB in my jndi.property in my client to use Bean1 and this work fine, but must Bean1 use JMS to call Bean2 and Bean2 recieves nothing. If I deploy the 2 beans in 1 orion, this work correctly, but in 2 orions the JMS does not work correctly. Any ideas? Thanks, Esteban
Entity beans never changed back to the pool.
Hello, I plan to use Orion-Server for a big Database-Application with Java- and Web-Clients. I'm using Orion version 1.4.0. After serveral tests we noticed, that once a Entity-Bean was instanced and used, it never changed back to the pool. The number of usered instances grows and grows until I manually flush the cache in the Console-Utility. With this strategy, the Server will run out of memory after some time. Is it possible to limit the number of used and pooled Entity-Bean instances ? I can't find any parameter in the xml-Files. Best regards Esteban
RE: DTD for orion-ejb-jar?
I think that this is because EJB 2.0 is in draft stage, then the url for the dtd is not valid and Spy cannot found the dtd but orion uses it internaly. In ORION.JAR there are dtd files, you can extract this files and change the url of the XML file to point to this files and use Spay to check your dployment descriptor then you must restore the original url. There are diferences between SUN tags and Orion tags. -Original Message- From: John D'Ausilio [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 6:28 PM To: Orion-Interest Subject: RE: DTD for orion-ejb-jar? You are correct, but that was not what I asked about :) orion-ejb-jar.dtd is broken (rather than ejb-jar.dtd) .. if you deploy a message-driven bean, and try and validate the deployed file (in a validating editor like Spy), the dtd lacks (at least) the message-driven-deployment entity definition -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lopez Esteban Sent: Wednesday, October 18, 2000 2:15 PM To: Orion-Interest Subject: RE: DTD for orion-ejb-jar? In orion 1.4.0 there is a dtd for EJB 2.0 and there is an example of message-driven bean (ATM) -Original Message- From: John D'Ausilio [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 11:43 AM To: Orion-Interest Subject: DTD for orion-ejb-jar? Is there a more up-to-date version of this DTD somewhere? The one referenced in the xml dosn't know anything about EJB2 stuff, like message-driven-deployment, or query tag in CMP finder-method tag jd
Deployment Descriptor
Hi Where I can find a Deployment descriptor definition for EJB 2.0? Thanks
JMS EJB
Hi. Anyone had to make an EJB that must recieves messages (JMS). It is possible? How? I saw that EJB 2.0 has an new bean type, but I can do it whit EJB 1.2 Thanks
RE: Client certificate authentication
Hi Luciano: I could fix the 403 Forbidden problem!!! It's easy: In the WEB.XML file you must do anything like this: security-constraint web-resource-collection web-resource-nameMySecurity/web-resource-name url-pattern/servlet/MainMenu/url-pattern http-method*/http-method /web-resource-collection auth-constraint role-nameusers/role-name /auth-constraint /security-constraint I I had forgotten to put: auth-constraint role-nameusers/role-name /auth-constraint and then no Role cuold have access. Remember that in the WEB.XML we need to map the "users" Role: security-role description/description role-nameusers/role-name /security-role I hope this help you. Esteban Lopez -Original Message- From: Montebove Luciano [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 4:55 AM To: Orion-Interest Cc: [EMAIL PROTECTED] Subject: Re: Client certificate authentication Hi Lopez, Can you detail your "manual" identification? Luciano -Messaggio originale- Da: Lopez Esteban [mailto:[EMAIL PROTECTED]] Inviato: martedì 3 ottobre 2000 21.53 A: Orion-Interest Oggetto: RE: Client certificate authentication I don't solve the 403 problem yet, but I can identify users using client certificates. I accept or not the user. If you are interested in this "manual" identification I can explain you more. -Mensaje original- De: Montebove Luciano [SMTP:[EMAIL PROTECTED]] Enviado el: Martes, 03 de Octubre de 2000 04:59 a.m. Para: Orion-Interest Asunto: R: Client certificate authentication I can help you partially. I had the same 403 Forbidden problem and I'm waiting for a response from official support (5 days). For the Cert ID use the sample page ssl-user-registration.jsp in demo SSL. It will show the cert id you are looking for. If you solve the 403 problem tell me. ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø Luciano Montebove - Software Architect - Finsiel S.p.a E-mail: [EMAIL PROTECTED] Phone: (+39) 06-4142-7663 "If you don't fail now and again, it's a sign you're playing it safe" -W. Allen ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø -----Messaggio originale- Da: Lopez Esteban [mailto:[EMAIL PROTECTED]] Inviato: lunedì 2 ottobre 2000 14.57 A: Orion-Interest Oggetto: Client certificate authentication Hi I need to authenticate clients with digital certificates, I have a VeriSign trial client certificate and I'm using IE 5.0. The certificate is well installed in IE. I'm working with Orion 1.2.9 and HTTPS. I'm using auth-methodCLIENT-CERT/auth-method in de login config of WEB.XML file. When I connect to the WEB site I see the follow error: 403 Forbidden Your cert's user does not have access to this resource Please, anybody could help me about this? Note: In the PRINCIPAL.XML file when I set the user that has a certificate I do the follow: user username="A name here" descriptionno description/description certificate-issuerCN = VeriSign Class 1 CA Individual Subscriber-Persona Not Validated, OU = www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)98, OU = VeriSign Trust Network, O = VeriSign, Inc./certificate-issuer certificate-serial-idI don't know/certificate-serial-id group-membership group="users"/ group-membership group="guests"/ /user In certificate-serial-id tag I've an hexa number and when I put this serial number in it, the Orion throws the follow exception: java.lang.NumberFormatException: 297D6F02EA75C1 at java.lang.Long.parseLong(Unknown Source) at java.math.BigInteger.init(Unknown Source) at java.math.BigInteger.init(Unknown Source) at com.evermind.server.gs.init(JAX) at com.evermind.server.XMLUserManager.ajf(JAX) at com.evermind.server.XMLUserManager.ajd(JAX) at com.evermind.server.XMLUserManager.bw(JAX) at com.evermind.xml.XMLConfig.br(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.update(JAX) at com.evermind.server.gw.run(JAX) at com.evermind.util.g.run(JAX) at com.evermind.util.f.run(JAX) What serial number I must to put in this tag? Thanks, Esteban
RE: HTTP Tunneling
Thanks for the response. Esteban -Mensaje original- De: Robert Krueger [SMTP:[EMAIL PROTECTED]] Enviado el: Jueves, 05 de Octubre de 2000 06:05 a.m. Para: Orion-Interest Asunto: RE: HTTP Tunneling At 18:03 04.10.00 , you wrote: Thanks, but i see the enable HTTP Tunneling documentation and it talk about ormi and http:ormi protocols and I'm using rmi protocol for an application server independent application. What about this?, It's the same? RMI is not a protocol, it's an API. what you probably mean is sun's wire protocol JRMP. ormi is evermind's own wire protocol their RMI implementation runs on top of. your client needs to be able to load the classes it needs to understand ormi (in the case of orion I think you'll have to put orion.jar in the client's classpath, not sure if there's a special client.jar) but your client code is completely server-independent. robert -Mensaje original- De: Frank Eggink [SMTP:[EMAIL PROTECTED]] Enviado el: Viernes, 29 de Septiembre de 2000 04:57 a.m. Para: Orion-Interest Asunto: RE: HTTP Tunneling I just tried it this week: piece of cake. See the Orion Documentation: RMI-HTTP tunneling. It is in the section about deployment in a production environment. Frank On Thursday, September 28, 2000 3:14 PM, Lopez Esteban [SMTP:[EMAIL PROTECTED]] wrote: Hi All Please, explain me how to use RMI in orionserver. And I'd like to know how to start http tunneling in orionserver. Any help appreciated, Esteban Lopez (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
RE: HTTP Tunneling
Thanks, but i see the enable HTTP Tunneling documentation and it talk about ormi and http:ormi protocols and I'm using rmi protocol for an application server independent application. What about this?, It's the same? -Mensaje original- De: Frank Eggink [SMTP:[EMAIL PROTECTED]] Enviado el: Viernes, 29 de Septiembre de 2000 04:57 a.m. Para: Orion-Interest Asunto: RE: HTTP Tunneling I just tried it this week: piece of cake. See the Orion Documentation: RMI-HTTP tunneling. It is in the section about deployment in a production environment. Frank On Thursday, September 28, 2000 3:14 PM, Lopez Esteban [SMTP:[EMAIL PROTECTED]] wrote: Hi All Please, explain me how to use RMI in orionserver. And I'd like to know how to start http tunneling in orionserver. Any help appreciated, Esteban Lopez
RE: Client certificate authentication
I don't solve the 403 problem yet, but I can identify users using client certificates. I accept or not the user. If you are interested in this "manual" identification I can explain you more. -Mensaje original- De: Montebove Luciano [SMTP:[EMAIL PROTECTED]] Enviado el: Martes, 03 de Octubre de 2000 04:59 a.m. Para: Orion-Interest Asunto: R: Client certificate authentication I can help you partially. I had the same 403 Forbidden problem and I'm waiting for a response from official support (5 days). For the Cert ID use the sample page ssl-user-registration.jsp in demo SSL. It will show the cert id you are looking for. If you solve the 403 problem tell me. ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø Luciano Montebove - Software Architect - Finsiel S.p.a E-mail: [EMAIL PROTECTED] Phone: (+39) 06-4142-7663 "If you don't fail now and again, it's a sign you're playing it safe" -W. Allen ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø -Messaggio originale- Da: Lopez Esteban [mailto:[EMAIL PROTECTED]] Inviato: lunedì 2 ottobre 2000 14.57 A: Orion-Interest Oggetto: Client certificate authentication Hi I need to authenticate clients with digital certificates, I have a VeriSign trial client certificate and I'm using IE 5.0. The certificate is well installed in IE. I'm working with Orion 1.2.9 and HTTPS. I'm using auth-methodCLIENT-CERT/auth-method in de login config of WEB.XML file. When I connect to the WEB site I see the follow error: 403 Forbidden Your cert's user does not have access to this resource Please, anybody could help me about this? Note: In the PRINCIPAL.XML file when I set the user that has a certificate I do the follow: user username="A name here" descriptionno description/description certificate-issuerCN = VeriSign Class 1 CA Individual Subscriber-Persona Not Validated, OU = www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)98, OU = VeriSign Trust Network, O = VeriSign, Inc./certificate-issuer certificate-serial-idI don't know/certificate-serial-id group-membership group="users"/ group-membership group="guests"/ /user In certificate-serial-id tag I've an hexa number and when I put this serial number in it, the Orion throws the follow exception: java.lang.NumberFormatException: 297D6F02EA75C1 at java.lang.Long.parseLong(Unknown Source) at java.math.BigInteger.init(Unknown Source) at java.math.BigInteger.init(Unknown Source) at com.evermind.server.gs.init(JAX) at com.evermind.server.XMLUserManager.ajf(JAX) at com.evermind.server.XMLUserManager.ajd(JAX) at com.evermind.server.XMLUserManager.bw(JAX) at com.evermind.xml.XMLConfig.br(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.update(JAX) at com.evermind.server.gw.run(JAX) at com.evermind.util.g.run(JAX) at com.evermind.util.f.run(JAX) What serial number I must to put in this tag? Thanks, Esteban
Client certificate authentication
Hi I need to authenticate clients with digital certificates, I have a VeriSign trial client certificate and I'm using IE 5.0. The certificate is well installed in IE. I'm working with Orion 1.2.9 and HTTPS. I'm using auth-methodCLIENT-CERT/auth-method in de login config of WEB.XML file. When I connect to the WEB site I see the follow error: 403 Forbidden Your cert's user does not have access to this resource Please, anybody could help me about this? Note: In the PRINCIPAL.XML file when I set the user that has a certificate I do the follow: user username="A name here" descriptionno description/description certificate-issuerCN = VeriSign Class 1 CA Individual Subscriber-Persona Not Validated, OU = www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)98, OU = VeriSign Trust Network, O = VeriSign, Inc./certificate-issuer certificate-serial-idI don't know/certificate-serial-id group-membership group="users"/ group-membership group="guests"/ /user In certificate-serial-id tag I've an hexa number and when I put this serial number in it, the Orion throws the follow exception: java.lang.NumberFormatException: 297D6F02EA75C1 at java.lang.Long.parseLong(Unknown Source) at java.math.BigInteger.init(Unknown Source) at java.math.BigInteger.init(Unknown Source) at com.evermind.server.gs.init(JAX) at com.evermind.server.XMLUserManager.ajf(JAX) at com.evermind.server.XMLUserManager.ajd(JAX) at com.evermind.server.XMLUserManager.bw(JAX) at com.evermind.xml.XMLConfig.br(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.ax(JAX) at com.evermind.xml.XMLConfig.update(JAX) at com.evermind.server.gw.run(JAX) at com.evermind.util.g.run(JAX) at com.evermind.util.f.run(JAX) What serial number I must to put in this tag? Thanks, Esteban
HTTP Tunneling
Hi All Please, explain me how to use RMI in orionserver. And I'd like to know how to start http tunneling in orionserver. Any help appreciated, Esteban Lopez
RE: Cascade Delete
-Mensaje original- De: Stefan Frank [SMTP:[EMAIL PROTECTED]] Enviado el: Miércoles, 27 de Septiembre de 2000 06:29 a.m. Para: Orion-Interest Asunto: Re: Cascade Delete Take a look at the ejb2.0-Specification(e.g. http://www.sdmagazine.com/uml/thinking/s0010to.shtml): Things like Dependent Objects have become a little bit clearer, and so it became clearer, what a cascading delete on the object-level means. greetings Stefan Frank - Original Message - From: [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 9:16 AM Subject: SV: Cascade Delete Cascading delete is something that some database servers support, so far i havent seen anywhere that Orion is to support that in the buissiness layer. What you can do is make your own ejbRemove implementation that will do a cascading delete in a beanmanaged Entity bean. Klaus Myrseth -Opprinnelig melding- Fra: Reddy Krishnan [mailto:[EMAIL PROTECTED]] Sendt: 27. september 2000 01:54 Til: Orion-Interest Emne: Cascade Delete Hi, Having some problems while deleting a EJB. When i delete the ejb by ejbobject.remove() method the dependent objects and relationship entries are not deleted from the database. Should this not be done automatically by the app server. Is this a problem in Orion or is there some explicit delete that needs to be done in the remove method implementation in the bean. Would appreciate any help on this. Thanks Krishnan
File permissions
Hi All I have a servlet that uses a class to read a property file, I am using a BASIC logging for my web application and I can't read the property file because I don't have read permission. The server throws the follow exception: 500 Internal Server Error java.security.AccessControlException: access denied (java.io.FilePermission pidesteban.prop read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.FileInputStream.init(Unknown Source) at nec.ar.sol.servlet.hcd.Pid.pid(Pid.java:47) at nec.ar.sol.servlet.hcd.MainMenu2.init(MainMenu2.java:35) at com.evermind.server.http.HttpApplication.vt(JAX) at com.evermind.server.http.HttpApplication.vc(JAX) at com.evermind.server.http.HttpApplication.tp(JAX) at com.evermind.server.http.d5.rx(JAX) at com.evermind.server.http.d5.rw(JAX) at com.evermind.util.f.run(JAX) The questions are: How I can read the property file? What is the java.policy file that Orion use? Thank you so much, Esteban Lopez