after migrating to T5.4 home page won't load

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

after migrating to T5.4 home page won't load

Qbyte Consulting
I got jetty:run to launch the app, but when requesting the home page:

HTTP ERROR 500

Problem accessing /audit/. Reason:

    Server Error
Caused by:

java.lang.AbstractMethodError
at
org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.getModuleNameToStackName(JavaScriptSupportImpl.java:340)
at
org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.findStackForModule(JavaScriptSupportImpl.java:328)
at
org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
at $JavaScriptSupport_4ff573b7bca2c.require(Unknown Source)
at $JavaScriptSupport_4ff573b7bc9bd.require(Unknown Source)
at
org.apache.tapestry5.internal.transform.ImportWorker$ModuleImport.apply(ImportWorker.java:168)
at
org.apache.tapestry5.internal.transform.ImportWorker$5.advise(ImportWorker.java:197)
at
org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:92)
at
org.apache.tapestry5.internal.transform.ImportWorker$8.advise(ImportWorker.java:271)
at
org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:92)
at
org.apache.tapestry5.corelib.components.ExceptionDisplay.setupRender(ExceptionDisplay.java)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.invokeComponent(ComponentPageElementImpl.java:174)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:133)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.render(ComponentPageElementImpl.java:181)
at
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:79)
at
org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:121)
at $PageRenderQueue_4ff573b7bca27.render(Unknown Source)
at $PageRenderQueue_4ff573b7bca18.render(Unknown Source)
at
org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
at
org.got5.tapestry5.jquery.services.js.JSModule$1.renderMarkup(JSModule.java:40)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.internal.services.PageNameMetaInjector.renderMarkup(PageNameMetaInjector.java:41)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$29.renderMarkup(TapestryModule.java:1807)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$28.renderMarkup(TapestryModule.java:1797)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$27.renderMarkup(TapestryModule.java:1781)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$26.renderMarkup(TapestryModule.java:1765)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.internal.services.javascript.AddBrowserCompatibilityStyles.renderMarkup(AddBrowserCompatibilityStyles.java:45)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.internal.services.javascript.ConfigureHTMLElementFilter.renderMarkup(ConfigureHTMLElementFilter.java:45)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.modules.JavaScriptModule$1.renderMarkup(JavaScriptModule.java:268)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$25.renderMarkup(TapestryModule.java:1748)
at $MarkupRenderer_4ff573b7bca2a.renderMarkup(Unknown Source)
at $MarkupRenderer_4ff573b7bca26.renderMarkup(Unknown Source)
at
org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:47)
at $PageMarkupRenderer_4ff573b7bca24.renderPageMarkup(Unknown Source)
at
org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:64)
at $PageResponseRenderer_4ff573b7bca1f.renderPageResponse(Unknown Source)
at
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.renderException(DefaultRequestExceptionHandler.java:262)
at
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:145)
at $RequestExceptionHandler_4ff573b7bc996.handleRequestException(Unknown
Source)
at
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
at $RequestHandler_4ff573b7bc998.service(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$3.service(TapestryModule.java:846)
at $RequestHandler_4ff573b7bc998.service(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$2.service(TapestryModule.java:836)
at $RequestHandler_4ff573b7bc998.service(Unknown Source)
at
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:89)
at $RequestHandler_4ff573b7bc998.service(Unknown Source)
at xxxxxx.audit.manager.services.AppModule$2.service(AppModule.java:228)
at $RequestFilter_4ff573b7bc993.service(Unknown Source)
at $RequestHandler_4ff573b7bc998.service(Unknown Source)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:105)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:95)
at
org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:83)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:119)
at $RequestHandler_4ff573b7bc998.service(Unknown Source)
at $RequestHandler_4ff573b7bc98d.service(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:256)
at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:59)
at $HttpServletRequestHandler_4ff573b7bc98f.service(Unknown Source)
at
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
at $HttpServletRequestFilter_4ff573b7bc98b.service(Unknown Source)
at $HttpServletRequestHandler_4ff573b7bc98f.service(Unknown Source)
at
org.apache.tapestry5.modules.TapestryModule$1.service(TapestryModule.java:796)
at $HttpServletRequestHandler_4ff573b7bc98f.service(Unknown Source)
at $HttpServletRequestHandler_4ff573b7bc98a.service(Unknown Source)
at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:166)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:462)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
at
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Thread.java:745)
Reply | Threaded
Open this post in threaded view
|

Re: after migrating to T5.4 home page won't load

Thiago H. de Paula Figueiredo
On Thu, 30 Jun 2016 13:47:31 -0300, Qbyte Consulting  
<[hidden email]> wrote:

> I got jetty:run to launch the app, but when requesting the home page:
>
> HTTP ERROR 500
>
> Problem accessing /audit/. Reason:
>
>     Server Error
> Caused by:
>
> java.lang.AbstractMethodError

This very probably means you have mixed Tapestry versions in your  
classpath.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: after migrating to T5.4 home page won't load

Qbyte Consulting
Here are the effective dependencies:

<dependencies>
    <dependency>
      <groupId>org.apache.tapestry</groupId>
      <artifactId>tapestry-core</artifactId>
      <version>5.4.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.testng</groupId>
      <artifactId>testng</artifactId>
      <version>5.14.10</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>3.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.tapestry</groupId>
      <artifactId>tapestry-test</artifactId>
      <version>5.4.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.tapestry</groupId>
      <artifactId>tapestry-javadoc</artifactId>
      <version>5.4.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>se.unbound</groupId>
      <artifactId>tapestry-breadcrumbs</artifactId>
      <version>1.9</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>epulse.tapestry</groupId>
      <artifactId>tapx-datefield</artifactId>
      <version>1.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.got5</groupId>
      <artifactId>tapestry5-jquery</artifactId>
      <version>4.1.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.tapestry</groupId>
      <artifactId>tapestry-jpa</artifactId>
      <version>5.4.1</version>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <groupId>org.eclipse.persistence</groupId>
          <artifactId>javax.persistence</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
      <version>1.4.5</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.sourceforge.jtds</groupId>
      <artifactId>jtds</artifactId>
      <version>1.2.7</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <version>9.1-901.jdbc4</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>javax.annotation</groupId>
      <artifactId>jsr250-api</artifactId>
      <version>1.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.3.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>eu.epulse.auditmanager</groupId>
      <artifactId>sentinelplus</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.tapestry</groupId>
      <artifactId>tapestry-kaptcha</artifactId>
      <version>5.4.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.8.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-email</artifactId>
      <version>1.3.2</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>

On Thu, Jun 30, 2016 at 7:22 PM, Thiago H de Paula Figueiredo <
[hidden email]> wrote:

> On Thu, 30 Jun 2016 13:47:31 -0300, Qbyte Consulting <
> [hidden email]> wrote:
>
> I got jetty:run to launch the app, but when requesting the home page:
>>
>> HTTP ERROR 500
>>
>> Problem accessing /audit/. Reason:
>>
>>     Server Error
>> Caused by:
>>
>> java.lang.AbstractMethodError
>>
>
> This very probably means you have mixed Tapestry versions in your
> classpath.
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: after migrating to T5.4 home page won't load

Chris Poulsen
check mvn dependency:tree to see what is actually resolved....

--
Chris

On Thu, Jun 30, 2016 at 10:52 PM, Qbyte Consulting <
[hidden email]> wrote:

> Here are the effective dependencies:
>
> <dependencies>
>     <dependency>
>       <groupId>org.apache.tapestry</groupId>
>       <artifactId>tapestry-core</artifactId>
>       <version>5.4.1</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.testng</groupId>
>       <artifactId>testng</artifactId>
>       <version>5.14.10</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.easymock</groupId>
>       <artifactId>easymock</artifactId>
>       <version>3.0</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.tapestry</groupId>
>       <artifactId>tapestry-test</artifactId>
>       <version>5.4.1</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>javax.servlet</groupId>
>       <artifactId>servlet-api</artifactId>
>       <version>2.5</version>
>       <scope>provided</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.tapestry</groupId>
>       <artifactId>tapestry-javadoc</artifactId>
>       <version>5.4.1</version>
>       <scope>provided</scope>
>     </dependency>
>     <dependency>
>       <groupId>se.unbound</groupId>
>       <artifactId>tapestry-breadcrumbs</artifactId>
>       <version>1.9</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>epulse.tapestry</groupId>
>       <artifactId>tapx-datefield</artifactId>
>       <version>1.2</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.got5</groupId>
>       <artifactId>tapestry5-jquery</artifactId>
>       <version>4.1.1</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.tapestry</groupId>
>       <artifactId>tapestry-jpa</artifactId>
>       <version>5.4.1</version>
>       <scope>compile</scope>
>       <exclusions>
>         <exclusion>
>           <groupId>org.eclipse.persistence</groupId>
>           <artifactId>javax.persistence</artifactId>
>         </exclusion>
>       </exclusions>
>     </dependency>
>     <dependency>
>       <groupId>javax.mail</groupId>
>       <artifactId>mail</artifactId>
>       <version>1.4.5</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>net.sourceforge.jtds</groupId>
>       <artifactId>jtds</artifactId>
>       <version>1.2.7</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>postgresql</groupId>
>       <artifactId>postgresql</artifactId>
>       <version>9.1-901.jdbc4</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>javax.annotation</groupId>
>       <artifactId>jsr250-api</artifactId>
>       <version>1.0</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.commons</groupId>
>       <artifactId>commons-io</artifactId>
>       <version>1.3.2</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>eu.epulse.auditmanager</groupId>
>       <artifactId>sentinelplus</artifactId>
>       <version>1.0.0</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.tapestry</groupId>
>       <artifactId>tapestry-kaptcha</artifactId>
>       <version>5.4.1</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>commons-beanutils</groupId>
>       <artifactId>commons-beanutils</artifactId>
>       <version>1.8.3</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.commons</groupId>
>       <artifactId>commons-email</artifactId>
>       <version>1.3.2</version>
>       <scope>compile</scope>
>     </dependency>
>   </dependencies>
>
> On Thu, Jun 30, 2016 at 7:22 PM, Thiago H de Paula Figueiredo <
> [hidden email]> wrote:
>
> > On Thu, 30 Jun 2016 13:47:31 -0300, Qbyte Consulting <
> > [hidden email]> wrote:
> >
> > I got jetty:run to launch the app, but when requesting the home page:
> >>
> >> HTTP ERROR 500
> >>
> >> Problem accessing /audit/. Reason:
> >>
> >>     Server Error
> >> Caused by:
> >>
> >> java.lang.AbstractMethodError
> >>
> >
> > This very probably means you have mixed Tapestry versions in your
> > classpath.
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Tapestry, Java and Hibernate consultant and developer
> > http://machina.com.br
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>