-->
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.  [ 2 posts ] 
Author Message
 Post subject: Depolying hibernate servlet application...
PostPosted: Tue Sep 30, 2003 8:22 pm 
Newbie

Joined: Tue Sep 30, 2003 8:14 pm
Posts: 10
Location: Southern Cali.
OK, I've created an application using JBuilder 8 and I can run my
servlet and display data I've retrieved using hibernate.

I've tried to deploy the war file created by JBuilder into a stand-alone
Tomcat installation but I get a MappingException: Resource: <file-name>.hbm.xml not found. I added the mapping files by hand using
the java2 sdk jar tool: jar -uvf jarfile.jar WEB-INF\classes\*.* and
I verified the contents with: jar -tvf jarfile.jar.

Any suggestions on how to configure this *.war file so that the mapping
metadata will be found?

Thanks


Top
 Profile  
 
 Post subject: Nevermind...
PostPosted: Tue Sep 30, 2003 8:33 pm 
Newbie

Joined: Tue Sep 30, 2003 8:14 pm
Posts: 10
Location: Southern Cali.
Hmmm, nevermind. For some reason jar -uvf jarfile.jar WEB-INF\classes\*.* didn't add the two alphabetically first files in the classes
directory to the jar. Seems like someone trying to skip . and .. but mucking it up.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.