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
Hi Puttappaiahm,

As the exception tells "Login failed: Wrong user name or password!", you have to login with the username and the password you have setup while installation of your local Alfresco deployment.


Or do you want to use OpenWorkdesk CE on top of the online Alfreso system, which is default behavior if you didn´t reconfigure owbootstrap.xml like described in the Quickstart Guide? Then you´d have to login as user "admin" with the password "admin".

unknown-user
Champ on-the-rise
Champ on-the-rise
i have the same problem with Login failed: Wrong user name or password. is there any solution for that? my alfresco account is admin admin but still the same problem.

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

the problem is that the
javax.xml.ws.soap.SOAPFaultException: The message has expired  :shock:

Please check your configuration first in the web.xml you will find a context-param OwResourceFilePath the value is something like deploy#WEB-INF/conf/cmis,
in that folder you will find a owbootstrap.xml there are WSDL*-tags mapping to the corresponding CMIS system.

Also the openworkdesk use the sun-metro webserivces reference implementation which uses special classes in the Proxy-handling, or could be a Xalan/Xerces problem which are used by the server/deployment.

For quick test, try to deploy the Openworkdesk on a different JEE-Container, to see if that can communicate with the alfresco-CMIS interface.
Next step will be to update the Xerces/Xalan libs, if that still make problems would be good to know which JRE and Alfresco version you use.

Regards,
D.evil

unknown-user
Champ on-the-rise
Champ on-the-rise
Hello Friend

thanks for your response the error that i have now is :

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:600)
   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:374)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   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:128)
   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:286)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   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:1156)
   at com.wewebu.ow.server.ecmimpl.cmis.ui.OwCMISLoginSubModul.onLogin(OwCMISLoginSubModul.java:128)
   … 26 more
Caused by: javax.xml.ws.soap.SOAPFaultException: java.text.ParseException: Unparseable date: "2010-08-23T10:28:5Z.000Z"
   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 $Proxy251.getRepositories(Unknown Source)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.loginDefault(OwCMISNetwork.java:1122)
   … 27 more

unknown-user
Champ on-the-rise
Champ on-the-rise
Caused by: javax.xml.ws.soap.SOAPFaultException: java.text.ParseException: Unparseable date: "2010-08-23T10:28:5Z.000Z"

unknown-user
Champ on-the-rise
Champ on-the-rise
for information i am using apache tomcat 6.0.18 which comes with alfresco community 3.3 and jdk 1.6

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

have similar installation on a Windows XP, and it is running quite well.
Only one Problem I had was the JAXB libs of sun metro and the jdk 6
http://weblogs.java.net/blog/325/2009/04/03/tip-using-jax-ws-22-metro-20-tomcat-6x-jdk-6
have a look on it, I will try to reproduce the parse exception.

A similar Exception I had with a jboss 4.0.5GA with jdk6, but could solve it updating the Xerces/Xalan libs.

Regards,
D.evil

unknown-user
Champ on-the-rise
Champ on-the-rise
This is the output from Catalina.out on a fresh installation of OWD on Linux, Tomcat 6, JDK 6 and Alfresco 3.3g.

webservices-api.jar exists in <tomcat>/endorsed

I tested the installation using the dummy configuration, which worked as expected.
I then switched the configuration to CMIS and got the following error/stacktrace as has been noticed before.

The userid/password I used is valid and working in my Alfresco installation.

Any ideas?

INFO: Deploying web application directory openworkdesk
log4j:WARN No appenders could be found for logger (owd.core).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Sep 3, 2010 12:26:05 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 3, 2010 12:26:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 79453 ms
2010-09-03 12:26:29,040 [http-8080-1] WARN  owd.core [] - OwConfiguration.init: Warning, the spring JDBC access Template (m_jdbcTemplate) is null.
/opt/Alfresco/tomcat/webapps/openworkdesk/WEB-INF/lib/ow_core_3000.jarSep 3, 2010 12:26:37 PM [com.sun.xml.ws.assembler.MetroConfigLoader]  <init>
INFO: Default metro-default.xml configuration file located at: 'jar:file:/opt/Alfresco/tomcat/webapps/openworkdesk/WEB-INF/lib/webservices-rt.jar!/META-INF/metro-default.xml'
2010-09-03 12:26:38,787 [http-8080-1] ERROR owd.core [] - OwMainAppContext handleRequest Exception…
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.wewebu.ow.server.ui.OwAppContext.handleRequest(OwAppContext.java:1237)
        at com.wewebu.ow.server.app.OwMainAppContext.handleRequest(OwMainAppContext.java:600)
        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:636)
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:1156)
        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 $Proxy237.getRepositories(Unknown Source)
        at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.loginDefault(OwCMISNetwork.java:1122)
        … 27 more

vahe
Champ in-the-making
Champ in-the-making
I will describe the way I installed the OWD Community Edtion 3.0.0.0 into the Apache Tomcat of the Alfresco Community Edition installation.

:arrow: 1. I have installed Alfresco Community Edition (Alfresco-Community-3.3g-Full-Setup.exe) on Windows XP (Alfresco admin account login:admin, pw:admin), installation path C:\Alfresco.
Java comes with Alfresco (Version 1.6.0_21).
Apache Tomcat comes with Alfresco (Version 6.0.26)

:arrow: 2. I have copied the ow folder of the OWD Community Edition 3.0.0.0 (OWD_3.0.0.0Final_Community_Edition_bin\ow) to c:\Alfresco\tomcat\webapps\ow\. I do not copy or replace libraries (no endorsed folder, no webservices jars, niente)

:arrow: 3. OWD is configured to connect against the Alfresco Cloud. If you want to connect against your local Alfresco installation go to c:\Alfresco\tomcat\webapps\ow\WEB-INF\conf\cmis\owbootstrap.xml and replace http://cmis.alfresco.com/cmis/ with http://localhost:8080/alfresco/cmis/

:arrow: 4. Start Alfresco Server

:arrow: 5. Browse to: http://localhost:8080/ow/, Logon with: admin/admin. That's it.

Sorry, I haven't tried it on Ubuntu… but maybe in the next days. :idea: