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

0

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
 



zsvagner's picture
Joined: Sep 17 2014 - 6:07am
Last seen: 4 years 9 months ago

4 Answers:

1

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)

zsvagner's picture
Joined: Sep 17 2014 - 6:07am
Last seen: 4 years 9 months ago
0

You must consider below thigns.

1) As you installed community server : you need not to give pro in the URL i.e., http://localhost:8080/jasperserver but not http://localhost:8080/jasperserver-pro

2) Make sure java software installed in your local machine.

sadakar's picture
627
Joined: Aug 14 2012 - 3:57am
Last seen: 8 months 3 weeks ago

Actually it is Commercial Trial Edition ((jasperreports-server-5.6.1-windows-x64-installer), my mistake to add wrong edition.

zsvagner - 4 years 11 months ago

It is installed and software version is 1.7.0.45 on my local machine

zsvagner - 4 years 11 months ago
0

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.

hozawa's picture
47047
Joined: Apr 24 2010 - 4:31pm
Last seen: 2 months 2 weeks ago

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.

zsvagner - 4 years 11 months ago
0

Guys, thanks for your answers.

zsvagner's picture
Joined: Sep 17 2014 - 6:07am
Last seen: 4 years 9 months ago
Feedback