Exception weblogic.utils.ParsingException in redhat Linux (include JSP)

Hi,
We have a lot of application (war,ear) deployed in Windows XP Server, Sun Solaris with WebLogic Server 7.2 and shows no problem, but now I installed the same applications in WLS SP2 in Linux RedHat 9, and deployed I haven't had any
problem in doing so, but I get an error when I try to view these applications in the browser.
The message is:
9,name=hubcontrol,context-path=/hubcontrol)] Root cause of ServletException
weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOException
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:961)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:90)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:213)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
but, I know the problems is <%@ include file="xxx" %>, WL don't support <%@ include file="/xxx" %> in linux....I have many applications WAR, I cannot change them for a Linux version.... does not exist another alternative?
Thanks a lot,

<QUESTION>
I have a problem with creating a separate working directory for Weblogic
Commerce Server where I can do development. These are the errors that I
can when I try to access a particular portal,
I have created a separate user account for this purpose while all the
main Weblogic stuff are still under /usr/local/weblogic and
/usr/local/weblogicac. I can access individual jsp pages through
absolute URL but then I use a portal name to access the portal, it
throughs those exceptions. Does anyone have similar experience when
trying to create a separate development environment using the same
installation and license? Do you have to do a new installation?</QUESTION>
<ANSWER>
Theoretically, the working directory JSP for the portal implementation that
tells the portal framework where to find your portal pages and the BEA
WebLogic Portal pages.(This page is qualified from yourDocumentRoot as
defined in the weblogic.properties file.)
Example: workingdir=/portals/myPortal/
You need to register the new working Dir in Weblogic.Properties files and
restart your Application Server after you create your new working Dir.
It is not easy to say with the situatrion that you described. Please check
the link http://edocs.beasys.com/wlac/portals/docs/portal.htm#getting for
details to create working Dir step by step. It may meet your needs. You may
also check http://www.weblogic.com/docs/admindocs/properties.html#jsp for
further information about JSP working Dir setting.
Please try it again and post the result if it's possible.
Thanks
Ji Zhang
</ANSWER>

