Highlighted

DDGWebSample - Error

Johannes_Lehnin

28-08-2008

Hi,



I've deployed everything following your guide but I get the listed error as click Generate Document on http://host:8080/DDGSample/orderInteractive.html



there is no AuthenticationToken class in the adobe_usermanagement_client.jar file.



Any ideas?



regards

Johannes



javax.servlet.ServletException: com/adobe/idp/um/businesslogic/authentication/AuthenticationToken

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)

org.apache.jsp.orderInteractive_dxfa._jspService(org.apache.jsp.orderInteractive_dxfa:79)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

Replies

Highlighted

Avatar

Guest

28-08-2008

Can you try replacing the adobe-usermanager-client.jar with the {LC_Install_Directory}\LiveCycle_ES_SDK\client-libs\common\ adobe-usermanager-client.jar on your machine. The problem seems to be with different versions of adobe-usermanager-client.jar



http://www.adobeforums.com/webx/?13@@.59b64d80
Highlighted

Johannes_Lehnin

28-08-2008

Hi,



thx, I've replaced the jar file, but the error is still the same and the archive does not contain the AuthenticationToken Class.



other ideas?



regards

Johannes



root cause



java.lang.NoClassDefFoundError: com/adobe/idp/um/businesslogic/authentication/AuthenticationToken

java.lang.ClassLoader.defineClass1(Native Method)

java.lang.ClassLoader.defineClass(ClassLoader.java:620)

java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1629)

org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)

java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

java.lang.Class.getDeclaredMethods0(Native Method)

java.lang.Class.privateGetDeclaredMethods(Class.java:2395)

java.lang.Class.privateGetPublicMethods(Class.java:2519)

java.lang.Class.getMethods(Class.java:1406)

com.adobe.solutions.generatedoc.utils.Utils.getMethod(Utils.java:852)

com.adobe.solutions.generatedoc.RenderTag.setPageContext(RenderTag.java:77)

org.apache.jsp.orderInteractive_dxfa._jspx_meth_lc_render_0(org.apache.jsp.orderInteractive_dxfa:92)

org.apache.jsp.orderInteractive_dxfa._jspService(org.apache.jsp.orderInteractive_dxfa:70)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Highlighted

Avatar

Guest

29-08-2008

Have you replaced the adobe-usermanager-client.jar in DDGSample.war\WEB-INF\lib and redeployed the war file ?



If yes , please tell the value of Specification-Version

property from the adobe-usermanager-client.jar\META-INF\MANIFEST.MF file.
Highlighted

Johannes_Lehnin

01-09-2008

hi,



here the Specification-Version

property from the adobe-usermanager-client.jar\META-INF\MANIFEST.MF file.



Specification-Version: 8.2.2164.1.183592.1



regards

Johannes
Highlighted

Avatar

Guest

01-09-2008

Ok. First replace the "DDGSample.war\WEB-INF\lib\adobe-usermanager-client.jar" with your adobe-usermanager-client.jar (Specification Version 8.2.2164.1.183592.1 ) and redeploy the DDGSample.war.

For redeployment you need to undeploy the previous DDGSample.war WebApp and then deploy the new DDGSample.war (with the replaced adobe-usermanager-client.jar). It should work.