Question for Steve Muench - ADF/EJB & Applets?

Steve or anyone who can help - Do you have any sample demo that can demonstrate how to take advantage of ADF caching technology on the server, or an EJB solution integrated with an applet in a web application?
It is kind of late in the game, because we are about to roll out an application in our company, nevertheless we are still researching a better way for handling tremendous amount of data by our applet. We are using F1 Formula engine (spreadsheet like tech) in our applet. But, we have severe performance problems, especially in our remote locations trying to load thousands of rows in the applet and on top of that do all kinds of formatting and Excel like functionality in the applet grid at run time.
We are looking for a way to integrate ADF or EJB caching solution with our applet, so that we can cache the client data on the app server if possible, in order to improve performance.
Any guidance, suggestion and help is very much appreciated.
Thanks,
[email protected]

Hi,
my recommendation would be to use JavaWeb Start with BC deployed as EJB to the Application Server. This way you have a real client installation and don't need to download the Applet classes all the time (and JClient, assuming you use JClient, comes with a couple of libraries slowing down the initial application startup). Using EJB on the middle tier allows you to use batch mode, which reduces the number of roundtrips between the client and the server. Note that the default implementation is synchronous, which is more chatty.
Frank

Similar Messages

  • Question for Steve re: Setting Up Discussions & ADF

    I hope this is a simple thing I am just overlooking. I am new to ADF and trying to understand all of its features quickly. I need to create a component that will be used in many web apps - it will support a discussion threading heirarchy with a main topic and responses (plus responses to responses) typical of this forum format. I have a table TOPIC with the PK topic_id and also a recursive FK topic_resp_id which I want to use to link topics together as responses. I have a DBSequence in the db (oracle 10g) and a trigger to fill it in for the TOPIC table, but don't know how to enforce population of the topic_resp_id FK column when a Topic is a response to another Topic. Can you advise on this? Am I getting too complicated with this design?
    Thanks!!!!
    Ginni

    Hello there! Welcome to the forums @Bynki ,
    I read about the issues you're facing with installing your Deskjet 3050A to your Mac on your network and I wanted to share some of my own suggestions that might help!
    In order, try these steps:
    Mac OS X: How to reset the printing system
    Repair disk permissions
    Restart the Mac
    Follow these instructions on OS X v10.9 Mavericks: Installing and Using the Printer on a Mac
    Have a great weekend
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Need help for file upload - reposted for Steve Muench

    Hi Steve,
    I have been involved developing a web application that requires a file upload operation. I have studied your example on Upload Text File and Image Example in the Not Yet Documented ADF Sample Applications section. I got the file upload part worked but could not get the original file name to populate the name field..i.e. if I upload myFile.txt to the database, the name field will be myFile.txt (not the name enter by user). Is there a way to capture the filename info? or is it possible to do so within ADF framework? I am using ADF/Struts/JSP with ORDDoc data type. Thanks very much.
    Bill

    Hello Nani,
    You need to change any settings in 'FILE' transaction. This transaction is used to set up Logical file paths. ( In general it will be set already for your system).
    You can use the following code.
      DATA: LC_LOGICAL_FILENAME_EXPSRC LIKE RCGIEDIAL-IEFILE
                                                    VALUE 'EHS_IMP_SOURCES'.
      DATA:      L_EMERGENCY_FLAG            TYPE C.
      DATA:      L_FILE_FORMAT               LIKE FILENAME-FILEFORMAT.
      data : X_RCGIEDIAL LIKE  RCGIEDIAL occurs 0 with HEADER LINE.
      read the default pathname on application server
        CALL FUNCTION 'FILE_GET_NAME'
             EXPORTING
                CLIENT                  = SY-MANDT
                  LOGICAL_FILENAME        = LC_LOGICAL_FILENAME_EXPSRC
                  OPERATING_SYSTEM        = SY-OPSYS
                parameter_1             = ' '
                PARAMETER_2             = ' '
                USE_PRESENTATION_SERVER = ' '
                WITH_FILE_EXTENSION     = ' '
                USE_BUFFER              = ' '
             IMPORTING
                  EMERGENCY_FLAG          = L_EMERGENCY_FLAG
                  FILE_FORMAT             = L_FILE_FORMAT
                  FILE_NAME               = X_RCGIEDIAL-IEFILE
             EXCEPTIONS
                  FILE_NOT_FOUND          = 1
                  OTHERS                  = 2.
        write :/ 'file format', L_FILE_FORMAT,
               / 'file name', X_RCGIEDIAL-IEFILE.
    Thanks,
    Jyothi

  • 1 Question for Steve

    Hi, Steve!
    I'm trying to run the XMLLoader Utility from your book, with a SAXParser and using the MultiTableInsertHandler class, to store a large xml file in several database tables.
    When I run the XMLLoader I always get 'Deadlock breakpoint occurred at line 474 in file [C:\Program Files\Oracle\JDeveloper 3.1.1.2\jdbc\lib\oracle8.1.6\classes12.zip]\oracle\jdbc\driver\OracleConnection.class.' after some inserts into the tables.
    These inserts are made correctly...
    I think this is a problem related with JDBC Thin Driver or it's configuration, but i'm not sure and i just don't know how to solve it.
    Can you please help me out with this?
    Good work.
    Bye.
    null

    Hi again, Steve!
    In fact, I've tried also with the OCI8 jdbc driver and it still doesn't work... the difference is that the number of inserts is a little bit higher before the deadlock appears...
    Meanwhile, I found that Chris Cooper has faced this same problem, and posted it in this same forum by the 6th of November 2000... I quote him here:
    "I'm using XSU to load a large amount of data into an 8.1.6.1.0 Solaris instance of Oracle from XML files preformatted into the usual ROWSET/ROW DTD.
    I take the files and break them down into smaller files (80Mb being a bit big for DOM to handle I'm sure you'll agree).
    Once this stage is complete, I iterate through all these small files and use OracleXMLSave to insert the values into truncated tables.
    The problem is that I get an intermittent error where the application just locks up.
    I am developing using JDeveloper 3.1.1.2, and when I have debugging enabled, the message that comes up is that a deadlock breakpoint has been hit!
    The problem here is that, the application is the only connection to the schema, and there is only one connection. I don't see how I can get into a deadlock situation unless this is a deadlock within the development env.
    When I examine the data, all the rows in the file that caused the lockup have been successfully inserted, so the implication is that it is the cleanup that is causing the problem.
    Has anyone got any ideas? Or has anyone come upon this one before and found a work around?
    I have written a thread manager to spin each load off to a separate thread, which gets terminated if the load takes too long, but this still leaves a connection with a lock that I am unable to clean up. (Well it appears to be a lock but there is no entry in v$locks!)
    Thanks for your time and attention,
    Chris Cooper"
    The only difference that I detect between Chris' case and mine is that I'm running Oracle in a Windows NT Server...
    Since the problem doesn't seem to be dealt with thin or oci8 driver, do have you any suggestion of what may be happening here?
    Thanks again for your time!
    My best regards.
    Rui Pinto

  • Steve Muench ADF Sample Applications Empty

    Not sure if this is the right place to post this, but does anyone else have an issue with retrieving any of Steve's sample applications? I am able to get the zip file, but they are all empty and I get an error saying the zip file is corrupt.
    I desperately need his Example #1 https://smuenchadf.samplecode.oracle.com/samples/ArrayOfStringDomain.zip
    Thanks!
    Edited by: JoeScheirich on Nov 29, 2010 1:51 PM

    Weird. I have tried this on two different computers on two different networks with the same issue. Very frustrating as I really need that zip file.
    5 points for the first person that posts and emails it to me at [email protected]
    Thank you

  • BeginRequest on previously used DataControls (for Oracle guys/Steve Muench)

    Hi,
    We are using JDeveloper 10g (10.1.2.1.0) and ADF BC+JSP in our application.
    In our developer team, in tuning tasks we have detected, that all DataControls that were been used be the user in the past (same session) are activated each request (beginRequest) that user realizes, activated and taking an AM out of the pool and maybe this AM not will be used in this request, and maybe neither in any other future request from the user. Then we have that each AM that were used in the past by the user, must will be activated/passivated if pool is small size limited or pool must will be oversized (server big load situations).
    When the user ends using this AM, we call its resetState method, like is recommended by Steve Muench at
    Re: application modules and a logoff event (for Steve Muench)
    but the next ones user requests will make the ADFBindingFilter call beginRequest on all previous AM anyway. Seems that initially the user BindingContext contains references to DataControls (DCDataControlReference) but when the user uses/gets an DataControl its reference is replaced with the real DataControl instance (DCJboDataControl), and seems that DCJboDataControl.beginRequest, gets an AM instance out of pool, I think that this will make that the AM will not be expired/cleared by the PoolMonitor.
    We have hard coded a test in our application that seems to work with the normal ADF and application lifecycle (but I don't like this test too much, too much low level coding), basically the DataControl is replaced by its reference when the user ends using it.
    And now the questions. Is it a normal situation? Why we must suppouse that all the AM/DataControl previously used by the user will be used in the current request? There's a normal way to do this, maybe a method that when the DataControl is marked with a flag releases it till the next time user needs it (I'd try release(int) and it didn't works in this way)? Any suggestions/explanations about this?
    Comments will be very well received. Thanks in advanced.

    Hi Steve,
    firstly, thank you very much for your so fast answer.
    Ok, I'll open a TAR in metalink. I've searched for the bug# 4566186 in metalink, but I didn't found nothing in metalink for this bug number.

  • Displaying Images in ADF/JSF: Error Using Steve Muench's Example #69

    Hi,
    I've been able to load images into the database using Steve Muench's Example 69. However, I'm having issues displaying the images.
    Jdeveloper: 10.1.3.3.0
    Database: 10gR2 with ORDSYS active.
    I'm getting the following error:
    07/08/20 12:09:20.993 JSFOrdImageExample-ViewController-webapp: Servlet error
    java.lang.NullPointerException
         at oracle.ord.html.OrdPlayMediaServlet.renderContent(OrdPlayMediaServlet.java:403)
         at oracle.ord.html.OrdPlayMediaServlet.deliver(OrdPlayMediaServlet.java:263)
         at oracle.ord.html.OrdPlayMediaServlet.doGet(OrdPlayMediaServlet.java:204)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:613)I'm not sure why I'm getting a NullPointerException...
    Previous to this, I had to include the bc4jhtml.jar file as a library in application.xml, and I've tried using the two bc4jhtml.jar files, but neither one seems to work.
    I'm thinking that there must be something simple that I'm missing with the servlet setup...
    Thanks!
    Kenton

    I tried the wayback machine, but unfortunately, it doesn't cache the SWF files either :( I do have a copy of some (ok one) of Steve's old videos (the one that shows how to do a dropdown list in an editable table, back before it was easy to do), but unfortunately, none of the search ones.
    John

  • For those who used the solution by Steve Muench,Dynamic JDBC Credentials

    hi every body
    is there any body used the solution by Steve Muench, Dynamic JDBC Credentials .
    thanks
    Yaser
    Edited by: 842127 on Mar 13, 2011 9:24 AM

    Hi,
    in the login page i have a button to make login which work perfect
    How can you say ?
    Whenever i click any control in the login page i see this message invalid username/passowrd . i do not why i face this problem ?I have tried changing the username,password and database using http://www.oracle.com/technetwork/developer-tools/jdev/dynamicjdbchowto-101755.html which works perfect.
    refer my thread
    Changing the database for a particular user session
    Regards,
    Santosh
    Edited by: Santosh Vaza on Mar 17, 2011 11:29 AM

  • Dynamic JDBC credentials example application from Steve Muench

    Apologies for this newbie question...but I'm trying to understand the Dynamic JDBC credentials example application from Steve Muench:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#14
    I think I understand most of it but the one bit I dont understand is why it customizes the ADF Page Lifecycle (DynamicJDBCADFPhaseListener, DynamicJDBCPageLifecycle, DynamicJDBCPageLifecycleContext).
    Can anyone explain to an ex-forms developer why this code is there?
    I'm also trying to work out a way for the session to be invalidated when the user logins again
    e.g. a user logins, he doesnt use the logout function but uses the back button to go back to the login page. when he logs in with another set of credentials, would a new session start or as i supsect, it would use the original login credentials?
    Thanks

    You can ignore those three classes in the example. They are not related to the dynamic credential solution, and must have been left over from some other example I evolved into what you see. Sorry to have cluttered up the implementation with stuff that isn't really contributing to the actual solution. DOH!

  • Error while running the tutorial posted by Steve Muench

    Hi Guys,
    I have been trying to run the tutorial published by Steve Muench on October 9 2006. I've followed all the steps as specified in the tutorial.
    Chapter 3.4:Run the Application, should supposed to compile and run my application using stand-alone embedded OC4J. It was compiled witout any error. But gave me the following error while running the application.
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracledevday\jdeveloper\jdev\system\oracle.j2ee.10.1.3.39.14\embedded-oc4j\config>
    C:\oracledevday\jdeveloper\jdk\bin\javaw.exe -client -classpath C:\oracledevday\jdeveloper\j2ee\home\oc4j.jar;C:\oracledevday\jdeveloper\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\oracledevday\jdeveloper\jdev\system\oracle.j2ee.10.1.3.39.14\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2006-10-12 22:47:17.250 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    2006-10-12 22:47:17.265 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    2006-10-12 22:47:22.609 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: datatags does not exist. Error creating Web application: webapp
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 14015 ms.
    Target URL -- http://10.10.10.10:8988/MyDemo/faces/pages/EmployeesTable.jspx
    06/10/12 22:47:22 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    22:47:26 WARN (Digester) -[ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/EmployeesTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/DepartmentsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/LocationsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/CountriesTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/RegionsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/JobsTable.jspx)
    2006-10-12 22:47:29.546 TRACE Setting JAZN Config property ...
    2006-10-12 22:47:29.625 NOTIFICATION ---- JAZNSecurityContext.getUserPrincipal(): NULL
    2006-10-12 22:47:32.015 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    22:47:32 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/EmployeesTable.jspx, pagedef=EmployeesPageDef
    22:47:32 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    22:47:32 DEBUG (BreadcrumbStack) -Adding breadcrumb to stack: "Employees" (/pages/EmployeesTable.jspx)
    22:47:32 DEBUG (JhsPageLifecycle) -Executing prepareRender, page=/pages/EmployeesTable.jspx, pagedef=EmployeesPageDef
    22:47:32 DEBUG (BreadcrumbStack) -Breadcrumb already on stack; rolling back the stack
    22:47:32 DEBUG (BreadcrumbStack) -Adding breadcrumb to stack: "Employees" (/pages/EmployeesTable.jspx)
    2006-10-12 22:47:34.468 ERROR
    Please advise and let me know if you need any other information from me.
    Thanks,
    Magesh.

    Thanks Steven.
    That makes sense. Is there anything I can do to make this demo work without de-installing 10.1.3.1 Preview? Or If I also install 10.1.3.0.4 with SU5 on another folder, does that affect my 10.1.3.1 Preview version?
    I'm using 10.1.3.1 Preview version to learn Oracle's SOA suite.
    Thanks again,
    Magesh.

  • Servlet problem: (Shay Shmeltzer / Steve Muench / Frank Nimphius)

    Dear sirs... (Shay Shmeltzer / Steve Muench / Frank Nimphius)
    I hope you can give me an answer.
    I created an ADF UIX application using JDeveloper 10.1.2. I have created a servlet to download files. my problem is that it works just fine using jdeveloper, while when deployed into oracle application server it causes errors.i am calling this servlet by storing filename and data in the session, then sending redirect request to the browser.
    the servlet code is:
    package view;
    import java.io.OutputStream;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.PrintWriter;
    import java.io.IOException;
    public class FileDownload extends HttpServlet
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    try
    String DownloadFileName=(String) request.getSession().getAttribute("downloadfilename");
    byte data[]=(byte []) request.getSession().getAttribute("downloadfiledata");
    if (DownloadFileName==null)
    return;
    request.getSession().removeAttribute("downloadfilename");
    request.getSession().removeAttribute("downloadfiledata");
    response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment;filename="+DownloadFileName);
    response.setContentLength(data.length);
    OutputStream OS=response.getOutputStream();
    OS.write(data);
    catch (Exception e)
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    try
    String DownloadFileName=(String) request.getSession().getAttribute("downloadfilename");
    byte data[]=(byte []) request.getSession().getAttribute("downloadfiledata");
    if (DownloadFileName==null)
    return;
    request.getSession().removeAttribute("downloadfilename");
    request.getSession().removeAttribute("downloadfiledata");
    response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment;filename="+DownloadFileName);
    response.setContentLength(data.length);
    OutputStream OS=response.getOutputStream();
    OS.write(data);
    catch (Exception e)
    and the error is :
    java.lang.IllegalStateException: Response has already been committed
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1902)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:213)
    this error is stored in the log file. if i am running this code from JDeveloper I can download the files using either FireFox or Internet Explorer without any error.
    but if i am running this code using Oracle Application Server 10g Realse 2, i can not download the files using either FireFox or IE.
    so i created another solution, instead of redirecting from a datapage into the servlet, i put the following code in a data page as follows:
    public void onDownload(DataActionContext ctx)
    String DownloadFileName=getfilename();
    byte data[]=getdata();
    response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment;filename="+DownloadFileName);
    response.setContentLength(data.length);
    OutputStream OS=response.getOutputStream();
    OS.write(data);
    OS.flash();
    this time the application works fine when deployed into Oracle Application Server if you use FireFox, but if you use IE, it causes problem, i can not save the file or view it.
    what is the problem?
    how can i fix this?
    i am certin that the second method is not correct and it should not be used.
    thanks for everyone in advance
    best regards

    Dear Sir...
    Thanks alot for your replay
    regarding the reset method. Itried it and it does not give any good.
    I discovered the following problem:
    If you are redirecting from with struts dataaction page to the servlet, you get the error
    Otherwise if you called the servlet from directly or redirected to a servlet from within a servlet, you get no problem.
    can any one help me please??
    Is it possible that the problem is in IE itself? The file is downloaded perfectly fine with firefox(but the error log still appear)?
    best regards

  • Step-by-Step guide for developing a ADF application, does it exist?

    Step-by-Step guide for developing a ADF application, does it exist?
    Hi there,
    At our company we recently begun working on a project using Oracle ADF with
    UIX. We got the Oracle JDeveloper 10g handbook and we did a 5 day Oracle ADF
    course. A good way to start the project I think.
    One thing that bothers me though, is that I cannot find a simple clean example
    how to manipulate a record in the DB, going through all steps of MVC. I tried
    this forum, the books we got and google. It usualy explains a small portion
    of the steps needed, but never a complete example.
    I know people will probably say you can design what you want in various ways
    and that's its all up to the developer, this is also the power of ADF that it
    can be very flexible.
    However it would be nice to have a step-by-step example how to be able to insert,
    edit and delete a record. Showing all the steps that have to be made in the BC4J,
    struts and UIX, including creating triggers, seq, autocommitting etc.
    I think ADF is pretty complicated, therefore having a step-by-step example guide
    (design pattern) would be very handy for a beginner like me.
    Do such guides exist, are there developers who created such a guide for themselves?
    Would other developers find such a guide useful? I'm curious about everybody's
    opinion.
    A good example of what I mean by guide can be found here
    How To Build a Simple UIX Search Form, written by Shay Shmeltzer
    http://www.oracle.com/technology/products/jdev/tips/shmeltzer/setwhereclause/uix.html
    kind regards
    Ido

    Have a look at the ADF Workshop - it doesn't use UIX rather it uses JSP but I think it will give you the basics.
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    Then have a look at the toy-store demo and the new ADF Case manual:
    http://download.oracle.com/docs/cd/B14099_10/web.1012/b19163/toc.htm
    http://www.oracle.com/technology/products/jdev/tips/muench/adftoystore1012/index.html

  • Issue with Steve Muench's latest eg. How to resolve it?

    I have gone through the example "Compelling Dialog" By Steve Muench. Which is available at below link
    "http://www.oracle.com/technology/oramag/oracle/10-jul/o40frame.html";
    This example is perfectly good even great. There are two issues with this example which i have found and need a solution for those
    1. Any LOV or error message that opens from the popup is confined within the pop-up window. Resulting in ugly looks and a tedious way to maneuver. How to work this out?
    2. I don't want to give any width or height for this popup. It should adjust as per the required width of the fields.
    I have issues with above mentioned two problems. Can any of you come up with the solution of above two problem.
    I am working with JDEV11.1.1.2.0 with ADF11g
    Thank You in advance

    I have had exactly the same problem now with two mini iPads.  Everything was tried; 1) restarting; 2) restoring factory settings etc.  NONE worked.  Eventually Apple agreed to replace it.  I have had the replacement now for two to three months and exactly the same thing is happening again. So off to Apple tomorrow to get another replacement.
    I am quite a heavy user of the iPad so wonder if this is something to do with the fault.
    It is so frustrating as sometimes reset works, and then after 10/20/30/40 minutes (you pick) it goes unstable again.

  • Question for CL Forum Ad

    I have been reading through this forum and there seems to be no shortage of upset customers. They all seems to be asking the same questions over and over again, and the only answer given is, "I'll post more information when I get it".
    Now, I'm not a real tech savvy guy, but why is it not possible, to walk over to the desk of the head developer, and say, "Hey Steve, can you tell me why the new drivers are the same as the beta ones?"
    And then walk back to your PC and type the answer here. I mean lets be honest, unless you are sending messages via snail mail, I don't understand why this is so hard to do. I suspect you HAVE the answers, but the big cheese at CL has told you to simply deflect the questions for now.
    What I am trying to say is that by you saying you'll post information when you get it, does nothing but make your company look completely rag tag. It gives the impression that everyone just works part time from home, and they only meet every other Saturday for a softball game. There is no official statements from CL, you guys don't have any answers, no one knows when anything is being released or what it'll have in it...it just seems like the company is in shambles.
    And this brings me to my second question. While you're slow to respond to questions about why things aren't working and such, but you are quicker than a fat man chasing a rolling donut down the street when someone advertises another brand, so my question is what do YOU recommend we do?
    Can you suggest some solutions for all of the people who bought CL cards and have no working drivers? I would really appreciate if you didn't simply ignore, or skirt around this question.
    I think it's time you threw us a bone here, if you're not going to give us any information, then at least give us some other alternati'ves.

    Dude, honestly, I could care less what happened 0 years ago. I have said it before and I'll say it again for you, just because this type of thing keeps happening doesn't mean it's right.
    When I buy a product from a company I don't do it thinking, "Hey, maybe if I buy this product then the $200 will help them become the best company in the world, and I don't care if it works or not, I just like the feeling of supporting companies in the hopes they'll do well!"
    I buy products, and I expect them to work.
    Regardless, if you had actually read my post, you would see that I'm not asking when the drivers will be out, or why they aren't... I am asking why this "world leader" in sound cards can't communicate effecti'vely with it's customers? I am asking why the Admins keep saying the same old mumbo jumbo, and expect us to buy that they can't actually just go talk to the people in charge.
    I am also asking if they can't tell me that information, then help me find some alternati'ves.
    So, why don't you paypal me a few hundred dollars for a new sound card. You seem to have no problem sitting there giving your sound card "high fi'ves" and talking to it in a sweet voice, "Don't worry little sound card, I know you have amazing potential, I won't give up on you!"
    "Do you remember the old days of Windows 2000?" We then cut to a montage of you running through fields of flowers hugging your sound card and a copy of Windows 2000. You shake your fingers at them and say, "Not yet little guys, soon we'll all be together in harmony, we just have to wait!!"

  • Dynamic JDBC Credentials: Example 14 from  Steve Muench

    Hi,
    Im trying example from Steve Muench, it's working fine.
    But I have some questions about it.
    If I want to connect to the db with a wrong username/password I see that it tries 5 times to connect to the database, Where Can I change this number of retries?
    Before the password should be used, it must be encrypted. I have two encryption methods, wich one should be used varies.
    If the first encryption gives a wrong result(no login) the second encryption should be used.
    What is a good place to encrypt the password?
    I was thinking of DynamicJDBCSessionCookieFactory because that is called more than 1 time if login fails.

    I placed my code to encrypt now in the DynamicJDBCBindingFilter.
    This how I try to connect twice
    catch (Exception e) {
                        if (isFailedLoginException(e)) {
                            System.out.println("Poging="+poging);
                            attemt+=1;
                            if (attemt<3){
                                FacesContext    fctx = FacesContext.getCurrentInstance();
                                ExternalContext ectx = fctx.getExternalContext();
                                HttpSession session2 = (HttpSession)ectx.getSession(false);
                                if (session2 != null) {
                                  session2.invalidate();
                                this.doFilter(request,response,chain);
                            }else{
                                signalFailedLoginAttempt(svrRequest);
                                redirectToLoginPageOnLogonError(request, response);
                        }As you can see I invalidate the session and then I call doFilter again.
    This is almost working, but when I'm forwarded to main.jsp with the table I see access denied istead of the table, I also get this error on the Jdev console:
    08/03/25 15:09:14 java.lang.IllegalStateException: Session was invalidated
    08/03/25 15:09:14      at com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:151)
    08/03/25 15:09:14      at test.DynamicJDBCBindingFilter.doFilter(DynamicJDBCBindingFilter.java:84)
    08/03/25 15:09:14      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    08/03/25 15:09:14      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    08/03/25 15:09:14      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    08/03/25 15:09:14      at java.lang.Thread.run(Thread.java:595)
    The session is invalidated, but If I don't to that it looks like that the new login credentials are not used. Because then I go back to the login page and see the message that the login\password was not correct.
    Someone who knows what I do wrong? I realy need to know this!!
    Message was edited by:
    KdeGraaf

Maybe you are looking for

  • My new HDD for Macbook pro 13" unibody is not recognized and I am using a new SATA cable

    Hey everyone, I have a particular problem that I cannot seem to find an answer to.  My new 500gb internal drive for my Macbook Pro 13" unibody is not recognized.  The old HDD broke on me so I bought a new one but my macbook pro would not recognize it

  • Don't know why my iCloud Storage is gone. Help!

    iCloud Storage Error I try to free up all my devices that use iCloud for backup. As you can see, the total size is just 663.1MB. and I do backup only the stuffs like Keynote, Pages and Mail which takes only, 125.2MB, 723.9KB and 78KB. I don't backup

  • How can I get the volume to work?

    I cannot get the volume to work on the Nano 7.  Does anyone have any tips?

  • SOA Soap request

    Hi Friends, Newer to soa suite 11g 1>I have craated small soa 11g app. i send small xml request in EM and I get xml response in EM TESTER. so far good (This is NOT how internet websites work. They work in HTML rendered in browser for Request and Resp

  • Restore of single file failes: "datafile ... is already restored to file"

    Hi All, I'am doing some restore tests with RMAN and want to restore a single file to a new directory. First execution of the restore script ( run { restore datafile 14 to '....'; }) was successful, but in case I deleted the restored file and restart