]
Michael Musgrove resolved JBTM-730.
-----------------------------------
Resolution: Done
The files and directories inside the sar file on EAP are not in "hierarchical
order". The unpacking code is not handling this case correctly. I've modified the
code so that it successfully unpacks the archive regardless of the order of its contained
files.
JBossTS embedded tools startup fails on EAP5.0.1 CR1
----------------------------------------------------
Key: JBTM-730
URL:
https://jira.jboss.org/browse/JBTM-730
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tooling
Affects Versions: 4.6.1.CP04
Environment: EAP5.0.1.CR1
Reporter: Ivo Studensky
Assignee: Michael Musgrove
Fix For: 4.13.0
In EAP5.0.1.CR1 the embedded tools fails with the error below.
snippet of server.log:
2010-03-12 11:13:00,841 ERROR [STDERR] (Thread-27) java.io.FileNotFoundException:
/home/studensky/job/EAP5/5.0.1.cr1/jboss-eap-5.0/jboss-as/server/all/tmp/jboss_tools_tmp/META-INF/MANIFEST.MF
(No such file or directory)
2010-03-12 11:13:00,841 ERROR [STDERR] (Thread-27) at
java.io.FileOutputStream.open(Native Method)
2010-03-12 11:13:00,841 ERROR [STDERR] (Thread-27) at
java.io.FileOutputStream.<init>(FileOutputStream.java:179)
2010-03-12 11:13:00,841 ERROR [STDERR] (Thread-27) at
java.io.FileOutputStream.<init>(FileOutputStream.java:131)
2010-03-12 11:13:00,841 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.plugin.ToolPluginInformation.externalizeFile(ToolPluginInformation.java:172)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.processSar(ToolsClassLoader.java:121)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.init(ToolsClassLoader.java:87)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.<init>(ToolsClassLoader.java:68)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.<init>(ToolsClassLoader.java:73)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ArjunaToolsFramework.<init>(ArjunaToolsFramework.java:106)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
org.jboss.jbosstm.tools.embedded.EmbeddedToolsFramework.<init>(EmbeddedToolsFramework.java:37)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
org.jboss.jbosstm.tools.mbean.EmbeddedTools$1.run(EmbeddedTools.java:37)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) Exception in thread
"Thread-27"
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) java.lang.RuntimeException: Unable to
unpack tools sar:
/home/studensky/job/EAP5/5.0.1.cr1/jboss-eap-5.0/jboss-as/server/all/tmp/jboss_tools_tmp/META-INF/MANIFEST.MF
(No such file or directory)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.processSar(ToolsClassLoader.java:140)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.init(ToolsClassLoader.java:87)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.<init>(ToolsClassLoader.java:68)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ToolsClassLoader.<init>(ToolsClassLoader.java:73)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
com.arjuna.ats.tools.toolsframework.ArjunaToolsFramework.<init>(ArjunaToolsFramework.java:106)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
org.jboss.jbosstm.tools.embedded.EmbeddedToolsFramework.<init>(EmbeddedToolsFramework.java:37)
2010-03-12 11:13:00,842 ERROR [STDERR] (Thread-27) at
org.jboss.jbosstm.tools.mbean.EmbeddedTools$1.run(EmbeddedTools.java:37)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: