#1 2019-07-04 14:10:22

mugoyal
Member
Registered: 2018-06-29

Reportserver not launching after manual installation.

Hi Team,

i tried manually installation of reportserver linux verion.

but i am not able to launch it after deploying in tomcat.
Please help me on this.

1st, i am getting below warnings in catalina log:

15:51:12.582 WARN  n.d.r.c.s.c.ConfigServiceImpl - Configfile scheduler/scheduler.cf could not be loaded. Default values are in effect.
15:51:12.586 WARN  n.d.r.c.s.c.ConfigServiceImpl - Configfile exportfilemd/pdfexport.cf could not be loaded. Default values are in effect.
15:51:12.587 WARN  n.d.r.c.s.c.ConfigServiceImpl - Configfile exportfilemd/pdfexport.cf could not be loaded. Default values are in effect.

2nd, below is the WARNING in log when i am launching homepage.

INFO: Server startup in 234776 ms
15:53:07.399 WARN  n.d.r.c.s.c.ConfigServiceImpl - Configfile ui/ui.cf could not be loaded. Default values are in effect.
16:07:25.799 WARN  n.d.r.c.s.c.ConfigServiceImpl - Configfile ui/ui.cf could not be loaded. Default values are in effect.

below is the startup log :

 | | \ \  __/ |_) | (_) | |  | |_ ____) |  __/ |   \ V /  __/ |   ^M
 |_|  \_\___| .__/ \___/|_|   \__|_____/ \___|_|    \_/ \___|_|   ^M
            | |                                                   ^M
            |_|                                                   ^M
^M
Version: RS3.0.7-6008 2019-05-06-13-37-55^M
Code Version: 2019-05-06-13-37-55^M
Java Version: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.131-b11 (1.8)^M
VM Args: -Xms128m -Xmx256m -Doracle.net.tns_admin=/etc -Dspring.profiles.active=core -Xms128m -Xmx256m -Doracle.net.tns_admin=/etc -Dspring.profiles.active=core -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -DAMC_CONNECTION_ID=AMC_DEFAULT_DB -DHOST=ilrtvit838 -DMON_BIN_DIR=/users/gen/abpwrk1/Amc-ilrtvit838/bin -DMON_LIB_DIR=/users/gen/abpwrk1/Amc-ilrtvit838/lib -DMON_XML_DIR=/users/gen/abpwrk1/Amc-ilrtvit838/work -DMON_CONFIG_DIR=/users/gen/abpwrk1/Amc-ilrtvit838/config -DMON_LOG_DIR=/users/gen/abpwrk1/Amc-ilrtvit838/logs -DAMC_HOME=/users/gen/abpwrk1/Amc-ilrtvit838 -DAMC_IDENTIFIER=ilrtvit838 -DAMC_CTC_USER=SysCtcUser -Damdocs.system.home=/users/gen/abpwrk1/Amc-ilrtvit838/config/UamsRepository -Damdocs.security.root=/users/gen/abpwrk1/Amc-ilrtvit838/config/UamsRepository -Damdocs.uams.config.resource=res/gen/secsrv -Damdocs.messageHandling.home=/users/gen/abpwrk1/Amc-ilrtvit838/config/UamsRepository -DSEC_SRV_CONN=ilrtvit838: -DSTEP_SESS_RAND_ALGORITHM=SHA1PRNG -DABP_ENCODING=UTF-8 -DAMC_SECURE_MODE= -Duser.timezone=Asia/Jerusalem -Dfile.encoding=UTF-8 -DPRIVATE_SSL_ENCRYPTION=FALSE -DSEC_PROTOCOL=http -Dlog4j.configuration=amc1_Logger.xml -DAMC_SECURITY_SWITCH=ON -DAMC_XSS_SWITCH=ON -DCUSTOM_LOGON_FLAG= -DCUSTOM_LOGON_URL= -DCUSTOM_LOGON_COOKIE_KEY= -Dcatalina.base=/users/gen/abpwrk1/Amc-ilrtvit838/tomcat -Dcatalina.home=/usr/share/tomcat -Dorg.owasp.esapi.resources=/users/gen/abpwrk1/Amc-ilrtvit838/config -Djava.io.tmpdir=/users/gen/abpwrk1/Amc-ilrtvit838/tomcat/temp -DAMC_KEY_PASS=<UEM>K=<key>.asc.sys.encryption.0;C=1560271730329;M=XXe6z}rqSMjLCMjrVdCU932;</UEM>^M
rs.configdir: Not Configured^M
^M
### DB Config ###^M
hibernate.dialect: net.datenwerke.rs.utils.hibernate.Oracle10gDialect (OK)^M
hibernate.connection.driver_class: oracle.jdbc.driver.OracleDriver (OK)^M
hibernate.connection.url: jdbc:oracle:thin:@ilrtvit564:1521:VITDB563 (OK)^M
hibernate.connection.username: ABPAPP1^M
hibernate.connection.password: *******^M
hibernate.default_schema: ABPAPP1^M
^M
Connection Test: OK^M
Schema Version: RS3.0-12^M

