我要将这个网络应用程序迁移到杰蒂。我探索了杰蒂,但似乎有很多选择。网络应用程序使用Spring MVC和骆驼。我用马文来建造、测试和部署。
我在找好选择 迅速将这个应用程序迁移到杰蒂
我的主要兴趣是嵌入喷气。我假设嵌入喷气会很好地配合春天。
谢谢
我要将这个网络应用程序迁移到杰蒂。我探索了杰蒂,但似乎有很多选择。网络应用程序使用Spring MVC和骆驼。我用马文来建造、测试和部署。
我在找好选择 迅速将这个应用程序迁移到杰蒂
我的主要兴趣是嵌入喷气。我假设嵌入喷气会很好地配合春天。
谢谢
这就是我所做的 使这个工作。
我在我的 pom.xml 中添加了以下插件
<!-- plugin so you can run mvn jetty:war-run -->
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.5.4.v20111024</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppConfig>
<contextPath>/mycontextpath</contextPath>
</webAppConfig>
<configuration>
<webApp>${basedir}/target/{mywarname}.war</webApp>
</configuration>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8080</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
</configuration>
</plugin>
清除并安装已执行的修道院
$mvn 清洁安装 - DskipTests
使用 Jetty 插件运行战争文件
$mvn 喷气式: 战争运行
在一个单独的窗口中运行测试
$mvn 测试
如果您再次使用日食作为您的 IDE 和 Maven 来构建这个 < a href=" http://wiki. eclipse.org/Jetty/Howto/Deploy_Web_Applications" rel=“nofollow” > FAQ 网站 也许是一个良好的起点。
用源代码,你能部署和运行 在杰蒂,如描述的那样?
Jetty 在启动时扫描其$JETTY_HOME/webaps 目录, 用于网络应用程序部署
不论是否涉及国际开发协会,同样也应适用
So this all began in trying to get Coldfusion9 portlets to run under Liferay, just like examples that I ve seen running JBOSS: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSC00E3E9C-DC24-...
My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web ...
I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...
I have a Java web app using JDBC created in NetBeans deployed to Tomcat that gives a "java.sql.SQLException: No suitable driver found for ..." error. The same app works fine when I run it as a non-web ...
Why are my AJAX requests failing? I have a website www.foo.com, and I m running Tomcat on the same server, www.foo.com:8080/services. However, when a file on foo.com makes an ajax call as such: $....
I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...
I am developing my application using spring-web-mvc... Now at my Controller it returns like this : public class InterfacesManageController implements Controller { public ModelAndView ...
I have a webapp that runs perfectly in Apache Tomcat 5.5 and I need to "convert it" so it can be deployed in an Oracle Application Server 10.1.3. Right now I make a WAR file of the aplication, paste ...