cancel
Showing results for 
Search instead for 
Did you mean: 

Problem workdesk installation

mehrit
Champ in-the-making
Champ in-the-making
Hi all,
after download alfresco-workdesk-community-4.1.1.1-2013-10-07-dist.zip I unzip the file into a temporary folder, copy the folder workdesk from \bin\ and paste it into my Apache Tomcat directory "webapps" and I restart tomcat to deploy Workdesk.
But when I try connect to http://AddressOfMyServer:8080/workdesk and I put the default user and password (csu abs) credential I received an error Unauthorizzed
can yuo help me?
thanks
8 REPLIES 8

vahe
Champ in-the-making
Champ in-the-making
this credentials are not valid for the Workdesk Community Edition.
What scenario are you trying to run with this credentials? What guide are you using?
It seems that you require the Trial Version of Workdesk, not the Community one.
Please try the credentials you setup for the Alfresco installation (e.g. admin/admin).

mehrit
Champ in-the-making
Champ in-the-making
My scenario is centos 6.4 64 bit, alfresco 4.2.e community edition with active directory (win 2003 R2) as authentication service.
I tried with this credential because I tried with my credential (the same that I use in alfresco) but it doesn't work, I tried with alfresco's admin credential but it's the same
thanks

d_evil
Champ in-the-making
Champ in-the-making
Hi mehrit,

did you replaced all configuration with your local-Alfresco instance?
Can you provide more details what you are trying to do?

I just get a bit confused, either you have that Workdesk Trail package trying to connect to that Trial server
or you have an own configuration which will maybe not match the Workdesk Trail scenario.

Maybe the Stacktrace will provide also some hints on what is going wrong.

Cheers,
D.evil

mehrit
Champ in-the-making
Champ in-the-making
Hi D.evil,
my idea is to work with Workdesk Community paired with my Alfresco Community Server on a Centos Linux machine, already in production, which I have recently updated to version 4.2.e, authentication mode is "Active Directory".
I tried to modify the file owbootstrap.xml and I changed the tag "Authentication mode=LDAP" that seems to work fine, in fact when I try to log in to Workdesk with wrong credential the error is "Error: Login failed: Wrong user name or password" while giving correct credentials the error is "error Unauthorized"
I give in attachment the stacktrace of the "Unauthorized error".

d_evil
Champ in-the-making
Champ in-the-making
Ok, I see the stack trace and it shows that the CMIS communication seems to be not alright.

Can you try and disable the Authentication, set it to
Authentication mode="NONE"
, just to see if you can connect to your Reposiotry/Alfresco server.
I know that the Authentication node is not doing what you would expect. Its used to defined how to retrieve Group/User information, and nothing more.

Let check if the CMIS commincation is OK.
If not check what JRE is used, I don't think OpenJDK is officially supported for Workdesk.

mehrit
Champ in-the-making
Champ in-the-making
I already tried the Authentication mode="NONE" but without success.
I don't use the OpenJDK but Java(TM) SE Runtime Environment (build 1.7.0_07-b10), I think the CMIS commincation is OK, I tried http://myip:8080/alfresco/cmis andi it works
thanks

d_evil
Champ in-the-making
Champ in-the-making
Well, but if mode="NONE" gets the same results, I would say the CMIS communication is not OK.

Accessing http://myip:8080/alfresco/cmis just shows if the Root is accessible, but CMIS itself will call different URI/paths. To avoid any Issues in configuration, could you try to connect to your repository using the OpenCMIS Workbench (Apache Chemistry project).


Also you should clarify which configuration you have in your <strong>owbootstrap.xml</strong>, because from 4.1.1.1 you have following possibilities:
<strong>New configuration (based on Apache Chemistry OpenCMIS Framework)</strong>

<ClassName>com.wewebu.ow.server.ecmimpl.opencmis.OwCMISNetwork</ClassName>

<openCmisConf>
<entry key="org.apache.chemistry.opencmis.objectfactory.classname">org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl</entry>
<entry key="org.apache.chemistry.opencmis.binding.connecttimeout">10000</entry>
<entry key="org.apache.chemistry.opencmis.binding.readtimeout">10000</entry>
</openCmisConf>

<AtomPub>http://myip:8080/alfresco/cmisatom</AtomPub>



<strong>Old Configruation (based Sun Metro WebService)</strong>

<ClassName>com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork</ClassName>

<WSDLRepository>http://myip:8080/alfresco/cmis/RepositoryService?wsdl</WSDLRepository>
<WSDLNavigation>http://myip:8080/alfresco/cmis/NavigationService?wsdl</WSDLNavigation>
<WSDLObject>http://myip:8080/alfresco/cmis/ObjectService?wsdl</WSDLObject>
<WSDLMultifiling>http://myip:8080/alfresco/cmis/MultiFilingService?wsdl</WSDLMultifiling>
<WSDLDiscovery>http://myip:8080/alfresco/cmis/DiscoveryService?wsdl</WSDLDiscovery>
<WSDLVersioning>http://myip:8080/alfresco/cmis/VersioningService?wsdl</WSDLVersioning>
<WSDLRelationship>http://myip:8080/alfresco/cmis/RelationshipService?wsdl</WSDLRelationship>
<WSDLPolicy>http://myip:8080/alfresco/cmis/PolicyService?wsdl</WSDLPolicy>
<WSDLACL>http://myip:8080/alfresco/cmis/ACLService?wsdl</WSDLACL>


I hope you don't have some kind of SSO or external Auth configured for your deployment, in such case I think you will have to implement the CMIS-Authentication (by default Workdesk is provided only with Basic HTTP-Auth).

mehrit
Champ in-the-making
Champ in-the-making
Great!!
I change configuration from new configuration (Chemestry) to old configuration (Sun Metro) and workdesk work well!!
I will investigate why my alfresco don't work with Chemestry
Thanks a lot D.evil