1. One alternative is to take a look at the struts plugin code and write a servlet that runs the jndi service.
2. Another is to use the thread-safe util class thats described on the hibernate site.
Neither of these are any easier than using struts plugin however, and I know folk are using this quite happily, such as Marco.
Sounds to me like the plugin cant find hibernate.cfg.xml, this needs to be at the base of you classpath
/WEB-INF/classes/hibernate.cfg.xml
Mark
On 1 Jun 2004, at 10:12, Marco Mistroni wrote:
And which app server r u using? I have used plugin with jboss and everything looks fine for me...
Regards marco
-----Original Message----- From: Zaid [mailto:[EMAIL PROTECTED] Sent: 11 May 2004 06:18 To: Struts Users Mailing List Subject: Hibernate configuration problems
HI Friends,
I am facing many difficulties in configuring HibernatePlugIn with struts
(I
am using Struts Studio), do I need to initialize jndi ? or there might
be
another way ? cause the jndi showing me the message "cannot find
resource".
Any advice from you ? thanx alot
Zaid
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]