Hi Armin,

If I were to have multiple ejb.jar that have it owns repository (class
descriptor, jdbc-connection-descriptor). OJB will only found the jdbc
connection descriptor of the ejb.jar that is firstly deployed. What is
the correct strategy for deployment of multiple ejb.jar with it own
bundle of OJB.jar in a same JVM?

Thanks
Regards,
Stephen




>-----Original Message-----
>From: Armin Waibel [mailto:[EMAIL PROTECTED] 
>Sent: 18 April 2004 01:59
>To: OJB Users List
>Subject: Re: deploying OJB in Jboss
>
>
>Hi Stephen,
>
>Stephen Ting wrote:
>
>> I had followed the following ear template suggested by OJB 
>deployment 
>> tutorial.  But still during deployment time of my EAR. Jboss 
>complain 
>> cann't find OJB api. Whereas if i include the lib in the 
>ejb.jar file, 
>> it will deploy successfully without any problems.
>
>Sorry I never tried this, the description showed in the 
>deployment file 
>based on this post
>
>http://www.mail-archive.com/[EMAIL PROTECTED]/msg08471.html
>
>of successfully deployment.
>
>regards,
>Armin
>
>> I was not able to do
>> this, because i had more than one archive of my session bean, 
>> therefore, i needs all the session in different archive to 
>see the OJB 
>> api in the EAR file.
>>  
>> Can someone please help? Please also find attached my manifest.mf..
>>  
>> /ejb.jar/
>> ...EJBs
>> ...DAOs
>> ...META-INF/
>> ......ejb-jar.xml
>> ......jboss.xml
>> ......MANIFEST.MF [Class-Path: /lib/ojb.jar<CRLF>]   <--- 
>VERY IMPORTANT
>> 
>> /lib/
>> ...ojb.jar
>> 
>> /web-app.war/
>> ...JSP
>> ...WEB-INF/
>> ......web.xml [ejb-refs to EJBs]
>> 
>> /META-INF/
>> ...application.xml
>> 
>> /OJB.properties
>> /repository.xml
>> /repository_database.xml
>> /repository_user.xml
>> 
>>  
>> This is the content of my manifest.mf file
>>  
>> Manifest-Version: 1.0
>> 
>> Ant-Version: Apache Ant 1.6.1
>> 
>> Created-By: 1.4.2-b28 (Sun Microsystems Inc.)
>> 
>> Name: main
>> 
>> Class-Path: /lib/ojb.jar
>> 
>> Thanks.
>>  
>> Regards,
>>  
>> Stephen Ting
>>  
>> 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to