Classpath in JSP bussiness Componets

Hi all,
I am developing an application with Oracle Bussines Componets, but I want to use JSP for the interface. When I try to execute one of them I get the next error:
Request URI: /webapp/CpAgestionView.jsp
Exception:
java.lang.NoClassDefFoundError: oracle/jbo/html/databeans/Res
but I have the jbohtml.zip in the classpath and that packge contains that class (Res(. What happens? Any comment would be appreciated.
Thanks
Jose R. Dmaz
[email protected]
Grupo EKIN
U.P.V. (University of the Basque Country)

Hi all,
I am developing an application with Oracle Bussines Componets, but I want to use JSP for the interface. When I try to execute one of them I get the next error:
Request URI: /webapp/CpAgestionView.jsp
Exception:
java.lang.NoClassDefFoundError: oracle/jbo/html/databeans/Res
but I have the jbohtml.zip in the classpath and that packge contains that class (Res(. What happens? Any comment would be appreciated.
Thanks
Jose R. Dmaz
[email protected]
Grupo EKIN
U.P.V. (University of the Basque Country)

Similar Messages

  • Import CLASSPATH in JSP

    Hi all,
    I am following a guide to install an JSP application on Tomcat.
    The third point is:
    Confirm JAR Files are Included in CLASSPATH
    Please ensure that the .jar files in the WEB-INF/lib/ directory of your web
    application are included in the CLASSPATH for your application.But I don't know how to do it (I'm not an expert of JSP).
    Someone can help me to add the code line(s) in a such way that I can include the WEB-INF/lib/ in the CLASSPATH of my application.
    Thanks
    Enrico

    I've understood now. The google's code,
    <td>
             <iframe name="identity_provider" src="./ProcessResponseServlet"
              width="100%" height="100%" frameborder="1"></iframe>
    </td>is wrong. I've just replaced this with:
    <td>
              <iframe name="identity_provider" src="./identity_provider.jsp"
              width="100%" height="100%" frameborder="1"></iframe>
          </td>But now the problem is always the same because inside this file there is:
    <form name="ServiceProviderForm" action="./CreateRequestServlet" method="post">
      <input type="hidden" name="action" value="Generate SAML Request">
      <input type="hidden" name="returnPage" value="service_provider.jsp">
      <p><center><input type="submit" value="Generate SAML Request"></center></form>
    <%
          String error = (String) request.getAttribute("error");
           String authnRequest = (String) request.getAttribute("authnRequest");
          String redirectURL = (String) request.getAttribute("redirectURL");
          if (error != null) {
          %>
            <p><center><font color="red"><b><%= error %></b></font></center><p>
          <%
          } else {
            if (authnRequest != null && redirectURL != null) {          
          %>
            <p><div style="padding:6px 0px;border-top:solid 1px #3366cc;border-bottom:solid 1px #3366cc"><b>Step 3: Submitting the SAML Request</b></div></p>
            <p>You can now review the generated SAML request before submitting it to the identity provider.</p>
            <p>As noted in the <b>Pre-Transaction Details</b>, when you install this application, it will send SAML authentication requests to the <b>ProcessResponseServlet</b>, which is included in the sample code package.</p>
            <b>Generated SAML XML</b><p>
            <input type="hidden" name="redirectURL" value="<%=redirectURL%>"/>
            <div class="codediv"><%=RequestUtil.htmlEncode(authnRequest)%></div>
            <p><center>
            <input type="button" value="Submit AuthnRequest"
                   onclick="javascript:parent.frames['identity_provider'].location = '<%=redirectURL%>';return true;">
            </center>
         <%
         %>And there is the file "CreateRequestServlet.class" in the "WEB-INF/classes/servlets" and the web.xml maps also this file.
    But when i press the button "Generate SAML Request", I have the usual error:
    HTTP Status 404 - /CreateRequestServlet/CreateRequestServlet
    type Status report
    message /CreateRequestServlet/CreateRequestServlet
    description The requested resource (/CreateRequestServlet/CreateRequestServlet) is not available.
    Sun-Java-System/Web-Services-Pack-1.4Edited by: springbok06 on Jul 29, 2010 4:06 PM

  • Classpath and JSP

    HI
    I had a question regarding connection of JPS with Oracle8i.
    I have created a jsp page (Firstpage.jsp) for connecting to the database, Oracle. (I have provided the code at the bottom).
    I am using Tomcat 3.3.
    Everytime I run this page , I get an error: Class OracleDriver not found. What should I do to connect to oracle?
    My questions are as follows:
    1) In order to connect to the database what should be the classpath set - (what i have rite now in my classpath is .;C:\Tomcat\lib\common\servlet.jar;C:\Tomcat\webapps\ROOT\WEB-INF\classes)
    2) Do i Have to make any changes in the server.xml file or tomcat-modules.jar file? If so wot changes do I have to make. Or is there any other file
    3) Like java where I add classes12.zip and nls_charset12.zip to the classpath while connecting tothe dbs , Do i have to do the same ? But where should the classes12.zip and nls_charset12.zip files be ? ie. should they be in C:\oracle\ora81\jdbc\lib or should they be copied to another folder ?
    <code>
    ---------Firstpage.jsp------------------------------------
    <%@ page import="java.sql.*" %>
    <HTML>
    <HEAD><TITLE>Simple JSP/Oracle Query Example</TITLE></HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <CENTER>
    <B>Employees</B>
    <BR><BR>
    <%
    Connection conn = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@localhost:1521:Orahome","scott","tiger");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM scott.emp");
    //Print start of table and column headers
    out.println("<TABLE CELLSPACING=\"0\" CELLPADDING=\"3\" BORDER=\"1\">");
    out.println("<TR><TH>ID</TH><TH>Name</TH><TH>SURNAME</TH>");
    out.println("<TH>SALARY</TH><TH>STARTDATE</TH></TR>");
    //Loop through results of query.
    while(rs.next())
    out.println("<TR>");
    out.println(" <TD>" + rs.getString("EMPNO") + "</TD>");
    out.println(" <TD>" + rs.getString("ENAME") + "</TD>");
    out.println(" <TD>" + rs.getInt("SAL") + "</TD>");
    out.println(" <TD>" + rs.getString("HIREDATE") + "</TD>");
    out.println("</TR>");
    out.println("</TABLE>");
    catch(SQLException e)
    out.println("SQLException: " + e.getMessage() + "<BR>");
    while((e = e.getNextException()) != null)
    out.println(e.getMessage() + "<BR>");
    catch(ClassNotFoundException e)
    out.println("ClassNotFoundException: " + e.getMessage() + "<BR>");
    finally
    //Clean up resources, close the connection.
    if(conn != null)
    try
    conn.close();
    catch (Exception ignored) {}
    %>
    </center>
    </body>
    </html>
    </code>
    I hope somebody answers my queries, coz im having sleepless nights
    thanks
    tej_jay

    One way is to copy classes12.zip into:
    <JAVA_HOME>jre\lib\ext
    and setting the classspath to point to it.
    Another way is to set the classpath to the Oracle's
    directory where you have the driver:
    oracle\ora81\jdbc\lib
    No No NO!
    Tomcat does not look at your classpath. It completely ignores it.
    As far as Tomcat is concerned its class path is
    web-inf/classes (with .class files in it)
    web-inf/lib (with .jar files in it - note it will not read .zip files)
    Tomcat lib directories.
    For Tomcat 3.3, go here to read all about it.
    http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes

  • EAR and long CLASSPATH at JSP compilation time

              Hi all,
              we have an EAR-packaged application with over 260 jars (mainly
              EJB) that is deployed to a managed server WL6.1SP3(AIX). Then
              we hit a JSP page of this app. and Weblogic generates the
              adecuate .java file that is passed as an argument to a forked
              process for the javac compiler with a CLASSPATH that is more
              than 22KB!! of length because of the EAR classloader schema
              (it must include all the jars of the EJB level).
              The problem is that the EAR deployment in WL6.1 generates a fixed and very long
              path for every jar that it is composed of:
              $WL_HOME/./config/DOMAIN/applications/.wl_notdelete_EARNAME
              /wlap#####/ejbjarname.jar
              and the invoke of the compiler fails with argument too long.
              We can control the EJB jar name, EARNAME, WL_HOME
              and DOMAIN to shorten the CLASSPATH, but that is not enough
              giving that the fixed part of the PATH is very long, for example:
              with DOMAIN=DOM1, WL_HOME=W, ejbjar name=EJB1, EARNAME=EAR1
              you get:
              /w/./config/DOM1/applications/.wl_notdelete_EAR1/wlap#####/EJB1.jar: that is
              68 chars * 260 jars = more than 17KB only with the
              EJB part of the CLASSPATH (plus the standard SYSTEM CLASSPATH
              and WARS CLASSPATH.)
              As workarounds we can:
              1.- Use an "pseudo exploded" EAR with EJBREMOTE and EJBHOME in clientclasses path
              with every jar and war by their own. Not very
              clean and we've lost the benefits of EAR deployment.
              2.- Consolidate a bunch of EJB in every jar. More administrative
              tasks (common xml descriptors:ejb-jar.xml,...) and less isolation
              between developer teams.
              3.- Consolidate at functionality level (source) a bunch of EJB
              in a few one. :(
              4.- Precompile every JSP outside of WEBLOGIC and generate
              the corresponding class and entries at web.xml and weblogic.xml
              5.- ...?
              or maybe:
              6.- configure this very long directory of deployment
              to a shorter deployer choosen and use relative paths.
              Is this possible? :)
              PacoG.
              

    You may try to use JSP compiler class. Please specify 'compilerclass'
              option in weblogic.xml. This option specifies name of a Java compiler
              that is executed in WebLogic Servers's virtual machine. (Used in place of
              an executable compiler such as javac or sj.)
              Please see
              http://e-docs.bea.com/wls/docs61/webapp/weblogic_xml.html#jsp-descriptor.
              Paco Garcia wrote:
              > oops!
              >
              > >$WL_HOME/./config/DOMAIN/applications/.wl_notdelete_EARNAME
              > >/wlap#####/ejbjarname.jar
              >
              > >with DOMAIN=DOM1, WL_HOME=W, ejbjar name=EJB1, EARNAME=EAR1
              > >you get:
              > >/w/./config/DOM1/applications/.wl_notdelete_EAR1/wlap#####/EJB1.jar:
              >
              > please read SERVERNAME instead of EARNAME
              >
              > PacoG.
              Regards,
              Ann
              Developer Relations Engineer
              BEA Support
              

  • Error while accessing a jsp file

              hi all,
              i am working on weblogic5.1 under solaris platform.
              my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              i have an import statement as follows import sun1.sun2.* in my JSP file.
              when i access this jsp file from my browser i have an error.
              the error is import package sun1 not found.
              i have set my classpath correctly(i feel so)...
              can anybody help me with this problem.
              if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              thanx in advance.
              Prasad.
              

              Hi,
              1) what is your "weblogic.httpd.documentRoot=????"
              2) if it is "public_html" put your jsp there.
              Joe
              "Prasad" <[email protected]> wrote:
              >
              >hi all,
              >
              >i am working on weblogic5.1 under solaris platform.
              >
              >my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              >
              >i have an import statement as follows import sun1.sun2.* in my JSP file.
              >
              >when i access this jsp file from my browser i have an error.
              >
              >the error is import package sun1 not found.
              >
              >i have set my classpath correctly(i feel so)...
              >
              >can anybody help me with this problem.
              >
              >if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              >
              >thanx in advance.
              >Prasad.
              

  • JDeveloper 11g Using jsp to display images

    I am converting a 10.1.3.3 application to 11.1.1.3
    It has 2 web modules. One is an ADF administrator module and the other is a public web that displays information including images stored as blobs.
    This public module has a simple technology scope, only html, java, jsp and servlets. It is a hand me down from a few technologies ago and ran well on 10.1.3.3
    To display images it uses a jsp acting as a servlet which is referenced inside other jsps. Since moving to 11g the images no longer display. If I use a java class servlet it works
    however I have to use the full url, e.g. http://mydomain:myport/web/Sevlet?.... which means I have to update the details for each deployment.
    I can use <h:graphicImage but this means I have to include JSF and use expression language to fill in the servlet parameters.
    I don't know what has changed to cause it to fail. Weblogic?
    The Libraries and Classpath include
    JSP Runtime
    Servlet Runtime
    JSTL 1.2
    The servlet jsp is as follows remembering it works in 10.1.3.3
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="javax.naming.Context" %>
    <%@ page import="java.io.*" %>
    <%@ page import="userinterface.util.ByteArray" %>
    <%@ page import="userinterface.online.ImageUIHelper" %>
    <%@ page import="userinterface.online.ImageUIHelperValue" %>
    <%
         String dataObjectId = "";
         String regionId = "";
         boolean getObjectImage=false;
         boolean getRegionImage=false;
         // determine which type of image to retrieve
         if (request.getParameter("dataObjectId") != null)
              dataObjectId = request.getParameter("dataObjectId").toString();
              getObjectImage=true;
         } else if (request.getParameter("regionId") != null)
              regionId = request.getParameter("regionId").toString();
              getRegionImage=true;
         if (getObjectImage==true || getRegionImage == true)
              try
                   ImageUIHelper imageHelper = new ImageUIHelper();
                   ImageUIHelperValue vo = null;
                   if (getObjectImage)
                        vo = imageHelper.doReadObjectImage(new Integer(dataObjectId));
                   } else if (getRegionImage)
                        vo = imageHelper.doReadRegionImage(new Integer(regionId));
                   if (vo != null && vo.getImage() != null)
                        // determine the mimetype
                        String mimeType="image/png";
                        if (vo.getFilename().toLowerCase().endsWith(".gif"))
                             mimeType = "image/gif";
                        else if (vo.getFilename().toLowerCase().endsWith(".jpg"))
                             mimeType = "image/jpg; charset=windows-1252";
                        else if (vo.getFilename().toLowerCase().endsWith(".png"))
                             mimeType = "image/png";
                        else if (vo.getFilename().toLowerCase().endsWith(".bmp"))
                             mimeType = "image/bmp";
                        response.setContentType(mimeType);
                        response.setHeader("pragma", "no-cache");
                        ServletOutputStream os = response.getOutputStream();
    os.write(vo.getImage().getBytes());
                        os.flush();
                        os.close();
              } catch (Exception ex)
    A simple test harness follows. The actual pages substitute the java values using <%= uri %> as below
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%
    String uri = "http://localhost:7101/publicweb/img/ImageServlet?imageType=dataObject&dataObjectId=822";
    String uri2 = "ImageServlet.jsp?dataObjectId=822";
    String uri3 = "ImageServlet.jsp?dataObjectId=694";
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>testServlet</title>
    </head>
    <body>
    <table cellspacing="2" cellpadding="3" border="1" width="100%">
    <tr>
    <td width="20%">Checking Servlet</td>
    <td width="80%"><img src=<%= uri %>
    id="imge"
    width="400px" alt="Image" />
    </td>
    </tr>
    </table>
    </body>
    </html>

    i responded to your duplicate message 4 days ago:
    is it possible to insert and retrieve images from sql server using actionscript.
    you'll need server-side script to query your database and you can use the flash urlloader class to call your script.
    also  is it possible to create a flash scrolling gallery based on images  stored in a database and everytime an image is added it is displayed in  the gallery.
    load the data using the urlloader class and  then load the images.  periodically query the database for new images if  there's no direct way for flash to know a new image was added.

  • Accessing a JSP file via context URL

    Hi experts ,
    i have a requirement to access a jsp file via context url i.e. /irj/... abc.jsp , can  any one please suggest how to access this , i have a jsp dynpage component in the pagelet folder i have a jsp page, that im not able to access via the context url , and the images that are there in the image folder are accessible via context path i.e /irj/.. abc.gif etc.
    can any one please suggest a solution .
    Regards
    Govardan Raj

              Hi,
              1) what is your "weblogic.httpd.documentRoot=????"
              2) if it is "public_html" put your jsp there.
              Joe
              "Prasad" <[email protected]> wrote:
              >
              >hi all,
              >
              >i am working on weblogic5.1 under solaris platform.
              >
              >my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              >
              >i have an import statement as follows import sun1.sun2.* in my JSP file.
              >
              >when i access this jsp file from my browser i have an error.
              >
              >the error is import package sun1 not found.
              >
              >i have set my classpath correctly(i feel so)...
              >
              >can anybody help me with this problem.
              >
              >if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              >
              >thanx in advance.
              >Prasad.
              

  • How does performance of JSP compare to PHP, ASP, etc?

              "One thing I've found lately is that server-side Java (JSP) is,
              surprisingly, often omitted by web hosting providers. I thought that,
              Java being the ultimate web language, just about everyone would offer
              it, but it is fairly difficult to find at reasonable prices. Apparently,
              it is a relative resource hog. One guy I talked to said that they
              wouldn't be able to put more than three JSP sites on a server, whereas
              using PHP or ASP, etc, they could do an order of magnitude better."
              A friend of mine sent me that statement above. Is this roughly a true
              statement? (I'm posting this here just as a starter. It is not aimed at
              Weblogic at all...note that Weblogic is NOT even mentioned in the quote
              above.)
              The phrase "...everyone would offer it" pertains to the fact that my friend
              has been conversing with various 'web hosting providers', and he came to
              this
              'conclusion' after talking with a bunch of them in search of a company to
              host some of his client-companies web pages.
              Thanks in advance for your experiences.
              Cheers...
              Dave
              

    On resource needs, in my experience, JSPs (and Java servers in general) require
              considerably more memory to run, but can actually reduce the CPU requirements.
              For example I had an application written in mod_perl, and when compared to the
              J2EE port, the mod_perl version consumed 1/2 the RAM, but the J2EE version
              was suprisingly much faster in execution (sluggish pages in the mod_perl version
              were very snappy in the J2EE version, on the same exact hardware.)
              But the biggest problem for ISPs is actually the management of the servers, not so
              much the hardware resources it takes. Today J2EE servers are still relatively complex
              to manage and configure. E.g., even a small ISP using Apache can easily(!) support
              dozens or even hundreds of virtual hosts for its clients... try doing that with Weblogic
              or any other JSP/Servlet/EJB engine... nightmare!!
              Take the deployment model as an example... in Perl/PHP/Frontpage-land the ISP
              can simply give each clients a few directories (e.g., the old 'cgi-bin' and 'public_html'
              dirs) and the client is self-sufficient. When a client changes something, they just ftp
              the new files into the directory and voila, it's done. No need for hand-holding from the
              ISP.
              In contrast one can't do that with J2EE servers today... applications must be packaged
              in some specific format, resources (like JDBC DataSources, JavaMail, security roles,
              etc.) must be setup often by hand, the administrator must contend with a variety of
              classpath and JSP compiler issues, the application then must be deployed to the server
              using a proprietary tool (which can fail), the server may need to be told to "reload" the
              new application, etc., etc.
              Not very easy to manage when you have lots of clients!! Not to mention that very few
              system administrators today in ISPs have a good understanding about Java in general;
              few can tell the difference between Jdk 1.0 and Jdk 1.4; and only a tiny minority will
              know something about running J2EE servers in production at all.
              regards,
              -Ade
              "David Cook" <[email protected]> wrote in message news:[email protected]...
              >
              > "One thing I've found lately is that server-side Java (JSP) is,
              > surprisingly, often omitted by web hosting providers. I thought that,
              > Java being the ultimate web language, just about everyone would offer
              > it, but it is fairly difficult to find at reasonable prices. Apparently,
              > it is a relative resource hog. One guy I talked to said that they
              > wouldn't be able to put more than three JSP sites on a server, whereas
              > using PHP or ASP, etc, they could do an order of magnitude better."
              >
              > A friend of mine sent me that statement above. Is this roughly a true
              > statement? (I'm posting this here just as a starter. It is not aimed at
              > Weblogic at all...note that Weblogic is NOT even mentioned in the quote
              > above.)
              >
              > The phrase "...everyone would offer it" pertains to the fact that my friend
              > has been conversing with various 'web hosting providers', and he came to
              > this
              > 'conclusion' after talking with a bunch of them in search of a company to
              > host some of his client-companies web pages.
              >
              > Thanks in advance for your experiences.
              >
              > Cheers...
              > Dave
              >
              >
              

  • Help with JSP pre-compiling

    We have a web application using Jboss4.0.5, jdk 1.6 and And 1.6.5, and now we try to do a pre-compiling as part of our build procedure.
    That is the first time I am going to do a pre-comp of a major application, which includes about 1700 jsp files.
    The directory tree of the application is as follows:
    /project
        |--- > /web_pre-comp/pages/jsp ( it contains all the jsp files )
        |----> /web_pre-comp/WEB-INF ( it contains the web.xml file.)
        |----> /web_pre-comp/WEB-INF/tld ( it contains the tld files)
        |----> /web_pre-comp/WEB-INF/src ( it coutains the generated src file from jsp )
        |---->/web_pre-comp/WEB-INF/classes ( it contains the compiled classes once the jsp java files are generated.   )
        |----> build.xml ( the ant script )And there is my build.xml file looks like:
    <project>
          <target name="pro.jsp.generate" depens="init">
           <java classname="org.apache.jasper.JspC" fork="yes">
              <classpath refid="tomcat.jsp.classpath"/>
              <arg line=" -d "/>
              <arg value="${jsp.generated.src.dir}"/>
              <arg line="-p"/>
              <arg value="${jsp.package.name}"/>
              <arg line="-webapp"/>
              <arg value="${jsp.src.dir}"/>
           </java>
       </target>
    </project>When I was running the ant script, I received such message:
    [java] org.apache.jasper.JasperException: The absolute uri: http://www.prounlimited.com/wandappconfig.tld cannot be resolved in either web.xml or the jar files deployed with this application
    We do have suh messages included in the web.xml file.
      <taglib>
            <taglib-uri>http://www.prounlimited.com/wandappconfig.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/wandappconfig.tld</taglib-location>
        </taglib>Any Ideas how to make it working ?
    Another side questions is when some java file are created from JSP, I see some "005f" included in the java file name, such as "inc_sup_princing_view.jsp" creats a
    "inc_005fsup_005fpricing_005fview_jsp.java" file. Does someone know why this happen ?
    Thanks a lot !
    Charlie

    We have a web application using Jboss4.0.5, jdk 1.6
    and And 1.6.5, and now we try to do a pre-compiling
    as part of our build procedure. Hi Charlie,
    According to your ant build script you're using Jasper compiler, but your web container is JBoss.
    I know that Tomcat uses the Jasper compiler --- but I don't know if JBoss supports Jasper or not. Please check with JBoss if they support Jasper, if not they my support a different pre-compiler.
    That is the first time I am going to do a pre-comp of
    a major application, which includes about 1700 jsp
    files.
    The directory tree of the application is as follows:
    /project
    |--- > /web_pre-comp/pages/jsp ( it contains all
    the jsp files )
    |----> /web_pre-comp/WEB-INF ( it contains the
    web.xml file.)
    |----> /web_pre-comp/WEB-INF/tld ( it contains
    the tld files)
    |----> /web_pre-comp/WEB-INF/src ( it coutains the
    generated src file from jsp )
    |---->/web_pre-comp/WEB-INF/classes ( it contains
    the compiled classes once the jsp java files are
    generated.   )
    |----> build.xml ( the ant script )And there is my build.xml file looks like:
    <project>
    <target name="pro.jsp.generate" depens="init">
    <java classname="org.apache.jasper.JspC"
    fork="yes">
    <classpath refid="tomcat.jsp.classpath"/>
    <arg line=" -d "/>
    <arg value="${jsp.generated.src.dir}"/>
    <arg line="-p"/>
    <arg value="${jsp.package.name}"/>
    <arg line="-webapp"/>
    <arg value="${jsp.src.dir}"/>
    java>
    </target>
    </project>When I was running the ant script, I received such
    message:
    [java] org.apache.jasper.JasperException: The
    absolute uri:
    http://www.prounlimited.com/wandappconfig.tld cannot
    be resolved in either web.xml or the jar files
    deployed with this application
    Check if the tld folder is visible to the classpath tomcat.jsp.classpath used inside the Ant build file.
    >
    We do have suh messages included in the web.xml file.
      <taglib>
    taglib-uri>http://www.prounlimited.com/wandappconfig.t
    ld</taglib-uri>
    taglib-location>/WEB-INF/tld/wandappconfig.tld</taglib
    -location>
    </taglib>Any Ideas how to make it working ?
    Another side questions is when some java file are
    created from JSP, I see some "005f" included in the
    java file name, such as "inc_sup_princing_view.jsp"
    creats a
    "inc_005fsup_005fpricing_005fview_jsp.java" file.
    Does someone know why this happen ?
    The 005f is expected, it is for internal reference for the pre-compiler, nothing to worry about.
    >
    Thanks a lot !
    Charlie

  • Fix many web access problems with IFS 9.0.1 on Solaris (and other OS's)...

    When the installation is done according to the documentation,
    web access does not work because the scripts that add entries to
    the jserv.properties file add duplicate references to
    wrapper.env and wrapper.classpath. Look at the jserv.properties
    file below and look at the remarked-out (#) lines of the
    duplicate references. For example, look at the references to the
    wrapper.env=LD_LIBRARY_PATH
    Oracle, please note this bug so the web access problems are
    minimized when the product is intstalled.
    Thank you,
    William T.
    # Apache JServ Configuration
    File #
    ################################ W A R N I N G
    # Unlike normal Java properties, JServ configurations have some
    important
    # extensions:
    # 1) commas are used as token separators
    # 2) multiple definitions of the same key are concatenated in
    a
    # comma separated list.
    # Execution parameters
    # The Java Virtual Machine interpreter.
    # Syntax: wrapper.bin=[filename] (String)
    # Note: specify a full path if the interpreter is not visible in
    your path.
    wrapper.bin=/d3/Apache/jdk/bin/java
    # Arguments passed to Java interpreter (optional)
    # Syntax: wrapper.bin.parameters=[parameters] (String)
    # Default: NONE
    wrapper.bin.parameters=-Xms64m
    wrapper.bin.parameters=-Xmx128m
    # Apache JServ entry point class (should not be changed)
    # Syntax: wrapper.class=[classname] (String)
    # Default: "org.apache.jserv.JServ"
    # Arguments passed to main class after the properties filename
    (not used)
    # Syntax: wrapper.class.parameters=[parameters] (String)
    # Default: NONE
    # Note: currently not used
    # PATH environment value passed to the JVM
    # Syntax: wrapper.path=[path] (String)
    # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
    # "c:\(windows-dir);c:\(windows-system-dir)" for Win32
    systems
    # Notes: if more than one line is supplied these will be
    concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters
    # Under Win32 (windows-dir) and (windows-system-dir) will
    be
    # automatically evaluated to match your system
    requirements
    # CLASSPATH environment value passed to the JVM
    # Syntax: wrapper.classpath=[path] (String)
    # Default: NONE (Sun's JDK/JRE already have a default classpath)
    # Note: if more than one line is supplied these will be
    concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters.
    JVM must be
    # able to find JSDK and JServ classes and any utility
    classes used by
    # your servlets.
    # Note: the classes you want to be automatically reloaded upon
    modification
    # MUST NOT be in this classpath or the classpath of the
    shell
    # you start the Apache from.
    wrapper.classpath=/d3/Apache/jdk/lib/tools.jar
    wrapper.classpath=/d3/Apache/Jserv/libexec/ApacheJServ.jar
    wrapper.classpath=/d3/Apache/Jsdk/lib/jsdk.jar
    # An environment name with value passed to the JVM
    # Syntax: wrapper.env=[name]=[value] (String)
    # Default: NONE on Unix Systems
    # SystemDrive and SystemRoot with appropriate values on
    Win32 systems
    wrapper.env=PATH=/d3/bin
    # An environment name with value copied from caller to Java
    Virtual Machine
    # Syntax: wrapper.env.copy=[name] (String)
    # Default: NONE
    # Uncomment the following lines to set the default locale and
    NLS_LANG
    # setting based on the environment variables.
    # wrapper.env.copy=LANG
    # wrapper.env.copy=NLS_LANG
    # Copies all environment from caller to Java Virtual Machine
    # Syntax: wrapper.env.copyall=true (boolean)
    # Default: false
    # Protocol used for signal handling
    # Syntax: wrapper.protocol=[name] (String)
    # Default: ajpv12
    # General parameters
    # Set the default IP address or hostname Apache JServ binds (or
    listens) to.
    # If you have a machine with multiple IP addresses, this address
    # will be the one used. If you set the value to localhost, it
    # will be resolved to the IP address configured for the locahost
    # on your system (generally this is 127.0.0.1). This feature is
    so
    # that one can have multiple instances of Apache JServ listening
    on
    # the same port number, but different IP addresses on the same
    machine.
    # Use bindaddress=* only if you know exactly what you are doing
    here,
    # as it could let JServ wide open to the internet.
    # You must understand that JServ has to answer only to Apache,
    and should not
    # be reachable by nobody but mod_jserv. So localhost is usually a
    # good option. The second best choice would be an internal
    network address
    # (protected by a firewall) if JServ is running on another
    machine than Apache.
    # Ask your network admin.
    # "*" may be used on boxes where some of the clients get
    connected using
    # "localhost"and others using another IP addr.
    # Syntax: bindaddress=[ipaddress] or [localhost] or [*]
    # Default: localhost
    bindaddress=localhost
    # Set the port Apache JServ listens to.
    # Syntax: port=[1024,65535] (int)
    # Default: 8007
    port=8007
    # Servlet Zones parameters
    # List of servlet zones Apache JServ manages
    # Syntax: zones=[servlet zone],[servlet zone]... (Comma
    separated list of String)
    # Default: NONE
    zones=root
    # Configuration file for each servlet zone (one per servlet zone)
    # Syntax: [servlet zone name as on the zones list].properties=
    [full path to configFile]
    (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    root.properties=/d3/Apache/Jserv/etc/zone.properties
    # Thread Pool parameters
    # Enables or disables the use of the thread pool.
    # Syntax: pool=true (boolean)
    # Default: false
    # WARNING: the pool has not been extensively tested and may
    generate
    deadlocks.
    # For this reason, we advise against using this code in
    production environments.
    pool=false
    # Indicates the number of idle threads that the pool may contain.
    # Syntax: pool.capacity=(int)>0
    # Default: 10
    # NOTE: depending on your system load, this number should be low
    for contantly
    # loaded servers and should be increased depending on load
    bursts.
    pool.capacity=10
    # Indicates the pool controller that should be used to control
    the
    # level of the recycled threads.
    # Syntax: pool.controller=[full class of controller] (String)
    # Default: org.apache.java.recycle.DefaultController
    # NOTE: it is safe to leave this unchanged unless special
    recycle behavior
    # is needed. Look at the "org.apache.java.recycle" package
    javadocs for more
    # info on other pool controllers and their behavior.
    pool.controller=org.apache.java.recycle.DefaultController
    # Security parameters
    # Enable/disable the execution of org.apache.jserv.JServ as a
    servlet.
    # This is disabled by default because it may give informations
    that should
    # be restricted.
    # Note that the execution of Apache JServ as a servlet is
    filtered by the web
    # server modules by default so that both sides should be enabled
    to let this
    # service work.
    # This service is useful for installation and configuration
    since it gives
    # feedback about the exact configurations Apache JServ is using,
    but it should
    # be disabled when both installation and configuration processes
    are done.
    # Syntax: security.selfservlet=true (boolean)
    # Default: false
    # WARNING: disable this in a production environment since may
    give reserved
    # information to untrusted users.
    security.selfservlet=true
    # Set the maximum number of socket connections Apache JServ may
    handle
    # simultaneously. Make sure your operating environment has
    enough file
    # descriptors to allow this number.
    # Syntax: security.maxConnections=(int)>1
    # Default: 50
    security.maxConnections=50
    # Backlog setting for very fine performance tunning of JServ.
    # Unless you are familiar to sockets leave this value commented
    out.
    # security.backlog=5
    # List of IP addresses allowed to connect to Apache JServ. This
    is a first
    # security filtering to reject possibly unsecure connections and
    avoid the
    # overhead of connection authentication.
    # <warning>
    # (please don't use the following one unless you know what you
    are doing :
    # security.allowedAddresses=DISABLED
    # allows connections on JServ'port from entire internet.)
    # You do need only to allow YOUR Apache to talk to JServ.
    # </warning>
    # Default: 127.0.0.1
    # Syntax: security.allowedAddresses=[IP address],[IP Address]...
    (Comma
    separated list of IP addresses)
    #security.allowedAddresses=127.0.0.1
    # Enable/disable connection authentication.
    # NOTE: unauthenticated connections are a little faster since
    authentication
    # handshake is not performed at connection creation.
    # WARNING: authentication is disabled by default because we
    believe that
    # connection restriction from all IP addresses but localhost
    reduces your
    # time to get Apache JServ to run. If you allow other addresses
    to connect and
    # you don't trust it, you should enable authentication to
    prevent untrusted
    # execution of your servlets. Beware: if authentication is
    disabled and the
    # IP address is allowed, everyone on that machine can execute
    your servlets!
    # Syntax: security.authentication=[true,false] (boolean)
    # Default: true
    security.authentication=false
    # Authentication secret key.
    # The secret key is passed as a file that must be kept secure
    and must
    # be exactly the same of those used by clients to authenticate
    themselves.
    # Syntax: security.secretKey=[secret key path and filename]
    (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    #security.secretKey=./etc/jserv.secret.key
    # Length of the randomly generated challenge string (in bytes)
    used to
    # authenticate connections. 5 is the lowest possible choice to
    force a safe
    # level of security and reduce connection creation overhead.
    # Syntax: security.challengeSize=(int)>5
    # Default: 5
    #security.challengeSize=5
    # Logging parameters
    # Enable/disable Apache JServ logging.
    # WARNING: logging is a very expensive operation in terms of
    performance. You
    # should reduced the generated log to a minumum or even disable
    it if fast
    # execution is an issue. Note that if all log channels (see
    below) are
    # enabled, the log may become really big since each servlet
    request may
    # generate many Kb of log. Some log channels are mainly for
    debugging
    # purposes and should be disabled in a production environment.
    # Syntax: log=[true,false] (boolean)
    # Default: true
    log=true
    # Set the name of the trace/log file. To avoid possible
    confusion about
    # the location of this file, an absolute pathname is recommended.
    # This log file is different than the log file that is in the
    # jserv.conf file. This is the log file for the Java portion of
    Apache
    # JServ.
    # On Unix, this file must have write permissions by the owner of
    the JVM
    # process. In other words, if you are running Apache JServ in
    manual mode
    # and Apache is running as user nobody, then the file must have
    its
    # permissions set so that that user can write to it.
    # Syntax: log.file=[log path and filename] (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    log.file=/d3/Apache/Jserv/logs/jserv.log
    # Enable the timestamp before the log message
    # Syntax: log.timestamp=[true,false] (boolean)
    # Default: true
    log.timestamp=true
    # Use the given string as a data format
    # (see java.text.SimpleDateFormat for the list of options)
    # Syntax: log.dateFormat=(String)
    # Default: [dd/MM/yyyy HH:mm:ss:SSS zz]
    log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
    # Since all the messages logged are processed by a thread
    running with
    # minimum priority, it's of vital importance that this thread
    gets a chance
    # to run once in a while. If it doesn't, the log queue overflow
    occurs,
    # usually resulting in the OutOfMemoryError.
    # To prevent this from happening, two parameters are used:
    log.queue.maxage
    # and log.queue.maxsize. The former defines the maximum time for
    the logged
    # message to stay in the queue, the latter defines maximum
    number of
    # messages in the queue.
    # If one of those conditions becomes true (age > maxage || size
    maxsize),# the log message stating that fact is generated and the log
    queue is
    # flushed in the separate thread.
    # If you ever see such a message, either your system doesn't
    live up to its
    # expectations or you have a runaway loop (probably, but not
    necessarily,
    # generating a lot of log messages).
    # WARNING: Default values are lousy, you probably want to tweak
    them and
    # report the results back to the development team.
    # Syntax: log.queue.maxage = [milliseconds]
    # Default: 5000
    log.queue.maxage = 5000
    # Syntax: log.queue.maxsize = [integer]
    # Default: 1000
    log.queue.maxsize = 1000
    # Enable/disable logging the channel name
    # Default: false
    # log.channel=false
    # Enable/disable channels, each logging different actions.
    # Syntax: log.channel.[channel name]=[true,false] (boolean)
    # Default: false
    # Info channel - quite a lot of informational messages
    # hopefully you don't need them under normal circumstances
    # log.channel.info=true
    # Servlets exception, i.e. exception caught during
    # servlet.service() processing are monitored here
    # you probably want to have this one switched on
    log.channel.servletException=true
    # JServ exception, caught internally in jserv
    # we suggest to leave it on
    log.channel.jservException=true
    # Warning channel, it catches all the important
    # messages that don't cause JServ to stop, leave it on
    log.channel.warning=true
    # Servlet log
    # All messages logged by servlets. Probably you want
    # this one to be switched on.
    log.channel.servletLog=true
    # Critical errors
    # Messages produced by critical events causing jserv to stop
    log.channel.critical=true
    # Debug channel
    # Only for internal debugging purposes
    # log.channel.debug=true
    #wrapper.classpath=/d3/ord/jlib/ordim.zip
    #wrapper.classpath=/d3/ord/jlib/ordhttp.zip
    # Oracle XSQL Servlet
    wrapper.classpath=/d3/lib/oraclexsql.jar
    # Oracle JDBC
    wrapper.classpath=/d3/jdbc/lib/classes12.zip
    # Oracle XML Parser V2 (with XSLT Engine)
    wrapper.classpath=/d3/lib/xmlparserv2.jar
    # Oracle XML SQL Components for Java
    wrapper.classpath=/d3/rdbms/jlib/xsu12.jar
    # XSQLConfig.xml File location
    wrapper.classpath=/d3/xdk/admin
    # Oracle BC4J
    wrapper.classpath=/d3/ord/jlib/ordim.zip
    wrapper.classpath=/d3/ord/jlib/ordvir.zip
    wrapper.classpath=/d3/ord/jlib/ordhttp.zip
    wrapper.classpath=/d3/BC4J/lib/jndi.jar
    wrapper.classpath=/d3/BC4J/lib/jbomt.zip
    wrapper.classpath=/d3/BC4J/lib/javax_ejb.zip
    wrapper.classpath=/d3/BC4J/lib/jdev-rt.jar
    wrapper.classpath=/d3/BC4J/lib/jbohtml.zip
    wrapper.classpath=/d3/BC4J/lib/jboremote.zip
    wrapper.classpath=/d3/BC4J/lib/jdev-cm.jar
    wrapper.classpath=/d3/BC4J/lib/jbodomorcl.zip
    wrapper.classpath=/d3/BC4J/lib/jboimdomains.zip
    wrapper.classpath=/d3/BC4J/lib/collections.jar
    wrapper.classpath=/d3/Apache/Apache/htdocs/onlineorders_html
    #wrapper.classpath=/d3/Apache/Apache/htdocs/OnlineOrders_html/Onl
    ineOrders.jar
    # The following classpath entries are necessary for EJBs to run
    in IAS or DB when
    present
    wrapper.classpath=/d3/lib/aurora_client.jar
    wrapper.classpath=/d3/lib/vbjorb.jar
    wrapper.classpath=/d3/lib/vbjapp.jar
    # Oracle Servlet
    wrapper.classpath=/d3/lib/servlet.jar
    # Oracle Java Server Pages
    wrapper.classpath=/d3/jsp/lib/ojsp.jar
    # Oracle Util
    wrapper.classpath=/d3/jsp/lib/ojsputil.jar
    # Oracle Java SQL
    wrapper.classpath=/d3/sqlj/lib/translator.zip
    # Oracle JDBC
    #wrapper.classpath=/d3/jdbc/lib/classes12.zip
    # SQLJ runtime
    wrapper.classpath=/d3/sqlj/lib/runtime12.zip
    # Oracle Messaging
    wrapper.classpath=/d3/rdbms/jlib/aqapi.jar
    wrapper.classpath=/d3/rdbms/jlib/jmscommon.jar
    # OJSP environment settings
    #wrapper.env=ORACLE_HOME=/d3
    # The next line should be modified to reflect the value of the
    SID for your
    webserver.
    #wrapper.env=ORACLE_SID=cmpdb
    #wrapper.env=LD_LIBRARY_PATH=/d3/lib
    ## Enable the flag below if you are using jdk 1.2.2_05a or above
    #wrapper.env=JAVA_COMPILER=NONE
    # Advanced Queuing - AQXML
    wrapper.classpath=/d3/rdbms/jlib/aqxml.jar
    #wrapper.classpath=/d3/rdbms/jlib/xsu12.jar
    #wrapper.classpath=/d3/lib/xmlparserv2.jar
    wrapper.classpath=/d3/lib/xschema.jar
    #wrapper.classpath=/d3/jlib/jndi.jar
    wrapper.classpath=/d3/jlib/jta.jar
    oemreporting.properties=/d3/Apache/Jserv/oemreporting/oemreportin
    g.properties
    zones = root, oemreporting
    wrapper.classpath=/d3/jlib/share-opt-1_1_9.zip
    wrapper.classpath=/d3/jlib/caboshare-opt-1_0_3.zip
    wrapper.classpath=/d3/jlib/marlin-opt-1_0_7.zip
    wrapper.classpath=/d3/jlib/tecate-opt-1_0_4.zip
    wrapper.classpath=/d3/jlib/ocelot-opt-1_0_2.zip
    wrapper.classpath=/d3/jlib/regexp.jar
    wrapper.classpath=/d3/jlib/sax2.jar
    #wrapper.classpath=/d3/jlib/servlet.jar
    wrapper.bin.parameters= -DORACLE_HOME=/d3
    #wrapper.env=LD_LIBRARY_PATH=/d3/lib32
    wrapper.env.copy=DISPLAY
    wrapper.bin.parameters=-DORACLE_HOME=/d3
    #wrapper.classpath=/d3/lib/vbjorb.jar
    #wrapper.classpath=/d3/lib/vbjapp.jar
    wrapper.classpath=/d3/classes/classesFromIDLVisi
    wrapper.classpath=/d3/jlib/swingall-1_1_1.jar
    wrapper.classpath=/d3/jlib/ewtcompat3_3_15.jar
    wrapper.classpath=/d3/jlib/ewt-3_3_18.jar
    wrapper.classpath=/d3/jlib/share-1_1_9.jar
    wrapper.classpath=/d3/jlib/help-3_2_9.jar
    wrapper.classpath=/d3/jlib/ice-5_06_3.jar
    wrapper.classpath=/d3/jdbc/lib/classes111.zip
    wrapper.classpath=/d3/classes
    wrapper.classpath=/d3/jlib/oembase-9_0_1.jar
    wrapper.classpath=/d3/jlib/oemtools-9_0_1.jar
    wrapper.classpath=/d3/jlib
    wrapper.classpath=/d3/jlib/javax-ssl-1_1.jar
    wrapper.classpath=/d3/jlib/jssl-1_1.jar
    wrapper.classpath=/d3/jlib/netcfg.jar
    wrapper.classpath=/d3/jlib/dbui-2_1_2.jar
    #wrapper.classpath=/d3/lib/aurora_client.jar
    #wrapper.classpath=/d3/lib/xmlparserv2.jar
    wrapper.classpath=/d3/network/jlib/netmgrm.jar
    wrapper.classpath=/d3/network/jlib/netmgr.jar
    wrapper.classpath=/d3/network/tools
    wrapper.classpath=/d3/jlib/kodiak-1_2_1.jar
    wrapper.classpath=/d3/sysman/jlib/netchart360.jar
    wrapper.classpath=/d3/jlib/pfjbean.jar
    wrapper.env=SHLIB_PATH=/d3/lib32
    wrapper.env=LIBPATH=/d3/lib32
    wrapper.classpath=/d3/ultrasearch/lib/isearch_midtier.jar
    wrapper.classpath=/d3/ultrasearch/lib/isearch_query.jar
    wrapper.classpath=/d3/ultrasearch/lib/jgl3.1.0.jar
    wrapper.classpath=/d3/lib/mail.jar
    wrapper.classpath=/d3/lib/activation.jar
    wrapper.classpath=/d3/ultrasearch/jsp/admin/config
    # Additions for iFS
    ## DO NOT REMOVE OR ALTER THE FOLLOWING LINE ....
    # iFS true
    # Uncomment if you want to use the same Jserv as other
    applications
    wrapper.classpath=/d3/9ifs/custom_classes
    wrapper.classpath=/d3/9ifs/settings
    wrapper.classpath=/d3/9ifs/lib/adk.jar
    wrapper.classpath=/d3/9ifs/lib/email.jar
    wrapper.classpath=/d3/9ifs/lib/http.jar
    wrapper.classpath=/d3/9ifs/lib/release.jar
    wrapper.classpath=/d3/9ifs/lib/repos.jar
    wrapper.classpath=/d3/9ifs/lib/utils.jar
    wrapper.classpath=/d3/9ifs/lib/webui.jar
    wrapper.classpath=/d3/9ifs/lib/provider.jar
    wrapper.classpath=/d3/jlib/javax-ssl-1_2.jar
    wrapper.classpath=/d3/jlib/jssl-1_2.jar
    wrapper.env=ORACLE_HOME=/d3
    wrapper.env=ORACLE_SID=cmpdb
    wrapper.env=LD_LIBRARY_PATH=/d3/lib:/d3/ctx/lib:/d3/lib32
    wrapper.env=NLS_LANG=.US7ASCII
    ## Additions for the iFS zone
    # Uncomment if you want to use the same Jserv as other
    applications
    zones=ifs
    ifs.properties=/d3/Apache/Jserv/etc/ifs.properties
    # End iFS section

    About your home page; Manually set up Firefox with the window(s) and tab(s)
    the way you want them to be. Then;
    '''''Firefox Options > General > Homepage'''''.
    Press the button labeled ''''Use Current'''.'
    =====================================
    Open a new window or tab. In the address bar, type '''''about:config'''''.
    If a warning screen comes up, press the '''''Be Careful''''' button.
    This is where Firefox finds information it needs to run.
    At the top of the screen is a search bar. Enter '''''browser.newtab.url'''''
    and press enter. '''''browser.newtab.url'''''
    tells Firefox what to show when a new tab is opened.
    If you want, right click and select '''''Modify'''''. You can change the
    setting to;<BR><BR>about:home (Firefox default home page),<BR>
    about:newtab (shows the sites most visited),<BR>
    about:blank (a blank page),<BR>
    or you can enter any web page you want.<BR><BR>
    The same instructions are used for the new window setting, listed as
    '''''browser.startup.homepage'''''.

  • Error  when starting server -urgent

    Hi friends
    When I try to start the weblogic server I am getting thre following error message
    at the console. Everything was working fine last week.
    I create the .ear file from websphere studio and move to the applications directory
    under weblogic.
    The error says failed on recompiling JSP's , I tried to turn off that option but
    after I start the server it comes back again
    Please advise
    -INF\lib\design_pro51224.jar;C:\bea\user_projects\backorderDomain\.\boServer\.wl
    notdelete\_appsdir_backorder_ear_backorderWeb.war_1579863\jarfiles\WEB-INF\lib\e
    tools51225.jar;C:\bea\user_projects\D
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:61)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:546)
    at java.lang.Runtime.exec(Runtime.java:472)
    at java.lang.Runtime.exec(Runtime.java:438)
    at weblogic.utils.Executable.exec(Executable.java:208)
    at weblogic.utils.Executable.exec(Executable.java:133)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvo
    ker.java:545)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:
    354)
    at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:205)
    at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:55)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4133)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4126)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
    (WebAppServletContext.java:1932)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:1065)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:1001)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:467)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:318)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:1476)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:652)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:552)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:1056)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:724)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    >
    <Jul 21, 2003 2:47:03 PM EDT> <Error> <Deployer> <149201> <The Slave Deployer
    fa
    iled to complete the deployment task with id 1 for the application appsdirback
    order_ear.
    weblogic.management.ApplicationException: Prepare failed. Task Id = 0
    Module Name: backorderWeb.war, Error: Could not load backorderWeb.war: weblogic.
    utils.NestedException: appsdirbackorder_ear:backorderWeb.war Failure while Pre
    compiling JSPs: java.io.IOException: Compiler failed executable.exec(java.lang.S
    tring[e:\opt\weblogic\7.0\jdk131_02\bin\javac, -classpath, "C:\bea\jdk131_03\jre
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I figured it out
    problem with the javac classpath for JSP
    "DN" <[email protected]> wrote:
    >
    Hi friends
    When I try to start the weblogic server I am getting thre following
    error message
    at the console. Everything was working fine last week.
    I create the .ear file from websphere studio and move to the applications
    directory
    under weblogic.
    The error says failed on recompiling JSP's , I tried to turn off that
    option but
    after I start the server it comes back again
    Please advise
    -INF\lib\design_pro51224.jar;C:\bea\user_projects\backorderDomain\.\boServer\.wl
    notdelete\_appsdir_backorder_ear_backorderWeb.war_1579863\jarfiles\WEB-INF\lib\e
    tools51225.jar;C:\bea\user_projects\D
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:61)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:546)
    at java.lang.Runtime.exec(Runtime.java:472)
    at java.lang.Runtime.exec(Runtime.java:438)
    at weblogic.utils.Executable.exec(Executable.java:208)
    at weblogic.utils.Executable.exec(Executable.java:133)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvo
    ker.java:545)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:
    354)
    at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:205)
    at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:55)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4133)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4126)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
    (WebAppServletContext.java:1932)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:1065)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:1001)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:467)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:318)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:1476)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:652)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:552)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:1056)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:724)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    >
    <Jul 21, 2003 2:47:03 PM EDT> <Error> <Deployer> <149201> <The Slave
    Deployer
    fa
    iled to complete the deployment task with id 1 for the application appsdirback
    order_ear.
    weblogic.management.ApplicationException: Prepare failed. Task Id = 0
    Module Name: backorderWeb.war, Error: Could not load backorderWeb.war:
    weblogic.
    utils.NestedException: appsdirbackorder_ear:backorderWeb.war Failure
    while Pre
    compiling JSPs: java.io.IOException: Compiler failed executable.exec(java.lang.S
    tring[e:\opt\weblogic\7.0\jdk131_02\bin\javac, -classpath, "C:\bea\jdk131_03\jre

  • Classes not picked up from WEB-INF/classes

    9ias R2: OC4j
    Some classes could be found from WEB-INF/classes by JSP pages but some others could not.
    WEB-INF/classes is part of the classpath in JSP's point of
    view.
    And if explicitly import the class such as
    import abc;
    in JSP pages and the class could be found.
    Anybody has any idea? Or anything wrong I am doing?
    Thanks!
    David Yuan

    9ias R2: OC4j
    Some classes could be found from WEB-INF/classes by JSP pages but some others could not.
    WEB-INF/classes is part of the classpath in JSP's point of
    view.
    And if explicitly import the class such as
    import abc;
    in JSP pages and the class could be found.
    Anybody has any idea? Or anything wrong I am doing?
    Thanks!
    David Yuan

  • CLASSPATH problem, deploying JSP app without right to modify classpath...

    I want to deploy a JSP web app to apache server with JRun for running JSP, but I don't have the permission to copy the required library files to the classpath, nor modify the classpath to append my application's path. Is there any way to workaround? Thank you

    Well, thanks for the tip. The answer is yes and no. Yes, the jar is in my classpath, but no the lib directory containing the jar is not included in the dist directory when I clean and build the project. This only happens when I include either the JavaHelp jars or just the jh.jar (which should be all I need) in the classpath. When I read the manifest file, it's clearly looking for /lib/jh.jar, but the directory does not get created on build (whereas, the lib directory is there if the JH jars are not included).
    Makes no sense to me. Any idea as to what's happening here? The help system works great in the IDE.
    Thanks for your help.

  • How to set the classpath and path from the jsp to call  java class function

    Hi Exprets,
    I have a requirement to call a java class function which returns a hashmap object from the jsp. The java class in present in one jar file and that jar file is location somewhere in unix path. So the requirement is to set the classpath for that jar file and then create the object of the java class and then call the function.
    If any one know how to achieve it, please reply as soon as possible.
    thanks in advance,
    swapna soni.

    It is never advisable to store large data sets in the session. But it will depend on a lot of factors:
    1. How costly is the query retrieving the data from the database?
    If it's a complex query with lots of joins and stuff, then it will be better to store it in the session as processing the query each time will take a lot of time and will decrease performance. On the other hand if the query is simple then it's advisable not to store it in the session, and fetch it each time.
    2. Are there chances for the data to become stale within a session?
    In this case storing the data is session will mean holding the stale data till the user session lasts which is not right.
    3. How many data sets does the session already holds?
    If there are large no. of data sets already present in the session, then it's strictly not advisable to store the data in the session.
    4. Does the server employ some kind of caching mechanism?
    Using session cache can definitely improve performance.
    You will have to figure out, what is the best way analyzing all the factors and which would be best in the situation. As per my knowledge, session is the only place where session specific data can be stored.
    Also, another thing, if the data set retrieved is some kind of data to be displayed in reports, then it would be better to use a pagination query, which will retrieve only the specific no. of rows at a time. A navigation provided in the UI will retrieve the next/previous data set to display.
    Thanks,
    Shakti

  • Where to set the classpath for custom classes in jsp

    Hi,
    we have created our custom classes in and ported in contentDB and that classes are internally using some jar files. Previously we have set the classpath of all the jar files provided in CDB devkit in the orion-web.xml but if are opening the explorer.jsp or any other jspx of contentDB we are getting the classcastexception and page is not opening.
    Is there any problem in setting the classpath. Please if any one knows abt this, reply as soon as possible.
    thanks,
    swapna soni.

    I think it is Oracle 10g Release 2... since when I click the top OAS link in the Enterprise Manager Console, it took me to 'Enterprise Manager 10g Grid Control Release 2' this page.
    And...10g Application Server Control Release 10.1.2.0.1, I think 2.0.1 means Release 2.
    Thanks and let me know if you need something else.

Maybe you are looking for