[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: Hibernate configuration problems
From:       Mark Lowe <mark.lowe () boxstuff ! com>
Date:       2004-06-01 8:32:52
Message-ID: 45A007A0-B3A6-11D8-AAC7-0003937DAEC0 () boxstuff ! com
[Download RAW message or body]

There are alternatives to using the struts plugin, but the plugin is as 
reasonable option as any other, especially if you're not trying to 
minimize the dependency on struts.

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: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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic