I am experiencing an problem with deploying a VTP application. Sometimes it
deploys OK and sometimes it doesn't. I don't understand why this is happening.
Any help you could give me would be greatly appreciated.
I just built the current baseline as of Aug 11, 2009 and am running the desktop
OK but I am having trouble with the Tomcat deployment. When I try to deploy the
call flow I get an error from Tomcat that complains about not finding the
javax.servlet package which to my understanding is in
$CATALINA_HOME/lib/servlet-api.jar. I see that jar file in my setup.
ipm21.ts1:/usr2/java_inf/tomcat6.0.16/lib> ls -al
$CATALINA_HOME/lib/servlet-api.jar
-rw-rw-rw- 1 root root 84835 Jun 17 2008
/usr2/java_inf/tomcat6.0.16/lib/servlet-api.jar
The error I get in the Tomcat log when trying to deploy the WAR file is:
INFO: Undeploying context [/Test5]
INFO |2009/08/11|15:28:48> Host Stopped
Aug 11, 2009 3:28:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive Test5.war
java.lang.NoClassDefFoundError: javax/servlet/ServletOutputStream
at
org.eclipse.vtp.framework.engine.osgi.HttpConnectorManager$HttpConnectorInstance.<init>(HttpConnectorManager.java:262)
at
org.eclipse.vtp.framework.engine.osgi.HttpConnectorManager.createHttpConnector(HttpConnectorManager.java:125)
at
org.eclipse.vtp.framework.engine.osgi.HttpConnectorManager.selectingService(HttpConnectorManager.java:165)
at
org.eclipse.vtp.framework.util.SingletonTracker.selectSingleton(SingletonTracker.java:421)
at
org.eclipse.vtp.framework.util.SingletonTracker.addingService(SingletonTracker.java:244)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
...
However upon restarting Tomcat the application deploys OK and I see the
voiceXML data from the VTP framework when I hit the URL:
THE BASE URL IS: http://ipm21.ts1:8080/Test5/TestApp
THE PARAMETERS ARE: null
session was null
INFO |2009/08/11|15:28:18|p=TestApp|s=BFB8419DC57EA6E1B3232EC639E3F23A> Session
"BFB8419DC57EA6E1B3232EC639E3F23A" created.
INFO |2009/08/11|15:28:18|p=TestApp|s=BFB8419DC57EA6E1B3232EC639E3F23A|e=0001>
Execution "1" Started
INFO |2009/08/11|15:28:18|p=TestApp|s=BFB8419DC57EA6E1B3232EC639E3F23A|e=0001>
Action "Begin" Starting
Locating language:
org.eclipse.vtp.framework.interactions.voice.interaction:English
org.eclipse.vtp.framework.interactions.voice.interaction:English
Locating language:
org.eclipse.vtp.framework.interactions.voice.interaction:English
org.eclipse.vtp.framework.interactions.voice.interaction:English
Locating language:
org.eclipse.vtp.framework.interactions.voice.interaction:English
org.eclipse.vtp.framework.interactions.voice.interaction:English
Locating language:
org.eclipse.vtp.framework.interactions.voice.interaction:English
org.eclipse.vtp.framework.interactions.voice.interaction:English
INFO |2009/08/11|15:28:18|p=TestApp|s=BFB8419DC57EA6E1B3232EC639E3F23A|e=0001>
Requesting initial variables.
INFO |2009/08/11|15:28:18|p=TestApp|s=BFB8419DC57EA6E1B3232EC639E3F23A|e=0001>
Action "Begin" Ended
INFO |2009/08/11|15:28:18|p=TestApp|s=BFB8419DC57EA6E1B3232EC639E3F23A|e=0001>
Execution "1" Ended
<?xml version="1.0" encoding="UTF-8"?>^M
^M
<vxml^M
xmlns="http://www.w3.org/2001/vxml"^M
version="2.0">^M
<property^M
name="documentmaxage"^M
value="0" />^M
<property^M
name="documentmaxstale"^M
value="0" />^M
<form^M
id="InitialForm"^M
scope="document">^M
<var^M
name="PLATFORM_ANI"^M
expr="''" />^M
<var^M
name="PLATFORM_DNIS"^M
expr="''" />^M
<block^M
name="InitialBlock">^M
<assign^M
name="PLATFORM_ANI"^M
expr="session.connection.remote.uri" />^M
<assign^M
name="PLATFORM_DNIS"^M
expr="session.connection.local.uri" />^M
<submit^M
next="/Test5/-/next?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled"^M
method="get"^M
namelist="PLATFORM_ANI PLATFORM_DNIS" />^M
</block>^M
</form>^M
</vxml>^M
_______________________________________________
vtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/vtp-dev