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

deko
Star Contributor
Star Contributor
Did you start the installer with the following command?

sudo install-owd-hr.sh -ap <alfresco_path> -u <user_name> -p <password>

If so, did you use correct user name and password, as this is what exception tells:
[Invalid user name or password specified]

I do not have any experience with the installer on CentOS or Fedora. The only environments I have tested were Windows XP, Windows 7 and Ubuntu 10.4. But as installation worked on Ubuntu, it should also work on CentOS and Fedora in general.

stefan_sperling
Champ in-the-making
Champ in-the-making
I used the command as specified in the documentation using -u admin and -p admin as last parameters, those are also the credentials I use when logging in.
I even tried creating another user with administrator rights and use those credentials, first to log in and afterwards to run the script, still the same error

deko
Star Contributor
Star Contributor
Is your Alfresco Tomcat running on port 8080?

Do you get a result page when calling http://localhost:8080/alfresco/cmis in any web browser while Alfresco server is running?

4lfr3d7115
Champ in-the-making
Champ in-the-making
deko

i have the same problem alfresco tomcat its running on port 80  and the problem is de port 8080 that i don use!

How to configure at por 80 because idont use port 8080
Tanks

stefan_sperling
Champ in-the-making
Champ in-the-making
When I call http://<server ip address>:8080/alfresco/cmis I get a page showing the complete service list, 12 services in total.
As I mentionned before, both Alfresco and OWD are running fine, I can even access Alfresco via Sharepoint protocol from Office applications. I just can't get the HR App to install.
What I did notice is that the ACLService is still not used in the WDSL section (for a local Alfresco system) in owbootstrap.xml, could that be the reason?

deko
Star Contributor
Star Contributor
No, it is fine without ACL WSDL entry, because official ACL support will come with the upcoming OWD 3.2.0.0 release and is not yet available in current Community Edition. I will have a deeper look into the Installer, maybe I can provide a version with debug output.

stefan_sperling
Champ in-the-making
Champ in-the-making
Thanks for your swift reply.
I noticed another 'bug' in the installer, it requires to be run from a full path without spaces e.g. it wil run from /root/hrapp/ but not from /root/HR Application/ complaining that /root/HR is not an application

deko
Star Contributor
Star Contributor
Could you attach the folder Alfresco\oat\owd-hr packed as archive. This folder includes the installer log files. Maybe they can give more detail on this issue.

deko
Star Contributor
Star Contributor
You are right with pathes including spaces. To make it run located in a path including spaces you would have to adopt the install-owd-hr.sh file like the following:

SCRIPTDIR=$(cd $(dirname "$0"); pwd)

OA_SH=$SCRIPTDIR/bin/oa.sh

$OA_SH -i $SCRIPTDIR/samples/owd-hr -lm $0 $1 $2 $3 $4 $5 $6 $7 $8 $9

Can you start script from root/HR Application now? I would be pleased if you could test this quickly, and if this works I would fix this in our installer, being then available for download with the new upcoming OpenWorkdesk Community Edition 3.2.0.0 release?