Error in Solaris but not in Windows

I have an application that is reading from a database, cleaning the results of all html tags, and writing to a new database. It all works fine on a Windows machine with jdk1.3. However, it throws the error I have attached to the message on the Solaris box. It has to do with the html cleaning. When I take it out, it works on both machines. Why though. Here is the code for the html cleaning and the error: 5 Dukes to whoever can help.
Code:
      * Removes the html formatting for a string and stores it in a file
      * @return java.lang.String
      * @param htmlText java.lang.String
      * @param outputText java.lang.String
     public static String removeHtml(String htmlText) throws IOException     
          String returnValue = "";
          EditorKit kit = new HTMLEditorKit();          
          Document doc = kit.createDefaultDocument();          
          // The Document class does not yet handle charset's properly.          
          doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);          
          try          
               // Create a reader on the HTML content.     
               Reader rd = new StringReader(htmlText);
               // Parse the HTML.               
               kit.read(rd, doc, 0);               
               //Write the cleaned text to file
               //writeOutputFile(doc, outputFile);     
               //Set returnValue to cleaned text
               returnValue = doc.getText(0, doc.getLength()).toString();
          catch (Exception e)          
               e.printStackTrace();          
          return returnValue;
     }Error:
java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:142)
at java.awt.Toolkit$2.run(Toolkit.java:533)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:524)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1179)
at java.awt.EventQueue.isDispatchThread(EventQueue.java:534)
at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
at javax.swing.text.AbstractDocument$AbstractElement.finalize(AbstractDocument.java(Compiled Code))
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java(Compiled Code))
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java(Compiled C

Here is the code where I am calling the html cleaner method. This works fine in a Windows env but fails in Solaris. If I comment out the call to removeHtml(value).trim it will work. It will even work if I make a different call removeHtml("string to strip") from the main method. Why would it work in one place but not the other in Solaris, and why would it always work in Windows? Does anybody have any ideas?
           while (rs.next ()) {
                for (int i = 1; i <= columnCount; ++i) {
                    String value = rs.getString (i);
                    if (rs.wasNull ()){
                        value = "<null>";
                    String columnName = rsmd.getColumnName(i).trim();
                    if(clean&&(columnName.equalsIgnoreCase("DESC")
                              ||columnName.equalsIgnoreCase("HEADER")
                              ||columnName.equalsIgnoreCase("TEXT")))
                         //Clean the text
                         //value = removeHtml(value).trim(); //remove html markup
                         value = value.replace('\n', ','); //remove new lines
                         value = value.replace('\r', ','); //remove carriage returns
                         value = replaceString(value, "&mdash", "-"); //remove dash markup
                       outputBuffer.append (value.trim());                      
                    outputBuffer.append ("||");
                outputBuffer.append ("{{NEWLINE}}");
            }

Similar Messages

  • ORA-22835: Buffer too small for CLOB to CHAR  on Solaris but not Windows

    Hi,
    I get the following error on Solaris but not Windows equivalent 10.2 installations
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4575, maximum: 4000)
    ORA-06512: at line 65
    the code causing the problem is:
    SELECT A.TABLE_NAME, A.DEFAULT_DIRECTORY_NAME, B.LOCATION,
    CASE
    WHEN INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')<>0 THEN
    SUBSTR(A.ACCESS_PARAMETERS,INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')+14,3)
    ELSE NULL
    END RSZ FROM USER_EXTERNAL_TABLES A, USER_EXTERNAL_LOCATIONS B
    WHERE A.TABLE_NAME = B.TABLE_NAME(+);
    the entire code being executed is:
    DECLARE
    EX BOOLEAN;
    CNT NUMBER;
    SQL1 VARCHAR2(4000);
    FLEN NUMBER;
    BSIZE NUMBER;
    TABNAME VARCHAR2(4000);
    DEFDIR VARCHAR2(4000);
    RSZ VARCHAR2(4000);
    ECODE NUMBER(38);
    ERRMSG VARCHAR2(4000);
    CURSOR C1 IS
    SELECT A.TABLE_NAME, A.DEFAULT_DIRECTORY_NAME, B.LOCATION,
    CASE
    WHEN INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')<>0 THEN
    SUBSTR(A.ACCESS_PARAMETERS,INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')+14,3)
    ELSE NULL
    END RSZ FROM USER_EXTERNAL_TABLES A, USER_EXTERNAL_LOCATIONS B
    WHERE A.TABLE_NAME = B.TABLE_NAME(+);
    TYPE C1_TYPE IS TABLE OF C1%ROWTYPE;
    REC1 C1_TYPE;
    BEGIN
    OPEN C1;
    FETCH C1 BULK COLLECT INTO REC1;
    FOR I IN REC1.FIRST .. REC1.LAST
    LOOP
    UTL_FILE.FGETATTR(NVL(REC1(I).DEFAULT_DIRECTORY_NAME,'CARDSLOAD'),
    REC1(I).LOCATION, EX, FLEN, BSIZE);
    IF EX THEN
    IF INSTR(TO_CHAR(REC1(I).RSZ),'\.')<>0 THEN
         DBMS_OUTPUT.PUT_LINE('INVALID RECORDSIZE OR CORRUPTED FILE');
         END IF;
         DBMS_OUTPUT.PUT_LINE('Table Name: ' || TO_CHAR(REC1(I).TABLE_NAME));     
    DBMS_OUTPUT.PUT_LINE('File Exists '||REC1(I).LOCATION);
         DBMS_OUTPUT.PUT_LINE('File Length: ' || TO_CHAR(FLEN));
         DBMS_OUTPUT.PUT_LINE('Record Size: ' || TO_CHAR(REC1(I).RSZ));
    DBMS_OUTPUT.PUT_LINE('Block Size: ' || TO_CHAR(BSIZE));
         DBMS_OUTPUT.PUT_LINE('# RECORDS: ' || FLEN/TO_NUMBER(REC1(I).RSZ));
         BEGIN
         CNT:='';
         SQL1:='SELECT COUNT(*) FROM '|| REC1(I).TABLE_NAME;
         EXECUTE IMMEDIATE SQL1 INTO CNT;
    DBMS_OUTPUT.PUT_LINE('SELECT COUNT FOR: ' || REC1(I).TABLE_NAME||' = '||CNT);
         EXCEPTION
         WHEN OTHERS THEN
         DBMS_OUTPUT.PUT_LINE('SELECT COUNT FAILED FOR: ' || REC1(I).TABLE_NAME);
         ECODE := SQLCODE;
    ERRMSG := SQLERRM;
    DBMS_OUTPUT.PUT_LINE(ECODE||' '||ERRMSG);
         END;
    ELSE
    DBMS_OUTPUT.PUT_LINE(REC1(I).TABLE_NAME||' '||REC1(I).LOCATION||' File Does Not Exist');
    END IF;
         DBMS_OUTPUT.PUT_LINE('-----------------------------------------------------');
    END LOOP;
    CLOSE C1;
    EXCEPTION
    WHEN OTHERS THEN RAISE;
    END;
    Any ideas why Solaris but not Windows would have this problem?
    Thanks,
    Victor

    Check out Bug 4715104 - ORA-22835 / truncated data from USER/ALL/DBA_EXTERNAL_TABLES

  • Illustrator extention export PDF file as PSD worked on Windows XP but not on Windows 7

    We have a extension that convert files to CMYK PSD with color profile attached. It worked fine (for most of files) on Windows XP but not on Windows 7.
      var expOpt: ExportOptionsPhotoshop = new ExportOptionsPhotoshop();
      expOpt.resolution = 300;
      expOpt.imageColorSpace = ImageColorSpace.CMYK;
      expOpt.embedICCProfile = true;
      doc.exportFile( psdFile, ExportType.PHOTOSHOP, expOpt );
    above code never throw any exception on Windows7, but just no file been saved. It only happened to convert PDF to PSD.
    If I manually open file in Illustrator (win7) and export it as PSD, I got ‘not enough memory’ error.  I googled a solution make the manual exporting worked but still the extension didn’t work.
    The solution for manual operation is set ‘additional plug-in folder’ for preferences-> plug-ins& Scratch disks’.
    Any advice?
    Thanks!
    Ling

    I apologize for not having an answer. I just wanted to chime in and say that I am having the exact same issue. I have never had this before. It's happened ever since I had my hard drive replaced and Illustrator has been reinstalled, so I am assuming that it's a preference somewhere that I have missed?

  • I can't open firefox the running but not responding window opens and says to close the existing window. I can't do that shutting down the computer doesn't do anything to help. I've done all the suggestions here. I've uninstalled and reinstalled firefox

    Firefox will not open. I get the firefox is already running but not responding window... I have tried rebooting with no help. I have tried to end the process via cntrl+shift+esc and nothing firefox is listed to end. I have tried find the app data via the run icon in the start up window, I have no run icon on this system (Acer with windows vista(?)
    == This happened ==
    Every time Firefox opened
    == The computer was hard shut down and did a improper shut down scan when it was restarted ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; FunWebProducts; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)

    I am having a similar problem. Running Xp.
    Latest revision of firefox.
    After using firefox for a while if I exit, parent.lock is locked and i have to reboot to reload firefox.
    I have killed all firefox applications from task manager (usually there are none). and I have tried 3 different "file unlock" programs including unlocker to no avail.
    I also recently installed a program that shows -all- open files, and parent.lock is not listed, and thus not closable/unlockable from there.

  • I see a distortion icon image in Windows 8.1 but not in windows 8

    I saw distorted icon image in windows 8.1 but not in Windows 8. This bug doesn't affect Windows 8.1 functionality but causes some icons to look ugly, distorted, fuzzy.This bug can be seen in "Delete confirmation dialog box". The
    folder icon in delete confirmation dialog box will look distorted and ugly. Black edges will appear around the icon and the icon will not look correct.The same thing also happens in "Send To" menu.
    Also heard that this bug is not related to graphics card driver or any other thing.
    Hope windows will take necessary actions to solve this bug as soon as possible so that users like us can be satisfied with the new windows 8.1.

    Try running SFC scan. Refer the following link for more information:
    http://support.microsoft.com/kb/929833/en-us
    Balaji Kundalam

  • IPod appears in iTunes 7 but not in Windows Explorer

    my iPod appears in iTunes 7 but not in Windows Explorer
    also i can't put any photo on iPod

    my iPod appears in iTunes 7 but not in Windows Explorer
    if you don't have "enable disk use" or "manually manage music" selected in your summary tab, that's normal.
    do you have either "enable disk use" or "manually manage music" selected in your summary tab?

  • My Ipod shuffle appears in itunes on mac but not on windows 7 even though we have the latest update of itunes. We have also tried the other solutions on the apple support site.

    My Ipod shuffle appears in itunes on mac but not on windows 7 even though we have the latest update of itunes. We have also tried the other solutions on the apple support site.

    Hi reinkristine86!
    I know you’ve said that you have tried other suggestions for troubleshooting this issue, so pardon me if you have already seen this article, but have you tried all of the troubleshooting steps listed in the article below?
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • SpryHiddenRegion error in IE7 but not FireFox

    Here is a copy of the code and the errors I get. Does anyone
    have any ideas why this would happen in IE only?
    <div spry:region='dsPages' class="SpryHiddenRegion"
    style="height:350px; overflow:auto;">
    <div spry:state='loading'>Loading data...</div>
    <div spry:state='error'>Failed to load
    data.</div>
    <table spry:state='ready' class="mylist">
    <tr id="top">
    <th onClick="dsPages.sort('id');">ID</th>
    <th onClick="dsPages.sort('name');">NAME</th>
    </tr>
    <tbody spry:repeatchildren='dsPages'
    spry:choose="choose">
    <tr spry:when="{id} == selectedID"
    class="SelectedLastClass" id="{ds_RowID}"
    onClick="dsPages.setCurrentRow('{ds_RowID}');pagesSelect({id});"
    spry:hover='HoverClass' spry:select='SelectedClass'>
    <td>{id}  </td>
    <td>{name}  </td>
    </tr>
    <tr spry:default="default" id="{ds_RowID}"
    onClick="dsPages.setCurrentRow('{ds_RowID}');pagesSelect({id});"
    spry:hover='HoverClass' spry:select='SelectedClass'>
    <td>{id}  </td>
    <td>{name}  </td>
    </tr>
    </tbody>
    </table>
    </div>
    ERROR:
    expected ':'
    and
    Spry.Data.updateRegion(spryregion1) caught an exception:
    [object Error]
    Thanks for your help.
    Jim

    i have reduced the code to the following:
    <script type="text/javascript">
    dsPages = new
    Spry.Data.XMLDataSet('views/pages/getdata_pages.cfm',
    '/dataset/row', {useCache: false});
    </script>
    <div spry:region='dsPages' class="SpryHiddenRegion"
    style="height:350px; overflow:auto;">
    <div spry:state='loading'>Loading data...</div>
    <div spry:state='error'>Failed to load
    data.</div>
    <table spry:state='ready' class="mylist">
    </table>
    </div>
    and i get the following error in IE but not FireFox:
    Spry.Data.updateRegion(spryregion1) caught an exception:
    [object Error]

  • Why does a specific site open with Firefox 3.6 running under Windows 7 Ulimate but not under Windows 7 professional?

    Why does a specific site open with Firefox 3.6 running under Windows 7 Ulimate but not under Windows 7 professional?
    == URL of affected sites ==
    http://www.bmw.co.uk

    Why does a specific site open with Firefox 3.6 running under Windows 7 Ulimate but not under Windows 7 professional?
    == URL of affected sites ==
    http://www.bmw.co.uk

  • Purchased Photoshop Elements 13, downloaded, entered serial numbers, then got the error message: OS Requirement not met, Windows Vista not supported.

    Purchased Photoshop Elements 13 (upgraded from Photoshop Elements 10), downloaded, entered serial numbers, then got the error message: "OS Requirement not met, Windows Vista not supported" now what?

    Sweetie Bug wrote:
    now what?
    System requirements | Adobe Photoshop Elements
    The last version of PSE which supported Vista was version 12.
    You'll either have to upgrade your operating system to Windows 7 or Windows 8 or return PSE 13 for a refund.

  • Remote desktop policy works on Windows 7, but not on Windows 8

    Hey all,
               We have a mixed environment of Windows 7 and Windows 8.1 machines.
    Our standard policy enables remote desktop on all machines (and another part of the policy sets the groups allowed to remote access).
    On windows 7, we are able to RDP to all machines
    On windows 8.1, remote clients cannot connect, with a timeout error. This occurs from other Windows 7 or Windows 8 machines.
    I have confirmed:
    - The policy has applied (by looking in the registry under HKLM\software\policies\Microsoft\windowsNT\Terminal services)
    - The windows firewall is letting the RDP traffic through (and the issue still occurs if the firewall is off)
    - The group policy templates being used in the policy are Windows 8.1 and the GPO was created on a Windows 8.1 machine
    - If I set the registry key HKLM\System\CurrentControlSet\Control\Terminal Server\fDenyTSConnections = 0, manually or via GP Prefs, it still does not work
    - There are no visible errors in the application, system or security logs
    - I have compared registry snapshots before and after the change below and cannot see any differences in the relevant keys
    If I take the machine out of the OU and place it into a "noPolicy" OU, connections still do not work (after setting the regkey above) - however, if I use the GUI to turn off remote desktop then turn it back on, it works. I can then place the computer
    back in the original OU (where policy is applied) and it still works.
    All this leads me to believe that remote desktop is not being turned on "properly" (for want of a better term) by group policy and doing so via the GUI is doing something different/additional.
    So...
    - Has anyone seen this before ?
    - Anyone know how to turn on some sort of trace logging for this ? I have been unable to find a setting for this as yet ?
    Thanks.

    Hi Ben,
    Did this happen to all Windows 8.1 clients?
    >>however, if I use the GUI to turn off remote desktop then turn it back on, it works. I can then place the computer back in the original OU (where policy is applied) and it still works.
    Did we try restarting the machine to tackle the issue, for sometimes restarting can be helpful.
    >>Anyone know how to turn on some sort of trace logging for this ?
    I am not sure this is what we want for tracing this issue, but for tracing group policy processing, Gpsvc.log can be helpful.
    Regarding how to collect Gpsvc.log, the following blog can be referred to for more information.
    Userenvlog for Windows Vista/2008/Win7
    http://blogs.technet.com/b/mempson/archive/2010/01/10/userenvlog-for-windows-vista-2008-win7.aspx
    Best regards,
    Frank Shen

  • D2kWutil error at runtime, but not in Forms Developer

    Hi,
    I need 'Form on top as SDI' (C/S 6.0.8.) and it works on my WNT machine stabil, also at runtime:
    W-N-F-I Trigger
    OnTop.Window_On_Top('WINDOW1');
    On my WXP machine the same code
    The runtime start with usesdi=NO is OK, but not with usesdi=YES :
    there is a error: 'FRM 06503: PL/SQL Function returned without value.'
    Here is a debug-log from the error run:
    <00> SetDebug: Logging to File chk-debug-new.log
    <99> Win_API(init): Searching For DLL (D2KWUT60.DLL)
    <99> Win_API(init): Preload location not set
    <99> Win_API(init): DLL loaded from D2KWUTIL60_PATH (d:\orawork\d2kwut60\)
    <99> Win_API(init): DLL Found and Loaded
    <99> PreLoad: Args: (None)
    <99> DLLVersion: Args: <No Arguments>
    <99> Register_Function_Call: Ftn="d2kwutil_Version", DLL Count=1, Initial Reg
    <99> DLLVersion: Result: Version=D2KWUT60.DLL Version 6.0.6.0 Production
    <99> Play_Wav: Args: FileName="SystemStart", Asynchronous=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_PlaySound", DLL Count=1, Initial Reg
    <99> Play_WAV: Result: RC=1
    <99> Get_Parent_Window: Args: Window_Handle =198416, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_ParentWin", DLL Count=1, Initial Reg
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    <99> Get_Parent_Window: Args: Window_Handle =329460, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    <99> Get_Parent_Window: Args: Window_Handle =329460, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    The ok debug:
    <00> SetDebug: Logging to File chk-debug-new.log
    <99> Win_API(init): Searching For DLL (D2KWUT60.DLL)
    <99> Win_API(init): Preload location not set
    <99> Win_API(init): DLL loaded from D2KWUTIL60_PATH (d:\orawork\d2kwut60\)
    <99> Win_API(init): DLL Found and Loaded
    <99> PreLoad: Args: (None)
    <99> DLLVersion: Args: <No Arguments>
    <99> Register_Function_Call: Ftn="d2kwutil_Version", DLL Count=1, Initial Reg
    <99> DLLVersion: Result: Version=D2KWUT60.DLL Version 6.0.6.0 Production
    <99> Play_Wav: Args: FileName="SystemStart", Asynchronous=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_PlaySound", DLL Count=1, Initial Reg
    <99> Play_WAV: Result: RC=1
    <99> Get_Parent_Window: Args: Window_Handle =526002, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_ParentWin", DLL Count=1, Initial Reg
    <99> Get_Parent_Window: Result: RC=198372
    What is wrong?
    Best Regards
    Friedhold

    Hi Duncan,
    thank you for the tip:
    I've modified the OnTop Package and it works fine
    in SDI-mode (the Form is permanent on top!):
    PROCEDURE Window_On_Top (Window_Name IN WINDOW) is
    hWnd PLS_INTEGER;
    hParent PLS_INTEGER;
    iRC PLS_INTEGER;
    BEGIN
    hWnd := to_number(get_window_property(Window_Name,WINDOW_HANDLE));
    ------- hParent := win_api_utility.get_parent_window(hWnd,TRUE,FALSE);
    ------- if hParent <> 0 then
    ------- hWnd := hParent;
    ------- end if;
    iRC := i_SetwindowPos(fh_SetWindowPos,hwnd,-1,0,0,0,0,19);
    END;
    Best Regards
    Friedhold

  • When I connect with my computer, I see the I-phone in I-tunes, but not in Windows Explorer?

    I connect my I-phone with my computer. In I-tunes the phone is there, but not s a removable device in Windows Explorer. It should be recognised I assume. Who knows the answer? Thanks in advance.
    Arend from Holland

    So what sync settings do you currently have enabled from under the iPod's Summary and Music tabs?  Any error messages when you try to sync?
    To be sure, reset sync warnings. To do this, right->click the iPod under Devices and choose Reset Warnings. Then resync your iPod.
    B-rock

  • Cannot install itunes. get error message program RSVCR80 not installed. windows error 126.

    cannot update or install itunes. ger error message RSVCR80 not installed. windows error 126.

    Hey sndlot,
    Follow the steps in this link to resolve the issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    When you uninstall, the items you uninstall and the order in which you do so arearticularly important:
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    Let us know if following that article and uninstalling those components in that order helped the situation.
    Regards,
    Delgadoh

  • Insert BLOB error in IAS but not in JDeveloper

    Hi
    Our application have a Servlet who executes an INSERT using a PrepareStatement (created by the Transaction of an ApplciationModule)
    In Jdeveloper (10.1.2) this works OK
    But when deploy it in the IAS (904) we have an error:
    java.sql.SQLException: Io exception: Connection reset
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2094)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1986)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2697)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
    at com.asorco.sgie.controller.servlets.general.Archivo.uploadFile(Archivo.java:176)
    at com.asorco.sgie.controller.servlets.general.Archivo.doPost(Archivo.java:118)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:733)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.ja
    va:192)
    at java.lang.Thread.run(Thread.java:534)
    In the IAS, Im using the jars used in JDeveloper (classes12.jar, classes12dms.jar, nls_classes12.jar).
    Any knows the reason?
    Thank you!

              The effect to use <jsp:forward> or RequestDispatcher.forward is different between
              BEA and Tomcat (even Websphere). Weblogic stores the output in a buffer, before
              the buffer reaches the limit, you can call those forward methods without obvious
              problems. Tomcat (and Websphere I ever tested) is not so tolerable. If you have
              send out something via Servlet writer or JSPWriter, or have something like HTML
              tags/text before forwards, chances are big to encounter the exceptions you have.
              So I use more include methods to assemble my JSPs and servlets, for the purpose
              of portability.
              "Aidan Monroe" <[email protected]> wrote:
              >
              >I have a .war file that runs perfectly in WebLogic 7.0. Today I tried
              >to run that
              >same .war in Tomcat 4.0.6. Unfortunately, it did not run. I get the following
              >error:
              >
              >java.lang.IllegalStateException: Cannot forward after response has been
              >committed
              >
              >Now, I know what this error means, but I don't know why I would get it
              >when I
              >run in Tomcat but not WebLogic. Does WebLogic do something to "insulate"
              >me from
              >this error that perhaps Tomcat does not do?
              >
              >Aidan
              >
              

Maybe you are looking for

  • Limitation on number of adf components on a jsp page?

    I am currently working on a page which comprises a number of af:table components with underlying af:column components for each table. The page also contains other adf components. My question is as stated above, is there a limitation on the number of

  • Probably a stupid display question

    I shoot with a canon xh-a1 edit with a mbp 15". What im wondering is if I wanted to edit on a bigger screen then my laptop and do some coloring, would it be stupid to think that using a lcd tv as a display would work? The reason I ask is I could go t

  • Why won't my Organizer window open?

    Suddenly, my Elements 10 won't work.  The Organizer window just opens in a minimized version at the lower left corner of the screen.  What's going on?

  • Program won't load: Waves plug-in incompatible

    Hi, I'm a totally new user to Final Cut Express HD. I just installed it yesterday, and the program won't even completely load. It gives me an error saying "The Waves plug-in you have opened is too old or incompatible" then it will say "Some Waves plu

  • Clone stamp tool - my "brush" outline has disappeared. How do I get the outline back?

    I have been using the clone stamp tool for a few weeks without any problems, but a few days ago the outline of the brush disappeared.  I can still clone an area and replace the undesired area, however, I can't see the exact area that will be affected