Jump to content

JasperServer Web Services Sample Pro - Login fails - 404 Not Found


zsvagner

Recommended Posts

Guys,

Can you please help me to sort out what wrong is here?

I downloaded and installed community version (jasperreports-server-5.6.1-windows-x64-installer) on Win7 Enterprise.

After starting /jasperserver-pro I received the below error message.

 "FAIL - Application at context path /jasperserver-pro could not be started" .

I undeployed and deployed jasperserver-pro again.

Now I can start the application and reach the login page (http://localhost:8080/jasperserver-pro/) but I receive (404)Not Found error message with User ID: japesradmin, Password: jasperadmin (actually doesn't matter what I enter there). One more thing. Is it OK that all tables in jasperserver DB are empty?

Here is the log:

AxisFaultfaultCode: {http://xml.apache.org/axis/}HTTPfaultSubcode:faultString: (404)Not FoundfaultActor:faultNode:faultDetail:  ...(404)Not Found    at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:218)    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)    at org.apache.axis.client.Call.invoke(Call.java:2767)    at org.apache.axis.client.Call.invoke(Call.java:2443)    at org.apache.axis.client.Call.invoke(Call.java:2366)    at org.apache.axis.client.Call.invoke(Call.java:1812)    at com.jaspersoft.jasperserver.irplugin.wsclient.RepositorySoapBindingStub.list(RepositorySoapBindingStub.java:290)    at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.list(WSClient.java:177)    at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.list(WSClient.java:128)    at com.jaspersoft.jasperserver.sample.WSClient.list(WSClient.java:72)    at org.apache.jsp.index_jsp._jspService(index_jsp.java:99)    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)    at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:65)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)    at java.lang.Thread.run(Thread.java:724)[/code]



 

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Then try it again ...

Guys,

Can you please help me to sort out what wrong is here?

I downloaded and installed community version (jasperreports-server-5.6.1-windows-x64-installer) on Win7 Enterprise.

After starting /jasperserver-pro I received the below error message.  "FAIL - Application at context path /jasperserver-pro could not be started" .

I undeployed and deployed jasperserver-pro again.

Now I can start the application and reach the login page (http://localhost:8080/jasperserver-pro/) but I receive (404)Not Found error message

with User ID: japesradmin, Password: jasperadmin (actually doesn't matter what I enter there).

One more thing. Is it OK that all tables in jasperserver DB are empty?

Here is the log:

AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)Not Found
 faultActor:
 faultNode:
 faultDetail:

  ...

(404)Not Found
    at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:218)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.jaspersoft.jasperserver.irplugin.wsclient.RepositorySoapBindingStub.list(RepositorySoapBindingStub.java:290)
    at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.list(WSClient.java:177)
    at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.list(WSClient.java:128)
    at com.jaspersoft.jasperserver.sample.WSClient.list(WSClient.java:72)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:99)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)

Link to comment
Share on other sites

If all the JasperReports Server tables in the database is empty, there probably was an error during installation. I've found JasperReports Server to sometimes cause problems and recommend users to do a WAR file installatin instead.

BTW, if you are having installing JasperReports Server, what's the connection with the title of this thread? More people would tend to look at the thread if it properly reflect the content.

Link to comment
Share on other sites

The test DBs were OK.

 

I have run WAR file installation as well with the same result, jasperserver DB tables were still empty.

 

The installation hasn't stopped with any error message.

 

I redirected the WAR installation output to file and found the issue.

 

Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long

 

Removed the existing installation and re-installed on different path (much shorter one) and it works properly now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...