[
https://jira.jboss.org/jira/browse/JBAS-7223?page=com.atlassian.jira.plug...
]
Juergen none updated JBAS-7223:
-------------------------------
Description:
myapp.ear
- myapp.war
-- WEB-INF/lib/core-3.2.3.v_686_R32x.jar
+ other stuff
startup deployment works, jboss seems to load resource from vfs-nested myapp.war file just
fine
hot redeployment fails: jboss vfs wants to load same resource by opening exploded .war
directory in tmp as a ZipFile -> ZipFileException
1. deployment:
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/vfs-nested.tmp/d6f0a1a2_myapp.war"
(id=396)
redeployment:
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/3w2633i-pmo8o4-fz493p05-1-fz4a3w1c-1v/myapp.war/"
(id=10355)
while not expanded in var-dump, initStatus of myapp.war on 1. deployment was INITIALIZED
eclipse var-dumps + stacktraces following:
-------------------------------------------
1. deployment:
----------------
{code}
path "WEB-INF/lib/core-3.2.3.v_686_R32x.jar/org/eclipse/jdt/internal/compiler/problem/messages.properties"
(id=10434)
this org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=6056)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=395)
autoClean true
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=6070)
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/vfs-nested.tmp/d6f0a1a2_myapp.war"
(id=396)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
log org.jboss.logging.Logger (id=6071)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6072)
realURL java.net.URL (id=6073)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=6049)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=176)
autoClean false
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=6012)
filePath "/opt/jboss/myapp/jboss-campus/../deploy-campus/myapp-2.5.ear"
(id=177)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
log org.jboss.logging.Logger (id=6013)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6014)
realURL java.net.URL (id=6015)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=5981)
cachedLastModified 1251905808000
context org.jboss.virtual.plugins.context.file.FileSystemContext (id=5953)
file null
log org.jboss.logging.Logger (id=6109)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6110)
root org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
rootPeer null
rootURI java.net.URI (id=6111)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6112)
vfs org.jboss.virtual.VFS (id=6113)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=5987)
localVfsPath null
name "myapp-2.5.ear" (id=5988)
parent org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
references 526
vfsPath "myapp-2.5.ear" (id=5989)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=6016)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6017)
vfs org.jboss.virtual.VFS (id=6018)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=6019)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=6056)
localVfsPath "myapp.war" (id=6057)
name "myapp.war" (id=6051)
parent org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=5987)
references 13
vfsPath "myapp-2.5.ear/myapp.war" (id=6058)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=6074)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6075)
vfs org.jboss.virtual.VFS (id=6076)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=6077)
initialized true
isLeaf false
localVfsPath "" (id=4093)
name "myapp.war" (id=6064)
parent null
references 32
url java.net.URL (id=6065)
vfsPath "myapp-2.5.ear/myapp.war" (id=6066)
vfsUrl java.net.URL (id=6067)
vfsUrlCached java.net.URL (id=6067)
--------------
Thread [Thread-90] (Suspended)
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 647
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line: 303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader) line:
366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
=====================================================
redeployment:
--------------
path "WEB-INF/lib/core-3.2.3.v_686_R32x.jar/org/eclipse/jdt/internal/compiler/problem/messages.properties"
(id=6060)
this org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10414)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=10354)
autoClean true
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=10426)
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/3w2633i-pmo8o4-fz493p05-1-fz4a3w1c-1v/myapp.war/"
(id=10355)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=10339)
name "NOT_INITIALIZED" (id=10347)
ordinal 0
log org.jboss.logging.Logger (id=10427)
options org.jboss.virtual.plugins.context.DefaultOptions (id=10428)
realURL null
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=10358)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=9003)
autoClean false
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=10338)
filePath "/opt/jboss/myapp/jboss-campus/../deploy-campus/myapp-2.5.ear"
(id=9004)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
name "INITIALIZED" (id=6021)
ordinal 2
log org.jboss.logging.Logger (id=10340)
options org.jboss.virtual.plugins.context.DefaultOptions (id=10341)
realURL java.net.URL (id=10342)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=10307)
cachedLastModified 1251908588000
context org.jboss.virtual.plugins.context.file.FileSystemContext (id=5953)
file null
log org.jboss.logging.Logger (id=6109)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6110)
root org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
rootPeer null
rootURI java.net.URI (id=6111)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6112)
vfs org.jboss.virtual.VFS (id=6113)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10311)
localVfsPath null
name "myapp-2.5.ear" (id=10312)
parent org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
references 182
vfsPath "myapp-2.5.ear" (id=10313)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=10343)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=10344)
vfs org.jboss.virtual.VFS (id=10345)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=10346)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10414)
localVfsPath "myapp.war" (id=10415)
name "myapp.war" (id=10366)
parent org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10311)
references 0
vfsPath "myapp-2.5.ear/myapp.war" (id=10416)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=10429)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=10430)
vfs org.jboss.virtual.VFS (id=10431)
zipSource null
initialized true
isLeaf false
localVfsPath "" (id=4093)
name "myapp.war" (id=10421)
parent null
references 0
url java.net.URL (id=10422)
vfsPath "myapp-2.5.ear/myapp.war" (id=10423)
vfsUrl java.net.URL (id=10424)
vfsUrlCached null
------------
Thread [Thread-2264] (Suspended)
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 647
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line: 303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader) line:
366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
--------------
a few steps later: ZipException, vfs tries to open exploded .war dir as ZipFile:
Thread [Thread-2264] (Suspended (exception java.util.zip.ZipException))
java.util.zip.ZipFile.open(java.lang.String, int, long) line: not available [native
method]
java.util.zip.ZipFile.<init>(java.io.File, int) line: 114
java.util.zip.ZipFile.<init>(java.io.File) line: 131
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile() line: 175
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire() line: 245
org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries() line: 484
org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries() line: 619
org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified() line: 773
org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(org.jboss.virtual.plugins.context.zip.ZipEntryHandler,
java.lang.String) line: 817
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(java.lang.String)
line: 191
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 684
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line: 303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader) line:
366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
{code}
was:
myapp.ear
- myapp.war
-- WEB-INF/lib/core-3.2.3.v_686_R32x.jar
+ other stuff
startup deployment works, jboss seems to load resource from vfs-nested myapp.war file just
fine
hot redeployment fails: jboss vfs wants to load same resource by opening exploded .war
directory in tmp as a ZipFile -> ZipFileException
1. deployment:
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/vfs-nested.tmp/d6f0a1a2_myapp.war"
(id=396)
redeployment:
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/3w2633i-pmo8o4-fz493p05-1-fz4a3w1c-1v/myapp.war/"
(id=10355)
while not expanded in var-dump, initStatus of myapp.war on 1. deployment was INITIALIZED
eclipse var-dumps + stacktraces following:
-------------------------------------------
1. deployment:
----------------
path "WEB-INF/lib/core-3.2.3.v_686_R32x.jar/org/eclipse/jdt/internal/compiler/problem/messages.properties"
(id=10434)
this org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=6056)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=395)
autoClean true
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=6070)
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/vfs-nested.tmp/d6f0a1a2_myapp.war"
(id=396)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
log org.jboss.logging.Logger (id=6071)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6072)
realURL java.net.URL (id=6073)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=6049)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=176)
autoClean false
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=6012)
filePath "/opt/jboss/myapp/jboss-campus/../deploy-campus/myapp-2.5.ear"
(id=177)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
log org.jboss.logging.Logger (id=6013)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6014)
realURL java.net.URL (id=6015)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=5981)
cachedLastModified 1251905808000
context org.jboss.virtual.plugins.context.file.FileSystemContext (id=5953)
file null
log org.jboss.logging.Logger (id=6109)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6110)
root org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
rootPeer null
rootURI java.net.URI (id=6111)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6112)
vfs org.jboss.virtual.VFS (id=6113)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=5987)
localVfsPath null
name "myapp-2.5.ear" (id=5988)
parent org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
references 526
vfsPath "myapp-2.5.ear" (id=5989)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=6016)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6017)
vfs org.jboss.virtual.VFS (id=6018)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=6019)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=6056)
localVfsPath "myapp.war" (id=6057)
name "myapp.war" (id=6051)
parent org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=5987)
references 13
vfsPath "myapp-2.5.ear/myapp.war" (id=6058)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=6074)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6075)
vfs org.jboss.virtual.VFS (id=6076)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=6077)
initialized true
isLeaf false
localVfsPath "" (id=4093)
name "myapp.war" (id=6064)
parent null
references 32
url java.net.URL (id=6065)
vfsPath "myapp-2.5.ear/myapp.war" (id=6066)
vfsUrl java.net.URL (id=6067)
vfsUrlCached java.net.URL (id=6067)
--------------
Thread [Thread-90] (Suspended)
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 647
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line: 303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader) line:
366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
=====================================================
redeployment:
--------------
path "WEB-INF/lib/core-3.2.3.v_686_R32x.jar/org/eclipse/jdt/internal/compiler/problem/messages.properties"
(id=6060)
this org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10414)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=10354)
autoClean true
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=10426)
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/3w2633i-pmo8o4-fz493p05-1-fz4a3w1c-1v/myapp.war/"
(id=10355)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=10339)
name "NOT_INITIALIZED" (id=10347)
ordinal 0
log org.jboss.logging.Logger (id=10427)
options org.jboss.virtual.plugins.context.DefaultOptions (id=10428)
realURL null
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=10358)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=9003)
autoClean false
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=10338)
filePath "/opt/jboss/myapp/jboss-campus/../deploy-campus/myapp-2.5.ear"
(id=9004)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
name "INITIALIZED" (id=6021)
ordinal 2
log org.jboss.logging.Logger (id=10340)
options org.jboss.virtual.plugins.context.DefaultOptions (id=10341)
realURL java.net.URL (id=10342)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=10307)
cachedLastModified 1251908588000
context org.jboss.virtual.plugins.context.file.FileSystemContext (id=5953)
file null
log org.jboss.logging.Logger (id=6109)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6110)
root org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
rootPeer null
rootURI java.net.URI (id=6111)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6112)
vfs org.jboss.virtual.VFS (id=6113)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10311)
localVfsPath null
name "myapp-2.5.ear" (id=10312)
parent org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
references 182
vfsPath "myapp-2.5.ear" (id=10313)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=10343)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=10344)
vfs org.jboss.virtual.VFS (id=10345)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=10346)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10414)
localVfsPath "myapp.war" (id=10415)
name "myapp.war" (id=10366)
parent org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10311)
references 0
vfsPath "myapp-2.5.ear/myapp.war" (id=10416)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=10429)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=10430)
vfs org.jboss.virtual.VFS (id=10431)
zipSource null
initialized true
isLeaf false
localVfsPath "" (id=4093)
name "myapp.war" (id=10421)
parent null
references 0
url java.net.URL (id=10422)
vfsPath "myapp-2.5.ear/myapp.war" (id=10423)
vfsUrl java.net.URL (id=10424)
vfsUrlCached null
------------
Thread [Thread-2264] (Suspended)
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 647
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line: 303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader) line:
366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
--------------
a few steps later: ZipException, vfs tries to open exploded .war dir as ZipFile:
Thread [Thread-2264] (Suspended (exception java.util.zip.ZipException))
java.util.zip.ZipFile.open(java.lang.String, int, long) line: not available [native
method]
java.util.zip.ZipFile.<init>(java.io.File, int) line: 114
java.util.zip.ZipFile.<init>(java.io.File) line: 131
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile() line: 175
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire() line: 245
org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries() line: 484
org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries() line: 619
org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified() line: 773
org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(org.jboss.virtual.plugins.context.zip.ZipEntryHandler,
java.lang.String) line: 817
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(java.lang.String)
line: 191
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 684
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line: 303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader) line:
366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
vfs opening exploded .war in tmp dir as ZipFile on redeployment
causes ZipFileException
---------------------------------------------------------------------------------------
Key: JBAS-7223
URL:
https://jira.jboss.org/jira/browse/JBAS-7223
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: VFS
Affects Versions: JBossAS-5.1.0.GA
Environment: 17:56:37,027 INFO [ServerImpl] Starting Microcontainer,
bootstrapURL=file:/opt/jboss/myapp/jboss-campus/server/campus/conf/bootstrap.xml
17:56:37,660 INFO [VFSCacheFactory] Initializing VFSCache
[org.jboss.virtual.plugins.cache.CombinedVFSCache]
17:56:37,664 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
17:56:37,989 INFO [CopyMechanism] VFS temp dir:
/opt/jboss/myapp/jboss-campus/server/campus/tmp
17:56:37,991 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
17:56:39,442 INFO [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc.
17:56:39,443 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build
1.6.0_14-b08)
17:56:39,443 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 14.0-b16,Sun
Microsystems Inc.
17:56:39,443 INFO [ServerInfo] OS-System: Linux 2.6.9-22.0.1.ELsmp,amd64
17:56:39,444 INFO [ServerInfo] VM arguments: -Dprogram.name=run.sh
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true
-Djboss.bind.address=0.0.0.0 -Dcom.sun.management.jmxremote
-Djava.net.preferIPv4Stack=true -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Xms1280m -Xmx1280m
-XX:PermSize=256m -XX:MaxPermSize=1024m
-Djava.library.path=/opt/jboss/myapp/jboss-campus/bin/META-INF/lib/linux2/x64
-Djava.endorsed.dirs=/opt/jboss/myapp/jboss-campus/lib/endorsed:/opt/jboss/myapp/jboss-campus/lib/endorsed-java-1.6
17:56:39,500 INFO [JMXKernel] Legacy JMX core initialized
Reporter: Juergen none
Assignee: Ales Justin
myapp.ear
- myapp.war
-- WEB-INF/lib/core-3.2.3.v_686_R32x.jar
+ other stuff
startup deployment works, jboss seems to load resource from vfs-nested myapp.war file
just fine
hot redeployment fails: jboss vfs wants to load same resource by opening exploded .war
directory in tmp as a ZipFile -> ZipFileException
1. deployment:
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/vfs-nested.tmp/d6f0a1a2_myapp.war"
(id=396)
redeployment:
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/3w2633i-pmo8o4-fz493p05-1-fz4a3w1c-1v/myapp.war/"
(id=10355)
while not expanded in var-dump, initStatus of myapp.war on 1. deployment was INITIALIZED
eclipse var-dumps + stacktraces following:
-------------------------------------------
1. deployment:
----------------
{code}
path "WEB-INF/lib/core-3.2.3.v_686_R32x.jar/org/eclipse/jdt/internal/compiler/problem/messages.properties"
(id=10434)
this org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=6056)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=395)
autoClean true
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=6070)
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/vfs-nested.tmp/d6f0a1a2_myapp.war"
(id=396)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
log org.jboss.logging.Logger (id=6071)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6072)
realURL java.net.URL (id=6073)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=6049)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=176)
autoClean false
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=6012)
filePath "/opt/jboss/myapp/jboss-campus/../deploy-campus/myapp-2.5.ear"
(id=177)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
log org.jboss.logging.Logger (id=6013)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6014)
realURL java.net.URL (id=6015)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=5981)
cachedLastModified 1251905808000
context org.jboss.virtual.plugins.context.file.FileSystemContext (id=5953)
file null
log org.jboss.logging.Logger (id=6109)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6110)
root org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
rootPeer null
rootURI java.net.URI (id=6111)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6112)
vfs org.jboss.virtual.VFS (id=6113)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=5987)
localVfsPath null
name "myapp-2.5.ear" (id=5988)
parent org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
references 526
vfsPath "myapp-2.5.ear" (id=5989)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=6016)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6017)
vfs org.jboss.virtual.VFS (id=6018)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=6019)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=6056)
localVfsPath "myapp.war" (id=6057)
name "myapp.war" (id=6051)
parent org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=5987)
references 13
vfsPath "myapp-2.5.ear/myapp.war" (id=6058)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=6074)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6075)
vfs org.jboss.virtual.VFS (id=6076)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=6077)
initialized true
isLeaf false
localVfsPath "" (id=4093)
name "myapp.war" (id=6064)
parent null
references 32
url java.net.URL (id=6065)
vfsPath "myapp-2.5.ear/myapp.war" (id=6066)
vfsUrl java.net.URL (id=6067)
vfsUrlCached java.net.URL (id=6067)
--------------
Thread [Thread-90] (Suspended)
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 647
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line:
303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader)
line: 366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
=====================================================
redeployment:
--------------
path "WEB-INF/lib/core-3.2.3.v_686_R32x.jar/org/eclipse/jdt/internal/compiler/problem/messages.properties"
(id=6060)
this org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10414)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=10354)
autoClean true
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=10426)
filePath "/opt/jboss/myapp/jboss-campus/server/campus/tmp/3w2633i-pmo8o4-fz493p05-1-fz4a3w1c-1v/myapp.war/"
(id=10355)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=10339)
name "NOT_INITIALIZED" (id=10347)
ordinal 0
log org.jboss.logging.Logger (id=10427)
options org.jboss.virtual.plugins.context.DefaultOptions (id=10428)
realURL null
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=10358)
cachedLastModified 0
context org.jboss.virtual.plugins.context.zip.ZipEntryContext (id=9003)
autoClean false
entries java.util.concurrent.ConcurrentHashMap<K,V> (id=10338)
filePath "/opt/jboss/myapp/jboss-campus/../deploy-campus/myapp-2.5.ear"
(id=9004)
initStatus org.jboss.virtual.plugins.context.zip.ZipEntryContext$InitializationStatus
(id=4083)
name "INITIALIZED" (id=6021)
ordinal 2
log org.jboss.logging.Logger (id=10340)
options org.jboss.virtual.plugins.context.DefaultOptions (id=10341)
realURL java.net.URL (id=10342)
rootEntryPath "" (id=4093)
rootPeer org.jboss.virtual.plugins.context.DelegatingHandler (id=10307)
cachedLastModified 1251908588000
context org.jboss.virtual.plugins.context.file.FileSystemContext (id=5953)
file null
log org.jboss.logging.Logger (id=6109)
options org.jboss.virtual.plugins.context.DefaultOptions (id=6110)
root org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
rootPeer null
rootURI java.net.URI (id=6111)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=6112)
vfs org.jboss.virtual.VFS (id=6113)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10311)
localVfsPath null
name "myapp-2.5.ear" (id=10312)
parent org.jboss.virtual.plugins.context.file.FileHandler (id=5958)
references 182
vfsPath "myapp-2.5.ear" (id=10313)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=10343)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=10344)
vfs org.jboss.virtual.VFS (id=10345)
zipSource org.jboss.virtual.plugins.context.zip.ZipFileWrapper (id=10346)
delegate org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10414)
localVfsPath "myapp.war" (id=10415)
name "myapp.war" (id=10366)
parent org.jboss.virtual.plugins.context.zip.ZipEntryHandler (id=10311)
references 0
vfsPath "myapp-2.5.ear/myapp.war" (id=10416)
vfsUrl null
vfsUrlCached null
rootURI java.net.URI (id=10429)
tempInfos org.jboss.util.collection.ConcurrentSkipListMap<K,V> (id=10430)
vfs org.jboss.virtual.VFS (id=10431)
zipSource null
initialized true
isLeaf false
localVfsPath "" (id=4093)
name "myapp.war" (id=10421)
parent null
references 0
url java.net.URL (id=10422)
vfsPath "myapp-2.5.ear/myapp.war" (id=10423)
vfsUrl java.net.URL (id=10424)
vfsUrlCached null
------------
Thread [Thread-2264] (Suspended)
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 647
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line:
303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader)
line: 366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
--------------
a few steps later: ZipException, vfs tries to open exploded .war dir as ZipFile:
Thread [Thread-2264] (Suspended (exception java.util.zip.ZipException))
java.util.zip.ZipFile.open(java.lang.String, int, long) line: not available [native
method]
java.util.zip.ZipFile.<init>(java.io.File, int) line: 114
java.util.zip.ZipFile.<init>(java.io.File) line: 131
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile() line: 175
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire() line: 245
org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries() line: 484
org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries() line: 619
org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified() line: 773
org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(org.jboss.virtual.plugins.context.zip.ZipEntryHandler,
java.lang.String) line: 817
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(java.lang.String)
line: 191
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 684
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.zip.ZipEntryHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(java.lang.String) line:
165
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(java.lang.String) line:
107
org.jboss.virtual.plugins.context.file.FileHandler(org.jboss.virtual.plugins.context.AbstractVirtualFileHandler).structuredFindChild(java.lang.String)
line: 689
org.jboss.virtual.plugins.context.file.FileHandler.getChild(java.lang.String) line:
303
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(org.jboss.virtual.spi.VirtualFileHandler,
java.lang.String, boolean) line: 124
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URI) line: 107
org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(java.net.URL) line: 140
org.jboss.virtual.protocol.vfszip.Handler(org.jboss.virtual.protocol.AbstractVFSHandler).openConnection(java.net.URL)
line: 71
java.net.URL.openConnection() line: 945
java.net.URL.openStream() line: 1009
org.jboss.classloader.spi.base.BaseClassLoader(java.lang.ClassLoader).getResourceAsStream(java.lang.String)
line: 1170
java.util.ResourceBundle$Control$1.run() line: 2418
java.util.ResourceBundle$Control$1.run() line: 2403
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>)
line: not available [native method]
java.util.ResourceBundle$Control.newBundle(java.lang.String, java.util.Locale,
java.lang.String, java.lang.ClassLoader, boolean) line: 2402
java.util.ResourceBundle.loadBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.lang.String>, java.util.ResourceBundle.Control, boolean) line:
1406
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1365
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.findBundle(java.util.ResourceBundle.CacheKey,
java.util.List<java.util.Locale>, java.util.List<java.lang.String>, int,
java.util.ResourceBundle.Control, java.util.ResourceBundle) line: 1292
java.util.ResourceBundle.getBundleImpl(java.lang.String, java.util.Locale,
java.lang.ClassLoader, java.util.ResourceBundle$Control) line: 1234
java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale) line: 787
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.loadMessageTemplates(java.util.Locale)
line: 179
org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory.<init>(java.util.Locale)
line: 42
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader,
org.drools.commons.jci.compilers.JavaCompilerSettings) line: 190
org.drools.commons.jci.compilers.EclipseJavaCompiler(org.drools.commons.jci.compilers.AbstractJavaCompiler).compile(java.lang.String[],
org.drools.commons.jci.readers.ResourceReader,
org.drools.commons.jci.stores.ResourceStore, java.lang.ClassLoader) line: 51
org.drools.rule.builder.dialect.java.JavaDialect.compileAll() line: 342
org.drools.compiler.DialectRegistry.compileAll() line: 60
org.drools.compiler.PackageBuilder.addPackage(org.drools.lang.descr.PackageDescr) line:
308
org.drools.compiler.PackageBuilder.addPackageFromDrl(java.io.Reader) line: 167
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.Reader,
java.util.Map) line: 158
org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(java.io.InputStream,
java.util.Map) line: 93
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.String,
java.lang.ClassLoader, java.io.InputStream) line: 422
RuleEngineManager.registerRuleExecutionSet(java.lang.String, java.lang.ClassLoader)
line: 366
RuleEngineManager.registerRuleExecutionSets() line: 300
InitRuleEngineSysTask.run() line: 76
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line:
39
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[])
line: 25
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 597
SystemTasksLogic.runTask(java.lang.String, boolean) line: 218
SystemTasksLogic.runAllStartupTasks() line: 72
EngineInitThread.run() line: 76
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira