ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim OConnell (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CTAKES-319) YTEX Web Semantic Search not starting in Linux
Date Thu, 23 Oct 2014 21:05:34 GMT

     [ https://issues.apache.org/jira/browse/CTAKES-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim OConnell closed CTAKES-319.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.2.1

I just built the current 3.2.1 and this is no longer an issue.  

> YTEX Web Semantic Search not starting in Linux
> ----------------------------------------------
>
>                 Key: CTAKES-319
>                 URL: https://issues.apache.org/jira/browse/CTAKES-319
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-ytex-web
>    Affects Versions: 3.2.0
>         Environment: Linux (Ubuntu Server 14.04) and Java 1.7.0_67
>            Reporter: Tim OConnell
>            Priority: Minor
>             Fix For: 3.2.1
>
>
> The ytex jetty web app (via ytexweb.sh) won't launch in Linux (but works fine in Windows).

> It looks like it's because javax/el/ExpressionFactory.class exists in both el-api-2.2.jar
and in jsp-api-2.1.jar.  By getting rid of jsp-api-2.1.jar and replacing it with jsp-api-2.2.jar,
it works fine.  This file comes as part of the ytex libraries.
> Here's the output from jetty:
> Sep 27, 2014 1:12:54 AM com.sun.faces.config.ConfigureListener contextInitialized
> SEVERE: Critical error during deployment:
> java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
> 	at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:108)
> 	at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:693)
> 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:243)
> 	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:794)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:435)
> 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:786)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:285)
> 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1324)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:738)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:490)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118)
> 	at org.eclipse.jetty.server.Server.start(Server.java:342)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:290)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.runner.Runner.run(Runner.java:519)
> 	at org.eclipse.jetty.runner.Runner.main(Runner.java:567)
> 27 Sep 2014 00:37:25  WARN WebAppContext - Failed startup of context o.e.j.w.WebAppContext@67c2a1c7{/,file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/,STARTING}{file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/}
> java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
> 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
> 	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:794)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:435)
> 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:786)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:285)
> 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1324)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:738)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:490)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118)
> 	at org.eclipse.jetty.server.Server.start(Server.java:342)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:290)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> 	at org.eclipse.jetty.runner.Runner.run(Runner.java:519)
> 	at org.eclipse.jetty.runner.Runner.main(Runner.java:567)
> Caused by: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
> 	at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:108)
> 	at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:693)
> 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:243)
> 	... 25 more
> 27 Sep 2014 01:12:54 DEBUG AbstractLifeCycle - STARTED o.e.j.w.WebAppContext@52b8ed23{/,file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/,UNAVAILABLE}{file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message