I'm trying to deploy an EBA. Having some resolution problem.
How do I start the Equinox console and check how the bundles are resolving? I see a command for wsadmin - but it does not look like a typical Equinox Osgi console!
Any idea how do I start the Equinox OSGI console for the WAS 7.0 Runtime?
This topic has been locked.
1 reply Latest Post - 2011-08-17T08:21:30Z by Graham_Charters
Pinned topic Equinox or Equivalent OSGI Console for WAS 7.0 Runtime
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-08-17T08:21:30Z at 2011-08-17T08:21:30Z by Graham_Charters
Graham_Charters 100000UY5C14 PostsACCEPTED ANSWER
Re: Equinox or Equivalent OSGI Console for WAS 7.0 Runtime2011-08-17T08:21:30Z in response to MattMadhavanHi Matt,
There is an OSGi application console similar to that of Equinox, in fact the commands are designed to be familiar to an equinox console users, but it's aware of the WAS cell/servers and OSGi application isolation, so works better than a vanilla equinox console would. You start the console by running a script called osgiApplicationConsole.bat. This is located in the bin directory of your server profile (e.g. C:\WebSphere\AppServerV8\profiles\AppSrv01\bin>). help() gives you a list of commands. Probably the first thing you'll want to do is connect to the framework containing your app. You do this by first listing the frameworks available (using list()). You should see something like:
ID Framework Version Node Server
0 shared.bundle.framework 0.0.0 paddyNode02 server1
1 colors.blender.app 1.0.0 paddyNode02 server1
2 colors.provider.blue.app 1.0.0 paddyNode02 server1
3 colors.provider.green.app 1.0.0 paddyNode02 server1
4 colors.provider.red.app 1.0.0 paddyNode02 server1
This shows I have 4 apps and a framework for shared bundles. You can then connect to the one you want to investigate (e.g. connect(1)). Once connected, you can then use packages() to see the resolution and services() to see the services available and who's using them.
Hope this helps.