Return-Path: X-Original-To: apmail-poi-user-archive@www.apache.org Delivered-To: apmail-poi-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE856B5D3 for ; Tue, 10 Jan 2012 22:12:57 +0000 (UTC) Received: (qmail 22881 invoked by uid 500); 10 Jan 2012 22:12:57 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 22831 invoked by uid 500); 10 Jan 2012 22:12:56 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 22823 invoked by uid 99); 10 Jan 2012 22:12:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 22:12:56 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.82.241.195] (HELO mail119.messagelabs.com) (216.82.241.195) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 22:12:46 +0000 X-Env-Sender: tr3374@att.com X-Msg-Ref: server-15.tower-119.messagelabs.com!1326233544!9849203!1 X-Originating-IP: [144.160.20.146] X-StarScan-Version: 6.4.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 19870 invoked from network); 10 Jan 2012 22:12:24 -0000 Received: from sbcsmtp7.sbc.com (HELO mlpd194.enaf.sfdc.sbc.com) (144.160.20.146) by server-15.tower-119.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 10 Jan 2012 22:12:24 -0000 Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd194.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q0AMAsSq007164 for ; Tue, 10 Jan 2012 17:10:54 -0500 Received: from sflint04.pst.cso.att.com (sflint04.pst.cso.att.com [144.154.234.231]) by mlpd194.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q0AMAn3n006946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 10 Jan 2012 17:10:49 -0500 Received: from GAALPA1MSGHUB9D.ITServices.sbc.com (gaalpa1msghub9d.itservices.sbc.com [130.8.36.90]) by sflint04.pst.cso.att.com (RSA Interceptor) for ; Tue, 10 Jan 2012 17:12:05 -0500 Received: from GAALPA1MSGUSR9D.ITServices.sbc.com ([169.254.4.51]) by GAALPA1MSGHUB9D.ITServices.sbc.com ([130.8.36.90]) with mapi id 14.01.0339.001; Tue, 10 Jan 2012 17:12:05 -0500 From: "RUSSELL, TIMOTHY J" To: "user@poi.apache.org" Subject: POI stopped working after server config Thread-Topic: POI stopped working after server config Thread-Index: AczP5OHrPSQS99kxQDmvSSDUQBFKeQ== Date: Tue, 10 Jan 2012 22:12:04 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.70.99.16] Content-Type: multipart/alternative; boundary="_000_C831C68F711E584F92114875FF149D730DA921GAALPA1MSGUSR9DIT_" MIME-Version: 1.0 X-RSA-Inspected: yes X-RSA-Classifications: public X-RSA-Action: allow --_000_C831C68F711E584F92114875FF149D730DA921GAALPA1MSGUSR9DIT_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Weblogic 10.3 / Java 1.6.0_18 POI API is working on some servers not others. It appears it stopped working on a bunch of servers after the WebLogic doma= in was re-configured. The domain was re-created, but the application speci= fic files that were in place prior to the domain build were copied back in = place after the domain build (so not entirely built from scratch, so most f= iles from working box were reused), fairly straightforward process, but obv= iously something has been changed because it stopped working. Defining java.io.tmpdir as follows JAVA_OPTIONS=3D'-Djava.io.tmpdir=3D/opt/app/p5csp1m240/tmp4java/' When I click on the link inside the application to export the data to an Ex= cel spreadsheet I see the poifiles directory is created in the directory ab= ove, so this confirms the application is the java.io.tmpdir value I assigne= d. On a working system, when I do the same, a file is created in the poifi= les directory. On the non-working system this file is not created. Anyone have an idea what might be preventing the API from creating the file= in the poifiles directory? Here is the exception: <[weblogic.servl= et.internal.WebAppServletContext@6c9e4e67 - appName: 'datamatrix', name: 'd= atamatrix.war', context-path: '/datamatrix', spec-version: '2.5'] Root caus= e of ServletException. com.att.datamatrix.exception.ApplicationException: Error during export to E= xcel: com.att.datamatrix.exception.ApplicationException: Error during expor= t to Excel. at com.att.datamatrix.action.EQGridPrintAction.execute(EQGridPrintA= ction.java:84) at org.apache.struts.action.RequestProcessor.processActionPerform(R= equestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcess= or.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.jav= a:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:= 414) Truncated. see log file for complete stacktrace com.att.datamatrix.exception.ApplicationException: Error during export to E= xcel. at com.att.datamatrix.action.EQGridPrintAction.execute(EQGridPrintA= ction.java:77) at org.apache.struts.action.RequestProcessor.processActionPerform(R= equestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcess= or.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.jav= a:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:= 414) Truncated. see log file for complete stacktrace > <[weblogic.servl= et.internal.WebAppServletContext@6c9e4e67 - appName: 'datamatrix', name: 'd= atamatrix.war', context-path: '/datamatrix', spec-version: '2.5'] Root caus= e of ServletException. com.att.datamatrix.exception.ApplicationException: Error during export to E= xcel: com.att.datamatrix.exception.ApplicationException: Error during expor= t to Excel. at com.att.datamatrix.action.EQGridPrintAction.execute(EQGridPrintA= ction.java:84) at org.apache.struts.action.RequestProcessor.processActionPerform(R= equestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcess= or.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.jav= a:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:= 414) Truncated. see log file for complete stacktrace com.att.datamatrix.exception.ApplicationException: Error during export to E= xcel. at com.att.datamatrix.action.EQGridPrintAction.execute(EQGridPrintA= ction.java:77) at org.apache.struts.action.RequestProcessor.processActionPerform(R= equestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcess= or.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.jav= a:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:= 414) Truncated. see log file for complete stacktrace > --_000_C831C68F711E584F92114875FF149D730DA921GAALPA1MSGUSR9DIT_--