EJB 3.0 - problem reading request parameters

I'm looking at Spring and TopLink integration and deploying with the EJB 3.0 version. I ran into problems when trying to retrieve a parameter from a request. Since I could not see anything wrong, I deployed with Tomcat and the code executed correctly.
The simple case below illustrates the problem:
<%@ page session="false"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/request-1.0" prefix="req" %>
<html>
<head>
<title>PetClinic :: a Spring Framework demonstration</title>
</head>
<body>
The ID parameter is: <req:parameter name="id"/>
</body>
</html>
Running with http://localhost:8080/sto12/welcomeURL.htm?id=foo causes foo to be displayed in Tomcat but not in OC4J EJB 3.0. Why is this?
Thanks
Mike

Sorry, I tried to submit the problem in a simplified form and I can see I've just made it more confusing. Let me try again.
Spring ships with a Petclinic sample. The Spring Toplink integration work has provided new classes that allow the Petclinic example to be deployed using Toplink as the object relational mapping. I have it running using Tomcat, but have had problems using OC4J EJB 3.0.
In the sample app, there is a JSP that allows surname to be entered, which then calls code to search for Owners with a match on surname. That code treats no matches, one match and many matches differently.
In the case of no matches, the JSP simply displays a message saying no matches found. In the case of many matches, it uses another JSP to display a list of Owners, from which the desired one is selected. The selected one is then displayed by a further JSP on which updates can be made. Where only one match with surname is found, the selection JSP is bypassed.
Behind the scenes when obtaining the list of matching Owners, the Toplink code simply obtains a list. When one is selected, a further Toplink access is used which returns the selected Owner by reading via the primary key selected from the list. The essence of the problem is that there is a single piece of code in the sample that makes the Toplink call to read by primary key. When called in one scenario, it works, in the other it does not.
Where that code is invoked as a result of the user selecting from a list, it is the JSP POSTing the selected Owner that transmits the primary key to the code. The code obtains the key from the request and everything works fine.
Where only one Owner is found, a redirect is done with the key added as a parameter. When the same code as above attempts the retrieve the key, it is unable to do so ie it returns null and the subsequent Toplink call fails.
Since the above obscures the problem, I played around with two of the JSPs provided - welcome.jsp and index.jsp. In the sample, index.jsp is included in the web.xml under <welcome-file-list> and hence is used when the app is started. It simply redirects to welcome.jsp. (I believe the reason is that all requests go via the Spring DispatcherServlet and are forwarded to the appropriate JSP depending on configuration - hence the comment that they are "virtual").
When I put code in the index.jsp to display an id parameter and start it with an id provided, it displays the id parameter. When I let the index.jsp simply redirect to welcome.jsp (with an id included and welcome.jsp changed to display the value)it does not display the value.
I'm sorry this has become a long post. The gist seems to be that I can't extract parameters from requests that have been redirected. As I said at the top of this note, this is not the case with Tomcat - I can run the same code there and retrieve parameters from a request, whether it has been redirected or not. I've posted in this forum because I believe the problem is with OC4J not with Spring or Toplink. I could be wrong.
Any suggestions are very welcome.
Mike

