#1 2015-04-16 13:25:51

anb1990
Member
Registered: 2015-04-09

404 Not found when try to run report server for the first time

Hello
I got 404 Not found
The requested URL /reportstesting/reportserver/base_datasource was not found on this server.
when i try to run report server for the first time
Can u help me please?

Offline

#2 2015-04-16 14:16:45

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

Hi anb1990,

could you explain how you got to the URL "/reportstesting/reportserver/base_datasource"?

Cheers
-Arno

Offline

#3 2015-04-16 14:22:54

anb1990
Member
Registered: 2015-04-09

Re: 404 Not found when try to run report server for the first time

I just Downloaded report server from http://sourceforge.net/projects/dw-rs/
and tried to run it in booth of apache and tomcat with same error message

Offline

#4 2015-04-16 14:31:29

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

ReportServer is a Java Servlet application that requires an application server (such as Tomcat). So an Apache alone won't work. Did you have a look at the ReportServer config guide's chapter on installing ReportServer?

Offline

#5 2015-04-16 14:44:36

anb1990
Member
Registered: 2015-04-09

Re: 404 Not found when try to run report server for the first time

I tried tomcat first with same message error

Offline

#6 2015-04-16 14:56:40

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

Back then I asked you to look at the Tomcat log files (http://forum.reportserver.net/viewtopic.php?id=328). Could you try to explain the steps you took to install ReportServer in Tomcat?

Offline

#7 2015-04-18 07:53:28

anb1990
Member
Registered: 2015-04-09

Re: 404 Not found when try to run report server for the first time

Yes i just got the same error message, i'm using ubuntu 12.04
i nstalled the files from source and tried to run them on my tomcat local host
when i tried to install it on windows every thing was ok after run exe installation file
but ineed it to be run on ubuntu

Offline

#8 2015-04-18 08:30:36

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

I am afraid, you'll need to learn at least a minimum about what Tomcat is and how to operate it. For example, there is a huge difference between a log file and what you actually see in your browser and without looking at the log files you won't be able to figure out what is going wrong. What I can tell you is that ReportServer runs perfectly fine on Ubuntu with Tomcat.

Offline

#9 2015-04-19 10:48:51

anb1990
Member
Registered: 2015-04-09

Re: 404 Not found when try to run report server for the first time

Her you can find the whole tomcat error log for one day that i tried to run report server:
127.0.0.1 - - [16/Apr/2015:15:44:34 +0300] "GET /examples/reportsele/ HTTP/1.1" 304 -
127.0.0.1 - - [16/Apr/2015:15:44:34 +0300] "GET /favicon.ico HTTP/1.1" 404 988
127.0.0.1 - - [16/Apr/2015:15:44:34 +0300] "GET /favicon.ico HTTP/1.1" 404 988
127.0.0.1 - - [16/Apr/2015:15:44:34 +0300] "GET /examples/reportsele/reportserver/fileServerAccess?path=/resources/public/index.html HTTP/1.1" 404 1102
127.0.0.1 - - [16/Apr/2015:15:44:35 +0300] "GET /examples/reportsele/reportserver/version?style=banner HTTP/1.1" 404 1075
127.0.0.1 - - [16/Apr/2015:15:44:35 +0300] "GET /examples/reportsele/reportserver/fileServerAccess?path=/resources/public/hostpage-extra.js&_=1429188275191 HTTP/1.1" 404 1102
127.0.0.1 - - [16/Apr/2015:15:44:35 +0300] "GET /examples/reportsele/reportserver/A7C43DC41321969773DA92CD3DD52AAE.cache.html HTTP/1.1" 304 -
127.0.0.1 - - [16/Apr/2015:15:44:35 +0300] "POST /examples/reportsele/reportserver/base_datasource HTTP/1.1" 404 1099
127.0.0.1 - - [16/Apr/2015:15:44:36 +0300] "POST /examples/reportsele/reportserver/homepage HTTP/1.1" 404 1078
~

Offline

#10 2015-04-19 14:52:59

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

That is the access log which looks fine so far. There should be other log files besides this one. Please have a look.

Offline

#11 2015-04-20 07:27:45

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

Come to think of it .. could it be that you unpacked reportserver into /webapps/examples instead of into /webapps?

Offline

#12 2015-04-24 14:50:01

sp
Member
Registered: 2015-04-24

Re: 404 Not found when try to run report server for the first time

I'm facing this same situation. I do not see any solution? I've pasted the log files content below. any suggestions?

cat catalina.2015-04-25.log
Apr 25, 2015 2:06:59 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:06:59 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Apr 25, 2015 2:06:59 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:06:59 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:07:01 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:07:01 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 582 ms
Apr 25, 2015 2:07:01 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Apr 25, 2015 2:07:01 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Apr 25, 2015 2:07:01 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Apr 25, 2015 2:07:02 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:07:02 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1080 ms
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/examples.xml
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/stand … tedTaglibs is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/host-manager.xml
Apr 25, 2015 2:20:13 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/docs.xml
Apr 25, 2015 2:23:32 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:23:32 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Apr 25, 2015 2:23:32 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:23:32 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:23:34 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 579 ms
Apr 25, 2015 2:23:34 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Apr 25, 2015 2:23:34 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/examples.xml
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/stand … tedTaglibs is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/host-manager.xml
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/docs.xml
Apr 25, 2015 2:23:34 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Apr 25, 2015 2:23:35 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Apr 25, 2015 2:23:35 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1459 ms
Apr 25, 2015 2:37:15 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/reportserver
Apr 25, 2015 2:38:39 AM com.google.inject.internal.ProxyFactory <init>
WARNING: Method [public net.datenwerke.gxtdto.client.model.DwModel net.datenwerke.rs.core.server.reportexecutor.ReportExecutorRpcServiceImpl.storePNGInSession(net.datenwerke.rs.core.client.reportmanager.dto.reports.ReportDto) throws net.datenwerke.gxtdto.client.servercommunication.exceptions.ServerCallFailedException] is synthetic and is being intercepted by [net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor@54d3e70c]. This could indicate a bug.  The method may be intercepted twice, or may not be intercepted at all.
Apr 25, 2015 2:38:39 AM com.google.inject.internal.ProxyFactory <init>
WARNING: Method [public net.datenwerke.gxtdto.client.model.DwModel net.datenwerke.rs.core.server.reportexecutor.ReportExecutorRpcServiceImpl.storePNGInSession(net.datenwerke.rs.core.client.reportmanager.dto.reports.ReportDto) throws net.datenwerke.gxtdto.client.servercommunication.exceptions.ServerCallFailedException] is synthetic and is being intercepted by [net.datenwerke.security.service.security.aop.SecurityCheckInterceptor@3e0cc930]. This could indicate a bug.  The method may be intercepted twice, or may not be intercepted at all.
Apr 25, 2015 2:38:42 AM net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl <init>
INFO: Loading messages...
Apr 25, 2015 2:38:42 AM net.datenwerke.gf.service.lateinit.LateInitStartup$1 run
SEVERE: Error in LateInitHook
java.lang.NullPointerException
        at net.datenwerke.rs.installation.InstallBaseDataTask.installDatasource(InstallBaseDataTask.java:81)
        at net.datenwerke.rs.installation.InstallBaseDataTask.execute(InstallBaseDataTask.java:51)
        at net.datenwerke.rs.installation.ReportServerInstallationServiceImpl.runAdditionalDbInstallTasks(ReportServerInstallationServiceImpl.java:50)
        at net.datenwerke.rs.installation.ReportServerInstallationServiceImpl.install(ReportServerInstallationServiceImpl.java:31)
        at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)
        at net.datenwerke.rs.installation.RsInstallStartup$1.initialize(RsInstallStartup.java:25)
        at net.datenwerke.gf.service.lateinit.LateInitStartup$1.run(LateInitStartup.java:42)
        at java.lang.Thread.run(Thread.java:745)

