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>
          --%>

Similar Messages

  • 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>

  • 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>

  • ParsingException: nested TokenStreamException: antlr.TokenStreamIOException

    hi,
    i am getting this parsing exception whenver i add some html code to my jsp. i am placing my jsp.
                                                                   <%--
    <%@ page language="java" contentType="text/html; charset=UTF-8" %>
    <%-- Imports the relevant KLI classes --%>
    <%@ page import = "com.wk.kli.*"%>
    <%-- Include the userAuthorization page to authorize the user --%>
    <%@ include file="/include/userAuthorization.jsp" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
              "http://www.w3.org/TR/html4/loose.dtd">
    <html lang = "en">
        <!-- This includes header in the current jsp page. -->
        <jsp:include page = '<%= KLIPortalConst.JSPFiles.HEADER_PAGE %>'
                     flush = "true"/>
        <jsp:include page = '<%= KLIPortalConst.JSPFiles.GLOBALNAV_PAGE %>'
                     flush = "true"/>
           <head>
           <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
    <meta name=ProgId content=Word.Document>
    <meta name=Generator content="Microsoft Word 11">
    <meta name=Originator content="Microsoft Word 11">
    <link rel=File-List
    href="Terms%20and%20Conditions%20Litigation.com%20v.%20Feb%202007_files/filelist.xml">
    <title>General Terms & Conditions</title>
    </head>
    <body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>
              <div class=Section1>
    <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
    style='font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:"Trebuchet MS"'><o:p> </o:p></span></p>
    <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
    style='font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:"Trebuchet MS"'><o:p> </o:p></span></p>
    <p class=MsoNormal align=left style='text-align:left'><span lang=EN-GB
    style='font-size:12.0pt;font-family:"Trebuchet MS"'>Terms and Conditions: <a
    href="http://www.kluwerlitigation.com/">www.KluwerLitigation.com</a> <o:p></o:p></span></p>
    <p class=MsoNormal><span lang=EN-GB style='font-family:"Trebuchet MS"'><o:p> </o:p></span></p>
    </div>
    <span lang=EN-GB style='font-size:8.0pt;mso-bidi-font-size:10.0pt;font-family:
    "Trebuchet MS";mso-fareast-font-family:"Times New Roman";mso-bidi-font-family:
    "Times New Roman";mso-ansi-language:EN-GB;mso-fareast-language:EN-US;
    mso-bidi-language:AR-SA'><br clear=all style='page-break-before:auto;
    mso-break-type:section-break'>
    </span>
    </div>
    </body>
    </html>whenever i place this html code in this jsp , i am getting parsing exception. please suggest .
    <div class=Section2>
    <h3><span lang=EN-GB style='font-family:"Trebuchet MS"'>1.<span
    style='mso-tab-count:1'></span>APPLICABILITY AND DEFINITIONS<o:p></o:p></span></h3>
        <p class=dgindent align=left style='text-align:left'><span lang=EN-GB
    style='font-family:"Trebuchet MS"'>1.1 The Agreement means the agreement
    between on the one hand Kluwer Law International bv ( �Licensor�) and on the
    other hand the customer (�Licensee�) on the basis of the Order Form as defined
    herein, the Acceptance as defined herein and the present Terms and Conditions.
    The Terms and Conditions shall apply on any offer or agreement with the
    exclusion of any terms and conditions used by the Licensee.<o:p></o:p></span></p>
    </div>Message was edited by:
    bobz

    here is the stack trace
    Error 500--Internal Server Error
    weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOException
         at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:965)
         at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
         at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
         at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
         at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.wk.kli.user.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:135)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

  • 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>

  • Nested TokenStreamException: antlr.TokenStreamIOException

    HI,
    We have a JSP in place for last 2-3 years. Till 1-2 days back everything was fine but suddenly it has started giving us error as
    weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOException
    at weblogic.servlet.jsp.JspLexer.parse()V(Optimized Method)
    at weblogic.servlet.jsp.JspParser.doit()V(Optimized Method)
    at weblogic.servlet.jsp.JspParser.parse(Ljava.io.Reader;)V(JspParser.java:234)
    at weblogic.servlet.jsp.Jsp2Java.outputs([Ljava.lang.Object;)Ljava.util.Enumeration;(Jsp2Java.java:125)
    at weblogic.utils.compiler.CodeGenerator.generate([Ljava.lang.Object;)[Ljava.lang.String;(CodeGenerator.java:258)
    at weblogic.servlet.jsp.JspStub.compilePage(Lweblogic.servlet.internal.RequestCallback;)V(JspStub.java:388)
    at weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic.servlet.internal.RequestCallback;Z)V(JspStub.java:238)
    at weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic.servlet.internal.RequestCallback;)V(JspStub.java:188)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(Lweblogic.servlet.internal.RequestCallback;)Ljavax.servlet.Servlet;(ServletStubImpl.java:535)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:373)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:322)
    at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(Ljava.lang.String;Ljavax.servlet.ServletContext;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PerformForward.java:113)
    at org.apache.struts.chain.commands.servlet.PerformForward.perform(Lorg.apache.struts.chain.contexts.ActionContext;Lorg.apache.struts.config.ForwardConfig;)V(PerformForward.java:96)
    at org.apache.struts.chain.commands.AbstractPerformForward.execute(Lorg.apache.struts.chain.contexts.ActionContext;)Z(AbstractPerformForward.java:54)
    at org.apache.struts.chain.commands.ActionCommandBase.execute(Lorg.apache.commons.chain.Context;)Z(ActionCommandBase.java:51)
    at org.apache.commons.chain.impl.ChainBase.execute(Lorg.apache.commons.chain.Context;)Z(ChainBase.java:190)
    at org.apache.commons.chain.generic.LookupCommand.execute(Lorg.apache.commons.chain.Context;)Z(LookupCommand.java:304)
    at org.apache.commons.chain.impl.ChainBase.execute(Lorg.apache.commons.chain.Context;)Z(ChainBase.java:190)
    at org.apache.struts.chain.ComposableRequestProcessor.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:449)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
    The most intersting part of this error is that it is not permannent rather it comes 8 out of 10 times (last 1-2 days only)
    Please give me any pointers about the same. I have googled through the same but did not get any concrete answer on the issue :(
    ~Aman

    This is huge code.. I dont know.. whether it will be usefull for u..
    And as u can see.. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    is there in code.
    Also we ran the EAR on different app server and it is working fine there.
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ page import="java.util.ArrayList" %>
    <%@ page import="java.util.Map.Entry"%>
    <%@ page import="java.util.Set" %>
    <%@ page import="java.util.Iterator" %>
    <%@ page import="java.util.Map" %>
    <%@ page import="java.util.TreeMap"%>
    <%@ page import="java.util.StringTokenizer"%>
    <%@ page errorPage ="/jsp/error.jsp" %>
    <%
    request.setAttribute(RangingConstants.ERROR_NUMBER, RangingError.UNKNOWN_ERROR_IN_JSP);
    request.setAttribute(RangingConstants.ERROR_DESCRIPTION, RangingConstants.UNDEFINED_ERRORMSG_INJSP);
    response.setHeader("Pragma", "No-cache");
    response.setDateHeader("Expires", 0);
    response.setHeader("Cache-Control", "no-cache");
    %>
    <%
    //values for various fields in this screen
    HashMap hmArea                     = new HashMap();
    HashMap hmRegion                = new HashMap();
    HashMap hmRegionArea              = new HashMap();
    HashMap hmBrand                = new HashMap();
    HashMap hmMktDiv                = new HashMap();
    HashMap hmMktSegUnSorted          = new HashMap();
    HashMap hmACMUnsorted               = new HashMap();
    HashMap hmBU                    = new HashMap();
    HashMap hmAreaACM               = new HashMap();
    HashMap hmMktSegACM               = new HashMap();
    HashMap hmAcmMktSeg               = new HashMap();
    HashMap hmMktDivMktSeg               = new HashMap();
    HashMap hmNotificationType           = new HashMap();
    HashMap hmMktDivBU                = new HashMap();
    ArrayList alstNotificationCode          = new ArrayList();
    ArrayList alstNotificationDesc          = new ArrayList();
    ArrayList alstSeasonPrefCode     = new ArrayList();
    HashMap  hmAllSeasonData          = new HashMap();
    TreeMap  hmAllSeasonValue          = new TreeMap();
    HashMap hmComData     =     new HashMap();
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_SEASON_PREF)!=null)
         alstSeasonPrefCode =(ArrayList)request.getAttribute(RangingConstants.USER_PREFERENCES_SEASON_PREF);
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_ALL_DATA)!=null)
         hmAllSeasonData =(HashMap)request.getAttribute(RangingConstants.USER_PREFERENCES_ALL_DATA);
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_ALL_VALUE)!=null)
         hmAllSeasonValue =(TreeMap)request.getAttribute(RangingConstants.USER_PREFERENCES_ALL_VALUE);
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_ALL_COMDATA)!=null)
         hmComData =(HashMap)request.getAttribute(RangingConstants.USER_PREFERENCES_ALL_COMDATA);
    if(request.getAttribute(RangingConstants.MASTER_MAP_AREA)!=null)
         hmArea = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_AREA);
    if(request.getAttribute(RangingConstants.MASTER_MAP_REGION)!=null)
         hmRegion = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_REGION);
    if(request.getAttribute(RangingConstants.MASTER_MAP_REGIONAREA)!=null)
         hmRegionArea = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_REGIONAREA);
    if(request.getAttribute(RangingConstants.MASTER_MAP_BRAND)!=null)
         hmBrand = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_BRAND);
    if(request.getAttribute(RangingConstants.MASTER_MAP_MKTDIVISION)!=null)
         hmMktDiv = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_MKTDIVISION);
    if(request.getAttribute(RangingConstants.MASTER_MAP_MKTSEGMENT)!=null)
         hmMktSegUnSorted = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_MKTSEGMENT);
    if(request.getAttribute(RangingConstants.MASTER_MAP_ACM)!=null)
         hmACMUnsorted = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_ACM);
    if(request.getAttribute(RangingConstants.MASTER_MAP_BU)!=null)
         hmBU = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_BU);
    if(request.getAttribute(RangingConstants.MASTER_MAP_AREAACM)!=null)
         hmAreaACM = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_AREAACM);
    if(request.getAttribute(RangingConstants.MASTER_MAP_MKTSEGACM)!=null)
         hmMktSegACM = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_MKTSEGACM);
    if(request.getAttribute(RangingConstants.MASTER_MAP_ACMMKTSEG)!=null)
         hmAcmMktSeg = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_ACMMKTSEG);
    if(request.getAttribute(RangingConstants.MASTER_MAP_MKTDIVMKTSEGMENT)!=null)
         hmMktDivMktSeg = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_MKTDIVMKTSEGMENT);
    if(request.getAttribute(RangingConstants.NOTIFICATION_TYPES)!=null)
         hmNotificationType = (HashMap)request.getAttribute(RangingConstants.NOTIFICATION_TYPES);
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_ARRAY_LIST_NOTIFICATION_CODE)!=null)
         alstNotificationCode =(ArrayList)request.getAttribute(RangingConstants.USER_PREFERENCES_ARRAY_LIST_NOTIFICATION_CODE);
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_ARRAY_LIST_NOTIFICATION_DESC)!=null)
         alstNotificationDesc = (ArrayList)request.getAttribute(RangingConstants.USER_PREFERENCES_ARRAY_LIST_NOTIFICATION_DESC);
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_MARKETING_DIV_BU)!=null)
         hmMktDivBU = (HashMap)request.getAttribute(RangingConstants.USER_PREFERENCES_MARKETING_DIV_BU);
    HashMap hmBrandArea          = new HashMap();
    if(request.getAttribute(RangingConstants.BRAND_AREA_MAPPING)!=null)
         hmBrandArea = (HashMap)request.getAttribute(RangingConstants.BRAND_AREA_MAPPING);
    HashMap hmBrandMktSeg          = new HashMap();
    if(request.getAttribute(RangingConstants.BRAND_MKTSEG_MAPPING)!=null)
         hmBrandMktSeg = (HashMap)request.getAttribute(RangingConstants.BRAND_MKTSEG_MAPPING);
    HashMap hmBrandAssigned          = new HashMap();
    if(request.getAttribute(RangingConstants.BRAND_ASSIGNED)!=null)
         hmBrandAssigned = (HashMap)request.getAttribute(RangingConstants.BRAND_ASSIGNED);
    HashMap mktSegMktDiv          = new HashMap();
    if(request.getAttribute(RangingConstants.USER_PREFERENCES_MARKETING_SEG_MARKETING_DIV)!=null)
         mktSegMktDiv = (HashMap)request.getAttribute(RangingConstants.USER_PREFERENCES_MARKETING_SEG_MARKETING_DIV);
    HashMap hmProductDivision                = new HashMap();
    if(request.getAttribute(RangingConstants.MASTER_MAP_REGION)!=null)
         hmProductDivision = (HashMap)request.getAttribute(RangingConstants.MASTER_MAP_PRODDIVISION);
    //preselected values for various fields
    String strMarketSegmentFlag           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_MARKET_SEGMENT_FLAG);
    String strColorwayFlag                = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_COLORWAY_FLAG);
    String strModelNameFlag           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_MODEL_NAME_FLAG);
    String strModelNumberFlag           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_MODEL_NUMBER_FLAG);
    String strRangeComponentFlag           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_RANGE_COMPONENT_FLAG);
    String strExclusivityFlag           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_EXCLUSIVITY_FLAG);
    String strProdDivFlag                = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_PROD_DIVISION_FLAG);
    String strMktDivFlag                = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_MARKET_DIVISION_FLAG);
    String strRegionFlag                = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_REGION_FLAG);
    String strAreaFlag                = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_AREA_FLAG);
    String strMsgCreatedFlag           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_MSG_CREATED_FLAG);
    String strMsgDatedFlag               = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_MSG_DATED_FLAG);
    String strBusinessModelFlag           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_BUSINESS_MODEL_FLAG);
    String strMarketClassificationFlag      = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_MARKET_CLASSFICATION_FLAG);
    String strDefaultHistoryDate           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_DEFAULT_HISTORY_DATE);
    String strSelectedHistoryDate           = (String) request.getAttribute(RangingConstants.USER_PREFERENCES_HISTORY_LIMIT);
    String strYear           = (String)(request.getAttribute("year"));
    String strSeason      = (String)(request.getAttribute("season"));
    String strArea          = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_AREA));
    String strRegion      = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_REGION));
    String strBrand      = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_BRAND));
    String strMktDiv      = (String)(request.getAttribute("mktDivision"));
    String strMktDivSeg     = (String)(request.getAttribute("mktDivSegment"));
    String strACM          = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_ACM));
    String strtmBU          = (String)(request.getAttribute("tmBU"));
    String strRegionCode     = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_REGION_CD));
    String strAreaCode     = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_AREA_CD));
    String strUserId      = (String)session.getAttribute(RangingConstants.CBO_USERID);
    String strOnloadFlag = (String)(request.getAttribute("OnloadFlag"));
    String strQuarter      = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_QUARTER));
    String strProductDivision      = (String)(request.getAttribute(RangingConstants.USER_PREFERENCES_PRODUCT_DIV));
    // sorting product Division
    Set set = hmProductDivision.entrySet();
    Iterator ite = set.iterator();
    TreeMap tmProductDivision = new TreeMap(new Comparator()
              public int compare(Object o1, Object o2)
                   String s1 = ((String) o1).toUpperCase();
                   String s2 = ((String) o2).toUpperCase();
                   if(s1.compareTo(s2) == 0)
                        return -1;
                   else
                        return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         while(mpentr.getKey()==null)
              mpentr = (Map.Entry)(ite.next());
         tmProductDivision.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    //Sorting ACM
    set = hmACMUnsorted.entrySet();
    ite = set.iterator();
    TreeMap tmACM = new TreeMap(
         new Comparator() {
              public int compare(Object o1, Object o2) {
                   String s1 = ((String) o1).toUpperCase();
                   String s2 = ((String) o2).toUpperCase();
                   if(s1.compareTo(s2) == 0){
                             return -1;
                   else{
                        return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         while(mpentr.getValue()==null)
              mpentr = (Map.Entry)(ite.next());
         tmACM.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    //Sorting Marketing Segment
    set = hmMktSegUnSorted.entrySet();
    ite = set.iterator();
    TreeMap mktSeg = new TreeMap(
         new Comparator() {
             public int compare(Object o1, Object o2) {
                   String s1 = (String) o1;
                   String s2 = (String) o2;
                   return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         mktSeg.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    // sorting business unit hashmap
    set = hmBU.entrySet();
    ite = set.iterator();
    TreeMap tmBU = new TreeMap(
         new Comparator() {
              public int compare(Object o1, Object o2) {
                   String s1 = ((String) o1).toUpperCase();
                   String s2 = ((String) o2).toUpperCase();
                   if(s1.compareTo(s2) == 0)
                        return -1;
                   else
                        return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         while(mpentr.getKey()==null)
              mpentr = (Map.Entry)(ite.next());
         tmBU.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    hmBU = null;
    //Sorting Brand
    set = hmBrand.entrySet();
    ite = set.iterator();
    TreeMap tmBrand = new TreeMap(new Comparator()
              public int compare(Object o1, Object o2)
                   String s1 = ((String) o1).toUpperCase();
                   String s2 = ((String) o2).toUpperCase();
                   if(s1.compareTo(s2) == 0)
                        return -1;
                   else
                        return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         while(mpentr.getKey()==null)
              mpentr = (Map.Entry)(ite.next());
         tmBrand.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    //Sorting Marketing Division
    set = hmMktDiv.entrySet();
    ite = set.iterator();
    TreeMap tmMktDiv = new TreeMap(new Comparator()
              public int compare(Object o1, Object o2)
                   String s1 = ((String) o1).toUpperCase();
                   String s2 = ((String) o2).toUpperCase();
                   if(s1.compareTo(s2) == 0)
                        return -1;
                   else
                        return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         while(mpentr.getKey()==null)
              mpentr = (Map.Entry)(ite.next());
         tmMktDiv.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    // sorting hmMktDivBU
    set = hmMktDivBU.entrySet();
    ite = set.iterator();
    TreeMap tmMktDivBU = new TreeMap(
         new Comparator() {
              public int compare(Object o1, Object o2) {
                   String s1 = ((String) o1).toUpperCase();
                   String s2 = ((String) o2).toUpperCase();
                   if(s1.compareTo(s2) == 0)
                        return -1;
                   else
                        return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         while(mpentr.getKey()==null)
              mpentr = (Map.Entry)(ite.next());
         tmMktDivBU.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    // sorting hmBrandAssigned
    set = hmBrandAssigned.entrySet();
    ite = set.iterator();
    TreeMap tmBrandAssigned = new TreeMap(new Comparator()
              public int compare(Object o1, Object o2)
                   String s1 = ((String) o1).toUpperCase();
                   String s2 = ((String) o2).toUpperCase();
                   if(s1.compareTo(s2) == 0)
                        return -1;
                   else
                        return s1.compareTo(s2);
    while (ite.hasNext())
         Map.Entry mpentr = (Map.Entry)(ite.next());
         while(mpentr.getKey()==null)
              mpentr = (Map.Entry)(ite.next());
         tmBrandAssigned.put ((String)mpentr.getValue(), (String)mpentr.getKey());
    %>
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
    <TITLE>User Preferences</TITLE>
    <LINK rel="StyleSheet" type="text/css" href="<%=RangingConstants.CONTENT_PATH%>/jsp/RangePlan/stylesAreaPLP.css">
    <LINK rel="StyleSheet" type="text/css" href="<%=RangingConstants.CONTENT_PATH%>/jsp/UserPreferenceScreen/UserPreferenceScreen.css">
    <SCRIPT type="text/javascript" src="<%=RangingConstants.CONTENT_PATH%>/common/loadingWait.js"></SCRIPT>
    <script language=JavaScript for=document event=oncontextmenu>return true</script>
    <SCRIPT>
    var arrRegionArea     = new Array();
    var arrArea           = new Array();
    var arrAcmMktSeg      = new Array();
    var areaACM           = new Array();
    var acmArray          = new Array();
    var arrACM           = new Array();
    var arracm           = new Array();
    var arrMktSegACM      = new Array();
    var arrMktSeg          = new Array();
    var arrMktDiv          = new Array();
    var arrMktSegMktDiv          = new Array();
    var arrMktDivMktSeg     = new Array();
    var arrMktDivBU      = new Array();
    var arrBU           = new Array();
    var arrFields          = new Array();
    var arrFieldsDesc     = new Array();
    var arrFieldsMaster     = new Array();
    arrFieldsMaster1 = ["Marketing Segment","Colorway","Model Name","Model Number","Range Component","Exclusivity","Business Model","Market Classification","Product Division","Marketing Division","Region","Area","Message Triggered by","Message Creation Date (HZA Time)"]
    arrFieldsDesc = ["mktSeg","colorWay","modelName","modelNo","rangeComponent","exclusivity","businessModel","marketClassification","productDivision","mktDiv","region","area","msgTriggeredBy","msgCreationDate"]
    for(i=0;i<14;i++)
         arrFieldsMaster[i] = new Array();
         arrFieldsMaster[0]=arrFieldsMaster1[i];
         arrFieldsMaster[i][1]="Y";
         arrFieldsMaster[i][2]= arrFieldsDesc[i];
    var strChangeFlag = "N";
    var str;
    var tempStr;
    var i;
    var selectedACM = "";
    var selectedMktDiv = "";
    var selectedMktSeg = "";
    var arrBrandArea     = new Array();
    var arrBrandMktSeg     = new Array();
    //Brand Area mapping
    <logic:iterate id="element" collection="<%=hmBrandArea%>" scope="request" indexId="count">
         arrBrandArea[<%=count%>] = new Array();
         arrBrandArea[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         str = '<bean:write name="element" property="value"/>';
         if (str.indexOf(",") != -1)
              tempStr=str.split(",");
              for (i = 0; i < tempStr.length; i++) {
                   arrBrandArea[<%=count%>][ i+1 ] = tempStr[i];
         else
              arrBrandArea[<%=count%>][1] = str;
    </logic:iterate>
    //Brand Marketing Segment mapping
    <logic:iterate id="element" collection="<%=hmBrandMktSeg%>" scope="request" indexId="count">
         arrBrandMktSeg[<%=count%>] = new Array();
         arrBrandMktSeg[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         str = '<bean:write name="element" property="value"/>';
         if (str.indexOf(",") != -1)
              tempStr=str.split(",");
              for (i = 0; i < tempStr.length; i++) {
                   arrBrandMktSeg[<%=count%>][ i+1 ] = tempStr[i];
         else
              arrBrandMktSeg[<%=count%>][1] = str;
    </logic:iterate>
    //Marketing Division BU mapping
    <logic:iterate id="element" collection="<%=tmMktDivBU%>" scope="request" indexId="count">
         arrMktDivBU[<%=count%>] = new Array();
         arrMktDivBU[<%=count%>][0] = '<bean:write name="element" property="value"/>';
         str = '<bean:write name="element" property="key"/>';
              if (str.indexOf(",") != -1)
                   tempStr=str.split(",");
                   for (i = 0; i < tempStr.length; i++) {
                        arrMktDivBU[<%=count%>][ i+1 ] = tempStr[i];
              else
                   arrMktDivBU[<%=count%>][1] = str;
    </logic:iterate>
    <logic:iterate id="element" collection="<%=tmBU%>" scope="request" indexId="count">
         arrBU[<%=count%>] = new Array();
         arrBU[<%=count%>][0] = '<bean:write name="element" property="value"/>';
         arrBU[<%=count%>][1] = '<bean:write name="element" property="key"/>';
    </logic:iterate>
    <logic:iterate id="element" collection="<%=mktSegMktDiv%>" scope="request" indexId="count">
         arrMktSegMktDiv[<%=count%>] = new Array();
         arrMktSegMktDiv[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         arrMktSegMktDiv[<%=count%>][1] = '<bean:write name="element" property="value"/>';
    </logic:iterate>
    //Region area mapping
    <logic:iterate id="element" collection="<%=hmRegionArea%>" scope="request" indexId="count">
         arrRegionArea[<%=count%>] = new Array();
         arrRegionArea[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         str = '<bean:write name="element" property="value"/>';
         if (str.indexOf(",") != -1)
              tempStr=str.split(",");
              for (i = 0; i < tempStr.length; i++) {
                   arrRegionArea[<%=count%>][ i+1 ] = tempStr[i];
         else
              arrRegionArea[<%=count%>][1] = str;
    </logic:iterate>
    <logic:iterate id="element" collection="<%=hmArea%>" scope="request" indexId="count">
         arrArea[<%=count%>] = new Array();
         arrArea[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         arrArea[<%=count%>][1] = '<bean:write name="element" property="value"/>';
    </logic:iterate>
    //Area ACM mapping
    <logic:iterate id="element" collection="<%=hmAreaACM%>" scope="request" indexId="count">
         areaACM[<%=count%>] = new Array();
         areaACM[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         str1 = '<bean:write name="element" property="value"/>';
         tempACM=str1.split(",");
         for (i = 0; i < tempACM.length; i++) {
              areaACM[<%=count%>][ i+1 ] = tempACM[i];
    </logic:iterate>
    <logic:iterate id="element" collection="<%=tmACM%>" scope="request" indexId="count">
         arracm[<%=count%>] = new Array();
         arracm[<%=count%>][0] = '<bean:write name="element" property="value"/>';
         arracm[<%=count%>][1] = '<bean:write name="element" property="key"/>';
    </logic:iterate>
    // MktSeg ACM mapping
    <logic:iterate id="element" collection="<%=hmMktSegACM%>" scope="request" indexId="count">
         arrMktSegACM[<%=count%>] = new Array();
         arrMktSegACM[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         str3 = '<bean:write name="element" property="value"/>';
         acmTemp=str3.split(",");
         for (i = 0; i < acmTemp.length; i++) {
              arrMktSegACM[<%=count%>][ i+1 ] = acmTemp[i];
    </logic:iterate>
    <logic:iterate id="element" collection="<%=tmACM%>" scope="request" indexId="count">
         acmArray[<%=count%>] = new Array();
         acmArray[<%=count%>][0] = '<bean:write name="element" property="value"/>';
         acmArray[<%=count%>][1] = '<bean:write name="element" property="key"/>';
    </logic:iterate>
    //ACM MktSeg mapping
    <logic:iterate id="element" collection="<%=hmAcmMktSeg%>" scope="request" indexId="count">
         arrAcmMktSeg[<%=count%>] = new Array();
         arrAcmMktSeg[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         str2 = '<bean:write name="element" property="value"/>';
         tempMktSeg=str2.split(",");
         for (i = 0; i < tempMktSeg.length; i++) {
              arrAcmMktSeg[<%=count%>][ i+1 ] = tempMktSeg[i];
    </logic:iterate>
    <logic:iterate id="element" collection="<%=mktSeg%>" scope="request" indexId="count">
         arrMktSeg[<%=count%>] = new Array();
         arrMktSeg[<%=count%>][0] = '<bean:write name="element" property="value"/>';
         arrMktSeg[<%=count%>][1] = '<bean:write name="element" property="key"/>';
    </logic:iterate>
    // MktDiv MktSeg mapping
    <logic:iterate id="element" collection="<%=hmMktDivMktSeg%>" scope="request" indexId="count">
         arrMktDivMktSeg[<%=count%>] = new Array();
         arrMktDivMktSeg[<%=count%>][0] = '<bean:write name="element" property="key"/>';
         str3 = '<bean:write name="element" property="value"/>';
         acmTemp=str3.split(",");
         for (i = 0; i < acmTemp.length; i++) {
              arrMktDivMktSeg[<%=count%>][ i+1 ] = acmTemp[i];
    </logic:iterate>
    <logic:iterate id="element" collection="<%=tmMktDiv%>" scope="request" indexId="count">
         arrMktDiv[<%=count%>] = new Array();
         arrMktDiv[<%=count%>][0] = '<bean:write name="element" property="value"/>';
         str = '<bean:write name="element" property="key"/>';
              if (str.indexOf(",") != -1)
                   tempStr=str.split(",");
                   for (i = 0; i < tempStr.length; i++) {
                        arrMktDiv[<%=count%>][ i+1 ] = tempStr[i];
              else
                   arrMktDiv[<%=count%>][1] = str;
    </logic:iterate>
    </SCRIPT>
    </head>
    <body>
    <html:form action="/queryuserPreferences" styleId="UserPreferenceForm" >
    <input type="hidden" name="actionMode" id="actionMode" value = -1>
    <html:hidden property="strCheckOnLoad" styleId = "checkOnLoad"/>
    <input type="hidden" name="actionModeSave" id="actionModeSave" value = "<%=RangingConstants.ACTION_SAVE%>">
    <!--<input type="hidden" name="hdnFlag" id="hdnFlag" value="Y"/> -->
    <DIV id="topBar">
    <TABLE border="0" width="982" cellpadding=0 cellspacing=0>
         <TR height=27>
              <TD width=186><IMG src="<%=RangingConstants.CONTENT_PATH%>/images/logo5.gif" ></TD>
              <TD width=186><IMG src="<%=RangingConstants.CONTENT_PATH%>\images\userpreferences_header.gif"></TD>
              <TD width=635 style="COLOR: white" align=right background ="<%=RangingConstants.CONTENT_PATH%>/images/header_bg.gif">
              Home   |  Logout  </TD>
         </TR>
    </TABLE>
    </DIV>
    <DIV id="topBar_1">
    <TABLE width="100%" align=center border=1 cellpadding=10 cellspacing=0 style="BORDER-BOTTOM-COLOR: #97a2cd; BORDER-LEFT-COLOR: #97a2cd; BORDER-RIGHT-COLOR: #97a2cd; BORDER-TOP-COLOR: #97a2cd ">
         <TR>
              <TD width="100%">
                   <TABLE width="100%" align=center border=0 cellpadding=0 cellspacing=0>
                        <TR class="tableheadings" bgcolor="#cdd3e7">
                             <TD colspan="2" width="100%"><strong>Notification Configuration Preferences</strong></TD>
                        </TR>
                        <TR class="text1">
                             <TD align="left" width="22%"><strong>History Limit for Messages (in Days)</strong></TD>
                             <TD align="left">
                             <html:select styleClass="boxwithborder" styleId="historyCombo" property = "selectedHistoryId" style="HEIGHT: 18px; WIDTH: 100px" onchange="javascript:fnChangeFlag();">
                                  <%
                                            if(strSelectedHistoryDate != null && strSelectedHistoryDate.equals("1"))
                                  %>
                                                 <option value="0">--- select ---</option>
                                                 <Option value="1" selected> 1</Option>
                                                 <Option value="5"> 5</Option>
                                  <%
                                            else if(strSelectedHistoryDate != null && strSelectedHistoryDate.equals("5"))
                                  %>
                                                 <option value="0">--- select ---</option>
                                                 <Option value="1"> 1</Option>
                                                 <Option value="5" selected> 5</Option>
                                  <%
                                            else
                                  %>
                                                 <option value="0">--- select ---</option>
                                                 <Option value="1"> 1</Option>
                                                 <Option value="5"> 5</Option>
                                  <%
    %>
                             </html:select>
                             </TD>
                        </TR>
                        <TR class="tableheadings"><TD colspan="2"><strong>Notification Types</strong></TD></TR>
                   </TABLE>
                   <TABLE width="70%" cellpadding= 0 cellspacing=0 border=0 align="center">
                        <TR class="tableheadings">
                             <TD width="40%" ><CENTER><B><BR>Available Notifications<BR></B></CENTER></TD>
                             <TD width="10%"></TD>
                             <TD width="40%"><CENTER><B><BR>Displayed on Message Screen<BR></B></CENTER></TD>
                             <TD></TD>
                        </TR>
                        <TR>
                   <td>
                             <select styleId ="notificationType" class="selectBoxStyle" name="sel1" multiple="multiple" size= "10" >
                             </select> </td>
                             <TD align= middle style="CURSOR: hand" id="showCell"><IMG id="Right" src="<%=RangingConstants.CONTENT_PATH%>\images\right.gif" onclick="javascript:fnmove(sel1,sel2);fnChangeFlag();" />
    <IMG id="Left" src="<%=RangingConstants.CONTENT_PATH%>\images\left.gif" onclick="javascript:fnmove(sel2,sel1);fnChangeFlag();" />
    </TD>
                             <TD><select class="selectBoxStyle" name="sel2" multiple="multiple" size= "10">
                             </select></TD>
                             <TD align= middle style="CURSOR: hand" id="showCell"><IMG id="Up" src="<%=RangingConstants.CONTENT_PATH%>\images\up.gif" onclick="javascript:fnUp(sel2);fnChangeFlag();" />
    <IMG id="Down" src="<%=RangingConstants.CONTENT_PATH%>\images\down.gif" onclick="javascript:fnDown(sel2);fnChangeFlag();" />
    </TD>
                        </TR>
                   </TABLE>
                   <TABLE>
                        <TR class="tableheadings"><TD><strong>Other Attributes</strong></TD></TR>
                   </TABLE>
                   <TABLE width="70%" cellpadding= 0 cellspacing=0 border=0 align="center">
                        <TR class="tableheadings">
                             <TD width="40%"><CENTER><B><BR>Available Fields<BR></B></CENTER></TD>
                             <TD width="10%"></TD>
                             <TD width="40%"><CENTER><B><BR>Displayed on Message Screen<BR></B></CENTER></TD>
                             <TD></TD>
                        </TR>
                        <TR >
                             <TD>     <select class="selectBoxStyle" name="sel3" multiple="multiple" size= "10">
                                  </select>
                             </TD>
                             <TD align= middle style="CURSOR: hand" id="showCell"><IMG id="Right" src="<%=RangingConstants.CONTENT_PATH%>\images\right.gif" onclick="javascript:fnmoveFields(sel3,sel4);fnChangeFlag();" />
    <IMG id="Left" src="<%=RangingConstants.CONTENT_PATH%>\images\left.gif" onclick="javascript:fnmoveFields(sel4,sel3);fnChangeFlag();" />
    </TD>
                             <TD><select class="selectBoxStyle" name="sel4" multiple="multiple" size= "10" maxlength="50">
                             </select></TD>
                             <TD align="center">  </TD>
                        </TR>
                   </TABLE>
                   <TABLE>
                   <TR> </TR>
                        <TR class="tableheadings"><TD><strong>Seasons Selection for Notifications</strong></TD></TR>
                   </TABLE>
                   <TABLE width="70%" cellpadding= 0 cellspacing=0 border=0 align="center">
                        <TR class="tableheadings">
                             <TD width="40%" ><CENTER><B><BR>Available Seasons<BR></B></CENTER></TD>
                             <TD width="10%"></TD>
                             <TD width="40%"><CENTER><B><BR>Displayed on Message Screen<BR></B></CENTER></TD>
                             <TD></TD>
                        </TR>
                        <TR>
                             <TD>
                             <select styleId ="SeasonPref" class="selectBoxStyle" name="sel5" multiple="multiple" size= "10" >
                             </select> </TD>
                             <TD align= middle style="CURSOR: hand" id="showCell"><IMG id="Right" src="<%=RangingConstants.CONTENT_PATH%>\images\right.gif" onclick="javascript:fnmove(sel5,sel6);fnChangeFlag();" />
    <IMG id="Left" src="<%=RangingConstants.CONTENT_PATH%>\images\left.gif" onclick="javascript:fnmove(sel6,sel5);fnChangeFlag();" />
    </TD>
                             <TD><select class="selectBoxStyle" name="sel6" multiple="multiple" size= "10">
                             </select></TD>
                             <TD align="center">  </TD>
                        </TR>
                   </TABLE>
              </TABLE>
    </DIV>
    <DIV id="topCombo">
         <TABLE width="100%" align=center border=1 cellpadding=10 cellspacing=0 style="BORDER-BOTTOM-COLOR: #97a2cd; BORDER-LEFT-COLOR: #97a2cd; BORDER-RIGHT-COLOR: #97a2cd; BORDER-TOP-COLOR: #97a2cd ">
                   <TABLE width="100%" align=center border=0 cellpadding=0 cellspacing=0>
                        <TR> </TR>
                        <TR class="tableheadings" bgcolor="#cdd3e7">
                             <TD width="100%"><strong>Search Criteria Preferences</strong></TD>
                        </TR>
                   </TABLE>
                   <TABLE width="100%" align=center border=0 cellpadding=0 cellspacing=0>
                        <TR><TD> </TD></TR>
                        <TR>
                             <TD class=tableheadings align=right > Year  </TD>
                             <TD align=left >
                                  <html:select property = "year" styleId="yearCombo" styleClass="boxwithborder" style="HEIGHT: 18px; WIDTH: 200px" onchange="javascript:fnChangeFlag();">
                                       <Option value="-1">-------select-------</Option>
                                  <SCRIPT>
                                       </SCRIPT>
                                  </html:select>
                             </TD>
                             <TD class=tableheadings align=right>       Season  </TD>
                             <TD align=left >
                                  <html:select property="season" styleId="Season" styleClass="boxwithborder" style="HEIGHT: 18px; WIDTH: 200px" onchange="javascript:fnChangeFlag();fnLoadQuarter()">
                             <%
                                       if(strSeason != null && strSeason.equals(RangingConstants.SPRING_SUMMER))
                             %>
                                                      <Option value="-1">-------select-------</Option>
                                                      <Option value="<%=RangingConstants.SPRING_SUMMER%>" selected>Spring/Summer</Option>
                                                      <Option value="<%=RangingConstants.FALL_WINTER%>" >Fall/Winter</Option>
                             <%
                                       else if(strSeason != null && strSeason.equals(RangingConstants.FALL_WINTER))
                             %>
                                                      <Option value="-1">-------select-------</Opt

  • Weblogic.utils.NestedRuntimeException

    weblogic.utils.NestedRuntimeException
              --------------- nested within: ------------------
              weblogic.utils.NestedRuntimeException:
              java.lang.NoSuchMethodException:couldn't find getter for 'EJBHomes' on weblogic.management.runtime.EJBComponentRuntimeMBean
              

    weblogic.utils.NestedRuntimeException
              --------------- nested within: ------------------
              weblogic.utils.NestedRuntimeException:
              java.lang.NoSuchMethodException:couldn't find getter for 'EJBHomes' on weblogic.management.runtime.EJBComponentRuntimeMBean
              

  • Servicegen:  unable to load type library from classloader weblogic.utils.cl

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

  • Weblogic.utils.AssertionError moving from 6.1sp3 to 6.1sp4

    Has anyone used webstart with 6.1sp4
    I have a Java Webstart (v1.0.1) swing application deployed to a
    weblogic 6.1 sp3 server. This configuration has worked successfully
    for the last 6 months. I am now trying to install sp4 and I get the
    following error. I have recompiled my application and my ejbs. I
    have also tried packaging the full weblogic.jar from sp4 with my
    application. After I return the context using
    weblogic.jndi.WLInitialContextFactory, when I attempt to execute a
    call to an ejb I get this...
    java.util.EmptyStackException
    at weblogic.utils.collections.Stack.pop(Stack.java:82)
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:79)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ attempt
    to pop from
    an empty stack ] - with nested exception:
    [java.util.EmptyStackException]
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:81)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    This is fixed in SP5. You coula get a patch over SP4 from support by referring to
    CR093416.
    Jeff Ryan wrote:
    Has anyone used webstart with 6.1sp4
    I have a Java Webstart (v1.0.1) swing application deployed to a
    weblogic 6.1 sp3 server. This configuration has worked successfully
    for the last 6 months. I am now trying to install sp4 and I get the
    following error. I have recompiled my application and my ejbs. I
    have also tried packaging the full weblogic.jar from sp4 with my
    application. After I return the context using
    weblogic.jndi.WLInitialContextFactory, when I attempt to execute a
    call to an ejb I get this...
    java.util.EmptyStackException
    at weblogic.utils.collections.Stack.pop(Stack.java:82)
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:79)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ attempt
    to pop from
    an empty stack ] - with nested exception:
    [java.util.EmptyStackException]
    at weblogic.kernel.ResettableThreadLocalStack.pop(ResettableThreadLocalS
    tack.java:81)
    at weblogic.jndi.internal.ThreadEnvironment.pop(ThreadEnvironment.java:1
    8)
    at weblogic.jndi.internal.WLContextImpl.close(WLContextImpl.java:72)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.close(ReadOnlyCon
    textWrapper.java:30)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.closeContext(Unkno
    wn Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeEventMapper.getEventMappings(U
    nknown Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB.ejbCreate(Unkn
    own Source)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_Impl.ej
    bCreate(ACubeStatelessPOEEJB_a8m3bo_Impl.java:117)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionP
    ool.java:159)
    at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool
    .java:119)
    at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
    va:156)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
    4)
    at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
    ct.java:63)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl.
    handleEvent(ACubeStatelessPOEEJB_a8m3bo_EOImpl.java:69)
    at com.advpcs.acube.eventhandler.ejb.ACubeStatelessPOEEJB_a8m3bo_EOImpl_
    WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Weblogic.utils.AssertionError when JBuilder 7 + Weblogic

    when i complie the jsp file,the following errors occur:
    java.lang.NullPointerException
    --------------- nested within: ------------------
    "Jsp1.jsp": weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.NullPointerException]
    java.lang.NullPointerException
    --------------- nested within: ------------------
    "Jsp1.jsp": weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.NullPointerException]
    why?

    Maybe one way you can do is to upgrade weblogic to sp4 (or above).
    Before my xx.jsp can compile ok when using jbuilder7 + tomcat, later when i use weblogic 6.1sp1, this error occurs.
    With my coworker's help, just upgrade to sp4, there is no error anymore.
    You guys may try this.

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non clusterable object with jndiName ]

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

  • 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.

  • Weblogic 8.1 SP4 - weblogic.utils.AssertionError has been deprecated???

    Hi All,
    My web application has been running great all these years with WebLogic 7.0 SP2. I am upgrading it to Weblogic 8.1 SP4.
    Few classes have the following code snippet:
    throw new weblogic.utils.AssertionError("impossible case: " + idx);
    Here idx is int.
    This code snippet never gave any trouble with WebLogic 7.0 SP2. Now when I am building the application with WebLogic 8.1 SP4 and JDK 1.4, it gives the following warning at the build time:
    [javac] warning: weblogic.utils.AssertionError in weblogic.utils has been deprecated
    [javac] throw new weblogic.utils.AssertionError("impossible case: " + idx);
    I am trying to identify, if this class has been deprecated in WebLogic 8.1, then what is the alternative class which I can use?
    I searched in all BEA documentations, but did not get any reference.
    Can some one help me, if you know about it.
    I would highly appreciate it.
    Thanks,
    Ashish.

    Hi,
    As you are using WLS8.1 It means your JDK will be JDK1.4 and there is a Bug already available with JDK1.4 for the Same issue ... Please find the below link:
    http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4705373 (For Sun JDK1.4)
    AND
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6373059 (For Sun JDK 1.5.0_05)
    Please try to switch to JRockit JDK.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)

  • Weblogic.utils.AssertionError: weblogic 8.1 SP4 cluster

    Hi,
    I'm try to run a junit test from eclipse that runs a method in a bean deployed on a WL8.1 SP4 cluster.
    There are other posts for AssertionErrors in the firum but none have this particular error, the only references I could find to it were BEA readme docs for problems solved in WebLogic 7.
    If I move the bean from the cluster and run it on the admin server then happy days so I'm thinking it could be a cluster config problem?
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Only works for colocated objects ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.getServerReference(ServerHelper.java:194)
         at weblogic.jndi.internal.WLEventContextImpl.readExternal(WLEventContextImpl.java:401)
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
         at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
         at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:120)
         at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
         at sunlife.us.dc.connectivity.ejb.ConnectivityEditor_7xpdvm_EOImpl_814_WLStub.getDescriptionRefs(Unknown Source)
         at sunlife.us.dc.connectivity.ejb.ProfileEditorBeanTest.testGetDescriptionRefs(ProfileEditorBeanTest.java:66)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Assuming the log entries you care about are generated by your application, and not the infrastructure, you're better off adding millisecond detail to your application log messages. If you're using commons-logging, you can tie this to the WL server log implicitly through configuration, or you could use NonCatalogLogger to explicitly log to the WL server log.

  • 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

  • Upgrading from QT to QT Pro

    Good morning. If I upgrade the QT that came with my mini to QT pro, should I delete the version on my mini now and install or will it upgrade the version currently on my system? Thanks.

  • Upgrade from crystal report 8.5 to crystal report 2011

    Hi All, Currently we are using crystal report 8.5 (PEAPI and dictionary files) (with VB6) to generate historical data for our product. Reports can have millions of records. We are using 2-tier architecture ( our client resides on windows machine and

  • How can I view Sony HD videos

    I have a Sony HD video camera, a Handycam.  The camera came with a software called PMB which is only compatable for PC's.  The software enables the PC to view the HD video files.  My Macbook Pro is not able to view these videos and I can't figure out

  • 64-bit installation problems

    I am attempting to install Oracle 10g on a 64-bit Linux. I am having errors on the linking stage starting with: genclntsh: Failed to link libclntsh.so.10.1 I have tried numerous solutions such as wrapper scripts for gcc and ld to link in 32-bit mode

  • Postgresql crashes

    Hello, I updated my Mac mini from ML Server to Mavericks with OSX Server 3. I thought everthing works fine but i discovered in my console log this crashlog from Postgres. I think i had this errors before the update...  What can i do? Can anybody help