[JBoss JIRA] (AS7-5348) ArchiveDeployer.deployInternal() always uses null rootCause
by James Livingston (JIRA)
James Livingston created AS7-5348:
-------------------------------------
Summary: ArchiveDeployer.deployInternal() always uses null rootCause
Key: AS7-5348
URL: https://issues.jboss.org/browse/AS7-5348
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.2.0.CR1
Reporter: James Livingston
Assignee: Ondrej Zizka
deployInternal() in ArchiveDeployer (from arquillian/) walks back along the chain of initialCause exceptions to attach the root cause to the thrown exception, presumably in an attempt to reduce the clutter in the output.
The way it does so is incorrect and will always result in rootCause=null. I think that it should just attach "ex" as-is, but if stripping the intermediate exceptions is what is desired, then the while condition should be "rootCause != null && rootCause.getCause() != null", so that it extracts the last one.
–
Throwable rootCause = ex.getCause();
while (null != rootCause) { rootCause = rootCause.getCause(); }
throw new DeploymentException("Cannot deploy: " + name, rootCause);
–
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months
[JBoss JIRA] (AS7-5283) CLONE - Parameter -server is not added for PC and HC when running on IBM JDK 6 and 7
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/AS7-5283?page=com.atlassian.jira.plugin.s... ]
Brian Stansberry resolved AS7-5283.
-----------------------------------
Resolution: Done
> CLONE - Parameter -server is not added for PC and HC when running on IBM JDK 6 and 7
> ------------------------------------------------------------------------------------
>
> Key: AS7-5283
> URL: https://issues.jboss.org/browse/AS7-5283
> Project: Application Server 7
> Issue Type: Bug
> Components: Scripts
> Affects Versions: 7.1.1.Final, 7.1.2.Final (EAP)
> Reporter: Rostislav Svoboda
> Assignee: Brian Stansberry
> Fix For: 7.1.3.Final (EAP), 7.2.0.Alpha1
>
>
> For IBM JDK 6 and 7 parameter -server is not added for PC and HC, server-one and server-two processes contain -server parameter.
> On OracleJDK and OpenJDK it's added by default for domain.sh, in standalone.sh for IBM JDK parameter -server is added.
> Problem is in domain.sh script, part starting with line 76.
> IBM JDK 6 version output:
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pxi3260sr10fp1-20120321_01(SR10 FP1))
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
> J9VM - 20120202_101568
> JIT - r9_20111107_21307ifx1
> GC - 20120202_AA)
> JCL - 20120320_01
> IBM JDK 7 version output:
> java version "1.7.0"
> Java(TM) SE Runtime Environment (build pxi3270-20110827_01)
> IBM J9 VM (build 2.6, JRE 1.7.0 Linux x86-32 20110810_88604 (JIT enabled, AOT enabled)
> J9VM - R26_Java726_GA_20110810_1208_B88592
> JIT - r11_20110810_20466
> GC - R26_Java726_GA_20110810_1208_B88592
> J9CL - 20110810_88604)
> JCL - 20110809_01 based on Oracle 7b147
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months