I'm looking for a way to do it now. On the Oracle's road map they will be bring GlassFish and Weblogic closer together (OSGI will be there in 2012-ish). But what about now?
Asking this, cause WebLogic is default standard for the company, not because I'm a fan of it.
...
In my Eclipse runtime, I have the following three plug-ins (file names simplified for better readability):
javax.wsdl.1.4.0.jar
javax.wsdl.1.5.1.jar
eclipse.wsdl.jar, which has a version restriction on the dependency: [1.4.0, 1.5.0)
The dependencies of my own plugin look like this:
eclipse.wsdl
javax.wsdl : "1.4.0"
When my own plugi...
We have created a web service using JAX-WS and ProSyst OSGi.
Accessing the service with the following code works fine in a standalone Java application
as well as in the ProSyst framework.
this.service = new MyServicePortService(
new URL("http://" + host + ":" + port + "/MyService?wsdl"),
new QName("http://myser...
I have several OSGi bundles, each of which can be updated from an OSGi Bundle Repository.
When I start my OSGi framework (Apache Felix), I want the first bundle to start and check for updates for all installed bundles. If updates are available, it should update each of them (including itself) then continue starting (or possibly shutdown,...
Is it possible to introduce osgi-equinox into existing java Apache Tomcat project?
From my understanding OSGI must run inside some kind of "container". How would I integrate it?
I am also using Jersey for RESTful resources.
...
In a normal java application its possible to print the content of the classpath with:
String ss = System.getProperty("java.class.path");
System.out.println(ss);
But how do I print the classpath of an OSGI bundle created using the eclipse PDE wizard? In the activator its possible to get the current bundle like:
public void start(Bundl...
Hi,
I have a problem accessing JNDI resources from within an OSGI bundle, hosted in
WebSphere Application Server (WAS) using a servlet bridge.
It is failing on creating the JNDI initial context. My code is:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.ibm.websphere.naming.WsnInitialContextFactory...
Hi, does anyone know how to set the max heap size when starting equinox? I start the container from the command line as follows:
java -jar org.eclipse.osgi_3.5.2.jar -console -Xmx1024M -Xms512M -XX:[MaxPermSize]=256M
However, this has no effect on the max heap size and I end up with an OutOfMemoryException. I am trying to deploy a ...
Hi all,
Im trying to put a GWT Eclipse project to a Bundle-Jar file.
For that I have to add the war folder to the bundle. The problem is that the GWT compiler add all *.class files in the folder war/WEB-INF/classes. BND try to add all *.class files in the jar file but they are on the wrong path in the project. Thats the problem! Thus I ...
We are moving our application to the OSGI platform (All developers are using Eclipse) and are trying to figure out the best team environment for developing our bundles.
We have bundles from multiple sources:
Common bundles from projects such as Orbit or Apache that are managed by outside agencies.
Bundles that wrap domain specific jar...
We started using Apache Felix Karaf for a project, and make use of Blueprint Services.
Now, I would like to use Spring Dynamic Modules in order to have access to advanced DI functionality and testing features. The problem is that I haven't been able to figure out how to get Spring DM 2.x running on Felix.
The spring and spring-dm featu...
OSGi seems to have an excellent benefit of having small deployable artifacts by not wrapping dozens of JAR dependencies into a lib directory. However, I can't find anything that tells me an easy, reliable way to deploy dependencies to a container. For instance, I have an application that uses CXF and several Spring subprojects. If I need...
Hi there,
I'm looking for a solution to create an interface in runtime. I don't really know if this is possible in anyway.
Problem:
I've got a OSGi service which publishes a Map<String,String> where the key defines an action for this service. I want to publish this service directly as Hessianservice with spring but for this, I need to...
Dear All:
It seem that there is already a fairly automated method to link, at least on the server, dependencies with their available bundles in a Maven repository, e.g.,
http://www.springsource.com/repository/app/bundle/version/dependencies?name=org.springframework.osgi.extensions.annotations&version=1.2.1
It seems like this would...
Trying to deploy Spring's mvc-basic in Equinox container.
Brief error (full below):
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context]
Offending resource: ServletContext resou...
Perhaps I am missing something simple.
I am looking here:
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
and here:
http://wiki.ops4j.org/display/ops4j/Getting+the+benefits+of+maven-bundle-plugin+in+other+project+types
I would like to a export a package in a transitively-included JAR. However, no matter what I d...
Hi, I have deployed a standard war file as an osgi bundle into equinox using bnd to create a war bundle. Whilst it deploys ok and I can run the app, I cannot see any images or css files. I have deployed catalina-start as an osgi bundle and am using spring-web-extender as the bridge. The image/css files are located at the root of the ...
Hi
I want to design and develop a big enterprise application using just
GWT in client side.
I want to break this enterprise application into parts and I call each
of them a module (or bundle or portlet or whatever!).
These modules might have relation with each other and might call some services that
exists in other modules (in both c...
Which maven plugin is used for building an osgi bundle containing camel-routes and some POJO's for deploying inside fuse-servicemix 4.3.0 . i have used pax as well as maven-bundle plugin for deploying into fuse servicemix .i get a lotof error's using these .any other good maven-plugin ?
...
Hi,
We are running OSGI bundles with pax-runner. We are logging using logback over slf4j.
The problem is logback tries to look for logback.xml in classpath, but in pax-runner where should I place logback.xml so that pax-runner configure logback accordingly?
I have tried with JoranConfigurator to load logback.xml which is included in b...