Thread:
 Using Hibernate with JBoss / initilization order 
 jschulz   03 Nov 2003, 17:48 
 Re: Using Hibernate with JBoss / initilization ... 
 csak   18 Nov 2003, 17:24 
 Re: Using Hibernate with JBoss / initilization ... 
 tmaus   05 Mar 2004, 10:59 
 Re: Using Hibernate with JBoss / initilizati... 
 mathis   05 Mar 2004, 19:07 
 Facing problem with NotNull constraint with Jbo... 
 Kirti   28 Dec 2006, 07:40 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: mathis (05 Mar 2004, 19:07) Replies: 0, Views: 37801
Subject: Re: Using Hibernate with JBoss / initilization order
On 05 Mar 2004 10:59, tmaus wrote:

>nice ..
>can u provide me some code snipplets ..

>i was not able to force the sar file to take local packages ..
>i needed to put the files into the lib directory ...

I guess the problem is with the manifest file. The format is a bit
tricky. Below is the configuration which wored for me. Beware: the first
jar name must be on the same line as "Class-Path:". And the effect is
limited: the classes are still in the global addreee space of the ear
(or JBoss, if outside a ear).

Manifest-Version: 1.0
Built-By: Gopas Software
Class-Path: lib/commons-logging.jar
  lib/hibernate2.jar
  lib/ognl.jar
  lib/odmg.jar
  lib/commons-lang.jar
  lib/commons-collections.jar
  lib/cglib2.jar
  lib/commons-beanutils.jar
  lib/commons-codec.jar
  lib/commons-digester.jar
  lib/commons-fileupload.jar
  lib/ehcache.jar
  lib/jakarta-oro.jar
  lib/javassist.jar
  (other jars...)
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]