Has anybody ever tried to access Weblogic from JAMES? I realize this may not be the best place for this post
but I would be interested in discussing this offline with anybody who has some experience/expertise...
The problem:
I have a mailet which attempts to access an EJB from a weblogic app server (Enterprise 5.2).
My attempt to access the EJB causes JAMES to hang.
The steps for locating an EJB in weblogic are relatively simple:
1) Create a properties object specifying:
a)the vendor implementation of the jndi context object you are going to use
b)the url of the jndi service providing the context
c)credentials for accessing the service
2) Aquire a javax.naming.InitialContext object using the properties object
3) Lookup the EJB using the InitialContext
When i attempt to aquire an InitialContext object the Mailet thread hangs. I have
run the code for aquiring an InitialContext in a seperate application with no problems.
This only happens when I run inside JAMES so I am guessing there is some
concurrency/deadlock issue, and that my call to create a javax.naming.InitialContext
results in the thread blocking on a network resource that JAMES has previously
locked...any thoughts would be greatly appreciated.
Pat
