Bug 1251503
Summary: | Creation and group association of bundle fails with IllegalArgumentException: Token did not result in valid file when deploy.xml uses rhq handover | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | dsteigne | ||||
Component: | Provisioning | Assignee: | Michael Burman <miburman> | ||||
Status: | CLOSED ERRATA | QA Contact: | Filip Brychta <fbrychta> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | JON 3.3.3 | CC: | fbrychta, loleary, lzoubek, miburman, skondkar, spinder | ||||
Target Milestone: | ER01 | Keywords: | Triaged | ||||
Target Release: | JON 3.3.4 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1233991 | Environment: | |||||
Last Closed: | 2015-10-28 14:37:08 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: | |||||||
Attachments: |
|
Description
dsteigne
2015-08-07 14:24:16 UTC
Tested and this issue was not fixed in the 3.3.3 release After testing further it doesn't matter what size the bundle is, if the deploy.xml is using rhq:handover it will fail when you click next and return the error[1], Attaching test MQTest.zip to bug. Recipe file: <?xml version="1.0"?> <project name="MQTest" default="main" xmlns:rhq="antlib:org.rhq.bundle"> <rhq:bundle name="MQ Test Test" version="1.0" description="A simple MQ application."> <rhq:deployment-unit name="appserver" manageRootDir="false"> <rhq:archive name="MQTest.war"> <rhq:handover action="deployment" /> </rhq:archive> </rhq:deployment-unit> </rhq:bundle> <target name="main" /> </project> [1] 11:13:28,783 ERROR [org.jboss.as.ejb3.invocation] (http-/127.0.0.1:7080-3) JBAS014134: EJB Invocation failed on component BundleManagerBean for method public abstract org.rhq.core.domain.bundle.BundleVersion org.rhq.enterprise.server.bundle.BundleManagerLocal.createInitialBundleVersionViaToken(org.rhq.core.domain.auth.Subject,int[],java.lang.String) throws java.lang.Exception: javax.ejb.EJBException: java.lang.IllegalArgumentException: Token did not result in valid file [/NotBackedUp/dsteigne/jon3.3.0/jon-server-3.3.0.GA/jbossas/standalone/tmp/MQTest.zip3665601388344817469.tmp] at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:215) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:261) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.as.ejb3.tx.CMTTxInterceptor.never(CMTTxInterceptor.java:309) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:234) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [jboss-as-ejb3-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1] at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.4.3.Final-redhat Created attachment 1061187 [details]
Test Bundle with handover
Fixed in the master: commit f593a67bfefb83aa9ca2a2cc9c0019b7b99717bd Author: Michael Burman <miburman> Date: Tue Sep 8 11:03:26 2015 +0300 [BZ 1251503] Change FileUploadServlet to use JBossServerTempDir branch: release/jon3.3.x link: https://github.com/rhq-project/rhq/commit/6849cceb9 time: 2015-09-25 10:19:23 +0200 commit: 6849cceb94b4d7d6c2a668c9089dc7661731346f author: Michael Burman - miburman message: [BZ 1251503] Change FileUploadServlet to use JBossServerTempDir (cherry picked from commit f593a67bfefb83aa9ca2a2cc9c0019b7b99717bd) Signed-off-by: Libor Zoubek <lzoubek> Moving to ON_QA as available to test with the following build: https://brewweb.devel.redhat.com/buildinfo?buildID=460382 *Note: jon-server-patch-3.3.0.GA.zip maps to ER01 build of jon-server-3.3.0.GA-update-04.zip. Verified on Version : 3.3.0.GA Update 04 Build Number : 821a526:fa7b1a1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1947.html |