-
1. Re: JBoss OSGi 1.1.0 Released
sracem May 4, 2012 5:07 AM (in response to thomas.diesler)Hi Thomas,
i'm beginner and i wish to integrate jboss-osgi into jbossAS 5. can you please tell me how can i do this.
-
2. Re: JBoss OSGi 1.1.0 Released
thomas.diesler May 4, 2012 7:34 AM (in response to sracem)That won't be possible becasue AS5 builds on a complete different architecture than AS7, which jbosgi is targeted for.
-
3. Re: JBoss OSGi 1.1.0 Released
ceefour Jun 3, 2012 3:17 AM (in response to thomas.diesler)Congratulations Thomas!! :-)
-
4. Re: JBoss OSGi 1.1.0 Released
jigneshmpatel Jun 14, 2012 5:24 PM (in response to thomas.diesler)Thomas,
I have downloaded JBossOSGi-1.1.0. jar and hoping to see following projects when I did maven build. But I didn't found anything like that.
- example-javaee-api
- example-javaee-service
Is this documentation referred to some other project stuff.
We have been trying to deploy blueprint container framework through OSGI bundle and typical j2ee application on JBoss 7.1.1. But we have a hard time to find anything relevant. All we are getting is using arquillian test application.
Can somebody pin point any step by step guide or existing project which we can use to deploy.
-Jignesh
-
5. Re: JBoss OSGi 1.1.0 Released
thomas.diesler Jun 18, 2012 6:28 AM (in response to jigneshmpatel)Arquillian test deployments are generated in memory - there is no file written to disk on the client side. When deployed into AS7 it shows up in the deployment content folder like any other deployment. At the time of the jbosgi-1.1.0 release we did not have a released version of jboss-as-7.1.1.Final. Since then this has changed and we just brought out a jbosgi maintenance release that can target 7.1.1
You can run the AS7 integration samples like this
mvn -Dtarget.container=jboss711 clean install
I also added a Compatibility Matrix to the docs.
-
6. Re: JBoss OSGi 1.1.0 Released
jigneshmpatel Jun 18, 2012 11:06 AM (in response to thomas.diesler)Thomas,
One of the doc says OSGI runtime is available with the jar. I presumed this jar only provides samples not the runtime API. If this is providing runtime then how to integrate this with jboss runtime without maven?
JBoss OSGi is distributed as an IzPack installer archive. The installer is available from the JBoss OSGi download area.
Running the Installer
To run the Project Distribution installer execute the following command:
java -jar jboss-osgi-installer-1.1.0.jar
The installer first shows a welcome screen
Then you select the installation path for the JBoss OSGi distribution. This is the directory where you find the binary build artifacts, the java sources, documentation and the JBoss OSGi Runtime.
The content of the JBoss OSGi distribution contains a set of documents and example test cases that can be executed against the embedded framework or against an AS7 instance.
And after running maven, I still couldn't able to find jars related to following projects.- example-javaee-api
- example-javaee-service
- example-javaee-ejb3
-
7. Re: JBoss OSGi 1.1.0 Released
jigneshmpatel Jun 18, 2012 1:29 PM (in response to jigneshmpatel)Pasting the statck trace. I am getting nullpointer exception while trying either of the following commands.
mvn -Dtarget.container=jboss711 clean test
mvn -Dtarget.container=jboss711 -Dtest=JavaEEIntegrationTestCase install
Has anybody have any success to deploy ejb and OSGI integration. Is there a place where I can get working jars?
-
8. Re: JBoss OSGi 1.1.0 Released
thomas.diesler Jun 20, 2012 12:24 AM (in response to jigneshmpatel)> and the JBoss OSGi Runtime.
We used to have a standalone OSGi Runtime before AS7 had its first release. The runtime is now beeing replaced by AS7. In fact, you can configure AS7 such that it is a pure OSGi runtime. Have a look at standalone-osgi-only.xml in the AS7 docs/examples/configs folder
> I still couldn't able to find jars related to following projects
As I said, these deployments are generated in memory - there are no such "files". When you run the tests against AS7 they will show up as server content.
-
9. Re: JBoss OSGi 1.1.0 Released
thomas.diesler Jun 20, 2012 12:29 AM (in response to jigneshmpatel)Your paste (http://pastebin.com/jzVUQMxk) shows a successful run
Running org.jboss.test.osgi.example.jbossas.JavaEEIntegrationTestCase ... Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 ... [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.638s
The NPE in PersistenceProviderProcessor has been fixed upstream and is unrelated to the tested functionality.