Apr 25, 2015 2:38:44 AM net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl loadMessageFiles
INFO: remove locale stubs:
Apr 25, 2015 2:38:44 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
Apr 25, 2015 2:38:44 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/reportserver] startup failed due to previous errors
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/reportserver] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [com.google.inject.internal.util.$Finalizer] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->12rshsi981tfz88l1g2o5d0|7ac643cd]-AdminTaskTimer] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->12rshsi981tfz88l1g2o5d0|7ac643cd]-HelperThread-#0] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->12rshsi981tfz88l1g2o5d0|7ac643cd]-HelperThread-#1] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->12rshsi981tfz88l1g2o5d0|7ac643cd]-HelperThread-#2] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [dwdaemon-JpaEventLoggerServiceImpl-1] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [dwdaemon-watchdog-JpaEventLoggerServiceImpl] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [scheduler-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/reportserver] appears to have started a thread named [scheduler-watchdog] but has failed to stop it. This is very likely to create a memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/reportserver] created a ThreadLocal with key of type [com.google.inject.internal.InjectorImpl$1] (value [com.google.inject.internal.InjectorImpl$1@4eaaf799]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3a658628]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/reportserver] created a ThreadLocal with key of type [com.google.inject.internal.InjectorImpl$1] (value [com.google.inject.internal.InjectorImpl$1@4eaaf799]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@48e98887]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Apr 25, 2015 2:38:44 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/reportserver] created a ThreadLocal with key of type [com.google.inject.internal.InjectorImpl$1] (value [com.google.inject.internal.InjectorImpl$1@4eaaf799]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@5c027c76]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Apr 25, 2015 2:39:01 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1610)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
        at com.mchange.v2.resourcepool.BasicResourcePool.checkIdleResources(BasicResourcePool.java:1584)
        at com.mchange.v2.resourcepool.BasicResourcePool.access$2000(BasicResourcePool.java:44)
        at com.mchange.v2.resourcepool.BasicResourcePool$CheckIdleResourcesTask.run(BasicResourcePool.java:2116)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)


