You are not logged in.
There are two issues I can see in the log
Issue 1: ERROR [net.datenwerke.gf.service.lateinit.LateInitStartup] (Thread-124) Error in LateInitHook: net.datenwerke.security.service.crypto.pbe.exception.PbeException: Could not encrypt plaintext
ReportServer3 database is MSSQL database, I created it from DDL folder. see below for the reportserver.properties
Issue 2: ERROR [stderr] (default task-35) java.io.FileNotFoundException: C:\JBoss\jboss-eap-7.0.0\standalone\deployments\reportserver3.war\WEB-INF\lib\commons-file-20050307052300.jar
where can I found this "commons-file-20050307052300.jar" file? so that I will not prompt this error in the log or can I ignore it?
--reportserver.properties --
rs.crypto.pbe.salt = The salt to be used for encryption. This should simply be a long string.
rs.crypto.pbe.passphrase = The Passphrase
rs.crypto.pbe.keylength = 128
rs.crypto.passwordhasher.hmac.passphrase = This is the Passphrase used to compute the HMAC key for reportServer passwords.
rs.authenticator.pams = net.datenwerke.rs.authenticator.service.pam.EveryoneIsRootPAM:net.datenwerke.rs.authenticator.service.pam.UserPasswordPAM
rs.authenticator.pam.ClientCertificateMatchEmailPAM.debug = false
rs.authenticator.blockroot = false
rs.install.basedata = true
--LOG DETAILS BELOW--
_____ _ _____
| __ \ | | / ____|
| |__) |___ _ __ ___ _ __| |_| (___ ___ _ ____ _____ _ __
| _ // _ \ '_ \ / _ \| '__| __|\___ \ / _ \ '__\ \ / / _ \ '__|
| | \ \ __/ |_) | (_) | | | |_ ____) | __/ | \ V / __/ |
|_| \_\___| .__/ \___/|_| \__|_____/ \___|_| \_/ \___|_|
| |
|_|
Version: RS3.0.2-5855 2016-05-29-17-55-24
Code Version: 2016-05-29-17-55-24
Java Version: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.25-b02 (1.8)
VM Args: -Xloggc:C:\JBoss\jboss-eap-7.0.0\standalone\log\gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Dprogram.name=standalone.bat -Xms1g -Xmx6g -XX:MaxPermSize=256m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=1024m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=C:\JBoss\jboss-eap-7.0.0\standalone\log\server.log -Dlogging.configuration=file:C:\JBoss\jboss-eap-7.0.0\standalone\configuration/logging.properties
rs.configdir: Not Configured
### DB Config ###
hibernate.dialect: org.hibernate.dialect.SQLServer2008Dialect (OK)
hibernate.connection.driver_class: com.microsoft.sqlserver.jdbc.SQLServerDriver (OK)
hibernate.connection.url: jdbc:sqlserver://WIN2012R2DEV2;databaseName=ReportServer3;instanceName=SQL2014 (OK)
hibernate.connection.username: sa
hibernate.connection.password: ************
hibernate.default_schema:
Connection Test: OK
Schema Version: RS3.0-8
12:04:34,190 INFO [net.datenwerke.rs.EnvironmentValidator] (ServerService Thread Pool -- 78) Validating database schema...
12:04:34,232 INFO [org.hibernate.Version] (ServerService Thread Pool -- 78) HHH000412: Hibernate Core {5.0.3.Final}
...
12:05:22,259 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (Thread-124) HHH000397: Using ASTQueryTranslatorFactory
12:05:22,341 WARNING [com.google.inject.internal.ProxyFactory] (default task-35) Method [public net.datenwerke.gxtdto.client.model.DwModel net.datenwerke.rs.core.server.reportexecutor.ReportExecutorRpcServiceImpl.storePNGInSession(java.lang.String,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@482973a8]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.
12:05:22,353 WARNING [com.google.inject.internal.ProxyFactory] (default task-35) Method [public net.datenwerke.gxtdto.client.model.DwModel net.datenwerke.rs.core.server.reportexecutor.ReportExecutorRpcServiceImpl.storePNGInSession(java.lang.String,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@579c4720]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.
12:05:22,475 INFO [net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl] (default task-35) Loading messages...
12:05:22,856 ERROR [net.datenwerke.gf.service.lateinit.LateInitStartup] (Thread-124) Error in LateInitHook: net.datenwerke.security.service.crypto.pbe.exception.PbeException: Could not encrypt plaintext
at net.datenwerke.security.service.crypto.pbe.encrypt.EncryptionServiceImpl.encrypt(EncryptionServiceImpl.java:139)
at net.datenwerke.security.service.crypto.pbe.encrypt.EncryptionServiceImpl.encrypt(EncryptionServiceImpl.java:115)
at net.datenwerke.rs.base.service.datasources.definitions.DatabaseDatasource.setPassword(DatabaseDatasource.java:126)
at net.datenwerke.rs.installation.InstallBaseDataTask.installDatasource(InstallBaseDataTask.java:139)
at net.datenwerke.rs.installation.InstallBaseDataTask.executeOnFirstRun(InstallBaseDataTask.java:69)
at net.datenwerke.rs.installation.ReportServerInstallationServiceImpl.runAdditionalDbInstallTasks(ReportServerInstallationServiceImpl.java:50)
at net.datenwerke.rs.installation.ReportServerInstallationServiceImpl.install(ReportServerInstallationServiceImpl.java:29)
at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:58)
at net.datenwerke.rs.installation.RsInstallStartup$1.initialize(RsInstallStartup.java:25)
at net.datenwerke.gf.service.lateinit.LateInitStartup$1.run(LateInitStartup.java:62)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/CBC/ISO7816-4Padding
at javax.crypto.Cipher.getInstance(Cipher.java:535)
at net.datenwerke.security.service.crypto.pbe.encrypt.EncryptionServiceImpl.encrypt(EncryptionServiceImpl.java:128)
... 10 more
12:05:24,253 WARN [net.datenwerke.rs.utils.eventlogger.jpa.JpaEventLoggerDaemon] (dwdaemon-JpaEventLoggerServiceImpl-1) EntityManagerFactory is closed: java.lang.IllegalStateException: EntityManagerFactory is closed
at org.hibernate.jpa.internal.EntityManagerFactoryImpl.validateNotClosed(EntityManagerFactoryImpl.java:367)
at org.hibernate.jpa.internal.EntityManagerFactoryImpl.internalCreateEntityManager(EntityManagerFactoryImpl.java:316)
at org.hibernate.jpa.internal.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:286)
at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:70)
at net.datenwerke.rs.utils.eventlogger.jpa.JpaEventLoggerDaemon.doWork(JpaEventLoggerDaemon.java:49)
at net.datenwerke.rs.utils.daemon.DwDaemonImpl.run(DwDaemonImpl.java:39)
at java.lang.Thread.run(Thread.java:745)
12:05:25,960 ERROR [stderr] (default task-35) java.io.FileNotFoundException: C:\JBoss\jboss-eap-7.0.0\standalone\deployments\reportserver3.war\WEB-INF\lib\commons-file-20050307052300.jar (The system cannot find the file specified)
12:05:25,961 ERROR [stderr] (default task-35) at java.io.FileInputStream.open(Native Method)
12:05:25,961 ERROR [stderr] (default task-35) at java.io.FileInputStream.<init>(FileInputStream.java:138)
12:05:25,961 ERROR [stderr] (default task-35) at java.io.FileInputStream.<init>(FileInputStream.java:93)
12:05:25,961 ERROR [stderr] (default task-35) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
12:05:25,962 ERROR [stderr] (default task-35) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
12:05:25,962 ERROR [stderr] (default task-35) at java.net.URL.openStream(URL.java:1038)
12:05:25,962 ERROR [stderr] (default task-35) at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.findInJar(RemoteMessageServiceImpl.java:178)
12:05:25,963 ERROR [stderr] (default task-35) at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.loadMessageFiles(RemoteMessageServiceImpl.java:110)
12:05:25,963 ERROR [stderr] (default task-35) at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl.<init>(RemoteMessageServiceImpl.java:67)
12:05:25,963 ERROR [stderr] (default task-35) at net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl$$FastClassByGuice$$7c1e9d3f.newInstance(<generated>)
12:05:25,964 ERROR [stderr] (default task-35) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
12:05:25,964 ERROR [stderr] (default task-35) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
12:05:25,964 ERROR [stderr] (default task-35) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
12:05:25,965 ERROR [stderr] (default task-35) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
12:05:25,965 ERROR [stderr] (default task-35) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
12:05:25,965 ERROR [stderr] (default task-35) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
12:05:25,965 ERROR [stderr] (default task-35) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
12:05:25,966 ERROR [stderr] (default task-35) at com.google.inject.Scopes$1$1.get(Scopes.java:65)
12:05:25,966 ERROR [stderr] (default task-35) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
12:05:25,966 ERROR [stderr] (default task-35) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
12:05:25,967 ERROR [stderr] (default task-35) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
12:05:25,967 ERROR [stderr] (default task-35) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
12:05:25,967 ERROR [stderr] (default task-35) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009)
12:05:25,968 ERROR [stderr] (default task-35) at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:108)
12:05:25,968 ERROR [stderr] (default task-35) at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:82)
12:05:25,968 ERROR [stderr] (default task-35) at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:102)
12:05:25,969 ERROR [stderr] (default task-35) at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:172)
12:05:25,969 ERROR [stderr] (default task-35) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:111)
12:05:25,970 ERROR [stderr] (default task-35) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:84)
12:05:25,970 ERROR [stderr] (default task-35) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:97)
12:05:25,970 ERROR [stderr] (default task-35) at io.undertow.servlet.core.ManagedFilter.createFilter(ManagedFilter.java:80)
12:05:25,971 ERROR [stderr] (default task-35) at io.undertow.servlet.core.ManagedFilter.getFilter(ManagedFilter.java:66)
12:05:25,971 ERROR [stderr] (default task-35) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
12:05:25,971 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
12:05:25,972 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
12:05:25,972 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
12:05:25,972 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
12:05:25,973 ERROR [stderr] (default task-35) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
12:05:25,973 ERROR [stderr] (default task-35) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
12:05:25,973 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
12:05:25,974 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
12:05:25,974 ERROR [stderr] (default task-35) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
12:05:25,974 ERROR [stderr] (default task-35) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
12:05:25,976 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
12:05:25,976 ERROR [stderr] (default task-35) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
12:05:25,976 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
12:05:25,977 ERROR [stderr] (default task-35) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
12:05:25,977 ERROR [stderr] (default task-35) at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
12:05:25,977 ERROR [stderr] (default task-35) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
12:05:25,977 ERROR [stderr] (default task-35) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
12:05:25,978 ERROR [stderr] (default task-35) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
12:05:25,978 ERROR [stderr] (default task-35) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
12:05:25,978 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
12:05:25,978 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
12:05:25,979 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
12:05:25,979 ERROR [stderr] (default task-35) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
12:05:25,979 ERROR [stderr] (default task-35) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
12:05:25,980 ERROR [stderr] (default task-35) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
12:05:25,980 ERROR [stderr] (default task-35) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
12:05:25,980 ERROR [stderr] (default task-35) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
12:05:25,981 ERROR [stderr] (default task-35) at java.lang.Thread.run(Thread.java:745)
12:05:28,266 INFO [net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl] (default task-35) Available locales: de, fi, ru, pt, bg, keys, lt, hr, lv, fr, hu, zh-CN, sk, sl, ga, sv, zh-TW, el, mt, en, it, es, et, cs, pl, da, ro, nl
Offline
Hi,
my first guess is that the deployment descriptor is not properly set up. Have a look at https://reportserver.net/en/guides/conf … s-Wildfly/.
Regards,
Thomas
Offline
The error above has configured the jboss deployment config already. see below for the details.
[WEB-INF/jboss-deployment-structure.xml]
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.hibernate" />
<module name="org.antlr" />
</exclusions>
<exclude-subsystems>
<subsystem name="weld" />
<subsystem name="org.hibernate" />
<subsystem name="org.hibernate.validator" />
<subsystem name="org.antlr" />
<subsystem name="jpa" />
</exclude-subsystems>
<dependencies>
<module name="org.bouncycastle" />
<!--<module name="org.bouncycastle" slot="main" export="true"/> -->
</dependencies>
</deployment>
</jboss-deployment-structure>
Last edited by pipchan (2016-07-21 07:18:16)
Offline
Is there any additional information in any of the other log files?
Offline
The full log here, not much information it can provided.
Offline
I've just done a test installation on a fresh JBoss EAP 7.0.0 and I am afraid, everything worked fine. I believe the problematic bit in your log files is
2016-07-22 16:21:51,479 ERROR [net.datenwerke.gf.service.lateinit.LateInitStartup] (Thread-109) Error in LateInitHook: net.datenwerke.security.service.crypto.pbe.exception.PbeException: Could not encrypt plaintext
at net.datenwerke.security.service.crypto.pbe.encrypt.EncryptionServiceImpl.encrypt(EncryptionServiceImpl.java:139)
at net.datenwerke.security.service.crypto.pbe.encrypt.EncryptionServiceImpl.encrypt(EncryptionServiceImpl.java:115)
at net.datenwerke.rs.base.service.datasources.definitions.DatabaseDatasource.setPassword(DatabaseDatasource.java:126)
at net.datenwerke.rs.installation.InstallBaseDataTask.installDatasource(InstallBaseDataTask.java:139)
at net.datenwerke.rs.installation.InstallBaseDataTask.executeOnFirstRun(InstallBaseDataTask.java:69)
at net.datenwerke.rs.installation.ReportServerInstallationServiceImpl.runAdditionalDbInstallTasks(ReportServerInstallationServiceImpl.java:50)
at net.datenwerke.rs.installation.ReportServerInstallationServiceImpl.install(ReportServerInstallationServiceImpl.java:29)
at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:58)
at net.datenwerke.rs.installation.RsInstallStartup$1.initialize(RsInstallStartup.java:25)
at net.datenwerke.gf.service.lateinit.LateInitStartup$1.run(LateInitStartup.java:62)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/CBC/ISO7816-4Padding
at javax.crypto.Cipher.getInstance(Cipher.java:535)
at net.datenwerke.security.service.crypto.pbe.encrypt.EncryptionServiceImpl.encrypt(EncryptionServiceImpl.java:128)
... 10 more
This indicates, that not BouncyCastle is not properly picked up. Indeed, if I adapt the deployment descriptor to be
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.hibernate" />
<module name="org.antlr" />
</exclusions>
<exclude-subsystems>
<subsystem name="weld" />
<subsystem name="org.hibernate" />
<subsystem name="org.hibernate.validator" />
<subsystem name="org.antlr" />
<subsystem name="jpa" />
</exclude-subsystems>
<dependencies>
<!--<module name="org.bouncycastle" /> -->
</dependencies>
</deployment>
</jboss-deployment-structure>
that is, I remove the bouncycastle dependency then I get similar errors to the ones you have in your log file. Could you double check once more, that the jboss-deployment-structure.xml is properly picked up by JBoss?
Regards,
Thomas
Offline
I reinstall the JBoss 7 and it is able to work again, but it still have some error in jboss log
15:02:38,743 INFO [net.datenwerke.rs.core.service.i18ntools.RemoteMessageServiceImpl] (default task-2) Loading messages...
15:02:42,482 ERROR [stderr] (default task-2) java.io.FileNotFoundException: C:\JBoss\jboss-eap-7.0\standalone\deployments\reportserver3.war\WEB-INF\lib\commons-file-20050307052300.jar (The system cannot find the file specified)
15:02:42,483 ERROR [stderr] (default task-2) at java.io.FileInputStream.open(Native Method)
15:02:42,483 ERROR [stderr] (default task-2) at java.io.FileInputStream.<init>(FileInputStream.java:138)...
Offline
That error can safely be ignored. It is raised when ReportServer scans jars for message files. For some reason JBoss reports that it is present at this location although it is not. Anyhow, this message is just meant as information and can be safely ignored.
Offline