Similar Messages

  • Exception weblogic.utils.ParsingException in redhat Linux

    Hi,
    We have a lot of application (war,ear) deployed in Windows XP Server, Sun Solaris with WebLogic Server 7.2 and shows no problem, but now I installed the same applications in WLS SP2 in Linux RedHat 9, and deployed I haven't had any
    problem in doing so, but I get an error when I try to view these applications in the browser.
    The message is:
    9,name=hubcontrol,context-path=/hubcontrol)] Root cause of ServletException
    weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOException
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:961)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:90)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:213)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
    but, I know the problems is <%@ include file="xxx" %>, WL don't support <%@ include file="/xxx" %> in linux....I have many applications WAR, I cannot change them for a Linux version.... does not exist another alternative?
    Thanks a lot,

    <QUESTION>
    I have a problem with creating a separate working directory for Weblogic
    Commerce Server where I can do development. These are the errors that I
    can when I try to access a particular portal,
    I have created a separate user account for this purpose while all the
    main Weblogic stuff are still under /usr/local/weblogic and
    /usr/local/weblogicac. I can access individual jsp pages through
    absolute URL but then I use a portal name to access the portal, it
    throughs those exceptions. Does anyone have similar experience when
    trying to create a separate development environment using the same
    installation and license? Do you have to do a new installation?</QUESTION>
    <ANSWER>
    Theoretically, the working directory JSP for the portal implementation that
    tells the portal framework where to find your portal pages and the BEA
    WebLogic Portal pages.(This page is qualified from yourDocumentRoot as
    defined in the weblogic.properties file.)
    Example: workingdir=/portals/myPortal/
    You need to register the new working Dir in Weblogic.Properties files and
    restart your Application Server after you create your new working Dir.
    It is not easy to say with the situatrion that you described. Please check
    the link http://edocs.beasys.com/wlac/portals/docs/portal.htm#getting for
    details to create working Dir step by step. It may meet your needs. You may
    also check http://www.weblogic.com/docs/admindocs/properties.html#jsp for
    further information about JSP working Dir setting.
    Please try it again and post the result if it's possible.
    Thanks
    Ji Zhang
    </ANSWER>

  • Weblogic.utils.ParsingException: nested IOException

    I have a problem with creating a separate working directory for Weblogic
    Commerce Server where I can do development. These are the errors that I
    can when I try to access a particular portal,
    ========================================
    creating new context
    ========================================
    Fri Mar 24 08:46:01 EST 2000: <I>
    <ServletContext-Servlets>com.beasys.portal.admin.PortalServiceManager:
    init
    weblogic.utils.ParsingException: nested
    IOException:java.util.zip.ZipException: error in opening zip file
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:647)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:74)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:115)
    at
    weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Jhtml2Java.java:282)
    at
    weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Jhtml2Java.java:118)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:168)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:148)
    at weblogic.servlet.JSPServlet.compilePage(JSPServlet.java:317)
    at weblogic.servlet.JSPServlet.getStub(JSPServlet.java:223)
    at weblogic.servlet.JSPServlet.service(JSPServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:75)
    at
    com.beasys.portal.admin.PortalServiceManager.service(PortalServiceManager.java:883)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:86)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:293)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:245)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:501)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:260)
    at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:106)
    I have created a separate user account for this purpose while all the
    main Weblogic stuff are still under /usr/local/weblogic and
    /usr/local/weblogicac. I can access individual jsp pages through
    absolute URL but then I use a portal name to access the portal, it
    throughs those exceptions. Does anyone have similar experience when
    trying to create a separate development environment using the same
    installation and license? Do you have to do a new installation?

    <QUESTION>
    I have a problem with creating a separate working directory for Weblogic
    Commerce Server where I can do development. These are the errors that I
    can when I try to access a particular portal,
    I have created a separate user account for this purpose while all the
    main Weblogic stuff are still under /usr/local/weblogic and
    /usr/local/weblogicac. I can access individual jsp pages through
    absolute URL but then I use a portal name to access the portal, it
    throughs those exceptions. Does anyone have similar experience when
    trying to create a separate development environment using the same
    installation and license? Do you have to do a new installation?</QUESTION>
    <ANSWER>
    Theoretically, the working directory JSP for the portal implementation that
    tells the portal framework where to find your portal pages and the BEA
    WebLogic Portal pages.(This page is qualified from yourDocumentRoot as
    defined in the weblogic.properties file.)
    Example: workingdir=/portals/myPortal/
    You need to register the new working Dir in Weblogic.Properties files and
    restart your Application Server after you create your new working Dir.
    It is not easy to say with the situatrion that you described. Please check
    the link http://edocs.beasys.com/wlac/portals/docs/portal.htm#getting for
    details to create working Dir step by step. It may meet your needs. You may
    also check http://www.weblogic.com/docs/admindocs/properties.html#jsp for
    further information about JSP working Dir setting.
    Please try it again and post the result if it's possible.
    Thanks
    Ji Zhang
    </ANSWER>

  • Weblogic.utils.ParsingException: nested TokenStreamException

    who know, what is the source for the next exception:
              ault'> <> <> <101017> <[WebAppServletContext(8161492,SGAdmin,/SGAdmin)] Root cause of ServletException>
              weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOException
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1115)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:89)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:193)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:341)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:201)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:370)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:240)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2678)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2412)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)

    Hi,
              I encountered same exception.
              Here is my jsp:
              <%@ page language="java" %>
              <%--@ page import="java.util.*,com.jspsmart.upload.*" errorPage="" --%>
              <html>
              <head>
              <title>ÎļþÉÏ´«´¦ÀíÒ³Ãæ</title>
              <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
              </head>
              <body>
              <%--
                   SmartUpload su = new SmartUpload();
                   su.initialize(pageContext);
                   // su.setMaxFileSize(10000);
                   // su.setTotalMaxFileSize(20000);
                   // su.setAllowedFilesList("doc,txt");
                   // su.setDeniedFilesList("exe,bat,jsp,htm,html,,");
                   su.upload();
                   int count = su.save("/upload");
                   out.println(count+"dddd<br>");
                   out.println("TEST="+su.getRequest().getParameter("TEST")
                   +"<BR><BR>");
                   for (int i=0;i<su.getFiles().getCount();i++)
                        com.jspsmart.upload.File file = su.getFiles().getFile(i);
                        if (file.isMissing()) continue;
                        out.println("<TABLE BORDER=1>");
                        out.println("<TR><TD>FieldName:</TD><TD>"
                        + file.getFieldName() + "</TD></TR>");
                        out.println("<TR><TD>Size:</TD><TD>" +
                        file.getSize() + "</TD></TR>");
                        out.println("<TR><TD>FileName:</TD><TD>"
                        + file.getFileName() + "</TD></TR>");
                        out.println("<TR><TD>FileExt:</TD><TD>"
                        + file.getFileExt() + "</TD></TR>");
                        out.println("<TR><TD>FilePathName:</TD><TD>"
                        + file.getFilePathName() + "</TD></TR>");
                        out.println("</TABLE><BR>");
                        // file.saveAs("/upload/" + myFile.getFileName());
                        // file.saveAs("/upload/" + myFile.getFileName(),
                        su.SAVE_VIRTUAL);
                        // file.saveAs("c:\\temp\\" + myFile.getFileName(),
                        su.SAVE_PHYSICAL);
              --%>
              </body>
              </html>
              <%--
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
              <html>
              <head>
              <title>ÎļþÉÏ´«</title>
              <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
              </head>
              <body>
              <p> </p>
              <p align="center">upload</p>
              <FORM METHOD="POST" ACTION="jsp/do_upload.jsp"
              ENCTYPE="multipart/form-data">
              <input type="hidden" name="TEST" value="good">
              <table width="75%" border="1" align="center">
              <tr>
              <td><div align="center">1¡¢
              <input type="FILE" name="FILE1" size="30">
              </div></td>
              </tr>
              <tr>
              <td><div align="center">2¡¢
              <input type="FILE" name="FILE2" size="30">
              </div></td>
              </tr>
              <tr>
              <td><div align="center">3¡¢
              <input type="FILE" name="FILE3" size="30">
              </div></td>
              </tr>
              <tr>
              <td><div align="center">4¡¢
              <input type="FILE" name="FILE4" size="30">
              </div></td>
              </tr>
              <tr>
              <td><div align="center">
              <input type="submit" name="Submit" value="ÉÏ´«Ëü£¡">
              </div></td>
              </tr>
              </table>
              </FORM>
              </body>
              </html>
              --%>

  • Maximum number of nodes in a Weblogic cluster on RedHat Linux?

    Is there a limitation of the number of nodes in a weblogic cluster
              running under RedHat Linux?
              Can I start with 5 nodes and in a year scale up to 500 or 5000 nodes?
              Thanks!
              Ralf.
              

    Ralf,
              > Is there a limitation of the number of nodes in a weblogic cluster
              > running under RedHat Linux?
              A realistic limit, of course.
              > Can I start with 5 nodes and in a year scale up to 500 or 5000 nodes?
              If your app is completely stateless, then it can scale to 40 maybe 80
              servers.
              The problem is that stateless apps typically manage state that sits behind
              them, and there's basically no database in the world that can handle the
              load that 40 servers can put on it. Depending on the app, you can easily
              saturate 4 database CPUs per 1 app server CPU, but usually the factor is
              closer to 1:1, and with agressive caching in the app tier even less.
              Things like stateful session bean replication and HTTP session replication
              in a cluster ... well, YMMV ... but I would hypothesize that it won't scale
              up anywhere close to 40 servers under load.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Ralf Reddin" <[email protected]> wrote in message
              news:[email protected]..
              >
              

  • Weblogic.utils.AssertionError when getting attributes of EJBComponentMBean

    when i get the attributes of this mbean, i get an assertion error. the
    javadocs do not say anything about this...so how can i prevent this
    assertion error?
    here is the code, and below is the error on weblogic
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, "t3://yscadt207:7001");
    p.put(Context.SECURITY_PRINCIPAL, "weblogic");
    p.put(Context.SECURITY_CREDENTIALS, "weblogic");
    Context ctx = null;
    try {
    ctx = new InitialContext(p);
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    MBeanServer server = home.getMBeanServer();
    Set set = server.queryNames(new
    ObjectName("*:Type=EJBComponent,*"), null);
    System.out.println("found " + set.size() + " mbeans");
    int show = 1;
    int count = 0;
    for(Iterator i = set.iterator(); show > count && i.hasNext();
    count++){
    ObjectName on = (ObjectName)i.next();
    System.out.println(on);
    MBeanInfo info = server.getMBeanInfo(on);
    MBeanAttributeInfo[] attinfo = info.getAttributes();
    for(int j = 0; j < attinfo.length; j++){
    try {
    System.out.println(attinfo[j].getName() + " (" +
    attinfo[j].getType() +
    "): " +
    server.getAttribute(on,
    attinfo[j].getName()));
    } catch(Exception ex){
    System.err.println("error for att " + attinfo[j].getName()
    + " (" + attinfo[j].getType() + "): " + ex);
    ex.printStackTrace();
    } finally {
    if(ctx != null) ctx.close();
    <Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
    <RuntimeException thrown by rmi server: weblogic.management.
    internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
    javax.management.RuntimeErrorException: Error thrown by the
    getAttribute method of the DynamicMBean for the attribute
    EJBModuleDDEditor.
    >
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
    is disabled. ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 23, 2004 10:54:36 AM PST> <Error> <Management> <BEA-140001> <An
    error occurred while getting attribute EJBNames on
    MBean
    examples:Application=_appsdir_ejb20_message_ear,Name=ejb20_message.jar,Type=EJBComponent.
    Method: public java.util
    .Set weblogic.management.mbeans.custom.EJBComponent.getEJBNames() throws
    weblogic.ejb20.WLDeploymentException. Exception
    : weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD
    Editing is disabled. ].
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
    is disabled. ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
    <RuntimeException thrown by rmi server: weblogic.management.
    internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
    javax.management.RuntimeErrorException: Error thrown by the
    getAttribute method of the DynamicMBean for the attribute
    EJBNames.
    >

    I am also getting the exact same errors.
    In my case it's when I have MC4J connected to WLS8.1SP3 and I am trying to simply look at the deployed EJB's.
    Why has no one answered Simon's question since being posted back in Feb?

  • Weblogic.utils.NestedRuntimeException when using javax.servlet.Filter

    IDE: JDev 10gR3.4 & JDev 11gR2.3
    ViewController technology: JSF/ADF Faces
    Example code flow:
    Run page2.jsf
    MyFilter intercepts request, checks for parameter on session.
    If parameter not null, goto page2.jsf
    Else redirect to page1.jsf
    page1.jsf has a button that sets the value on the session scope after clicking.
    In jdev 11gR2.3, I get an weblogic.utils.NestedRuntimeException after clicking the button on page1.jsf. This error does not occur in jdev 10gR3.5. Although the application continues to execute and proper info is displayed, I’m wondering why this occurs and also if I should be concerned. Has anyone experienced a similar issue when using javax.servlet.Filter in 11g?
    MyFilter code snipet:
        public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) {
            try {
                HttpServletRequest httpRequest = (HttpServletRequest)servletRequest;
                HttpServletResponse httpResponse = (HttpServletResponse)servletResponse;
                String redirect = httpRequest.getContextPath() + "/faces/page1.jsf"; //only difference here is 11g uses jsf, 10g uses jsp.
                String uri = httpRequest.getRequestURI().toString();
                Boolean mySessionAttribute = (Boolean)httpRequest.getSession().getAttribute("MYSESSIONATTRIBUTE");
                if (uri.endsWith(redirect) || mySessionAttribute != null) {
                    filterChain.doFilter(servletRequest, servletResponse);
                } else {
                    httpResponse.sendRedirect(redirect);
                    return;
            } catch (IOException e) {
                e.printStackTrace();
            } catch (ServletException e) {
                e.printStackTrace();
    page1.jsf/jsp
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
        <h:form id="f1">
            <h:commandButton value="Submit" id="cb1" action="#{Page1Bean.clicked}" type="submit"/>
        </h:form>
    </f:view>page2.jsf/jsp
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="main.jsf" id="d1">
            <af:form id="f1">
                <af:outputText value="This is the main content" id="ot1"/>
            </af:form>
        </af:document>
    </f:view>Page1Bean.java
    public class Page1Bean {
        public void clicked() {       
            FacesContext context = FacesContext.getCurrentInstance();
            ExternalContext externalContext = context.getExternalContext();
            externalContext.getSessionMap().put("MYSESSIONATTRIBUTE", Boolean.TRUE);
            try {
                externalContext.redirect("/11gFilterExample-ViewController-context-root/faces/page2.jsf");
            } catch (IOException e) {
                    e.printStackTrace();
    }Full exception
    weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/11gFilterExample-ViewController-context-root/faces/page1.jsf'
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2144)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2024)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1918)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getParameter(ServletRequestImpl.java:1995)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access$800(ServletRequestImpl.java:1817)
         at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:804)
         at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
         at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:43)
         at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:31)
         at org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAttributeMap.java:73)
         at oracle.adfinternal.controller.state.ControllerState.getRootViewPortFromRequest(ControllerState.java:788)
         at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:185)
         at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79)
         at oracle.adfinternal.controller.application.AdfcConfigurator.beginRequest(AdfcConfigurator.java:53)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:177)
         at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:228)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2118)
         ... 39 more
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled

    I dont believe that solution pertains to my case. clicked() is invoked from standard jsf page and the adf controller is not acquired yet. i put a couple of print statements in the filter and it seems that the doFilter is called twice! This is not the case when running in 10g.
                if (uri.endsWith(redirect) || mySessionAttribute != null) {
                    System.out.println("URI dofilter: "+uri);
                    filterChain.doFilter(servletRequest, servletResponse);
                } else {
                    System.out.println("URI sendRedirect: "+uri);
                    httpResponse.sendRedirect(redirect);              
                }11g weblogic console log:
    URI sendRedirect: /11gFilterExample-ViewController-context-root/faces/page2
    URI dofilter: /11gFilterExample-ViewController-context-root/faces/page1.jsf
    URI dofilter: /11gFilterExample-ViewController-context-root/faces/page1.jsf
    10g oc4j console log:
    13/01/07 15:48:13 URI sendRedirect: /10gFilterExample-ViewController-context-root/faces/page2.jsp
    13/01/07 15:48:13 URI dofilter: /10gFilterExample-ViewController-context-root/faces/page1.jsp
    I believe whatever thats causing this occur could be why the exception is thrown...

  • Which jar file include class - weblogic.utils.UnsyncStringBuffer?

    When I compile my JSP file by using JDeveloper, but I got "Error: java.lang.NoClassDefFoundError: weblogic/utils/UnsyncStringBuffer". I don't know which jar file is including this class file, and where I can get that jar file?
    This is my JSP file header
    <%@page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib uri="cnt.tld" prefix="cnt" %>
    <%@taglib uri="cnt-util.tld" prefix="cnt-util" %>
    <%@taglib uri="c.tld" prefix="c"%>
    Thanks,
    lucy

    I doubt that a user who hasn't posted in 3+ years is going to wake up and answer you.
    Probably best for you to post your details in a new thread (linking to here if you think it adds value)
    You can always use Tools->Manage Libraries in JDeveloper and type the class name into the search box; it will tell you which libraries have the class.

  • Installing  weblogic plugin in apache running on RedHat Linux WS4

    I want to install weblogic plugin in apache running on redhat Linux WS4. I have read the documentation. In my local weblogic,under this directory C:\bea81SP4\weblogic81\server\lib\linux
    I see the following three folders
    a) i686
    b) ia64
    c) s390.
    I dont know which folder to choose. Please advise.

    Hi,
    according to your processer you have to chose mod_ ..so file
    if you got error with sp4 plug in file use the plug in file from the another version
    plug in files are compatable
    Regards,
    Prasanna Yalam

  • Does Weblogic Server 5.1 supports RedHat Linux 6.2?

    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]

    FYI.
    I am running RH 6.2 and Weblogic 5.10 with no problems.
    w/Apache 1.3.12
    Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
    Michael Girdley wrote:
    No, not yet. Version 6.0 will.
    The platform support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Samuel Yung" <[email protected]> wrote in message
    news:[email protected]..
    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]
    /\/\i|<e
    Mike Kincer
    Solutions Developer/Engineer
    Atlas Commerce "ebusiness evolved"
    Office phone: +1-607-741-9988
    mailto:[email protected] [http://www.atlascommerce.com]

  • Does Weblogic Server 5.1 supports RedHat Linux 7?

    Does Weblogic Server 5.1 supports RedHat Linux 7?
    Thanx in advance.

    FYI.
    I am running RH 6.2 and Weblogic 5.10 with no problems.
    w/Apache 1.3.12
    Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
    Michael Girdley wrote:
    No, not yet. Version 6.0 will.
    The platform support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Samuel Yung" <[email protected]> wrote in message
    news:[email protected]..
    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]
    /\/\i|<e
    Mike Kincer
    Solutions Developer/Engineer
    Atlas Commerce "ebusiness evolved"
    Office phone: +1-607-741-9988
    mailto:[email protected] [http://www.atlascommerce.com]

  • Weblogic server 8, SP2 on Redhat Linux 9

    HI,
    Does Weblogic 8, SP2, work on Redhat Linux 9.
    Thanks in advance

    Thanks for your suggestion. I'll get the Redhat Linux 7.3 and try it.
    Cheers,
    LiuDK
    "zlldw" <[email protected]> wrote:
    >
    Hi,
    I got the same error when tried redhat 9. I asked for help in the newsgroup,
    but
    got no reply. So I used 7.3 instead. It works fine. Thanks
    William
    "Liudk" <[email protected]> wrote:
    Hi All,
    I encountered an error during install tuxedo81 on Redhat 9.1.
    The error messge is:
    root@Linux tuxedo]# sh tuxedo*
    Preparing to install...
    tuxedo81_linux.bin: line 1: 3593 Segmentation fault /tmp/install.dir.2714/Linux/resource/jre/bin/java
    -Djava.compiler=NONE com.zerog.lax.LAX "/tmp/install.dir.2714/temp.lax"
    /tmp/env.properties.2714
    Thanks in advance.

  • REDHAT LINUX 7.3 on nForce based systems - An installation guide.

    INSTALLING REDHAT LINUX 7.3 ON NFORCE BASED SYSTEMS.
    A) Preface
    I'm a Linux newbie, just sharing my experience with installing linux on nforce.
    in my opinion Linux is a powerful but still a nascent operating system (in terms of user friendliness atleast!). many features are extremely 'release' and 'version' dependent.  this means that, what works in redhat might not work in mandrake or what works in redhat 7.3 might not work in redhat 7.1 or likewise...
    the steps i'm listing below just reflects how i went about installing RH 7.3 on my machine (K7N420D). it MAY not work for other versions or releases.
    B) BIOS SETTINGS
    1. I recommend, PnP disabled, ACPI/APIC disabled.
    for Mandrake 8.2 install on some machines (mine included), i suggest disabling audio and network in the bios till you get a stable level 3 (console without X windows) or level 5 install. for some reason, sometimes, on some boards,  Mandrake 8.2 hangs when probing audio and lan during boot.
    C) PREPARING TO INSTALL
    1. i suggest you get the three iso images from the internet and burn them into installation disks. though there are other ways of installing, this is the simplest way of doing it.
    2. if you have windows installed already, make sure you have a windows boot floppy in case of boot problems, you can also make one for linux during installation.
    3. using windows or fdisk strip off a sufficient chunk of hard disk space from an existing partition if you don't have a free partition. you need not create any partitions, just the non-allocated space would do. (as red hat can beautifully split this partition into /boot, / & swap partitions!)
    4. i recommend using GRUB (GRand Unified Boot-loader) instead of LILO for boot management. if you prefer the same way, get good documentation/how-to for grub from the net. this will be handy if you mess up your boot partition and end up in a grub prompt during boot.
    5. goto nvidia's drivers page and get appropriate drivers. i always recommend tar balls or src.rpm files instead of pre-compiled rpms. if you are using EXACT same version of the linux release as mentioned in the drivers page you can use rpms. If you wish to upgrade your kernel or use a different version of linux then make sure you have tar balls or source rpm files. make sure you also print the installation instructions from the same page.
    6. the drivers you need are
    a. NVIDIA_nforce-1.xxxx. - you need this one for audio & lan. (found in nforce link in drivers menu in nvidia site with an instruction manual)
    b. NVIDIA_kernel-xxxx AND NVIDIA_GLX-xxxx- both these for Graphics in Xwindows. these two drivers should be exactly matched. i suggest you download all of them along with a files named NVchooser.sh found on the same page. NVchooser will tell you which pair to install for your linux kernel version and CPU.
    D) LINUX INSTALLATION
    1. boot from 1st installation disk that you made. go through the GUI installer and choose automatic partitioning, it will take you to the Disk Druid and you can select the partition in which you wanna install linux. if the partition you choose is unallocated, most of the times didk druid will make three patrtions on its own, one is /boot (boot partion), /swap (partition for swap, similar to ramdisk) and / (root partition). all the three mount-points may be allocated on the same partition too.
    2. Choose GRUB (if you prefer) as boot loader and set Linux as primary boot OS and this page would've detected windows if you've already (it may appear as DOS). Choose "MBR" to install GrUB. If you get any warning ignore it. IMPORTANT: If you have NTFS partition for windows and you had windows as primary OS, there is a reported problem that says, in some versions of the linux installer, choosing MBR to install GRUB makes it hard to boot into windows. i haven't tried that option yet as i don't have a NTFS partition. If you have an NTFS partition, you may prefer to choose the other option to install GRUB or you may choose to install it later. in either case make sure you have a boot floppy to get you into linux or windows, whichever one you want.
    3. choose automatic install if you don't want to control which packages you want to install. else choose expert installation and proceed with it.
    4. when prompted to check the packages you want to install, choose "development tools" or something similar without fail. This is for installing a C compiler which is a must have for some driver installations. (this also installs perl and other dev tools, if you're an 'expert', there's an option in this page to custom select modules)
    5. somewhere you'll be asked to provide a root password, in the same page there'll be a provision to add users other than root. create atleast one user other than root at this time.
    4. somewhere you'll be shown a list of video adapters with NVIDIA Geforce 2 generic driver already highlighted. Below this screen you'll see a "Skip X install" or something similar. CHECK THIS TAB and this will NOT install the generic driver for your integrated GPU and also will not configure the GUI environment for Linux. This makes your video configuration a little easier.
    5. now linux will install, get configured and will ask if you wanna create a boot floppy. make one just in case you
    6. RH 7.3 will not recognize your APU and integrated LAN. you can install the drivers for this later.
    7. After installation boot into Linux, if you just followed the steps above you'll nicely end up in level 3 console!
    E) INSTALLING DRIVERS
    1. Assuming you got all the drivers in CD/floppy, login as 'user', type command "su" (super user) supply root password, now you are logged in as root. read the installation manual for the NVIDIA drivers and install NVIDIA_nforce-1.xxxx drivers for audio/LAN. do these series of steps from the console prompt,
    #vi /etc/modules.conf
    press INSERT key, add the following lines,
    alias eth0 mcpeth
    alias sound-slot-1 i810_audio
    alias usb-interface usb-ohci
    press ESC, (Shift) colon, wq and Enter.
    This will save the changes you made.
    2. Now install the NVIDIA_kernel-xxxx AND NVIDIA_GLX-xxxx- drivers as per instructions. follow the steps below.
    #XConfigurator
    Choose settings that are relevant to the monitor you use and mode supported. Choose custom configuration wherever possible. If your monitor is not listed, choose 'custom' all the way through and provide hardware details such as horiz/vert freq range, video memory and clock settings (choose 'recommended').
    DO NOT LET THE XCONFIGURATOR PROBE ANYTHING. sometimes this might cause a hang that is not necessary at all.
    select all videomodes and color depths that you think your monitor will support and exit XConfigurator without any probing.
    3.  Now at the prompt do the following,
    #vi /etc/X11/XF86Config-4
    Press INSERT and make following changes.
    replace line
    Driver "nv"  
    with
    Driver "nvidia"
    In the Module section, make sure you have:
            Load   "glx"
    Remove the following lines: (or put a hash before)
            Load  "dri"
            Load  "GLcore"
    and the whole
    Section "DRI" (last three lines usually, DRI may be in lower case usually)
    Press Esc, (Shift) colon, wq, Enter to save and exit.
    4. using vi make sure you have these lines in /etc/modules.conf file
    alias char-major-195 NVdriver
    5. edit /etc/rc.d/rc.local and insert
    /sbin/modprobe nvaudio
    /sbin/modprobe nvnet
    save and exit. ( this is a crude way of loading modules but it works though!)
    6. Type "reboot" at prompt and reboot your system.
    7. get into bios and load original settings. (get back ACPI if you have windows, enable PnP OS etc)
    8. During restart linux may get you into the kudzu installer to install network drivers/audio, ignore this.
    9. login as "user" and type "startx" from console, your GUI should start smooth and you'll have video, sound, USB, LAN working (you need to fiddle a little bit more to get things work perfect) !
    10. There is extensive documentation found in the internet on these topics, have fun exploring them.
    F) TWEAKING YOUR HARD DRIVE
    most of the modern hard drives support UDMA transfers and usually linux is pretty much conservative on this option. so you might want to force linux to use UDMA. the following discussion assumes that your hard drive is /dev/hda, change it to hdb, hdc etc as per your setup.
    CAUTION: The 'hdparm' utility described here is a very powerful and dangerous if used improperly. USING hdparm IMPROPERLY MIGHT CORRUPT YOUR PARTITIONS AND RESULT IN SEVERE DATA LOSS. hdparm works with IDE drives. i'm not sure how it works on SCSI drives.
    @ console,
    1. type "man hdparm" and read through the hdparm manual atleast twice before you understand what it can do. THIS IS A MUST.
    2. login as root or get into super user mode and try the following. all commands are shown after #
    3. Benchmark the hard drive
    # /sbin/hdparm -t -T /dev/hda
    this should spit out the transfer rate both cached and sustained. note this value. if these values are close to what you expect out of your drive, you are OK. you may get out of further adventures! if the transfer rates are horrible like 3.5 Mbps etc (it was on my seagate ata IV drive!), then proceed with the tweaks. the golden rule is, after each tweak, run the benchmark and record your transfer rate. if there is no significant improvement, revert back to the default settings.
    4. # /sbin/hdparm -i /dev/hda
    note down MaxMultSect, MultSect, Modes supported : PIO/DMA, especially the mode with a 'star' in front of it. (prefered mode)
    5. 32 bit I/O : to enable 32 bit I/O over the PCI bus
    # /sbin/hdparm -c1 /dev/hda
    this usually doubles your transfer rate if the drive supports. you may need to use -c3 for some chipsets.
    6. Enable DMA and set DMA mode
    if your drive supports DMA find out the prefered DMA mode using -i option.
    # /sbin/hdparm -d1 -Xab /dev/hda, where
    ab=64 + uDMA mode number (for eg. 66 for UDMA 2)
    ab=32 + DMA mode number (for multi-word DMA mode)
    you might need to prepare the chipset to enable DMA but on most of the modern hard dirves this works. refer to the "man hdparm" for details. beware, the options to 'prepare' the chipset for DMA should be used with EXTREME caution. if you do not know what you are doing, don't try it.
    7. To set multiple sector mode I/O,
    # /sbin/hdparm -m XX /dev/hda
    where XX is the MaxMultSect value obtained using -i option. if the MaxSect is already set to this value, you need not tweak this.
    after all these tweaks run the benchmark atleast three times consecutively and average the transfer rates. make sure you don't hear grinding noises in the hard drive. use these tweaks a couple of times manually and if verything appears to be working fine, add the necessary commands to the rc.local script to execute them automatically during  start up.
    G) FINAL WORDS
    I assumed that you're a total 'newbie' to linux when writing this so i followed a conservative approach. most of the things that i described can be done in many ways, it's up to you to explore them! as usual, there MIGHT be typos and other serious errors in this guide. also the driver files that i might have mentioned here are the ones that were available when i wrote this. so you might wanna try their latest equivalents. i'm open to all healthy criticism and suggestions. when i installed linux on my nforce board, i was badly looking for an article like this on the net. i missed one, if it exists at all. so am i writing this. i hope you'll get benefitted by this in some way.
    -Venk@

    Venkat,
    Thanks for this really really amazingly accurate and exhaustive post that helped me A LOT to install linux on my machine!!! Otherwise, I think I would still be hanging with a mandrake 8.2 trying to load sound...
    My system is now fully functional but, (yes, there is a little but) I was not able to make the LAN function properly. When booting, while linux tries to load the ethernet module, I get something like:
    'mcpeth device does not seem to be present, delaying eth0 initialiation'. Then, I open an X session, I try to use the network configurator, the ethernet device is there but when trying to activate, it fails... I swear I enabled the LAN in my BIOS.
    I also tried to replace 'alias eth0 mcpeth' with 'alias eth0 nvnet' in /etc/modules.conf after reading the installation notes of NVIDIA drivers. I get a slighty different result: my boot error is now 'failed to load module'.
    It is a shame I have to boot back to Windows to use my DSL connection. I think i need some insights. It will be greatly appreciated!
    Thanks,
    Chouch
    >I'm a Linux newbie, just sharing my experience with
    >installing linux on nforce.
    Not bad for a Newbie...  

  • Successful installation of 8iEE 8.1.7 on RedHat linux 7.2 but no luck with Oracle 9i

    Hi All,
    I've successfully installed Oracle8i EE version 8.1.7 on RedHat
    Linux 7.2. However, I have NOT had much luck installing Oracle
    9i version 9.0.1 on RedHat Linux 7.2. I am wondering if anyone
    in this forum has any luck installing Oracle 9i on RedHat Linux
    7.2. I am running Linux kernel 2.4.7-10.
    Now I am not trying to start a shouting match here; however, it
    seems to me that a person with any common sense would not run
    Oracle database on a Windows platform. Instead of running it
    on Windows platform, one would be much better off running it on
    Linux platform. I am currently Oracle EE 8.1.7 on an dual-Intel
    processor 266MHZ with 512MB of RAM with Linux as the Operating
    System. I have to say that the performance of the box is really
    solid. At the same time, I am also running Oracle EE 8.1.7 on
    an identical hardware system with Win2K server and I have to say
    that the performance system is really pitiful on this Win2k server.
    The windows box can only 1 instance at a time. If I try to have
    two instances running at the same time, the windows box just comes
    to a screeching halt. In contrast, the Linux box really rocks. In
    a testing environment, I have 3 instances running at the same time
    and the linux is barely breaking a sweat. I am getting maximum
    performance out of the linux box because I recompile the linux kernel
    to optimize the box to run Oracle database.
    Having said that, as an Oracle DBA newbie (with less than six months
    of Oracle DBA experience, the last ten years as a Cisco/Unix Engineer),
    I find it fascinating that Oracle is only certified to run on SUSE (may
    be I am wrong and someone can correct me on this one) when RedHat is
    probably the dominant Linux distro. It took three days to get Oracle 8i
    version 8.1.7 to install on RedHat Linux 7.2. Why Oracle is slowed to
    support Linux RedHat is something I just don't understand.
    OK, enough of venting my frustration, if anyone has successfully installed
    Oracle 9i EE version 9.0.1 on RedHat Linux 7.2, please share your knowledge.
    In the mean time, if anyone interested in obtaining instructions on howto
    install Oracle 8i version 8.1.7 on Redhat Linux 7.1/7.2, send me an email
    at [email protected] and I will send the instructions. The instructions
    are written specifically for "windows dummies" so it is very to read and
    follow. If you have been Unix for a long time, there will be instructions
    in there that are so easy some of you may ask why put those in there in the
    first place. My response would be: "windows dummies".
    Regards,
    Michael (david)

    I very much agree with you Oracle is working very much better on Unix/Linux than Windows BUT in many cases you are obliged to use windows ( in Case that My company high managment enforce it ) , I have installed 9i on Windows and Linux , I am herunder including the full details :
    ========================================================================
    Installing Oracle 9i on Linux
         Linux : Redhat 7.2
         Oracle : 9i Server EE 9.0.1.0.0
         RAM Used : 256 M Ram
         Hard Disk : IDE RAID
         Linux Kernel : 2.4.4-10
         JDK : Blackdown jdk118_v3 => downloaded from www.blackdown.org
         All shell here is the Bash shell ( Bourne again shell )
    1.     To run a shell script over Linux , just drag the shell file from the file manager and drop it to a shell window
         Be sure to have swap space of 400 M or more
         If the systems stop responding for some time , leave it , it will continue
         Be sure to make a stage area for the CDs # 2 , 3 only because you will start from the CD 1 but after going in the installation the CDROM freezes and refuses to open door to replace CD ,, in this case you will switch to the last 2 CDs from the stage area
         Make sure you have the following executables at /usr/bin : MAKE , AR , LD , NM , C for Unix that is installed during Linux installation from the distribution media
    Steps ( Root User ) :
    1.     be sure to have to have your server domain is like hostess.com.eg and you can be able to ping it
    &#61607;     open /etc/hosts
    &#61607;     add a line as follows ( for instance ) :
    &#61607;     192.168.0.11 hostess.com.eg hostess
    &#61607;     ping hostess.com.eg
    &#61607;     ping hostess
    &#61607;     ping 192.168.0.11
    &#61607;     be sure to have a replay for all of them
    2.     install JDK inside the /usr/local directory => after downloading the JDK you can easily decompress it but just clicking at it using the GUI
    3.     get to the / prompt
    4.     type ln s /usr/local/jdk118_v3 /usr/local/java
    5.     download binutil RBM from Redhat for version 7 of Linux to downgrade binutils for Linux 7.2 or you will encounter an error at the third CD set
    6.     download it from : ftp://ftp.redhat.com/pub/redhat/linux/7.0/en/os/i386/redhat/rpms/binutils-2.10.0.18-1.i386.rpm
    7.     run it as follows : rpm -Uvh force nodeps binutils-2.10.0.18-1.i386.rpm
    8.     change to /proc/sys/kernel
    9.     type cat sem
    10.     you will get : 250 32000 32 128
    &#61607;     250 => SEMMSL
    &#61607;     32000 => SEMMNS
    &#61607;     32 => SEMOPM
    &#61607;     128 => SEMMNI
    11.     you need to have the SEMOPM to be 128 , to do so , locate the file called sem open it replace the value of 32 with 128
    12.     type again cat sem to be sure of taking the required effect
    13.     after the installation ends just re-install the 7.2 utils again as follows :
    14.     rpm -Uvh force nodeps binutils-2.11.90.0.8-9.i386.rpm
    15.     you can find the last RPM at the 7.2 CD set
    16.     after downloading the Oracle files from the net you need to decompress it as follows (one step) :
    &#61607;     zcat linux9i_disk1.cpio.gz | cpio idmv
    &#61607;     zcat linux9i_disk2.cpio.gz | cpio idmv
    &#61607;     zcat linux9i_disk3.cpio.gz | cpio idmv
    17.     you can decompress them at 2 steps as follows :
    &#61607;     gunzip linux9i_disk1.cpio.gz
    &#61607;     gunzip linux9i_disk2.cpio.gz
    &#61607;     gunzip linux9i_disk3.cpio.gz
    &#61607;     cpio idmv < linux9i_disk1.cpio
    &#61607;     cpio idmv < linux9i_disk2.cpio
    &#61607;     cpio idmv < linux9i_disk3.cpio
    18.     Now you have 3 directories , have care when Burning them to CD because you need to take care of paths
    19.     if you have downloaded the files via a Windows machine and have a MKS installed over it you can easily invoke Visual Pax and decompress the files at one go using the GUI program
    20.     log on to Linux as Root and run commands in the file commands.txt
    21.     log on as user Oracle to be sure that its created
    22.     log on as root again
    23.     get to the directory of /home/oracle
    24.     enable showing the system files
    25.     open the file of .bash_profile
    26.     add the accompanied bash file contents at the end of it to set the environment variables
    27.     log on as user Oracle
    28.     open shell and type set and be sure that environment variables are set correctly
    29.     open shell and change to the cdrom by typing cd /mnt/cdrom => Linux 7.2 is an auto mounting OS so you at no need to mount the CD drive prior to using it and if you need to mount it just type : AS ROOT
    &#61607;     mount t iso9660 /mnt/cdrom /cdrom
    &#61607;     this is surly after creating a directory at / called cdrom
    30.     Start the installer ( as Oracle User ) by typing ./runinstaller
    31.     the installer will ask you to run a started script as root , you may open a shell and type su then open Nautilus ( if using Gnome or File manager as super user if using KDE ) and drag the noted file to the shell screen and press enter ,, after it is ended continue with the installer
    32.     if asked to supply JDK home directory then it is /usr/local/java
    33.     Unix group Name ( to update Oracle software ) : oinstall
    34.     Oracle home is : /oracle/9.0.1
    35.     base directory : /oracle/orainventory
    Hisham Nagia
    IT Manager / OCP DBA
    Hostess Egypt / EFG-Hermes - CIIC

  • Java.lang.NoClassDefFoundError: weblogic/utils/StringUtils

    Everything was working fine for past 2 months. Now suddenly I am facing some weird issue starting the weblogic admin server 10.3 on Linux. There were no changes at all to any of the script.
    Please advise.
    Starting WLS with line:
    /root/bea/jdk160_05/bin/java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms256m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=192m -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=/root/bea/wlserver_10.3 -Dwls.home=/root/bea/wlserver_10.3/server -Dweblogic.home=/root/bea/wlserver_10.3/server -Dweblogic.wsee.bind.suppressDeployErrorMessage=true -Dweblogic.wsee.skip.async.response=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogic.ext.dirs=/root/bea/patch_wlw1030/profiles/default/sysext_manifest_classpath:/root/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/root/bea/patch_wlp1030/profiles/default/sysext_manifest_classpath:/root/bea/patch_cie670/profiles/default/sysext_manifest_classpath:/root/bea/wlportal_10.3/p13n/lib/system:/root/bea/wlportal_10.3/light-portal/lib/system:/root/bea/wlportal_10.3/portal/lib/system:/root/bea/wlportal_10.3/info-mgmt/lib/system:/root/bea/wlportal_10.3/analytics/lib/system:/root/bea/wlportal_10.3/apps/lib/system:/root/bea/wlportal_10.3/info-mgmt/deprecated/lib/system:/root/bea/wlportal_10.3/content-mgmt/lib/system -Dweblogic.alternateTypesDirectory=/root/bea/wlportal_10.3/portal/lib/security -Dweblogic.management.username=xxxx -Dweblogic.management.password=xxxx-Dweblogic.Name=AdminServer -Djava.security.policy=/root/bea/wlserver_10.3/server/lib/weblogic.policy weblogic.Server
    Listening for transport dt_socket at address: 8453
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/utils/StringUtils
    at weblogic.Server.getLibraryExtensions(Server.java:222)
    at weblogic.Server.getExtensionJars(Server.java:198)
    at weblogic.Server.intializeClassloader(Server.java:135)
    at weblogic.Server.main(Server.java:66)
    Caused by: java.lang.ClassNotFoundException: weblogic.utils.StringUtils
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 4 more
    Stopping PointBase server...

    StringUtils is in com.bea.core.utils_1.4.0.0.jar (in your modules folder).
    Probably it is needed on your classpath and it's not there..

Maybe you are looking for