war

JBoss 6 - Deploy ejb in war packaging

拥有回忆 提交于 2019-12-19 04:09:41
问题 I am trying to use the new EJB3.1 feature where one can deploy an EJB packaged within a .war file. I am using Maven 2.2.1 to package the EJB module and then dropping the ejb jar in a war module (as a dependency). The final war contains a simple web.xml with no content, and the ejb jar library in the lib directory. However, though the application is deployed correctly, the annotated ejb (@Stateless) is not recognized by the container. I have no ejb-jar.xml descriptor (which I believe is

Is there are way to patch jar files?

馋奶兔 提交于 2019-12-18 18:53:42
问题 Suppose I sent a large jar or war file to someone. Could I later just change one small section and send that to him? Suppose I just changed one class file. I recompiled the java for into a class file. Other then exchanging the new class file for the old class file it there anything else I would have to do? In java do you have to rebuild the entire jar/war file? Also, is there some open source package available for doing updates? 回答1: The person receiving the class file could simply add that

Create war file from Spring:boot project in Eclipse

家住魔仙堡 提交于 2019-12-18 16:53:24
问题 I am pretty new to Spring Boot and I have completed a application that works well on my localhost. As I have been told to deploy it outside my localhost on for example a webbhotel or simular I need to export the project as a war-file and not as a jar-file. UPDATE!! I run the project as a Springproject generated in Spring Initialzr and using Eclipse as a IDE. In Eclipse I have followed the steps <packaging>war</packaging> and <dependencies> <!-- … --> <dependency> <groupId>org.springframework

BouncyCastle 1.51 loading in war on Wildfly 8.0

旧街凉风 提交于 2019-12-18 15:17:40
问题 Background I am trying to use bouncy castle library to decrypt private keys in my war. Now I tested the code first in a standalone app and it worked fine. Now when I am testing it as a webapp in Wildfly8.0 am facing some issues with Bouncy castle. The Wildfly 8.0 am using has bouncy castle provider module installed. The BC version being used in v1.46. The code that I have developed uses v1.51. I have followed the steps mentioned here: https://developer.jboss.org/thread/175395 bouncycastle +

Best way to deploy large *.war to tomcat

只谈情不闲聊 提交于 2019-12-18 15:09:31
问题 During development I frequently have to deploy a large war-file (~45 MB) to a remote test server, normally I copy the file with scp to the server. The WEB-INF/lib folder makes up the largest part of the war file, which includes all the required libraries (spring, apache-cxf, hibernate,...). Now I'm searching for an fast and easy a way to redeploy only my altered files. And how can I determine which packages are really needed by the webapp, because spring and apache-cxf comes with a lot of

Deploying in tomcat with exception: Cannot find operation isServiced

百般思念 提交于 2019-12-18 14:41:18
问题 I installed Tomcat and Tomcat Manager on a remote server as per the instructions on this post. After adding it I successfully accessed the manager on http://IP_ADDRESS:8080/manager/html Then I used the war file upload option to try to deploy the war file on it but it gives the following exception. FAIL - Deploy Upload Failed, Exception: Cannot find operation isServiced Documentation on isServiced 回答1: Just looked this up. Broken in Tomcat versions M19 and 8.5.13. Fixed in upcoming versions

JBoss 7: how to change a WAR context root

空扰寡人 提交于 2019-12-18 13:16:53
问题 I have an application that is to be deployed in a WAR file (app.war). After deployment it is available from http://:8080/app I would like to have it being made available as something like http://:8080/secret/app I searched the documentation and for JBoss'es 5 and 6 this seems to be able to do with a jboss-web.xml file. I have tried it but with no luck. It seems that JBoss 7 just ignores the element inside jboss-web.xml. I don't know if this is relevant but this application has both JSF and

How to assemble multimodule maven project into one WAR?

柔情痞子 提交于 2019-12-18 11:56:54
问题 Similar question here. I would like to get ONE resulting WAR to be deployed from 3 different maven modules. The war modules are absolutely non-conflicting : First one that has Java classes and some WEB-INF/artifacts Second one are just API - interfaces - that must be either already present in container or part of the resulting war (that's what I want) Third one with Implementation classes, WEB-INF/artifacts ( spring infrastructure, web.xml, etc) First one depends on interfaces and

Weblogic Error 403--Forbidden

我的未来我决定 提交于 2019-12-18 11:28:39
问题 I am trying to run a Java EE application on weblogic. The application works fine on Tomcat. I have customized the war file to include weblogic.xml. This file includes the following code:- <container-descriptor> <show-archived-real-path-enabled>true</show-archived-real-path-enabled> </container-descriptor> I have also changed the configuration in properties file of the application to reflect the port on which container is listening. server.port=7001 server.modjk.enabled=false My web.xml file

Weblogic Error 403--Forbidden

泄露秘密 提交于 2019-12-18 11:28:07
问题 I am trying to run a Java EE application on weblogic. The application works fine on Tomcat. I have customized the war file to include weblogic.xml. This file includes the following code:- <container-descriptor> <show-archived-real-path-enabled>true</show-archived-real-path-enabled> </container-descriptor> I have also changed the configuration in properties file of the application to reflect the port on which container is listening. server.port=7001 server.modjk.enabled=false My web.xml file