Run time servlet failure

Dear all,
I have been experiencing a very different problem these days.
a servlet runs successfully on window 98 while using javawebserver2.0 [on window 2000 plateform] . while the same servlet displays some html coding rather that its actual output when i run this on Windows XP.
as we all know that java is plateform independent language.
is it not the OS dependecy?
please ,if any one of you could help me.

It is not about being platform independent. Different OS use different encodings in the file.property. It is hard to believe that your application is not running at all. Everyone writing applications in any other language but English comes across of this problem. Try different encoding it might help.

Similar Messages

  • Run-Time Check Failure #2 - Stack around the variable was corrupted.

     I had checked on net as well as on social msdn site for this kind of error. Usually error is due to writing out of index. I tried to figure out same mistake in below mentioned code but I failed to do so. I am using Visual Studio 2010 for compilation
    on Windows 7 (64 bit) machine. I am getting following error "Run-Time Check Failure #2 - Stack around the variable 'lcPacketPrefix' was corrupted."
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #define TRUE 1
    #define FALSE 0
    #define BYTE unsigned char
    typedef struct {
    int i;
    double e;
    long t;
    char ar[45];
    }Sample;
    bool getMCXBuffPrefix(char * lpSource,char* Destination, int piSourceLen)
    char lcPacketLen[10];
    char lcPacketPrefix[5];
    try
    memset(lcPacketLen,'0',sizeof(lcPacketLen));
    memset(lcPacketPrefix,'0',sizeof(lcPacketPrefix));
    _itoa(piSourceLen,lcPacketLen,10);
    strcpy_s(lcPacketPrefix+(sizeof(lcPacketPrefix)-strlen(lcPacketLen)),sizeof(lcPacketPrefix),lcPacketLen);
    //To Prefix Length in send Packet
    memcpy(Destination,lcPacketPrefix,5);
    memcpy(Destination+5,(char*)lpSource,piSourceLen);
    catch(...)
    printf("In Catch: While Prefixing MCX Buffer.\n");
    return FALSE;
    return TRUE;
    int main(int argc, char *argv[])
    BYTE* lcCompData = (BYTE*) malloc (1024);
    BYTE* gpcSendSource = (BYTE*) malloc (1024);
    Sample sample_t;
    memset((BYTE*)gpcSendSource,'0',1024);
    memset(&sample_t, '\0', sizeof(Sample));
    memcpy(gpcSendSource, &sample_t, sizeof(Sample));
    bool lbPrefixed = getMCXBuffPrefix((char*)gpcSendSource,(char*)lcCompData,sizeof(Sample));
    return 0;
    Little guidance will be helpful.

     I had checked on net as well as on social msdn site for this kind of error. Usually error is due to writing out of index.
    As it is in your code.
           strcpy_s(lcPacketPrefix+(sizeof(lcPacketPrefix)-strlen(lcPacketLen)),sizeof(lcPacketPrefix),lcPacketLen);
    You're saying that the size of the buffer is greater than it is
    because you're offsetting the start pointer.
    If you'd more correctly written the code like this:
      size_t offset = (sizeof(lcPacketPrefix) - strlen(lcPacketLen));
    strcpy_s(lcPacketPrefix+offset,sizeof(lcPacketPrefix)-offset,lcPacketLen);
    You'd have got a run-time error in the debug version of your code.
    However that's not what you want. Try something like this instead:
      size_t offset = (sizeof(lcPacketPrefix) - strlen(lcPacketLen));
      strncpy(lcPacketPrefix + offset, lcPacketLen, strlen(lcPacketLen) );
    But most importantly, understand what you'd done wrong and learn from
    it.
    Dave

  • Debugging: Run-Time Check Failure #2 - Stack around the variable 'LoggerThread' was corrupted.

    I am getting:
    Run-Time Check Failure #2 - Stack around the variable 'LoggerThread' was corrupted.
    I have searched as much as I can for a description of how to diagnose, but I have not found anything. I don't know how to determine the specific address that is being corrupted. If I knew that, then I could of course set a breakpoint on the condition of that changing.
    I have found many answers about other instances of this error, but nothing that descibes how to diagnose this problem. All other problems were simple enough that the problem could be determined by looking at the code. I have looked at my code extensively and I don't see a problem. One of the previous answers I have found is Error: Stack corruption around the variable 'tm' but the current version of the program uses only default alignment.
    This particular problem is a symptom of a problem that has had various other symptoms, most of which would be more difficult to diagnose. Therefore the problem is probably more subtle than most. I initially encountered the problem in a DLL project, but I wrote a console program to use and test the relevant code. It is the console version that I am debugging.

     Sam Hobbs wrote:
     Holger Grund wrote:
    Hey, these data breakpoints are really not that hard to use ;-)
    Actually they are useless for me when I use my own system, which is only 350 MHz. On that system, even very simple programs run noticeably slow and any meaningful debugging is impossible. The problem I am encountering I am developing and debugging using a fast system, so the performance is not likely to be a probem, but that has been a problem for me in the past.
    You probably haven't set the breakpoints in the correct way (again you should calculate the address yourself and leave the context empty so that the hardware debug breakpoint registers can be used).
     Sam Hobbs wrote:
    One of us does not understand. First, I must correct what I said before; the stack is used in reverse of what I was thinking. I knew that but I forgot. In other words, for each item local appearing in a function, the addresses decrease. The processor's stack pointer register is decreased for each item put into it, which makes sense, because then the processor knows there is a problem when the register gets to zero or less.
    Yes, I certainly understand that the error message is referring to memory before and after LoggerThread.
    There is an important difference between stack memory before a function's allocations and after.
    So for example if we have:
    Code Snippet
    void Level3(int a) {
     char Local[4];
    std::cout << "In Level3 Local is at " << &Local << '\n';
    void Level2(int a) {
     char Local[4];
    std::cout << "In Level2 Local is at " << &Local << '\n';
    Level3(3);
    void Level1(int a) {
     char Local[4];
    std::cout << "In Level1 Local is at " << &Local << '\n';
    Level2(2);
    int main(int argc, char* argv[]) {
     (void)argc, argv;
     char Local[4]="321";
     unsigned *pStack;
    _asm {mov pStack, esp}
    std::cout << "The stack is at " << pStack << '\n';
    std::cout << "In main Local is at " << &Local << '\n';
    Level1(1);
    return 0;
    Then the ouput I get is:
    The stack is at 0012FF1C
    In main Local is at 0012FF6C
    In Level1 Local is at 0012FF0C
    In Level2 Local is at 0012FEB0
    In Level3 Local is at 0012FE54
    Note that the addresses decrease. If I create a breakpoint using "{main,,} *(Local-256)" for 256 elements, then that breakpoint breaks constantly due to normal use of the stack. That makes debugging more difficult; are you aware of that problem?
    Unsurprisingly the debugger will watch for modifications of 256 bytes if you tell it to do so. But I don't see why you would want to do it? It is obvious that this extends into callee stack space. There are only two bytes that you should be interested in: the one before the clobbered local and the one after. Of course, during its lifetime its allocated address will never change. And in debug stack frames its memory location is never shared with any other code. Any modification to it indicates a programming error.
    Also, do note that scoped data breakpoints have had some performance problems. Again, if you care about performance calculate the address manually and set a data breakpoint without a C++ scope and make sure you don't exceed the number of available hardware watchpoint registers (IIRC there are 4 HW breakpoint registers which can watch 1,2 or 4 bytes at a given (aligned?) address). With HW watchpoints you shouldn't see any performance degradation.
    -hg

  • LabView Run-Time Installation Failure

    Hi
    I am trying to install the LabVIEW Run-Time Engine 20112 under a Windows XP Professional 32-bit SP3 Versin 2002, but every time I open the executable file, the comand prompt returns the message "Program too big to fit in memory". The machine has 2Gb of RAM memory, with only 670Mb in use. The Hard disk has 17Gb of free space. I have also installed on the computer the LabVIEW Run-Time Engine 8.6.
    Could you support me in the installation ?
    Tanks
    Download Link:
    http://joule.ni.com/nidu/cds/view/p/id/2534/lang/en
    Executable file name:
    LVRTE2011f3std.exe

    Recargable wrote:
    Hello!
    I tried installing the last version of the Windows Installer and the problem persisted.
    First I was installing from a mounted ISO image as if it was a DVD inserted for the virtual Windows XP, so I tried installing from a copy of the ISO image in the virtual hard disk, which failed too. Then I tried installing the Windows Installer. Copy the installation files out of the ISO image didn't go well either. Finally, I copied the installation files to a usb flash memory, I installed the Virtual Machine Additions in the virtual Windows XP (because is necessary for reading usb flash memories) and I could perform the installation from the flash memory.
    I can't yet understand why the OS recognises the executable files correctly in this last case and not in the others. They are the same files!!
    Thanks!!
    Totally strange.  I have no ideas on that one, but glad you got it to work. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Run-Time Check Failure #2 - Stack around the variable 'NiPlots' was corrupted.

    Why do I get this message box pop up in Visual C++.net with the following code when exiting the function:
    void CESCView::InitGraphPower(void)
    CNiPlots NiPlots;
    if (m_NiGraphPower.m_hWnd)
    m_NiGraphPower.PlotAreaColor = COLOR_LIGHT_YELLOW;
    NiPlots = m_NiGraphPower.GetPlots();
    NiPlots.RemoveAll();
    NiPlots.Add();
    NiPlots.Add();
    NiPlots.Add();
    NiPlots.Item(VIEW_PLOT_POWER_ACTUAL).SetLineColor(COLOR_BLUE);
    NiPlots.Item(VIEW_PLOT_POWER_DCH).SetLineColor(COLOR_RED);
    NiPlots.Item(VIEW_PLOT_POWER_REG).SetLineColor(COLOR_RED);
    else
    ASSERT(FALSE);
    The code below runs without any problem
    void CESCView::InitGraphPower(void)
    //C
    NiPlots NiPlots;
    if (m_NiGraphPower.m_hWnd)
    m_NiGraphPower.PlotAreaColor = COLOR_LIGHT_YELLOW;
    //NiPlots = m_NiGraphPower.GetPlots();
    m_NiGraphPower.GetPlots().RemoveAll();
    m_NiGraphPower.GetPlots().Add();
    m_NiGraphPower.GetPlots().Add();
    m_NiGraphPower.GetPlots().Add();
    m_NiGraphPower.GetPlots().Item(VIEW_PLOT_POWER_ACTUAL).SetLineColor(COLOR_BLUE);
    m_NiGraphPower.GetPlots().Item(VIEW_PLOT_POWER_DCH).SetLineColor(COLOR_RED);
    m_NiGraphPower.GetPlots().Item(VIEW_PLOT_POWER_REG).SetLineColor(COLOR_RED);
    else
    ASSERT(FALSE);

    Hello,
    Please make sure you have the Visual C++.NET update. If you do not, you can request the update from:
    http://digital.ni.com/softlib.nsf/websearch/54D7F0484F7AE7D786256B900073DB48?opendocument
    Mika Fukuchi
    Application Engineer
    National Instruments

  • [b]Run time error in Invoking Servlet to J2ME tool kit[/b]

    I am tried to invoke a servlet to my J2ME tool kit.
    invoking will happen when user press command button on
    the mobile phone, but when i do this there were run
    time error called
    "Warning: To avoid potential deadlock, operations that
    may block, such asnetworking, should be performed in a
    different thread than the commandAction() handler."
    There are no compile errors and also i am using Jrun
    webserver.
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class ServletInvoke extends MIDlet implements CommandListener
         String url="http://localhost:8100/servlet/HelloServlet";
         private Display dis;
         private Command cmd;
         private Form frm;
         public ServletInvoke()
              dis=Display.getDisplay(this);
         public void startApp()
              frm=new Form("My Project");
              cmd=new Command("Click",Command.SCREEN,2);
              frm.addCommand(cmd);
              frm.setCommandListener(this);
              dis.setCurrent(frm);
         public void pauseApp()
         public void destroyApp(boolean unconditional)
         void invokeServlet(String url)throws IOException
              HttpConnection c=null;
              InputStream is=null;
              StringBuffer b=new StringBuffer ();
              TextBox t=null;
              try
                   c=(HttpConnection)Connector.open(url);
                   c.setRequestMethod(HttpConnection.GET);
                   c.setRequestProperty("IF-Modified-Since","20 Jan 2001 16:19:14 GMT");
                   c.setRequestProperty("Content-Language","en-CA");
                   is=c.openDataInputStream();
                   int ch;
                   while((ch=is.read())!=-1)
                        b.append((char)ch);
                   t=new TextBox("First Servlet",b.toString(),1024,0);
              finally
                   if(is!=null)
                        is.close();
                   if(is!=null)
                        c.close();
              dis.setCurrent(t);
         public void commandAction(Command command,Displayable dis)
              if(command==cmd)
                   try
                        invokeServlet(url);
                   catch(IOException e)
                        System.out.println("IOException"+e);
                   //e.printStacktrace();
    }PLS if can give me a working sample code as a soluation to above problem.

    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class ServletInvoke extends MIDlet implements CommandListener
         String url="http://localhost:8100/servlet/HelloServlet";
         private Display dis;
         private Command cmd;
         private Form frm;
         public ServletInvoke()
              dis=Display.getDisplay(this);
         public void startApp()
              frm=new Form("My Project");
              cmd=new Command("Click",Command.SCREEN,2);
              frm.addCommand(cmd);
              frm.setCommandListener(this);
              dis.setCurrent(frm);
         public void pauseApp()
         public void destroyApp(boolean unconditional)
         public void commandAction(Command command,Displayable dis)
              if(command==cmd)
                   try
                   HTTPConnection conn = new HTTPConnection();
                   conn.invokeServlet(url);
                   catch(IOException e)
                        System.out.println("IOException"+e);
                   //e.printStacktrace();
    class HTTPConnection extends Thread
         String url = null;
         HTTPConnection()
         void invokeServlet(String url)
              this.url = url;
              start();     
         public void run()
              HttpConnection c=null;
              InputStream is=null;
              StringBuffer b=new StringBuffer ();
              TextBox t=null;
              try
                   c=(HttpConnection)Connector.open(url);
                   c.setRequestMethod(HttpConnection.GET);
                   c.setRequestProperty("IF-Modified-Since","20 Jan 2001 16:19:14 GMT");
                   c.setRequestProperty("Content-Language","en-CA");
                   is=c.openDataInputStream();
                   int ch;
                   while((ch=is.read())!=-1)
                        b.append((char)ch);
                   t=new TextBox("First Servlet",b.toString(),1024,0);
              finally
                   if(is!=null)
                        is.close();
                   if(is!=null)
                        c.close();
              dis.setCurrent(t);
    }

  • Auto-Run the servlet class at specificed time

    Hi,
    I am new to Jsp. I remember there is a feature where I define something in web.xml to auto-run a servlet at certain time.
    something like for everyday 4:30am, I want to clear up all the log file in my server.
    Please tell me how to do it or any reference.
    Thank you.

    if you are using a windows machine you can just schedule a task every day at that specified time and just run it. As far as the web.xml file telling the servlet to run at a specified time, I haven't heard of that. I just know that you can tell the server at what precedence you want the loading of the servlet(s).
    Hope this helps. Also, search the forum for more information on this matter. I'm sure that there are more posts on this matter that could assist you further.
    Good luck

  • LabView Run-Time Engine 2009 installation failure

    Hi,
    I have problem to install Labview Run-Time Engine 2009.
    This error occur:
    Die Installation von NI VC2008MSMs x86 ist auf Grund des folgenden Fehlers fehlgeschlagen.
    Auf den Windows-Installationsdienst konnte nicht zugegriffen werden.
    Die kann vorkommen, wenn Sie Windows im abgesicherten Modus ausführen oder der
    Windows-Installer nicht korrekt installiert ist. Wenden Sie sich an den Support, um Hilfe zu erhalten.
    (The installation of NI is VC2008MSMs x86 failed due to the following error.
    The Windows Installer Service could not be accessed. That can occur when you run
    Windows in Safe mode or Windows Installer is not installed correctly.
    Contact your support personnel for assistance.)
    I've tried to reinstall and reregistrate windows installer, I've even tried to upgrade windows installer to version 4.5
    I've installed Microsoft Visual C++ 2008 Redistributable x86.
    Im runing Windows XP Service Pack 3
    (Microsoft Windows Version 5.1 (Build 2600.xpsp_sp3_gdr.100427-1636_ Service Pack 3))
    I have no problem installing other programs, I can for example install labview runtime engine 7.1.1.
    So my question is:
    How to solve this problem, how can I make an installation of Labview Run-Time Engine 2009 on this computer that gives me the error described at the begining?
    Best regards
    Simon
    Solved!
    Go to Solution.

    Hi,
    I have already looked at that forum issue.
    So I have already tried to delete all keys in regedit.
    The problem is, if I continue with my installation, about 10 other new issues will appear.
    And my installation will not complete, it will fail.
    The installer does not install, it will tell me that the installation failed, and it will only install a few things.
    Not all the things that I need to run my program.
    See attached pictures ibn zip file to see some errors I receive, I only picked a few of them out.
    So when I then tries to start my program I will recive the error in picture program error. (Run-time engine error)
    So it's not only that the installer tells me that the installation doesn't go through, it doesn't.
    Best regards Simon
    Attachments:
    Pictures.zip ‏414 KB

  • LabVIEW Run-time Engine 7.1.1 installation failure on Windows 7 SP 1 32-bit

    I am attempting an installation of LabVIEW Run-time Engine 7.1.1 on my Windows 7 SP1 32-bit OS computer and the installation hangs.  This happens near the beginning.  Is there a compatibility issue?  The window does not have any error messages.  It says: "Updating System, The features you selected are currently being installed."  The progress indicator blinks periodically, but does not move forward.  Please help.  Thanks!

    I recently tried to install the LabVIEW 7.0 runtime engine on my Windows 7 (64 bit) machine to try out an old software. Ended up removing it quickly again, since any LabVIEW version I started up after that, including LabVIEW 2013 showed an installation dialog on startup about (updating installation information, please wait!).
    Basically there are so many possible problems why it could fail. Apparently the runtime engine installer had played with some other NI component that he had no idea would ever exist when it was created and caused that component to always think it needed to update itself to finalize its installation. In your case it could be anything from a missing Visual C runtime version framework that the installer simply expects to be present but doesn't since Microsoft has in the meantime released about 5 versions of Visual C and doesn't install all runtime versions anymore on newest Windows. Or it could be a conflict with your hyper-duper .Net Framework 4.5.x.y that the installer does not be prepared for. Maybe that or something else was not present on your 64 Bit machine where you could install the runtime engine.
    Basically the reasons for the install to fail are legion, and trying to figure it out is always more hassle than moving on and let old software be old software.

  • Run time engine install from build package failure

    when trying to install LV 8.0 Run Time engine from build package, an error is generated that the target computer needs to have LabView 8.0 installed.
    i have verified that the run time engine is included as an additional installer under the build project.

    Hi MJK34,
    If you are being prompted to install LabVIEW there must be something in the build that requires LabVIEW, not just the runtime.  Can you post a screenshot of your build specification?  Thanks.
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • Adding complex computed column at run-time fails in PB 12.6

    I support a large 'vintage' application that was originally written in the late 90's, and has been migrated from version to version over the years.  Currently I'm working to get it working in PB 12.6 Classic, build 3506, migrating it from PB 11.5
    The first issue I've come across is that PFC treeviews are not working properly.  After some debugging, I determined that the cause of the failure is the PFC code's creation of 'key' column in the datawindows being used to populate each level.
    In the pfc_u_tv.of_createkey function, it looks at the linkages between the levels of a treeviews data, and then crafts an expression, and then uses that to create a computed column, which is subsequently used to uniquely identify the data.
    The expression is a series of string concatenations, such as this:
    expression='String(ctg_cd) + "#$%" + String(app_cd) + "#$%" + String(app_cd) + "#$%" + String(win_id) + "#$%" + String(ctg_cd) + "#$%"'
    This expression is then used in a modify statement to create the new compute key column:
    ls_rc = ads_obj.Modify("create compute(band=detail x='0' y='0' " + &
      "height='0' width='0' name=pfc_tvi_key " + ls_Exp + ")")
    In earlier versions, this works, and when you do a getitemstring afterward you get a long concatenated value that PFC uses to uniquely identify treeview items.
    Such as 'a/r#$%plcy#$%plcy#$%w_m_plcy_fncl_tran#$%a/r#$%'
    However, in PB 12.6, only the first portion of the expression is processed.  There is no error returned from the Modify function, and the column is created, but the expression is only evaluating one part of the expression.  In this partiular case, it results in
    'plcy'
    I just noticed that this isn't the *first* item in the set of concatenated columns and string literals, which is interesting.  In any case, when the computed key values are not correct, the whole method PFC is using to populate and run the treeview falls apart, and you get all children under each parent, and selections on the treeview object do not work properly because the key column values are not unique.
    I can copy the expression value from a debugging session, and use that to create a computed column at design time, pasting the expression in, and naming it the same as the created column (pfv_tvi_key), and this then allows the treeview to work properly.  However, this is a very cumbersome and problematic workaround.  The application has a lot of treeviews, with a very large number of datawindows operating as all the different types of items on different levels of different trees.  I don't think it's a practical workaround, and future maintenance would be very difficult.
    bu the workaround still demonstrates it is not an issue with the syntax of the compute expression, just an issue with the way it is handled by PowerBuilder when a column is created at run time,vs. at design time.
    Has anyone else encountered this issue?  I would think there are a fair number of older apps still around that are using PFC treeviews.
    My next step will be to install PB 12.6 build 4011 and cross my fingers.  Other than that, perhaps try 12.5?

    Updating the PFC layers has started to lead down a rabbit hole of hundreds and hundreds of errors.
    Granted, many of these are probably rooted in a few ancestor issues.
    But I'm not sure this will lead to a solution.
    The problem lies in using a modify statement to create a computed column at run time containing an expression with multiple concatenated values.
    If I look at the pfc_u_tv.of_createkey function from the newer PFC version, I see the same code there:
    ls_rc = ads_obj.Modify("create compute(band=detail x='0' y='0' " + &
      "height='0' width='0' name=pfc_tvi_key " + ls_Exp + ")")
    And the same code above it which creates the expression used in the modify.
    So after doing all the patching for the new PFC version, I somehow suspect I'll still be facing the same datastore.modify problem.
    Not to say that isn't a good thing to do, just not sure it addresses the root of the problem.

  • JDeveloper: Viewing a .css on JSP at design-time + run-time

    Hi,
    As a newbie to JDeveloper, i'm struggling to get a stylesheet reference to work in both the Design view and at run-time. Dragging a stylesheet on to the JSP works fine in the development enviroment, but when the JSP is called from a controlling servlet, the stylesheet doesn't render. From looking on the web it seems i have to use request.getContextPath() to get the path: doing this works at runtime, but in the design view of JDeveloper doesn't show anything (obviously wouldn't because the getContextPath is evaluated at runtime).
    Is there a work around so i can see a style sheet rendered in both design & runtime?
    Thanks,
    Phil

    Hi,
    Thanks for your reply. When I added my stylesheet (from the component palette) JDev put it in a 'css' folder. When I drag it on to the page it uses ..href = "css/stylesheet.css".. This doesn't work at runtime, neither does href = "/css/stylesheet.css".
    To explain the problem better...if I create a new project with 2 jsp files and link them together with Go to page 1 etc this is fine. As soon as I use the mvc method of controlling jsps thorough servlets I can call page 1 fine, but if I linked back to page 2 with the href calling the jsp directly (rather than through a servlet) it won't find the page, because the context root has an extra 'servlet' folder on the path, ie it's looking for page 2 in "Testing-Project-context-root/servlet/page2.jsp", when it's not located in a servlet folder. This is why the css file is not rendering, because it's looking for it in a servlet folder. I can only get round it at the moment by using:
    <link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/stylesheet.css"/>. This of course is no good in the development environment.
    Thanks,
    Phil

  • ADF run-time error in 10.1.2 - worked fine in 9.5.1, and 9.5.2

    We recently upgraded to JDev 10.1.2 from 9.5.2. We had a web application (Struts/ADF BC) that we had developed with 9.5.1 and has been in production for 5 months now.
    We want to upgrade the ADF run-time libraries on our production server to the 10.1.2 libaries because they fix the one bug that we are having (bind variable gets dropped when app module is passivated). Before we deployed the app to the application server, we thought we should recompile it with Jdev 10.1.2 and deploy to a test container running the 10.1.2 ADF libraires.
    We opened this application workspace in 10.1.2 and Jdev asked if we wanted to migrate and we said yes. We compiled the app and then ran it in the Jdev embedded container and we ran it in the stand-alone container that ships with Jdev and we got the following error in both cases. The page that it is failing on uses a tree binding. There is one other place in the application where we use a tree binding and it fails there also. Everything else works just fine in the app.
    Is there a bug with tree binding in 10.1.2? Can anyone give me help with this?
    The following stack trace resulted from the page that has the tree binding on it.
    oracle.jbo.InvalidObjNameException: JBO-25005: Object name ConfoOrderItemEOVO_83 for type Iterator Binding Definition is invalid
         at oracle.adf.model.binding.DCBindingContainerState.buildIteratorMap(DCBindingContainerState.java:120)
         at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:286)
         at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:361)
         at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:2021)
         at oracle.adf.controller.lifecycle.PageLifecycle.prepareModel(PageLifecycle.java:211)
         at oracle.adf.controller.struts.actions.StrutsPageLifecycle.prepareModel(StrutsPageLifecycle.java:70)
         at oracle.adf.controller.struts.actions.DataAction.prepareModel(DataAction.java:294)
         at com.awiweb.om.ext.AWIDataAction.prepareModel(AWIDataAction.java:82)
         at oracle.adf.controller.struts.actions.DataAction.prepareModel(DataAction.java:486)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:105)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
         at com.awiweb.om.ext.AWIDataAction.handleLifecycle(AWIDataAction.java:191)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Unknown Source)

    Les,
    The following stack indicates that this codepath is going through Controller lifecycle and the ADF/Struts has found a value on the page that indicates the jsp when 'rendered' put a hiddenfield as mentioned above. If you remove the hidden field from the .jsp, this codepath will not 'execute' at all.
    stack:
    at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:2021)
    at oracle.adf.controller.lifecycle.PageLifecycle.prepareModel(PageLifecycle.java:211)
    at oracle.adf.controller.struts.actions.StrutsPageLifecycle.prepareModel(StrutsPageLifecycle.java:70)

  • I am changing to a larger hard drive on my Mac. Can I copy the Aperture library from my backup disk running Time Machine without loosing anything?

    I am installing a larger harddrive on my Mac. Can I copy the Aperture library from my backup disk running Time Machine without loosing anything? I am getting help migrating everything else on to the new harddrive, but since copying the 350Gb Aperture library takes a lot of time, I am planning to do that part myself.

    I found the following information on Time Machine help about restoring Aperture library from TM
    Restoring Your Aperture System
    If you buy a new computer or use another system at a different location and want access to the Aperture library, you can install Aperture and then transfer the library from your vault (on your backup disk) to the other computer. If you experience equipment failure or other unexpected events, such as fire or weather-related damage to your equipment, you can easily restore the entire library to your new computer from a backup disk.
    HideTo restore the entire library from an external backup disk
    Restoring Your Aperture System
    If you buy a new computer or use another system at a different location and want access to the Aperture library, you can install Aperture and then transfer the library from your vault (on your backup disk) to the other computer. If you experience equipment failure or other unexpected events, such as fire or weather-related damage to your equipment, you can easily restore the entire library to your new computer from a backup disk.
    HideTo restore the entire library from an external backup disk
    If you buy a new computer or use another system at a different location and want access to the Aperture library, you can install Aperture and then transfer the library from your vault (on your backup disk) to the other computer. If you experience equipment failure or other unexpected events, such as fire or weather-related damage to your equipment, you can easily restore the entire library to your new computer from a backup disk.
    HideTo restore the entire library from an external backup disk
    Connect the hard disk drive that contains the most up-to-date vault to your computer and open Aperture.
    Choose File > Vault > Restore Library.The Restore Library dialog appears.
    Choose the vault you want to use to restore your library from the Source Vault pop-up menu.If the vault doesn’t appear in the Source Vault pop-up menu, choose Select Source Vault from the Source Vault pop-up menu, navigate to the vaults location in the Select Source Vault dialog, then click Select.
    Click Restore, then click Restore again.

  • Automatic Retry run-time error step in TestStand

    Hi, I am using an instrument at many places in my sequence (let's say 5 times). I am using the Labview instrument driver. Sometimes (every 50 calls), the instrument driver call gives me a run-time error because the instrument is somehow busy. But usually by doing a retry on the step that caused the run-time error, it works. However, in few cases, the instrument is really defective. In order to make my sequence more robust, I want all that handled in TestStand (I want the operator to stay away from the big grey popup. Many of them freaks out when they see this…). I was thinking adding 2 callbacks to my sequence: 1)        Post run-time error: a.        If local “index” == 1, run cleanupb.        If “index” == 0, retry the current step (by manipulating the current step id)c.        Incrementing “index” to 12)        Post step:a.        If step.Result.Status != “Èrror”, ”index” = 0 Index is a local variable in my sequence This algo might work, but is there another way of doing this? You can loop on the failures, but not on the errors.    
    Thanks
    Alexandre

    Alexandre,
    there are many ways to accomplish your task.
    Here's a small list:
    - Disable default error handling and "do error handling in your sequence" (using gotos with precondition) 
    - Use the SequenceFilePostStepRuntimeError Callback
    - Handle the retry-functionality within your codemodule
    I'd suggest you to choose either the second or third option. As Juergen already stated, you can alter the behaviour of TS in regard to runtime errors. The default behaviour displays a dialog asking the operator on how to react. On automated systems, this setting is nonsense, therefore it is suggested to switch to "Run Cleanup". I wouldn't choose any other setting here.
    Using the Callback Sequence is nice since it can be used in a very general way and you can call certain alternativ test strategies if the instrument fails to work.
    Implementing the error handling within the codemodule nevertheless optimizes execution times and could be better in other aspects as well. But on the other side, you have to deside what should happen if the error cannot be solved by the module itself.....
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for

  • YC_GEN app engine failed after upgrading from EPM 8.9 to 9.1 Rev1

    we tried upgrading our EPM 8.9 + tools 8.49.23 application to EPM 9.1 + tools 8.53.08. After upgrading when we tried to run the YC_GEN app engine it failed with the below error. Error: 17449 20.26.27 0.000111 321: &ln_1 = &lbi_1.Execute(); 17450 20.2

  • Multiple LIVE applications

    Wonder if you can help-. Two things really: Has anyone tried running HTMLDB 2.0 (APEX) on Microsoft Virtual server? Does ORACLE support this? I was planning on creating four environments on the same hardware, (Live, Staging, Development, Training). A

  • Question About Color's and Gradients

    Hi all, I have a question about color swatches and gradients. I am curious to know, if I have 2 color swatches that I make into a gradient color, is it posible to change the tint of each indivdual color in that gradient and have that applied to the g

  • Problem emailing from export dialog

    Hi Guys! One of the features I really want to work well is the export direct to my email program. I am having a problem and have tried every solution but am still stuck. I have added shortcuts to both Windows Live Mail and Windows Mail to the Export

  • Adobe photoshop elements suddenly refused to open (launch)

    I had purchased Photoshop Elements 12 Editor for my mac laptop perhaps 1 or 2 months ago. It worked fine until last night. It suddenly keep saying "your application quit unexpectedly, do you want to re-open?" Either reopening or saying cancel and jus