Home » Eclipse Projects » Virgo » problems upgrading from 2.1.1 to 3.0.1
|
Re: problems upgrading from 2.1.1 to 3.0.1 [message #735489 is a reply to message #735446] |
Wed, 12 October 2011 02:10 |
Dmitry Sklyut Messages: 279 Registered: January 2010 |
Senior Member |
|
|
Take a look whats inside the WEB-INF/lib in that war. There is basically full spring library, bunch of apache commons, even org.osgi.core-4.1.0.jar...
You are bound to run into classloader issues. Basically some classes are loaded by different classloaders and that is why you are getting CCE.
03/28/2011 07:33 PM <DIR> .
03/28/2011 07:33 PM <DIR> ..
10/13/2009 10:59 AM 102,631 activeio-core-3.1.2.jar
03/28/2011 07:20 PM 45,263 activemq-camel-5.5.0.jar
03/28/2011 07:20 PM 120,335 activemq-console-5.5.0.jar
03/28/2011 07:10 PM 3,548,183 activemq-core-5.5.0.jar
03/28/2011 07:19 PM 37,496 activemq-pool-5.5.0.jar
08/09/2010 11:14 AM 147,874 activemq-protobuf-1.1.jar
03/28/2011 07:27 PM 108,289 activemq-web-5.5.0.jar
03/28/2011 07:32 PM 177,383 activemq-xmpp-5.5.0.jar
10/12/2009 05:20 PM 4,467 aopalliance-1.0.jar
03/28/2011 12:00 PM 1,712,135 camel-core-2.7.0.jar
03/28/2011 12:00 PM 113,917 camel-jms-2.7.0.jar
03/28/2011 12:01 PM 207,511 camel-spring-2.7.0.jar
10/12/2009 05:20 PM 575,389 commons-collections-3.2.1.jar
03/10/2011 12:04 PM 16,663 commons-daemon-1.0.3.jar
10/13/2009 11:25 AM 261,809 commons-lang-2.4.jar
10/12/2009 05:16 PM 52,915 commons-logging-1.1.jar
09/02/2009 05:50 PM 16,017 commons-management-1.0.jar
10/13/2009 10:59 AM 197,067 commons-net-2.0.jar
02/03/2010 09:29 PM 96,221 commons-pool-1.5.4.jar
06/16/2009 05:33 PM 2,141,382 derby-10.1.3.1.jar
11/03/2009 02:50 PM 69,223 gentlyweb-utils-1.5.jar
06/16/2009 05:33 PM 34,126 geronimo-activation_1.1_spec-1.0.2.jar
07/28/2009 05:44 PM 20,220 geronimo-j2ee-management_1.1_spec-1.0.1.j
ar
06/16/2009 05:31 PM 33,685 geronimo-jacc_1.1_spec-1.0.1.jar
06/16/2009 05:31 PM 32,359 geronimo-jms_1.1_spec-1.1.1.jar
06/16/2009 05:31 PM 14,637 geronimo-jta_1.0.1B_spec-1.0.1.jar
03/23/2011 11:59 AM 172,735 jasypt-1.7.jar
10/12/2009 05:22 PM 89,967 jaxb-api-2.1.jar
03/03/2010 03:04 PM 849,481 jaxb-impl-2.1.6.jar
10/12/2009 05:22 PM 153,253 jdom-1.0.jar
11/03/2009 02:50 PM 197,854 josql-1.5.jar
10/12/2009 05:24 PM 20,801 jstl-1.0.jar
03/28/2011 07:08 PM 154,606 kahadb-5.5.0.jar
10/12/2009 05:16 PM 367,444 log4j-1.2.14.jar
10/05/2009 04:18 PM 163,464 org.osgi.core-4.1.0.jar
06/16/2009 06:45 PM 65,261 oro-2.0.8.jar
06/16/2009 05:32 PM 197,290 rome-0.8.jar
10/12/2009 05:24 PM 133,588 sitemesh-2.2.1.jar
02/11/2011 12:04 PM 23,671 slf4j-api-1.5.11.jar
02/11/2011 12:04 PM 9,693 slf4j-log4j12-1.5.11.jar
07/05/2010 04:53 PM 320,926 spring-aop-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 53,082 spring-asm-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 553,901 spring-beans-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 662,191 spring-context-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 100,368 spring-context-support-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 365,217 spring-core-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 160,146 spring-expression-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 184,665 spring-jms-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 231,345 spring-tx-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 389,117 spring-web-3.0.3.RELEASE.jar
07/05/2010 04:53 PM 404,158 spring-webmvc-3.0.3.RELEASE.jar
06/16/2009 05:33 PM 393,259 standard-1.1.2.jar
10/12/2009 05:22 PM 23,346 stax-api-1.0-2.jar
06/16/2009 06:48 PM 26,514 stax-api-1.0.1.jar
07/09/2009 12:31 PM 179,977 stax2-api-3.0.1.jar
10/16/2009 11:36 AM 420,975 velocity-1.6.2.jar
02/24/2010 12:25 PM 482,350 woodstox-core-asl-4.0.7.jar
06/11/2010 01:50 PM 130,942 xbean-spring-3.7.jar
10/19/2010 04:24 PM 120,069 xpp3-1.1.4c.jar
06/16/2009 05:32 PM 24,956 xpp3_min-1.1.4c.jar
10/12/2009 05:20 PM 431,406 xstream-1.3.1.jar
61 File(s) 18,145,215 bytes
2 Dir(s) 14,822,330,368 bytes free
|
|
|
Re: problems upgrading from 2.1.1 to 3.0.1 [message #735792 is a reply to message #735489] |
Wed, 12 October 2011 17:59 |
Violeta Georgieva Messages: 278 Registered: October 2010 |
Senior Member |
|
|
Hi,
I tried activemq-web-console-5.5.0.war on Virgo 3.0.1
I put it into the pickup folder and then started Virgo.
I received in the console:
Caused by: org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'org.apache.ac
tivemq.activemq-web-console' at version '5.5.0': Cannot resolve: org.apache.activemq.activemq-web-console
Resolver report:
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.apache.activemq.activemq-web-console_5.5.0>
constraint: <Import-Package: javax.servlet; version="[2.5.0,3.0.0)">
So I modified a bit the Manifest.mf file in the activemq-web-console-5.5.0.war:
Import-Package: javax.management,javax.management.openmbean,javax.mana
gement.remote,javax.naming,javax.net,javax.servlet;version="[2.5,4)",
javax.servlet.http;version="[2.5,4)",javax.servlet.jsp;version="[2.1,
3)",javax.servlet.jsp.el;version="[2.1,3)",javax.servlet.jsp.tagext;v
ersion="[2.1,3)",javax.xml.parsers,javax.xml.transform,org.slf4j;reso
lution:=optional;version="[1.5,2)",org.w3c.dom,org.xml.sax,org.xml.sa
x.helpers
I put the changed Manifest.mf file to the activemq-web-console-5.5.0.war and deployed it again. This time everything was successful.
This change is needed because Virgo 3.0.1 is compatible with the latest Java Servlet specification and the corresponding bundle that provides javax.servlet.* API is with version 3.0
Regards
Violeta
|
|
| |
Goto Forum:
Current Time: Fri Apr 19 04:37:01 GMT 2024
Powered by FUDForum. Page generated in 0.02983 seconds
|