Open juan-vg opened 7 years ago
There have been some changes to the paths in the last few updates which weren't reflected in the README file. I've updated the README file accordingly.
In the Last exception trace, I am not sure why the RewriteFilter is still being invoked. It has been removed in the latest version of Wings. I would recommend updating your code from latest and try to compile again.
I'm sorry. It was my fault. I was using an old wings-portal.war version due to repository failures (#41).
Anyway, I have tested the most recent version a few days ago and I was getting similar 500 errors. I will get back soon with the updated error logs.
http://<server-ip>:8080/wings-portal/login
produces HTTP 500 error.
java.lang.NullPointerException
org.apache.catalina.connector.Request.getServletMapping(Request.java:2210)
org.apache.catalina.connector.RequestFacade.getServletMapping(RequestFacade.java:1127)
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:431)
org.apache.catalina.authenticator.FormAuthenticator.doAuthenticate(FormAuthenticator.java:248)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:560)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1441)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)
I have discovered that the /users/common/list
endpoint returns the login form. Once I logged in all the endpoints started to work as intended.
How to reproduce:
First start deploying latest wings-portal (run maven install in order to generate most recent release). And then:
First Option
Try to load the first URL pointed at the README's 6th step (http://localhost:8080/wings-portal/common/users) without login first
Second Option
Login via http://localhost:8080/wings-portal/workflows/edit because is the only URL that shows the login form instead a 404 or 500 error
And then try to load one of the following URLs