I would not want to filter some files in overlays, when building a war file.
For example how I can exclude from filtering all jsp files from overlay module2?
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-beta-2-SNAPSHOT</version>
<config...
I am trying to create a war file out of an eclipse project using ant
The responsible ant target looks like this
<target name="jar" depends="build" description="Erzeugt das WAR File">
<war destfile="${project.dir.dist}/xyz.jar" webxml="${basedir}/WebRoot/WEB-INF/web.xml" duplicate="fail" basedir="${basedir}">
<lib dir="${proj...
Recently we migrated from using ant to maven. Within Netbeans, I used to edit and save html, xhtml, javascript, css files in the WAR and almost immediately the changes were available on the server.
Now, when I edit and save those types of files in the WAR, nothing happens. I have to right click my EAR -> Build with dependencies -> Run ...
when deployed in tomcat , the log showing this .
I was using all jars in shared lib directory except jars with grails-*.jars
SEVERE: StandardWrapper.Throwable
java.lang.LinkageError: loader constraint violation: when resolving field "logger" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the referring cl...
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...
A web application usually has at least one configuration file, that contains jdbc configuration and other settings. You can put such file(-s) inside a .war file or outside it. What are the cons and pros of these approaches? What is your approach and why?
...
Hi,
I have to modify content of many WAR start pages to add some functionality. I can't use filters to modify cause filter needs to be placed in Web Archive. The same with servlet etc. Any clue how to do this?
...
Hi:)
i need to deploy at Tomcat many web applications with a lot of common jars (Jersey jars). I've created WAR file without JARS and added to MANIFEST.MF eg: "Class_Path: .jar .jar". But WebApplications does not work. What I am doing wrong?
...
just curious to know issues in deploying compiled war with jdk 1.5 and deploying in jdk 1.6 environment (which is weblogic 10gR3)
...
I would like copy just "file.xml" without folder structure using overlays like this:
<overlays>
<overlay>
<groupId>com.mygroup</groupId>
<artifactId>my_comp</artifactId>
<includes>
<include>WEB-INF/folder1/folder2/file.xml</include>
</includes>
<targetPath>WEB-INF/otherFolder</targetPath>
...
I'm trying to make an "executable" war file (java -jar myWarFile.war) that will start up a jetty webserver that hosts the webapp contained in the war file I executed.
I found a page that described how to make what I'm looking for:
http://eclipsesource.com/blogs/2009/10/02/executable-wars-with-jetty/
however, following that advice alon...
Hi,
Is there a way by which different managed beans in different faces-config.xml placed in multiple WARs.
...
What is the proper way to redeploy a new version of a running app in glassfish? I have a WAR running, and I've made changes. I thought doing an undeploy + deploy might be the right thing, but glassfish (v3) often crashes when I undeploy.
What' the proper way to redeploy a running app in glassfish?
...
I have a simple web application (one jsp and one servlet) file that I've copied into jboss-4.0.2/server/default/deploy folder and it has successfully hot deployed as I can access the jsp page. However, when I invoke the servlet, I am getting a java.lan.NoClassDefFoundError.
I suspect that the jars under the WEB-INF/lib directory within ...
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've a base project which has a dependency on a custom war to be downloaded from a remote repository.
I'm able to download and run the war, however the custom war has some html & js files which i need to get extracted in my base project's webapp directory.
How do I specify a location for the custom.war to explode at a specified directory...
Within my service I have an mbean which is accessed by my war file. How do I ensure that the war file is deployed and started after the service?
...
Hi guys, I was wondering if is it possible to deploy a jar file in Jetty?
If not, are there applications servers who can do so?
I am beginner. I am asking this question because all the docs that i have found, it seems that we can only deploy war archive in application servers. Is that true?
...
Hi,
I'm pretty new to Maven and I've noticed an interesting thing in the Maven WAR Plugin.
When I package my Java web application with war:war, a zipped war is created. This war contains also the files pom.xml and pom.properties in the META-INF directory.
But if I package my application with war:exploded and create an exploded war dire...
Hi,
I deployed a Wicket-based app's .war file to Jetty 7.0.2. The problem is that Jetty copies the classpath to a temp dir, but only copies *.class, so *.html is not available for the classloader and I get the error:
WicketMessage: Markup of type 'html' for component 'cz.dynawest.wicket.chat.ChatPage' not found.
Copying the war as an ...