15:50:53.600 INFO  n.datenwerke.rs.EnvironmentValidator - Validating database schema...
15:51:05.662 INFO  n.datenwerke.rs.EnvironmentValidator - Schema validation completed
15:51:06.839 INFO  n.d.r.s.server.rest.SaikuRestModule - try to bind: net.datenwerke.rs.saiku.server.rest.resources.AdminResource
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - done binding: net.datenwerke.rs.saiku.server.rest.resources.AdminResource
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - try to bind: net.datenwerke.rs.saiku.server.rest.resources.BasicRepositoryResource2
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - done binding: net.datenwerke.rs.saiku.server.rest.resources.BasicRepositoryResource2
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - try to bind: net.datenwerke.rs.saiku.server.rest.resources.DataSourceResource
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - done binding: net.datenwerke.rs.saiku.server.rest.resources.DataSourceResource
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - try to bind: net.datenwerke.rs.saiku.server.rest.resources.ExporterResource
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - done binding: net.datenwerke.rs.saiku.server.rest.resources.ExporterResource
15:51:06.840 INFO  n.d.r.s.server.rest.SaikuRestModule - try to bind: net.datenwerke.rs.saiku.server.rest.resources.FilterRepositoryResource
15:51:06.841 INFO  n.d.r.s.server.rest.SaikuRestModule - done binding: net.datenwerke.rs.saiku.server.rest.resources.FilterRepositoryResource
15:51:06.841 INFO  n.d.r.s.server.rest.SaikuRestModule - try to bind: net.datenwerke.rs.saiku.server.rest.resources.InfoResource
15:51:06.841 INFO  n.d.r.s.server.rest.SaikuRestModule - done binding: net.datenwerke.rs.saiku.server.rest.resources.InfoResource
15:51:06.841 INFO  n.d.r.s.server.rest.SaikuRestModule - try to bind: net.datenwerke.rs.saiku.server.rest.resources.License
15:51:06.841 INFO  n.d.r.s.server.rest.SaikuRestModule - done binding: net.datenwerke.rs.saiku.server.rest.resources.License

Offline

#2 2019-07-05 08:34:34

mugoyal
Member
Registered: 2018-06-29

Re: Reportserver not launching after manual installation.

Hi Eduardo,

hope you are doing well.

can you please assist on above issue?

-Regards
Mukesh

Offline

#3 2019-07-05 08:46:31

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Reportserver not launching after manual installation.

Hi Mukesh,

did you perform an upgrade from an older version or did you perform a clean installation ?

Regards,
Eduardo

Offline

#4 2019-07-05 09:01:43

mugoyal
Member
Registered: 2018-06-29

Re: Reportserver not launching after manual installation.

Hi Eduardo,

i did a clean installation on unix with existing working tomcat installation and Oracle DB for metadata.
also ran ddl create sql for metadata.

-Regards
Mukesh

Offline

#5 2019-07-05 09:22:09

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Reportserver not launching after manual installation.

Hi Mukesh,

do you get any exception or similar? Maybe try to wait a longer time, sometimes reportserver needs more time at the first time it runs.
Also, please delete all browser cache including temp files.

Regards,
Eduardo

Offline

#6 2019-07-05 09:36:27

mugoyal
Member
Registered: 2018-06-29

Re: Reportserver not launching after manual installation.

Hi Eduardo,

additional to above mentioned log, i see below jar not loaded INFO logs .

