application.xml

Gradle ear update application.xml with current WAR filename

痴心易碎 提交于 2020-01-14 15:55:39
问题 I have a java EAR project that contains some WAR web-app. I'm using gradle to build the EAR file. uberApp | \---> WarA | | | ...<src and config> | \---> WarB | | | ...<src and config> | \--> config/META-INF/application.xml This is the uberApp build.gradle: apply plugin: 'ear' dependencies { deploy project(path: ':WarA/trunk', configuration: 'archives') deploy project(path: ':WarB/trunk', configuration: 'archives') } ear { appDirName 'config' } This is the WAR build.gradle: war { baseName =

Gradle ear update application.xml with current WAR filename

半城伤御伤魂 提交于 2020-01-14 15:54:48
问题 I have a java EAR project that contains some WAR web-app. I'm using gradle to build the EAR file. uberApp | \---> WarA | | | ...<src and config> | \---> WarB | | | ...<src and config> | \--> config/META-INF/application.xml This is the uberApp build.gradle: apply plugin: 'ear' dependencies { deploy project(path: ':WarA/trunk', configuration: 'archives') deploy project(path: ':WarB/trunk', configuration: 'archives') } ear { appDirName 'config' } This is the WAR build.gradle: war { baseName =

Gradle ear update application.xml with current WAR filename

烂漫一生 提交于 2020-01-14 15:54:45
问题 I have a java EAR project that contains some WAR web-app. I'm using gradle to build the EAR file. uberApp | \---> WarA | | | ...<src and config> | \---> WarB | | | ...<src and config> | \--> config/META-INF/application.xml This is the uberApp build.gradle: apply plugin: 'ear' dependencies { deploy project(path: ':WarA/trunk', configuration: 'archives') deploy project(path: ':WarB/trunk', configuration: 'archives') } ear { appDirName 'config' } This is the WAR build.gradle: war { baseName =

meaning of this glassfish warning: context path differs from bundle

我是研究僧i 提交于 2019-12-23 07:17:01
问题 I'm not quite sure what this error message is indicating: INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: EJB5181:Portable JNDI names for EJB Hello: [java:global/SalutationApp/SalutationApp-ejb/Hello, java:global/SalutationApp/SalutationApp-ejb/Hello!ejb.Hello] INFO: Loading application [SalutationApp#SalutationApp-war.war] at [SalutationApp-war] INFO: SalutationApp was successfully deployed

meaning of this glassfish warning: context path differs from bundle

回眸只為那壹抹淺笑 提交于 2019-12-23 07:16:10
问题 I'm not quite sure what this error message is indicating: INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: visiting unvisited references INFO: EJB5181:Portable JNDI names for EJB Hello: [java:global/SalutationApp/SalutationApp-ejb/Hello, java:global/SalutationApp/SalutationApp-ejb/Hello!ejb.Hello] INFO: Loading application [SalutationApp#SalutationApp-war.war] at [SalutationApp-war] INFO: SalutationApp was successfully deployed

Context root path not working in Jboss 7 ear

我是研究僧i 提交于 2019-12-12 04:19:15
问题 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.abc</groupId> <artifactId>MyProjectEar</artifactId><version>0.0.1-SNAPSHOT</version> </parent> <properties> <build.plugin.maven.ear.version>2.10.1</build.plugin.maven.ear.version> </properties> <artifactId>MyProjectEarModule<

How to change context-root for enterprise application (.ear) in weblogic

点点圈 提交于 2019-12-12 01:22:48
问题 We have third party web based enterprise application, which is deployed on weblogic server and can be accessible using http://hostname:port/myApp But, due to some reason, we wanted to change context-root for this application, so that it must be ONLY accessible using http://hostname:port/newApp So, to achieve this, we tried changing application.xml <?xml version = '1.0' encoding = 'utf-8'?> <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema

Add resources or property to Websphere's classpath

北战南征 提交于 2019-12-11 10:50:31
问题 I've a problem and a solution. But I don't like my solution, could someone provide an elegant way of solving this? This is for running web application inside IDE. I've an EAR project and I'm using RAD7.5. My EAR project looks like EAR_Project Deployment Descriptor Module Jar1 Jar2 War Meta-Inf application.xml My question is, Jar1 and Jar2 has its own libraries and properties files. As of now, I copy all libraries and properties of Jar1&Jar2 into War/Web-Inf and it works fine. Is there a

Run with Netbeans (and Maven) the right context root

时光总嘲笑我的痴心妄想 提交于 2019-12-07 08:24:08
问题 I've got a little problem when I run a project from my Netbeans 7.2 (I also use a Glassfish 3.1.2 Server) ... In fact I'm migrating existing projects from Ant to Maven, my pom.xml are finished and I've used the customisation of the context root as it's described here : http://maven.apache.org/plugins/maven-ear-plugin/examples/customizing-context-root.html but when I run the project from netbeans, it's deployed with the name of my .ear : localhost:8080/MyApplicationEAR-0.1-SNAPSHOT instead of

Maven doesn't recognize EJB as dependency of project when trying to define module

天涯浪子 提交于 2019-12-03 11:13:00
问题 Today I upgraded my local Glassfish server to 3.1.1 in preparation for my company's upgrading of the servers to the same version. I am attempting to convert my web service project to play nice with the new server, and have hit a road block. In my ear's pom file, I previously had both the webapp and the ejb listed as dependencies. In the webapp's pom, I had the ejb listed as a dependency as well. When attempting to deploy this configuration to Glassfish 3.1.1, I received this error: Error