cat localhost.2015-04-25.log
Apr 25, 2015 2:20:13 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 25, 2015 2:20:13 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 25, 2015 2:20:13 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@3ecac61b')
Apr 25, 2015 2:23:32 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class websocket.drawboard.DrawboardContextListener
java.lang.NoClassDefFoundError: javax/websocket/Endpoint
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2944)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
        at websocket.drawboard.DrawboardContextListener.contextDestroyed(DrawboardContextListener.java:32)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
        at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
        at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:745)
Caused by: java.lang.ClassNotFoundException: javax.websocket.Endpoint
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
        ... 17 more

Apr 25, 2015 2:23:32 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Apr 25, 2015 2:23:32 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Apr 25, 2015 2:23:34 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 25, 2015 2:23:34 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 25, 2015 2:23:34 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@4a377f4e')
Apr 25, 2015 2:24:04 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.runtime.JspApplicationContextImpl', 'org.apache.jasper.runtime.JspApplicationContextImpl@69f75644')
Apr 25, 2015 2:24:04 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.ELInterpreter', 'org.apache.jasper.compiler.ELInterpreterFactory$DefaultELInterpreter@69c5d186')
Apr 25, 2015 2:24:05 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: sessionCreated('3DC457B0857F173B0EAD3FC143941017')
Apr 25, 2015 2:24:37 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost'
Apr 25, 2015 2:24:37 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
Apr 25, 2015 2:24:37 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Apr 25, 2015 2:25:02 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Apr 25, 2015 2:29:27 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Apr 25, 2015 2:29:32 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Apr 25, 2015 2:32:28 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLHostManager: list: Listing hosts for engine [Catalina]
Apr 25, 2015 2:32:39 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLHostManager: list: Listing hosts for engine [Catalina]
Apr 25, 2015 2:33:00 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Apr 25, 2015 2:36:19 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Apr 25, 2015 2:38:44 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter guiceFilter
com.google.inject.ProvisionException: Guice provision errors:

1) Error injecting constructor, java.lang.NullPointerException
  at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.<init>(RemoteMessageServiceImpl.java:63)
  at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.class(RemoteMessageServiceImpl.java:51)
  while locating net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl

1 error
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009)
        at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:108)
        at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:82)
        at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:102)
        at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:172)
        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:745)
Caused by: java.lang.NullPointerException
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.loadMessageFiles(RemoteMessageServiceImpl.java:155)
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.<init>(RemoteMessageServiceImpl.java:66)
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl$$FastClassByGuice$$7c1e9d3f.newInstance(<generated>)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
        at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.Scopes$1$1.get(Scopes.java:65)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
        at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
        ... 21 more

