Need help interpreting an RFC Web dynpro exception

Hi,
The following code shows how I set the content of a wdp model:
Z_Zmm_Tax_Calc2_Input TaxCode2 = new Z_Zmm_Tax_Calc2_Input();
wdContext.nodeZ_ZMM_TAX_CALC2().bind(TaxCode2);
TaxCode2.addItems(new Zzz_Tax_Calc());
It's the last line of the code that causes the exception
When executing the model I get the following.
Error stacktrace:
java.lang.ClassCastException: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: The Relation must reference ModelClass instances of Type , not of !
     at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.checkRelatedModelObject(DynamicRFCModelClass.java:727)
     at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.addRelatedModelObject(DynamicRFCModelClass.java:802)
     at com.alum.miromodel.Z_Zmm_Tax_Calc2_Input.addItems(Z_Zmm_Tax_Calc2_Input.java:170)
     at com.alum.miro.Cust.initTaxCalc2(Cust.java:911)
Can anyone tell me what it means?
BR
Olof Tronnberg

Hi Olof,
Z_Zmm_Tax_Calc2_Input TaxCode2 = new Z_Zmm_Tax_Calc2_Input();
wdContext.nodeZ_ZMM_TAX_CALC2().bind(TaxCode2);
These two lines of code will first create a object of the model node and bind it to the present view s context node.
I thnk this node Z_Zmm_Tax_Calc2_Input() has structures in it. When ur rfc needs inputs we hav to set them as
say
TaxCode2.set<some attribute in the model node>(its value);
If there is a structure
TaxCode2.set<structure name>(new <structure name>);
This is the correct way.
When u say TaxCode2.addItem(); the argument needed is of type Item . IS zzz_tax_calc of that type..
If its not of the type it will throw the classcast exception
AddItem is usually used when we have to add more than instance.
Bind creates one instance of the node and binds it.
I think its a gud practice to stick with bind and set rather than add when it comes to RFC s
Regards
Bharathwaj

