Re: Jboss 4.0.x deployment
Re: Jboss 4.0.x deployment
- Subject: Re: Jboss 4.0.x deployment
- From: David Aspinall <email@hidden>
- Date: Fri, 30 Jun 2006 11:12:42 -0400
Ok, I had to comment out the ticoon logging references so it would
compile without dependancy
http://WOCode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?
itemId=459
Here are the notes I added:
- WebSphere (at least for version 5 which our client uses) will not
tolerate subthread data access. According to my understanding of the
Servlet container spec, subthreads are not covered and so their
behavior is not predictable. We experienced all kinds of weird
behavior due to differences in properties, class loaders and JNDI
contexts from the 'main' threads and the subthreads.
- I have included some of our TApplication.java subclass code. This
code shows how we configure EOModels when they are loaded and how we
install the JavaWSPoolJDBCAdaptor as needed.
- the TApplication code also shows (although it will not compile) the
logic we use for WebSphere Single Sign on. This same code also works
with Tomcat for another client who uses NTLM SSO.
- If you build multiple apps into an EAR file, this adaptor must be
in the /lib/ directory of each application WAR file. Just like the
WebObjects jar's, it must be there or the class loaders will mess it
up. If anyone can explain this and or how to fix it (I hate
duplicating all those jars) I would appreciate the help.
On 29-Jun-06, at 3:32 PM, Andrew Madu wrote:
Hi David,
appologies for the late reply. Yes that would be great if you could
post it.
regards
Andrew
On 28/06/06, David Aspinall < email@hidden> wrote:We are
not using JBoss, but we are using WebSphere and all database
connections are handled by the IBM Connection pool. We got all kinds
of connection issues (incomplete transactions, deadlocks, closed
connections) because EOF like to make a connection and hold it
forever.
To fix it i created an alternate EOF adaptor based on the
JavaPoolingJDBCAdaptor. It manages the connections using delegate
hooks from EOF.
Let me know, I can probably post it if you are interested.
David
---
Ticoon Technology Inc.
56 The Esplanade, Suite 404, Toronto, ON, M5E 1A7
On 28-Jun-06, at 1:09 PM, Andrew Madu wrote:
> Hi,
> is anyone deploying their webobjects peoject withing Jboss 4.0.x?
> If so, how are you handling your DB connections, are you letting
> Jboss handle the connection via JNDI or are you letting webojects
> handle it?
>
> thanks in advance
>
> Andrew
> _______________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden