spring-dm not picking up thirdparty bundles
All
I downloaded the esper bundle from thew spring source website repo
and put it into bundles/usr
Code:
drwxr-xr-x@ 6 test test 204 12 Apr 20:02 ..
-rw-r--r--@ 1 test test 2144604 4 Feb 13:11 com.springsource.com.espertech.esper-2.2.0.jar
-rw-r--r--@ 1 test test 328797 4 Feb 13:10 com.springsource.net.sf.cglib-2.1.3.jar
-rw-r--r--@ 1 test test 562817 4 Feb 13:11 com.springsource.org.antlr-3.0.1.jar
-rw-r--r--@ 1 test test 61464 4 Feb 13:04 com.springsource.org.apache.commons.logging-1.1.1.jar
test-macbook:usr test $
When i startup the engine and look at the status panel
Code:
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.4.2.R34x_v20080826-1230
1 ACTIVE com.springsource.server.serviceability.tracing.aspects_1.0.2.RELEASE
2 ACTIVE com.springsource.org.aspectj.runtime_1.6.2.RELEASE
3 ACTIVE org.eclipse.equinox.cm_1.0.0.v20080509-1800
4 ACTIVE org.eclipse.osgi.services_3.1.200.v20071203
5 ACTIVE com.springsource.javax.servlet_2.5.0
6 ACTIVE org.springframework.osgi.extender_1.1.3.RELEASE
Fragments=7
7 RESOLVED com.springsource.server.kernel.dm_1.0.2.RELEASE
Master=6
8 ACTIVE org.springframework.beans_2.5.6.A
9 ACTIVE com.springsource.javax.el_1.0.0
10 ACTIVE com.springsource.net.sf.cglib_2.1.3
11 ACTIVE org.springframework.core_2.5.6.A
12 ACTIVE com.springsource.edu.emory.mathcs.backport_3.0.0
13 ACTIVE com.springsource.slf4j.org.apache.log4j_1.5.6
14 ACTIVE com.springsource.org.aspectj.weaver_1.6.2.RELEASE
15 ACTIVE org.springframework.context_2.5.6.A
16 ACTIVE com.springsource.javax.ejb_3.0.0
17 ACTIVE com.springsource.javax.xml.rpc_1.1.0
18 ACTIVE com.springsource.javax.jms_1.1.0
19 ACTIVE com.springsource.javax.persistence_1.0.0
20 ACTIVE com.springsource.org.aopalliance_1.0.0
21 ACTIVE org.springframework.aop_2.5.6.A
22 ACTIVE org.springframework.orm_2.5.6.A
23 ACTIVE org.springframework.transaction_2.5.6.A
24 ACTIVE org.springframework.jdbc_2.5.6.A
25 ACTIVE org.springframework.web_2.5.6.A
26 ACTIVE com.springsource.javax.servlet.jsp_2.1.0
27 ACTIVE com.springsource.org.apache.taglibs.standard_1.1.2
28 ACTIVE com.springsource.javax.servlet.jsp.jstl_1.1.2
29 ACTIVE org.springframework.osgi.core_1.1.3.RELEASE
30 ACTIVE org.springframework.osgi.io_1.1.3.RELEASE
31 ACTIVE com.springsource.server.serviceability.ffdc_1.0.2.RELEASE
32 RESOLVED com.springsource.server.serviceability.ffdc.aspects_1.0.2.RELEASE
33 ACTIVE com.springsource.server.common.math_1.0.2.RELEASE
34 ACTIVE com.springsource.server.kernel.core_1.0.2.RELEASE
35 ACTIVE com.springsource.server.management.proxy_1.0.2.RELEASE
36 ACTIVE com.springsource.server.ffdc.core_1.0.2.RELEASE
37 ACTIVE com.springsource.json_1.0.1.RELEASE
38 ACTIVE com.springsource.org.antlr_3.0.1
39 ACTIVE com.springsource.server.config.core_1.0.2.RELEASE
40 ACTIVE com.springsource.server.concurrent.core_1.0.2.RELEASE
41 ACTIVE com.springsource.com.google.common.collect_0.5.0.alpha
42 RESOLVED com.springsource.server.common.env_1.0.2.RELEASE
43 ACTIVE com.springsource.server.io.core_1.0.2.RELEASE
44 ACTIVE com.springsource.server.control.core_1.0.2.RELEASE
45 ACTIVE com.springsource.org.apache.catalina_6.0.18
Fragments=46, 47
46 RESOLVED com.springsource.org.apache.coyote_6.0.18
Master=45
47 RESOLVED com.springsource.org.apache.jasper_6.0.18
Master=45
48 ACTIVE com.springsource.javax.annotation_1.0.0
49 ACTIVE com.springsource.javax.mail_1.4.0
50 ACTIVE com.springsource.org.apache.juli.extras_6.0.18
51 ACTIVE com.springsource.org.apache.el_6.0.18
52 ACTIVE com.springsource.org.apache.jasper.org.eclipse.jdt_6.0.18
53 ACTIVE com.springsource.server.deployer.core_1.0.2.RELEASE
54 ACTIVE com.springsource.server.profile.core_1.0.2.RELEASE
55 ACTIVE com.springsource.server.deployer.hot_1.0.2.RELEASE
56 ACTIVE com.springsource.server.system.core_1.0.2.RELEASE
57 ACTIVE com.springsource.server.servlet.core_1.0.2.RELEASE
58 ACTIVE com.springsource.server.servlet.tomcat_1.0.2.RELEASE
59 ACTIVE com.springsource.org.apache.catalina.ha_6.0.18
60 ACTIVE com.springsource.org.apache.catalina.tribes_6.0.18
61 ACTIVE com.springsource.server.web.core_1.0.2.RELEASE
62 ACTIVE com.springsource.server.web.dm_1.0.2.RELEASE
63 ACTIVE org.springframework.web.servlet_2.5.6.A
64 ACTIVE com.springsource.org.apache.commons.fileupload_1.2.0
65 ACTIVE com.springsource.org.apache.commons.io_1.4.0
66 ACTIVE org.springframework.context.support_2.5.6.A
67 ACTIVE com.springsource.server.servlet.admin_1.0.2.RELEASE
68 ACTIVE com.springsource.server.servlet.splash_1.0.2.RELEASE
osgi> Connection closed by foreign host.
BUt when i startup my application I get
Code:
Caused by: java.lang.NoClassDefFoundError: com/espertech/esper/client/EPServiceProviderManager
So it does not look like it loaded the libraries, but from what I can see on the console it has loaded CGLIB and ANTLR but not the esper bundle, why is this ?