Author Message
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
Hi Joel,

Sometimes when i schedule a conference i get following error :

"Error 500: javax.ejb.EJBException: See nested exception; nested exception is: SchedConfException [result=UNRECOGNIZED_SERVER_ERROR]"


I can not predict this error as sometimes it works and sometimes it throws this error.
Needed your inputs on urgent basis.

Can you please let me know why this error occur and how to prevent it.

Looking forward for your earlier response..

Please find the Attached ScheduleConferene COde
Thanks and Regards,

Swapnil.
Filename ScheduleConferenceImpl.java [Disk] Download
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Hi Swapnil, can you please ssh into your EDP (CE) server using the cust login and run the following command?

ce dlogv ScopiaConnector

Please reply back then with any Exceptions that you see there, along some surrounding logs.
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
2015-06-03 02:54:43,688 [SIBJMSRAThreadPool : 0] ScopiaConnector ERROR - ScopiaConnector-3.0.3.0.303008 - send: Attempt to connect to server failed; will retry operation
2015-06-03 02:54:43,712 [SIBJMSRAThreadPool : 0] ScopiaConnector ERROR - ScopiaConnector-3.0.3.0.303008 - send: Attempt to connect to server failed; no more attempts will be made
2015-06-03 02:54:43,712 [SIBJMSRAThreadPool : 0] ScopiaConnector ERROR - ScopiaConnector-3.0.3.0.303008 - execute There was a problem communicating with the Scopia server
org.apache.http.client.HttpResponseException: Internal Server Error
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:67)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:52)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:218)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:136)
at com.avaya.zephyr.services.connector.scopia.http.HttpRequestHandlerImpl.send(HttpRequestHandlerImpl.java:140)
at com.avaya.zephyr.services.connector.scopia.xmlsifter.XmlSifterAbstract.executeBody(XmlSifterAbstract.java:134)
at com.avaya.zephyr.services.connector.scopia.xmlsifter.RawQuery.execute(RawQuery.java:37)
at com.avaya.zephyr.services.connector.scopia.QueueReader.handleReceive(QueueReader.java:135)
at com.avaya.zephyr.services.connector.scopia.QueueReader.messageReceived(QueueReader.java:86)
at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
at com.avaya.zephyr.collaboration.bus.deployment.util.MethodInvokerImpl.invoke(MethodInvokerImpl.java:72)
at com.avaya.zephyr.collaboration.bus.deployment.util.MethodInvokerImpl.invokeAll(MethodInvokerImpl.java:82)
at com.avaya.zephyr.collaboration.bus.deployment.JmsListener1.onMessage(JmsListener1.java:116)



I guess, Correct me if i am wrong ,This is because Scopia server fail to respond sometimes to request.

I would also like to know which method of SchedConf Interface will give me Conference GID
1)getConfID
2)getNumberAsString
3)getDialIn
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
This error is sporadic.


""Error 500: javax.ejb.EJBException: See nested exception; nested exception is: SchedConfException [result=UNRECOGNIZED_SERVER_ERROR] "

Logs of Scopia Connector is as Follows :

2015-06-04 06:39:53,848 [SIBJMSRAThreadPool : 0] ScopiaConnector INFO - ScopiaConnector-3.0.3.0.303008 - Scopia Connector is running
2015-06-04 23:30:48,327 [SIBJMSRAThreadPool : 0] ScopiaConnector INFO - ScopiaConnector-3.0.3.0.303008 - Scopia Connector is running
2015-06-05 00:16:58,518 [SIBJMSRAThreadPool : 0] ScopiaConnector INFO - ScopiaConnector-3.0.3.0.303008 - Scopia Connector is running
2015-06-05 01:16:44,997 [SIBJMSRAThreadPool : 0] ScopiaConnector INFO - ScopiaConnector-3.0.3.0.303008 - Scopia Connector is running
2015-06-05 02:36:54,530 [SIBJMSRAThreadPool : 0] ScopiaConnector INFO - ScopiaConnector-3.0.3.0.303008 - Scopia Connector is running
2015-06-05 03:08:10,427 [SIBJMSRAThreadPool : 0] ScopiaConnector INFO - ScopiaConnector-3.0.3.0.303008 - Scopia Connector is running



