JBoss modules cxf jar updating? - cxf

I'm using JBOSS EAP 6.2 for deploying the restful web service. The restful web service is using apache cxf, it is taking from jboss eap. Currently its using the jar cxf-api-2.7.7.redhat-1.jar . Is there any way that can I update this jar in the jboss modules also modules.xml.

I have upgraded jars on the server in the past by replacing the .jar file and updating the module.xml file with the new jar file name. Though not CXF (Make sure you stop the server first)
cxf is in %JBOSS_HOME%\modules\system\layers\base\org\apache\cxf

Related

Apache CXF installation options into Tomcat

I want to be able to use Apache CXF with Tomcat. I have copied CXF's jar files into WEB-INF/lib and then I am able deploy my WAR file into Tomcat. That WAR file works fine in Tomcat, but that WAR file is then not usable in IBM WebSphere Liberty JEE server. I want to build my WAR files, such that they are write ones run any were.
The CXF app server configuration guide has no mention about Tomcat; the Metro project suggest that it's own jar file be copied into Tomcat's endorsed folder. Can the same be done for CXF? What is the best practice?
Best practice for a Tomcat deployment is to package the CXF jar files in the WAR file. It should also work as part of Tomcat's lib folder but I don't know many deployments using that.
Maybe you should take a look at Apache Tomee to have a combination with Tomcat and CXF?

How to deploy DocDokuPLM project on JBoss Wildfly10?

I have cloned the docdoku-plm from this repository https://github.com/docdoku/docdoku-plm/tree/dev
I build this project but i don't know what i have to deploy in my server , i checked in pom.xml and they have given packaging as pom
After i build the project no target file is created.
I want help how can i deploy this project in my wildfly 10 server.This is the structure of the project and after bulid there is no target file created
First of all when you build your project,one EAR file is generated in eplm module, you need to deploy that EAR file in wildfly.
After this follow this link https://github.com/docdoku/docdoku-plm/wiki/Installation-Guide for configuration according to your server.
In docdoku-plm if you are using eplm project and deploying in glassfish,by default it will take EclipseLink as JPA framework and in WIldfly it is Hibernate So you have to add dependency in pom.xml or change hibernate module to eclipselink.

Deploying camel spring application in Apache Karaf 4.2.0

I am trying to deploy camel spring application in apache karaf. I am using maven to resolve the dependencies. The application runs fine in Intellij but when I deploy the application (along with all the project dependencies) in karaf the application won't start.
Can anyone tell me what is the correct way to deploy camel spring application in karaf?
And also the best approach in resolving the project dependencies?
Camel-version: 2.16.5
Karaf: 4.2.0
If the application is not starting, then it might be waiting for some resolvable dependency. Check the log and install the dependency manually using feature:install. Also ensure all libraries are properly mentioned in pom.xml

Migration from tomcat to wildfly

I am migrating my web application from tomcat to wildfly. I was able to deploy the app using a temporary workaround of placing the configurations inside the WEB-INF/web.xml (). But I wanted it outside my war file. Is there any equivalent for catalina/conf/localhost/myapplicationconfig.xml in wildfly. Any suggestions please. I tried naming subsytem configuration and also placing it in modules but it didn't work for me

Deploy a Spring app (JAR) for browser

I have no knowledge about deployment, production server, web server, etc. But I have a web application and my boss wants to deploy it in order to access it by web browser.
So, my application was generated by Spring Initializr.
It's using Spring (Boot, Security, Web, Data JPA), with web service REST (#RestController), HTML templates and AngularJS.
With mvn clean package, I generated a JAR file of this application. It is working on my desk. But, how can I deploy it?
I believe that my company has an OVH hosting. Can I install JBOSS or Tomcat on it, and upload my JAR on OVH?
You can deploy your application on Tomcat but you need to have a war instead of a jar to run it on an existing application server.
You can read the following documentation to create the war : http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#build-tool-plugins-maven-packaging
Once done, you just have to upload it on the server in the webapps directory of your tomcat server.

Resources