-->
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: Hibernate and WebStart
PostPosted: Sun Jun 25, 2006 4:16 pm 
Beginner
Beginner

Joined: Tue May 11, 2004 8:24 am
Posts: 23
Hi,

I am trying move our fat-swing-client from traditional install to webstart and I am encountering a strange problem:
The mapping files are packed in a jar and configured via Configuration.addInputStream
This works perfectly fine when running the locally.
Through webstart the following messages are logged:

org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]

org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/

org.hibernate.util.DTDEntityResolver - unable to locate [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] on classpath

de.webjazz.pleasure.backend.persistence.HibernateConnector - Could not parse mapping document in input stream

I believe the DTD ist usually pulled from the hibernate3.jar, but fails here for some reason.
The webstart is configured with:
<security>
<all-permissions/>
</security>
so this should not be an issue.

Any ideas, hints ... ?

Thank you in advance,

Alex


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 26, 2006 2:57 am 
Pro
Pro

Joined: Mon Jan 24, 2005 5:39 am
Posts: 216
Location: Germany
Hi,

this may be because there is different xml parser in your classpath.
Hibernate usually uses xerces 2.6. With this the hibernate dtd is not loaded
via internet but instead from the hibernate3.jar.

Hope this helps.

_________________
dont forget to rate !


Top
 Profile  
 
 Post subject: cglib
PostPosted: Wed Sep 06, 2006 8:22 pm 
Beginner
Beginner

Joined: Sat Oct 04, 2003 7:00 am
Posts: 26
Location: Roma,IT
But EHCACHE, in webstart enviroment, can write the data to local system?

i've planed to migrate my stand-alone application to webstart application to semplify the distribution in my intranet.

tnx for the help


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.