Hi, i'm new to alfresco,
in this period i created a java library that make some operation on alfresco repository. Using this library in eclipse, it make correctly the operations on the repository (with web services but also in embedded way).
Now i'm trying to develope a web application using jsp that uses the library i have created. Now i'm tryng only to log in in the repository; Using web services there are not errors, but using alfresco in the embedded way i have the following exceptions thrown by tomcat:
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
it.saga.progetti.rs.esi.cms.alfresco.embedded.EsiCmsAlfrescoEmFactory.login(Unknown Source)
it.saga.progetti.rs.esi.cms.EsiCmsManager.login(Unknown Source)
org.apache.jsp.login.login_jsp._jspService(login_jsp.java:75)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
——————————————————————————————————————————————-
it.saga.progetti.rs.esi.cms.alfresco.embedded.EsiCmsAlfrescoEmFactory.login IS THE LOGIN METHOD OF MY CLASS.
I'M USING ALFRESCO COMMUNITY 2.1.0 TOMCAT BOUNDLED. AND MY WEB APP IS IN THE "WEBAPPS" TOMCAT FOLDER
THERE ARE SOME CONFIGURATION TO USE ALFRESCO IN THE EMBEDDED WAY? I HAVE TO PUT SOME IMPORTANT FILE IN MY LIBRARY JAR(I.E. alfresco-jmxrmi.access )?
CAN SOMEONE HELP ME?
THANKS IN ADVANCE