Similar Messages

  • WHY? Request Parameters From Form are NULL

    I have the following process, which by the way has been working successfully for months, until just recently.
    1) User comes to JSP page to upload images through a form that has the <input type="file"> fields as well as <input type="hidden"> to hold a few essential values.
    2) User submits form, form action attribute set to go to a Servlet
    3) Servlet reads all request params and inserts the images into a database.
    I have code to read in the images...I use classes from the org.apache.commons package.
    I could only assume it was the servlet that was the problem, but doubted that because why would it work all these months than suddenly stop.
    I set up a test html page with a form and had it go to a jsp page to read the request params and print them out. To my suprise they all had NULL values.
    Which tells me that the params aren't being read from the form.
    How could this be??
    Here is some example code snippets from my test pages:
    HTML PAGE
    <html><body>
    <form name="images" action="testing_operations.jsp" enctype="multipart/form-data" method="post">
    <input type="hidden" name="Customer_Number" value="4750">
    <table>
    <tr><td>
    <input type="file" name="image1" />
    </td></tr>
    <tr><td>
    <input type="file" name="image2" />
    </td></tr>
    <tr><td>
    <input type="submit" value="submit">
    </td></tr>
    </table>
    </form>
    </body>
    </html>JSP PAGE
    String cus = request.getParameter("Customer_Number");
    out.println("cus : " + cus +"<br>");
    String image = request.getParameter("image1");
    out.println("image: " + image); 
    I'm stumped...what am I doing wrong?
    I can't continue until I get this figured out, can anybody help me with this?
    Message was edited by:
    Love2Java

    I ran my original app with the enctype and without it:
    the tomcat dos-prompt that shows exceptions lists out this below...
    org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed.
    C:\jakarta-tomcat\temp\upload_00000009.tmp (The system cannot find the path specified)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
    at org.apache.jsp.testing_operations_jsp._jspService(testing_operations_jsp.java:113)The code on line 113 in testing_operations.jsp is:
    List items = upload.parseRequest(request);
    and what is this .tmp file its trying to find?? I'm passing it an image off my local disk, not a .tmp file, there isn't even a temp folder in my jakarta-tomcat main folder....
    It is failing on this line because it isn't reading the request parameters sent in, thus why too when I test for the values of the params they return null.
    True, when I take out the enctype my test page will show the values, but this doesn't help me. I need that enctype attribute in there to process the images sent in through the fields.
    So where does this leave me??
    I went to the apache site for the commons upload and they have a more current version than what I'm using which is version 1.0, they have 1.1.1
    I downloaded the new version but had no success in using it, the compiler couldn't find a class I attempted to use.
    I still don't understand how this could be working and then suddenly stop.

  • Reading request using ServletRequest.getInputStream() and getParameter()

    Hi,
    I have following problem: I have to read request using getInputStream()-method, because there might be an attachment in the form. Problem is that I have to read same request using ServletRequest.getParameter()-method. As it is said in API-documentation using getInputStream may interfere execution of ServletRequest.getParameter()-method. An so it does.
    Tomi

    You need to use the methods supplied by the
    MultipartRequest class to read in the parameters of
    the form because once you create a MultipartRequest
    object it reads in all the attachments and form
    parameters and then closes the input stream, so you
    can't use the 'getParameter' method of the HttpServlet
    class anymore.Exactly but then you have to define every jsp-page <form enctype="multipart/data-form" >. That's big problem because we are not using always multipart/data-form. Not always even post-method. However we are always using same servlet. This MultipartRequest-class assumes that it's multipart form.
    Tomi
    >
    The MultipartRequest has methods called
    'getParameter','getParameterNames', etc. that mimic
    the method names of the ServletRequest class. See the
    API doc below:
    http://www.servlets.com/cos/javadoc/com/oreilly/servlet
    MultipartRequest.html

  • Newbie: what is the equivalent of passing request parameters?

    Hi-
    I am new to JSF. I have read many tutorials and articles. I still don't get one concept about passing parameters. Note: I don't want to store stuff in the session unless I have to.
    Let's say I have a page with a list of users. I layout the page with a panelGrid. Each row of the table has the first and last name of the user. If a user clicks on the name of a user on the user list, it should go to the user profile page. The backing bean for the user list page will be the UserListBean. It has a method called getUsers() that returns a List of User objects.
    For the View User page, I have a ViewUserBean. The ViewUserBean retrieve the entire profile for that user.
    How do I pass the user ID to the ViewUserBean? In struts, I would pass it as a request parameter (I would manually write the link URL with the userID). I know I can use the request like that in JSF, but that seems ugly. I looked at the code of the J2EE bookstore tutorial and it does a funky thing with all sorts of data stored in the session.
    What is the best way to request a page and "pass in" a userID?
    Thanks for your help.
    Adam

    I have a case on my current project very similar to your case. What you want, very simply, is an easy way to allow faces to handle URLs like http://www.domain.com/showUserDetails?userId=50
    The natural trouble is that when loading the page, there is no action to use to prefetch the User object based on the Request Parameters in JSF.
    All the solutions above either rely on the session or they are exceedingly complex. This case is actually very easy to do and is very straight forward using Managed Properties and a Request Scope bean...
    Here is the rather straight forward solution I used...
    First, make a "ShowUserDetailsBean" which represents the "logic" for this page.
    public class ShowUserDetailsBean
        /** Will point to the actual user service after dependency injection*/
        private UserService userService;
        /** Will hold the userId from the HTTP Request Parameters*/
        private String userId;
        /** Will hold a lazy loaded copy of the User object matching userId*/
        private User user;
        public void setUserService(UserService userService) {
            this.userService = userService;  //dependecy injection
        public void setUserId(String userId) {
           this.userId = userId;  //dependency injection
        /** Lazy loads the User object matching the UserId */
        public User getUser() {
            //Trap the case where the URL has no userId
            if (userId == null) return null;
            if (user == null) {
                user = userService.getUser(userId);  //Lazy Load
            return user;
    }Next, configure the managed properties in faces-config.xml
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
      <managed-bean>
        <managed-bean-name>userService</managed-bean-name>
        <managed-bean-class>foo.UserServiceImpl</managed-bean-class>
        <managed-bean-scope>application</managed-bean-scope>
      </managed-bean>
      <managed-bean>
        <managed-bean-name>showUserDetails</managed-bean-name>
        <managed-bean-class>foo.ShowUserDetailsBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
        <managed-property>
          <property-name>userService</property-name>
          <property-class>foo.UserService</property-class>
          <value>#{userService}</value>
        </managed-property>
        <managed-property>
          <property-name>userId</property-name>
          <property-class>java.lang.String</property-class>
          <value>#{param.userId}</value>
        </managed-property>
      </managed-bean>Finally, you just make your webpage as you normally would...
    <h:outputText value="#{showUserDetails.user.userId}"/>
    <h:outputText value="#{showUserDetails.user.firstName}"/>
    <h:outputText value="#{showUserDetails.user.lastName}"/>
    Now you're ready to test, so you visit the page
    http://www.domain.com/showUserDetails?userId=50
    And your user details with userId=50 appears!
    It's just that simple!
    Regards,
    Doug
    Caveat: I haven't added any sample logic to handle cases where you visit:
    http://www.domain.com/showUserDetails
    without specifying a userId. I suggest you add some basic logic to your page to handle this case more gracefully.

  • Initialize managed bean from request parameters

    Hi:
    I thought this topic would be on the FAQ, but I couldn't find it. I am looking for a mean to initialize my managed bean from the query string. There must be something like:
    <h:form initializeBean=""true"" requestParameter=""id_author"" beanProperty=""#{author.id_author}"" action=""#{author.getFromDB}"" >
    </form>
    The url would be something like http://localhost:8080/protoJSF/showAuthor.jsf?id_author=5334
    And the getFromDB method would be something like
      Public void getFromDB()
         Statement stmt = cn.createStatement( ?SELECT * from author where id_author=? + getId_author() );
         ResultSet rs = stmt.executeQuery();
      }The only way I've found to perform something like this is to present a blank author form with a ''load data'' button: after pressing the button the user can see author's data and edit the data if she wants to. This two-step data screening is annoying, to say the least.
    There must be a better way.
    I beg for a pointer on how can I achieve the initializing of a managed bean with dynamic data.
    Regards
    Alberto Gaona

    You just have to read carefully the very fun 289 pages
    specification :-)Or, if 289 pages of JavaServer Faces is too much, you can get almost all of the same information from the JavaServer Pages 2.0 specification, or even the JSP Standard Tag Libraries specification :-).
    More seriously, the standard set of "magic" variable names that JavaServer Faces recognizes is the same as that reognized by the EL implementations in JSP and JSTL. Specifically:
    * applicationScope - Map of servlet context attributes
    * cooke - Map of cookies in this request
    * facesContext - The FacesContext instance for this request
    * header - Map of HTTP headers (max one value per header name)
    * headerValues - Map of HTTP headers (String array of values per header name)
    * initParam - Map of context initialization parameters for this webapp
    * param - Map of request parameters (max one value per parameter name)
    * paramMap - Map of request parameters (String array of values per parameter name)
    * requestScope - Map of request attributes for this request
    * sessionScope - Map of session attributes for this request
    * view - The UIViewRoot component at the base of the component tree for this view
    If you use a simple name other than the ones on this list, JavaServer Faces will search through request attributes, session attributes, and servlet context (application) attributes. If not found, it will then try to use the managed bean facility to create and configure an appropriate bean, and give it back to you.
    For extra fun, you can even create your own VariableResolver that can define additional "magic" variable names known to your application, and delegate to the standard VariableResolver for anything else.
    Craig McClanahan

  • Extracting Request Parameters from a POST.

    A client is POSTING some request parameters as part of its POST request.
    My servlet is getting this as part of the getInputStream.
    The contents of the inputStream received is:
    username=someUserName&password=somePassword
    Now how do I extract this username and password which is in the Body
    of the POST?
    I am trying request.getParameter("username")
    but am not getting the value of the username.
    Can some please help me as to how to get the request parameters?
    Attached is my servlet
    public class DeviceLocation extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    doPost(request,response);
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    System.out.println("Servlet up and running...");
    InputStream requestInputStream = request.getInputStream();
    InputStreamReader isr = new InputStreamReader(requestInputStream);
    BufferedReader br = new BufferedReader(isr);
    String line = "";
    StringBuffer sb= new StringBuffer();
    while ((line = br.readLine()) != null)
    sb.append(line);
    br.close();
    System.out.println(sb.toString()); // display the input Stream
    // Display all the Request Parameters
    System.out.println("Request Method : " + request.getMethod());
    System.out.println("Host : " + request.getHeader("Host"));
    System.out.println("User Agent : " + request.getHeader("User-Agent"));
    } // End of servlet class.

    try doing it without reading in the requestInputStream first:
    public class DeviceLocation extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    doPost(request,response);
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    System.out.println("Servlet up and running...");
    // Display all the Request Parameters
    System.out.println("username Parameter : " + request.getParameter("username"));
    System.out.println("Request Method : " + request.getMethod());
    System.out.println("Host : " + request.getHeader("Host"));
    System.out.println("User Agent : " + request.getHeader("User-Agent"));
    } // End of servlet class.

  • Error message: There was an error processing a page. There was a problem reading this document (110)

    I opened a pdf document in Adobe Reader X. When I attempted to scroll through the pages the following error message appeared, “There was an error processing a page. There was a problem reading the document (110). After an Internet search to try to find the reason for the error and a solution, I came across a site that suggested it was an issue regarding the fonts of the document. I then reopened the document and went into the document’s font properties (FILE – PROPERTIES – FONTS tab). There I noticed that the “Gathering font information” stopped at 2% which, of course, I took to mean that Adobe Reader X was having a difficult time in loading the font’s information. Another site suggested opening the document in the pdf reader, Foxit. So I did, and the document loaded properly with no error messages. I was still curious as to why the document did not load entirely in Adobe Reader X and if the same problem would occur using a different reader. I then downloaded the pdf reader, Nitro Reader 2. I opened the same document and initially received the following message, “The requested page number is invalid and does not exist in this document.” I closed the message and proceeded to scroll through the document. As I scrolled, the following message appeared, “This file was damaged (corrupted) and has been repaired.” I thought, “Wonderful!” I then chose <FILE – SAVE AS – PDF DOCUMENT> and saved the “repaired” document under a new name. When I opened the “repaired” document with Adobe Reader X, behold, the document opened entirely with no error message. I was curious, so I went into the document’s font properties and noticed, this time around, that the “Gathering font information” loaded to 100%. Nitro Reader 2 detected the error and fixed it. Now I’m left to wonder…why wasn’t Adobe Reader X able to do the same? I hope this post helps others who are experiencing the same issue.

    When I encountered an error "there was a problem reading this document 110" in Acrobat Pro 11 on 28.7 MB CS6 file, it indeed was very frustrating.
    I solved my problem, but since I don't know which step benefitted me, I've to enumerate all the steps I took:
    Read below:
    1.1. I could copy the file anywhere on the drive, but couldn't 'save as' from Acrobat Pro.
    1.2. No document security was applied of any sort on the file.
    1.3. Still in the first tab of the document properties, all details under advance section were empty. No 'PDF Version' 'location' 'file size' etc were populated. Nothing.
    1.4. I couldn't change and save anything in any of property dialogue. I could comment on the text, but as soon as I tried to save, it gave an error (some sort of 'File reading' error).
    1.5. When I tried to extract a page (I tried many), it gave 'reading error'.
    1.6. I didn't try 'splitting error'. Since I was 100% sure, it'll give me same reading error.
    1.7. I opened the file in Firefox and tried saving it as pdf from there. But no error, but no save either.
    1.8. I ran 'Remove Hidden Information' from protection panel without any errors.
    1.9. I tried 'sanitize document' from the same tab, but didn't succeed.
    1.10. Then (here I think the problem was resolved), from Document Processing panel, I did some commands. 1st, 'Export all images', successfully. Then 'Remove all links', it found 0.
    1.11. Then in 'print production' panel, I clicked/tried to open acrobat distiller. The same opened, did some processing. But I don't know if it did something in solving the problem or not.
    1.12. Although I think my problem was resolved till now, but the last step I did was 'Saved As' the file (from the file menu) as a .ps file. Though I've not yet reopened/used that ps file (to convert it into a pdf file again). But around here I wanted to close the file and it asked me whether I wanted to save the file, I said yes. And it saved the file correctly. And I checked that in properties dialogue, the missing information was populated too.
    1.13. Sorry for so lengthy instructions, but I had no choice.

  • Message - There was a problem reading this document (57)

    Anyone else have this problem?
    Purchased version of Windows 32 bit version of Acrobat XI update will not install properly or work.
    First error info message is as per title after initial red screen which only appears once.
    Second error info message is verify operation failed.
    2 downloads, 3 installs and 2 repairs produce same result.
    Adobe Australia called three times on 1800614863 but only automated selections 322323 made and transfer promised.
    First call at 0901 local time.
    All calls placed on hold first two timed out.
    31 minutes into third call got an answer from a man in India.
    In answer to my question:
    Are you receiving reports of problems installing purchased upgrade versions of Acrobat XI Pro?
    The answer was No.
    He took details of messages and offered to help but I declined.
    I have purchased and used all Acrobat Pro upgrades since 6.
    Complete installation attempted.
    Being done on a clean install of Windows XP SP3 on an OQO02 with only other program installed Office 2007 SBE.
    Message was edited by: OQOroger to reflect inability to connect  to seller Adobe Australia. Also Adobe site can't stay on Australia but reverts to USA. Full price of $A282 paid. USA purchasers only pay $US199 ($A191.57 at present exchange rates.) Credit card account already debited for purchase made yesterday. Subject line corrected 'as' changed to 'was'.
    Message was edited by: OQOroger Corrected the price paid and currency conversion amount to show extra paid by Australians for 'local' support (from India). Added 'Message -' to title to make it less cryptic.
    Message was edited by: OQOroger  Typical setup installation results in same problems except
    'There was a problem reading this document (57)'
    window does not appear.
    First window displaying and asking for acceptance of license conditions has no bottom section when first displayed so there is no way to accept these conditions except to close this window (confirm window appears) and launch program again when bottom panel is displayed.

    Despite my advice of some of the many faults I have experienced with Acrobat XI Pro, Adobe support has never asked me to provide a 'Systems Report' which is available under the 'Help' tab.
    This report indicates:
    'Installed Acrobat: C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:44 PM'
    So if anyone has a working version other than 379 please let me know.
    Complete 'Systems Report' is in a window named 'System Information' as is set ot below.
    From first window
    Adobe Acrobat Pro
    menu
    Help/Online Support/Generate System Report
    returns window
    System Information
    with 2 parts
    'System Parameters' and 'Installed Plug-ins'
    first part details:
    System Parameters
    Account Detail:
       User Rights: Admin
       User Account Control: Undefined
       Process Integrity: Undefined
       Profile Type: None
    Acrobat Detail:
       Sandboxing: Off
       Captive Reader: No
       Multi-Reader on Desktop Support: Off
    Available Physical Memory: 530036 KB
    Available Virtual Memory: 1993360 KB
    BIOS Version: OQO    - fe60019
    Default Browser:
    Default Mail: Microsoft Office Outlook
        mapi32.dll
        Version: 1.0.2536.0 (XPClient.010817-1148)
    Display Detail:
       Screen Width: 800
       Screen Height: 480
       Number of Monitors: 1
       Number of Mouse Buttons: 8
       Has Mouse Wheel: Yes
       Has Pen Windows: No
       Double Byte Character Set: No
       Has Input Method Editor: Yes
       Inside Screen Reader: No
    Graphics Card: VIA/S3G UniChrome Pro II IGP
        Version: 6.14.10.385
        Check: Not Supported
    Installed Acrobat: C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:44 PM
    Locale: English (Australia)
    Monitor:
        Name: VIA/S3G UniChrome Pro II IGP
        Resolution: 800 x 480 x 60
        Bits per pixel: 32
    OS Manufacturer: Microsoft Corporation
    OS Name: Microsoft Windows XP Professional
    OS Version: 5.1.2600  Service Pack 3
    Page File Space: 2203236 KB
    Processor: x86 Family 6 Model 10 Stepping 9  CentaurHauls  ~1496  Mhz
    Session Detail:
       Boot Type: Normal
       Is Shutting Down: No
       Network: Available
       Inside Citrix: No
       Inside VMWare: No
       Remote Session: No
       Remote Control: No
    System Name: YOUR-1561454D88
    Temporary Directory: C:\DOCUME~1\OQOuser\LOCALS~1\Temp\
    Time Zone: Pacific Standard Time
    Total Physical Memory: 911792 KB
    Total Virtual Memory: 2097024 KB
    User Name: OQOuser
    Windows Detail:
       Tablet PC: No
       Starter Edition: No
       Media Center Edition: No
       Slow Machine: No
    Windows Directory: C:\WINDOWS
    Installed Plug-ins
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:52 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\AcroForm.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annots.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\DigSig.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\EScript.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:52 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\IA32.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:52 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\PPKLite.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\SendMail.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Updater.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    I can easily see 2 matters which an inexperienced support desk staff member could home in on.
    Acrobat XI Pro system requirements include
    1024x768 screen resolution and
    Internet Explorer 7, 8, 9, or 10; Firefox Extended Support Release; Chrome
    Well my OQO report above includes
    Display Detail:
       Screen Width: 800
       Screen Height: 480
    and leaves blank
    Default Browser:
    (actually Firefox 17.0.1)
    Yet 'Firefox Extended Support Release' is described by
    Mozilla:
    'Who is it not for?
    Individual users who always want the latest features, performance enhancements and technologies in their browser without waiting for them to become available in ESR several development cycles later.'
    http://www.mozilla.org/en-US/firefox/organizations/
    Since starting this post, I loaded Adobe Acrobat XI Pro on another similar computer I own and use regularly. This was in a dock and connected to an external display. Same problems and reports experienced.
    'Systems Report' for this installation follows:
    Account Detail:
       User Rights: Admin
       User Account Control: Undefined
       Process Integrity: Undefined
       Profile Type: None
    Acrobat Detail:
       Sandboxing: Off
       Captive Reader: No
       Multi-Reader on Desktop Support: Off
    Available Physical Memory: 614280 KB
    Available Virtual Memory: 1988144 KB
    BIOS Version: OQO    - fe60019
    Default Browser:
    Default Mail: Outlook Express
        %ProgramFiles%\Outlook Express\msoe.dll
        Version:
    Display Detail:
       Screen Width: 1280
       Screen Height: 1024
       Number of Monitors: 1
       Number of Mouse Buttons: 8
       Has Mouse Wheel: Yes
       Has Pen Windows: No
       Double Byte Character Set: No
       Has Input Method Editor: Yes
       Inside Screen Reader: No
    Graphics Card: VIA/S3G UniChrome Pro II IGP
        Version: 6.14.10.358
        Check: Not Supported
    Installed Acrobat: C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 20:43:44
    Installed Acrobat: C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe
        Version: 10.1.3.23
        Creation Date: 2012/04/04
        Creation Time: 16:53:54
    Locale: English (United Kingdom)
    Monitor:
        Name: VIA/S3G UniChrome Pro II IGP
        Resolution: 1280 x 1024 x 60
        Bits per pixel: 32
    OS Manufacturer: Microsoft Corporation
    OS Name: Microsoft Windows XP Professional
    OS Version: 5.1.2600  Service Pack 3
    Page File Space: 2006176 KB
    Processor: x86 Family 6 Model 13 Stepping 0  CentaurHauls  ~1496  Mhz
    Session Detail:
       Boot Type: Normal
       Is Shutting Down: No
       Network: Available
       Inside Citrix: No
       Inside VMWare: No
       Remote Session: No
       Remote Control: No
    System Name: OKETT143
    Temporary Directory: C:\DOCUME~1\oqo\LOCALS~1\Temp\
    Time Zone: AUS Eastern Standard Time
    Total Physical Memory: 911792 KB
    Total Virtual Memory: 2097024 KB
    User Name: oqo
    Windows Detail:
       Tablet PC: No
       Starter Edition: No
       Media Center Edition: No
       Slow Machine: No
    Windows Directory: C:\WINDOWS
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 20:43:52
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Updater.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 20:43:54
    (I did not bother installing plug-ins and deactivated installation before removal of program.)
    With 5 installs producing the same error reports, I am convinced Acrobat XI Pro won't work for me on my computers and have little confidence of useful support from Adobe.
    THERE ARE SO MANY GLARING PROBLEMS WITH MY INSTALLATIONS WITH THE SUPPORT DESK'S RESPOSES UNHELPFUL AND UNINFORMED. I REALLY DON'T ENJOY DOING ADOBE'S QUALITY CONTROL FOR THEM FOR FREE, BUT I CONTINUE TO POST HERE IN THE HOPE THAT SOMEONE WITH REAL AUTHORITY WILL EVENTUALLY TAKE NOTICE AND ARANGE A FIX OF THE PROBLEMS.
    15 Dec 2012 1409 local time.
    Further feedback provided that 1Ghz memory preferred. Problem not addressed. Reply
    Notes from Customer
    Friday, December 14, 2012 7:07:57 PM PST
    System reports at #12 on http://forums.adobe.com/message/4862987#4862987 
    Alert- although ordered in Australia from Australian site and paid in Australian dollars by MasterCard, Adobe chose without warning to process this payment through an overseas account incurring an extra foreign transaction charge for me.
    Adobe support to date has been of no use and their billing practices unreasonably expensive.

  • Can't open file - error "There was a problem reading the layer data.."

    I'm on a
    Mac Pro, 10.5.7
    PSCS3
    I have been sent a file (148MB) from a client via FTP that I can not open. The file was created on a PC, using PSCS3.
    I'm usually pretty good at troubling shooting but I have not seen this before.
    Any help, suggestions would welcomed.
    I get the following error messages: (see attached)

    It looks like the atttachement did not work
    Here are the error messages:
    First message:
    "There was a problem reading the layer data. Read the composite date instead?"
    Second Message:
    "Could not complete your request because the file is not compatiable with this version of Photoshop."

  • How to read URL Parameters in ABAP WebDynpro ?

    Hi,
    How and where (which class, method) in ABAP WebDynpro we can read URL Parameters ? I found answers for WebDynpro JAVA but nothing for ABAP.
    Thanks
    Meenal

    Hi Meenal,
    Please see a post by Sanjay Agarwal titled 'Sequencing Problem in Web Dynpro ABAP'. I believe you will find your answer there.
    Cheers,
    Rich

  • Change request parameters in a ServletFilter

    Hi all,
    I want to do the following: Create a ServletFilter that reads two parameters from the HttpRequest (let's say parameter a and b). If they have a special value, I would like to change them before the request is passed to the Servlet.
    As the request has no setParameter() method, I created a HttpServletRequestWrapper where I can set parameters. Here are two code snippets:
    SyncServletFilter
      public void doFilter(ServletRequest request, ServletResponse response,
          FilterChain chain) throws IOException, ServletException {            
           HttpServletRequest httpRequest = (HttpServletRequest)request;
           System.out.println("a = " + httpRequest.getParameter("a") + " " + httpRequest.getParameterMap().size());
           ChangeableHttpServletRequest changeableRequest = new ChangeableHttpServletRequest(httpRequest);
           changeableRequest.setParameter("a", "new value");     
           System.out.println("a = " + changeableRequest.getParameter("a") + " " + changeableRequest.getParameterMap().size());
           chain.doFilter(changeableRequest, response);
    HttpServletRequestWrapper
    public class ChangeableHttpServletRequest extends HttpServletRequestWrapper {
          private HashMap fakedParameters;
        public ChangeableHttpServletRequest(HttpServletRequest nested) {
          super(nested);
          fakedParameters=new HashMap();
        public void setParameter(String key,String value) {
          fakedParameters.put(key,value);
      public String getParameter(String name) {
         String res = (String)fakedParameters.get(name);
         if (res == null) {
             res = super.getParameter(name);
         return res;
        public Map getParameterMap() {   
              fakedParameters.putAll(super.getParameterMap());
              return fakedParameters;
    }The second System.out.println shows the new value of the parameter, however, in my Servlet, I still get the old one. Has anyone of you an explaination for this or can you see an error in my code?
    Thanks for your help and best Regards,
    alex

    This is a guess, I haven't really tried your code. But I think the fakedParameters.putAll(super.getParameterMap()) line overwrites the new value for your paramter. I would suggest that you move that line to the constructor and try it again.

  • Problems with Requests

              Hi,
              i am using weblogic in my project both as a webserver and as the application server.
              But i am facing problems with requests being sent to the server. Basically i have
              a form in my jsp which, if submitted by multiple clients at the same instant in
              time, the server gets confused and mixes up the data in the requests !! the form
              is submitted to another jsp which in turn calls a SLSB which in turn calls various
              entity Beans to fulfill the request.
              Now if 2 or more clients hit the submit button together, the server is mixing
              the data from the requestsand i get corrupted output as a result.
              That if i submit values (a,b,c) from one client machine and values (x,y,z) from
              another machine, the server puts one of the transactions properly and in the other
              it picks up the data from the other request and takes something like (x,y,c) !!
              Is this a bug in Weblogic 6.1 or am doing something wrong ?? Anyone faced this
              problem ?
              Any help would be appreciated.
              Raja
              

    Hi,
              It's highly unlikely that it's WebLogic. Somewhere along the line, you are
              calling or referring to the same instance of either a class of a variable.
              You should brush up on the meaning of static variables.
              Make sure that you are not using class-level variables in your servlet. WLS
              will create only one instance of a Servlet or JSP and invoke it from
              multiple threads (requests) unless it is declared as SingleThreadModel. (See
              the servlet spec).
              When you declare variables inside a method - they are defined on the stack -
              so they're safe from multiple threads since each thread has it's own stack.
              If you declare them in a class, they're on the heap, and are shared by
              multiple threads invoking that servlet-class instance.
              There is a workaround if you MUST use class-level variables (not a good idea
              in a servlet). You can declare your Servlet (or JSP) as SingleThreadModel.
              This is less desirable since it carries a performance hit. It's best to
              design around it - but you might try declaring this to see if it helps in
              the JSP...
              <%@ page isThreadSafe="false" %>
              Of course, if the threading issues I've discussed above are occurring
              elsewhere in your code, you'll have to design-around it. Like I say, check
              for static class variables. It's unlikely that your other code is invoking
              the same instances of other classes from multiple threads (unless those
              instances are servlet-class-variables - and your problem will be resolved by
              the above).
              Make sure that you are not referencing static variables in your servlet or
              other bean classes (unless you intend to). Static variables are scoped at
              the class level and are therefore shared by all instances of that class (or
              servlet). The above SingleThreadModel won't help you in that case since all
              instances of the same class will be using the same static variables.
              Hope that helps,
              Alex
              "Raja" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              > i am using weblogic in my project both as a webserver and as the
              application server.
              > But i am facing problems with requests being sent to the server. Basically
              i have
              > a form in my jsp which, if submitted by multiple clients at the same
              instant in
              > time, the server gets confused and mixes up the data in the requests !!
              the form
              > is submitted to another jsp which in turn calls a SLSB which in turn calls
              various
              > entity Beans to fulfill the request.
              > Now if 2 or more clients hit the submit button together, the server is
              mixing
              > the data from the requestsand i get corrupted output as a result.
              > That if i submit values (a,b,c) from one client machine and values (x,y,z)
              from
              > another machine, the server puts one of the transactions properly and in
              the other
              > it picks up the data from the other request and takes something like
              (x,y,c) !!
              > Is this a bug in Weblogic 6.1 or am doing something wrong ?? Anyone faced
              this
              > problem ?
              > Any help would be appreciated.
              >
              > Raja
              >
              >
              

  • Read Text Parameters

    Hi All ;
    I have problem with read text parameters.
    Now Im using the parameters like below;
    name = belnr + gjahr + buzei
    call function 'READ_TEXT'
                exporting
                client                = sy-mandt
                id                      = '01'
                language            = sy-langu
                name                 = name
                object               = 'AKKP'
                tables
                lines                 = tab_line[]
    But I want to add bukrs to the name variable like that;
    name = bukrs + belnr + gjahr + buzei
    If I use the name parameter with bukrs the read_text function doesnt work.
    Could you help about that ?
    Regards
    Fırtına

    Hello Yigit ,
    Add zeros to bukrs , belnr , gjahr and buzei and concatenate into name.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT  = bukrs
       IMPORTING
         OUTPUT = bukrs
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT  = belnr
       IMPORTING
         OUTPUT = belnr..
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT  = gjahr
       IMPORTING
         OUTPUT = gjahr.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT  = buzei
       IMPORTING
         OUTPUT = buzei.
    Concatenate bukrs belnr gjahr buzei into name.
    Please pass NAME filed to the READ_TEXT FM.
    Thanks

  • Change request parameters

    Hi,
    I have a servlet and would like to change the request parameters before forwarding that request to another servlet.
    But how can I change the parameters? I thought it would work with request.setAttributes, but the parameters are not being changed. How can I change the parameters then???

    Hi Joberc
    1. Did you read javax.servlet.Filter API of Servlet 2.3.
    It allows us to do some filtering in between and forward to another servlet
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Filter.html
    You can also search for code sample and see how it works.
    2. As for your specific question and if possible, can we view your code to see
    -- Paul.

  • Referencing EJB 3.0 ,problem

    Hello I have 2 session EJB 3.0 and I would reference one on body of another , but
    I have an error form embedded OC4J when I run DEBUG .
    Here is my simply code
    TransactionController ---
    package com.savino.banking.model.facade;
    import com.savino.banking.model.entity.Transaction;
    import com.savino.banking.model.entity.TransactionItem;
    import java.util.List;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless(name="TransactionController")
    public class TransactionControllerBean implements TransactionController,
    TransactionControllerLocal {
    @PersistenceContext(unitName="Model")
    private EntityManager em;
    public TransactionControllerBean() {
    public Object mergeEntity(Object entity) {
    return em.merge(entity);
    public Object persistEntity(Object entity) {
    em.persist(entity);
    return entity;
    and I declare a reference to TransactionController into AdminController :
    package com.savino.banking.model.facade;
    import com.savino.banking.common.exception.BusinessException;
    import com.savino.banking.model.entity.Cc;
    import com.savino.banking.model.entity.CostCenter;
    import com.savino.banking.model.entity.TypeTransaction;
    import com.savino.banking.model.entity.UserCcLinks;
    import com.savino.banking.model.entity.UserCcLinksPK;
    import com.savino.banking.model.entity.Users;
    import java.util.List;
    import javax.ejb.EJB;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless(name="AdminController")
    public class AdminControllerBean implements AdminController,
    AdminControllerLocal {
    @PersistenceContext(unitName="Model")
    private EntityManager em;
    @EJB(name="myController",beanInterface=TransactionControllerLocal.class,beanName="TransactionControllerLocal")
    TransactionControllerLocal controller;
    public AdminControllerBean() {
    And this is the error that I caught :
    25-giu-2008 20.03.46 oracle.j2ee.jndi.JndiMessages warningInvalidEJBReference
    AVVERTENZA: Impossibile risolvere il riferimento EJB "myController". La creazione di J2EEContext può tuttavia continuare.
    25-giu-2008 20.03.46 oracle.j2ee.jndi.JndiMessages warningInvalidEJBReference
    AVVERTENZA: Impossibile risolvere il riferimento EJB "myController". La creazione di J2EEContext può tuttavia continuare.
    25-giu-2008 20.03.53 oracle.wireless.its.ra.TelnetResourceAdapter run
    INFO: Avvio di Industrial Telnet Server versione: Version 10.1.3.0.0 completato.
    I am on JDev 10g 10.1.3.1, can anyone help me?
    thanks

    dupocate of : problem referencing EJB 3.0 ( injection)

Maybe you are looking for

  • How to create list box in selection screen

    Hi Experts,                 I want to create 2 list boxes, each one is having 5 fields. suggest me the logic. Thanks. Tony

  • How to pick a HDD ?

    Hi, I am looking for a hard disk for a 2005 Toshiba Satellite laptop which I bought in Singapore. Model : Satellite M50-P330Satellite M50-P330 Part number: PSM51L-001001 I checked http://www.toshibadirect.com but could not find the precise model numb

  • My comp crashed now trying to re down load older PS 7.0 version back onto my computer ... HELP

    I am looking to reload Photo Shop version 7.0 back onto my computer after a crash and don't know how to go about it. HELP please

  • Fill a part of an image

    Hi everybody, I'm a new french iPhone developer I'm searching since few days how to fill a part of an image for my iPhone application. I think that I must use the CGContext functions but I found not anything... I understood how make few operations on

  • AU 3 crashes when freezing tracks

    I recently upgraded from Audition 1.0 to 3.0. I have converted previously recorded (ver 1.0) sessions containing locked tracks. These tracks often won't play until I unlock them in AU 3.0 - however when I try to relock them, AU 3.0 crashes on me. I'm