Questions tagged [application.xml]

28 questions
22
votes
1 answer

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

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…
lowell
  • 521
  • 1
  • 5
  • 10
14
votes
1 answer

meaning of this glassfish warning: context path differs from bundle

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…
Thufir
  • 8,216
  • 28
  • 125
  • 273
7
votes
2 answers

maven-ear-plugin is not including jarModule into application.xml

I've been following the example on the maven-ear-plugin site that shows how to add third-party libraries to the generated application.xml. However, it does not appear to be working as I expected. Similarly the web module contextRoot is being…
mrswadge
  • 1,659
  • 1
  • 20
  • 43
5
votes
1 answer

gradle: Cannot set the value of read-only property 'module' for root project of type org.gradle.api.Project

Starting to get somewhere with packaging an EAR: thufir@doge:~/NetBeansProjects/gradleEAR$ thufir@doge:~/NetBeansProjects/gradleEAR$ gradle clean ear FAILURE: Build failed with an exception. * Where: Build file…
Thufir
  • 8,216
  • 28
  • 125
  • 273
4
votes
0 answers

Generate resource-env-ref entries in maven-ear-plugin generated application.xml

so the need is to add resource-env-ref entries in a maven project who's application.xml is generated by maven-ear-plugin. Checked with the source of the plugin and there's nothing even remotely close to resource-env-ref. And it's difficult to…
4
votes
2 answers

Need for application.xml in JavaEE 6 for ejb

I have a question similar to Application Deployment Descriptor in Java EE 6 where the answerer explains that if you want to use custom (non-default) context-root, one must define the application.xml which should contain all the information for the…
adbdkb
  • 1,897
  • 6
  • 37
  • 66
4
votes
2 answers

Run with Netbeans (and Maven) the right context root

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…
3
votes
1 answer

Gradle ear update application.xml with current WAR filename

I have a java EAR project that contains some WAR web-app. I'm using gradle to build the EAR file. uberApp | \---> WarA | | | ... | \---> WarB | | | ... | \--> config/META-INF/application.xml This is…
sgargel
  • 986
  • 2
  • 11
  • 29
3
votes
1 answer

Adding jars to an application in application.xml?

I have a java application which needs to be deployed in the weblogic server. I am currently making the ear file for that application. My ear file has an ejb jar inside. I want to add log4j2 jars to this application. So my folder structure is >…
julien carax
  • 323
  • 6
  • 22
2
votes
2 answers

JBoss ignoring context path in application.xml when using @WebService and @Stateless in war file

I have an ear file that consists of a war file together with a number of jar files. The application.xml with the following contents:
aseychell
  • 1,794
  • 17
  • 35
1
vote
1 answer

Where can install the schema in project with hibernate?

I use hibernate. I need to set the current schema somewhere other than in the @Table annotation or in jdbc:postgresql://HOST:PORT/ in application.yml Tell me where else you can install the schema? spring.jpa.properties.hibernate.default_schema:…
devoid
  • 11
  • 3
1
vote
1 answer

JBoss Wildfly 10 Ear deployment guide needed

I'm can't seem to find a rich source for configuring an JEE EAR deployment on WildFly 10. I'm still stuck defining the application.xml. I have this doc - https://docs.jboss.org/author/display/WFLY8/Deployment+Descriptors+used+In+WildFly, and the…
1
vote
0 answers

How to rename the stest-module-timerweb-3.2.0.0-SNAPSHOT.war in application.xml using maven

My application is built on maven and I am having below information and modules I am having an application.xml with below content
anudeep
  • 11
  • 2
1
vote
1 answer

Add resources or property to Websphere's classpath

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   …
Kay
  • 393
  • 4
  • 15
1
2