1. OpenSCG
  2. bigsql
  3. pgStudio
  4. Issues
Issue #7 resolved

Error on using pgstudio with jetty

Sandeep Srinivasa
created an issue

here's the command used to start pgstudio: java -jar jetty-runner-9.0.6.v20130930.jar pgstudio.war

I navigate to http://localhost:8080/ successfully. Upon filling in username/password details, it redirects to http://localhost:8080/pgstudio/PgStudio.jsp which throws an error:

2013-10-08 18:25:20.950:INFO:oejr.Runner:main: Runner 2013-10-08 18:25:21.136:INFO:oejs.Server:main: jetty-9.0.6.v20130930 2013-10-08 18:25:26.518:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@64efc9fb{/,file:/tmp/jetty-0.0.0.0-8080-pgstudio.war--any-/webapp/,AVAILABLE}{file:/home/user/Code/jobturtle/pgstudio.war} 2013-10-08 18:25:26.518:WARN:oejsh.RequestLogHandler:main: !RequestLog 2013-10-08 18:25:26.591:INFO:oejs.ServerConnector:main: Started ServerConnector@7692fed2{HTTP/1.1}{0.0.0.0:8080} Oct 08, 2013 6:27:38 PM org.apache.jasper.servlet.JspServlet serviceJspFile SEVERE: PWC6117: File "%2Ftmp%2Fjetty-0.0.0.0-8080-pgstudio.war--any-%2Fwebapp%2Fpgstudio%2FPgStudio.jsp" not found Oct 08, 2013 6:27:45 PM org.apache.jasper.servlet.JspServlet serviceJspFile SEVERE: PWC6117: File "%2Ftmp%2Fjetty-0.0.0.0-8080-pgstudio.war--any-%2Fwebapp%2Fpgstudio%2FPgStudio.jsp" not found Oct 08, 2013 6:27:47 PM org.apache.jasper.servlet.JspServlet serviceJspFile SEVERE: PWC6117: File "%2Ftmp%2Fjetty-0.0.0.0-8080-pgstudio.war--any-%2Fwebapp%2Fpgstudio%2FPgStudio.jsp" not found Oct 08, 2013 6:29:16 PM org.apache.jasper.servlet.JspServlet serviceJspFile SEVERE: PWC6117: File "%2Ftmp%2Fjetty-0.0.0.0-8080-pgstudio.war--any-%2Fwebapp%2Fpgstudio%2FPgStudio.jsp" not found Oct 08, 2013 6:31:06 PM org.apache.jasper.servlet.JspServlet serviceJspFile SEVERE: PWC6117: File "%2Ftmp%2Fjetty-0.0.0.0-8080-pgstudio.war--any-%2Fwebapp%2Fpgstudio%2FPgStudio.jsp" not found

However, if after this I type in http://localhost:8080/ and press reload, it manages to show me the next screen (with the tables) successfully.

I'm using pgstudio 1.0 tar.bz2 downloaded on 1:01 PM Tuesday, October 8, 2013 (UTC)

Comments (5)

  1. Sandeep Srinivasa reporter

    Jim Mlodgenski - not sure what you mean by that. I am running the war file on the commandline using jetty as described here. I'm did not mess or deploy any application anywhere.

    IMHO think there is a hardcoded assumption of what the paths ought to be. This is by far the easiest way to get a WAR running in 2 seconds, so it will be great if this can be fixed.

  2. Log in to comment