cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring with Alfresco CIMS

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi,
I have deployed on top of Alfresco CIMS. When I try to login I get the following exception. Not sure what is going on.
Can you please help to fix the same.
Thanks

Error Source: OECM
java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.wewebu.ow.server.ui.OwAppContext.handleRequest(OwAppContext.java:1237)
   at com.wewebu.ow.server.app.OwMainAppContext.handleRequest(OwMainAppContext.java:611)
   at com.wewebu.ow.server.ui.OwWebApplication.handleRequest(OwWebApplication.java:331)
   at org.apache.jsp.default20_jsp._jspService(default20_jsp.java:77)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: com.wewebu.ow.server.exceptions.OwAuthenticationException: Login failed: Wrong user name or password!
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.loginDefault(OwCMISNetwork.java:872)
   at com.wewebu.ow.server.ecmimpl.cmis.ui.OwCMISLoginSubModul.onLogin(OwCMISLoginSubModul.java:128)
   … 26 more
Caused by: javax.xml.ws.soap.SOAPFaultException: The message has expired
   at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189)
   at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
   at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:130)
   at $Proxy238.getRepositories(Unknown Source)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.loginDefault(OwCMISNetwork.java:838)
   … 27 more
13 REPLIES 13

deko
Star Contributor
Star Contributor
I just installed a fresh Ubuntu 10.04 with a JDK 6 environment and tested OpenWorkdesk Community Edition 3.0.0.0 together with Alfresco Community Edition 3.3g in one and the same Apache Tomcat 6.0.26 server, that comes with the Alfresco package. Everything worked fine for me and I didn´t get any stacktrace errors.

All i did, was following vahe´s steps from the previous comment. I just copied the ow folder of the OWD Community Edition 3.0.0.0 (OWD_3.0.0.0Final_Community_Edition_binow) to 'opt/Alfresco/tomcat/webapps'. I DID NOT copy or replace ANY libraries (no endorsed folder, no webservices jars).

After editing 'opt/Alfresco/tomcat/webapps/ow/WEB-INF/conf/cmis/owbootstrap.xml' and replace http://cmis.alfresco.com/cmis/ with http://localhost:8080/alfresco/cmis/ I started the tomcat server, called the URL http://localhost:8080/ow/ and could connect OpenWorkdesk against my local Alfresco installation (user: admin, pwd: admin):

[img_resize=500x300]http://openworkdesk.org/img/ubuntu.png[/img_resize]

A bigger version of this screenshot can be found here.

unknown-user
Champ on-the-rise
Champ on-the-rise
I did the same thing on a Mac OS X host and it fails to recognize the password. Frustrating. I was looking forward to seeing the HR demo, but if I can't even get the basic install working I guess it can't go forward. Smiley Happy

unknown-user
Champ on-the-rise
Champ on-the-rise
What is your set-up?  Are you using Alfresco locally or are you testing OpenWorkdesk against the Alfresco Cloud?

Are you able to log in directly to Alfresco without any problems?

When logging into the Alfresco Cloud, be sure to use the following credentials:
user: admin
password: admin

Is the OWD web.xml file configured correctly?

For example,

For a normal OpenWorkdesk Community Edition use:
<!– Configuration CMIS: Example for CMIS adapter. (Community Edition) –>
<param-value>deploy#WEB-INF/conf/cmis</param-value>

For the OpenWorkdesk HR demo use:
<!– Configuration CMIS: HR Scenario. (Community Edition) –>
<param-value>deploy#WEB-INF/conf/cmis_hr</param-value>

Is the owbootstrap.xml file configured correctly?

For example,
Using the Alfresco Cloud:
<!– Alfresco online CMIS WSDL location –>
   <WSDLRepository>http://cmis.alfresco.com/cmis/RepositoryService?wsdl</WSDLRepository>
                <WSDLNavigation>http://cmis.alfresco.com/cmis/NavigationService?wsdl</WSDLNavigation>
                <WSDLObject>http://cmis.alfresco.com/cmis/ObjectService?wsdl</WSDLObject>
                <WSDLMultifiling>http://cmis.alfresco.com/cmis/MultiFilingService?wsdl</WSDLMultifiling>
                <WSDLDiscovery>http://cmis.alfresco.com/cmis/DiscoveryService?wsdl</WSDLDiscovery>
                <WSDLVersioning>http://cmis.alfresco.com/cmis/VersioningService?wsdl</WSDLVersioning>
                <WSDLRelationship>http://cmis.alfresco.com/cmis/RelationshipService?wsdl</WSDLRelationship>
                <WSDLPolicy>http://cmis.alfresco.com/cmis/PolicyService?wsdl</WSDLPolicy>
                <WSDLACL>http://cmis.alfresco.com/cmis/ACLService?wsdl</WSDLACL>

Using a local Alfresco server:
<!– Enter the WSDL location for the config of your Alfresco System –>
   <WSDLRepository>http://srvalf3:8080/alfresco/cmis/RepositoryService?wsdl</WSDLRepository>
   <WSDLNavigation>http://srvalf3:8080/alfresco/cmis/NavigationService?wsdl</WSDLNavigation>
   <WSDLObject>http://srvalf3:8080/alfresco/cmis/ObjectService?wsdl</WSDLObject>
   <WSDLMultifiling>http://srvalf3:8080/alfresco/cmis/MultiFilingService?wsdl</WSDLMultifiling>
   <WSDLDiscovery>http://srvalf3:8080/alfresco/cmis/DiscoveryService?wsdl</WSDLDiscovery>
   <WSDLVersioning>http://srvalf3:8080/alfresco/cmis/VersioningService?wsdl</WSDLVersioning>
   <WSDLRelationship>http://srvalf3:8080/alfresco/cmis/RelationshipService?wsdl</WSDLRelationship>
   <WSDLPolicy>http://srvalf3:8080/alfresco/cmis/PolicyService?wsdl</WSDLPolicy>
Let us know how you get on.

deko
Star Contributor
Star Contributor
Do not use the Tomcat server that comes with the Alfresco installation for deploying OpenWorkdesk Community Edition, as there may occur some library conflicts (see http://openworkdesk.org/phpbbforum/viewtopic.php?f=6&t=47)

Instead, download and use a OWN Tomcat server for deploying OpenWorkdesk and everything should work fine.