Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Configuring JBOSS & EJB container



I'm new to Mac and need to configure the JBOSS server & EJB 3.0 to deploy an application.

I have used jboss-4.0.4.GA & jboss-EJB-3[1].0_RC9 in Windows to develop the application. Hope I can use the same in the Mac machine as well.

Let me know how to set environment variables like JBOSS_HOME. Please provide me any such useful info for configuring JBOSS in Mac.

I found the JNLP installer for jboss-4.0.4.GA and jboss-4.0.5 to work well. In fact, it seems that the installer was the easiest way to get EJB 3.0 installed and working. If I remember correctly the zip did not come configured for EJB 3.0. My personal approach is to include 'export JBOSS_HOME=/usr/local/jboss' in my .profile, and then create a soft link to support multiple versions of jboss that can be easily toggled:


/usr/local/jboss-4.0.4       <-- jboss installation
/usr/local/jboss-4.0.5       <-- jboss installation

$ ln -s /usr/local/jboss-4.0.5 /usr/local/jboss
$ ls
/usr/local/jboss-4.0.5
/usr/local/jboss -> /usr/local/jboss-4.0.5

But you might get more mileage from just using ${JBOSS_HOME} from Ant scripts and overriding where necessary.

Vince

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.