Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » [M05] tomcat war deploy -> ERROR: packageImports contains duplicate items?(I deployed a WAR, and I get errors concerning packageImports?)
icon5.gif  [M05] tomcat war deploy -> ERROR: packageImports contains duplicate items? [message #676722] Mon, 06 June 2011 10:24 Go to next message
Jochen Szostek is currently offline Jochen SzostekFriend
Messages: 24
Registered: January 2011
Location: Maasmechelen
Junior Member

Hi all,

I'm trying the M5 release of virgo, but when deploying my WAR file I get an error concerning packageImports of LF4J:

[2011-06-06 11:55:21.467][2011-06-06 11:55:20.209] INFO  start-signalling-2           org.eclipse.virgo.medic.eventlog.default                         WE0000I Starting web bun
dle 'eid-read-component' version '0.0.0' with context path '/eid-read-component'.
[2011-06-06 11:55:20.797] ERROR Thread-43                    System.err                                                        Failed to instantiate S
LF4J LoggerFactory
[2011-06-06 11:55:20.797] ERROR Thread-43                    System.err                                                        Reported exception:
[2011-06-06 11:55:20.797] ERROR Thread-43                    System.err                                                        org.eclipse.virgo.kerne
l.serviceability.Assert$FatalAssertionException: input packageImports must not contain duplicate items
[2011-06-06 11:55:20.797] ERROR Thread-43                    System.err                                                         at org.eclipse.virgo.k
ernel.serviceability.Assert.isNull(Assert.java:103)
[2011-06-06 11:55:20.797] ERROR Thread-43                    System.err                                                         at org.eclipse.virgo.k
ernel.userregion.internal.importexpansion.AbstractTrackedPackageImports.convertImportedPackageListToMap(AbstractTrackedPackageImports.java:323)


But as I'm deploying a war file I'm not even managing the manifest files...they are still the empty defaults.

Or is the LF4J bundle I might be using the source of the problem perhaps?

If so, would it be possbile to solve this by removing the package from the project, and use a dependency on the Virgo bundle for LF4J instead?

Thanks a lot in advance,

Jochen

[Updated on: Mon, 06 June 2011 10:24]

Report message to a moderator

Re: [M05] tomcat war deploy -> ERROR: packageImports contains duplicate items? [message #676728 is a reply to message #676722] Mon, 06 June 2011 10:45 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
It seems like the WAR file might contain a manifest with an import for a SLF4J package, but it's hard to tell.

If you can cut down the WAR file to a bare minimum necessary to reproduce the problem, you may discover the problem in the process. But if not, you could then open a bug and attach the WAR file for us to try.
Re: [M05] tomcat war deploy -> ERROR: packageImports contains duplicate items? [message #676883 is a reply to message #676728] Mon, 06 June 2011 20:13 Go to previous messageGo to next message
Jochen Szostek is currently offline Jochen SzostekFriend
Messages: 24
Registered: January 2011
Location: Maasmechelen
Junior Member

just for the record: I started swapping out dependencies from pom.xml to manifest.mf and the issue resolved itself
Re: [M05] tomcat war deploy -> ERROR: packageImports contains duplicate items? [message #676982 is a reply to message #676883] Tue, 07 June 2011 07:32 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Glad you are sorted.
Previous Topic:Virgo on IRC
Next Topic:High Availability
Goto Forum:
  


Current Time: Fri Apr 26 13:25:25 GMT 2024

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

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

Back to the top