Jolokia OSGi installation stops CXF - jetty

Apache CXF stopped working after the installation of Jolokia osgi bundle installation, when entering the cxf url shows blank page, Please help to overcome this issue. I have installed the jolokia bundle in karaf container.
I'm using jetty version[8.1.14.v20131031] and camel version[2.12.0.redhat-611412]

Related

Setting priority for loading slf4j jar from custom path apart from JRE

Am upgrading jetty 4.2.24 to jetty 9.2.25,i got a dependency with slf4j version for jetty.
jetty 9.2.25 requires slf4j 1.7.5 but am using 1.5.6 version for both jetty web server and JACORB.
the problem am facing here is jetty is taking the jar directly under JVM /ext path, i cant replace the slf4j 1.5.6 under JVM directly since JACORB is using it.
I have searched in web and tried to dynamically exclude the jar, but its only showing with Maven which am not using.
please let me know if there is any way to give some priority for jars under jetty configuration , so that it will not take jar under JVM(slf4j 1.5.6 )
and take new jar (slf4j 1.7.5) in some other path.

WSO2 remotely adding/removing new OSGI features

Is there a working example available to remotely add AND remove OSGI Features to WSO2 carbon based products via the ProvisioningAdminService SOAP interface?
First of all you need to have WSO2 Carbon binary distribution when you need to add or remove OSGi bundle,
Then start with following command in WSO2 carbon Server.
sh wso2server.sh -DosgiConsole or
./wso2server.sh -DosgiConsole
After starting up the server click the enter button two to three time and then start with osgi> console.
Now you can install/remove osgi bundle.
start <bundle-id> (Ex: osgi> start 22)
This command can be used to start a osgi bundle.
install file:<file-path> [Ex: osgi> install file:/home/yourname/osgibundle.jar]
This can be used to install a bundle into a running OSGi environment. You can use this command to install your bundle, instead of copying it into dropping folder prior to starting the server. After installing, use 'start' command to activate the bundle.
uninstall <bundle-id> [Ex: osgi> uninstall 22]
This can be used to remove a bundle from the OSGi environment.
You can refer the below links and try with WSO2 products.
.......................................
OSGi bundle
Admin Services

Can't install plugins on redmine war

I'm running tomcat 7.0.40 and have deployed redmine 2.3.1 and also 2.0.3.
I've made the WEB-INF/public/plugin_assets directory writable and then copied the plugin into this directory.
After that, i've restarted tomcat but i can't see anything under plugin's list in
redmine>administrator>plugins
What i'm missing?
Thank you very much

How to deploy the Web service in to tomcat 7 from out side of eclipse juno?

i am very new to web services and i have one problem please suggest me .. i.e i have a WSDL(SOAP) file and with that i created the Web Service-server and web service-Client using Top-Down approach with JAX-WS in eclipse Juno Java EE. i integrated the Tomcat 7 with that Eclipse and from eclipse its working fine.
But my problem is i need to run the Tomcat from out side of the eclipse and i need to deploy the web service in to the tomcat. i don't want to run the Tomcat using eclipse? i just need to run the client from eclipse but i dont want to run the tomcat from eclipse. Please Help me.
File -> Export -> Web -> War (configure where to create it)
Deploying a tomcat application consist of building a war file then deploying it. We call this servlet.
Building the WAR
As you already have your server code, you should now complet the WEB-INF/web.xml file. This file describe the path of your servlet(your server code), on the tomcat server. Depending of your framework you can have some configuration to add in your META-INF/context.xml file.
In an eclipse project, thoses file are generaly under a directory name 'webapp' in your project. (src/main/webapp for a maven project).
First you must use the javaee & javaweb tools of eclipse to build a war file that contains all yours libs, files, class and web.xml
Alternativly you can use a maven build process to get a war, if you use maven.
Deploying the war
After installing tomcat, the deployement is as simple as drop the .war file is deploy directory of the home-directory of tomcat. Then your application is usable on default port 8080.
If you have install also the manager webapp of tomcat, you can see all yours currently deployed application in the manager http://myurl:8080/manager/html.
When you install tomcat, let be sure that your eclipse pseudo server is shutdown, or your tomcat server will have problem to get it's port and startup.

How do I install Jetty WTP Server Adapter for Eclipse 3.5?

Currently I am attempting to install the Jetty WTP Server Adapter for Eclipse 3.5 and get the following errors:
An error occurred while collecting items to be installed session context was:(profile=epp.package.jee,phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.mortbay.jetty.serveradaptor,1.0.4
No repository found containing: org.eclipse.update.feature,org.mortbay.jetty.serveradaptor,1.0.4
To install, I attempt to add a new server runtime, click 'Install Additional Server Adapters' and follow the wizard I get when I click on the Generic Jetty Server Adapter that eventually loads. I've had this error in all the RCs up to this point, but currently the active RC is RC4.
I also found the 'Download additional server adapters" route to adding the Jetty (and Glassfish) server adapters failed, with the same dependency issues as the Original Poster.
Downloading the .jar and copying it into the 'plugins' dir of my Eclipse install idd not work. The Jetty server adapter was still not a recognised installed plugin.
I had to go to "Help->Install New Software->Add..." and enter the http://www.webtide.com/eclipse site manually. Then I could see the Jetty adapter, and install it successfully. It seems to have installed into the eclipse/plugins/ rather than copied a .jar file into eclipse/plugins.
This may be what the poster on 2 Jul was trying to say, but it wasn't very clear.
I don't know why, but the "download additional server adapters" dialog hasn't worked for me once with Eclipse 3.5, the install always fails with dependency issues.
I also found I had to manually install all the WST Adapter items to get around failed dependencies, for example:
"Web, XML and Java EE Development->JST Server Adapters", "WST Server Adapters"
and also the "Database Development" items. I'm not sure which were required.. when I'd installed everything that looked likely, all my dependency issues were resolved when installing the Glassfish and Jetty server adapters from their update sites.
There's a new (official!) Jetty WTP Plugin to support Jetty 7.x and 8.x: http://wiki.eclipse.org/Jetty_WTP_Plugin
The problem could be resolved installing the JST Server UI before the Jetty Server Adapter. It is a current bug (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=321663).
That way you can install it either as a plugin or in the servers view.
I think you need org.mortbay.jetty.serveradaptor.1.0.4.jar to install jetty adapter, download from http://www.webtide.com/eclipse , put it in plugins of eclipse.
Hope the answer could help you.