ear

How to programmatically check if an application has deployed in JBoss5?

你离开我真会死。 提交于 2020-01-04 06:53:55
问题 I am writing a small app to automate deployments. Basically, it checks an ftp server periodically for a new .ear file. Compares the checksum of the remote ftp file against what is currently deployed. If there is a new ftp file, then it gets picked up and deployed... I then have a check to see if the app has deployed successfully. At the moment, I am sending an http get requested for the main landing page of the app and then checking the http return code for a successful deployment. However, I

How to programmatically check if an application has deployed in JBoss5?

自闭症网瘾萝莉.ら 提交于 2020-01-04 06:50:04
问题 I am writing a small app to automate deployments. Basically, it checks an ftp server periodically for a new .ear file. Compares the checksum of the remote ftp file against what is currently deployed. If there is a new ftp file, then it gets picked up and deployed... I then have a check to see if the app has deployed successfully. At the moment, I am sending an http get requested for the main landing page of the app and then checking the http return code for a successful deployment. However, I

Separate same jars in different WAR of a EAR

给你一囗甜甜゛ 提交于 2020-01-04 06:44:11
问题 currently we are facing one problem. We are building a ear which contains multiple war files. In 2 of the WARs contains same jars. Both these wars need these jars during deployment.So Is there any way in ANT I can built it so that these jars will be in one single place and it will not create any problem during the ear deployment. 回答1: well, you can do it the portable way: Place the library jars at the root of .ear file. Example: library jar -> lib1.jar, lib2.jar [EAR STRUCTURE] your.ear |-

Separate same jars in different WAR of a EAR

☆樱花仙子☆ 提交于 2020-01-04 06:44:09
问题 currently we are facing one problem. We are building a ear which contains multiple war files. In 2 of the WARs contains same jars. Both these wars need these jars during deployment.So Is there any way in ANT I can built it so that these jars will be in one single place and it will not create any problem during the ear deployment. 回答1: well, you can do it the portable way: Place the library jars at the root of .ear file. Example: library jar -> lib1.jar, lib2.jar [EAR STRUCTURE] your.ear |-

application.xml is not generated correctly while saying “Run On Server” using Weblogic (beadep)

大城市里の小女人 提交于 2020-01-04 04:45:07
问题 I always encounter the following situation while "Run On Server" on my mavenized EAR project. Situation If I take the following steps on my EAR project: mvn clean install Run on Server ... will lead to: The application.xml generated by Maven will be correct: <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5"> <display

Gradle: ear deploymentDescriptor - Exclude module from application.xml

白昼怎懂夜的黑 提交于 2020-01-03 13:25:09
问题 I have the following in my gradle build file. My problem is that log4j.properties is being added as an ejb module in application.xml, despite my attempt to remove it from the xml per the thread here: http://forums.gradle.org/gradle/topics/ear_plugin_inserts_unneeded_ejb_modules_in_the_application_xml_ear_descriptor apply plugin: 'ear' ear { deploymentDescriptor { applicationName = 'ourapp' displayName = 'ourapp' initializeInOrder = true //This doesn't work: withXml { xml -> xml.asNode()

Gradle: ear deploymentDescriptor - Exclude module from application.xml

 ̄綄美尐妖づ 提交于 2020-01-03 13:24:21
问题 I have the following in my gradle build file. My problem is that log4j.properties is being added as an ejb module in application.xml, despite my attempt to remove it from the xml per the thread here: http://forums.gradle.org/gradle/topics/ear_plugin_inserts_unneeded_ejb_modules_in_the_application_xml_ear_descriptor apply plugin: 'ear' ear { deploymentDescriptor { applicationName = 'ourapp' displayName = 'ourapp' initializeInOrder = true //This doesn't work: withXml { xml -> xml.asNode()

Log file not produced until WebLogic is restarted

巧了我就是萌 提交于 2020-01-03 13:08:04
问题 I'm working on the development of an application that is deployed on WebLogic 10.3. It is packaged as an EAR and includes one module. The application works fine by itself but I am faced with issue related to logging. I am using Log4j. The library is included in the EAR file and log4j.xml is placed under JAR module. So the config location is the following: A.ear/B.jar/log4j.xml Log4j config is following: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

How to solve SplitsrcTargetPreparation exception in Oracle weblogic server?

故事扮演 提交于 2020-01-02 06:00:31
问题 I am trying to run a simple Restful web service example on oracle weblogic server . but i am getting this issue while run the project on server. Publishing to Oracle Weblogic server at localhost has encountered a problem.Runtime exception occurred in publish task 'SplitsrcTargetPreparation'. Have a look on screen sort. What i have to do ? 回答1: None of the other answers solved my problem, but I finally found a solution. I'm not claiming that this is the best or only way of resolving this issue

Generating WAR and EAR artifacts inside the same Gradle project

删除回忆录丶 提交于 2020-01-02 05:46:20
问题 Suppose that I have a Gradle web project with a standard web project layout src/main/webapp . Project myproject-web , build.gradle : apply plugin: 'java' apply plugin: 'eclipse-wtp' apply plugin: 'war' I know that I can wrap the resulting .war file generated by myproject-web inside an .ear if I define a secondary project (say, myproject-ear ) which applies the ear plugin and references myproject-web as a dependency: Project myproject-ear , build.gradle : deploy project(':myproject-web') I