Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error(Deploy multiples bundles in on plan generates resolution error)
Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1746738] Thu, 03 November 2016 22:03 Go to next message
Junior Sousa is currently offline Junior SousaFriend
Messages: 15
Registered: September 2016
Junior Member
Guys,

I have a plan with some bundles that fail during deploy.
I'm using virgo 3.7.0.M01 because my app uses Spring 3.1.0. During the tests I realized that virgo hangs to resolve dependencies during deploy and after that genereates a dump file and process is stopped. Due to this, I removed some bundles from plan and tried deploy again. After some tries, I realized that when I add a new bundle the virgo generates a error dump, but after restart the server the error no happens.

The error happens after this process:

o.e.virgo.kernel.userregion.internal.quasi.DependencyCalculator   Calculating missing dependencies of bundle

org.eclipse.virgo.medic.eventlog.default                         ME0003I Dump 'serviceability/dump/2016-11-03-20-16-436' generated


At summary.txt I can see:

Cause: resolutionFailure
Exception: None


How can I explore more the dump?

This is the header of my plan:

<?xml version="1.0" encoding="UTF-8"?>
<plan name="multiple.plan" version="2.0.0" scoped="false" atomic="false"
    xmlns="http://www.eclipse.org/virgo/schema/plan"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
	
</plan>

[Updated on: Thu, 03 November 2016 22:17]

Report message to a moderator

Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1746799 is a reply to message #1746738] Fri, 04 November 2016 17:03 Go to previous messageGo to next message
Junior Sousa is currently offline Junior SousaFriend
Messages: 15
Registered: September 2016
Junior Member
I have no figure out the issue, but today I let the virgo running after generating of dump and after 20 minutos virgo throws the conflict error, but I didn't understand why this is happening and I why we have the same libraries of spring in plugins folder and repository/ext folder.

What is the difference between this two folders?

org.springframework.aop_3.1.0.RELEASE.jar
org.springframework.asm_3.1.0.RELEASE.jar
org.springframework.beans_3.1.0.RELEASE.jar
org.springframework.context_3.1.0.RELEASE.jar
org.springframework.core_3.1.0.RELEASE.jar
org.springframework.expression_3.1.0.RELEASE.jar


Uses violation: <Import-Package: org.springframework.beans; version="[3.0.0,3.2.0)"> in bundle 
            Found conflicts:
                package        'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[58]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[117]' used by 'org.springframework.jdbc.core_3.1.0.RELEASE' in bundle 'org.springframework.jdbc_3.1.0.RELEASE[122]'
                package        'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[58]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[117]' used by 'org.springframework.core.type.classreading_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[120]'
                package        'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[58]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[117]' used by 'org.springframework.jdbc.core_3.1.0.RELEASE' in bundle 'org.springframework.jdbc_3.1.0.RELEASE[122]'
                package        'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[58]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.asm_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[117]' used by 'org.springframework.core.type.classreading_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[120]'
                package        'org.springframework.asm.commons_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[58]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.asm.commons_3.1.0.RELEASE' in bundle 'org.springframework.asm_3.1.0.RELEASE[117]' used by 'org.springframework.jdbc.core_3.1.0.RELEASE' in bundle 'org.springframework.jdbc_3.1.0.RELEASE[122]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[120]' used by 'org.springframework.jdbc.core_3.1.0.RELEASE' in bundle 'org.springframework.jdbc_3.1.0.RELEASE[122]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[120]' used by 'org.springframework.jdbc.core_3.1.0.RELEASE' in bundle 'org.springframework.jdbc_3.1.0.RELEASE[122]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[120]' used by 'org.springframework.jdbc.core_3.1.0.RELEASE' in bundle 'org.springframework.jdbc_3.1.0.RELEASE[122]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[120]' used by 'org.springframework.jdbc.core_3.1.0.RELEASE' in bundle 'org.springframework.jdbc_3.1.0.RELEASE[122]'
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1748677 is a reply to message #1746799] Sat, 26 November 2016 15:48 Go to previous messageGo to next message
daniel marthaler is currently offline daniel marthalerFriend
Messages: 77
Registered: April 2012
Location: Zürich
Member
You should really read the documentation carefully to understand how Virgo works and is built:, especially the Virgo Concepts section will be helpful to answer your question: https://www.eclipse.org/virgo/documentation/virgo-documentation-3.6.4.RELEASE/docs/virgo-user-guide/htmlsingle/virgo-user-guide.html#concepts.virgo
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1767524 is a reply to message #1748677] Thu, 06 July 2017 19:27 Go to previous messageGo to next message
Raghuram Devarakonda is currently offline Raghuram DevarakondaFriend
Messages: 19
Registered: November 2012
Junior Member
Hi,

