Questions tagged [gogo-shell]

a subproject of Apache Felix implementing the OSGi RFC 147, which describes a standard shell for OSGi-based environments

Apache Felix Gogo is a subproject of Apache Felix implementing the OSGi RFC 147, which describes a standard shell for OSGi-based environments. See RFC 147 Overview for more information.

The Gogo subproject consists of three bundles:

  1. runtime - implements the core command processing functionality.
  2. shell - provides a simple textual user interface to interact with the command processor.
  3. command - implements a set of basic commands.

See http://felix.apache.org/site/apache-felix-gogo.html

30 questions
0
votes
1 answer

Execute OSGI console commands programmatically

Can someone please provide a working example on how to execute OSGI console commands programmatically? I am loading OSGI through code and I want to execute OSGI console commands (I am receiving the commands through a different system). This is what…
user2287359
  • 497
  • 1
  • 5
  • 16
0
votes
1 answer

Splitting an OSGi console into input and output consoles

I am wondering if it is somehow possible to have an OSGi environment with GoGo shell running with different consoles for input and output. It is not very handy to write gogo commands into a console where your system is logging a lot of data. Is…
Markus Steppberger
  • 618
  • 1
  • 8
  • 18
0
votes
2 answers

Unable to start Gogo shell getting connect failed error

I am new to liferay and while trying to open gogo shell through cmd using this command "telnet localhost 11311" i am getting this error, ERROR: "Connecting To localhost...Could not open connection to the host, on port 11311: Connect failed" I have…
0
votes
1 answer

My service implementation is not seen by Liferay, despite high service.ranking

I wrote a module that contains this implementation of the com.liferay.portal.security.audit.AuditMessageProcessor service: @Component( configurationPid = "my.MyAuditMessageProcessorConfiguration", immediate = true, property = { …
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
0 answers

Telnet to Gogo shell works well but telnet with bash script returns connection closed by foreign host

I am trying to use bash script to do some works automatically with telnet ( actually to interact with Felix Gogo shell). Simply they are: telnet localhost 11311 command 1 command 2 ... I followed these instruction: automating telnet session using…
0
votes
0 answers

Liferay override document library web

Hi guys I developed a module to override jsp of a document library, so with blade deploy command in localhost all run perfect, document library shows my custom jsp, but when I deploy this jar module to a remote web server through gogo or web UI…
dacopan
  • 51
  • 2
  • 5
0
votes
2 answers

How to see why bundle requirements are not fulfilled in Apache Felix Log?

I'm using Felix in embedded mode, with the File Install bundle, and have a bundle that is Installed but not Resolved (thus not Starting / Active), and I'm struggling more than I thought one would have to finding the root cause in the log... How /…
vorburger
  • 3,439
  • 32
  • 38
0
votes
1 answer

Felix GoGo Shell throws MalformedURLException: unknown protocol: bundleresource in Equinox

I am writing an extension to a Java application called ZAP. The extension is a fat/uber jar that has the Equinox bundle (org.eclipse.osgi) inlined. Additional bundles are also included in this jar, within a sub-directory bundles. The OSGi framework…
coastalhacking
  • 307
  • 2
  • 13
0
votes
1 answer

gogoshell own commands piping

I'm trying to use gogo-shell to add some console commands For example I'm create commands add and show public void add(CommandSession commandSession, int i) { List il = commandSession.get("list"); if (il == null) { il =…
user2982622
  • 103
  • 1
  • 6
0
votes
1 answer

Is it possible to start pax-run without the Gogo shell?

I'm trying to deploy an application which is provisioned with pax-run. However, it seems that it insists on installing the Gogo bundles. Since when the application is executed it does not get a terminal allocated, Gogo closes and stops the…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
0
votes
1 answer

when using gogo gosh scripts, how do I get print outs from all commands

I'm trying to automate the provisioning and searching of a service to speed up testing of changes to an OSGi system. I use Maven Pax:Provision to set up the environment from the various repositories. I have some commands to load data from xml files…
user245357
  • 131
  • 1
  • 7
0
votes
0 answers

org.apache.felix.shell.Command and Servicemix

I have implemented a set of "org.apache.felix.shell.Command"s with the purpose of utilizing it in Apache Servicemix. The commands are being registered with "org.osgi.framework.BundleActivator" (Blueprint not involved as it often collides with Spring…
0
votes
2 answers

Issues with start levels for gogo console bundles

I just migrated an older OSGi project to the current equinox version (Kepler SR1). When using the gogo console I encountered a problem when starting the gogo bundles with start level 1 (that's what I usually do with all relevant framework bundles).…
MikeR
  • 51
  • 5
0
votes
0 answers

Occasional deadlock in Gemini Blueprint Extender Threads

I am occasionally running into deadlock issue when starting my osgi application. My project has following external dependencies (does NOT contain my project specific bundles): id State Bundle 0 ACTIVE …
nadirsaghar
  • 557
  • 1
  • 4
  • 20
-1
votes
1 answer

pax-provision without gogo shell

I recently started with osgi. I'm using pax tools to generate and deploy my bundles. I'm trying to create a console application, but everytime I launch pax-provision command gogo shell is fired. I also want to know what is the difference between…
user1828433
  • 252
  • 2
  • 11
1
2