I have a web application which deploys fine as an ear file. But when I try to deploy it in exploded form it fails like this:
17:13:17,305 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=app.ear/#app-persistence state=Create
java.lang.RuntimeException: could not find relative path: lib/persisten...
Hello.
During the development time I'm iteratively rebuilding some modules of my project. Rebuilding resulting ear-project gets a huge amount of time. If there is a way allowing to rebuild only jar file of changed module and then replace this jar in resulting EAR then it could reduce build time and accelerate development process.
So qu...
I am deploying an EAR file to the IBM WebSpehre server 6.1 - I want to be able to access the EAR application name which is stored in the deployment file under 'display-name'. Looking through stack overflow posts on related subjects, I've been able to gather that this is possible via the Java MBean API - or IBM's WAS API - Problem is I c...
I can't imagine that my question is so specific to my case, but I did not see any similar questions asked here so far.
I would like to be able to specify a log4g.properties file outside of my .ear packaging so that it is easier to alter the logging levels without repackaging the ear. Actually, the most pressing motivation for doing it l...
Hi,
I am to migrate a Websphere machine (including the applications which run on it) to a new machine. They wanted a clean install of the OS and WebSphere, so I did that. I also took a full file backup of all of the applications they had on the old server. The problem is that to re-install them on the new server, the WebSphere dialog...
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...
Hello,
I have two ears, ear1 contains an ejb project and client, containing the interfaces (local). Ear2 contains a war that needs to call the ejb3 service. When I call the ejb service I am getting a classcastexception, I think because there are two classloaders involved here. Is there a clean way to achieve this?
I'm working in RAD75 ...
I use jboss 4.0.2 and i want to have two .war files within one .ear file .
...
I have a project with 5 modules in maven. Right now, when I do a "mvn clean install", it generates an ear containing the two jars, one war and one sar from the other modules.
All the file names contain the version, e.g., projectx-ear-2.0.0.ear, projectx-client-2.0.0.jar, etc.
I need to rename one of the jars and the final ear to omit t...
Greetings, I'm working on a project that have several webapps (WARs) built with Maven and deployed in a JEE.
These WARs share several common business JARS (like one containing domain objects which are loaded from hibernate) and other framework JARs like Spring and Hibernate.
They use Spring MVC, and the Application Context loads Hiber...
I basically want to be able to deploy multiple versions of the same EAR file to the same server (Glassfish instance?) , and have a unique path to each version separating them.
From my reading on this it appears that multiple EARs deploy to the root of the web server namespace so that they can coexist if they do not have colliding contex...
I have several projects in an EAR in Eclipse.
These projects themselves have dependency jar's on the build path marked as "do not export, do not contribute to others".
Now in Eclipse I add jar's to the EAR via the EAR properties "Java EE Module Dependencies".
I browse to the jar (add jar) and click ok. The jar is added to the list.
Whe...
Hi.
As part of an upgrade from JBoss 4.0.4 to 5.1, I am trying to get a WAR to deploy after an EAR is successfully deployed. JBoss 5.x does not support PrefixDeploymentSorter like 4.x did, which means that I have to use <depends> in the WAR's jboss-web.xml.
It seems I cannot depend on the EAR itself, so I pick the last deployed EJB in...
i have 3 war files with JSF installed, 3 faces config, when i make them all load into one class loader that is part of the EAR, it fails on initialization errors. like below. seems like JSF does not like to load multiple times in one classloader, has anyone tried this? to load a EAR with 3 JSF wars?
java.lang.NullPointerException
at...
Using Rational Application Developer to create a J2EE application, I create a project for my EAR and a project for my WAR - following the usual project structure created by RAD.
So, how do I create a Maven build file that builds the EAR with the WAR inside, etc - ready to deploy. Build needs to work when kicked-off from Hudson.
...
I have an ear file that contains an mBean. Is there someway that when I deploy the ear that I can get Glassfish to recognize the mBean and deploy it as well?
...
Hi,
How can I get the EAR name in the oc4j at runtime? Thanks a lot!!
...
Are there some IBM ant tasks that support this?
...
I have a 'Utilty Project', and an 'EAR Project' that includes that 'Utility Project'. All the classes from the 'Utility Project' end up being packaged as a JAR and placed within the 'lib' directory of the exported EAR, for example:
EAR.ear
META-INF
MANIFEST.MF
lib
utility.jar (which expands to):
META-INF
...
Hi,
i have deployed two EARs on one server. i want to access one method in one java class in EAR to another java class in second EAR.
what are different ways to achieve this. which one is best way to do.
Thanks
...