cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1908
Views
8
Helpful
8
Replies
Highlighted
Beginner

CVP / VXML v10.5 Call Studio Email Element Error

Hi.. We are trying to use the Call Studio Email element in a really simple VXML application. We have followed the guides exactly however keep getting an error. Here is the content of context.xml:

<Context>

    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <Manager pathname="" />
<Resource name="mail/emailtest" type="javax.mail.Session" mail.smtp.host="198.207.88.116"/>

</Context>

and here is the error we see:

10.100.206.6.1438594446636.0.LAB_EMAIL,08/03/2015 10:34:06.668, The error was: A built-in element encountered an exception of type java.lang.ClassCastException. The root cause was: java.lang.ClassCastException: javax.mail.Session cannot be cast to javax.mail.Session

com.audium.server.AudiumException: A built-in element encountered an exception of type java.lang.ClassCastException.

at com.audium.server.voiceElement.ActionElementBase.service(ActionElementBase.java:416)

at com.audium.server.controller.Controller.goToAction(Controller.java:3927)

at com.audium.server.controller.Controller.goToElement(Controller.java:3563)

at com.audium.server.controller.Controller.enterVoiceApplication(Controller.java:1495)

at com.audium.server.controller.Controller.newCall(Controller.java:1381)

at com.audium.server.controller.Controller.doPost(Controller.java:705)

at com.audium.server.controller.Controller.doGet(Controller.java:487)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1600)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:744)

Caused by: java.lang.ClassCastException: javax.mail.Session cannot be cast to javax.mail.Session

at com.audium.server.action.email.EmailActionUtil.getMailSession(EmailActionUtil.java:73)

at com.audium.server.action.email.EmailActionUtil.doAction(EmailActionUtil.java:111)

at com.audium.server.action.email.EmailAction.doAction(EmailAction.java:136)

at com.audium.server.voiceElement.ActionElementBase.service(ActionElementBase.java:390)

... 23 more

Any tips would be appreciated!

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Rising star

Re: CVP / VXML v10.5 Call Studio Email Element Error

Hi,

The fix for the Studio Email element to work in CVP 10.5 and 11 is to delete the file

C:\Cisco\CVP\VXMLServer\Tomcat\webapps\CVP\WEB-INF\lib\mail.jar and restart VXML Server service.

That fix is somewhere in some TAC case, but I didn't find it, someone else found it for me.

I hope posting it here makes it easier for people to find.

Thanks Kristian for finding this!

8 REPLIES 8
Rising star

Re: CVP / VXML v10.5 Call Studio Email Element Error

I've tested the email element with CVP 10.5 also (and 11) and received

the same error(s).

I think there's a bug.

Can someone at Cisco please test this and come up with a fix?

Beginner

Re: CVP / VXML v10.5 Call Studio Email Element Error

Thanks for responding Janine.

Can someone from Cisco comment please?

Rising star

Re: CVP / VXML v10.5 Call Studio Email Element Error

Hi,

The fix for the Studio Email element to work in CVP 10.5 and 11 is to delete the file

C:\Cisco\CVP\VXMLServer\Tomcat\webapps\CVP\WEB-INF\lib\mail.jar and restart VXML Server service.

That fix is somewhere in some TAC case, but I didn't find it, someone else found it for me.

I hope posting it here makes it easier for people to find.

Thanks Kristian for finding this!

Beginner

Re: CVP / VXML v10.5 Call Studio Email Element Error

Glad I could help

Beginner

Re: CVP / VXML v10.5 Call Studio Email Element Error

Thanks both! Workaround tested and problem solved...

Beginner

Re: CVP / VXML v10.5 Call Studio Email Element Error

The Cisco TAC Feedback was the following:

“For your reference, a defect has been already opened to well document “Email element configuration steps” and this is fixed in 11.(0). The bug ID is CSCuu90065.”

Enthusiast

Re: CVP / VXML v10.5 Call Studio Email Element Error

Hi,

For this, are we able to see any errors returned from SMTP if the request was unsuccessful? What we are seeing at the moment is the request to SMTP is successful but the email doesnt go out

Thanks!

-JT-

Beginner

Re: CVP / VXML v10.5 Call Studio Email Element Error

Check the following:

  1. Does Wireshark show traffic leaving on Port 25?
  2. Does the IP address/DNS allow a telnet on port 25 to it?
  3. Also check the Antivirus at least McAfee default profile blocks port 25 traffic?

Thanks Tim

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.