Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Voicetools » Intermittent Loop/Bad Node Traversal
Intermittent Loop/Bad Node Traversal [message #723890] Fri, 09 September 2011 19:10 Go to next message
Carlitos  is currently offline Carlitos Friend
Messages: 13
Registered: April 2011
Junior Member
Hi there,

(On VTP OpenVXML 4.0) I have a simple application (fits in one canva) that calls a subdialog (JSP). The app is deployed in Tomcat 5.5 When I call in the first time it works perfectly. If I call right away, after it comes back from the subdialog, it seems to then restart from the beginning (Entry Point) instead of following the "continue" link to the next node (a decision node that checks on the returns of the subdialog). If I wait around 30 seconds (after the previous call) and call again it seems to work fine again, etc... Any ideas what could be causing this? The subdialog is a production-quality JSP component.

Basic flow:

Entry->Variable Assignment->PlayPrompt->Script->Subdialog->Decision->Decision->Portal Entry->PlayPrompt->Return
Re: Intermittent Loop/Bad Node Traversal [message #731361 is a reply to message #723890] Fri, 30 September 2011 17:38 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Hi Carlos--

This is an interesting problem. If you're still dealing with it, we'd
like to help. Can you tell me which voice browser you're using, or
whether you're using a web-browser to step through the app, or what
exactly your process is? Also, if you could send me your exported .war,
that would be helpful.

Randy


In <j4dnm8$8nb$1@news.eclipse.org> Carlitos wrote:
> Hi there,
>
> (On VTP OpenVXML 4.0) I have a simple application (fits in one canva)
> that calls a subdialog (JSP). The app is deployed in Tomcat 5.5 When
> I call in the first time it works perfectly. If I call right away,
> after it comes back from the subdialog, it seems to then restart from
> the beginning (Entry Point) instead of following the "continue" link
> to the next node (a decision node that checks on the returns of the
> subdialog). If I wait around 30 seconds (after the previous call) and
> call again it seems to work fine again, etc... Any ideas what could
> be causing this? The subdialog is a production-quality JSP component.
Re: Intermittent Loop/Bad Node Traversal [message #731365 is a reply to message #731361] Fri, 30 September 2011 18:27 Go to previous messageGo to next message
Carlitos  is currently offline Carlitos Friend
Messages: 13
Registered: April 2011
Junior Member
Hi Randy,

The voice browser is Voice Genie 7.0.2 The exported war file is too big to upload here. If you want send me a private email and I will send it to you.

Thanks
Carlos
Re: Intermittent Loop/Bad Node Traversal [message #731415 is a reply to message #731365] Fri, 30 September 2011 21:45 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Hi Carlos, you can send it to me directly at randy@openmethods.com.

Thanks,
Randy


In <j65107$7dc$1@news.eclipse.org> Carlitos wrote:
> Hi Randy,
>
> The voice browser is Voice Genie 7.0.2 The exported war file is too
> big to upload here. If you want send me a private email and I will
> send it to you.
>
> Thanks
> Carlos
>
>
Re: Intermittent Loop/Bad Node Traversal [message #732287 is a reply to message #731415] Tue, 04 October 2011 12:26 Go to previous messageGo to next message
Carlitos  is currently offline Carlitos Friend
Messages: 13
Registered: April 2011
Junior Member
Randy, I did a file split using cygwin's split command. Attached are 4 files. Check if you can do a join (join.exe x00 x01 x02 x03)

Thanks
Carlos
  • Attachment: x00
    (Size: 1.93MB, Downloaded 413 times)
  • Attachment: x01
    (Size: 1.93MB, Downloaded 431 times)
  • Attachment: x02
    (Size: 1.93MB, Downloaded 414 times)
  • Attachment: x03
    (Size: 1.93MB, Downloaded 461 times)
Re: Intermittent Loop/Bad Node Traversal [message #733459 is a reply to message #731415] Tue, 04 October 2011 18:57 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Carlos, I've got your .war and was able to reassemble it. I'm going to
need the external .jsp, though -- my goal here is to recreate your issue,
if possible, and troubleshoot from there. It's worth mentioning that
the .war you sent was fairly different from the workspace, but they seem
similar enough to be relevant.

Thanks,
Randy


In <20110930165709883-0500@news.eclipse.org> Randy Childers wrote:
> Hi Carlos, you can send it to me directly at randy@openmethods.com.
>
> Thanks,
> Randy
Re: Intermittent Loop/Bad Node Traversal [message #733460 is a reply to message #733459] Tue, 04 October 2011 19:21 Go to previous messageGo to next message
Carlitos  is currently offline Carlitos Friend
Messages: 13
Registered: April 2011
Junior Member
Hi Randy,

ok, it had been a while since I had posted the project and it seems that I may have changed it after I posted it here (and thus the difference between the project and the war). However, the issue never went away!

Hmmm...I cannot give you the JSP as is per company policy. I think we are going to have to somehow fake it. I can tell you that it is a subdialog and that it returns 4 values (as you can see from the bubble that calls it). You can try a stub JSP (with a subdialog that just returns the expected 4 values) it to see if you can duplicate the issue. Let me know and I can try as well.

I suspect the issue is more in the interaction between the exported code and the JSP and not so much what the JSP does (the interaction with the VB).

Thanks
Carlos
Re: Intermittent Loop/Bad Node Traversal [message #733474 is a reply to message #733460] Tue, 04 October 2011 20:07 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Carlos, I expect you're right about the issue being in the interaction,
not the jsp itself. Could you make a copy of that .jsp and then delete
the guts of it, and see if you can replicate the issue on your system
with this hollowed-out file? And then if you can, send that over?
There are a lot of variables here, but this seems like the best way to
isolate a few of them before proceeding -- while keeping your company's
IP intact.

thanks,
Randy


In <j6flko$c81$1@news.eclipse.org> Carlitos wrote:
> Hi Randy,
>
> ok, it had been a while since I had posted the project and it seems
> that I may have changed it after I posted it here (and thus the
> difference between the project and the war). However, the issue never
> went away!
>
> Hmmm...I cannot give you the JSP as is per company policy. I think we
> are going to have to somehow fake it. I can tell you that it is a
> subdialog and that it returns 4 values (as you can see from the bubble
> that calls it). You can try a stub JSP (with a subdialog that just
> returns the expected 4 values) it to see if you can duplicate the
> issue. Let me know and I can try as well.
>
> I suspect the issue is more in the interaction between the exported
> code and the JSP and not so much what the JSP does (the interaction
> with the VB).
>
> Thanks
> Carlos
>
>
Re: Intermittent Loop/Bad Node Traversal [message #733819 is a reply to message #733474] Wed, 05 October 2011 17:53 Go to previous messageGo to next message
Carlitos  is currently offline Carlitos Friend
Messages: 13
Registered: April 2011
Junior Member
As we both suspected Smile Attached a simpler app that generates the issue. I will attached the stub subdialog project in a different message.
  • Attachment: x00
    (Size: 1.83MB, Downloaded 407 times)
  • Attachment: x01
    (Size: 1.83MB, Downloaded 401 times)
  • Attachment: x02
    (Size: 1.83MB, Downloaded 403 times)
  • Attachment: x03
    (Size: 1.83MB, Downloaded 412 times)
  • Attachment: x04
    (Size: 1.83MB, Downloaded 407 times)
Re: Intermittent Loop/Bad Node Traversal [message #733820 is a reply to message #733819] Wed, 05 October 2011 17:54 Go to previous messageGo to next message
Carlitos  is currently offline Carlitos Friend
Messages: 13
Registered: April 2011
Junior Member
Here's the stub subdialog project whose JSP only contains the following lines:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE VXML PUBLIC "-//W3C//DTD VOICEXML 2.1//EN" "http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.dtd">
<vxml xml:lang="en-US" version="2.1" xmlns="http://www.w3.org/2001/vxml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/vxml http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.xsd">

<form id="CommonDialog">

<var name="returnvalue" expr="'yes'"/>
<var name="returncode" expr="'SUCCESS'"/>
<var name="failurereason" expr="0"/>
<var name="noinputs" expr="0"/>

<block>
<return namelist="returnvalue returncode failurereason noinputs"/>
</block>

</form>
</vxml>
Re: Intermittent Loop/Bad Node Traversal [message #733912 is a reply to message #733820] Wed, 05 October 2011 22:13 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Hi Carlos--

This appears to be the wrong type of .war file. It unpacks, but has the
wrong internal structure. For example, there's a META-INF folder (
unexpected) and it's missing the web.xml file and the the entire eclipse
folder structure (which includes the OpenVXML plugins and your app).
Perhaps it was accidentally exported as some other type of output?

Randy


In <j6i4uv$sdj$1@news.eclipse.org> Carlitos wrote:
> Here's the stub subdialog project whose JSP only contains the
> following lines:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE VXML PUBLIC "-//W3C//DTD VOICEXML 2.1//EN" "http://www.w3.
> org/TR/2007/REC-voicexml21-20070619/vxml.dtd"> <vxml xml:lang="en-US"
> version="2.1" xmlns="http://www.w3.org/2001/vxml" xmlns:xsi="http://
> www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.
> org/2001/vxml http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.
> xsd">
>
> <form id="CommonDialog">
>
> <var name="returnvalue" expr="'yes'"/>
> <var name="returncode" expr="'SUCCESS'"/>
> <var name="failurereason" expr="0"/>
> <var name="noinputs" expr="0"/>
>
> <block>
> <return namelist="returnvalue returncode failurereason
> noinputs"/> </block> </form> </vxml>
Re: Intermittent Loop/Bad Node Traversal [message #734449 is a reply to message #733474] Fri, 07 October 2011 20:03 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Carlos, I worked a bit with your project and the neutered .jsp --
everything worked fine. I suspect this is some sort of issue with the
interaction between Voice Genie and OpenVXML. Can you turn the logging
up for VG, capture a single call where this is happening, and then post
those logs?

Thanks,
Randy
Re: Intermittent Loop/Bad Node Traversal [message #735073 is a reply to message #734449] Mon, 10 October 2011 20:43 Go to previous messageGo to next message
Carlitos  is currently offline Carlitos Friend
Messages: 13
Registered: April 2011
Junior Member
Hi Randy,

ok, thanks for you analysis. Looking closely at the VoiceGenie logs now I see that it is somehow caching things in memory. For example:

2011-10-10/15:17:41.490 METRIC 000200E9-1000C817 wf_arrived s (memory):http://BEDRMT5766:8080/MobileAlerts/-/next?75f366851cf44c5f8cf2b03497aab40a=success.filled



I'm not sure why VG would cache a URL with a query string on it. Anyways, now I need to figure out how to control VoiceGenie's in-memory caching Smile If you know or anyone in the forum knows how to do this please let me know.

Thanks,
Carlos
Re: Intermittent Loop/Bad Node Traversal [message #735100 is a reply to message #735073] Mon, 10 October 2011 22:19 Go to previous message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Hi Carlos--

I'm afraid I don't know offhand how to change that behavior in VG, but
we have encountered this sort of thing before and so have created a
mechanism for dealing with platform-specific weirdness -- we call it the
Platform Abstraction Layer. It can dynamically change the outgoing VXML
as needed to tweak it for a given platform. But here's the catch: none
of the platform abstraction layers we've created are part of the VTP.
They are for sale, though; if you're interested in pursuing this,
contact our salesman, Thomas Trunnell <thomas@openmethods.com>.

Good luck,
Randy


In <j6vknn$it6$1@news.eclipse.org> Carlitos wrote:
> Hi Randy,
>
> ok, thanks for you analysis. Looking closely at the VoiceGenie logs
> now I see that it is somehow caching things in memory. For example:
>
> 2011-10-10/15:17:41.490 METRIC 000200E9-1000C817 wf_arrived s (memory):
> http://BEDRMT5766:8080/MobileAlerts/-/next?
> 75f366851cf44c5f8cf2b03497aab40a=success.filled
>
>
>
> I'm not sure why VG would cache a URL with a query string on it.
> Anyways, now I need to figure out how to control VoiceGenie's in-
> memory caching :) If you know or anyone in the forum knows how to do
> this please let me know.
>
> Thanks,
> Carlos
>
>
Previous Topic:WAV files played in a slow motion
Next Topic:Adding New Dialogs in OpenVXML 4.0
Goto Forum:
  


Current Time: Sat Apr 20 03:15:15 GMT 2024

Powered by FUDForum. Page generated in 0.03821 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top