I am seeing exact same symptom with 3.7.1. In my case, Virgo generates a dump and waits more than 10 minutes before printing the errors (unresolved dependencies). During this period, the Virgo process takes up 100% of the CPU. It would be nice if there is a way to get Virgo to spit out the errors immediately.

Thanks,
Raghu
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1767575 is a reply to message #1767524] Fri, 07 July 2017 08:37 Go to previous messageGo to next message
daniel marthaler is currently offline daniel marthalerFriend
Messages: 77
Registered: April 2012
Location: Zürich
Member
Hi Raghu

If you think you find a Bug in Virgo or you would like to request an Enhancement please file a Bug and we will have a look as soon as possible.

Thanks,
Dani
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1767603 is a reply to message #1767575] Fri, 07 July 2017 13:14 Go to previous messageGo to next message
Raghuram Devarakonda is currently offline Raghuram DevarakondaFriend
Messages: 19
Registered: November 2012
Junior Member
Sure. Let me see if I can find a minimal test case.
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1767606 is a reply to message #1767603] Fri, 07 July 2017 14:16 Go to previous messageGo to next message
Raghuram Devarakonda is currently offline Raghuram DevarakondaFriend
Messages: 19
Registered: November 2012
Junior Member
Actually, the problem of taking long time before resolution errors are reported doesn't seem to happen with JDK 8. My earlier testing was with JDK 7. With JDK 8, Virgo's CPU usage does spike up to 100% but only for a few seconds. So I guess we are ok here.
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1768005 is a reply to message #1767606] Wed, 12 July 2017 18:58 Go to previous messageGo to next message
daniel marthaler is currently offline daniel marthalerFriend
Messages: 77
Registered: April 2012
Location: Zürich
Member
Is the resolution error message the same for JDK 7 and JDK 8?
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1768006 is a reply to message #1768005] Wed, 12 July 2017 19:03 Go to previous messageGo to next message
Raghuram Devarakonda is currently offline Raghuram DevarakondaFriend
Messages: 19
Registered: November 2012
Junior Member
Yes, it is.
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1768008 is a reply to message #1768006] Wed, 12 July 2017 19:11 Go to previous messageGo to next message
daniel marthaler is currently offline daniel marthalerFriend
Messages: 77
Registered: April 2012
Location: Zürich
Member
Can you please upload the log file so I can have a look?
Re: Virgo 3.7.0.M01 - multiple bundles into same plan generates a dump error [message #1768081 is a reply to message #1768008] Thu, 13 July 2017 13:18 Go to previous message
Raghuram Devarakonda is currently offline Raghuram DevarakondaFriend
Messages: 19
Registered: November 2012
Junior Member
I don't have the log file any more as the I fixed the resolution errors and moved on. If I see it again, I will save the log. Sorry.
Previous Topic:Plan for Virgo 3.7.2?
Next Topic:Can't make per application log file work
Goto Forum:
  


Current Time: Sun Sep 23 10:45:07 GMT 2018

Powered by FUDForum. Page generated in 0.03216 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top