login problems (again)

Former SVN Browser
alexus
Posts: 3
Joined: Thu Dec 22, 2005 9:55 am

login problems (again)

Postby alexus » Thu Dec 22, 2005 10:16 am

Just installed svnwebclient 1.0.0 on java 1.5.0_06 and tomcat 5.5.12.
When I first hit the webapp, I see the following in apache log of SVN repository:
127.0.0.1 - "" [22/Dec/2005:10:00:29 +0000] "PROPFIND /repos/XXX HTTP/1.1" 401 491

and I see login screen. Whatever I enter as username and password (including the right ones) I can't see any more requests in apache log. I had a glance at the source of login page and spotted that the login form's action attribute is set to the URL of login.jsp. I suspected that was incorrect and temporarily hard coded the action to http://.../svnwebclient/. After that, I started getting the following exception:

Code: Select all

org.apache.jasper.JasperException: /include/navigation.jsp(26,0) The value for the useBean class attribute org.polarion.svnwebclient.web.controller.IBean is invalid.
   at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
   at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
   at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
   at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1223)
   at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
   at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
   at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
   at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
   at org.apache.jasper.compiler.Generator.generate(Generator.java:3284)
   at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
   at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
   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.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
   at org.apache.jsp.include.top_jsp._jspService(org.apache.jsp.include.top_jsp:93)
   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:322)
   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.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
   at org.apache.jsp.directoryContent_jsp._jspService(org.apache.jsp.directoryContent_jsp:75)
   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:322)
   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.polarion.svnwebclient.authorization.impl.BindSessionsFilter.doFilter(BindSessionsFilter.java:48)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.polarion.svnwebclient.web.CharsetFilter.doFilter(CharsetFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   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:868)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
   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)


That sounds correct, because org.polarion.svnwebclient.web.controller.IBean is interface and cannot be instantiated by <jsp:useBean>.

alexus
Posts: 3
Joined: Thu Dec 22, 2005 9:55 am

JSTL

Postby alexus » Thu Dec 22, 2005 10:24 am

Forgot to add that I did all as described in readme.txt, including copying jstl.jar and standard.jar from jakarta-taglibs-standard-1.1.2 to WEB-INF/lib.

ivinnykov
Posts: 473
Joined: Tue Jan 03, 2006 11:57 am
Location: Kharkiv, Ukraine

Postby ivinnykov » Wed Jan 04, 2006 1:08 pm

Dear alexus,

Thank you for issues reporting.

Both issues (invalid form action and useBean failure) were fixed in latest build. You are able to download it from http://community.polarion.org/polarion/ ... tributions.

Also please note that JSTL doesn't more used in latest versions, so correspondent JARs no more required.
Best regards,
Igor Vinnykov
Polarion Team

faarigia
Posts: 1
Joined: Tue Feb 17, 2015 11:07 am

Re: login problems (again)

Postby faarigia » Tue Feb 17, 2015 11:21 am

I am adding functionality in polarion to add/remove/update/display metadata properties on a specified file/folder. I am done with the basic work.
Now I need information where to place JavaSVN interfacing function in polarion??
According to my understanding I shall add
public void doSetProperty(File path, String propName, String propValue, boolean force, boolean recursive, ISVNPropertyHandler handler) throws SVNException{} in IDataProvider and DataProvider.
As this is the function in SVNWCClient in JavaSVN library.
Sign up with Testking a+ certification for getting incredible online prince2 foundation. We also provide best artinstitutesmiami and Florida Institute of Technology with guaranteed success.


Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 2 guests