This post originated from an RSS feed registered with Java Buzz
by Simon Brown.
Original Post: WebLogic Workshop on Mac OS X (from Linux Installer)
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Yesterday I wrote some notes about how to install WLS from the Linux installer. Today I'll finish off the story by sharing my experience of installing and running WebLogic Workshop. If you've not seen it, Workshop is BEA's IDE and in conjunction with WebLogic Builder, it's a pretty good tool for building and assembling J2EE applications for deployment on WebLogic.
If you choose to install Workshop from the GUI installer, it's gets installed underneath $BEA_HOME/weblogic81/workshop. In this directory is a script called Workshop.sh and this is used to run the tool. Unfortunately it doesn't run "as is" and some tweaking is needed. First of all, you'll need to "fix" your JDK so that it looks like a typical install (with jre/bin/java and jre/lib/rt.jar). If you've ever looked at the Apple JDK then you'll know what I mean. Next you need to edit that script and I've done this as follows. I basically changed the path to java, some of the JVM options and stopped output being redirected to dev/null (so I can see the stack traces when it blows up, which it hasn't yet).
That's pretty much it. Run the script and Workshop will start up.
Of course, since it's another Java application, WebLogic Builder also runs fine.
I've loaded an application into these tools and I was able to deploy and redeploy from it just fine, editing the code and/or config as necessary. WebLogic on Mac is certainly a viable development platform for J2EE.