Apr 25, 2015 2:38:44 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class net.datenwerke.rs.ReportServerServiceConfig
java.lang.NoClassDefFoundError: net/datenwerke/gf/service/lifecycle/events/ShutdownEvent
        at net.datenwerke.gf.DwGwtFrameworkBase.contextDestroyed(DwGwtFrameworkBase.java:85)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:745)
Caused by: java.lang.ClassNotFoundException: net.datenwerke.gf.service.lifecycle.events.ShutdownEvent
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
        ... 15 more

Offline

#13 2015-04-28 07:11:06

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

Hi,

my current guess is that there is some library clash. This is indicated by the many

INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined

lines you see in the error log. Are you running any other applications besides ReportServer within that Tomcat? If so, could you try running ReportServer within a freshly installed and otherwise unused Tomcat?

Cheers
-Arno

Offline

#14 2015-04-30 06:05:31

sp
Member
Registered: 2015-04-24

Re: 404 Not found when try to run report server for the first time

I'm running reportserver alone on this tomcat instance and no other applications.
I also tried to uninstall and reinstall tomcat7 but no luck

I tried to search for jstl on my server and is physically present in /usr/share/java but has a soft link from maven-repo.

locate *jstl*.jar
/usr/share/java/jstl1.1-1.1.2.jar
/usr/share/java/jstl1.1.jar
/usr/share/maven-repo/javax/servlet/jstl/1.1/jstl-1.1.jar
/usr/share/maven-repo/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar

below is the complete error message i see on the browser once i try to enter the url for reportserver:

null
404 <html><head><title>Apache Tomcat/7.0.52 (Ubuntu) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body>
HTTP Status 404 - /reportserver/reportserver/base_datasource
<HR size="1" noshade="noshade"><p>type Status report</p><p>message <u>/reportserver/reportserver/base_datasource</u></p><p>description <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade">
Apache Tomcat/7.0.52 (Ubuntu)
</body></html> Statuscode: 404 EncodedResponse: <html><head><title>Apache Tomcat/7.0.52 (Ubuntu) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body>
HTTP Status 404 - /reportserver/reportserver/base_datasource
<HR size="1" noshade="noshade"><p>type Status report</p><p>message <u>/reportserver/reportserver/base_datasource</u></p><p>description <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade">
Apache Tomcat/7.0.52 (Ubuntu)
</body></html>


any other suggestions?

Offline

#15 2015-04-30 06:24:28

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

Hi,

have you looked through all the log files? Sometimes there is a hint in one of the other files. The first error that appears in the original log occurs at a point where ReportServer tries to connect to its database. Could you recheck the database settings and search for other error messages in the other log files?

Arno

Offline

#16 2015-04-30 06:35:03

sp
Member
Registered: 2015-04-24

Re: 404 Not found when try to run report server for the first time

Apart from the above. below are the two log files i could find.
(replaced the ip address with x.x.x.x)

