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.  [ 3 posts ] 
Author Message
 Post subject: Strange with hibernate library and java native projects!
PostPosted: Mon Nov 20, 2006 5:08 am 
Newbie

Joined: Wed Aug 23, 2006 6:50 am
Posts: 5
Something strange happened in my project. when I run my java Native project (I use dll files) and use hibernate jar files in class path, it exit java exe . this jar files are common-logging. common-lang,cglib-full and so.

When I run this project without this jar files it works.
What happaned with hibernate library? Enyone has an idea to solve this problem?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 8:08 am 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
Could you give the exception you're encountering ? Could you also be more precise about what you do when it works and when not ?

Quote:
When I run this project without this jar files it works.

Which jar ? Hibernate or another ?

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 10:07 am 
Newbie

Joined: Wed Aug 23, 2006 6:50 am
Posts: 5
batmat wrote:
Quote:
When I run this project without this jar files it works.

Which jar ? Hibernate or another ?


I put in my project's classpath hibernate's jar files, hibernate.jar,commons-logging.jar,commons-lang.jar,ehcache.jar ,cglib-2.1.jar and odmg.jar.
When I load DLL COM Object in java Application and in this application classpath is loaded hibernate jars ,so when I call dll 's method from java , java JVM is exited .
bat when I run this Application without hibernate jars,call dll method it doesn't exit JVM,it works
I can't understand what's problem. It doesn't throw eny exception.
maybe hibernate takes some memory Of JVM and it 'is reason lack of memory for dll.
Maybe someone knows this problem


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