Similar Messages

  • Need help accessing the router web page.  I have been tol...

    Need help accessing the router web page.  I have been told my router is acting like a switch and the IP address is not in the proper range.  I have tried reseting the router (hold for 30 sec and unplug for 5 mins).  Didn't work.
    thanks

    What router are you using?  Almost all Linksys routers use 192.168.1.1 as the default local IP address, but there is at least one that uses 192.168.16.1 , namely the WTR54GS  (not the WRT54GS).
    You need to try again to reset the router to factory defaults.
    To reset your router to factory defaults, use the following procedure:
    1) Power down all computers, the router, and the modem, and unplug them from the wall.
    2) Disconnect all wires from the router.
    3) Power up the router and allow it to fully boot (1-2 minutes).
    4) Press and hold the reset button for 30 seconds, then release it, then let the router reset and reboot (2-3 minutes).
    5) Power down the router.
    6) Connect one computer by wire to port 1 on the router (NOT to the internet port).
    7) Power up the router and allow it to fully boot (1-2 minutes).
    8) Power up the computer (if the computer has a wireless card, make sure it is off).
    9) Try to ping the router. To do this, click the "Start" button > All Programs > Accessories > Command Prompt. A black DOS box will appear. Enter the following: "ping 192.168.1.1" (no quotes), and hit the Enter key. You will see 3 or 4 lines that start either with "Reply from ... " or "Request timed out." If you see "Reply from ...", your computer has found your router.
    10) Open your browser and point it to 192.168.1.1. This will take you to your router's login page. Leave the user name blank (note: a few Linksys routers have a default user name of "admin" (with no quotes)), and in the password field, enter "admin" (with no quotes). This will take you to your router setup page. Note the version number of your firmware (usually listed near upper right corner of screen). Exit your browser.
    If you get this far without problems, try the setup disk (or setup the router manually, if you prefer), and see if you can get your router setup and working.
    If you cannot get "Reply from ..." in step 9 above, your router is dead.
    If you get a reply in step 9, but cannot complete step 10, then either your router is dead or the firmware is corrupt. In this case, use the Linksys tftp.exe program to try to reload your router with the latest firmware. After reloading the firmware, repeat the above procedure starting with step 1.
    If you need additional help, please state your ISP, the make and model of your modem, your router's firmware version, and the results of steps 9 and 10. Also, if you get any error messages, copy them exactly and report back.
    Please let me know how things turn out for you.
    Message Edited by toomanydonuts on 01-21-2008 04:40 AM

  • Close OVS Help via Button in Web Dynpro for ABAP

    Hello!
    Is it possible to use a close-button in a "ovs help popup"? I tried to fire a "Type-Exit Outbound-Plug" of window controller of the "ovs help window" but it didn't work.
    Thanks for help
    Joerg

    Hello Joerg,
    in Web Dynpro for ABAP there is currently no possibility to subscribe to the close event of the OVS popup.
    Regards, Ariane.

  • Web Dynpro Exception: Dispatcher Exception

    FYI, EP 7.0 SP 12, NWDS 7.0.11, jdk 1.4.2_14
    com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong Web Dynpro URL: "../WebDynpro/Servlet/<deployableObject>/<application>/xx?..".xx is not allowed without exchange key. Retrieved URI path: /sap.com/wdpcocaf/AAppTst/@acf_empty.
    Can anyone help me resolve the above exception? The application is a webdynpro application of type local development with a interactiveform UI in the view controller. The component controller has the code for wdInit and a custom method to fill the context with some hardcoded text values. This context is bound to textfields in the adobe form.
    Thanks
    M

    Hi,
    I faced a similar problem and ended up uninstalling and reinstalling Netweaver Developer Studio many times to no avail.
    But then I tried this, try keeping your folder names small so that the path to your Web Dynpro project does not exceed 256 characters. This is mentioned in the installation guidelines.
    My workspace path before was quite long as I was on a computer used by multiple users. So I changed the path to something as simple as C:\Projects
    It worked for me. Hope it helps.
    Best Regards,
    Vinayak
    Edited by: Vinayak Rao on Mar 27, 2008 7:23 PM

  • Help in creating first Web DynPro object on 7.4 Trial. Access Key Error

    Hi, I have an NetWeaver 7.40  instance (release 7.9.08.005) running on the aws. I have successfully converted the system from initial state to DEMOACCESS.
    However, I cannot create a new Web DynPro object. The dialog asks for the access key. I have already installed the NPL license earlier.
    I went through the steps to find what the user DEVELOPER's access key was by looking at the DB table. When I put that access key in this dialog, it says it is invalid.
    Is Web DynPro development available as part of the trial instance?
    Thanks,
    Allan

    Thanks for quick reply. I was indeed logged in as the DEVELOPER user. That was not it.
    I found the answer... the test component was named incorrectly. I tried to start with 'MyComponent' and that seems to be a reserved namespace. I used 'ZMyComponent' and all was fine. I even went through the tutorial below successfully.
    https://help.sap.com/saphelp_nw70/helpdata/en/e6/2c4b29dc87c6409d6469ec390e8f3d/content.htm?frameset=/en/ed/1228b7a2e9c44a9b2822636a98a850/frameset.htm
    Maybe I need the basic info on what object namespace is allowed for this trial release if anyone knows? I vaguely remember seeing something about that when I saw the license page a while back.
    Until next time! Thanks.

  • Need Help with a Flash Web Project

    Hello, everyone. I am trying to use Flash to make a two-step
    system. I want the flash document to, first, allow a person to
    upload multiple image files and then, second, for the flash
    document be able to create a slideshow with the uploaded images and
    fade in and out from each image until the slideshow is over. I want
    it to be where the flash document creates its own slideshow with
    the images that are uploaded in the first step that I mentioned. I
    want it to do it completely on its own so I need to know how to
    give it the proper AI so that it can do this task.
    So, are there any tips that anyone has on how to do this? Can
    anyone tell me exactly how to do this? I really need help with this
    for my new website project. Thanks in advance, everyone!

    The problem with the text not appearing at all has to do with you setting the alpha of the movieclip to 0%.  Not within the movieclip, but the movieclip itself.  The same for the xray graphic, except you have that as a graphic symbol rather than a movieclip.  To have that play while inhabiting one frame you'll need to change it to a movieclip symbol.
    To get the text to play after the blinds (just a minor critique, I'd speed up the blinds), you will want to add some code in the frame where you added the stop in the blinds animation.  You will also need to assign instance names for the text movieclips in the properties panel, as well as place a stop(); in their first frames (inside).
    Let's say you name them upperText and lowerText.  Then the code you'd add at the end of the blinds animation (in the stop frame) would be...
    _parent.upperText.play();
    _parent.lowerText.play();
    The "_parent" portion of that is used to target the timeline that is containing the item making the command, basically meaning it's the guy inside the blinds telling the guy outside the blinds to do something.
    You'll probably want to add stops to the ends of the text animations as well.
    If you want to have the first text trigger the second text, then you'd take that second line above and place it in the last frame of the first text animation instead of the blinds animation.
    Note, on occasion, undeterminably, that code above doesn't work for some odd reason... the animation plays to the next frame and stops... so if you run into that, just put a play(); in the second frame to help push it along.
    PS GotoandPlay would actually be gotoAndPlay, and for the code above you could substitute play(); with gotoAndPlay(2);

  • Need help on Crosstab in WebI 4.0

    Hello All,
         I need help on how to arrange the Crosstab to have the below in WebI. The data is in InfoCube is at 0CALDAY & 0CALMONTH.
         The Cost & Quantity of the system date (7/7) should be displayed and the averages will be for that Calendar Month (07/2014).
         While creating the Crosstab, I kept the Product Category & Plant on Horizontal Axis and it displays as expected, but how to
         arrange 'Cost on system date 7/7',  'Average Cost', 'Quantity on system date 7/7' and 'Average Quantity' fields in Crosstab.
         First I tried by keeping them on Vertical Axis and it didn't work. Later I tried by keeping them in Body Axis also it didn't work.
         How could I create the WebI to display like the below, please ?     
    Thanks,
    Venkat.

    Hi Venkat,
    I guess you are using Text variables to get cost(on 7/7).. and you have 4 different keyfigures.
    Use below structure to get the desired output .
    You need to hard code your keyfigure texts in webi .
    Drag cross tab.
    place product and plant in horizantal axis.
    in first row add ="cost on" + formula to populate calday and cal month
    Right click -> Insert row below . add Avg cost....

  • Need Help/Advice with Photo Web Gallery coming from SQL Database

    This is my first attempt at a database driven website. I assume what I am trying to accomplish should be fairly easy for more experienced but I am stuck at this point.
    First, let me explain what I am trying to accomplish.
    I want to create a thumbnail photo gallery displayed in columns and rows. I want to be able to hover over or click on the thumbnail image and have a lightbox script display the image over the thumb page. I am developing locally right now with intent to upload to the hosting site upon completion.
    I am developing with ASP vbScript pages. I have an SQL database where the paths to the image thumbnails and pictures are stored in a table. On the gallery page, I have created a div tag to hold my image recordset. Within this div, I have inserted 3 absolute positioned divs to hold the pictureID, the pictureName and the image inserted as a datasource. I then inserted the information from the bindings panel of my recordset. Last, I used a horizontal looper extension from Tom Muck to get the thumbnails to display in columns and rows. Everything works up to this point just fine.
    Now, I want to be able to hover or click on a thumnail image and have it displayed in a lightbox. I downloaded and used a javascript called Lightbox 2 which contains 3 javascript files and a css stylesheet. I inserted the files into the head tag like instructed to but could not get things to work properly. Here is where I need help. Currently, I am clicking on the thumbImage binding within the image Div and creating a link holder. I am then binding the larger pictureImage to it with the a.href selected in the bind to. I am then adding the command to call the lightbox javascript. Now, when I test my page, my thumbnail images do not show up (my alt text does in its place) but the links are in place and you can click on the alt text and it will return the correct larger image, but not in the lightbox, just in a new window with no styles.
    Am I going about this correctly? Can you use lightbox scripts with data-driven galleries? Does anybody have any suggestions of what I may be doing wrong or missing? Are there better ways to go about accomplishing this?
    Any help would be appreciated as this dynamic data thing has my head spinning. Although I know a database is needed to simplify the update and maintenance of the photos while allowing them to be searchable by keywords and tags also set up in the database.
    Thanks

    As I explained, I am developing locally a the moment. I will see about getting the databased moved up to the hosting server and then provide a link for an example.
    In the mean time, can you or anyone else explain a way that you would go about displaying an image thumbnail photo gallery laid out in rows / columns, with any lighbox script that would overlay the larger image over the existing page instead of opening a new browser window?
    I don't have to use the method I tried to describe.
    In all of the lightbox examples I have looked at thus far, they give instructions on how to append that javascript to a single static image or a group of static images, not images from a datasource. That is where I am getting confused.
    Don't know if this will help or not but please see code below:
    Javascript and CSS positioned in head tag
    <!--beginning of lightbox script with css -->
    <link href="CSS/lightbox.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/protype.js" type="text/javascript"></script>
    <script src="Scripts/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="Scripts/lightbox.js" type="text/javascript"></script>
    <!--end of lightbox script with css -->
    Calling for javascript in the galleryimage div when hovering over thumbnail image
        <!--beginning of gallery div -->
        <div id="gallery">
          <p>
            <!--beginning of galleryImage div -->
          </p>
          <table width="400" border="0" align="center" id="galleryNav2">
            <tr>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                  <a href="<%=MM_moveFirst%>">First</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                <a href="<%=MM_movePrev%>">Previous</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                <a href="<%=MM_moveNext%>">Next</a>
              <% End If ' end Not MM_atTotal %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                <a href="<%=MM_moveLast%>">Last</a>
              <% End If ' end Not MM_atTotal %></td>
            </tr>
          </table>
          <p> </p>
          <table align="center" id="HorzLooper">
            <%
    startrw = 0
    endrw = HLooper1__index
    numberColumns = 5
    numrows = 5
    while((numrows <> 0) AND (Not rs_ssfGallery.EOF))
    startrw = endrw + 1
    endrw = endrw + numberColumns
    %>
            <tr align="center" valign="top">
              <%
    While ((startrw <= endrw) AND (Not rs_ssfGallery.EOF))
    %>
              <td><div id="galleryImage">
                <div id="galleryThumb"><a href="images/pic/<%=(rs_ssfGallery.Fields.Item("picture_url").Value)%>"rel="lightbox"><img src="images/thumb/<%=(rs_ssfGallery.Fields.Item("thumb_url").Value)%>" alt="<%=(rs_ssfGallery.Fields.Item("alt_url").Value)%>" /></a></div>
                <div id="galleryImageID"><%=(rs_ssfGallery.Fields.Item("picture_ID").Value)%></div>
                <div id="galleryImageFamily"><%=(rs_ssfGallery.Fields.Item("family").Value)%></div>
              </div></td>
              <%
    startrw = startrw + 1
    rs_ssfGallery.MoveNext()
    Wend
    %>
            </tr>
            <%
    numrows=numrows-1
    Wend
    %>
          </table>
          <p> </p>
          <table width="400" border="0" align="center" id="galleryNav">
            <tr>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                  <a href="<%=MM_moveFirst%>">First</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                  <a href="<%=MM_movePrev%>">Previous</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                  <a href="<%=MM_moveNext%>">Next</a>
              <% End If ' end Not MM_atTotal %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                  <a href="<%=MM_moveLast%>">Last</a>
              <% End If ' end Not MM_atTotal %></td>
            </tr>
          </table>
    <!--end of galleryImage div -->
        </div>
        <!--end of gallery div -->
    Thanks for any help or suggestions.

  • Topics needed in abap to learn web dynpro abap

    Hi experts,
        I have experience on web dynpro java..planing to learn web dynpro abap,so could you please tell me what are the areas in abap i should learn before starting web dynpro abap.
    regards
    rahul

    The main difference between WD Java and ABAP, would be coding using ABAP OOPS.
    So, firstly, go through SAP documentation on ABAP OOPS/Classes.
    There are some concepts like configuration controller specifix to WD ABAP. However, once you get a understanding of coding in ABAP OOPS you should be able to understand the new concepts.
    Also, look at developing and working on application in WD ABAP. Hands-on experience is critical to develop your skills, not just in WD ABAP.
    Regards,
    Sharath

  • Help needed in Radio buttons (ABAP web dynpro)

    Hi all,
    I need to implement 2 stand alone Radio buttons (not groupbykey or groupbyindex). I could add the same in my view layout, but I am not sure how to use the KeyToSelect and SelectedKey options. How do I control when the button is selected/deselected and how do I obtain this information from my context?
    Thanks in advance guys!
    -Shalini.

    hi shalini....
    create two attributes of type string for the two rado buttons and give two different default values for that. say a and b...
    bind the attribute to the property selected key...
    give the default value as the key to select in the property....
    or you can bind the same attribute to both the buttons and read the attribute to check which value has been selected...
    you can also go through wdr_test_events component.
    ---regards,
       alex b justin

  • Need help in creating a web application that runs on a stand alone sys.

    I am planning a small java web application complete with database. I need to know if there are any ways to deploy that application on a stand alone system and that if there is any way to make an executable for that application so that the user need not go through the process of deploying the app and starting the server whenever he restarts the system. Can anyone help me in this regard? Thanks in advance.

    Hi Alex,
    Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
    On the first run, I encountered the following nested exceptions:
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
    --> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
        --> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
            --> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
    I worked around this by adding the following JVM config options to domain.xml
    <jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
    These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
    I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
    -Peter

  • URGENT **** Need help for JAX-RPC Web Service Proxy deploy to OC4J 10.1.3.5

    Hi everyone!
    I’m really new to web services.
    I’m getting a *500 internal server error* while deploying my JAX-RPC web service Proxy to an Oracle AS, in an OC4J, v. 10.1.3.5.0.
    Running my client from my development environment (*jdeveloper 10g, 10.1.3.5.0*) everything functions correctly: from jdeveloper I can contact and use the web service defined by the following endpoint: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    I created a "try_ws_client.jsp" file that runs correctly from my local development environment jdeveloper (that uses an embedded oc4j, v. 10.1.3.5.0) but fails when run from the test server (Oracle AS, in an OC4J, v. 10.1.3.5.0), getting, as I mentioned a 500 internal server error, a white page in IE but with FF the message says: The’s an error in the servlet .....
    Here's how I created the ws proxy and how I’m using it to consume the ws I mentioned.
    1. I used the jdeveloper “Create Web Service Proxy” wizard (File > New > Business Tier > Web Services > Web Service Prox) and in the WSDL document URL I put: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    2. The operation ended without adding nothing to the web.xml file and creating the proxy files. One of them is: FederaMLOLSoapClient.java that have the WS exposed methods (es: public boolean createUser(String) ) + a “main” method with the example how to use this client to consume the WS.
    public static void main(String[] args) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    3. In FederaMLOLSoapClient.java I’ve create the method "tyIt":
    public String tryIt(String username) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    if(myPort.createUser(String username)) {
    return “O.K”;
    } else {
    return “K.O”;
    } catch (Exception ex) {
    // logs error
    4. I created my try_ws_client.jsp file that creates FederaMLOLSoapClient object and calls the tryIt method, printing the “OK” or “KO” message.
    <%@ page import="it.reggiocity.provincia.biblioreggiane.*"%>
    <%
    String message = "";
    FederaMLOLSoapClient obj= new FederaMLOLSoapClient( );
    message = obj.tryIt(“AAAAAA70R10H226H”);
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>prova</title>
    </head>
    <body><%=message%></body>
    </html>
    The situation is:
    My try_ws_client.jsp runs correctly from my jdeveloper and the user is created while creating app.ear and deploying it to my Oracle AS/OC4J as mentioned above, I get a 500 Internal Server Error.
    Any idea to find a solution to this problem?
    Please help.
    Take care.
    John M.

    Hi,
    you want to build the Web Service, or you want to consume the Service as a client? If the latter, Web client (ADF?) or Java client?
    Frank

  • Need Help Streaming Video From Web Server Built Into Application - Linksys WRT54g Router

    Very much appreciate any help getting streaming video feed from web server built into video application to work properly using port forwarding on my Linksys WRT54g wireless router.
    Here is the situation:
    My PC is connected to the internet via a Linksys WRT54g wireless router.
    The Windows XP Pro SP2 firewall is enabled, with a firewall exception established for the video camera application.
    On the router, forwarding of port 80 is enabled for the LAN IP address of the PC running the video application with an embedded web server, and the web server in the video camera application is also set to use port 80.
    I have a free DYNDNS account and also run the DYNDNS updater program on the PC running the video application with embedded web server. According to the DYNDNS web site and the DYNDNS updater program, the IP address assigned to the machine running the video application with embedded web server is set correctly in my dyndns account.
    When I open a browser (Explorer or Firefox) on the PC running the video camera application with embedded web server, I am able to  connect to the video application's web server by going to the dyndns address linked to the machine running the video application. The video application's web server is set to use the dyndns address. That's the good news. The bad news is that I can't connect to the video application's web server from any machine that connects to the internet that uses a router other than the router used by the PC running the video application. I am only able to connect to the streaming video from the application's web server only on machines that connect to the internet using the same (home) router used by the PC that is running the video application.
    Since I am able to connect to the video app's embedded web server successfully on the machine running the video application, it seems that at least something about the current port forwarding settings is correct. For example, if I uncheck 'enable' for forwarding of port 80 on the router settings page, I am no longer able to connect to the video app's web server when I try to do so in a browser running on the machine running the video app. When I re-enable port 80 forwarding on the router, I am again able to connect to the web server of the video application on the machine running the video app. I thought that by enabling forwarding of port 80 on the router and associating that port with the LAN IP of the machine running the video application, it would be possible to connect to the streaming video of the video app's embedded web server from ANY machine connected to the internet, but that is not the case. There must be some other router settings to update/change in order to get the port forwarding working to enable a successful connection to the video web server, but I am stumped. Very grateful for any suggestions as to how to get this working properly.
    Thanks in advance...

    The firewall log can be configured on the third tab in the window for the firewall settings, where you can turn the firewall on and off completely.
    From your tests, though, it does not seem to be the firewall. However, to be sure, it would be good to check the log. It will help to eliminate the firewall as the culprit and you may find it handy in the future, too. ;-) Just don't forget to turn the log off again after you are done because it may cause some performance penalty on your system while on.
    From what you write, it seems as if I should give a little networking background on the ip addresses you'll see. Your setup is (or should be) a modem connected to the WAN/Internet port of the WRT. The computer is connected into a LAN port of the WRT.
    Your router has two IP addresses (that's what makes it a router): a WAN address and a LAN address. The WAN address is the address assigned by the ISP. It is a normal internet IP address. Everyone is able to send packets to this IP address. The WAN address is the one reported by whatismyipaddress.com, it should be listed in the dyndns record and it is the address that your router shows on the Status page. It's the public IP address of your router. Dyndns maps your dyndns.org name to that IP address.
    Your router also has an IP address on the LAN side. You can configure it to be whatever you want. The default is 192.168.1.1 with netmask 255.255.255.0 and it is better to leave it like that or at least inside the network 192.168.*.*. 192.168 is a special, reserved IP address range for private networks. Basically, routers in the internet are not supposed to forward addresses in this range. That makes them suitable for private LANs as the packets never can get anywhere. Most people using Linksys routers have there LAN in 192.168.1.*.
    The router acts as gateway, which means it forwards packets from PCs in the LAN to the internet and back. As all your PCs in your LAN share a single WAN IP address, the gateway does address translation (NAT). This works only in one direction: from the inside to the outside. The router remembers when a PC in your LAN sends something out and accepts the responses in and sending them back to the PC. If something comes in from the internet which cannot be associated with a ongoing communication the packet is dropped unless you use port forwarding.
    All computers in your LAN either have a static IP address assigned or use DHCP to get it automatically. The router has a DHCP server as well which gives out IP address from 192.168.1.100-149 if not changed. With a router with default settings static IP addresses can be in the range of 192.168.1.2-99 and 150-254.
    ipconfig /all reports your IP address in your LAN, i.e. an address 192.168.1.*. The gateway in this output should be 192.168.1.1 which is your router. And packet no in the LAN address range 192.168.1.* is send to the router which forwards the packets into the internet.
    An address 192.168.1.* should not appear as internet address in the Status page of the router nor should it appear at dyndns.
    Port forwarding is used to operate a server in the LAN. By default, a server in the LAN cannot be reached from the internet. You have to configure port forwarding for this. You configure that traffic bound for a specific port (e.g. TCP port 80 for http) on your WAN IP address is forwarded to the same port on a specific LAN IP address. If your server runs on 192.168.1.50 than traffic to your WAN IP address port 80 is forwarded to 192.168.1.50 port 80. That way your HTTP server can be reached from the internet. As you can only configure a fixed IP address in port forwarding it is recommended that the server uses a static IP address and not DHCP as in the latter case the IP address may change over time...
    O.K. so much for networking. I hope that makes things a little clearer and you can verify that your setup is how it is intended to be.
    I suggest the following: on the router's security page there is an option to block WAN requests. Remove the check if it is set (meaning: do not block). After you did that change you should be able to ping your WAN address (e.g. ping xxxx.dyndns.org) from the internet. That way we know that it is on the correct address.
    Also on the Administration page make sure that remote management is disabled (should be like that per default) or that the management port is NOT 80 but for example 8080. What is your your UPnP settings on the same page?
    O.K. that should be enough for the moment...

  • I need help sorting out how Web services work

    I'm getting pretty darn confused with all the new terms I have to learn to develop a web service.
    I want to deploy a simple java based web service on an IIS/ServletExec machine. To do so the documentation says I have to instal WSDP on the machine. Within a few seconds I get stuck.
    When I try to install wsdp 1.6 it asks for a web container. I thought ServletExec is a web container, but it does not recognize it. What is a web container then? Should I just pick one of their options?
    Sun Java System Application Server Platform Edition 8.1 Update 2 : What is this thingy? Doe it coem sith j2ee sdk already? If not, why?
    Sun Java System Web Server 6.1 Service Pack 3 : What is this> How does it differ from the former thingy?
    Tomcat 5.0 for Java WSDP 1.5 : Is this the Tomcat web app server? Does it stack on ServletExec?
    I've deployed web pages on ServletExec, but am quite bewildered by the hoard of terms and tools thrown at me by the documentation for web services. What do I really need? It doesn't seem it should require much more than a jsp page would require, but I keep seeing the list of jar files and the like grow.
    I need a web services for dummies that specifically deals with ServletExec and Java.
    - Extremely confused

    A Web container is a part of application server
    i.e a web container is contained in application server.
    So ServletExec already has a Web Container? All Web App Servers have a web container?
    A Web Server is responsible only for web related
    applications like JSP, Servlets, Web services, etc.
    but an appliocation server can deploy EJB's also.
    I thought the Web Server managed html and passed JSPs, Servlets, and Web Services on to the Web App Server. (With the exception of .NET type applications which run entirely on the front end Web Server). At least that is how we have our machine configured.
    IIS, the Web Server, runs on a machine outside the firewall. It serves up all static html pages. All references to dynamic html (JSPs and Servlets) are forwarded to a Servlet Exec instance, the Web App Server, on a machine behind the firewall.
    IIS can not process Web Services outside a .NET-type configuration. The documentation has led me to believe that I have to deploy a Java web service on a Web App Server like ServletExec.
    >
    Sun Java System Application Server Platform Edition 8.1 Update 2
    is an application server provided by sun.
    But the installation called it a web container. You just called it an applciation server. But you also said earlier that an applciation server is not a web container, but rather contains a web container. Should they have called it an applciation server.
    (Just to make sure - application server = web app server, right?)
    You can download bundle which contains j2eesdk
    and application server together or you can download
    seperately. Both these options are available on Sun's website.
    I do believe ServletExec comes with j2eesdk, as I was able to run servlets without installing it. Though I did install jdk 1.5 and use it as my virtual machine when running Java, including any servlets.
    Sun Java System Web Server 6.1 is responsible only
    for web related applications like JSP, Servlets, Web services
    etc but Sun application server 8.2 can deploy EJB's also.
    So Web Server 6.1 is a front end web server which also serves up JSPs without having to call an application server? You only need an application server if you want to do EJBs?
    Tomcat 5.0 for Java WSDP 1.5 : Is this the Tomcat web app server?WSDP containts several library files and other files
    which are necessary for running a web service.
    ( lib files for sending and recieving SOAP request and
    response i.e mail.jar activation.jar, saaj .jar ....etc).
    It is not an application server. It acts as a supportive
    role for creating and deploying web services.
    That's what I thought. But I also thought Tomcat 5.0 IS a web app server (wheras Apache is the Web Server). It says "Tomcat 5.0 for Java WSDP 1.5" which does not make sense to me. Iwould think it would say "Java WSDP 1.5 for Tomcat 5.0" instead. What exaclty are they offering to download? WSDP or Tomcat? And if Tomcat, why are they calling it a web container when it is an application server? WSDP is not a web container, right? just some lib files for supporting web services.
    Regards,
    Piyush- still quite confused but grateful for your comments

  • Need help interpreting an Apache error message

    I hope my Apache/Tomcat questions of late aren't off topic - I am trying to get them to work together so that Tomcat will handle Java servlet.
    I'm one of collection of newbies trying to troubleshoot the fact that we can't do anything with servlets even though everything seems to be set up OK. I need to verify that my interpretation of an Apache error message is correct (or not).
    Anyway, whenever someone types in the URL of a servlet in the form http:/myURL/mydomainname.com/servlet/HelloWorld (where URL is in the form ##.#.###.###, since the domain name officially "assigned" to the URL yet) The browser displays an error message saying that /myURL/mydomainname.com/servlet/HelloWorld was not found on the server.
    Upon looking at the Apache error log, the following statement is found::
    [Sat Jul 23 17:54:10 2005] [error] [client XX.X.XXX.XXX] File does not exist: /home/virtual/site1/fst/var/www/html/servlet
    (this is a virtual site; all that extra /virtual/site1/fst/ is supposed to be in there.
    Note the fact that the error message stops at the word "servlet" and does not say "/servlet/HelloWorld". That makes me think that Apache does not realize that "/servlet" means "send what comes next over to Tomcat" and instead thinks that the browser is trying to get into a DIRECTORY called "/servlet" which does not exist.
    Am I correct in this? Does that error message imply that is what is going wrong?

    Your note is making me think that you've got the
    Apache Web server running on Linux, and you've tried
    to make Tomcat the servlet/JSP engine that Apache
    forwards all servlet/JSP requests to. Apache is
    listening on port 80, of course. All correct?All correct.
    I'm not sure that you've got Tomcat bolted onto
    Apache properly, Probably not. My question is, basically, is that what the aforementioned error message is implying??
    or if you've deployed your servlet
    correctly. Again - does the aforementioned error message indicate that Apache simply isn't calling Tomcat in the first place, in which case nothing is even looking for the servlet? Yes or no? I've experimented and found that Apache error messages always stop at the first thing that they don't recognize. For example, if someone types in http://URL/domainame/totally/bogus/vaporware, the Apache error message will say: "File does not exist: /home/virtual/site1/fst/var/www/html/totally" because the directory "/totally/" is the first thing it comes accross that does not exist. I'm trying to verify that possibility so that I know better where to look for the error. Or is it possible that Apache DOES recognize what /servlet/ means, is succesfully getting to Tomcat, but something else is going wrong that causes Apache to sned that error message?
    Also, there is no sign of activity in Tomcat's Catalina.out log file since the day
    I last turned Tomcat on (successfully). Since that's the only thing in Tomcat's log folder, I assumed it was where Tocmat's error messages would show up (if not, where are they? Havn't been able to find anything else). If that is the case, Tomcat has indeed not been contacvted by Apache.

Maybe you are looking for

  • Weird error message when firefox opens

    this is what appears... TypeError: Components.classes['@tcw.com/XPCOM/TCWFFComponent;1'] is undefined i have no idea what this means so could somebody who knows programming language please help? thanks == This happened == Every time Firefox opened ==

  • Can't Mount External HD, Greyed out in DU, Verifies fine

    I have a third-party hard drive enclosure I've been using for years with an IDE drive. I have two identical external HD cases and it does the same thing in both. So I know it's not the case. All of a sudden, I can't get the drive to mount. 1. It show

  • Log report

    Can you pls let me know I m using TOAD version 9 I would like to see what are all the queries which ran on 30 th of April Is there any way to See this in Toad or ORacle..? I queried v$sql..it did nt show the full list... :( Thanks a lot Edited by: us

  • User / Group Problem

    WE run a 10.6.4 Server and have an issue with one user- No matter what we do we cannot seem to get them be be part of a Group. WE created a group and puut all Office members in the group- All OK- (This is using OD) All services fine DNS Fine, mail fi

  • Using a proxy to FMS 3.5

    Is it possible to use Apache to proxy/tunnel RTMP(S) traffic through to Flash Media Server? Basically, I want to tunnel RTMP traffic using HTTP through Apache. What I want to be able to do is open up an appropriate port (either 80 or 443) on the Apac