6,227 questions
-5
votes
0
answers
41
views
Regarding migration of application to liberty based [closed]
I am migrating an application to liberty based. the application is servlet based and Jsp files based. I have created dockerfiles, helm chart and liberty config files like server.xml. my application is ...
0
votes
0
answers
82
views
I am having issues stating my OSGi application with org.eclipse.equinox.simpleconfigurator
I am trying to start an OSGi app from the Windows command prompt using org.eclipse.equinox.simpleconfigurator and either I am missing something in my config.ini or it doesn't get picked-up for some ...
0
votes
1
answer
60
views
tested class didn't arrive
The following test is failing:
package io.github.magwas.inez.parse;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.Map;
import org.junit.jupiter.api.Tag;
import org....
0
votes
0
answers
48
views
Spring repository instantiation in an OSGI bundle?
I am trying to convert a spring-based code to OSGI bundle.
My activator class looks like this:
package io.github.magwas.inez.osgi;
import java.util.Dictionary;
import java.util.Hashtable;
import org....
0
votes
0
answers
84
views
JasperReports ExtensionsEnvironment initialization fails with NoClassDefFoundError in OSGi/CXF environment
I'm getting a NoClassDefFoundError for net.sf.jasperreports.extensions.ExtensionsEnvironment when compiling JasperReports templates in an OSGi environment (using Pax Web/Jetty) with Apache CXF 3.5.5. ...
0
votes
0
answers
62
views
What is the difference between these two bundle-related directories?
What is the difference between the following two areas for a bundle?
xxx/eclipse/workspace/.metadata/.plugins/<Bundle SymbolicName>
e.g. xxx/eclipse/workspace/.metadata/.plugins/org.eclipse....
1
vote
1
answer
55
views
Gradle deploy failing in Liferay due don't recognize project import
I’m extending a Liferay 7 portal by adding a new “basic” app under the standard modules/apps directory:
liferay-portal/
└── modules/
└── apps/
└── basic/
├── basic-api/
...
0
votes
0
answers
78
views
Servlet Management Pax web 8 jetty 9
I have an application that uses pax web 8 and jetty 9. (Migrating from pax web 7 to 8) I've set up my servlets with the new whiteboard properties. For example:
<service-properties>
...
0
votes
1
answer
64
views
Register resources based on url pattern with pax web 8 and jetty 9 for osgi
I've created an application with an external dependency that registers WABs. The WABs are created with a manifest.mf that contains the desired Web-ContextPath: '/custom/route' configuration. This ...
0
votes
0
answers
133
views
How do I deploy Apache Camel 4.x REST servlet on Karaf 4.4.7
I am trying to deploy an OSGi bundle that includes Camel 4.9 <rest> routes on to Apache Karaf 4.4.7. Part of the process includes registering the corresponding Camel CamelHttpTransportServlet ...
1
vote
0
answers
78
views
Eclipse is not able to launch when we migrate from RCP 4.15 to 4.26
We have migrating from eclipse RCP 4.15 to 4.26. We have created target paltform from referring to p2 repository. (https://download.eclipse.org/eclipse/updates/4.26/R-4.26-202211231800/)
Our Dev-...
0
votes
0
answers
63
views
public key not found
I'm in the process of upgrading a large project dependencies, and I've been changing everything. When trying to upgrade the Eclipse target platform dependencies, I get this error in the .target file
...
-1
votes
1
answer
43
views
Can't get a service reference from another bundle
I work from onos upgrading. one of the upgrades is that i replace org.apache.felix.scr.
org.osgi.service.component.annotations.
Here's the some bundles onos-api, onos-core-*, onos-app-tunnel-api, onos-...
1
vote
0
answers
52
views
Using Google-OR Tools with OSGi and Maven
I am trying to use Google OR tools within my OSGi application.
I add the dependencies to my pom.xml
<dependency>
<groupId>com.google.ortools</groupId>
...
0
votes
1
answer
104
views
org.osgi.service.cm.ConfigurationAdmin can't be resolved
I have a RCP application written in Java 8 which I can build and run using Eclipse Mars IDE with no issues. Now I need to integrate Tycho 0.24.0 to my project. I can successfully build the project ...
-2
votes
2
answers
85
views
OSGI Bundling issue while upgrading WSO2 APIM 3.2 to 4.3
I am doing an upgrade of my custom mediator from wso2 apim 3.2 to 4.3 and i am using OSGI bundling. Given below is the osgi bundling code and the exception i got.
<plugin>
<groupId>org....
0
votes
1
answer
49
views
How can I set the port of an OSGi JAX-RS Whiteboard Service?
I am doing this tutorial to learn OSGi. It creates a single JAX-RS Whiteboard service that serves a simple web page on port 8080. On my machine, it can't start because port 8080 is already in use. How ...
0
votes
1
answer
41
views
osgi : cannot obtain the bundle with method getService
Im using jdk22 , osgi 8.0.0 and apache felix 7.0.5
I have a jar with just one Interface called
public interface Person{
public void sayHi();
}
and I use it in two proyects, one of them where I ...
0
votes
1
answer
71
views
What causes the Framework of my Eclipse RCP application to be stopped
I use Java 21 together with the Eclipse target platform 2024-06.
My Eclipse RCP application starts fine when launched inside the Eclipse IDE.
When I start the bundled program however, I see the splash ...
0
votes
1
answer
385
views
How do I solve this issue of osgi bundle not started?
I'm running a build of an Eclipse plugin. Previously, I only had this issue on the CI servers of Github, and I did not have it locally on my desktop. But the issue started appearing also on my ...
0
votes
0
answers
226
views
Missing Constraint: Require-Capability: osgi.ee when validating plug-ins
I inherited an Eclipse RCP application (org.eclipse.e4.ui.workbench.swt.E4Application) from my colleague.
When I click on Launch an Eclipse application in the MyApp.product overview panel, I get many ...
1
vote
1
answer
667
views
How to update the resource property using the valuemap in the Sling servlet?
I’m getting all the pages,taking the jcr:content of all the pages as resource and trying to update the pageTitle property using valueMap by adapting ValueMap to resource, But I’m
getting ...
0
votes
2
answers
511
views
OSGi: missing requirement osgi.wiring.package with local bundle
My first time using maven and OSGi. I write app for Cytoscape, which uses OSGi. My app requires SMT solver. Firstly, I built regular JAR, using binding from: github.com/SRI-CSL/yices2_java_bindings. ...
0
votes
0
answers
60
views
KieServices are not injecting with guice
Previously I am using
public class MyModule extends AbstractModule {
@Override
protected void configure() {
requireBinding(KieResources.class);
requireBinding(...
0
votes
2
answers
113
views
Java on AWS/EKS fails with resolving correct version of org.osgi.framework.launch.FrameworkFactory
We're lift/shift a K8 installation into AWS/EKS and in one cluster works, other cluster it fails to resolve the correct Loaded FrameworkFactory. We have a third party .JAR and Eclipse config so all we ...