Bug 873904
| Summary: | ERROR [stderr] (MSC service thread 1-5) java.lang.NullPointerException when starting portal on oracle11gR1RAC | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | vramik |
| Component: | Portal | Assignee: | Default User <jbpapp-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | bdawidow, epp-bugs, hfnukal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-16 08:55:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
vramik
2012-11-06 22:52:28 UTC
I was able to start the same bundle, which is not working in this hudson job on perf14. I've downloaded the bundle from the job workspace, and I've manually checked that the user was created in the DB after I've created him in EPP. This seems to be a hudson issue, I'm not able to reproduce it outside hudson. I was able to reproduce the issue today. EPP with RAC1 must be started with clean DB, then it gets stucked with: 12:54:36,215 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff0a1058a5:-1e8168ee:50994ceb:274b in state RUN 12:54:36,218 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffff0a1058a5:-1e8168ee:50994ceb:274b invoked while multiple threads active within it. 12:54:36,220 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffff0a1058a5:-1e8168ee:50994ceb:274b aborting with 1 threads active! 12:54:36,220 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX After AS restart, everything works fine as expected. I got this issue with oracle11gR2 too (not only with oracle11gR1RAC). There is link to log: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EPP/view/6.0/view/UI%20Database%20Support/job/epp6_ui_selenium_tests_db_oracle11gR2/17/console The problem with this (and other) databases seems to be in the way they are configured: this seems to be the troubling part: <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> <pool> <min-pool-size>10</min-pool-size> <max-pool-size>50</max-pool-size> <prefill>true</prefill> </pool> <statement> <prepared-statement-cache-size>32</prepared-statement-cache-size> <share-prepared-statements>true</share-prepared-statements> </statement> I don't know what was the motivation for these values, but when I comment this part in both datasources, my JPP 6.0 ER02 will start on OracleR1-RAC and is usable. In some cases I've got NPE (...getcustom in workspace...) in the log (I blame slow DB from this), but the JPP will start and is usable anyway. Currently users which I use for oracle11gR1RAC doesn't have privileges to create table, so I'm blocked with verifying. There is link to related ticket https://engineering.redhat.com/rt/Ticket/Display.html?id=179187 The issue is fixed in ER4.2 |