I just want to run broadleaf demosite. I have completed maven install through Eclipse. I ran jetty-demo using AntBuyild. Jetty server was started with a ZipException. Please log below
Code: Select all
Buildfile: D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\build.xml
start-db:
[echo] Starting Data Base...
jetty-demo:
[artifact:mvn] Listening for transport dt_socket at address: 8000
[artifact:mvn] [INFO] Scanning for projects...
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Building site
[artifact:mvn] [INFO] task-segment: [compile, war:exploded, jetty:run]
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] [keytool:clean {execution: clean}]
[artifact:mvn] [INFO] Keystore file 'D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\target\mycompany\WEB-INF\blc-example.keystore' deleted successfully.
[artifact:mvn] [INFO] [keytool:genkey {execution: genkey}]
[artifact:mvn] [INFO] [resources:resources {execution: default-resources}]
[artifact:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[artifact:mvn] [INFO] Copying 16 resources
[artifact:mvn] [INFO] [javarebel:generate {execution: generate-rebel-xml}]
[artifact:mvn] [INFO] Processing com.mycompany:site with packaging war
[artifact:mvn] [INFO] [compiler:compile {execution: default-compile}]
[artifact:mvn] [INFO] Nothing to compile - all classes are up to date
[artifact:mvn] [INFO] [war:exploded {execution: default-cli}]
[artifact:mvn] [INFO] Exploding webapp
[artifact:mvn] [INFO] Assembling webapp [site] in [D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\target\mycompany]
[artifact:mvn] [INFO] Processing war project
[artifact:mvn] [INFO] Copying webapp resources [D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\src\main\webapp]
[artifact:mvn] [INFO] Webapp assembled in [10438 msecs]
[artifact:mvn] [INFO] Preparing jetty:run
[artifact:mvn] [INFO] [keytool:clean {execution: clean}]
[artifact:mvn] [INFO] Keystore file 'D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\target\mycompany\WEB-INF\blc-example.keystore' deleted successfully.
[artifact:mvn] [INFO] [keytool:genkey {execution: genkey}]
[artifact:mvn] [INFO] [resources:resources {execution: default-resources}]
[artifact:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[artifact:mvn] [INFO] Copying 16 resources
[artifact:mvn] [INFO] [javarebel:generate {execution: generate-rebel-xml}]
[artifact:mvn] [INFO] Processing com.mycompany:site with packaging war
[artifact:mvn] [INFO] [compiler:compile {execution: default-compile}]
[artifact:mvn] [INFO] Nothing to compile - all classes are up to date
[artifact:mvn] [INFO] [resources:testResources {execution: default-testResources}]
[artifact:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[artifact:mvn] [INFO] skip non existing resourceDirectory D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\src\test\resources
[artifact:mvn] [INFO] [compiler:testCompile {execution: default-testCompile}]
[artifact:mvn] [INFO] No sources to compile
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/apache/maven/maven-model/3.0.3/maven-model-3.0.3.pom
[artifact:mvn] [INFO] Unable to find resource 'org.apache.maven:maven-model:pom:3.0.3' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/3.0.3/maven-model-3.0.3.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:maven-model:pom:3.0.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/apache/maven/maven-model/3.0.3/maven-model-3.0.3.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.pom
[artifact:mvn] [INFO] Unable to find resource 'org.codehaus.plexus:plexus-utils:pom:2.0.6' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.codehaus.plexus:plexus-utils:pom:2.0.6' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/sonatype/sisu/sisu-inject-plexus/2.1.1/sisu-inject-plexus-2.1.1.pom
[artifact:mvn] [INFO] Unable to find resource 'org.sonatype.sisu:sisu-inject-plexus:pom:2.1.1' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/sonatype/sisu/sisu-inject-plexus/2.1.1/sisu-inject-plexus-2.1.1.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.sonatype.sisu:sisu-inject-plexus:pom:2.1.1' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/sonatype/sisu/sisu-inject-plexus/2.1.1/sisu-inject-plexus-2.1.1.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/apache/maven/maven-settings/3.0.3/maven-settings-3.0.3.pom
[artifact:mvn] [INFO] Unable to find resource 'org.apache.maven:maven-settings:pom:3.0.3' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/3.0.3/maven-settings-3.0.3.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:maven-settings:pom:3.0.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/3.0.3/maven-settings-3.0.3.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/apache/maven/maven-settings-builder/3.0.3/maven-settings-builder-3.0.3.pom
[artifact:mvn] [INFO] Unable to find resource 'org.apache.maven:maven-settings-builder:pom:3.0.3' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings-builder/3.0.3/maven-settings-builder-3.0.3.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:maven-settings-builder:pom:3.0.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/apache/maven/maven-settings-builder/3.0.3/maven-settings-builder-3.0.3.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/apache/maven/maven-repository-metadata/3.0.3/maven-repository-metadata-3.0.3.pom
[artifact:mvn] [INFO] Unable to find resource 'org.apache.maven:maven-repository-metadata:pom:3.0.3' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/3.0.3/maven-repository-metadata-3.0.3.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:maven-repository-metadata:pom:3.0.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/3.0.3/maven-repository-metadata-3.0.3.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/apache/maven/maven-model-builder/3.0.3/maven-model-builder-3.0.3.pom
[artifact:mvn] [INFO] Unable to find resource 'org.apache.maven:maven-model-builder:pom:3.0.3' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model-builder/3.0.3/maven-model-builder-3.0.3.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:maven-model-builder:pom:3.0.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/apache/maven/maven-model-builder/3.0.3/maven-model-builder-3.0.3.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/apache/maven/maven-aether-provider/3.0.3/maven-aether-provider-3.0.3.pom
[artifact:mvn] [INFO] Unable to find resource 'org.apache.maven:maven-aether-provider:pom:3.0.3' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-aether-provider/3.0.3/maven-aether-provider-3.0.3.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:maven-aether-provider:pom:3.0.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/apache/maven/maven-aether-provider/3.0.3/maven-aether-provider-3.0.3.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/sonatype/aether/aether-impl/1.11/aether-impl-1.11.pom
[artifact:mvn] [INFO] Unable to find resource 'org.sonatype.aether:aether-impl:pom:1.11' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/sonatype/aether/aether-impl/1.11/aether-impl-1.11.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.sonatype.aether:aether-impl:pom:1.11' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/sonatype/aether/aether-impl/1.11/aether-impl-1.11.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/sonatype/aether/aether-api/1.11/aether-api-1.11.pom
[artifact:mvn] [INFO] Unable to find resource 'org.sonatype.aether:aether-api:pom:1.11' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/sonatype/aether/aether-api/1.11/aether-api-1.11.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.sonatype.aether:aether-api:pom:1.11' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/sonatype/aether/aether-api/1.11/aether-api-1.11.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/sonatype/aether/aether-util/1.11/aether-util-1.11.pom
[artifact:mvn] [INFO] Unable to find resource 'org.sonatype.aether:aether-util:pom:1.11' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/sonatype/aether/aether-util/1.11/aether-util-1.11.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.sonatype.aether:aether-util:pom:1.11' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/sonatype/aether/aether-util/1.11/aether-util-1.11.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/codehaus/plexus/plexus-classworlds/2.4/plexus-classworlds-2.4.pom
[artifact:mvn] [INFO] Unable to find resource 'org.codehaus.plexus:plexus-classworlds:pom:2.4' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/2.4/plexus-classworlds-2.4.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.codehaus.plexus:plexus-classworlds:pom:2.4' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/2.4/plexus-classworlds-2.4.pom
[artifact:mvn] Downloading: http://www.broadleafcommerce.org/nexus/content/repositories/releases//org/eclipse/jetty/orbit/javax.servlet.jsp/2.1.0.v201105211820/javax.servlet.jsp-2.1.0.v201105211820.pom
[artifact:mvn] [INFO] Unable to find resource 'org.eclipse.jetty.orbit:javax.servlet.jsp:pom:2.1.0.v201105211820' in repository public releases (http://www.broadleafcommerce.org/nexus/content/repositories/releases/)
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/orbit/javax.servlet.jsp/2.1.0.v201105211820/javax.servlet.jsp-2.1.0.v201105211820.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.eclipse.jetty.orbit:javax.servlet.jsp:pom:2.1.0.v201105211820' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 502 for URL: http://repo1.maven.org/maven2/org/eclipse/jetty/orbit/javax.servlet.jsp/2.1.0.v201105211820/javax.servlet.jsp-2.1.0.v201105211820.pom
[artifact:mvn] [INFO] [jetty:run {execution: default-cli}]
[artifact:mvn] [INFO] Configuring Jetty for project: site
[artifact:mvn] [INFO] webAppSourceDirectory D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\src\main\webapp does not exist. Defaulting to D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\src\main\webapp
[artifact:mvn] [INFO] Reload Mechanic: automatic
[artifact:mvn] [INFO] Classes = D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\target\mycompany\WEB-INF\classes
[artifact:mvn] [INFO] Context path = /
[artifact:mvn] [INFO] Tmp directory = D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\target\tmp
[artifact:mvn] [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[artifact:mvn] [INFO] Web overrides = none
[artifact:mvn] 2012-11-23 23:42:48.031:INFO:oejs.Server:jetty-8.1.5.v20120716
[artifact:mvn] [INFO] web.xml file = file:/D:/Bhanu/Projects/Current/eclipse-workspace/DemoSite/site/src/main/webapp/WEB-INF/web.xml
[artifact:mvn] [INFO] Webapp directory = D:\Bhanu\Projects\Current\eclipse-workspace\DemoSite\site\src\main\webapp
[artifact:mvn] 2012-11-23 23:42:48.281:WARN:oejw.WebAppContext:Failed startup of context o.m.j.p.JettyWebAppContext{/,file:/D:/Bhanu/Projects/Current/eclipse-workspace/DemoSite/site/src/main/webapp/},file:/D:/Bhanu/Projects/Current/eclipse-workspace/DemoSite/site/src/main/webapp/
[artifact:mvn] java.util.zip.ZipException: invalid entry size (expected 2589 but got 1529 bytes)
[artifact:mvn] at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:386)
[artifact:mvn] at java.util.zip.ZipInputStream.read(ZipInputStream.java:156)
[artifact:mvn] at java.util.jar.JarInputStream.read(JarInputStream.java:177)
[artifact:mvn] at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:100)
[artifact:mvn] at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:78)
[artifact:mvn] at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:118)
[artifact:mvn] at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:149)
[artifact:mvn] at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:156)
[artifact:mvn] at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:94)
[artifact:mvn] at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:76)
[artifact:mvn] at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:78)
[artifact:mvn] at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:78)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:438)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:474)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
[artifact:mvn] at org.eclipse.jetty.server.Server.doStart(Server.java:272)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
[artifact:mvn] at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:516)
[artifact:mvn] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
[artifact:mvn] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
[artifact:mvn] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
[artifact:mvn] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
[artifact:mvn] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
[artifact:mvn] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
[artifact:mvn] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
[artifact:mvn] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
[artifact:mvn] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
[artifact:mvn] at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
[artifact:mvn] at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[artifact:mvn] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[artifact:mvn] at java.lang.reflect.Method.invoke(Method.java:597)
[artifact:mvn] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[artifact:mvn] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[artifact:mvn] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[artifact:mvn] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[artifact:mvn] 2012-11-23 23:42:48.452:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
[artifact:mvn] [INFO] Started Jetty Server
When i run demosite in my browser using "hhtp://localhost:8080", i got the following error.
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable
Powered by Jetty://
Please guide me in resolving this issue.
Thanks & Regards
Bhanu Teja M.