TOS ESB SE V5.1.1 - Karaf not running under Linux & Mac

Employee

TOS ESB SE V5.1.1 - Karaf not running under Linux & Mac

Hi
I'm studying TOS for ESB and I can't start the karaf service on both Linux and Mac system with the trun script. There's no error and the console remains "waiting" after the command prompt:
container $ ./bin/trun
Running the trun.bat on a Windows system works without any problem and shows correctly the console.
--- No log info available ---
tail -f tesb.log
ago 03, 2012 5:30:58 PM org.apache.karaf.main.SimpleFileLock lock
INFO: locking
---
The process is running as ps -ef | grep karaf returns
container/lib/karaf.jar org.apache.karaf.main.Main
Under the directory "data" the file named "port" contains 52407, but I can't connect to that port with ssh or ./bin/client
There's no other ports available like 8101 etc..

Here's my environment:
Mac OS X Mountain Lion
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/
$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: /Users/mauro/Programmi/apache-maven-3.0.4
Java version: 1.7.0_05, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.8", arch: "x86_64", family: "mac"

Do you know how I can find a solution to this issue?
Thank you very much for your help and time
Mauro
Employee zbe
Employee

Re: TOS ESB SE V5.1.1 - Karaf not running under Linux & Mac

Hi Mauro,
we do not support java 1.7 with the 5.1 ESB. You have to use 1.6. Java 1.7 will only be supported with 5.2 which will be released end of the year. BTW, you should not use the java 1.6 update 33 (this is the latest version), as this may cause problems when deploying components created in TOS. Use update 32 or older. For more details see http://jira.talendforge.org/browse/TESB-6683 .
Zsolt
Employee

Re: TOS ESB SE V5.1.1 - Karaf not running under Linux & Mac

Hi
Thank you very much for your reply, I solved with another java version and system.
Thanks
Mauro