You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Zaid <za...@cosmos-software.com> on 2004/05/08 10:35:18 UTC
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" <mm...@waersystems.com>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
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:zaidatheer@cosmos-software.com]
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Hibernate configuration problems
Posted by Mark Lowe <ma...@boxstuff.com>.
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" <mm...@waersystems.com>
> To: "'Struts Users Mailing List'" <us...@struts.apache.org>
> 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:zaidatheer@cosmos-software.com]
>> 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" <mm...@waersystems.com>
>> To: "'Struts Users Mailing List'" <us...@struts.apache.org>
>> 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:zaidatheer@cosmos-software.com]
>>> 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: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Hibernate configuration problems
Posted by Marco Mistroni <mm...@waersystems.com>.
Hi,
U can download the source and comment the JNDI part urself :-)
Regards
marco
-----Original Message-----
From: Zaid [mailto:zaidatheer@cosmos-software.com]
Sent: 08 May 2004 10:48
To: Struts Users Mailing List
Subject: Re: Hibernate configuration problems
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" <mm...@waersystems.com>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
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:zaidatheer@cosmos-software.com]
> 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" <mm...@waersystems.com>
> To: "'Struts Users Mailing List'" <us...@struts.apache.org>
> 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:zaidatheer@cosmos-software.com]
> > 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Hibernate configuration problems
Posted by Zaid <za...@cosmos-software.com>.
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" <mm...@waersystems.com>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
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:zaidatheer@cosmos-software.com]
> 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" <mm...@waersystems.com>
> To: "'Struts Users Mailing List'" <us...@struts.apache.org>
> 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:zaidatheer@cosmos-software.com]
> > 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Hibernate configuration problems
Posted by Marco Mistroni <mm...@waersystems.com>.
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:zaidatheer@cosmos-software.com]
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" <mm...@waersystems.com>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
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:zaidatheer@cosmos-software.com]
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org