Or if you are lazy like me and rely on copy and paste heavily, you can use:
private final Category log = Category.getInstance(getClass().getName());
- Original Message -
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 22, 2001 3:10 PM
Subjec
> "David" == David M Karr <[EMAIL PROTECTED]> writes:
David> I have a simple EJB application. It works fine from an application client,
David> including JAAS through DatabaseServerLoginModule, using my "UserBean" table.
David> I set up a web application to go with it. I was abl
Some oracle drivers are allegedly xa compatible however you have to use
their own Xid implementation (there's an ugly hack in the tm to do this)
and specify to use their implementation in jboss.jcml somewhere.. I think
there's a comment about this.
I have never tried it, I recall a few people get
*Note* I saw a howto in the manual and the only differnece between it and
what I currently
have is add the following line to jboss.properties
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
So is this what you are talking about?
I cam confused because, I noticed that the it still uses
What is entailed in changing to an XA DataSource...
Are the oracle drivers XA compatible?
d.
-Original Message-
From: Ole Husgaard [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 22, 2001 5:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Transaction Exception !!! / ejbStore
Hi,
"Ferguson, Doug" wrote:
>
> I've done some more research and it appears that there is alittle more going
> on.
>
> We have two datasources. 1 is for failover.
> The 2nd database syncs with the other every 10 minutes.
> For our user session we have to write to both of the databases.
> This w
I've done some more research and it appears that there is alittle more going
on.
We have two datasources. 1 is for failover.
The 2nd database syncs with the other every 10 minutes.
For our user session we have to write to both of the databases.
This wier exception was occuring when both databases
I figured out some more info..
Inside my ejbStore I check to make sure that the executeQuery method
only returns 1 indicating that it stored 1 row. Apparently the table
wasn't set up for a unique constraint so it actually updated 2 rows.
Now, since my if(executeUpdate != 1) then I throw an EJBExc
include
import org.apache.log4j.Category;
private Category log = Category.getInstance(MyClass.class);
//Or use a string, maybe for jsps, haven't tried
to log...
log.info("my message");
log.warn("HI");
catch (Exception e)
{
log.error("now you've really done it! You broke it with exception",
Some are in my servlet and some are in beans..
How do I convert them to log4j.
I don't know much about log4j.
I have done a little reading but I wouldn't know how to
tie into the jBoss logging.
d.
-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]]
Sent: Friday, September
Title: Accessing JavaMail session
In JBoss documentation, its recommended to defined in the ejb-jar.xml a resource named mail/Mail of type javax.mail.Session. and in the code, request it via the JNDI name java:Mail, which works fined.
But when I try to request the JavaMail session with the JN
Hi,
Your UT lookup seems correct.
Maybe you have hit a bug in the cache like the one
reported at:
https://sourceforge.net/tracker/index.php?func=detail&aid=463548&group_id=22866&atid=376685
If this is the case, and your loadOrCreateMyBean()
method tries to create the bean before looking it
up, y
12 matches
Mail list logo