osgi - Weird OutOfMemoryError from JBoss AS 7.2 -
i'm experiencing odd outofmemoryerror
when deploying osgi/blueprint bundles in jboss 7.2. of bundles cause error if present in deployment directory when start jboss - in combination each other.
in current setup have 4 bundles - let's call them a
, b
, c
, d
. a
, b
depends on c
, d
not on each other, , use various external libraries have deployed. if c
, d
deployed 1 of a
, b
when jboss starts, seems deploy fine, if both a
, b
present following stack trace:
16:42:30 error [org.jboss.msc.service.fail] msc00001: failed start service jbosgi.persistentbundles.resolve: org.jboss.msc.service.startexception in service jbosgi.persistentbundles.resolve: failed start service @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1767) [jboss-msc-1.0.4.ga.jar:1.0.4.ga] @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:895) [rt.jar:1.6.0_45] @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:918) [rt.jar:1.6.0_45] @ java.lang.thread.run(thread.java:662) [rt.jar:1.6.0_45] caused by: java.lang.outofmemoryerror: java heap space @ java.lang.string.substring(string.java:1939) [rt.jar:1.6.0_45] @ java.util.stringtokenizer.nexttoken(stringtokenizer.java:335) [rt.jar:1.6.0_45] @ org.apache.felix.resolver.resolverimpl.mergeuses(resolverimpl.java:911) @ org.apache.felix.resolver.resolverimpl.mergeuses(resolverimpl.java:957) @ org.apache.felix.resolver.resolverimpl.mergeuses(resolverimpl.java:957) @ org.apache.felix.resolver.resolverimpl.calculatepackagespaces(resolverimpl.java:696) @ org.apache.felix.resolver.resolverimpl.resolve(resolverimpl.java:188) @ org.jboss.osgi.resolver.felix.statelessresolver.resolve(statelessresolver.java:56) @ org.jboss.osgi.framework.internal.resolverimpl.resolveandapply(resolverimpl.java:137) @ org.jboss.osgi.framework.internal.packageadminimpl.resolvebundles(packageadminimpl.java:366) @ org.jboss.osgi.framework.spi.bootstrapbundlesresolve.start(bootstrapbundlesresolve.java:127) @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) [jboss-msc-1.0.4.ga.jar:1.0.4.ga] @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) [jboss-msc-1.0.4.ga.jar:1.0.4.ga] ... 3 more 16:42:30 error [stderr] java.lang.outofmemoryerror: java heap space 16:42:30 error [stderr] @ java.util.linkedlist.listiterator(linkedlist.java:667) 16:42:30 error [stderr] @ java.util.abstractlist.listiterator(abstractlist.java:284) 16:42:30 error [stderr] @ java.util.abstractsequentiallist.iterator(abstractsequentiallist.java:222) 16:42:30 error [stderr] @ org.jboss.sun.net.httpserver.serverimpl$servertimertask.run(serverimpl.java:849) 16:42:30 error [stderr] @ java.util.timerthread.mainloop(timer.java:512) 16:42:30 error [stderr] @ java.util.timerthread.run(timer.java:462)
and little later
16:42:40 info [org.jboss.as.controller] jbas014774: service status report jbas014775: new missing/unsatisfied dependencies: service jbosgi.persistentbundles.complete (missing) dependents: [service jboss.deployment.unit."com.springsource.org.jgroups-2.2.8.jar".configure_module, service jboss.deployment.unit."com.springsource.org.aopalliance-1.0.0.jar".configure_module, service jboss.deployment.unit."com.springsource.org.objectweb.asm-1.5.3.jar".configure_module, service jboss.deployment.unit."com.springsource.org.hibernate-3.3.1.ga.jar".configure_module, jbas014799: ... , 54 more ] jbas014777: services failed start: service jbosgi.persistentbundles.resolve: org.jboss.msc.service.startexception in service jbosgi.persistentbundles.resolve: failed start service
(all libraries listed here listed deployed successfully, although haven't been able check wich "54 more" are, , if they're present)
i'm @ loss here. cause behavior? start troubleshooting?
Comments
Post a Comment