You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by researcher1 <mi...@hypios.com> on 2010/10/29 16:54:51 UTC
SERVICE_UNAVAILABLE with Tapestry 5.2.2-SNAPSHOT
Hi all,
sorry for this beginner question, but I do not seem to be able to find the
answer elsewhere. I generated the tutorial archetype and tried to run it,
but I am getting a SERVICE_UNAVAILABLE error.
This happens even when I change the version to earlier ones.
Here is the console output:
tapestry-tutorial1 mvn jetty:run
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building tapestry-tutorial1 Tapestry 5 Application
[INFO] task-segment: [jetty:run]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing jetty:run
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty:run {execution: default-cli}]
[INFO] Configuring Jetty for project: tapestry-tutorial1 Tapestry 5
Application
[INFO] Webapp source directory =
/Users/milstan/Documents/workspace-java1/tapestryNew/tapnew1/tapestry-tutorial1/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] web.xml file =
/Users/milstan/Documents/workspace-java1/tapestryNew/tapnew1/tapestry-tutorial1/src/main/webapp/WEB-INF/web.xml
[INFO] Classes =
/Users/milstan/Documents/workspace-java1/tapestryNew/tapnew1/tapestry-tutorial1/target/classes
2010-10-29 16:40:10.467::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
[INFO] Context path = /tapestry-tutorial1
[INFO] Tmp directory = determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] Webapp directory =
/Users/milstan/Documents/workspace-java1/tapestryNew/tapnew1/tapestry-tutorial1/src/main/webapp
[INFO] Starting jetty 6.1.16 ...
2010-10-29 16:40:10.552::INFO: jetty-6.1.16
2010-10-29 16:40:10.705::INFO: No Transaction manager found - if your
webapp requires one, please configure one.
2010-10-29 16:40:10.724::WARN: Failed startup of context
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@57a3eab6{/tapestry-tutorial1,/Users/milstan/Documents/workspace-java1/tapestryNew/tapnew1/tapestry-tutorial1/src/main/webapp}
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at
org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:171)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1236)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383)
at
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2010-10-29 16:40:10.773::INFO: Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server
0:0:0:0:0:0:0:1%0 - - [29/Oct/2010:14:40:22 +0000] "GET / HTTP/1.1" 404
873 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7"
0:0:0:0:0:0:0:1%0 - - [29/Oct/2010:14:40:23 +0000] "GET
/tapestry-tutorial1 HTTP/1.1" 503 1306 "http://localhost:8080/" "Mozilla/5.0
(Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.7 (KHTML, like
Gecko) Chrome/7.0.517.41 Safari/534.7"
I am running Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_20
Thanks in advance for any advice.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/SERVICE-UNAVAILABLE-with-Tapestry-5-2-2-SNAPSHOT-tp3242146p3242146.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: SERVICE_UNAVAILABLE with Tapestry 5.2.2-SNAPSHOT
Posted by researcher1 <mi...@hypios.com>.
Many thanks. It works now :)
--
View this message in context: http://tapestry.1045711.n5.nabble.com/SERVICE-UNAVAILABLE-with-Tapestry-5-2-2-SNAPSHOT-tp3242146p3242335.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: SERVICE_UNAVAILABLE with Tapestry 5.2.2-SNAPSHOT
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Fri, 29 Oct 2010 12:54:51 -0200, researcher1
<mi...@hypios.com> wrote:
> Hi all,
Hi!
> 2010-10-29 16:40:10.724::WARN: Failed startup of context
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@57a3eab6{/tapestry-tutorial1,/Users/milstan/Documents/workspace-java1/tapestryNew/tapnew1/tapestry-tutorial1/src/main/webapp}
> java.util.zip.ZipException: error in opening zip file
You've probably have some corrupted JAR. Delete the Tapestry JARs from
your local repository and try again.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org