Perhaps there are better ways but this works
http://www.hibernate.org/42.html
it will certainly avoid jndi problems and give you breathing space.
On 8 May 2004, at 11:47, Zaid wrote:
HI Marko and Mark and all friends in this Group,
Thanx alot for being such a help for me, anyhow, does any one has some
HibernatePlugin with suppressed JNDI ?. I would be very much
appreciated.
Regards,
----- Original Message -----
From: "Marco Mistroni" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 1:07 PM
Subject: RE: Hibernate configuration problems
Hi,
That COULD be the problem.... I've heard of users getting JNDI
problems with tomcat..
I m sure there is a post either on hibernate or this mailing lists
about
That..
I have also dropped the use of struts plugin...
Nothing wrong with that, it was cool, but after seeing users getting
problems with JDNI/tomcat I realized that it could have
Been better to take the code for struts plugin and put it into my own
plugin, eventually avoiding JNDI,. Since all I needed was a global
Sessionfactory and a thread-safe session..
Regards
marco
-----Original Message-----
From: Zaid [mailto:[EMAIL PROTECTED]
Sent: 08 May 2004 09:35
To: Struts Users Mailing List
Subject: Re: Hibernate configuration problems
HI Marco,
Thanx for responding, Acually, I am using it with Tomcat 4.1 (which
comes
with Struts Studio). Do u use JNDI with Hibernate ?
Rgards,
----- Original Message -----
From: "Marco Mistroni" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 12:12 PM
Subject: RE: Hibernate configuration problems
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]
---------------------------------------------------------------------
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]