Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Voicetools » Deploying an vtp project on Apache Tomcat fail
Deploying an vtp project on Apache Tomcat fail [message #579275] Mon, 16 August 2010 06:53 Go to next message
carl  is currently offline carl
Messages: 4
Registered: August 2010
Junior Member
Hello,
I am trying to deploy an vtp project code on Apache Tomcat server. But it is fail,the log is:

信息: Deploying web application archive dependtest.war
Listening on port 10005 ...
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.ge tSocketStream(FrameworkConsole.j
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:221)
at java.lang.Thread.run(Thread.java:619)
java.lang.NoClassDefFoundError: javax/servlet/ServletOutputStream
at org.eclipse.vtp.framework.engine.osgi.HttpConnectorManager$H ttpConnectorInstance. <init>(Http
at org.eclipse.vtp.framework.engine.osgi.HttpConnectorManager.c reateHttpConnector(HttpConnector
at org.eclipse.vtp.framework.engine.osgi.HttpConnectorManager.s electingService(HttpConnectorMan
at org.eclipse.vtp.framework.util.SingletonTracker.selectSingle ton(SingletonTracker.java:421)
at org.eclipse.vtp.framework.util.SingletonTracker.addingServic e(SingletonTracker.java:244)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(Ser viceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialSer vices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.jav a:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.jav a:274)
at org.eclipse.vtp.framework.engine.osgi.ProcessEngineManager.c reateProcessEngine(ProcessEngine
at org.eclipse.vtp.framework.engine.osgi.ProcessEngineManager.s electingService(ProcessEngineMan
at org.eclipse.vtp.framework.util.SingletonTracker.selectSingle ton(SingletonTracker.java:421)
at org.eclipse.vtp.framework.util.SingletonTracker.addingServic e(SingletonTracker.java:244)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(Ser viceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialSer vices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.jav a:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.jav a:274)
at org.eclipse.vtp.framework.engine.osgi.Activator.start(Activa tor.java:336)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.j
at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:50
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.j
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletOutputStream
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:48
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:8
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316 )
... 31 more

but if i wait for several minutes, i restart tomcat. It is success. I :roll: f i deploy a new project ,it is also fail,but the old project is deployed success.
please help me , thanks!
Re: Deploying an vtp project on Apache Tomcat fail [message #579295 is a reply to message #579275] Mon, 16 August 2010 20:36 Go to previous message
carl  is currently offline carl
Messages: 4
Registered: August 2010
Junior Member
My tomcat's version is 6.0. I have used many methods to resolve this problem,but it is always fail. Who can give me some advices?
Thanks!
Previous Topic:Deploying an vtp project on Apache Tomcat fail
Next Topic:Changing xml:lang attribute for TTS speak requests
Goto Forum:
  


Current Time: Sun Apr 20 23:04:03 EDT 2014

Powered by FUDForum. Page generated in 0.01603 seconds