openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <ja...@laskowski.net.pl>
Subject Re: openejb as a osgi service?
Date Thu, 22 Oct 2009 01:08:45 GMT
On Wed, Oct 21, 2009 at 4:26 PM, Quintin Beukes <quintin@skywalk.co.za> wrote:

> Hope it helps.

Yes, it did, but I had a vague idea of what I should have been doing
and didn't pay much attention to these classes.

I've just committed a working activator to boot up openejb to
https://svn.apache.org/repos/asf/openejb/trunk/sandbox/openejb-osgi.

The necessary bundles are as follows:

-> ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.0)
[   1] [Active     ] [    1] Apache Felix Bundle Repository (1.4.1)
[   2] [Active     ] [    1] Apache Felix Shell Service (1.4.0)
[   3] [Active     ] [    1] Apache Felix Shell TUI (1.4.0)
[   7] [Active     ] [    1] Apache OpenEJB :: Container :: Java EE
(3.1.2.SNAPSHOT)
[   8] [Active     ] [    1] file:/C:/.m2/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
[   9] [Active     ] [    1] Apache XBean :: Naming (3.6.0.SNAPSHOT)
[  14] [Active     ] [    1] Apache XBean :: ASM shaded (repackaged)
(3.7.0.SNAPSHOT)
[  15] [Active     ] [    1] Apache XBean :: Reflect (3.6.0.SNAPSHOT)
[  23] [Active     ] [    1] Apache OpenEJB :: Container :: Loader
(3.1.2.SNAPSHOT)
[  25] [Active     ] [    1] OPS4J Pax Url - wrap: (0.3.2)
[  26] [Active     ] [    1] Apache Felix Configuration Admin Service (1.2.4)
[  27] [Active     ] [    1]
wrap_http___repo1.maven.org_maven2_wsdl4j_wsdl4j_1.6.2_wsdl4j-1.6.2.jar
(0)
[  30] [Active     ] [    1]
wrap_file__C__.m2_commons-cli_commons-cli_1.1_commons-cli-1.1.jar (0)
[  33] [Active     ] [    1]
wrap_file__C__.m2_log4j_log4j_1.2.12_log4j-1.2.12.jar (0)
[  34] [Active     ] [    1] openejb-api (3.1.2.SNAPSHOT)
[  35] [Active     ] [    1] Apache OpenEJB :: Container :: Java Agent
(3.1.2.SNAPSHOT)
[  36] [Active     ] [    1] Apache XBean :: Finder shaded
(repackaged) (3.7.0.SNAPSHOT)
[  37] [Active     ] [    1] Apache OpenEJB :: Container :: Core
(3.1.2.SNAPSHOT)
[  57] [Active     ] [    1] Ejb_stateless (1.0.0)
[  58] [Active     ] [    1] Ejb_deployer (1.0.0)
[  62] [Active     ] [    1] Apache OpenEJB :: Container :: Core ::
OSGi (3.1.2.SNAPSHOT)
[  64] [Active     ] [    1] Apache ServiceMix Features :: Transaction
(4.0.0.m1)
[  65] [Active     ] [    1] Jencks (2.2)
[  66] [Active     ] [    1] geronimo-jms_1.1_spec (1.1.1)
[  67] [Active     ] [    1] geronimo-j2ee-connector_1.5_spec (2.0.0)
[  68] [Active     ] [    1] geronimo-servlet_2.5_spec (1.2)
[  69] [Active     ] [    1]
wrap_http___repo2.maven.org_maven2_commons-logging_commons-logging_1.1.1_commons-logging-1.1.1.jar
(0)
[  71] [Active     ] [    1] OPS4J Pax Logging - API (1.4)
[  73] [Active     ] [    1] Geronimo TxManager :: Connector (2.1.3)
[  74] [Active     ] [    1] Geronimo TxManager :: Transaction (2.1.3)
[  75] [Active     ] [    1] Spring AOP (2.5.6.SEC01)
[  76] [Active     ] [    1] Spring Beans (2.5.6.SEC01)
[  77] [Active     ] [    1] Spring Context (2.5.6.SEC01)
[  78] [Active     ] [    1] Spring Transaction (2.5.6.SEC01)
[  79] [Active     ] [    1] geronimo-annotation_1.0_spec (1.1.1)
[  80] [Active     ] [    1] geronimo-ejb_3.0_spec (1.0.1)
[  81] [Active     ] [    1] geronimo-interceptor_3.0_spec (1.0.1)
[  82] [Active     ] [    1] geronimo-javamail_1.4_spec (1.6)
[  83] [Active     ] [    1] geronimo-j2ee-management_1.1_spec (1.0.1)
[  84] [Active     ] [    1] geronimo-jpa_3.0_spec (1.1.1)
[  85] [Active     ] [    1] J2EE JACC 1.1 (1.0.2)
[  86] [Active     ] [    1] geronimo-jta_1.1_spec (1.1.1)
[  87] [Active     ] [    1] OPS4J Pax Logging - Service (1.4)
[  90] [Active     ] [    1] Apache Commons Pool (1.4.0)
[  95] [Active     ] [    1] Commons DBCP (1.3.0.r699049)
[  99] [Active     ] [    1]
wrap_http___repo2.maven.org_maven2_org_apache_activemq_activemq-ra_4.1.1_activemq-ra-4.1.1.jar
(0)
[ 100] [Active     ] [    1]
wrap_http___repo2.maven.org_maven2_org_apache_activemq_activemq-core_4.1.1_activemq-core-4.1.1.jar
(0)
[ 101] [Active     ] [    1]
wrap_http___repo1.maven.org_maven2_backport-util-concurrent_backport-util-concurrent_3.1_backport-util-concurrent-3.1.jar
(0)

