cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to load tag 'r:page'

mmrs
Champ in-the-making
Champ in-the-making
hi
im trying to run the CustomLogin sample, i'm using eclips 3.4.1, alfresco-lab-sdk-3a and tomcat-5.5.27
i've imported all nessecery lib and classes required; but this tag !! i dont know
the result is :
    org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /jsp/extension/login.jsp(39,0) Unable to load tag handler class "org.alfresco.web.ui.repo.tag.PageTag" for tag "rSmiley Tongueage"
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
       at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1340)
       at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1589)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:132)
       at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
       at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
       at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Unknown Source)
i think that this tag is prebuilt taglib in alfresco but y it's can't be loaded !!
any one have a clue plz help
i'm really stuck in there
thnx in advance
regards
3 REPLIES 3

mmrs
Champ in-the-making
Champ in-the-making
i reviewed my lib references and rebuilt the sample a gain and the following exception appear :

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: org/alfresco/repo/security/authentication/AuthenticationException
   at org.apache.jsp.jsp.extension.login_jsp._jspService(login_jsp.java:109)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
   at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
   at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
   at java.lang.Thread.run(Unknown Source)

the class that the exception hit on appear to exist in the SDK_dir/src/repository-src.zip as org/alfresco/repo/security/authentication/AuthenticationException.java but this class already imported in the SDK AlfrescoEmbedded
and the customLogin already referenced it !! then why the ClassLoader cannot find it's deffinition and says: NoClassDefFoundError !!!
My project structure look like this :

[img]http://up.dwltna.com/files/9xlhf9fa21c98yhfdrwg.jpg[/img]

any idea ?plz i dont know what to do !!

regards

mmrs
Champ in-the-making
Champ in-the-making
can u answer only this question??!
how can i link my jsf project (dynamic web project) with alfresco authinticaton services to chick my login

[size=150]My JASF Page —–>>>> My Login Bean ——>>>> Java Class contains Alfresco code[/size]

some one say some thing plz !!

zomurn
Champ in-the-making
Champ in-the-making