[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Help!What's this exception supposed to mean?  XML
Forum Index -> Terracotta 中文社区
Author Message
veronica

neo

Joined: 04/21/2013 23:10:11
Messages: 2
Offline

I use Ehcache-2.6.3 + Terracotta + Win7 + JDK6.0.31(64x)
When I started the Terracotta server everytime, it occured the same error.
Here's the terracotta-server log file:
Code:
 2013-04-22 14:11:22,375 [main] INFO com.terracottatech.dso - Statistics store: 'C:\Users\Mike\terracotta\server-statistics'.
 2013-04-22 14:11:22,383 [main] INFO com.terracottatech.console - Available Max Runtime Memory: 490MB
 2013-04-22 14:11:22,393 [main] ERROR com.tc.server.TCServerMain - Thread:Thread[main,5,main] got an uncaught exception. calling CallbackOnExitDefaultHandlers.
 java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
 	at com.tc.server.TCServerImpl.startHTTPServer(TCServerImpl.java:546)
 	at com.tc.server.TCServerImpl.access$500(TCServerImpl.java:92)
 	at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:471)
 	at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
 	at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:510)
 	at com.tc.server.TCServerImpl.start(TCServerImpl.java:271)
 	at com.tc.server.TCServerMain.main(TCServerMain.java:30)
 Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest
 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 	at java.security.AccessController.doPrivileged(Native Method)
 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 	... 7 more
 2013-04-22 14:11:22,395 [main] INFO com.tc.server.TCServerMain - ExitState : CallbackOnExitState[Throwable: class java.lang.NoClassDefFoundError; RestartNeeded: false]; AutoRestart: true
 

I've thought that there may be missing jar, but I can't find it.
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Which version of terracotta you are using , can you please share your tc-config.xml.

Rakesh Joshi
Senior Consultant
Terracotta.
veronica

neo

Joined: 04/21/2013 23:10:11
Messages: 2
Offline

Thanks for your answering. I'm using the ehcache-2.6.3. Sorry, I didn't use the configuration file. I just download the zip file (ehcache-2.6.3-distribution.tar.gz) from the EHCACHE website, and unzip it, then start the start-tc-server.bat file, but it doesn't work, however, other versions do.
 
Forum Index -> Terracotta 中文社区
Go to:   
Powered by JForum 2.1.7 © JForum Team