I'll need to give it a try again and filter out what's unnecessary
(perhaps 1-2 bundles only).

The output upon openejb startup is as follows:

Activator started
DEBUG: org/apache/openejb/util/resources/Messages_pl.properties
DEBUG: org/apache/openejb/util/resources/Messages_pl_PL.properties
Apache OpenEJB ${pom.version}    build:
@DATE-REPLACED-BY-MAVEN@-@TIME-REPLACED-BY-MAVEN@
http://openejb.apache.org/
DEBUG: org/apache/openejb/util/Messages.properties
DEBUG: org/apache/openejb/util/Messages_pl.properties
DEBUG: org/apache/openejb/util/Messages_pl_PL.properties
DEBUG: org/apache/openejb/Messages.properties
DEBUG: org/apache/openejb/Messages_pl.properties
DEBUG: org/apache/openejb/Messages_pl_PL.properties
DEBUG: org/apache/openejb/assembler/classic/Messages_pl.properties
DEBUG: org/apache/openejb/assembler/classic/Messages_pl_PL.properties
DEBUG: org/apache/openejb/config/Messages_pl.properties
DEBUG: org/apache/openejb/config/Messages_pl_PL.properties
DEBUG: META-INF/services/javax.xml.parsers.SAXParserFactory
DEBUG: org/apache/openejb/config/sys/jaxb.properties
DEBUG: META-INF/services/javax.xml.bind.JAXBContext
DEBUG: META-INF/services/javax.xml.datatype.DatatypeFactory
DEBUG: META-INF/services/javax.xml.datatype.DatatypeFactory
DEBUG: META-INF/services/javax.xml.datatype.DatatypeFactory
DEBUG: META-INF/services/javax.xml.parsers.SAXParserFactory
DEBUG: META-INF/services/org/apache/activemq/broker/broker
[org.apache.activemq.broker.BrokerService] : ActiveMQ 4.1.1 JMS
Message Broker (localhost) is starting
[org.apache.activemq.broker.BrokerService] : For help or more
information please see: http://incubator.apache.org/activemq/
DEBUG: META-INF/services/org/apache/activemq/transport/tcp
DEBUG: META-INF/services/org/apache/activemq/wireformat/default
[org.apache.activemq.transport.TransportServerThreadSupport] :
Listening for connections at: tcp://work:61616
[org.apache.activemq.broker.TransportConnector] : Connector
tcp://work:61616 Started
[org.apache.activemq.broker.BrokerService] : ActiveMQ JMS Message
Broker (localhost, ID:work-3337-1256173063703-0:0) started
...A bundle has been started: org.apache.openejb.core-osgi

I'm going to work on a osgi'fied client JNDI lookup now that will
require a openejb service. Then deployment and it should be ready for
polishing.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Mime
View raw message