Oscar Tomcat Deployment Error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Oscar Tomcat Deployment Error

mloubani
Hey Everyone,

So I've tried to depy Oscar 15 (master branch from bitbucket) on tomcat7 and have been slowly working through the resulting errors on catalina.out.

The first couple were Database errors which I was able to fix by going back through the sql init file, but this latest error has me stumped.

Here is a sampling of my catalina.out:
Jul 21, 2017 3:43:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/oscar.war
log4j:WARN Continuable parsing error 166 and column 23
log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,throwableRenderer?,appender*,plugin*,(category|logger)*,root?,(categoryFactory|logge$
2017-07-21 15:43:39,928 INFO  [Startup:77] looking up /usr/share/tomcat7/oscar.properties
2017-07-21 15:43:39,931 INFO  [Startup:82] loading properties from /usr/share/tomcat7/oscar.properties
2017-07-21 15:43:39,931 INFO  [Startup:128] BILLING REGION : ON
2017-07-21 15:43:39,932 INFO  [Startup:129] DB PROPS: Username :root db name: oscar_mcmaster?zeroDateTimeBehavior=round&useOldAliasMetadataBehavior=true&jdbcCompliantTr$
2017-07-21 15:43:39,932 INFO  [OscarSpringContextLoaderListener:39] Creating OscarContextLoader
Jul 21, 2017 3:43:39 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jul 21, 2017 3:43:39 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.oscarehr.common.web.OscarSpringContextLoaderListener
java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

        at org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:155)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:194)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)

Any ideas as to what is causing the error would be greatly appreciated.

Thanks,
M.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Oscar Tomcat Deployment Error

Marc Dumontier
hi..there's a fix in place..should be merged tomorrow.


On Fri, Jul 21, 2017 at 4:07 PM, mloubani <[hidden email]> wrote:
Hey Everyone,

So I've tried to depy Oscar 15 (master branch from bitbucket) on tomcat7 and
have been slowly working through the resulting errors on catalina.out.

The first couple were Database errors which I was able to fix by going back
through the sql init file, but this latest error has me stumped.

Here is a sampling of my catalina.out:
Jul 21, 2017 3:43:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/oscar.war
log4j:WARN Continuable parsing error 166 and column 23
log4j:WARN The content of element type "log4j:configuration" must match
"(renderer*,throwableRenderer?,appender*,plugin*,(category|logger)*,root?,(categoryFactory|logge$
2017-07-21 15:43:39,928 INFO  [Startup:77] looking up
/usr/share/tomcat7/oscar.properties
2017-07-21 15:43:39,931 INFO  [Startup:82] loading properties from
/usr/share/tomcat7/oscar.properties
2017-07-21 15:43:39,931 INFO  [Startup:128] BILLING REGION : ON
2017-07-21 15:43:39,932 INFO  [Startup:129] DB PROPS: Username :root db
name:
oscar_mcmaster?zeroDateTimeBehavior=round&useOldAliasMetadataBehavior=true&jdbcCompliantTr$
2017-07-21 15:43:39,932 INFO  [OscarSpringContextLoaderListener:39] Creating
OscarContextLoader
Jul 21, 2017 3:43:39 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jul 21, 2017 3:43:39 PM org.apache.catalina.core.StandardContext
listenerStart
*SEVERE: Exception sending context initialized event to listener instance of
class org.oscarehr.common.web.OscarSpringContextLoaderListener
java.lang.NoSuchMethodError:
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V*
        at
org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:155)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:194)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
        at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)

Any ideas as to what is causing the error would be greatly appreciated.

Thanks,
M.




--
View this message in context: http://oscarmcmaster.16.x6.nabble.com/Oscar-Tomcat-Deployment-Error-tp5009879.html
Sent from the oscarmcmaster-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oscarmcmaster-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



--

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oscarmcmaster-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel
Loading...