cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot install HR Sample Application

stefan_sperling
Champ in-the-making
Champ in-the-making
I tried installing the HR Sample Application but the installer always failes after the context import with following message:
Failed to ping CMIS WS : [Invalid user name or password specified]@SIMPLE_CMIS{http://localhost:8080/alfresco/cmis}.
I tried installing it twice on a CentOS 6.2 server, once with Alfresco 4 and once with Alfresco 3.4e and once on a Fedora 14 workstation with Alfresco 4.
These are all fresh installations of both Alfresco and OWD, tried with a separate Tomcat6 for OWD and using the Alfresco supplied Tomcat, always with Sun-JDK 1.6 installed with default admin/admin user/password combination.
I can login on both Alfresco and OWD but for some reason, the HR Sample installer doesn't work.
Anyone got any clues?
19 REPLIES 19

stefan_sperling
Champ in-the-making
Champ in-the-making
I just tried your quick fix and am sorry to say it doesn't work, still get the error:
./install-owd-hr.sh: line 7: /root/HR: No such file or directory.

I can't send you the contents of the folder oat since it is empty (erased after the exception is thrown from the installer). I did however redirect the output from the installer to a log file which is attached to this message. It shows clearly all the steps performed.

deko
Star Contributor
Star Contributor
First line in log looks strange and -p has no value specified for password.

stefan_sperling
Champ in-the-making
Champ in-the-making
Apparently the 3rd parameter is not transfered, I just tried inversing -u and -p and now the -u has no value.

deko
Star Contributor
Star Contributor
I just checked bin/oa.sh file and I am not sure if this might cause problems, but between $3 and $4 there are two spaces. Could you try to remove one space here.

stefan_sperling
Champ in-the-making
Champ in-the-making
I removed the extra spaces and the results are the same, on a hunch I even tried adding the -cp parameter to set the port but also no luck

deko
Star Contributor
Star Contributor
Could it be a path length problem? I have to excuse, but I am really no CentOS or even linux professional in general. Maybe you could try to run the installer from a simple and even shorter location.

stefan_sperling
Champ in-the-making
Champ in-the-making
I tried running it now from a short path (/home/stefan/HRApp) with the same result. I'll try some other things after the weekend and let you know the results.

deko
Star Contributor
Star Contributor
And I will setup CentOS…

I really can´t tell what´s the problem here as I used exactly the same installer for testing it on Ubuntu and this worked fine. Linux seems not to equal Linux  :?

stefan_sperling
Champ in-the-making
Champ in-the-making
I solved the problem temporarily by executing the java statement with the correct parameters. Now the HR Sample App is installed and works fine.
I noticed some weird things with the scripts and shall investigate a little further next week and report my findings here.

deko
Star Contributor
Star Contributor
Would be great to have feedback from you. I will fix the problems you found then.

I did not come far yesterday, installed a CentOS 6 VM with Alfresco, but on my side the HR Sample Application installer was not able to restart the Alfresco Tomcat. I had to stop then because had other things to do  Smiley Surprised

As you successfully completed installation, I will stop investigation now and wait for your feedback.