Jsp demo under iAS

I have been trying to test the sample jsps that came with iAS on Solaris 8.
(scottRoot context is already set)
The make command (in $ORACLE_HOME/jsp/demo) seem to work for a while then gives the following message
java.io.EOFException: Premature EOF encountered
*** Error code 1
make: Fatal error: Command failed for target `compile1'
Is this a problem of memory or CLASSPATH setting ?
Any help is appreciated.
null

Andre,
I have found the answer to my problem and perhaps yours. It seems that I18N (internationalization) in SP4 may have a performance bug in it.
My soak tests show that with i18N checked in the iAS Admin Tool, testing the fortune cookie sample application with light load (1 request / sec) resulted in a kxs response time initially of 15ms, however this response time increased by roughly 1% per request (i.e after 100 requests the response time had more than doubled).
Switching I18N off yielded a steady 7ms kxs response time from the fortune cookie application.
I would add that I turned I18N on AFTER the installation procedure.
Is this a known issue in SP4? Is there a patch?
regards,
Owen

Similar Messages

  • Slow response time for JSP pages under iAS 6.0 SP4

    Hi,
    I got an application deployed on iplanet app server 6.0 SP4 on solaris
    2.8. Using a single kjs engine and lite sessions. kjs memory size is
    min 256 and max 256 megs. but verbose:gc shows memory is 98% free.
    when i restart the app server, all JSP pages are really rendered fast.
    After a while (1 or 2 days), the time to service the same request to
    JSP pages is getting much longer (even with JSP pages having only
    static content in them). CPU is idle ... It just takes time. KXS log
    shows requet is taking like 2-4 seconds instead of about 150 milli
    secs when the engine is just restarted.
    Now if i call a servlet (which do not dispath to a JSP), the response
    time is ok! Memory is ok. It looks like its related to JSP pages
    only.
    Anyone having an idea what the problem could be? One conig param is
    the JSP page cache in iASAT. Default value is 10. What is a correct
    setting for production? I have 4 different web app deployed in the
    same server instance.
    Tanks a lot for your input
    Andre Paradis

    Andre,
    I have found the answer to my problem and perhaps yours. It seems that I18N (internationalization) in SP4 may have a performance bug in it.
    My soak tests show that with i18N checked in the iAS Admin Tool, testing the fortune cookie sample application with light load (1 request / sec) resulted in a kxs response time initially of 15ms, however this response time increased by roughly 1% per request (i.e after 100 requests the response time had more than doubled).
    Switching I18N off yielded a steady 7ms kxs response time from the fortune cookie application.
    I would add that I turned I18N on AFTER the installation procedure.
    Is this a known issue in SP4? Is there a patch?
    regards,
    Owen

  • Error Deploying a BC4J JSP Application on IAS

    When I am trying to run a BC4J JSP Application on IAS I have the following message:
    Error Message: JBO-30003: The application pool, BC4JDemojsp_BC4JDemo_BC4JDemoModule, failed to checkout an application module instance.
    Error Message: JBO-25002: Definition BC4JDemo.BC4JDemoModule of type ApplicationModule not found

    Gina,
    I would recommend checking out the following HowTo's recently posted on OTN by the JDev Team. They may indicate where your problem is occuring and how to fix it:
    Set up your Webserver to run BC4J: http://technet.oracle.com:89/ubb/Forum2/HTML/006397.html
    Deploy a BC4J JSP Application on iAS and Tomcat: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    How to Deploy Multiple BC4J JSP Web Apps to the same Webserver: http://technet.oracle.com:89/ubb/Forum2/HTML/006726.html
    Note, if you are deploying on iAS, the Online Orders tutorial application comes with that release, so you might want to refer to the last HowTo to make sure your webserver is set up to handle multiple apps, even if one if them isn't yours!
    null

  • Moving default location of JSP demo

    As you know that the default location of JSP demo for 9iAS is located at ~/Apache/Apache/htdocs/demo and I have successfully changed the doc root to ~/docs and served our locally created Web apps in that directory. But when I moved demo into ~/docs/demo and trying the demo apps such as lottery, I got error:
    oracle.jsp.parse.JspParseException: Line # 7,
    Error: Unable to find class for bean: picker defined by tag with class: oracle.jsp.sample.lottery.LottoPicker
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.(Compiled Code)
         at java.lang.Exception.(Compiled Code)
         at oracle.jsp.parse.JspParseException.(JspParseException.java:37)
         at oracle.jsp.parse.OpenJspTagHandler.defineBeans(Compiled Code)
         at oracle.jsp.parse.OpenJspTagHandler.defineBeans(Compiled Code)
         at oracle.jsp.parse.OpenJspTagHandler.validateTagAttributes(Compiled Code)
         at oracle.jsp.parse.JspParseTag.parse(Compiled Code)
         at oracle.jsp.parse.OpenJspTagHandler.parse(Compiled Code)
         at oracle.jsp.parse.JspParseTag.parseNextTag(Compiled Code)
         at oracle.jsp.parse.JspParseTagFile.parse(Compiled Code)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
         at oracle.jsp.app.JspAppLoader.translatePage(JspAppLoader.java:1513)
         at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java:1146)
         at oracle.jsp.app.JspAppLoader.loadPage(Compiled Code)
         at oracle.jsp.app.JspAppLoader.getPage(Compiled Code)
         at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
         at oracle.jsp.JspServlet.doDispatch(Compiled Code)
         at oracle.jsp.JspServlet.internalService(Compiled Code)
         at oracle.jsp.JspServlet.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at org.apache.jserv.JServConnection.processRequest(Compiled Code)
         at org.apache.jserv.JServConnection.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)
    Is there some where else I need to change the configuration for JSP?
    Thank you

    You can move them from teh default location to wherever you want.
    Drag the iTunes folder from C:\Users\<username>\Music\iTunes\iTunes Music to
    C:\Users\<username>\iTunes\iTunes Music.
    Hold Shift and laucch iTunes then select *Choose existing library* and select the *iTunes library file* in the iTunes folder.

  • Missing $$ORACLE_HOME/jsp/demo/README file

    I have installed OAS9i standard edition and I am trying to run the sample EJB calling EJB from the OracleJSP Demo. The decription says:
    This sample isllustrates how to invoke an EJB
    object in JSP. It assumes /test/employeeBean is already deployed and published in your Oracle8i Jserver. To do that, refer to $ORACLE_HOME/jsp/demo/README for the steps.
    I was not able to locate the README file in the above mentioned directory. Is it somewhere else?
    Thanks
    null

    Look in demo.zip...
    Mine is located in:
    D:\iSuites\jsp\demo\demo.zip
    -=< Nick >=-
    null

  • ASK:Mapviewer JSP demo not work in HTML DB

    Hi all, First I apologize if my thread is an old topic, but I need to know it...
    When I'm trying create a URL region...and I give an url like this...http://localhost:8888/mapviewer/demo/mapnavi.jsp?&centerx=106.88&centery=-6.94 and soon... I get the result like I need for the first time, but when I'm trying to submit some change (i.e. turn off one layer from base_map or zoom in the map) I get the error message from HTTP server like internal error or something (sory I forget to capture the error message)...
    How can I embed jsp page into HTML DB region without problem?
    Thanks for help!

    Hi Adhi,
    explaining the MapViewer API here would be a little bit too much... But there is a good documentation available under
    http://www.oracle.com/technology/products/mapviewer/mapviewer_doc_index.html
    I also think, questions regarding MapViewer itself are better placed in
    Spatial
    Reagard
    Stephan

  • Personalization JSP demo

    Hello all,
    I'm trying to use the JSP tags of the personalization server, but I seem to get into few bumps.
    I realy need a simple example of how to use the personalization tags and configure JDeveloper.
    My main problem: when I use the tags in a JSP file, and try to compile them in JDEVELOPER, I always recieve an error like the following:
    Error: java.lang.NoClassDefFoundError: oracle/dmt/op/re/base/TuningSettings
    My Jdev is configured with the correct path to the Jar that contains this class.
    If you have any suggestion please leave your comment.
    Thanks
    Sa'ar

    Hi again,
    It seems that even though I get a compilation error, under the iAS it works just fine. So basicaly, if I get an error regarding class location using the personalization Tags, I just ignore them.

  • Warning - When Compiling .jsp pages under WEB-INF

    Created a directory jsp under WEB-INF and when i compile the jsp pages i get the following warning message
    Warning: package name web2d_inf._jsp does not match source file name C:\ProviderEnrollment\ProvEnrollView\classes\.jsps\_WEB_2d_INF\_jsp\_searchprovider.java
    Need help
    Thanks

    We have encountered this warning too.
    I'm not an Oracle employee, but it looks like there's a bug in JDev that preserves the case for the output directories but not for the package name that is supposed to correspond to the output directories.
    In any case, we haven't seen any runtime problems that seem to be related to this warning, so you may be safe to disregard it. It does foul up the build log though.
    Any JDev team members watching this topic are welcome to chime in with a confirmation and details of this apparent bug, as well as any workaround that might exist to avoid having the warning appear. Thanks!

  • Access JSP pages under WEB-INF

    Hello, I have a web application and i use Java,JSP, servlets etc.
    In my webpage i have three different categories of users
    *1)* Registered users
    *2)* Not Registered users
    *3)* Administrator
    I would like the welcome page index.jsp and register page be accessed by everyone.
    But as far as the other pages are concerned , i would like to be accessed only by the registered users.
    What shall i do??
    I placed the index.jsp and register.jsp under the public folder and the other pages under WEB-INF folder in order to be accesses only from the registered users.
    But it's not working!
    What exactly shall i do in order to make that work??
    Thanks, in advance!

    g_p_java wrote:
    Thanks for the link! As i understood i don't have to place my web pages under WEB-INF (only the web.xml which is already there).
    *1)* So i have to follow the steps that are being mentioned there for all the users right??
    Registered , Not Registered and admin.
    Yes, security constraining through web.xml is a url pattern based protection for your resources. You could create multiple urls - /secured/* and map them to your resources accessible to registered users only or you may have /admin/* and define that only 'admin' roles have access to these resources. Some portions of such setup would be server specific (eg: how you create users and map them to roles)
    *2)* I would like to make a question: Who is the "FrontController" in the link you posted me? [http://onjava.com/onjava/2001/08/06/webform.html]
    It's the Container. Because such features are mandated by the spec, the container provides an implementation and options to customize the implementation (for example in weblogic, you can specify that your users are bound to an LDAP or configured in a Users table in the db)
    Nevertheless, you would have your own Controllers for your application management (Struts or Spring or whatever suits your need). On the same note, you should have your own Filters to implement whatever common logic you have across your application.
    Madathil_Prasad wrote:
    2. Write a filter that checks for the presence of a session (and entitlements possibly) before allowing access to a resource.
    *3)* when you write "_entitlements_" what exactly do you mean??
    Thanks!
    This is the other road I was talking about. You could throw all configuration and j2ee based security configuration out of the window (they do have their limitations) and implement custom security logic in a Filter. For example,
    String urlPattern = request.getRequestURI();
    if(urlPattern.indexOf("/secured") != null{
             if(request.getSession(false) == null){
                   //redirect to login page.
             }else{
                  //valid session
                  //now check specific entitlement to see whether user has access
    }Here entitlement refers to permissions at a granular level (authorization if you wish to call it). For example, you have 2 kinds of admin users - some who can generate reports of web activity and another who can change application settings.
    ram.

  • JSP demo PTS included with Oracle 9i Developer Release for Mac not working

    Hello all, please pardon my ignorance, but I am an Oracle DBA not a JSP programmer.
    I have installed Oracle 9i developer release for Mac OSX and it included a demo application in JSP called pts.
    I followed all the instruction and it still doesn't seem to work.
    When I try to login to the application I get the following exception:
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 3 in the jsp file: /oradev/pts/solmktinit.inc
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] /usr/local/jakarta-tomcat-4.1.24/work/Standalone/localhost/_/oradev/pts/login_jsp.java:7: cannot resolve symbol
    [javac] symbol : class DBAccess
    [javac] location: package pts
    [javac] import oradev.pts.DBAccess;
    I'm not sure what this means or how to fix it. I'm sure it's something simple like modifying my classpath or something, but, as I said, I don't know where to begin.
    Any assistance or suggestions would be greatly appreciated.

    Can't you just use the 10g client ?
    I have not tested the 9i dev. with oci calls but I would not be surprised if you try this on tiger. That won't work AFAIK.
    regards,
    Ronald.
    http://homepage.mac.com/ik_zelf/oracle

  • MapInit.jsp/DMAP.JSP Demo Question

    I have played around with the demo of the dynamic map. I want to use the functionality that allows the mouseover effect for the state_abrv in my own application. When I try to change the demo to use my data I get an error in the bottom of the Browser that simply says "Error on Page" I get no other clue as to what my error may be, I assume it has something to do with this section of code:
    String[] colsToSelect = new String[]{"Location, City", "State StateABRV"};
    info = mv.identify(dataSrc,
    "map_data", //which table
    colsToSelect, //which columns to identify
    "map_loc_data", //which geometry column
    8307, //srid of the geometry column
    x,y //mouse click position on screen
    This is the Original Code Example:
    String[] colsToSelect = new String[]{"City", "Pop90 Population", "State_abrv state"};
    info = mv.identify(dataSrc,
    "cities", //which table
    colsToSelect, //which columns to identify
    "location", //which geometry column
    8265, //srid of the geometry column
    x,y //mouse click position on screen
    Can anyone tell me what I might be doing wrong, or at least tell me how I can get the browser to give me more infomration on what the error might be.
    This error shows up in the bottom bar in IE, in Mozilla I get no error, but the functionality still does not work.
    Thanks!

    Hi, your application (jsp pages) are processed at the server side (for instance, inside the standalone OC4J). Please check your server side logs for any suspicious error messages. If you are using standalone oc4j they should be displayed on the console/terminal it got started from. You should also check your mapviewer log if you enabled it, which usually lies inside $OC4J_HOME/j2ee/home/applications/mapviewer/web/WEB-INF/log directory.
    without meaningful error messages or stacktraces you cannot debug such issues.

  • BIB-14820 Calling BI Beans JSP deployed to iAS 10g

    Hello,
    I have deployed a jsp-bi beans application to iAS 10g Release 2.
    When I try to access the jsp page I get this error:
    javax.servlet.jsp.JspException: BIB-14122: The specified StorageManager could not be created.
    BIB-14820 The root path does not exists.
    Is there something that needs to be set up so that my xml config file for bi beans connection
    can be accessed properly?
    This jsp works from jdeveloper.
    The .xml file with the bi beans connection configuration has a root path that I am pretty sure
    needs to be changed. How do I change that (my application is not based on OLAP and does not contain a BI Designer object) ? And what does it need to be changed to in order to work from my iAS?
    Thanks in advance.

    There are three scripts provided with BI Beans for managing the catalogue:
    AddGroup.sql
    AddUser.sql
    AddUsertoGroup.sql
    Once you have created the catalog owner and installed the catalog then from SQLPlus execute the above commands as required. Each script prompts you for any arguments it requires. This will allow you to authorise users and setup groups to manage privileges within the catalog.
    The scripts can be found in $ORACLE_JDEV_HOME/bibeans/bin
    You can check the status of the items within the catalog via the Catalog Viewer within the JDev BIBeans project, the option is on the BIDesigner object (I think) which should launch a GUI catalog viewer.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Deploy BC4J/JSP-Struts to IAS

    HI,
    I'm trying to deploy a BC4J/JSP-Struts application to IAS. This application was developed with JDeveloper 9.0.3.
    I can deploy this application to a Standalone OC4J (delivered with JDeveloper 9.0.3) on Windows2000 without problem.
    Then I want to deploy this application on Oracle9iAS 9.0.2. For this I create an .EAR file with JDeveloper and I start the OC4J Administrator tools from Oracle9iAS and deploy my application.
    I start the application with
    http://erbium.int.imd.ch:7778/InvoicesInterface/main.jsp?user=x-XxX
    and I become the menu without Problem.
    Then I click on the link
    http://erbium.int.imd.ch:7778/InvoicesInterface/VInvoiceUsersView1_Browse.do?user=x-XxX
    and I become following :
    HTTP 500 Internal server error
    The page cannot be displayed
    Did you have any Ideas ?
    Thanks Yves
    Configuration:
    - Oracle9iAS (9.0.2) on Solaris
    - JDeveloper9.0.3

    Yves -
    I am not able to pinpoint the exact error you are having but here are some obervations
    a) You are going backwards in versions of OC4J when you deploy to 9iAS 902. If you are using JDev 903, then it is running with a local version of OC4J 903. When you are deploying to 9iAS 902, it's a earlier release of OC4J, so there may be an issue there. There is a 9iAS 903 version available from OTN that would be better to use in this case.
    b) Is the struts framework packaged as part of the EAR file you are deploying? i'm not familiar with how BC4J and Struts apps are packaged from JDeveloper, but this is something to check on for sure. The local OC4J running inside of JDeveloper may have the Struts libs configured at the server level.
    c) You might want to try and change the show-friendly-error-messages (or something like that) property inside of IE (if you are using it) so that it will display the stack trace the server might be sending. this may be of help to further locate the source of the problem (ClassNotFoundException, etc.).
    -steve-

  • Jsp debugging under jboss/tomcat

    empty

    When you stop at a breakpoint you should be able the see the JSP page
    with a marker pointing to the current JSP line. In your case that should
    be maintenance/ad/adEdit.jsp
    Can you debug the demo application from NitroX on your server?
    What version (build number) of NitroX are you using?
    M7 Support
    [email protected] wrote:
    I am using jboss 3.2.5 with embedded tomcat 5.0.26I am able to set up a web project, set a breakpoint on my jsp page, and
    NitroX will stop at the breakpoint. However, it says it can't find the
    source for my jsp page (i.e. "The source of the type
    'org.apache.jsp.maintenance.ad.adEdit_jsp' could not be shown as the
    type was not found.")
    What do I need to do to get that to show up? Jboss/Tomcat makes a new
    temp folder each time the project is deployed, do I have to change it
    every time? I can't even get it to work by pointing the source folder
    to that temp folder.
    Thanks!

  • File Not Found Error running JSP demos

    I'm not sure what is going on, but it appears that every time I try to run a jsp, the server looks in the document root where it errors out with a file not found error. I've seen others with this type of problem but I haven't seen a solution. Anyone have any ideas?
    Thanks.

    1: Double check the port number that your Tomcat Server is using. (TOMCAT_HOME/conf/server.xml).
    2: check you IP. This is not the 'localhost' IP (not sure if it is LAN or real IP). So it may change dynamically.
    3: Check for Firewalls. Also, since you are not using localhost, you will have to make sure you traverse all the firewalls built around your system. If you have a router (home), windows XP, or some other firewall, make sure the appropriate ports are opened. If you are behind a corporate firewall, or your ISP closes ports... your kinda out of luck until you find a way to cheat around them.
    2: Try just using just "/ValidateUser.jsp" as long as it is one the same domain as the Form. This will make it less likely to break, should your IP change.

Maybe you are looking for

  • Cleared Document Resetting

    Hi, My client needs mannual number range for booking all documents. Now I want to reset a vendor payment clearing document(i.e. vendor amt is net of w.holding taxes) as system does not allow to reset net of tax based cleared document. Pls. help. Rega

  • Accounting document not generating in billing

    Hi, When try to clearing accounting document through VF02 it showing *"check value field assignment for condition FREE" when I am double click this log it showing message Check value field assignment for condition FREE Message no. KE/AD243 Diagnosis

  • I can't install the mac os x 10.6.2 update

    So I download this update and I have version 10.6. After I try to install it, I've got a message that mac os x 10.6.2 can't be installed on this volume. I do not have Idea why it do this and will appreciate every help. Thank you very much

  • Each time i try to import an album, or convert wma files itunes slows down and eventually stops importing. Does anyone know why this is?

    I have been trying to import albums onto my itunes, it uploads the first few songs quickly then gradually gets slower and slower. I have also been trying to convert wma music files that already exist in my music folder and the same thing happens. Doe

  • Oracle Universal Installer gives a fatal error

    Hello, When I start the Oracle Universal Installer to install the Oracle Developer Suite (10.1.2.0.2) I get a Microsoft Fault Report, so the installation will abort. I had removed first the Oracle installation via the same wizard and then clean up my