03-06-06 10:55 PM
We've got an application running on JBoss 4.0.2 that we're currently porting
to WebSphere 6. The application uses Spring and Hibernate, and is built wit
h ant and xdoclet.
In porting the application we've run into a problem with JMS, as we get a ja
vax.naming.NameNotFoundException for java:comp/UserTransaction (I understand
this the "new home" for the UserTransaction object in WAS6 as opposed to th
e "old home" in WAS5, jta/u
sertransaction).
At this point, I don't know if the issue is in our code, in the Spring Frame
work, or in my configuration of WebSphere, but as I'm a complete WebSphere n
ovice, I wouldn't be at all surprised if it is the latter!
To help illustrate my problem, I've created a dummy HelloMDB project and a s
tep-by-step summary of what I do to configure WebSphere. Currently I'm exper
iencing three problems -
1) At deployment I get an ADMA8019E warning with my Activation Specification
.
2) At deployment I get an ADMA0138W warning with my Activation Specification
.
3) At run-time I get a javax.naming.NameNotFoundException for java:comp/User
Transaction
The HelloMDB project (with source, build and configuration scripts, spring and xdoclet
libraries, and deployment descriptors) is available as a 4 MB zip file from http:/
/www.mindbend.demon.co.uk/EchoMDB.zip (though you'll need to supply your own
JDK1.4 an
d Ant installation). I'll be happy to post scripts and config files here, I
just didn't want to clutter up the thread if there's an easy, obvious soluti
on that I've missed!
I'm really at my wits' end on this one, and would greatly appreciate any and
all hints or suggestions on this matter.
Thanks for your help,
=Per
[ Post a follow-up to this message ]
|