Hi Alooosh,

It sounds like you have servlet version problem. Check that you have the 
servlet 3.0 API available on the classpath for Tomcat. 
javax.servlet.ServletContext.getSessionCookieConfig was introduced in v3.0. If 
you look for servlet.jar and remove it, that should do the trick.

Thanks,

Dec


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Alooosh Alsoumahi (via 
Magnolia Forums)
Sent: 30 December 2013 13:09
To: Magnolia User List
Subject: [magnolia-user] fail to start magnoliaAuthor context , please help

Hi experts , I have download the zip file of tomcat the latest version
and I set JAVA_HOME to my jdk , then I run the command magnolia_control.bat 
start
I got this error ,

INFO: Deploying web application directory 
C:\magnolia-5.2.1\apache-tomcat-7.0.47\webapps\magnoliaAuthor
Dec 30, 2013 3:34:06 PM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/magnoliaAuthor]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        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.deployDirectory(HostConfig.java:1120)
        at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoSuchMethodError: 
javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig;
        at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1374)
        at 
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1346)
        at 
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
        at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        ... 11 more

now I cannot access to  http://localhost:8080.
what I miss there and how to solve the problem , I am using windows 7 for my 
development 


thanks in advance

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=6e5832e1-32b3-4534-b141-663421014aee


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


Virgin Holidays Limited. Registered Office: Company Secretariat, The Office, 
Manor Royal, Crawley, West Sussex, RH10 9NU. Registered in England, No. 1873815.


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to