cancel
Showing results for 
Search instead for 
Did you mean: 

org/alfresco/webservice/types/Store

arantxa
Champ in-the-making
Champ in-the-making
Hi,

First of all, sorry for my bad english.

I'm starting with alfesco, and I'm trying to run the WebServiceSamples project. When I run it in Eclipse, everything goes good, but I want to run it in a jar file and call it from outside.

It doesn't even create the sample_folder…

Any idea? I need help!

I get this error:

javax.servlet.ServletException: org/alfresco/webservice/types/Store
   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
   at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.alfresco_integracion.templates.plantilla_005falfresco_jsp._jspService(plantilla_005falfresco_jsp.java:91)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
   at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
   at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:170)
   at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:433)
   at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
   at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:174)
   at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:467)
   at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:412)
   at org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:225)
   at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:719)
   at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1362)
   at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:151)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)

Thanks!!
3 REPLIES 3

arantxa
Champ in-the-making
Champ in-the-making
It also happends if I try to start a session…

javax.servlet.ServletException: org/alfresco/webservice/util/AuthenticationUtils
   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
   at ……


It seems like I can't access to static classes, or don't know what!! It only works bad if I make a jar file of the project.

I need to do this urgently, so any help would be great.

Best regards.

nimind
Champ in-the-making
Champ in-the-making
Check the libraries needed in the project. In jar, you are not looking for them.

jayvpagnis
Champ in-the-making
Champ in-the-making
Try to keep the JARs in the following path in your Classpath:

* alfresco-enterprise-sdk-2.0.1\lib\remote
* alfresco-enterprise-sdk-2.0.1\lib\remote\dependancies

Try this .
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.