Logs Of Error as Follows :

2015-06-05 03:44:26,903 [WebContainer : 3] ConfNew INFO - ConfNew-1.0.0.0.0 - Error Creating Conference :
javax.ejb.EJBException: See nested exception; nested exception is: SchedConfException [result=UNRECOGNIZED_SERVER_ERROR]
at com.ibm.ejs.container.util.ExceptionUtil.EJBException(ExceptionUtil.java:475)
at com.ibm.ejs.container.util.ExceptionUtil.EJBException(ExceptionUtil.java:365)
at com.ibm.ejs.container.BusinessExceptionMappingStrategy.mapException(BusinessExceptionMappingStrategy.java:392)
at com.ibm.ejs.container.BusinessExceptionMappingStrategy.setUncheckedException(BusinessExceptionMappingStrategy.java:554)
at com.ibm.ejs.container.EJSDeployedSupport.setUncheckedLocalException(EJSDeployedSupport.java:567)
at com.avaya.collaboration.conference.scheduled.EJSLocal0SLBeanInvokerImpl_9a4f3324.scheduleAsBean(EJSLocal0SLBeanInvokerImpl_9a4f3324.java)
at com.avaya.collaboration.conference.scheduled.BeanInvokerManager.scheduleAsBean(BeanInvokerManager.java:104)
at com.avaya.collaboration.conference.scheduled.SchedConfImpl.schedule(SchedConfImpl.java:309)
at com.gslab.ConfNew.ScheduleConferenceImpl.scheduleConference(ScheduleConferenceImpl.java:27)
at com.gslab.ConfNew.MyServlet.doPost(MyServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3878)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:981)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:461)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:528)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:314)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:285)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
Caused by: SchedConfException [result=UNRECOGNIZED_SERVER_ERROR]
at com.avaya.collaboration.conference.scheduled.XmlConverter.XmlToScheduleAConfResultImpl.unmarshall(XmlToScheduleAConfResultImpl.java:74)
at com.avaya.collaboration.conference.scheduled.XmlConverter.XmlToScheduleAConfResultImpl.updateSchedConf(XmlToScheduleAConfResultImpl.java:45)
at com.avaya.collaboration.conference.scheduled.SchedConfImpl.scheduleAsBean(SchedConfImpl.java:388)
at com.avaya.collaboration.conference.scheduled.BeanInvokerImpl.scheduleAsBean(BeanInvokerImpl.java:26)
... 30 more



Requires your input on urgent basis.
How should i prevent such sporadic behavior?
Sometimes it works fluently and sometime it throws this error.




I also want to know which method of SchedConf Interface will give me Conference GID :
  • getConfId()
    getNumberAsAString()
    getNumber()
    getDialIn()



  • I tried each of this method and still Invite_Participant_Request Gives me same response i.e ConferenceNotFound

    See Invite_Participant_Response returned by Scopia :

    Scopia Response Invite Participants : <?xml version="1.0" encoding="UTF-8"?><MCU_XML_API><Version>8.0</Version><Response><Invite_Participant_Response><RequestID> 12345 </RequestID><ConfGID>2653</ConfGID><Invite_Part_List><Invite_Part><PID></PID><DialStr>2304</DialStr><ReturnValue>ConferenceNotFound</ReturnValue></Invite_Part><Invite_Part><PID></PID><DialStr>2300</DialStr><ReturnValue>ConferenceNotFound</ReturnValue></Invite_Part><Invite_Part><PID></PID><DialStr>2301</DialStr><ReturnValue>ConferenceNotFound</ReturnValue></Invite_Part></Invite_Part_List><ReturnValue>OK</ReturnValue></Invite_Participant_Response></Response></MCU_XML_API>




    Please reply back as soon as possible.
    Looking forward for your earlier response

    JeffreyBlatt
    Joined: Jul 3, 2015
    Messages: 2
    Offline
    Swapnil: It looks like your ScopiaConnector log is in INFO mode. FINER mode may provide the detail needed to reveal the root cause.
    Go to:   
    Mobile view