jQuery in Action, 3rd edition
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes deploytool fails on startup  (mac os x) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "deploytool fails on startup  (mac os x)" Watch "deploytool fails on startup  (mac os x)" New topic

deploytool fails on startup (mac os x)

Vera Pawlowski

Joined: Mar 09, 2004
Posts: 1
I installed the J2EE SDK 1.3 linux version on my mac. J2EE application server starts up fine, but the deploytool keeps failing on startup. I am getting the following error:
> deploytool -ui
/Users/vera/Applications/j2sdkee1.3.1/bin/deploytool: line 19: 466
Segmentation fault $JAVACMD -classpath "$CPATH_CH"
$SYSTEM_PROPERTIES com.sun.enterprise.tools.deployment.main.Main "$@"
Any ideas why that is happening? Does anyone run this successfully on Mac Os X? Help is highly appreciated!
Cleland Early
Ranch Hand

Joined: Apr 16, 2001
Posts: 38
The default installation of Mac OS X doesn't include the J2EE classes. However, you can download XCode 1.1 tools from the Apple developer site which includes a tweaked version of JBoss that runs out of the box on Mac OS X (use the custom install option when you run the installers). JBoss features hot deployment, so all you have to do is drag your ejb jar to the deployment directory, making the deployment tool superfluous. If you run JBoss in a terminal window, you can watch the debugging information as JBoss attempts to deploy your application.
[ March 09, 2004: Message edited by: Cleland Early ]
I agree. Here's the link: http://aspose.com/file-tools
subject: deploytool fails on startup (mac os x)
It's not a secret anymore!