« Return to Thread: New enhydra releases

Re: New enhydra releases

by Petr Stehlik :: Rate this Message:

Reply to Author | View in Thread

Slobodan Vujasinovic wrote:
> Hi,

Slobodan,

> You are right, tomcat documentation, manager and host-manager are not
> included in enhydra runtime distribution. This is bug in our build procedure
> and it will be fixed in next enhydra release!

Very good.

> Also, you are right about "configureBase" shell script (it is not upgraded
> to the latest directory changes introduced with Tomcat 6.0).

I see. BTW, I was hoping the Tomcat 6 will finally resolve the
OutOfMemory problem (PermGen space) that Enhydra is suffering from ever
since (it's actually a JDK bug, most probably) but it still happens
after several deploy/undeploys..

> This scenario can be useful if you are having multiple enhydra instances
> running on the same physical machine but (of course) using different
> connection and shutdown ports (easier maintenance and lower hard disk
> requirements).
>
> "configureBase" allows you create and configure such (CATALINA_BASE)
> directories!

This sounds great. I'll try to remember such easy and clear explanation
but if you added it to the README.txt it would be even better (as I tend
to forget everything :-)

> Regarding "configure" shell script, it should be executed with "-jdk.dir"
> parameter!

The README.txt says:
======================
To configure the enhydra distribution:

cd to '<enhydra_root>/multiserver/enhydra' directory and type in the
following command:

configure    (Windows)

./configure  (Linux)
======================

So no mention of -jdk.dir...

Also, few lines below where you explain how to prepare the
build.properties file you say:

"jdk.dir - the path to your installation of the Java Development Kit
(obligational if environment variable JAVA_HOME isn't (properly) defined)"

So basically the -jdk.dir is not documented as a requirement for correct
configuration.

> In our next release, we'll also implement $JAVA_HOME environment variable
> recognition.

Something as simple as the following patch would work:

--- multiserver/enhydra/configure.old   2007-10-26 18:37:38.000000000 +0200
+++ multiserver/enhydra/configure       2007-12-18 10:09:43.000000000 +0100
@@ -99,7 +99,6 @@
         then
                 JAVA_HOME=$(expr "x$param" : 'x[^=]*=\(.*\)')
                 export JAVA_HOME
-               jdk_DOT_dir=$JAVA_HOME
                 continue
         fi

@@ -315,6 +314,7 @@

  done

+jdk_DOT_dir=$JAVA_HOME

  export PATH=$JAVA_HOME/bin:$PATH


> Thank you very much for those problem reports!
> We'll resolve those issues for our next release.

Thanks for your great work on TAS/TDS.

Petr




--
You receive this message as a subscriber of the enhydra@... mailing list.
To unsubscribe: mailto:enhydra-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

 « Return to Thread: New enhydra releases