I am modifying a WebApp provided by I-Jetty (Console) and wish to deploy it from I-Jetty. The WebApp used to work but now when accessed from my browser, I receive:
HTTP ERROR: 503
Problem accessing /console. Reason:
Service Unavailable
Powered by Jetty://
Note: I get no build errors and the WebApp is installed fine to I-Jetty. I am using jdk1.6.0_45 and have Maven3.0.5 installed
My POM.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mortbay.ijetty</groupId>
<artifactId>console-parent</artifactId>
<packaging>pom</packaging>
<version>3.2-SNAPSHOT</version>
<name>I-Jetty :: Console Parent</name>
<description>Parent project for console</description>
<modules>
<module>webapp</module>
<module>apk</module>
</modules>
<properties>
<android.version>4.1.1.4</android.version>
<jetty.version>8.1.11.v20130520</jetty.version>
<servlet.version>3.0.20100224</servlet.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</build>
</project>
Can you please help me understand why this is happening and suggest a fix?
Edit: I figured out the problem. Still don't have a solution.
The classes.zip file was not being created during the webapp installation onto I-Jetty. When I copy the classes manually into the jetty/webapps/console/web-inf/classes folder created when installing the webapp, the access from a browser works... I'm not sure why the zip file is not being created though.