INFO: validateJarFile(/users/gen/abpwrk1/Amc-ilrtvit838/tomcat/webapps/reportserver/WEB-INF/lib/juel-api-2.2.7.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Jul 05, 2019 12:22:01 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(/users/gen/abpwrk1/Amc-ilrtvit838/tomcat/webapps/reportserver/WEB-INF/lib/servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
12:23:13.556 WARN  n.d.r.c.s.i.RemoteMessageServiceImpl - Could not load jar for parsing message files file:/opt/amdocs/amc/lib/commons-codec-1.4.jar.
java.io.FileNotFoundException: /opt/amdocs/amc/lib/commons-codec-1.4.jar (No such file or directory)
        at java.io.FileInputStream.open0(Native Method) ~[na:1.8.0_131]
        at java.io.FileInputStream.open(FileInputStream.java:195) ~[na:1.8.0_131]
        at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[na:1.8.0_131]
        at java.io.FileInputStream.<init>(FileInputStream.java:93) ~[na:1.8.0_131]
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) ~[na:1.8.0_131]
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) ~[na:1.8.0_131]
        at java.net.URL.openStream(URL.java:1045) ~[na:1.8.0_131]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.findInJar(RemoteMessageServiceImpl.java:176) [reportserver.jar:na]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.loadMessageFiles(RemoteMessageServiceImpl.java:109) [reportserver.jar:na]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.<init>(RemoteMessageServiceImpl.java:67) [reportserver.jar:na]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl$$FastClassByGuice$$7c1e9d3f.newInstance(<generated>) [guice-3.0.jar:na]
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) [guice-3.0.jar:na]
        at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice-3.0.jar:na]
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-3.0.jar:na]
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) [guice-3.0.jar:na]
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) [guice-3.0.jar:na]
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-3.0.jar:na]
        at com.google.inject.Scopes$1$1.get(Scopes.java:65) [guice-3.0.jar:na]
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009) [guice-3.0.jar:na]
        at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:108) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:82) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:102) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:172) [guice-servlet-3.0.jar:na]
        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) [catalina.jar:7.0.76]
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4958) [catalina.jar:7.0.76]
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652) [catalina.jar:7.0.76]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) [catalina.jar:7.0.76]
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) [catalina.jar:7.0.76]
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260) [catalina.jar:7.0.76]
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002) [catalina.jar:7.0.76]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_131]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
12:23:15.082 WARN  n.d.r.c.s.i.RemoteMessageServiceImpl - Could not load jar for parsing message files file:/opt/amdocs/amc/lib/httpclient-cache-4.1.3.jar.
java.io.FileNotFoundException: /opt/amdocs/amc/lib/httpclient-cache-4.1.3.jar (No such file or directory)
        at java.io.FileInputStream.open0(Native Method) ~[na:1.8.0_131]
        at java.io.FileInputStream.open(FileInputStream.java:195) ~[na:1.8.0_131]
        at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[na:1.8.0_131]
        at java.io.FileInputStream.<init>(FileInputStream.java:93) ~[na:1.8.0_131]
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) ~[na:1.8.0_131]
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) ~[na:1.8.0_131]
        at java.net.URL.openStream(URL.java:1045) ~[na:1.8.0_131]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.findInJar(RemoteMessageServiceImpl.java:176) [reportserver.jar:na]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.loadMessageFiles(RemoteMessageServiceImpl.java:109) [reportserver.jar:na]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.<init>(RemoteMessageServiceImpl.java:67) [reportserver.jar:na]
        at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl$$FastClassByGuice$$7c1e9d3f.newInstance(<generated>) [guice-3.0.jar:na]
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) [guice-3.0.jar:na]
        at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice-3.0.jar:na]
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-3.0.jar:na]
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) [guice-3.0.jar:na]
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) [guice-3.0.jar:na]
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-3.0.jar:na]
        at com.google.inject.Scopes$1$1.get(Scopes.java:65) [guice-3.0.jar:na]
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974) [guice-3.0.jar:na]
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009) [guice-3.0.jar:na]
        at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:108) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:82) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:102) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:172) [guice-servlet-3.0.jar:na]
        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) [catalina.jar:7.0.76]
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4958) [catalina.jar:7.0.76]
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652) [catalina.jar:7.0.76]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) [catalina.jar:7.0.76]
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) [catalina.jar:7.0.76]
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) [catalina.jar:7.0.76]
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260) [catalina.jar:7.0.76]
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002) [catalina.jar:7.0.76]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_131]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]

Also can you share steps to set severity of ReportServer log to severity?
i have below configuration in tomcat logging.properties :

handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler , 5reportserver.org.apache.juli.FileHandler

.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler, , 5reportserver.org.apache.juli.FileHandler

5reportserver.org.apache.juli.FileHandler.level = FINE
5reportserver.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
5reportserver.org.apache.juli.FileHandler.prefix = reportserver.

############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/reportserver].level = FINE
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/reportserver].handlers = 5reportserver.org.apache.juli.FileHandler

-Regards
Mukesh

Offline

#7 2019-07-05 09:41:06

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Reportserver not launching after manual installation.

Hi Mukesh,

what is this file ? /opt/amdocs/amc/lib/commons-codec-1.4.jar
and why is it in this location?

For a basic installation, you only have to copy the reportserver files into your webapps directory, change your persistence.properties, and that's it. Please try this at first.

Then, if this works, you can look at the best-practices installation guide: https://reportserver.net/en/tutorials/i … -practice/

Regarding the logs: https://reportserver.net/en/tutorials/i … e/#logging

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB