Bug 733236 - Jbossas fails to raise up: java.util.zip.ZipException: error in opening zip file
Summary: Jbossas fails to raise up: java.util.zip.ZipException: error in opening zip file
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise Application Platform 5
Classification: JBoss
Component: jbossas
Version: 5.1.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Fernando Nasser
QA Contact: Ortal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-25 09:02 UTC by Ortal
Modified: 2016-04-18 07:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)
console.log (532.11 KB, text/plain)
2011-08-25 09:03 UTC, Ortal
no flags Details
rhevm-setup.log (79.37 KB, text/plain)
2011-08-25 09:04 UTC, Ortal
no flags Details

Description Ortal 2011-08-25 09:02:14 UTC
Description of problem:

When I run rhevm-setup command to install rhevm on rhel6.1, i got an error of: "jbossas startup has timed out, process still running."
When I opened console.log i saw that a zip file cannot be opened.

Version-Release number of selected component (if applicable):
jbossas-ws-cxf-5.1.1-6.ep5.el6.noarch
jbossas-messaging-5.1.1-17.ep5.el6.noarch
jbossas-client-5.1.1-17.ep5.el6.noarch
jbossas-5.1.1-17.ep5.el6.noarch


How reproducible:
Sometimes

Steps to Reproduce:
1. Run the command rhevm-setup and attempt to install rhevm
2. Jbossas service stopped successfully.
  
Actual results:

Can't raise up jbossas service back

rhevm-setup.log:

2011-08-24 07:45:24::DEBUG::common_utils::169::root:: output = Starting jbossas:
jbossas startup has timed out, process still running.



2011-08-24 07:45:24::DEBUG::common_utils::170::root:: stderr =
2011-08-24 07:45:24::DEBUG::common_utils::171::root:: retcode = 1
2011-08-24 07:45:24::ERROR::rhevm-setup::2094::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-setup", line 2082, in main
    runMainFunctions(conf)
  File "/usr/bin/rhevm-setup", line 2028, in runMainFunctions
    runFunction([_startJboss], output_messages.INFO_START_JBOSS)
  File "/usr/bin/rhevm-setup", line 1456, in runFunction
    raise Exception(instance)
Exception: Failed starting JBoss service



Console.log:

Caused by: java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
	at org.jboss.virtual.plugins.context.AbstractExceptionHandler.handleZipEntriesInitException(AbstractExceptionHandler.java:39)
	at org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler.handleZipEntriesInitException(NamesExceptionHandler.java:63)
	at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:636)
	at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:786)
	at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChildren(ZipEntryContext.java:858)
	at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChildren(ZipEntryHandler.java:163)
	at org.jboss.virtual.plugins.context.DelegatingHandler.getChildren(DelegatingHandler.java:121)
	at org.jboss.virtual.plugins.context.AbstractVFSContext.getChildren(AbstractVFSContext.java:220)
	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:337)
	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)
	at org.jboss.virtual.VFS.visit(VFS.java:468)
	at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)
	at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:397)
	at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:378)
	at org.jboss.classloading.plugins.vfs.PackageVisitor.visit(PackageVisitor.java:200)
	at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)
	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:330)
	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)
	at org.jboss.virtual.VFS.visit(VFS.java:468)
	at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)
	at org.jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:94)
	... 45 more
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:127)
	at java.util.jar.JarFile.<init>(JarFile.java:135)
	at java.util.jar.JarFile.<init>(JarFile.java:99)
	at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:173)
	at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:250)
	at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:485)
	at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:629)
	... 63 more


Expected results:

Should open zip file successfully.

Additional info:

** Please see attached rhevm-setup.log
** Please see attached console.log

-- there is no server.log to add.

Comment 1 Ortal 2011-08-25 09:03:18 UTC
Created attachment 519792 [details]
console.log

Comment 2 Ortal 2011-08-25 09:04:45 UTC
Created attachment 519793 [details]
rhevm-setup.log


Note You need to log in before you can comment on or make changes to this bug.