cat localhost_access_log.2015-04-30.txt
x.x.x.x - - [30/Apr/2015:16:57:19 +1200] "GET /reportserver/ HTTP/1.1" 404 995
x.x.x.x - - [30/Apr/2015:16:57:21 +1200] "GET /reportserver/ HTTP/1.1" 404 995
x.x.x.x - - [30/Apr/2015:16:57:24 +1200] "GET / HTTP/1.1" 200 1895
x.x.x.x - - [30/Apr/2015:17:14:43 +1200] "GET /reportserver/ HTTP/1.1" 200 768
x.x.x.x - - [30/Apr/2015:17:14:44 +1200] "GET /reportserver/reportserver/fileServerAccess?path=/resources/public/index.html HTTP/1.1" 404 1053
x.x.x.x - - [30/Apr/2015:17:14:44 +1200] "GET /reportserver/reportserver/version?style=banner HTTP/1.1" 404 1035
x.x.x.x - - [30/Apr/2015:17:14:44 +1200] "GET /reportserver/reportserver/fileServerAccess?path=/resources/public/hostpage-extra.js&_=1430370884451 HTTP/1.1" 404 1053
x.x.x.x - - [30/Apr/2015:17:14:45 +1200] "POST /reportserver/reportserver/base_datasource HTTP/1.1" 404 1051
x.x.x.x - - [30/Apr/2015:17:14:45 +1200] "POST /reportserver/reportserver/homepage HTTP/1.1" 404 1037
x.x.x.x - - [30/Apr/2015:17:18:51 +1200] "GET / HTTP/1.1" 304 -
x.x.x.x - - [30/Apr/2015:17:21:52 +1200] "GET / HTTP/1.1" 304 -
x.x.x.x - - [30/Apr/2015:17:31:03 +1200] "GET /reportserver HTTP/1.1" 302 -
x.x.x.x - - [30/Apr/2015:17:31:03 +1200] "GET /reportserver/ HTTP/1.1" 304 -
x.x.x.x - - [30/Apr/2015:17:31:03 +1200] "GET /reportserver/reportserver/fileServerAccess?path=/resources/public/index.html HTTP/1.1" 404 1053
x.x.x.x - - [30/Apr/2015:17:31:03 +1200] "GET /reportserver/reportserver/version?style=banner HTTP/1.1" 404 1035
x.x.x.x - - [30/Apr/2015:17:31:03 +1200] "GET /reportserver/reportserver/fileServerAccess?path=/resources/public/hostpage-extra.js&_=1430371863799 HTTP/1.1" 404 1053
x.x.x.x - - [30/Apr/2015:17:31:04 +1200] "POST /reportserver/reportserver/base_datasource HTTP/1.1" 404 1051
x.x.x.x - - [30/Apr/2015:17:31:04 +1200] "POST /reportserver/reportserver/homepage HTTP/1.1" 404 1037
x.x.x.x - - [30/Apr/2015:17:59:10 +1200] "GET /tomcat7-examples HTTP/1.1" 404 1001
x.x.x.x - - [30/Apr/2015:18:00:51 +1200] "GET /reportserver HTTP/1.1" 302 -
x.x.x.x - - [30/Apr/2015:18:00:52 +1200] "GET /reportserver/ HTTP/1.1" 304 -
x.x.x.x - - [30/Apr/2015:18:00:52 +1200] "GET /reportserver/reportserver/fileServerAccess?path=/resources/public/index.html HTTP/1.1" 404 1053
x.x.x.x - - [30/Apr/2015:18:00:52 +1200] "GET /reportserver/reportserver/version?style=banner HTTP/1.1" 404 1035
x.x.x.x - - [30/Apr/2015:18:00:52 +1200] "GET /reportserver/reportserver/fileServerAccess?path=/resources/public/hostpage-extra.js&_=1430373652451 HTTP/1.1" 404 1053
x.x.x.x - - [30/Apr/2015:18:00:53 +1200] "POST /reportserver/reportserver/base_datasource HTTP/1.1" 404 1051
x.x.x.x - - [30/Apr/2015:18:00:53 +1200] "POST /reportserver/reportserver/homepage HTTP/1.1" 404 1037

cat localhost.2015-04-30.log
Apr 30, 2015 5:22:54 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 30, 2015 5:22:54 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 30, 2015 5:22:55 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@78837dd9')
Apr 30, 2015 6:00:05 PM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class websocket.drawboard.DrawboardContextListener
java.lang.NoClassDefFoundError: websocket/drawboard/DrawboardEndpoint
   at websocket.drawboard.DrawboardContextListener.contextDestroyed(DrawboardContextListener.java:32)
   at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)
   at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)
   at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
   at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
   at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   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:745)
Caused by: java.lang.ClassNotFoundException: websocket.drawboard.DrawboardEndpoint
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
   ... 10 more

Apr 30, 2015 6:00:05 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Apr 30, 2015 6:00:05 PM org.apache.catalina.core.ApplicationContext log



Any other location where i can find any log files?

Offline

#17 2015-04-30 06:38:59

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

Do you have a webapps/examples folder? If so, could try to delete that?

Offline

#18 2015-05-04 04:08:01

sp
Member
Registered: 2015-04-24

Re: 404 Not found when try to run report server for the first time

I managed to get away with this issue by removing tomcat totally and installing tomcat version 8 and jdk 7. works fine. Thanks for your assistance.

Offline

#19 2015-05-04 04:57:12

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

