RE: deployment tool
Hi, you can try Ant (http://jakarta.apache.org/ant/) Giustino -Original Message- From: kamsky@yahoo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 6:54 AM To: Orion-Interest Subject: deployment tool Hi, Is there a deployment tool that is easier than j2sdkee1.3? What is it? Thanks _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Most Urgent: How to find jndi lookup name for Transaction Manager?
Dear all, if any one know how to find the jndi lookup name for the Transaction Manager, please let me know.. Thanks patrick __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
A word of warning: SwiftMQ and Resource providers.
Recently looking at the Resource-Providers docs, and EAGER to use an external JMS for my MDBs I and a colleague decided to run the demos. As quite a surprise the demo run ok. The MDB did everything when a message was sent to the Queue. The BIG disappointment was, when we tried to do the same with the topic. In short: It does not work. It seems, that Orion is looking for the resource type. Although it should check if the resource is of the NEEDED type, it rather checks if the resource is of ANY type. SwiftMQ implements a Topic as a subclass of it's Queue implementation: the plainsocket@router1 class is as follows: class com.swiftmq.jms.ConnectionFactoryImpl |- interface javax.jms.QueueConnectionFactory |- interface javax.jms.TopicConnectionFactory '- interface java.io.Serializable the testqueue@router1 class is as follows: class com.swiftmq.jms.QueueImpl |- interface javax.jms.Queue |- interface java.io.Serializable '- interface com.swiftmq.jms.DestinationImpl the testtopic class is as follows: class com.swiftmq.jms.TopicImpl | '- interface javax.jms.Topic | '- (super) class com.swiftmq.jms.QueueImpl |- interface javax.jms.Queue |- interface java.io.Serializable '- interface com.swiftmq.jms.DestinationImpl As you can see a Topic is also a Queue. So when trying to deploy the MDB one gets: Error deploying file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar homes: JMS Error: Queue 'testtopic' is not local! Can't create a Consumer on it! But... That doesn't help. I'm quite disappointed. I almost got it. Lachezar.
Urgent : Hypersonic SQL Problem ?
Hi all , I have an application (EJBs) deployed properly. All works fine using the Postgres databases but this is a little problem using a Hypersonic Database. This issue is not Orion related but rather Hypersonic. Is Hypersonic able to do a query inside a query ? Using the DAtabaseManager I can say that it can't but I need to know if someone had similar problems . My query looks like this : select * from journalEntry where testEntryID = 1 AND questionID IN ( SELECT id FROM question WHERE question.moduleID = 0 ) I can ashure you that this query works just fine in Postgres but does not give any result in Hypersonic!!! Thanks for your answers , dovle
Re: deployment tool
does orion support the new ejb 2.0 version? - Original Message - From: DeVincentiis Giustino [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 8:50 AM Subject: RE: deployment tool Hi, you can try Ant (http://jakarta.apache.org/ant/) Giustino -Original Message- From: kamsky@yahoo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 6:54 AM To: Orion-Interest Subject: deployment tool Hi, Is there a deployment tool that is easier than j2sdkee1.3? What is it? Thanks _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Course Grained Entity Beans...your thoughts....
Maybe folks could comment on my thoughts? - Most client traffic (web site etc) is read only. I.E. building pages showing store catalogue, browsing available plane seats etc etc. Why run read only traffic through architecture optimized for transactional robustness? That is unless you want to buy more hardware and deliver slow response for everyone. - Given, the reality of traffic read VS write, I feel that highest performance, scalability and low latency will be from an architecture based on DAO for read only operations from the client - business deligate tier. I.E. from beans called from JSP's directly. - Allow the client tier business deligate methods to direct read only traffic to DAO's. Other methods that are transactional (CRUD), are directed to session bean methods to mediate entity business logic. Local interfaces would speed these operations greatly! - EJB 2.0 local interfaces and coarse grained beans will always eat CPU, RAM and scalability, latency when compared to DAO for read only operations. - Coarse grained beans can actually be a serious resource hog if you don't implement lazy instantiation of the dependant 1:M components. Else you'll be hitting the DB and building the 1:M objects when the M part isn't accessed. - Does EJB 2.0 CMP for coarse grained beans implement lazy instantiation of the dependant compents?? If not, or your container vendor hasn't, watch out??... - The new best practice EJB architecture as of EJB 2.0, makes sense if you're architecting a shrink wrapped product that has to work with customer supplied DB's and schema's. I don't believe this is very common, nor will be. So why are the Sun J2EE blueprints showcasing this architecture? I don't know. I'll be sticking with the architecture that's based on DAO and EJB for transactions only. BTW, my thoughts on QL vs SQL... QL and CMP is just one more pain that I see folks sinking bunches of time in. You need to own your data and will end up spending the same time needed to write DAOs and SQL anyway, so why not do it? curt I was reading the J2EE design patterns book and it suggested using a Course - grained approach at building your entity beans (dependent tables accessed via Data Access Objects). However, after inspecting the new 2.0 specs, and considering the inclusion of EJBLocalHome and EJBLocalObject, is it necessary to still follow this recommendation? I personally would rather not code DAOs, however, if there is a performance gain by doing so, I would. Thanks for you advice. Aaron.
test
Re: deployment tool
The best there is :) I luve it Eddie - Original Message - From: DeVincentiis Giustino [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 8:50 AM Subject: RE: deployment tool Hi, you can try Ant (http://jakarta.apache.org/ant/) Giustino -Original Message- From: kamsky@yahoo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 6:54 AM To: Orion-Interest Subject: deployment tool Hi, Is there a deployment tool that is easier than j2sdkee1.3? What is it? Thanks _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Oracle AQ / JMS as Message Driven Bean source. ( ResourceProviders )
Title: Oracle AQ / JMS as Message Driven Bean source. ( ResourceProviders ) does anyone have an example of using the JMS wrapper around Oracle AQ? Seeing as OC4J is Orion, this should be something that is either on the Oracle site or the Orion site, but is neither place? I need to be able to access the JMS implementation of Oracle AQ from a Message Driven Bean? Any code examples out there?
RE: Announcement
Title: RE: Announcement This is great these issues are holding us back from sophisticated deployments right now. My 2 cents worth is this is the order of importance of documentation that is needed right now to do REAL professional deployments and developements with Orion/OC4J 1) Orion specific deployment settings explained these are not really explained anywhere right now. 2) Application Client documentation can't really write any real black-box testing coded without the ability to call components from the command line or a script! 3) HTTP clustering details setting up clustering is a hit and miss affair as the Oracle documentation is partial at best and there is no examples of what the right way to set up multiple instances on a single box looks like. 4) EJB clustering details see #3 5) SSL clustering details can't have a professional site that is not secure can we? 6) MDB documentation why can't you look up any JNDI stuff in ejbCreate() or at least a warning not to try and do it. why doesn't MapMessage work inside of onMessage() of an MDB? how to set up an MDB to listen on an external Queue, as from the JMS interface to Oracle AQ? 7) Additional remote scenarios the basic ones are covered in the document listed below. 8) Configuring datasources what else is NOT in the documentation now? -Original Message- From: Magnus Rydin [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 2:44 PM To: Orion-Interest Subject: Announcement Announcement 2 new documents available: www.orionserver.com/docs/resource-provider/resource-provider.xml Describes how to produce your custom Resource Provider class or use a sample one to smoothly integrate third party resources with Orion and make these available to your applications. www.orionserver.com/docs/remote-access/remote-access.xml Describes different scenarios for remote access to applications. This document will expand in the coming week. As said earlier, any comments/suggestions/requests for documentation can be sent to [EMAIL PROTECTED] WR The Orion Team
Re: Most Urgent: How to find jndi lookup name for Transaction Manager?
Check out the Orionserver FAQ: How do I get a reference to the TransactionManager? import javax.naming.*; import javax.transaction.*; ... TransactionManager manager = (TransactionManager)new InitialContext().lookup(java:comp/UserTransaction); Cheers Ray --- patrick patrick [EMAIL PROTECTED] wrote: Dear all, if any one know how to find the jndi lookup name for the Transaction Manager, please let me know.. Thanks patrick __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
Re: Urgent : Hypersonic SQL Problem ?
Subselects are broken in the version of Hypersonic that ships with Orion. Hypersonic SQL has changed hands. Try the version at http://www.hsqldb.org/ - and please report your results back to the list. Kirk Yarina At 01:02 PM 11/20/01 +0200, you wrote: Hi all , I have an application (EJBs) deployed properly. All works fine using the Postgres databases but this is a little problem using a Hypersonic Database. This issue is not Orion related but rather Hypersonic. Is Hypersonic able to do a query inside a query ? Using the DAtabaseManager I can say that it can't but I need to know if someone had similar problems . My query looks like this : select * from journalEntry where testEntryID = 1 AND questionID IN ( SELECT id FROM question WHERE question.moduleID = 0 ) I can ashure you that this query works just fine in Postgres but does not give any result in Hypersonic!!! Thanks for your answers , dovle
RE: Course Grained Entity Beans...your thoughts....
Title: RE: Course Grained Entity Beans...your thoughts you have some points for small projects but with a few caveats that apply even to the smallest and most trival of projects. 1. Writing DAO style code and not leveraging it INSIDE you BMP EJB's as delegates is BAD. It just creates more code to wade thru when a change to the data happens. It makes you applications brittle and error prone and complicates tracking down any errors that do creep in, because the data access code is strewn about the code tree instead of inside a single component. 2. DAO style code is VERY heavy unless there is some form of caching of the objects and results sets. Which Entity Beans do with no code involved. Adding this caching code is error prone and most places that use Enity Beans are trying to solve some specific business problem in THEIR domain. Not write generic object caching code, no matter how NEAT, is not their business strength. Here read-only Entity Beans will out preform any DAO code if there are enough users asking for the same data sets, it will get cached in the app server. 3. DAO style code can eat up database connections very quickly even using pooling, and as above can become VERY heavy if over used. And very very very difficult to scale or tune. One place I worked learned this the hard way. 4. Importing java.sql.* into places outside Entity or Session beans is BAD from every standpoint. Servlets, JSP's, etc. should NEVER have to import anything from java.sql.*, if they do, it is bad design. With J2EE containers like with Java itself there are preformance trade offs for everything, personally I will trade off a few ms in remote calls and a few bytes of memory for ease of maintaince and future enhancements vs a questionable performance gain that was probably caused by bad design to begin with. And 80% of all the money spent on a corporate project is in MAINTANCE time, NOT development time and NOT in hardware. And hardware is CHEAP and a write off anyway. -Original Message- From: Curt Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 8:55 AM To: Orion-Interest Subject: Re: Course Grained Entity Beans...your thoughts Maybe folks could comment on my thoughts? - Most client traffic (web site etc) is read only. I.E. building pages showing store catalogue, browsing available plane seats etc etc. Why run read only traffic through architecture optimized for transactional robustness? That is unless you want to buy more hardware and deliver slow response for everyone. - Given, the reality of traffic read VS write, I feel that highest performance, scalability and low latency will be from an architecture based on DAO for read only operations from the client - business deligate tier. I.E. from beans called from JSP's directly. - Allow the client tier business deligate methods to direct read only traffic to DAO's. Other methods that are transactional (CRUD), are directed to session bean methods to mediate entity business logic. Local interfaces would speed these operations greatly! - EJB 2.0 local interfaces and coarse grained beans will always eat CPU, RAM and scalability, latency when compared to DAO for read only operations. - Coarse grained beans can actually be a serious resource hog if you don't implement lazy instantiation of the dependant 1:M components. Else you'll be hitting the DB and building the 1:M objects when the M part isn't accessed. - Does EJB 2.0 CMP for coarse grained beans implement lazy instantiation of the dependant compents?? If not, or your container vendor hasn't, watch out??... - The new best practice EJB architecture as of EJB 2.0, makes sense if you're architecting a shrink wrapped product that has to work with customer supplied DB's and schema's. I don't believe this is very common, nor will be. So why are the Sun J2EE blueprints showcasing this architecture? I don't know. I'll be sticking with the architecture that's based on DAO and EJB for transactions only. BTW, my thoughts on QL vs SQL... QL and CMP is just one more pain that I see folks sinking bunches of time in. You need to own your data and will end up spending the same time needed to write DAOs and SQL anyway, so why not do it? curt I was reading the J2EE design patterns book and it suggested using a Course - grained approach at building your entity beans (dependent tables accessed via Data Access Objects). However, after inspecting the new 2.0 specs, and considering the inclusion of EJBLocalHome and EJBLocalObject, is it necessary to still follow this recommendation? I personally would rather not code DAOs, however, if there is a performance gain by doing so, I would. Thanks for you advice. Aaron.
NoSuchObjectException taking over FinderException
There seems to be a problem with FinderExceptions due to lazy loading of entity beans. It seems to me that FinderExceptions are not working properly for entity beans? Any ideas. See the following snipet. InitialContext ic = new InitialContext(); Object o = ic.lookup(java:comp/env/ejb/CounterHome); CounterHome counterHome = (CounterHome)PortableRemoteObject.narrow(o, CounterHome.class); // FinderException should be thrown but is NOT. Counter counter = counterHome.findByPrimaryKey(xyz); // NoSuchObjectException is thrown because the entity does not exist. System.out.println(counter.getNextID()); - Thanks. [EMAIL PROTECTED]
SV: NoSuchObjectException taking over FinderException
Title: SV: NoSuchObjectException taking over FinderException Hmm, maybee you get the FinderException becuase there is no such entity? -Ursprungligt meddelande- Fran: Brian Chan [mailto:[EMAIL PROTECTED]] Skickat: den 20 november 2001 20:20 Till: Orion-Interest Amne: NoSuchObjectException taking over FinderException There seems to be a problem with FinderExceptions due to lazy loading of entity beans. It seems to me that FinderExceptions are not working properly for entity beans? Any ideas. See the following snipet. InitialContext ic = new InitialContext(); Object o = ic.lookup(java:comp/env/ejb/CounterHome); CounterHome counterHome = (CounterHome)PortableRemoteObject.narrow(o, CounterHome.class); // FinderException should be thrown but is NOT. Counter counter = counterHome.findByPrimaryKey(xyz); // NoSuchObjectException is thrown because the entity does not exist. System.out.println(counter.getNextID()); - Thanks. [EMAIL PROTECTED]
OrionRemoteException: Error (de-)serializing object:
Hi, i am new in J2EE technology and i'm big troubles. I have an intranet application (jsp ejb) running fine with version 1.4.0, i am trying to deploy the same EAR in 1.5.2 version, but i get this error. com.evermind.server.rmi.OrionRemoteException: Error (de-)serializing object: org.gjt.mm.mysql.jdbc2.ResultSet; nested exception is: java.io.NotSerializableException: org.gjt.mm.mysql.jdbc2.ResultSet This error occurs when i return a ResultSet from a method executeQuery of an EJB that manages de mysql db. I have written many jsp, that are in production, and i woud not want to modify them. Is there any solution for this error ? Can i solve this problem if i return a Vector, instead of a ResultSet ? Many thanks in advance and best regards Andres Garcia Hourcade EJB import java.rmi.*; import java.util.*; import javax.ejb.*; import javax.naming.*; import java.sql.*; import javax.sql.*; import javax.sql.DataSource; // ejb que maneja archivos de log import Log.*; public class DbManagerBean implements SessionBean { transient SessionContext context; transient Connection conn = null; transient DataSource ds = null; transient Statement st = null; transient ResultSet rs = null; public void getConnection(String datasource) throws RemoteException, DbManagerException { try { InitialContext ictx = new InitialContext(); this.ds = (DataSource) ictx.lookup(datasource); this.conn = this.ds.getConnection(); } catch (Exception e) { throw new DbManagerException(e); } } public void closeConnection() throws RemoteException, DbManagerException { try { this.conn.close(); } catch (Exception e) { throw new DbManagerException(e); } } public ResultSet executeQuery(String strsql, String logonuser) throws RemoteException, DbManagerException { st = null; rs = null; try { //ResultSet.TYPE_SCROLL_INSENSITIVE, //ResultSet.CONCUR_READ_ONLY this.st = this.conn.createStatement(); try{ // logeo la consulta InitialContext context = new InitialContext(); LogHome logHome = (LogHome) javax.rmi.PortableRemoteObject.narrow(context.lookup(Log), LogHome.class); Log log = logHome.create(); log.writeDebug(strsql, logonuser); log.remove(); } catch (Exception e) { throw new DbManagerException(e); } rs = this.st.executeQuery(strsql); // the closing of a statement also closes all // the resultsets asociated with the statement st.close(); } catch (SQLException e) { throw new DbManagerException(e, this.conn); } return (rs); } public void ejbPassivate(){ context = null; conn = null; ds = null; st = null; rs = null; } public void ejbActivate() { } public void ejbRemove() { } public void ejbCreate() { } public void setSessionContext(SessionContext context) { this.context = context; } }
Re: Most Urgent: How to find jndi lookup name for Transaction Manager?
InitialContext ic = new InitialContext(); UserTransaction ut = (javax.transaction.UserTransaction)ic.lookup(java:comp/UserTransaction); - Original Message - From: Ray Harrison [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, November 21, 2001 3:12 AM Subject: Re: Most Urgent: How to find jndi lookup name for Transaction Manager? Check out the Orionserver FAQ: How do I get a reference to the TransactionManager? import javax.naming.*; import javax.transaction.*; ... TransactionManager manager = (TransactionManager)new InitialContext().lookup(java:comp/UserTransaction); Cheers Ray --- patrick patrick [EMAIL PROTECTED] wrote: Dear all, if any one know how to find the jndi lookup name for the Transaction Manager, please let me know.. Thanks patrick __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
DataSourceUserManager and User Credentials....?
Has anyone been able to get the DataSourceUserManager to work correctly with and Application client? I am begining to think that there my be a problem with the way orion handles security from outside itself. It seems that I have to duplicate the credentials of the user in /config/principals.xml in order to get Orion to correctly accept incoming requests from external applications. I can successfully authenticate through a servlet. Any thoughts on this? Thanks! Aaron.
Calling entity bean from a session bean in Orion 1.5.3
Hi, I want to access an entity bean from a session bean . I have added the ejb-ref tag in the ejb-jar.xml and the same works perfectly on orion 1.3.8 But on Orion 1.5.3 I get the following error javax.naming.NamingException: No EJB found with an ejb-name matching the ejb-link 'Entity' at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:64) at com.evermind[Orion/1.5.3 (build 10509)]._lsb._wk(.:33) at com.evermind[Orion/1.5.3 (build 10509)].server.rmi.RMIContext._ywd(.:857) at com.evermind[Orion/1.5.3 (build 10509)].server.rmi.RMIContext._xnb(.:660) at com.evermind[Orion/1.5.3 (build 10509)].server.rmi.RMIContext.lookup(.:63) at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:189) at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63) at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:34) at com.evermind[Orion/1.5.3 (build 10509)]._in.lookup(.:53) at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:121) at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63) This is my ejb-jar.xml session display-nameA/display-name ejb-nameA/ejb-name homeAHome/home remoteA/remote ejb-classABean/ejb-class session-typeStateless/session-type transaction-typeBean/transaction-type ejb-ref descriptionSubscriber EJB/description ejb-ref-nameejb/BHome/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homeBHome/home remoteB/remote ejb-linkEntity/ejb-link /ejb-ref /session Please advice. Thanks Rajeev
Re: deployment tool
I'm usin orion 1.2.2.. How can I deploy class files? Is there and deployment tool? - Original Message - From: DeVincentiis Giustino [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 4:50 PM Subject: RE: deployment tool Hi, you can try Ant (http://jakarta.apache.org/ant/) Giustino -Original Message- From: kamsky@yahoo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 6:54 AM To: Orion-Interest Subject: deployment tool Hi, Is there a deployment tool that is easier than j2sdkee1.3? What is it? Thanks _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Calling entity bean from a session bean in Orion 1.5.3
Take out the ejb-link tag. It is not necessary. On Tue, 2001-11-20 at 18:50, Puthezhath, Rajeev (TWII Boston) wrote: Hi, I want to access an entity bean from a session bean . I have added the ejb-ref tag in the ejb-jar.xml and the same works perfectly on orion 1.3.8 But on Orion 1.5.3 I get the following error javax.naming.NamingException: No EJB found with an ejb-name matching the ejb-link 'Entity' at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:64) at com.evermind[Orion/1.5.3 (build 10509)]._lsb._wk(.:33) at com.evermind[Orion/1.5.3 (build 10509)].server.rmi.RMIContext._ywd(.:857) at com.evermind[Orion/1.5.3 (build 10509)].server.rmi.RMIContext._xnb(.:660) at com.evermind[Orion/1.5.3 (build 10509)].server.rmi.RMIContext.lookup(.:63) at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:189) at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63) at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:34) at com.evermind[Orion/1.5.3 (build 10509)]._in.lookup(.:53) at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:121) at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63) This is my ejb-jar.xml session display-nameA/display-name ejb-nameA/ejb-name homeAHome/home remoteA/remote ejb-classABean/ejb-class session-typeStateless/session-type transaction-typeBean/transaction-type ejb-ref descriptionSubscriber EJB/description ejb-ref-nameejb/BHome/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homeBHome/home remoteB/remote ejb-linkEntity/ejb-link /ejb-ref /session Please advice. Thanks Rajeev
Re: Most Urgent: How to find jndi lookup name for Transaction Manager?
hi ray, Thanks for your prompt reply.. But, i don't need the JNDI LOOK UP name of the userTransaction, I need the JNDI NAME TO LOOKUP SERVER TRANSACTION MANAGER. SO PLEASE SEND ME THAT.. EXPECTING IMMEDIATE REPLY.. THANKING YOU PATRICK --- Greg Matthews [EMAIL PROTECTED] wrote: InitialContext ic = new InitialContext(); UserTransaction ut = (javax.transaction.UserTransaction)ic.lookup(java:comp/UserTransaction); - Original Message - From: Ray Harrison [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, November 21, 2001 3:12 AM Subject: Re: Most Urgent: How to find jndi lookup name for Transaction Manager? Check out the Orionserver FAQ: How do I get a reference to the TransactionManager? import javax.naming.*; import javax.transaction.*; ... TransactionManager manager = (TransactionManager)new InitialContext().lookup(java:comp/UserTransaction); Cheers Ray --- patrick patrick [EMAIL PROTECTED] wrote: Dear all, if any one know how to find the jndi lookup name for the Transaction Manager, please let me know.. Thanks patrick __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
about loadbalancer with selectiontype \first\
Hi, When using clustering, there are two options in selectiontype, first or random, to chose the way of picking a back end server. I understand when the loadbalancer swiches to next server if the selectiontype was set "first". But I don't know how it decides which one shuld be first and next. Is it picked randomly or according to list order of backend-server in load-balancer.xml? Please help me. Thanks in advance. Teddy Wong