TagLibs, JSPs, Portlets, and wwjps.xml

Hello All,
I am attempting to try the examples in the Integrating JavaServer Pages with Oracle 9iAS Portal white paper from April 2002, and am trying to create a simple internal JSP to call a portlet.
Using their most simple example, I receive the following error:
oracle.webdb.utils.PortalExceptionImpl: Error: UsePortalTag:
snip
caused by: oracle.webdb.utils.PortalExceptionImpl: Error loading application configuration: /u01/app/.../portal/WEB-INF/wwjps.xml
However, upon searching the filesystem I cannot find any such wwjps.xml -- there is only a web.xml in the specified directory. In the web.xml, there is the following set of directives:
<context-param>
<param-name>oracle.webdb.service.ConfigLoader</param-name>
<param-value>/WEB-INF/wwjps.xml</param-value>
<description>This parameter specifies the location of the JPS configuration file</description>
</context-param>
But again, this wwjps.xml file does not exist. Does anyone have any insight as to how I may proceed? All I want to do is end up with an external JSP rendering a simple portlet.
Thanks so much,
Rums.

Hi,
I have the same Problem.
Any news/updates?
Greets,
Even

Similar Messages

  • Oracle Report vs JSP efficiency and Excel XML in Web Source Questions

    I have used Oracle Reports in the past 6i, but haven't used them in about 4 years. We are now using 9.0.4 reports and I am trying to generate Excel XML from an Oracle report by manipulating the web source of the report. Basically copying and pasting the Excel XML into the web source of the Oracle Report instead of html as suggested by this Metalink Doc ID 240819.1. I do have a JSP working example that generates Excel XML created in JDeveloper and successfully spawns off a very nice looking Excel spreadsheet.
    However, a statement was made here by our app sever guy that an Oracle Report is more efficient at getting data from the database than a JSP. The app sever section does not want anyone using JSPs to generate a report of any kind. I guess small web pages are OK since our java guys use them all the time. This rule for a Reports only environment seems a little restrictive to me. Is there any truth to the statement that Oracle Reports bulk collects data in one chunk as opposed to a JSP making multiple trips to the database from the middle tier?
    Secondly, if an Oracle Report is more efficient in the way that it collects large record sets from the db, and if I save an Oracle Report as a JSP not an rdf, and use the reports_tld.jar with the rw tags instead of the typical jsp jstl tags, will I still get the same improvement from using an Oracle report? I guess the improvement is in the library used correct?
    Thirdly, although not part of this forum, I also am assuming that if we have single sign on that when I call a JSP from an Oracle Form I will not have to log in again correct?
    Thanks...
    Message was edited by:
    Mark Reichman

    It could be the configuration issue. Reconfigure the engine.

  • Get the user group in a JSP portlet

    Hi,
    I'm developping a JSP portlet and i'd like to know how to get the group of the user ?
    (the JSP will display URL links only if a user belongs to a specific group).
    I've seen the objet ProviderUser but it doesn't have methods wich give the user groups...
    Can you help me,
    Thank you
    Franck

    ProviderUser or any other Java API for that matter in PDK cannot
    give user's group information. One way to get the User group is
    to make to make use of Portal's PL/SQL Security API Packages,
    through JDBC calls.
    Example PL/SQL Code:
    l_boolean boolean;
    l_boolean := wwsec_api.is_user_in_group
    p_person_id => wwsec_api.id ('USER1'),
    p_group_id => wwsec_api.group_id ('GROUP1')
    Note : Replace USER1, GROUP1 with your own values.
    -aMJAD

  • Post a custom event with jsp portlet

    I have a portal page which contains a jsp portlet and a couple of other portlets.
    The jsp has several links and when the links are clicked and the page is redrawn on the portal, I want the jsp portlet to fire events to which the other portlets in the page can react to.
    To achieve this, I have attached a backing file to a jsp portlet and have a custom event being fired (from the handlePostBack method) when certain conditions are met. The problem is that the handlePostBack method is not called in the jsp portlet lifecycle (only init(), preRender() and destroy() are called). I realize it may be because the urls dont have the _nfpb parameter set. I did try adding that to the link url - but no luck.
    Will someone point me as to what is wrong with the setup described above.
    ram.

    Kevin,
    How would I use postbackURL tag on a url which already has the "?" appended - for example if my url is "/somedomain/something.portal?cmd=4", the postbackUrl tag converts it as "/somedomain/something.portal?cmd=4?_nfpb=true&_page_Label=..."
    Shouldnt it have the intelligence to sense that the url already contains "?" and hence it should use '&' to append further parameters.
    Also if I strip out my "?cmd=4" from the url and just provide the bare url so that it is now free to add the "?_nfpb=true" to the url, how do I instruct the tag to later append my cmd=4 parameter to the query string? I see an attribute called "parameters" but how do I provide a name value pair? Or should I simply provide the string "cmd=4" as attribute value?
    As of now I am contructing the url object and the jsp looks a bit unwieldy though it works :)
    Thanks,
    Ram.

  • Deploying JSP Portlet with custom taglib?

    Hi.
    I have deployed a simple jsp portlet to Oracle 9iAS (with JDeveloper),
    and it works otherwise fine, but it can find the taglibrary i'm using.
    I've tried using these two formats, but neither one works.
    <%@ taglib uri="/myurl" prefix="z" %>
    <%@ taglib uri="/z.tld" prefix="z" %>
    It just throws this:
    java.lang.NullPointerException
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at oracle.jsp.parse.JspUtils.loadClassJDK(JspUtils.java:219)
    at oracle.jsp.parse.JspUtils.loadClass(JspUtils.java:209)
    at oracle.jsp.parse.JspRTTag.<init>(JspRTTag.java:102)
    Has anyone else experienced this and solved the problem?
    - Toni

    I noticed too that in OEM (where i deployed the ear),
    it shows that there are now taglibs in it.
    How/where am i supposed to tell in the JDeveloper project,
    that i have taglibs in it?
    - Toni

  • Changing the directory Structure of Jsp and web.xml files

    Hi,
    I am using the JDeveloper 11g preview. Can any one tell me how to change the Jsp and web.xml files ( not in WEB-INF directory of the application) to another directory.
    Thanks in Advance
    Gopal

    Hi Frank,
    Is it possible for me to change the folder structure which JDeveloper is providing for web project?
    By default JDeveloper is giving the following folder structure.
    In the project's root folder there is a public_html and src folder along with .jpr file.
    In public_html folder thre is an WEB-INF folder and a jsp file
    In WEB-INF folder there is an classes folder along with web.xml file.
    I need to have the following folder structure :
    The WEB-INF folder should be in root folder of project not in public_html folder
    src folder must be in WEB-INF folder.
    Thanks in Advance
    Anil Golla

  • JSP Servlet and convert the result set of an SQL Query To XML file

    Hi all
    I have a problem to export my SQL query is resulty into an XML file I had fixed my servlet and JSP so that i can display all the records into my database and that the goal .Now I want to get the result set into JSP so that i can create an XML file from that result set from the jsp code.
    thisis my servlet which will call the jsp page and the jsp just behind it.
    //this is the servlet
    import java.io.*;
    import java.lang.reflect.Array;
    import java.sql.*;
    import java.util.ArrayList;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.naming.*;
    import javax.sql.*;
    public *class *Campaign *extends *HttpServlet
    *private* *final* *static* Logger +log+ = Logger.+getLogger+(Campaign.*class*.getName());
    *private* *final* *static* String +DATASOURCE_NAME+ = "jdbc/SampleDB";
    *private* DataSource _dataSource;
    *public* *void* setDataSource(DataSource dataSource)
    _dataSource = dataSource;
    *public* DataSource getDataSource()
    *return* _dataSource;
    *public* *void* init()
    *throws* ServletException
    *if* (_dataSource == *null*) {
    *try* {
    Context env = (Context) *new* InitialContext().lookup("java:comp/env");
    _dataSource = (DataSource) env.lookup(+DATASOURCE_NAME+);
    *if* (_dataSource == *null*)
    *throw* *new* ServletException("`" + +DATASOURCE_NAME+ + "' is an unknown DataSource");
    } *catch* (NamingException e) {
    *throw* *new* ServletException(e);
    protected *void *doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    Connection conn = *null*;
    *try* {
    conn = getDataSource().getConnection();
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("select post_id,comments,postname from app.posts");
    // out.println("Le r&eacute;sultat :<br>");
    ArrayList <String> Lescomments= *new* ArrayList<String>();
    ArrayList <String> Lesidentifiant = *new* ArrayList<String>();
    ArrayList <String> Lesnoms = *new* ArrayList <String>();
    *while* (rs.next()) {
    Lescomments.add(rs.getString("comments"));
    request.setAttribute("comments",Lescomments);
    Lesidentifiant.add(rs.getString("post_id"));
    request.setAttribute("id",Lesidentifiant);
    Lesnoms.add(rs.getString("postname"));
    request.setAttribute("nom",Lesnoms);
    rs.close();
    stmt.close();
    *catch* (SQLException e) {
    *finally* {
    *try* {
    *if* (conn != *null*)
    conn.close();
    *catch* (SQLException e) {
    // les param&egrave;tres sont corrects - on envoie la page r&eacute;ponse
    getServletContext().getRequestDispatcher("/Campaign.jsp").forward(request,response);
    }///end of servlet
    }///this is the jsp page called
    <%@ page import="java.util.ArrayList" %>
    <%
    // on r&eacute;cup&egrave;re les donn&eacute;es
    ArrayList nom=(ArrayList)request.getAttribute("nom");
    ArrayList id=(ArrayList)request.getAttribute("id");
    ArrayList comments=(ArrayList) request.getAttribute("comments");
    %>
    <html>
    <head>
    <title></title>
    </head>
    <body>
    Liste des campagnes here i will create the xml file the problem is to display all rows
    <hr>
    <table>
    <tr>
    </tr>
    <tr>
    <td>Comment</td>
    <td>
    <%
    for( int i=0;i<comments.size();i++){
    out.print("<li>" + (String) comments.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    <tr>
    <td>nom</td>
    <td>
    <%
    for( int i=0;i<nom.size();i++){
    out.print("<li>" + (String) nom.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    <tr>
    <td>id</td>
    <td>
    <%
    for( int i=0;i<id.size();i++){
    out.print("<li>" + (String) id.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    </table>
    </body>
    </html>
    This is how i used to create an XML file in a JSP page only without JSP/SERVLET concept:
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <%
    // Identify a carriage return character for each output line
    int iLf = 10;
    char cLf = (*char*)iLf;
    // Create a new empty binary file, which will content XML output
    File outputFile = *new* File("C:\\Users\\user\\workspace1\\demo\\WebContent\\YourFileName.xml");
    //outputFile.createNewFile();
    FileWriter outfile = *new* FileWriter(outputFile);
    // the header for XML file
    outfile.write("<?xml version='1.0' encoding='ISO-8859-1'?>"+cLf);
    try {
    // Define connection string and make a connection to database
    Connection conn = DriverManager.getConnection("jdbc:derby://localhost:1527/SAMPLE","app","app");
    Statement stat = conn.createStatement();
    // Create a recordset
    ResultSet rset = stat.executeQuery("Select * From posts");
    // Expecting at least one record
    *if*( !rset.next() ) {
    *throw* *new* IllegalArgumentException("No data found for the posts table");
    outfile.write("<Table>"+cLf);
    // Parse our recordset
    // Parse our recordset
    *while*(rset.next()) {
    outfile.write("<posts>"+cLf);
    outfile.write("<postname>" + rset.getString("postname") +"</postname>"+cLf);
    outfile.write("<comments>" + rset.getString("comments") +"</comments>"+cLf);
    outfile.write("</posts>"+cLf);
    outfile.write("</Table>"+cLf);
    // Everything must be closed
    rset.close();
    stat.close();
    conn.close();
    outfile.close();
    catch( Exception er ) {
    %>

    Please state your problem that you are having more clearly so we can help.
    I looked at your code I here are a few things you might consider:
    It looks like you are putting freely typed-in comments from end-users into an xml document.
    The problem with this is that the user may enter characters in his text that have special meaning
    to xml and will have to be escaped correctly. Some of these characters are less than character, greater than character and ampersand character.
    You may also have a similiar problem displaying them on your JSP page since there may be special characters that JSP has.
    You will have to read up on how to deal with these special characters (I dont remember what the rules are). I seem to recall
    if you use CDATA in your xml, you dont have to deal with those characters (I may be wrong).
    When you finish writing your code, test it by entering all keyboard characters to make sure they are processed, stored in the database,
    and re-displayed correctly.
    Also, it looks like you are putting business logic in your JSP page (creating an xml file).
    The JSP page is for displaying data ONLY and submitting back to a servlet. Put all your business logic in the servlet. Putting business logic in JSP is considered bad coding and will cause you many hours of headache trying to debug it. Also note: java scriptlets in a JSP page are only run when the JSP page is compiled into a servlet by java. It does not run after its compiled and therefore you cant call java functions after the JSP page is displayed to the client.

  • XMLDataSet and Dynamic XML using JSP

    I am trying to use the XMLDataSet function to call a jsp page
    instead of an xml file. The jsp page fetches records out of a db
    and creates xml to return to the spry function. Nothing seems to be
    returned, and blank spry data region on page.
    If i supply a xml file to the function it works correctly.
    I adapted the ASP/PHP samples from XMLExport demo. Code as
    follows:- If i run 2nd jsp directly, the browser shows the xml as
    expected.
    --- TEST.JSP ---
    <script type="text/javascript">
    Spry.Data.Region.debug=true;
    var dsPeople = new Spry.Data.XMLDataSet("transtoxml.jsp",
    "company/person");
    </script>
    --- transtoxml.jsp ---
    <%@ page language="java"
    import="java.sql.*, java.io.*, java.util.*,
    com.Ostermiller.util.*"
    errorPage="" %>
    <%@ include file="globals.jsp" %>
    <%
    String SQL="";
    Statement sTransaction;
    ResultSet rTransaction;
    try
    Class.forName(className);
    con =
    java.sql.DriverManager.getConnection(connectionURL,userName,password);
    }catch(Exception e){
    out.print(e.toString());
    out.print("Error connecting to database " + connectionURL);
    SQL ="SELECT ";
    SQL+="[ID], ";
    SQL+="[DocumentNo]";
    SQL+="FROM TRX_TRANSACTION_MAPPING";
    sTransaction = con.createStatement();
    try {
    rTransaction = sTransaction.executeQuery(SQL);
    response.setContentType("text/xml");
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("pragma","no-cache");
    %>
    <?xml version='1.0' encoding='iso-8859-1'?>
    <company>
    <% while(rTransaction.next()) { %>
    <person>
    <id><%=(rTransaction.getString("ID"))%></id>
    </person>
    <% } %>
    </company>
    <%
    response.flushBuffer();
    sTransaction.close();
    } catch (SQLException e) {
    out.print(e);
    %>

    This is the xml output the jsp gives when run directly:- Cut
    n pasted from browser. There does appear to be an error, because
    the spry:state="error" div is being displayed. If i paste the
    following into a file all is ok, any ideas anyone.
    regards
    sm@rt
    <?xml version="1.0" encoding="iso-8859-1" ?>
    - <company>
    - <person>
    <id>117</id>
    </person>
    - <person>
    <id>118</id>
    </person>
    - <person>
    <id>119</id>
    </person>
    - <person>
    <id>120</id>
    </person>
    - <person>
    <id>121</id>
    </person>
    - <person>
    <id>122</id>
    </person>
    - <person>
    <id>123</id>
    </person>
    - <person>
    <id>124</id>
    </person>
    - <person>
    <id>125</id>
    </person>
    - <person>
    <id>126</id>
    </person>
    - <person>
    <id>127</id>
    </person>
    - <person>
    <id>128</id>
    </person>
    - <person>
    <id>129</id>
    </person>
    - <person>
    <id>130</id>
    </person>
    - <person>
    <id>131</id>
    </person>
    - <person>
    <id>132</id>
    </person>
    - <person>
    <id>133</id>
    </person>
    - <person>
    <id>134</id>
    </person>
    - <person>
    <id>135</id>
    </person>
    - <person>
    <id>136</id>
    </person>
    - <person>
    <id>137</id>
    </person>
    - <person>
    <id>138</id>
    </person>
    - <person>
    <id>139</id>
    </person>
    - <person>
    <id>141</id>
    </person>
    </company>

  • Weblogic 10 jaas and login.jsp and web.xml/weblogic.xml security constaints

    Hello,
    I struggled through and got the examples.security.jaas.SampleCallbackHandler.java and examples.common.utils.ExampleUtils.java/ExampleConstants.java into eclipse where they compile. A bean I made can call SambleCallbackHandler like such:
    mybean.logmein(username,password,url). I can then do a mybean.getStatus() or even a mybean.returnCode(). It does seem to correctly identlify that it is authenticating me (I see in stdout logs that it shows success or failures. The problem I have is I do not know how to apply this weblogic and web.xml/weblogic.xml so that if authentication works it redirects me to the page requiring the authentication. In web.xml I have the following set up:
    <security-role>
         <role-name>Admins</role-name>
    </security-role>
    <login-config>
         <auth-method>FORM</auth-method>
         <realm-name>default</realm-name>
         <form-login-config>
              <form-login-page>/login.jsp</form-login-page>
              <form-error-page>/badlogin.html</form-error-page>
         </form-login-config>
    </login-config>
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>empower</web-resource-name>
              <description>These pages are only accessible by authorized users.</description>
              <url-pattern>/admin/*</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
         </web-resource-collection>
    <auth-constraint>
    <description>These are the roles who have access</description>
    <role-name>Administrators</role-name>
    </auth-constraint>
         <user-data-constraint>
         <description>This is how the user data must be transmitted</description>
         <transport-guarantee>NONE</transport-guarantee>
         </user-data-constraint>
    </security-constraint>
    My weblogic.xml has:
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <wls:security-role-assignment>
    <wls:role-name>Admins</wls:role-name>
    <wls:principal-name>Administrators</wls:principal-name>
    <wls:principal-name>dashap</wls:principal-name>
    </wls:security-role-assignment>
    </wls:weblogic-web-app>
    With this set up, if I try to go to a page in /admin folder in my application, it correctly pops up the login page. The jaas in the bean is doing a loginContext.login(), which I thought does authentication too, but it never goes back to the /admin page I was going to that needed the authentication. With jaas, can I not use the web.xml FORM security option? Do I Need to use j_security in the login.jsp's form's action= option and j_username and j_password for the input type names? How do I use j_username/j_password things if I am using jaas? I could just ignore using the web.xml security stuff and put something in the pages that need authentication, but it would be easier if I could use jaas with the security featurs without doing all that. Note that my code above is using a realm called default just because that was what was in the example I got from the web. Does that need to be something else?

    Hi John,
    I would like magic of course. However, in this case I want something special: my authentication provider uses special means and contents of headers, cookies and service from external identity management systems to determine the user's identity.
    I do not want the application to present the login dialog! I want to derive the identity and the fact that the user is logged in from whatever the authentication provider returns in terms of Subject.
    Ideally, the flow is something like:
    - user accesses an unprotected resource - resource is shown, no interaction with authentication provider
    - user presses a link or button that takes him/her to a protected resource
    - the authentication provider is contacted to work with the identity asserter to establish the identity of the current user and create a subject object for this user
    - the application can access the subject and principals
    - ADF Security recognizes the identity and the roles (based on the principals) and coordinates access based on this.
    the authentication method is client certificate. presumably this prompts WebLogic/OPS to use an identity asserter to work with custom headers and cookies ("... when you configure a web application to use CLIENT-CERT authentication. In this case, WebLogic can perform identity assertion based on values from request headers and cookies. If the header name or cookie name matches the active token type for the provider, the value is passed to the provider."). No login form should be presented to the user, as all information required to perform the authentication is already available.
    I am trying to understand what I must do to have the ADF application adopt the subject set by the authentication provider - if anything?!
    If you more ideas to share - I would love to hear them.
    best regards,
    Lucas

  • Display image in JSP Portlet

    I create a JSP portlet. But The portlet can't display image(gif file, jpg file). I have modified the provider.xml and the following line is added:
    <imageURL>URL_Path</imageURL>
    But, the image still cannot be displayed.
    How can I display image in JSP portlet?

    Leo Cheung,
    You could try the following :
    1. Add a virtual directory path Alias 'imgf' in the Apache configuration file httpd.conf to load the image file. Add the following line under the alias section :
    Alias /imgf/ "<your directory>\images/"
    2. Place your gif/jpg files (eg., work.gif) in the images directory.
    3. Use the IMG tag of HTML :
    <IMG src="/imgf/work.gif" border=0 width=80 height=80> in the JSP file at the location where you need to display the image.
    Hope this helps
    Pushkala

  • Upload file form problem in JSP portlet !!!

    Hi!
    I use "OrdHttpUploadFile" class for upload file in JSP portlet to database!
    Problem is that this class must use FORM ENCTYPE="multipart/form-data" whis I suppose dont work in portlet!?
    Which FORM ENCTYPE should I use in portlet! Or there is some other solution for upload file in JSP portlet!?
    Thanks!
    Kristjan

    Thanks for u r reply Mr.Prasad.
    Sorry for the delay for reply.
    My scenario is in 2 phases
    Phase 1. I am taking input from the front end using jsp and writing the contents in to a file and then downloading that file on to my desktop.(Now let us say this one as file downloading)
    Phase 2. Now I had designed a page,which locates the downloaded file by using the following tag.
                        <td><input type ="file" name ="xmlFileName"></td>
        In the downloaded xml file I am having applicationid. I am checking whether the application id already xists in the database (or)not.
    If already exists in the database , the end user will get one confirmation msg,saying application already exists in the database.
    If the user clicks ok again the request has to go to the servlet.
    Now the actual problems are
    1. When I locate the file on the desktop let us say c:\desktop\krish and click on submit button, it is locating to the file that is present in the server(this is the case for the first time means before checking the application id in the database).
    2. when the end user clicks "ok" on the confirmation box , I am not getting the file name,that has to be submitted to the servlet.
    Can u plz help me how to resolve this issue.
    regards,
    Krish

  • Error in parsing taglib 'customtag' tag in web.xml or .tld file of the tagl

    Hi
    While execution Portal application, I am getting error," Error in parsing taglib 'customtag' tag in web.xml or .tld file of the taglib library."
    Complete stack is
    >>#1.5 #005056AE006400690000002000000A440004BA8F3ECB004A#1331024303056#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#M1005000#6994##99593FD6676911E1807500000041A352#99593fd6676911e1807500000041a352-0#99593fd6676911e1807500000041a352#SAPEngine_Application_Thread[impl:3]_31##0#0#Error##Java###02:28_06/03/12_0020_4301650
    [EXCEPTION]
    #1#com.sapportals.portal.prt.servlets_jsp.server.jsp.ParseException: Error in parsing taglib 'customtag' tag in web.xml or .tld file of the taglib library.
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspTaglibDirective.verifyAttributes(JspTaglibDirective.java:189)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse0(JspDirective.java:162)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse(JspDirective.java:117)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ElementCollection.parse(ElementCollection.java:86)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ParserImpl.parse(ParserImpl.java:595)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2170)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:434)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Regards
    Pratyush

    Hi,
    See the following guide and make sure to carefully follow all instructions.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40599e45-8cf9-2910-cbaa-d4cd8e15ff34?QuickLink=index&overridelayout=true&14770392545262]
    Regards,
    Alex

  • Memory Leak In OC4J_WSRP Jsp Portlet

    Hi All
    I have the following problem:
    I have several JSP portlets deployed in the OracelAS OC4J_WSRP container.
    These portlets do a DB Access (using OracleAS connection pooling), call a remote Web Service parse the XML response and finally display the data to the user.
    We are in development period which means that we continuously deploy or redeploy the portlets using JDeveloper.
    The problem is that after 5 to 6 days an java.lang.outofmemory exception is thrown and all portlets deployed to this container stop working (we see a 500 Internal Server Error to the portal pages that use these portlets).
    We need to restart the OC4J_WSRP container to get the portlets back working.
    Obviously the JVM of the container runs out of memory and cannot serve further requests.
    But the big question is WHAT is causing the problem?
    I have noticed that the Memory usage metric in Oracle Enterprise Manager Application Server Control steadily increases over time and when it reaches about 125Mb then I get the OutofMemory exception.
    Another metric that steadily increases is the total JDBC connections but I am not sure if this is a problem or not as no Documentation from Oracle provides sufficient explanation of what this number is all about!!
    I have also noticed that each time we redeploy the provider that contains the portlets to the OC4J_WSRP container the Memory Usage increases significantly (about 2Mb more) and this memory is never given back to the OS but only when the OC4J_WSRP is restarted...
    Does anybody have an explanation to this?
    Thank you

    Do you mean the OC4J_WSRP container?
    Is it a production system or you are in development period??
    Because I suspect that the memory increases with the continuous re-deployments of the provider.
    maybe if we discuss the problem we will be able to find a solution together...

  • JSP Portlet help

    Here is our problem:
    We are running Oracle Portal. We want to create portlets using JSP.
    We can create and deploy JSP applications to the OC4J server which is running at http://server1:8888. Portal is deployed on http://server1 (port 80 I assume). We want to use the OC4J for ease of deployment using JDeveloper as well as using servlet API 2.2, which the default server (port 80?) does not seem to provide. Here are some specifics:
    When an application is deployed to server1:8888, the deployment creates two directories, one in which the source (.jsps) are located: D:\ORACLE\j2ee\home\applications\myapplication and another into which the source is compiled D: ORACLE\j2ee\home\application-deployments\myapplication.
    Weve read as much documentation as we can find at PortalCenter.Oracle.com, but havent been able to glean the info we need.
    Specific Questions:
    1) What configuration changes need to be made to which files for the OC4J server in order to deploy to Portal. (Assume that the j2ee directory is D:\Oracle\j2ee)
    2) Where should the provider.xml file (for the portlet provider) be created?
    3) How should provider.xml be configured (which directory and files should be referenced)?
    Were (obviously) none too familiar at this point with the Oracle HTTP services, OC4J services or even portal. All we know is we need to make this work and think this is the best way.
    Weve already been through the JPDK installation and the SampleWebProvider is installed and functions. Even forayed into editing the provider.xml file to include another portlet and met with mixed success.
    All help is appreciated, and we need someone to explain as if to a 5 year old, so that we understand. Thanks.
    Also open to suggestions of other avenues to pursue.

    No replies? Do you need more information? I really need help with this.
    Please reply if this is the wrong Forum or there is somewhere I can find specific answers to my questions.
    Help, please.
    _b
    Brian Wood

  • Installing a JSP app as a JSP portlet

    I am writing a JSP application that uses a MVC Model 3
    architecture - JSP's and corresponding JavaBeans with helper
    Java classes. I now need to install this as a portlet. I tried
    the simplistic idea of creating a provider.xml with the main jsp
    page in the <showPage> tag. But once I redirect to other pages,
    I am seeming out of the portlet environment and the app
    fucntions like a regular JSP application. Are there any
    structural changes I would have to make to my JavaBeans and
    other classes, or to the JSPs? Any documentation on such a
    transition.
    Thanks much in advance,
    Javeed

    An update. If I:
    Enroll a Windows Surface using a local admin account
    Request to install an app from a local standard account it appears stuck on Installing...
    Log back in as the local admin account and wait, the app appears.
    Questions:
    Can the same app be installed into multiple local accounts on the same device? It doesn't look like it.
    Is the local account used when the device is enrolled the only local account that will install Intune apps?
    -jd

Maybe you are looking for

  • How can I force a document to open on page one?

    Using Acrobat pro 8.0 and Windows XP. I have a 2 page fill-in form that I have inherited that has no security. It always opens on page 2. I want it to open on page one. In preferences I've specified that it should open on the last page viewed. I've e

  • Screen colors are  too bright

    Every time I restart my computer the colors of the screen become extreamly bright. I can't control them in the display settings. The only way to fix it is to unplug the screen from the computer and back in or by plugging or unplugging the tv. Can any

  • Can i download and install acrobat pro 8

    Hi there, just wondering how i can re-use an adobe acrobat pro 8 license that i have. the original computer it was on has died and i can't access it at all. how do i remove the license from that machine and put it onto another machine? I also don't h

  • T420s wireless issue

    hello, I've jus bought a new thinkpad t420s. it was working fine the first week, but now I have discovered a problem. the internet speed is very slow, when I'm connected with the wireless adapter. My machine has a Intel(R) WiFi Link 1000 BGN. I reall

  • About cardinality in Jdeveloper

    Hi, As I know, below are the types of relationship between tables. 1. one to one 2. one to many 3. many to many 4. many to one When creating association, I do not understand the following 1. 0..1 to * 2. 0..1 to 0..1 3. 0..1 to 1 Thanks in advance. I