That is great to hear. What was the combination before (Java and tomcat version)? So that we know what to look out for.

Cheers
Arno

Offline

#20 2015-05-04 05:04:08

sp
Member
Registered: 2015-04-24

Re: 404 Not found when try to run report server for the first time

I think Java was the same version. Tomcat was 6. Basically i followed the steps explained in a link i found on the web
pasting the steps below as i thought it would help others

Step 1: Install Tomcat from Binary
First, head-on-over to the Apache Tomcat 8 Download site.
Under Binary Distributions you’ll see Core and then tar.gz. Right click on tar.gz and copy the URL.
From your server, download Apache Tomcat 8 from the URL you copied in the previous step:
wget http://mirrors.ibiblio.org/apache/tomca … 0.9.tar.gz
Alternatively, if you download the file to your local desktop, you’ll want to transfer the file to your Liquid Web server. If you need help with that,

After the download completes, decompress the file:
tar xvzf apache-tomcat-8.0.9.tar.gz
Now, move the file into a proper location:
mv apache-tomcat-8.0.9 /opt/tomcat
Step 2: Install Java 7
Before you can use Tomcat you’ll have to install the Java Development Kit (JDK) 7. First let’s check to see if Java is installed:
java -version
If that returns the following then Java hasn’t yet been installed:
The program 'java' can be found in the following packages:
To install Java, simply run the following command (and at the prompt enter Y to continue):
apt-get install openjdk-7-jdk
Step 3: Configure .bashrc
Now let’s set the environment variables in .bashrc:
vim ~/.bashrc

Add this information to the end of the file:
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export CATALINA_HOME=/opt/tomcat
Simply save and exit .bashrc, then make the changes effective by running the following command:
. ~/.bashrc
Step 4: Test Run
Tomcat and Java should now be installed and configured on your server. To activate Tomcat, run the following script:
$CATALINA_HOME/bin/startup.sh
You should get a result similar to:
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-7-openjdk-amd64/
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Tomcat started.
Verify that Tomcat is working by visiting the_IP_of_your_server:8080. For example: http://127.0.0.1:8080

Offline

#21 2016-02-01 14:56:37

MI_CI
Member
Registered: 2016-02-01

Re: 404 Not found when try to run report server for the first time

just downloaded the latest version of reportserver, restarted the whole server and was facing the same error.

configuration:
Using CATALINA_BASE:   /opt/reportserver-2.2.2.5639-4/apache-tomcat
Using CATALINA_HOME:   /opt/reportserver-2.2.2.5639-4/apache-tomcat
Using CATALINA_TMPDIR: /opt/reportserver-2.2.2.5639-4/apache-tomcat/temp
Using JRE_HOME:        /opt/reportserver-2.2.2.5639-4/java
Using CLASSPATH:       /opt/reportserver-2.2.2.5639-4/apache-tomcat/bin/bootstrap.jar:/opt/reportserver-2.2.2.5639-4/apache-tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.65
Server built:   Oct 9 2015 08:36:58 UTC
Server number:  7.0.65.0
OS Name:        Linux
OS Version:     3.0.101-65-default
Architecture:   amd64
JVM Version:    1.7.0_76-b13
JVM Vendor:     Oracle Corporation

Offline

#22 2016-02-01 15:05:18

MI_CI
Member
Registered: 2016-02-01

Re: 404 Not found when try to run report server for the first time

catalina.out contains following error after restarting:

SEVERE: Error deploying web application directory /opt/reportserver-2.2.2.5639-4/apache-tomcat/webapps/reportserver
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/reportserver]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:905)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1978)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Offline

#23 2016-02-01 15:20:33

MI_CI
Member
Registered: 2016-02-01

Re: 404 Not found when try to run report server for the first time

The reason was an unexceptiontioned previous error before. Here, an error in the link of a jar file.

Regarding MVC-design principle, errors in the model or controller, should not lead to display errors in the view.

Offline

#24 2016-02-01 18:12:43

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: 404 Not found when try to run report server for the first time

Hi,

I am sorry that you had problems with the installation. Could you explain what exactly went wrong so that we can pass on the problem to Bitnami who are providing the installers?

Best regards,
Arno

Offline

Board footer

Powered by FluxBB