Return channel problem

Hi guys,
I have a little problem.
I am tring to use the return channel. I have an ADB STB.
My main class try to create the connection using the singleton class RCInterfaceManager. It get a ConnectionRCInterface object and then I use reserve and connect method to establish the connection.
My main class implements the ResourceClient interface so I pass this object as paramether in the reserve calling.
I set the new connection target using the ConnectionParameters class.
The problem is that the application try to dial with the external server and after a few second receives a PPP busy error in the log file.
What is wrong?
Thanks to all

Hi guys,
I have a little problem.
I am tring to use the return channel. I have an ADB
STB.
My main class try to create the connection using the
singleton class RCInterfaceManager. It get a
ConnectionRCInterface object and then I use reserve
and connect method to establish the connection.
My main class implements the ResourceClient interface
so I pass this object as paramether in the reserve
calling.
I set the new connection target using the
ConnectionParameters class.
The problem is that the application try to dial with
the external server and after a few second receives a
PPP busy error in the log file.
What is wrong?
Thanks to allHi
I am trying to get connection with the return channel with a development STB(ADB). I am using this code:
RCInterfaceManager rcm =
RCInterfaceManager.getInstance();
RCInterface[] interfaces = rcm.getInterfaces();
if (interfaces[0] instanceof ConnectionRCInterface) {
ConnectionRCInterface myInterface;
myInterface = (ConnectionRCInterface)interfaces[0];
try {
myInterface.reserve();
ConnectionParameters myConnectionParameters;
myConnectionParameters = new ConnectionParameters
("0199604235697", "username", "password");
myInterface.setTarget(myConnectionParameters);
myInterface.connect();
myInterface.disconnect();
myInterface.release();
} catch (permissionDeniedException e) {
return;
else {
} Here there is the log file:
[1#1] Trying to connect default return channel...
connected.
link up...
waiting up to 30s for IPCP to come up...
ppp: PPP_EV_PEER_REFUSE
Disconnecting modem. IPCP is down.
ppp: PPP_EV_ALREADY_CLOSED
[1#1] Default return channel connection failed.
[1#1:2] java.net.SocketException: ECONNABORTED - Software caused connection abort
[1#1:2] at java.net.PlainSocketImpl.doConnect()
[1#1:2] at java.net.PlainSocketImpl.connectToAddress()
[1#1:2] at java.net.PlainSocketImpl.connect()
[1#1:2] at java.net.Socket.<init>()
[1#1:2] at java.net.Socket.<init>()
[1#1:2] at sun.net.NetworkClient.doConnect()
[1#1:2] at sun.net.www.http.HttpClient.openServer()
[1#1:2] at sun.net.www.http.HttpClient.openServer()
[1#1:2] at sun.net.www.http.HttpClient.<init>()
[1#1:2] at sun.net.www.http.HttpClient.<init>()
[1#1:2] at sun.net.www.http.HttpClient.New()
[1#1:2] at sun.net.www.protocol.http.HttpURLConnection.connect()
[1#1:2] at lib.utility.Connessione.<init>()
[1#1:2] at viasi.XletNazioni.inCaricamento()
[1#1:2] at viasi.XletNazioni.paint()
[1#1:2] at java.awt.Container.paint()
[1#1:2] at org.havi.ui.HScene.paint()
[1#1:2] at org.havi.ui.HScene.update()
[1#1:2] at sun.awt.otk.ComponentModel.handleEvent()
[1#1:2] at java.awt.Component.dispatchEventImpl()
[1#1:2] at java.awt.Container.dispatchEventImpl()
[1#1:2] at java.awt.Window.dispatchEventImpl()
[1#1:2] at java.awt.Component.dispatchEvent()
[1#1:2] at java.awt.EventDispatchThread.run()
What's the problem?Can you help me?

Similar Messages

  • Return channel, problems trying to connect

    Hello.
    I am trying to connect my STB and a local PC. I am using an internal modem in my PC in COM3 and my STB is a ADB. The modem tries to connect but then fails saying that the line is occupied but i make a call to reserve before. This is the debug exit:
    NET: (ppp) Preparing Dial-up connection with XT986473723...
    NET: (modem) dialing...
    MDM_GetLineStatus() MDM_LINE_IS_NOT_CONNECTED || MDM_LINE_IS_IN_USE
    NET: (modem) not connected.
    And this is the relevant code that I am using:
           RCInterfaceManager rcm = RCInterfaceManager.getInstance();
            RCInterface[] interfaces = rcm.getInterfaces();
            ConnectionRCInterface myInterface;
            myInterface = (ConnectionRCInterface)interfaces[0];
            try {
                myInterface.reserve(this,null);
            } catch (PermissionDeniedException e) {
                log("Permiso denegado al interfaz");
            ConnectionParameters myConnectionParameters;
            myConnectionParameters = new ConnectionParameters
            ("986473723", "username", "password");
            try {
                myInterface.setTarget(myConnectionParameters);
            } catch (IncompleteTargetException e) {
                log("Error: "+ e.getMessage());
            } catch (PermissionDeniedException e) {
                log("Error: "+ e.getMessage());
            try {
                myInterface.connect();
            } catch (IOException e) {
                log("Error: "+ e.getMessage());
            } catch (PermissionDeniedException e) {
                log("Error: "+ e.getMessage());
            }

    Do not connect your PC's modem directly to the STB's modem port. Use a mini PABX in the middle instead. You can find some for eur 100 or less. Make sure you program it to redirect number 0 or 1 to your PC's modem and use that number from your code.

  • Connect to Return channel: ERROR

    Hi everyone,
    I am testing return channel, using code as following:
    try {
    myRCInterface.reserve(null,null);
         myRCInterface.setTarget(new ConnectionParameters("1269", "vnn1269","vnn1269"));
         myRCInterface.connect();
    //...Here is something for exchange data beetwen receiver and server
    myRCInterface.disconnect();
         myRCInterface.release();
    catch(IncompleteTargetException e)
         System.out.println("IncompleteTargetException: " + e.getMessage());
    catch(PermissionDeniedException e)
         System.out.println("PermissionDeniedException: " + e.getMessage());
    When i test this code on DTT-4500 stb, error occurs just at line myRCInterface.setTarget(...): PermissionDeniedException:null
    I wonder if this code is wrong? or modem of my stb is fault?
    Please tell me why this error occurs?
    I also need help for DTT-4000 much. The function "Modem Test" of this stb always says "connected successfully" while dialing to any phone number (even unavailable numbers).
    What i know is that DTT-4500 are sold mainly in Italia. If someone in Italia or have used this stb, please tell me how to setup modem for it.
    Thanks alot,
    Nghia.

    hi,
    this is quite weird, because it looks like resource reservation did not succeed. but failure to reserve should be reported during the call to reserve().
    this looks pretty much like a bug in the stb (well, this is theoretically possible that something reserved the modem just after your reserve, but very unlikely), but maybe it has something to do with the NULL ResourceClient you pass to reserve() - i think you shouldnt do it, because behavior of reserve() with NULL argument is unspecified. I suggest you write something like
    myRCInterface.reserve(new ResourceClient() { void notifyRelease(ResourceProxy proxy) { ... } ... and so on.
    try this and see if it helps.
    is this is development stb or one from a store shelf? i wonder because later you may hit SecurityException, as access to modem is restricted to applications signed with a certificate, which you will not have unless you have a dev. stb. i dont know that stb, but you may lucky because mhp security model didnt actually survive in the italian dtt market, so maybe there wont be any problem.
    cheers

  • Return channel

    I'm developing the return channel. I use a STB with standard modem.
    But the connection failed.
    This is my code:
    RCInterfaceManager rcm = RCInterfaceManager.getInstance();
    RCInterface[] interfaces = rcm.getInterfaces();
    myInterface = (ConnectionRCInterface) interfaces[0];
    //HERE I reserve the interface using the method
    //reserve(ResourceClient resourceClient, Object obj)
    //but I just declare the implement of ResuorceClient in my
    //connection class.
    //All the methods are empty!!!!(COULD BE A PROBLEM???):
    //implements ResourceClient
    //public void notifyRelease(ResourceProxy rsPrx)
    //public void release(ResourceProxy rsPrx)
    //public boolean requestRelease
    //(ResourceProxy rsPrx,java.lang.Object requestData)
    //return true;
    myInterface.reserve(this, null);
    myInterface.setTargetToDefault();
    //I make the call to a ISP from an internal phone line.
    //So I have to use the "0," before the number to the provider
    //Could be the cause of the failure???
    ConnectionParameters myConnectionParameters;
    myConnectionParameters = new ConnectionParameters("0,0643xxxxxxx", "XXXXXX", "XXXXXXXXi");
    myInterface.setTarget(myConnectionParameters);
    myInterface.connect();
    // HERE I do everithing with the connection
    myInterface.disconnect();
    myInterface.release();
    Another question is: can I use ALL providers (for example one that I use with my pc) or I have to search a particular PROVIDER for STB?
    Is it too much what I' m asking??
    JUST IF YOU 'RE HERE : THANK YOU

    I'm developing the return channel. I use a STB with standard modem.
    But the connection failed.
    This is my code:
    RCInterfaceManager rcm = RCInterfaceManager.getInstance();
    RCInterface[] interfaces = rcm.getInterfaces();
    myInterface = (ConnectionRCInterface) interfaces[0];
    //HERE I reserve the interface using the method
    //reserve(ResourceClient resourceClient, Object obj)
    //but I just declare the implement of ResuorceClient in my
    //connection class.
    //All the methods are empty!!!!(COULD BE A PROBLEM???):
    //implements ResourceClient
    //public void notifyRelease(ResourceProxy rsPrx)
    //public void release(ResourceProxy rsPrx)
    //public boolean requestRelease
    //(ResourceProxy rsPrx,java.lang.Object requestData)
    //return true;
    myInterface.reserve(this, null);
    myInterface.setTargetToDefault();
    //I make the call to a ISP from an internal phone line.
    //So I have to use the "0," before the number to the provider
    //Could be the cause of the failure???
    ConnectionParameters myConnectionParameters;
    myConnectionParameters = new ConnectionParameters("0,0643xxxxxxx", "XXXXXX", "XXXXXXXXi");
    myInterface.setTarget(myConnectionParameters);
    myInterface.connect();
    // HERE I do everithing with the connection
    myInterface.disconnect();
    myInterface.release();
    Another question is: can I use ALL providers (for example one that I use with my pc) or I have to search a particular PROVIDER for STB?
    Is it too much what I' m asking??
    JUST IF YOU 'RE HERE : THANK YOU

  • Sender JDBC Commn channel problem - Channel is not reading any data.

    Hi,
    I am referring to the following blog as i have exactly the same problem:
    [Blog|Sender JDBC Commn channel problem;
    I communication channel monitoring i am getting the following logs -
    6/21/10 7:19:07 PM   Processing started
    6/21/10 7:19:07 PM   Retry interval started. Length: 86400.0 seconds
    Here in the channel the poling interval is 86400 seconds.
    Now according to this blog the solution to my issue is "Check whether anything is locked in "Locking adapter" in VA? If there is then just release the lock and restart the comm channel. Note: In "locking adapter" the name will be something like $XIDBAD.JDBC2XI."
    Mine is a PI7.1 system and i am not able to find any thing like this in NWA.
    Can some one please help me on this?
    Thanks & Regards,
    Anshul

    try;
    Goto NWA -> Availability and Performance Management -> Resource Monitoring -> Locks

  • The screen on my Macbook goes blank, if I tilt the screen it returns. Problem getting worse.

    The screen on my Macbook goes blank, if I tilt the screen it returns. Problem getting worse. Should I take it to the apple store and see if they can replace the screen? is it expensive to replace the backlight/invertor?

    This sounds to me like a fairly common Inverter Fault.
    It is not the screen that needs replacing by the sounds of it,
    It sounds like either the inverter board or the inverter cable needs replacing.
    My understanding is that inverter / inverter cable repairs aren't too expensive, but not too cheap!
    Obviously your best way to find out how much it would cost to be repaired would be to take it in to an Apple Store, as I have never had to have one replaced myself, but the information I'm providing, is based on what I've read elsewhere.
    How old is the MacBook?
    Thanks,
    Ollie.

  • Write Files through return channel

    Hi,
    i'm newer in this forum. I'm working in a MHP project, and I want to comunicate STB with the server (in this case, a PC running Apache Server).
    The question is �can I write a file in the server with data obtained on the STB? I think that it is posible via return channel, but i'm not sure. The idea is to write file (on the server) with the solutions entered by TV user in an application that have some tests. �Are other ways besides return channel to do it?
    Thanks ;)
    Regards

    Hello here you an example of login in my application:
    package es.admin.servlet;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import es.admin.bd.PacienteBD;
    import es.admin.beans.Paciente;
    import es.admin.dao.PacienteDAO;
    * Servlet implementation class for Servlet: LoginPatient
    public class LoginPatient extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
       static final long serialVersionUID = 1L;
        /* (non-Java-doc)
          * @see javax.servlet.http.HttpServlet#HttpServlet()
         public LoginPatient() {
              super();
         /* (non-Java-doc)
          * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              processRequest(request,response);
         /* (non-Java-doc)
          * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              processRequest(request,response);
         private void processRequest(HttpServletRequest request,HttpServletResponse response) throws IOException
              Paciente paciente = new Paciente();
              paciente.setDni(request.getParameter("dni"));
              paciente.setContrasenia(request.getParameter("contrasenia"));
              boolean ok = PacienteBD.compruebaPaciente(paciente.getDni(),paciente.getContrasenia());
              response.setContentType("text/plain;charset=UTF-8");
              PrintWriter p = response.getWriter();
              if (ok)
                   p.println("true");
              else
                   p.print("false");
    public class PacienteBD {
         public static boolean compruebaPaciente(String dni,String password)
              boolean correcto = false;
              Paciente aux = PacienteDAO.BuscarPaciente(dni);
              if ((aux!=null)&&(aux.getContrasenia().equals(password)))
                   correcto = true;
              return correcto;
    }then you use from the java code :
    new URL ("http://admin/login?usuario=xxx&passw=xxx")
    thats all

  • Return channel implementation in different STB

    Hi everybody!
    We are testing our application in three different Set Top Boxes (A)Samsung DTB-S500F, B) Philips DTR4600 and C) Humax DTT-4000).
    According to the standard "On devices whose return channel can be connected or disconnected, connecting a java.net.Socket or a java.
    net.URLConnection to a host addressed via the return channel shall automatically setup a connection to the default connection target subject to the application having return channel permission for the default ISP. Such connections shall be automatically isconnected after a time out period defined in the Navigator.".
    When I try to get a Socket in STBs B and C, I must reserve the return channel, connect it and then I can get the socket. But when doing this with STB A, the application fails because the STB tries to reserve and connect the return channel himself.
    I have notice different behaviours in other aspects, such as HSinglelineEntry.
    I suppose that according to the standar, STB A is the correct one; but our application should work on every STB. Any suggestion on what line should we follow? Should we respect the standard and expect that in future every STB will respect it, or should we add some kind of tricks to the code in order to avoid this kind of situations?
    Thanks.

    maybe we can help.
    i have a ?
    did u getting application menu at sceen. ?
    i need to see your DB defult , u may have a variable in wrong position.
    if u eed help, just let me now..
    good day

  • Starting event on a server from a STB via return channel - possible?

    Hello!
    I try to create an application in MHP to send an emergency-call via a STB.
    The STB is permanently connected to a server (intranet). Now I want to launch an event (popup-window, playing sounds, etc.) on the server via the STB.
    I thought of RPC, but didn't get it to work.
    I am able to write files on the server (via FTP). Is ist possible to monitor a directory and kick an event if a file is created?
    Thanks for help!

    It's certainly possilbe on the server side. This is more a question of how your server software is implemented and whether doing this imposes too much of a load on your server.
    I'm surprised that you couldn't get RPC to work. The return channel connection in an MHP box should support any IP traffic, although you will have to implement most of the protocol yourself.
    Steve.

  • MHP serial return channel

    Does anyone know how to use the serial port present in some set-top boxes?
    Is it a RS232 serial port?
    It's intended to provide a way of using other return device than a modem, but since the MHP spec. only defines that the return channel is a TCP/IP connection and the basic connection handle API, I don't know how to setthe return channel to be by the serial port.
    I also need direct access to it, not over TCP/IP, but using streams or something like. Has anyone written some code to talk to this port, or can indicate me som documentation references?

    There is requirement that an MHP box support an RS232 port, hence there are no standard API's to support it. All the Debug boxes I've seen use a serial port for debug (uploading xlets to debug are reading back trace messages written to standard out).
    If you want to use the return channel you'll need to look at the org.dvb.net.rc packages to set up the return channel. For example use:
    RCInterfaceManager.getInstance().getInterfaces();
    to find out what return channel hardware you've got attached to your STB. After you've set up the connection you can use the standard java.io and java.net packages to talk to your remote server.
    Hope this helps,
    Roger

  • OCAP Return Channel - Xlet Server Communication Problem??

    Hi,
    I am trying to connect Xlet to App Server. I have tried with the Socket and HttpURLConnection both are working fine but i am looking for OCAP API's only through which Xlet can commnicate with the App Server like MHP does.
    thanks

    Hello friends can we expect at least a interest here...

  • Alpha channel problem with Pixel Bender blendShaders

    I'm using Pixel Blender to try and create a blend shader for a Flex 4.0 app.
    It looks like this:
    <languageVersion : 1.0;>
    kernel PixelReverse
    <   namespace : "com.abc.def.filters";
        vendor : "EdAlive";
        version : 1;
    >
        input image4 foreground;
        input image4 background;
        output pixel4 dst;
        void
        evaluatePixel()
            pixel4 fgPixel = sampleNearest(foreground, outCoord());
            pixel4 bgPixel = sampleNearest(background, outCoord());
            if((bgPixel.r == 0.0) && (bgPixel.g == 0.0) && (bgPixel.b == 0.0) && (bgPixel.a == 0.0)){
                bgPixel.r = bgPixel.g = bgPixel.b = 1.0;
            dst.r = 1.0 - abs(fgPixel.r - bgPixel.r);
            dst.g = 1.0 - abs(fgPixel.g - bgPixel.g);
            dst.b = 1.0 - abs(fgPixel.b - bgPixel.b);
            dst.a = fgPixel.a;
    It looks correct in the Pixel Bender preview window.
    When I use it in a Flex project with proper 32 bit png images, the filter seems to work correctly, except it sets any partial alpha value on the images to fully opaque (like a 1 bit alpha channel).
    Because the image preview looks correct in Pixel Bender, I'm assuming it's a problem with the bitmap data that Flex is passing to the blend shader filter.
    I tried changing the filter to simply output a copy of the foreground firstly, and the background second, to test.
    When returning a copy of the foreground, the imags weren't visible on stage, either because the pixels were transparent or because it was really returning the background pixels, camouflaging the images.
    When returning a copy of the background, the images were just black rectangles.
    The images are being place on stage programmatically inside an mx Module, and having their depth property set.
    They also have draggable behaviour, where the current drag object is layered above all else during the drag.
    I'm actually using a subclass of mx.controls.Image, but am simply setting the source property with preloaded bitmap data, so I'm am fairly sure the subclass is not a factor.
    I hope this is enough information for someone to be able to provide some help.
    Thanks

    Please make sure you have installed the latest graphics drivers, from http://www.nvidia.com/Download/index.aspx?lang=en-us, for your graphics card.

  • Seeburger AS2 comm channel problem (B2B) - "perhaps AS2ID missing"

    Hi guys!
    We try to configure B2B scenario using Seeburger AS2, but communication channel monitor returns error:
    Error type: COMPONENT_ERROR,NOT_TRANSMITTED >> Error date: 9/25/07 10:05 AM >> Description: AS2 Adapter failure Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.. com.seeburger.as2.AS2Plugin.execute(AS2Plugin.java:321) [9/25/07 10:05 AM]
    We're not sure about the scenario configuration and using identifiers (cos' this is probably the problem).
    Did someone of u already configured Seeburger AS2?
    We have configured in receiver party alternative identifier Seeburger - AS2ID, however, the message sent to target has always agency XI and scheme XIParty. It should be probably Seeburger and AS2ID (the alternative one).
    <SAP:Receiver>
      <SAP:Party agency="http://sap.com/xi/XI" scheme="XIParty">XXXX</SAP:Party>
      <SAP:Service>BS_3RD_XXXXX</SAP:Service>
      <SAP:Interface
    How to achieve it?
    Thanx a lot!
    Peter

    Hi Anoop!
    Yes, we use it on receiver side.
    ModuleProcessorExitbean exists, so it should be ok.
    What I'm not sure about is the thing with identifiers..
    In Party (let's call it X) - Identifiers, we have default agency http://sap.com/xi/XI, scheme XIParty and name X.
    What values should be there for Seeburger?
    We have Agency: Seeburger, Scheme: AS2ID; Name: X.
    Is it correct?
    We also received some 9 char long number - probably some ID to adapter(?). Any idea, if it is necessary and where to use it?
    Is it necessary to configure identifier seeburger also in Identifiers tab of Receiver communication channel? Or we can leave it empty (both- sender, receiver)?
    We use this in B2B scenario, of course: Target system is party, but we use our R/3 as Business System w/o party. Is it ok, or do we laso have to "be" as Party in our configuration scenario?
    A lot of questions, but points will be awarded 4 sure
    Thanx!
    Peter

  • JDBC Sender Communication Channel Problem

    Hello everybody,
    I have a sender communication channel, it is with green Functioning status in channel monitor in runtime workbench, and the log says "Process started" for every pool as configured, but it doesn't return any data to XI, and there's data to be taken, the problem started a few hours cause it was working fine, I've already executed a Complete refresh cache in SXI_CACHE, and changed the channel from Active to Inactive in ID, and Stopped and Started it again in RW, it doesn't give any errors, but it doesn't bring back any data that should be, any suggestions or maybe any information on how to refresh totally those channels????, thanks in advance.
    Regard's
    Paul

    Hi Paul
    Check for JDBC adapter locks. cpa cache locks are not relevant to your problem.
    Moreover check with the visual admin logs as well. if you can get info about the issue you have
    Thanks
    Gaurav

  • MSI Z68A-GD55 (G3) Duel Channel Problem

    Hi,
    Recently i built a new computer using
    MSI Z68A-GD55 (G3).
    2500k CPU
    G.Skill Ripjaws X F3-10666CL9D-8GBXL 8GB (2x4GB) PC3-10666 (1333MHz) DDR3 RAM
    Now my computer runs great when i am using 1 stick of ram (either stick) or both sticks single channel (dim 1 & 2) and will easily pass memtest86+, but my computer becomes unstable when in duel channel, crashing and freezing between 1 - 5 times a day in windows and will fail memtest86+ every time.
    Now i only know the basics when it comes to ram, but basically I'm wondering what my options are.
    The company i bought the ram from says i can return it for a different brand. will this help? i have to pick something from;
    http://www.pccasegear.com/index.php?main_page=index&cPath=186_538_913
    I was thinking of getting the kingston value ram 2 x 4 gig 1333mhz.  Will this solve my problem? is there an easier fix to this issue? what do you recommend?
    Kind Regards
    Ben.

    The Kingston should work fine. If it doesn't, it may be worth taking a look at the CPU socket for any possible bent pins.

Maybe you are looking for