[JBoss-user] Tomcat & Jboss Integration

2001-06-24 Thread Phan Anh Tran
If we start JBOSS with "run_with_tomcat", is it a-ok to look up a JBOSS datasource from within a servlet or a jsp running in Tomcat?Any known integration problems? Thanks. Anh _ Do You Yahoo!? Get your free @yahoo.com address at htt

Re: Update 2 Re: [JBoss-user] JBOSS / MySQL problems

2001-06-19 Thread Phan Anh Tran
- Original Message - From: "Phan Anh Tran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 19, 2001 11:19 PM Subject: Update 1 Re: [JBoss-user] JBOSS / MySQL problems > Here is the weirdest thing: > > 1. JBOSS is started from a Command Prompt Shortcut. &g

Update 1 Re: [JBoss-user] JBOSS / MySQL problems

2001-06-19 Thread Phan Anh Tran
re is some ugly dependency somewhere in JBOSS I believe... Anh - Original Message - From: "Phan Anh Tran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 19, 2001 11:08 PM Subject: [JBoss-user] JBOSS / MySQL problems > OS: Windows 2000 Professional

[JBoss-user] JBOSS / MySQL problems

2001-06-19 Thread Phan Anh Tran
OS: Windows 2000 Professional MySQL: 3.23.38-max Tables: BDB. Driver: mm 2.0.4 AppServer: JBOSS 2.2.2 with Tomcat 3.2.2 Has anyone seen this #*@ problem? It happens after running my stuff for about 3 minutes - 3 minutes of select and update statements... java.sql.SQLException: General error: Go

Re: [JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-17 Thread Phan Anh Tran
owever the J2EE spec says it should be available to servlets and > JSP pages. So I guess the question of when will it be available outside of > Session EJB is valid :) > > ----- Original Message - > From: Phan Anh Tran <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> &

Re: [JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-17 Thread Phan Anh Tran
ndors. It would seem that even the > specification would want you to keep that logic in the Session EJB, and not > move it from that tier. > That would in general cover the why :) > > Al > > - Original Message - > From: Phan Anh Tran <[EMAIL PROTECTED]> > To: <

Re: [JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-16 Thread Phan Anh Tran
logic > > Al > > - Original Message - > From: Phan Anh Tran <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, June 17, 2001 12:53 AM > Subject: Re: [JBoss-user] Obtaining a transaction from outside JBoss in > another VM Plan > > > >

Re: [JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-16 Thread Phan Anh Tran
most of my questions about where to put code, > and makes changes much simpler and more local. In this framework, I > haven't found a case where knowledge of transactions need to get above the > business logic layer. I would be curious to know if you have an example > where this

Re: [JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-16 Thread Phan Anh Tran
db > 3. commit message. > > This should be roughly as fast as 1pc to the db, since jbossmq is running > in the same vm as the rest of jboss. > > I learned the most about this subject from the (pre ejb) book "High > Performance Client Server" by Loosley and Douglas, isb

Re: [JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-16 Thread Phan Anh Tran
of DTx (even Vlada matena had a full talk > on that). So my question is "are you at design time" (in which case don't > use it) or is this "real life". > > marcf > > |-Original Message----- > |From: [EMAIL PROTECTED] > |[mailto:[EMAIL PROTECTED]

[JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-15 Thread Phan Anh Tran
When does JBOSS plan to support the obtaining and using a transaction from another VM? 2.2.3? 2.3? Anytime in the near future? [App/VM1] <-> [EJB1,EJB2,.../JBOSS/VM2] App needs to setup and control the transactions, so in essence, my App needs to be able to obtain a UserTransaction via JNDI

Re: [JBoss-user] Weird deployment error...

2001-06-14 Thread Phan Anh Tran
Found the problem...In my remote interface, I used a number of data types which were not RMI-IIOP compliant. Is it possible to tell JBOSS to use pure RMI or non-IIOP transport? I have no need for CORBA interop... Anh - Original Message - From: "Phan Anh Tran" <[EMAIL P

[JBoss-user] Weird deployment error...

2001-06-14 Thread Phan Anh Tran
My remote interface: public interface DataManager extends EJBObject { blabalala... } My home interface: DataManagerHome DataManager create() throws CreateException, EJBException, RemoteException; == JBOSS 2.2.2 error... Bean : DataManagerBean Method : public abstr

Re: [JBoss-user] Centralized JNDI

2001-06-04 Thread Phan Anh Tran
classes), but even if it is, I don't see a > value in such a distribution. > > - Original Message - > From: "Phan Anh Tran" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, June 03, 2001 4:16 AM > Subject: [JBoss-user] Centralized JND

Re: [JBoss-user] Centralized JNDI

2001-06-03 Thread Phan Anh Tran
if it is, I don't see a > value in such a distribution. > > - Original Message - > From: "Phan Anh Tran" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, June 03, 2001 4:16 AM > Subject: [JBoss-user] Centralized JNDI > > > > 1.

[JBoss-user] Centralized JNDI

2001-06-03 Thread Phan Anh Tran
1. [JBOSS-JNDI] 2. [JBOSS-1] 3. [JBOSS-2] In JBOSS-JNDI, I would like to put all the home interfaces of all my beans. JBOSS-1 and JBOSS-2 contain all the actual EJBs. My client apps then would go to JBOSS-JNDI to find the home interfaces, but the actual beans would run in either JBOSS-1 or JBOSS

Re: [JBoss-user] Shared classes

2001-06-03 Thread Phan Anh Tran
I pack all my shared classes in one or more .jar files and drop them in the lib/ext directory. JBOSS loads the .jar files from the lib/ext directory automatically. Anh - Original Message - From: "Kashif Noorani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 01, 2001 3:4

[JBoss-user] Distributed JBOSS + MDB

2001-06-02 Thread Phan Anh Tran
Has anyone tried the following configuration using JBOSS? [JBOSS1][JBOSS2] [JBOSS3] JBOSS2 is the one running a message queue server instance, and JBOSS1 and JBOSS3 are the servers with MDBs. Does JBOSS support the described configuration? Thanks. Anh ___

[JBoss-user] Resource-Ref

2001-05-22 Thread Phan Anh Tran
Hi, According to 1.1, one can specify datasources in the section of the deployment descriptor of an EJB. Does JBOSS support this? I have been specifying my datasources directly in the jboss.jcml file, but I'd rather not have to mess with anything container specific. Thanks. Anh __

Re: [JBoss-user] Getting a UserTransaction via JNDI from a client?

2001-05-22 Thread Phan Anh Tran
Ok, I found out that it is not just possible with the current release.   Anh - Original Message - From: Phan Anh Tran To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 10:56 PM Subject: [JBoss-user] Getting a UserTransaction via JNDI from a client? How

[JBoss-user] Getting a UserTransaction via JNDI from a client?

2001-05-22 Thread Phan Anh Tran
How do I get a user transaction via JNDI from a client?  Using JDNIView, I can see a TransactionManager bound to java:, but no UserTransactionso how do I go about this business?  Thanks...   Anh  

Re: [JBoss-user] Database connection pool hangs...

2001-05-22 Thread Phan Anh Tran
nagers would leave them open. That's the whole point of pooling > connections. > > - Original Message - > From: "Phan Anh Tran" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 22, 2001 2:07 AM > Subject: Re: [JBoss-user] D

Re: [JBoss-user] ClassPathExtension mechanism does not seem to work...

2001-05-22 Thread Phan Anh Tran
tension mechanism does not seem to work... > When you do this - do you need to make any changes to the jboss > configuration or does jboss always load any jar files in lib\ext? > > thanks > scott > > -Original Message- > From: Phan Anh Tran [mailto:[EMAIL PROTECTE

[JBoss-user] JNDI namespace for UserTransaction?

2001-05-22 Thread Phan Anh Tran
I tried "java:/comp/UserTransaction and "java:UserTransaction" and "UserTransaction, all without success...Which JNDI name should I use?  Thanks   Anh

Re: [JBoss-user] JBoss and ANT

2001-05-21 Thread Phan Anh Tran
I just use the zip task to build and deploy my beans. Really convenient... Anh - Original Message - From: "Robert Burrell Donkin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 10:43 AM Subject: Re: [JBoss-user] JBoss and ANT > "Scott M Stark" <[EMAIL PROTECTE

[JBoss-user] Sequential Updates

2001-05-21 Thread Phan Anh Tran
I need to make 2 sequential updates to the same row.  The first update is made by a stateless session bean and the second update is made by the client that called the stateless session bean.   The 2 updates change different columns of the same row.   I need an all-or-nothing approach, so my g

Re: [JBoss-user] ClassPathExtension mechanism does not seem to work...

2001-05-21 Thread Phan Anh Tran
I just drop my extra libs in lib\ext. Any reason why you don't want to go that route? Anh - Original Message - From: "Xandy Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 10:31 PM Subject: Re: [JBoss-user] ClassPathExtension mechanism does not seem to wo

Re: [JBoss-user] Database connection pool hangs...

2001-05-21 Thread Phan Anh Tran
- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of danch (Dan > Christopherson) > Sent: 21 May 2001 16:29 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Database connection pool hangs... > > > You're probably not closing your connections. Y

Re: [JBoss-user] Database connection pool hangs...

2001-05-20 Thread Phan Anh Tran
I found the problem. I ran out of connections with blocking enabled on the pool. Anh - Original Message - From: "Phan Anh Tran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 20, 2001 11:32 PM Subject: [JBoss-user] Database connection pool hangs

[JBoss-user] Database connection pool hangs...

2001-05-20 Thread Phan Anh Tran
OS: Windows 2K. J2SDK1.3.0_02 and and J2EE 1.3 beta. JBOSS 2.2.1 and Tomcat 3.2.1 MySQL 3.23.36 mm driver 2.0.4 This code is running in the context of a stateless session bean: Context initCtx = new InitialContext(); DataSource ds = (DataSource)initCtx.lookup("java:/" + aDataSourceName)

[JBoss-user] Class Not Found Mystery

2001-05-18 Thread Phan Anh Tran
1. JBOSS-2.2.1 + TOMCAT 3.2.1 as is out of the box. 2. Windows 2K and JDK1.3.0_02. and J2EE 1.3 beta. 3. MySQL 3.23.36 and mm driver 2.0.4.   Here is my problem, I deployed a simple stateless session bean with all the classes it needs in an XYZ.jar file.   1. The bean deploys ok. 2. My clien