war

Can't get Jenkins to start using Tomcat

两盒软妹~` 提交于 2019-12-22 03:16:25
问题 I'm having a problem trying to deploy Jenkins war to Tomcat. I'm using CentOS with Java 1.6.0_28, Tomcat 6.0.24 and last version of jenkins as of January 21, 2014. I think the problem is more related to Jenkins because of the log but not sure. When I google the error only find the classes that fire the exception but no solution. Here is the log. Any help is appreciated. Jan 21, 2014 9:30:26 PM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.NoHomeDir at hudson

Maven WAR dependency - cannot resolve package?

梦想的初衷 提交于 2019-12-22 01:41:28
问题 I have a war dependency: <dependency> <groupId>my.package</groupId> <artifactId>myservices</artifactId> <version>0.3</version> <type>war</type> </dependency> Now, this exists in my local repository, and the class exists at WEB-INF/classes/my/package/myservices . When I go to use myservices , however, I get package my.package does not exist. Intelli-J knows to change myservices into my.package.myservices , but trying to import seems to not work at all. Is there something special I need to do

Eclipse: Have multiple Dynamic web projects contribute to a single war file?

强颜欢笑 提交于 2019-12-21 12:55:39
问题 I am in a situation where I basically want to be able to have a web project in Eclipse where the WebContents folder is merged from multiple projects instead of only a single dynamic web project. If I have "a.jsp" in project A, and "b.jsp" in project B, I would like to end up with a single web application in the web container where "a.jsp" and "b.jsp" sit next to each other in the same folder. It would be perfect if all files, not just the jsp-files, could be merged like this. This is to be

Java Play 2 - Deployment

╄→尐↘猪︶ㄣ 提交于 2019-12-21 06:44:18
问题 Updated 08.18.2012 I am using Play 2.0.2 and I want to deploy my app to Amazon Webservices. I think the easiest way to do this is via Elasticbeanstalk. I used Play2war to package my app https://github.com/dlecan/play2-war-plugin/ I was able to package it with play war According to the usage guide of play2war, I renamed my file to ROOT.war because i used Linux 32bit Tomcat7. I also used the servlet 3.0 as described in the tutorial on play2war. (tomcat 7 -> servlet 3.0). The file size is 31mb.

Java Play 2 - Deployment

℡╲_俬逩灬. 提交于 2019-12-21 06:44:01
问题 Updated 08.18.2012 I am using Play 2.0.2 and I want to deploy my app to Amazon Webservices. I think the easiest way to do this is via Elasticbeanstalk. I used Play2war to package my app https://github.com/dlecan/play2-war-plugin/ I was able to package it with play war According to the usage guide of play2war, I renamed my file to ROOT.war because i used Linux 32bit Tomcat7. I also used the servlet 3.0 as described in the tutorial on play2war. (tomcat 7 -> servlet 3.0). The file size is 31mb.

How to merge wars into one?

与世无争的帅哥 提交于 2019-12-20 12:34:17
问题 In our company, we have a number different modules constructed as separate wars. Each client can pick and choose module he wishes to buy. Since all modules share same session, security context etc, it makes sense to merge them into a single war. Is it possible to automate this process? For example, it should merge web.xml, calculate each wars dependencies, copy files like .jsp and .class etc. By the way, we are using Maven, but were not able to find a solution to this problem. 回答1: Granted

How to add TLD and Tag Lib files into a Maven's jar project

别等时光非礼了梦想. 提交于 2019-12-20 12:26:07
问题 I have a Maven project that is packaged as jar . And I also have a Maven project that is packaged as war . This war project has a tld file and some xhtml files (the tag libs). The structure of the war project is (basically): pom.xml src main java ... webapp WEB-INF my-facelets.taglib.xml facelets aTag.xhtml anotherTag.xhtml META-INF my-facelets.taglib.tld And then appeared a requirement to remove those xml, xhtml and tld files from the war project and package them into the jar project. So my

Grails deployment issues (WAR & Tomcat)

馋奶兔 提交于 2019-12-20 11:17:47
问题 I'm working on deploying a WAR under Tomcat 6 on a remote server. Now if I deploy as such on my local machine everything works fine. Remote deployment triggers a very unfriendly set of exceptions. log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: stacktrace.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:207) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org

Jboss 7 war deployment failed

假装没事ソ 提交于 2019-12-20 09:23:32
问题 Jboss 7 war deployment failed and i got the below error message in the log. ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment I tried restarting the JBoss server, I have never seen this before, it was working fine before. I googled around for

Tomcat not autodeploying war file

家住魔仙堡 提交于 2019-12-20 08:48:48
问题 I followed the following steps Shutdown Tomcat Deployed a war file with a timestamp of 1st December Start Tomcat - This created the exploded directory for the deployed war file. Stop Tomcat Updated the war file with a new one with a timestamp of 3rd December Restart Tomcat I found that when i restarted Tomcat, the existing files in the folder that was expanded previously were not updated. Shouldnt the update to the war file have updated the relevant jsp, class file? I looked at the