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
- 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
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
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
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]>
&
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: <
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
>
>
> >
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
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
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]
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
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
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
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
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.
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
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
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
___
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
__
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
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
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
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
I tried "java:/comp/UserTransaction and
"java:UserTransaction" and "UserTransaction, all without success...Which JNDI
name should I use? Thanks
Anh
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
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
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
-
> 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
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
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)
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
31 matches
Mail list logo