Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] Using Tomcat - reply

Gili,
	Sounds good, thank you for your diligence, the wiki is updated for 3) and 2) to avoid confusion.
	I will add a non-jta-data-source version of the example as soon as I verify it on Tomcat 6.0.
	/michael

-----Original Message-----
From: cowwoc [mailto:cowwoc@xxxxxxxxxxxxxxxx]
Sent: Thursday, November 06, 2008 15:17
To: eclipselink-users@xxxxxxxxxxx
Subject: RE: [eclipselink-users] Using Tomcat - reply




mobrien wrote:
> 
> Gili,
> 	Thank you for your review comments, I am glad to see you using our
> examples.
> 	Please keep in mind that these Tutorials have been tested and verified
> but they are evolving works in progress.
> 
> 	Here are some suggestions for your suggestions.
> 
> 	1) The example already illustrates use of the
> eclipselink.session.customer property set to
> JPAEclipseLinkSessionCustomizer to avoid the javax.naming exception when
> STRING_LOOKUP is not set on the JNDI connector
> 	2) This example is currently using JTA - a common configuration
> originating from a support email that started this tutorial version, the
> non-jta-data-source element is commented out in the example.
> 	3) The final String constant was used as part of a lookup that is not in
> the wiki, I will be adding the code to SVN shortly in
> http://bugs.eclipse.org/250476 and will synchronize wiki with SVN when it
> is queued - the constant should be removed.
> 

All I was trying to say is that someone trying to modify the jta example to
non-jta will run into problems because the String constant in
JPAEclipseLinkSessionCustomizer will mislead them into trying the wrong JNDI
value. Once you remove that constant it should get much better.

Thanks,
Gili
-- 
View this message in context: http://www.nabble.com/Using-Tomcat-tp20367474p20368862.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top