Hi David, When Java Puppet module installs Java, it creates a symlink "java" in the /opt dir to the jdk folder. If that is broken it can be caused by an unsuccessful puppet run. Could you check the /tmp/puppet_log for errors?
Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed, Mar 11, 2015 at 2:56 PM, david hbase <davidhb...@gmail.com> wrote: > Hi, Team > > Please help, it's urgent for the production schedule now. > > Additional confirmation required: if the following link is our Stratos 4.0 > official stable link or not? > > https://dist.apache.org/repos/dist/dev/stratos/4.0.0-rc4/apache-stratos-cartridge-agent-4.0.0.zip > > I can not make the cartridge agent working, please reference this email > chain. > > Also please note, the /opt/java path is a broken path. ( ref: > /mnt/apache-stratos-cartridge-agent-4.0.0/bin/stratos.sh line 53 ) > > Thanks > -D > > > On Wed, Mar 11, 2015 at 12:36 AM, david hbase <davidhb...@gmail.com> > wrote: > >> Hi, Team >> >> Tested with stratos 4.0, but the cartridge agent can be started with LB >> instance. >> Error log as following: >> >> root@lblbdoma-508:/mnt/apache-stratos-cartridge-agent-4.0.0# >> bin/stratos.sh >> Starting cartridge agent... >> Error: Could not find or load main class >> org.apache.stratos.cartridge.agent.Main >> >> Verfied the jar file is there: >> root@lblbdoma-508:/mnt/apache-stratos-cartridge-agent-4.0.0# ll >> /mnt/apache-stratos-cartridge-agent-4.0.0/lib/org.apache.stratos.cartridge.agent-4.0.0.jar >> -rwxr-xr-x 1 root root 0 Dec 26 16:29 >> /mnt/apache-stratos-cartridge-agent-4.0.0/lib/org.apache.stratos.cartridge.agent-4.0.0.jar* >> >> Please help, Thanks >> -D >> > >