Congrats on getting it to work!

Sorry, I forgot to mention the need for your lib's to be in the CLASSPATH in the 
Manifest file.

Isn't it nice to be able to redeploy also!

-Andrew


-----Original Message-----
From: Michael Mogley [mailto:[EMAIL PROTECTED]
Sent: Sat 2/28/2004 10:34 PM
To: OJB Users List
Subject: success deploying ojb in jboss
 
Thanks Andrew and Armin.  I followed Andrew's advice and packaged everything
in one ear.  Good news is I am also able to redeploy without having to
restart the app-server (no OJB redeployment issues so far).

Here's how I did it:

/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

It would have been great to have a template like this before I started.
Hope this makes someone's life easier.

Michael




---------------------------------------------------------------------
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