-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: In WAS where should I put hibernate config and mapping DTD
PostPosted: Wed Nov 02, 2005 12:15 pm 
Beginner
Beginner

Joined: Tue Apr 26, 2005 8:39 am
Posts: 34
Hi Guys,
While Working in WASAD I got timed out for the below statement

<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">

so I changed to
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"hibernate-configuration-2.0.dtd">

and put hibernate-configuration-2.0.dtd & hibernate-mapping-2.0.dtd in root level and copy it in C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1 it worked

But now I tried to deploy in WAS it is not picking up from root level or from EAR file

SO where Do I need to put htese files when I keep
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"hibernate-configuration-2.0.dtd">

or

<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">

Thanks for your time
Ramesh


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 02, 2005 12:47 pm 
Newbie

Joined: Thu Jan 20, 2005 12:21 pm
Posts: 9
Hi,

I am using Eclipse (on which WASAD is based(?)) and had a similar problem.

There are several possibilities:
  • You are using Hibernate version 3 but are still referring to
    the hibernate 2 DTD in your mapping files. In this case, update
    your mapping files to refer to the version 3 DTD.
  • You did not put the hibernate jars in your class path.


Cheers
Erik


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 02, 2005 1:31 pm 
Beginner
Beginner

Joined: Tue Apr 26, 2005 8:39 am
Posts: 34
I am using hibernate 2.X.X

I have hibernate jar on my classpath..

Any clue.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 02, 2005 1:37 pm 
Beginner
Beginner

Joined: Tue Apr 26, 2005 8:39 am
Posts: 34
Hi ErikEngerd, Thanks for the clues,


I am using Hibernate 2.1.7. I hope "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" is the right DTD

Classpath on WAS ....I doubt...

but I have hibernate2.jar on my
edcsWeb.war\WEB-INF\lib


Any other clue.


Thanks
Ramesh


Top
 Profile  
 
 Post subject: Why Timed out
PostPosted: Wed Nov 02, 2005 1:40 pm 
Beginner
Beginner

Joined: Tue Apr 26, 2005 8:39 am
Posts: 34
Why am I getting timed out for

<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-

but not on web.xml

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

Why...any clue..

Thanks
Ramesh


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.