Marco Walther's Weblog

Main | Next day (Aug 27, 2005) »

20050826 Friday August 26, 2005

Creator 2.0 EA on RedHat Fedora Core 4

Ok, first off: We don't claim to support FC4 but since Creator and it's components are mostly Java, it should still work, right? ;-) I don't know if my SuSE Linux systems are officially supported either. But I know that people try different flavors of Linux until they find one they like. So why not help them a bit?

The solution is a bit long, because FC4 doesn't really like the J2SE 1.4, so a couple of steps normally done at the end of the install, have to be done by hand.

  1. Make sure, you have the following packages installed. Otherwise the installer will not even start.

    • xorg-x11-deprecated-libs
    • compat-libstdc++
  2. Install Creator 2ea. That will complain, that it can't start the AppServer etc. That's ok for now.

  3. Add the -Djava.net.preferIPv4Stack=true option to the following files:

    • <CREATOR_HOME>/SunAppServer8/pointbase/tools/serveroption/startserver.sh - last line
    • <CREATOR_HOME>/SunAppServer8/bin/asadmin - last line
    • <CREATOR_HOME>/SunAppServer8/domains/creator/config/domain.xml - As a new <jvm-options/> element
    • <CREATOR_HOME>/SunAppServer8/imq/bin/imqbrokerd - to the _jvm_args variable
    • <CREATOR_HOME>/rave2.0/startup/bin/run-sql-bundled.sh - last line
    • <CREATOR_HOME>/etc/netbeans.conf - to the netbeans_default_options with the -J prefix!!
  4. Populate the examples etc:

    • Go to <CREATOR_HOME>/bin
    • run ./pe-start.sh
    • run ./db-start.sh
    • run ./create-travel-db.sh
    • run ./deploy-ejbs.sh
    • run ./deplo-ws.sh
  5. Finally, run ./creator and enjoy!

I hope that helps a bit.

Update for Creator 2 Final (Wed Jan 25 11:15:31 PST 2006):

We switched to JSE 5.0 for Creator 2 EA2 and Final. So all the hand editing is not needed any longer!

Have fun.
-- Marco

( Aug 26 2005, 05:19:45 PM PDT ) Permalink Comments [1]

The First Entry

Why do we need another blog? I don't know. I prefer not to repeat stuff said somewhere else before.

But I answer questions in different places and for different people all day long. And often I come across the same or similar problems over and over again. I hope this blog can serve me as a place to remember and share the solutions we find. I hope those answers might be useful for other people as well.

I'm yet another engineer in Sun's Java Studio Creator team. I'm mostly working in the deployment area. So I will be happy when our users can deploy their web applications simply by hitting the "Green Arrow" without thinking about how all the configuration will be done on the deployment server.

But in the area of application servers/web containers there are sometimes a lot of problems. Different containers behave differently and we don't claim to support everything out of the box. But maybe I can share the things I've tried (and will try) and that can help others.

OK, if somebody reads this, have a good weekend;-) I'll try to play with a theme for this page now.

( Aug 26 2005, 03:47:40 PM PDT ) Permalink Comments [4]