Error while opening a Office 2007 Excel (.xlsx) from a Servlet

Hi All,
Actually i am trying to open an excel file from a servlet. It works fine when the file format is .xls. But if it is .xlsx it gives the below error.
"The file you are trying to open .xlsx is in a different format than specified by the file extension. verify the file is not corrupted and is from trusted source before opening the file. Do you want to open the file now?"
There is a link in the application. When we click the link it calls the servlet. The servlet calls the DAO. The DAO queries the DB and the whole output is stuffed into a StringBuffer and the StringBuffer is written to the ServletOutputStream. I have used
File newFile = new File("ABC.xslx");
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
I have also included the below in the web.xml file.
<mime-mapping>
<extension>xlsx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type></mime-mapping>
Kindly help me out.
Thanks.

Hi,
I tried to create an excel through POI 3.5 using a simple java program. I am getting the same error when i try to open it.Below is my code. Kindly let me know the problem.
I am getting the error ""The file you are trying to open .xlsx is in a different format than specified by the file extension. verify the file is not corrupted and is from trusted source before opening the file. Do you want to open the file now?" when opening the .xlsx file.
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
public class test {
public static void main(String args[]) throws IOException{
//ExportLobBean exportLobsForm = null;
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet();
//ArrayList lobList = ExportLobBO.getArrayList();
//int length = lobList.size();
int rowCount=0;
int count=0;
HSSFRow headerRow = sheet.createRow((short) 0);
HSSFRow dataRow = null;
//Creating Column Names
headerRow.createCell((short)0).setCellValue("LOB-ID");
headerRow.createCell((short)1).setCellValue("LOB-NAME");
headerRow.createCell((short)2).setCellValue("WEIGHT");
for(int i=0;i<5;i++){
rowCount++;
sheet.createRow((short)rowCount);
//exportLobsForm = (ExportLobBean)lobList.get(count);
headerRow.createCell((short)0).setCellValue(1);
//LOGGER.info("Lob id "+exportLobsForm.getStrLobId());
headerRow.createCell((short)1).setCellValue(2);
//LOGGER.info("Lob name"+exportLobsForm.getStrLobName());
headerRow.createCell((short)2).setCellValue(3);
//LOGGER.info("Lob weight"+exportLobsForm.getStrLobWeight());
count++;
File f = new File("c:\\test.xlsx");
FileOutputStream fos = new FileOutputStream(f);
wb.write(fos);
}

Similar Messages

  • Error While Opening JSP in Report Builder converted from RDF

    Hi,
    I am using Oracle reports 9i to convert rdf into jsp and invoke this jsp using OC4J to get HTML report.
    The problem i am facing is that while converting RDF to JSP conversion went on successfull but when iam trying to open the JSP in Report builder it gives me error REP-2: Unable to retrieve string from message file.
    When i want to see the paper layout it is not present and datamodel is also corrupted. In the data model sources for some fileds become null and one addtional group is appearing with no column in it.
    Urgent help is needed.
    For any help Thanks in advance.
    Regards
    Sanjay Tripathi

    Hello Sanjay,
    There are some known issues in Reports 9i due to which XML/JSP reports do not open correctly in Builder, and throw the REP-0002 error. These bugs are currently being looked into, and will be addressed soon.
    1. If your report is using ref cursor queries, and you are hitting the above error, please ensure you connect to a database before you open the report.
    2. If your report has summary/formula columns, please try to create the JSP report without these columns and then try to open it in Builder.
    Thanks,
    The Oracle Reports Team.

  • Getting error while opening Enterprise project type (EPT)

    Hello All,
    In Project Server 2013, I am getting error while opening any Enterprise project type (EPT) from EPT page or when I am trying ot create any new EPT. How can I troublshoot this, please help.
    Thanks in advance

    I searched ULS logs and got the below error details.
    Exception occured in method 'Workflow.ReadWorkflows' System.Data.NoNullAllowedException: Column 'WORKFLOW_ASSOCIATION_NAME' does not allow nulls.     at System.Data.DataColumn.CheckNullable(DataRow row)     at System.Data.DataColumn.CheckColumnConstraint(DataRow
    row, DataRowAction action)     at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)     at System.Data.DataTable.SetNewRecordWorker(DataRow row,
    Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)     at System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID,
    Int32 pos, Boolean fireEvent)     at System.Data.DataTable....
    Let me know your advise on this.

  • Power view error while opening excel fine in SharePoint 2010

    I am getting an error while opening an excel file:
    "The following features
    are not supported in the browser and might not display or might display only partially: 
    • Comments, Shapes, or other
    objects 
    Some features, such as external
    data queries, display cached data which can only be refreshed in the client version of Excel."
    Is this issue browser
    related or SharePoint related?

    Hiya,
    it depends what that file contains. There are a lot of new features for Excel, Excel services in the newer versions of SharePoint and SQL server. So it really depends on which of these features your using in your excel file.
    What version is your SharePoint and SQL server(database services) and SQL Reporting?
    There is a pretty specific article for that error message relating to PowerPivot.
    https://msdn.microsoft.com/en-us/library/ff487973.aspx
    And some additional information on Excel services
    http://blogs.office.com/2005/12/01/excel-services-part-12-unsupported-features/

  • Error while opening excel integration with sap

    Hi
    While view planning with excel integration in SAP, I am getting error. I am getting this error in CCA and COPA also.
    Can anybody help me how to resolve the issue. Please see the meessage
    Error while opening document
    Message no. SOFFICEINTEGRATION143
    Diagnosis
    An error occurred in the desktop application while opening a document.
    Procedure
    Check first whether you can insert a document from this desktop application as an embedded object in another application. The necessary menu item is usually 'Insert --> Object'. The application then lists all of the OLE document types. Choose the type corresponding to the desktop applciation. If the insertion fails, the error is in the desktop application itself.
    This error has various causes. Often, it is caused by activating certain add-ins. Sometimes, the desktop application is wrongly installed. The error should not recur once you have disabled any add-ins or reinstalled the desktop application.
    Procedure for System Administration
    If you cannot solve the problem as described above, enter a problem message. There are notes relating to how to generate the log file using the program SAPROFFICEINTEGRATIONTRACE.
    Regards
    Sekhar Datta

    Hi ,
    I think you are using older version,use microsoft excel 2007 version,then it will opens.
    Regrads,
    SVS
    Edited by: svskumar on Aug 19, 2010 12:18 PM

  • Getting error while opening Excel document from SharePoint site

    Hello All,
    I am getting following error while opening Excel document from SharePoint site.
    This issue appears when we open Excel document from Windows>> Run using below mentioned command:
    Excel.exe "{File Name}"
    If once I go to Excel back stage and browse for the SharePoint location, then this problem disappears.
    I have a work around for this issue but main problem is that i do not have any work around when i need to open Exel document using Excel COM interop in C#.
    Thanks,
    Amit Bansal
    Amit Bansal http://www.oops4you.blogspot.com/

    Hi Amit Bansal,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issues involve Excel application.
    According to the description, you got an error when you open the document form SharePoint site.
    Based on my understanding, this issue maybe relative to the SharePoint, I would like move it to
    SharePoint 2013 - General Discussions and Questions forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while opening office document

    Hello Gurus!
    I try to use word intergation in WebIC (CRM 5.0). In "Create lead" trunsaction (CL_CRM_IC_ABOXSAMPLE_CR_LEAD class) I have Attachment tab. When I click "Create document with template" buton I get "Error while opening office document" error. In IE settings ActiveX is on. What should I do to make it work?
    Best regards,
    Artur.

    Hello Artur,
    Try this Note:
    Note 606745 - CRM Content Management: Document does not open
    It's not exactly for that issue but it may help.
    Good Luck
    Eli Steklov
    Please Reward Points if it Helped

  • How to connect XLSX(MS Office 2007 Excel file) in java

    i successfully connected ms office 2003 *.xls* file with the help of JXL library
    can any one tell me how can i connect XLSX (MS Office 2007 Excel file) in java.

    http://www.smartxls.com/indexj.htm is commercial library (not free) also a poor documentation
    can you give me a sample code of reading and writing xlsx file
    http://poi.apache.org/spreadsheet/index.html free library.
    but sample code are difficult to understand .
    if you have a good and simple example code please give me OR any other reffrences

  • Error while opening the BO report

    Dear Experts,
    Am getting following error while opening the reports through Xcelsius.You cannot amke a connection to the BusinessObjects web service ( LO 02010)
    Failed to get the document information. (LO 26315)
    Some objects are no longer available in the universe .See your BO admin ( Error : WIS 00001)
    Actually am the BO administrator , Yesterday I 've changed license key for Xcelsius and BO Enterprise...

    Hi ,
    You can view the following URl ,which may be helpful for you.
      Live office excel error
    -Thanks,

  • Error while open bps layout

    Hi guys...
    i have a big problem and i need some answers from you.
    I have in my laptop saplogon 710 Final Release File version 7100.1.0.1027
    and microsoft office 2007...
    when i try to open a planning folder the system gives me the following error:
    "Error while opening document" and the perfomance assistant gives me
    "Message no. SOFFICEINTEGRATION143"....
    I cant enter in the planification folder with my laptop, and i dont know what else
    to do.
    Previously I had the saplogon 6.40 and office professional 2003, and it doesnt work anyway...
    please, i need help..
    does anybody know how to solve it?
    Regards,
    Francis.

    Hi Guillermomo,
    This thread may help you to resolve your error.
    Re: Error in Adobe life cyle designer
    Thanks
    Allen

  • Error while opening XL reporter

    Hi Experts,
    I get following error while opening XL Reporter
    Error! Server communication failed!
    Cause: Error! Unable to get document!
    Type: 36
    Cause:XML document must have to top level element.
    Tried it on several clients, Win XP, Win 7 but can not open XL Reporter
    SAP Install is PL47 2007A
    Any suggestions??
    Gr, Mark

    To get SAP repoter in windows 7
    1)
    XLR: "Report Initialize", (Error (666)), Automation Error
    u2022     Error Messages
    u2022     Reporting
    u2022     XL Reporter
    After installing XL Reporter, you may encounter these error messages when attempting to run a report from the SBO menu.
    The following error messages occur because XL Reporter does not support .Net 2.0. More than likely you have installed .Net 2.0 for some other software and it is interfering with the execution of the XL Reporter program. SAP indicates that if you copy a certain file to the Excel Folder under your program files, it will correct the problem. Basically the file instructs the system to use .Net 1.1 instead of 2.0.
    The SAP Service Note 918188 (SAP "S" number required) states that a file needs to be added to the root of the Excel folder. This folder is normally found under: C:\Program Files\Microsoft Office\
    in a folder called something like EXCEL 10 or Excel 11. I am running two versions of Excel so I had to put the following file under the the following directory: C:\Program Files\Microsoft Office\Excel2003\OFFICE11
    If you have access to the service site, then access the note mentioned above, and download the file. Otherwise, you will need to create your own.
    Modify the file called "excel.exe.config" lines with the following contents:
    supportedRuntime version="v1.1.4322"
    supportedRuntime version="v1.0.3705"
    requiredRuntime version="v1.0.3705"
    2)
    Regedit for the excel add-on
    3)
    Missing file - MetaInfo.xml (In SAP addon folder)

  • Getting error while opening document in SharePoint 2010

    Hi,
    I got the below error while opening a document in SharePoint library.
    "The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document."
    Please help me to resolve.
    Krishnasandeep

    Hi,
    According to your post, my understanding is that you got the error while opening a document in SharePoint library.
    The issue can occur when you have several different versions of Office installed on the same computer and you have
    several different versions of the OWSSUPP DLL available which are not registered correctly.
    To resolve this issue you should disable Microsoft SharePoint Foundation Support in any other version of Office installed on the machine and then repair Office.
    For more information: you can refer to:
    You get an error message when you open an Office file from SharePoint on a computer on which you installed more than one version of Office
    In addition, please ensure that you are using Internet Explorer (32 bit) not the Internet Explorer (64-bit).
    Please Verify the “Sharepoint OpenDocuments Class” addon is installed and enabled. If it is not reinstall Office.
    Please refer to:
    Solved: The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document.
    And, if the Office tools can’t install correctly will also cause the error.
    Here is a thread about this issue, you can check it. The replies include most of the possible reasons and gave the solutions.
    http://social.msdn.microsoft.com/Forums/en-US/06a4943a-5150-44c5-ae6b-3354c85396f5/the-document-could-not-be-opened-for-editing-a-microsoft-sharepoint-foundation-compatible
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Getting correlation error while opening document library in SharePoint 2010

    Hi,
    I installed SQL Server 2008 R2 SP1 and SharePoint 2010 on Windows Server 2008 R2. Everything went fine for first days. Now I am getting error while opening any of the document libraries. However lists are opening fine.
    Error:
    An unexpected error has occured.
    Troubleshoot issues with Microsoft SharePoint Foundation
    Correlation ID: fa54267f-4436-8298-c7698977728c
    I checked the logs, I showing some error with the line http://Microsoft.Office.Server.UserProfiles/GetProfileProperties
    Please let me know if you have any idea about this error or let me know if you need further inputs from me. Thanks.

    Hi Tarique,
    Whether you have granted the user proper permissions on this site. You should make sure the user has permissions on the site.
    In addition, there are some reasons for the log-in issue, please take a look at:
    http://sharepointsolutions.blogspot.com/2008/06/how-do-i-make-our-sharepoint-site-stop.html
    http://sharepointsolutions.blogspot.com/2008/06/how-do-i-make-our-sharepoint-site-stop_17.html
    http://dinesql.blogspot.com/2011/01/cannot-login-to-sharepoint-2010-site.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Executable JAR using ADF displays JBO-26061: Error while opening JDBC conn.

    I'm trying to create a simple Java Desktop Application (ADF) in JDeveloper 11g (11.1.2.3.0) which will run on Windows XP (SP3) simply by clicking the JAR file. I have encountered many problems and found solutions but I am now completely stuck. Currently when I execute the JAR I get (oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
    Inside JDeveloper it runs perfectly but I want it to run without JDeveloper. If I run the executable string JDeveloper displays when you click run, this also works fine.
    Here's what I've done -
    Created a demo app using the 'Building a Java Swing application with Oracle ADF' tutorial as a proof of concept.
    Created a deployment profile 'Client Jar Deployment Profile'
    Create a new file group to include all the JAR files.
    Create a manifest.mf listing all the JAR files - making sure not to exceed 70 bytes on each line and every new line starts with 2 spaces and at the end of the line there is no trailing spaces.
    Made sure the jps-config.xml and cwallet.sso is included in the META-INF folder of the JAR.
    I've deployed the JAR file to a folder which contains all the associated JAR files, made sure the manifest.mf is pointing to the correct files and executed my jar (double clicked it) after a short pause (2-3 seconds) that's when the error pops up.
    Here is the error stack
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:218)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:61)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:968)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.adf.model.binding.DCBindingContainer.setDataControl(DCBindingContainer.java:571)
         at oracle.jbo.uicli.jui.JUPanelBinding.useDefaultDataControl(JUPanelBinding.java:912)
         at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:125)
         at view.Form.setBindingContext(Form.java:370)
         at view.Form.main(Form.java:425)
    Here is my manifest
    Manifest-Version: 1.0
    Class-Path: adf-controller-security.jar adf-dt-at-rt.jar adf-share-bas
    e.jar adf-share-ca.jar adf-share-security.jar adf-share-support.jar a
    dfdt_common.jar adflibrary.jar adflogginghandler.jar adfm.jar adfshar
    embean.jar adftransactionsdt.jar bc4j-mbeans.jar bc4jimdomains.jar ca
    che.jar commons-cli-1.0.jar commons-el.jar db-ca.jar dms.jar dvt-jcli
    ent.jar dvt-utils.jar fmw_audit.jar forms-1.0.6.jar groovy-all-1.6.3.
    jar identitystore.jar inspect4.jar jacc-spi.jar javatools-nodeps.jar
    javax.activation_1.1.0.0_1-1.jar javax.jsp_1.2.0.0_2-1.jar javax.mail
    _1.1.0.0_1-4-1.jar javax.management.j2ee_1.0.jar javax.management_1.2
    .1.jar javax.security.jacc_1.0.0.0_1-1.jar javax.servlet_1.0.0.0_2-5.
    jar jdev-cm.jar jdev-rt.jar jewt4.jar jmf.jar jmxframework.jar jmxspi
    .jar jps-api.jar jps-common.jar jps-ee.jar jps-internal.jar jps-manif
    est.jar jps-unsupported-api.jar jsp-el-api.jar ldapjclnt11.jar list.t
    xt mdsrt.jar META-INF model ojdbc6dms.jar ojdl.jar ojmisc.jar oracle-
    el.jar oracle.ucp_11.1.0.jar oraclepki.jar orai18n-mapping.jar orai18
    n.jar oramds.jar ordhttp.jar ordim.jar osdt_cert.jar osdt_core.jar os
    dt_ws_sx.jar osdt_xmlsec.jar resourcebundle.jar runtime12.jar share.j
    ar xml.jar xmlef.jar xmlparserv2.jar
    Main-Class: view.Form
    All of these JARs are in the same folder as my JAR.
    Here's the tutorial i followed - http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_19/jdtut_11r2_19.html
    Any help would be greatly appreciated. Perhaps I'm misunderstanding and Java/ADF applications are not supposed to work without the WLS.
    Many thanks,
    Christian.
    Edited by: ChrisDugdale on Nov 15, 2012 2:41 AM

    That's excellent advice, changing the connection type, I tried this before, it still gives the same error so I didn't think it had much to do with my problem but what I didn't notice is it gives a more meaningful error stack - see below, compared to my original error stack, i think you're on to something good! So, clearly the password isn't being packaged into the JAR, now I thought this might be happening which is why I added "DeployPassword" in the connections.xml file but that hasn't made a difference. I can see the connections.xml in my JAR if i expand it in the META-INF folder, so I know that's included ok, along with jps-config.xml/adf-config.xml/adfm.xml/cwallet.sso/MANIFEST.MF also in the META-INF folder (inside the JAR)
    I can see the password element contains no value, but I tried changing this before with no luck. I'll try again.
    connections.xml -
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <References xmlns="http://xmlns.oracle.com/adf/jndi">
    <Reference name="FOD" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="FOD" xmlns="">
    <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="sid">
    <Contents>DEVSHED</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="subtype">
    <Contents>oraJDBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="port">
    <Contents>1521</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="hostname">
    <Contents>moe</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="user">
    <Contents>fod</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="password"/>
    <StringRefAddr addrType="DeployPassword">
    <Contents>true</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oraDriverType">
    <Contents>thin</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    </References>
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:129)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:978)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:130)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:213)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.adf.model.binding.DCBindingContainer.setDataControl(DCBindingContainer.java:571)
         at oracle.jbo.uicli.jui.JUPanelBinding.useDefaultDataControl(JUPanelBinding.java:912)
         at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:125)
         at view.Form.setBindingContext(Form.java:370)
         at view.Form.main(Form.java:425)
    Caused by: java.sql.SQLException: ORA-01005: null password given; logon denied
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:689)
         at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:452)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:384)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:811)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:238)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:144)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         ... 31 more
    ## Detail 0 ##
    java.sql.SQLException: ORA-01005: null password given; logon denied
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:689)
         at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:452)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:384)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:811)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:238)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:144)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:129)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:978)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:130)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:213)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.adf.model.binding.DCBindingContainer.setDataControl(DCBindingContainer.java:571)
         at oracle.jbo.uicli.jui.JUPanelBinding.useDefaultDataControl(JUPanelBinding.java:912)
         at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:125)
         at view.Form.setBindingContext(Form.java:370)
         at view.Form.main(Form.java:425)
    ----- Level 1: Detail 0 -----
    java.sql.SQLException: ORA-01005: null password given; logon denied
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:689)
         at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:452)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:384)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:811)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:238)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:144)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:129)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:978)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:130)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:213)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4697)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.adf.model.binding.DCBindingContainer.setDataControl(DCBindingContainer.java:571)
         at oracle.jbo.uicli.jui.JUPanelBinding.useDefaultDataControl(JUPanelBinding.java:912)
         at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:125)
         at view.Form.setBindingContext(Form.java:370)
         at view.Form.main(Form.java:425)

  • JBO-26061: Error while opening JDBC connection

    Hi,
    I have pasted this thread in Jdev forum for several days. But I still cannot solve this problem. The ADF application works fine in Jdev 11g's default server. After the login page, it can go to the correct jspx page. I create a new weblogic domain. Then, I deploy the ADF application to this domian. However, after the login page, it cannot go to the correct jspx page and just shows a blank page. I paste the log in this thread.
    ---------------------AdminServer.log------------part 3---------------------------------
    HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, /
    Accept-Language: zh-cn
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; InfoPath.2)
    Connection: Keep-Alive
    Cookie: JSESSIONID=pqQvK1Qp41lvrWJng2g4KmmpttQMjYcX6s33BQJJkLgDSzXzJv6M!1351922251
    ]] Root cause of ServletException.
    javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'com.sunz.view.wfruntime.pagebean.DaiBanBusinessBean'
    at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:67)
    at oracle.adfinternal.view.faces.unified.taglib.layout.UnifiedToolbarTag.doStartTag(UnifiedToolbarTag.java:50)
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection
    java.sql.SQLException: ORA-01005: null password given; logon denied
    ---------------------AdminServer-diagnostic.log-----------------------
    2009-08-10T10:01:26.296+08:00 AdminServer ERROR] [ http://org.apache.beehive.netui.pageflow.internal.AdapterManager [tid: userId: <anonymous> ecid:
    0000IC22UOc2ZNWzLwATOA1AVrxq000000,0 APP: consoleapp ServletContainerAdapter manager not initialized correctly.
    According to Shay Shmeltzer's blog (http://radalcove.com/blog/?p=34) and step 25.3.1.3 of http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10148/jpsdg_deploy.htm
    , I add:
    set EXTRA_JAVA_PROPERTIES=-Djps.app.credential.overwrite.allowed=true %EXTRA_JAVA_PROPERTIES%
    to setDomainEnv.sh and restart the server as well as redeploy the application. However, after login, the page is still blank and it is very slow.

    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection
    The JDBC conneciton configured in JDeveloper is not available in WebLogic server. Configure a JDBC connection in WebLogic server.

Maybe you are looking for

  • Any way to force a PDF file to be opened in "fit to screen" mode?

    Is it possible to force a PDF to open "fit to screen" -- overriding whatever the end user has set as his default viewing preference -- while still allowing said user to zoom in and otherwise modify their viewing mode, AFTER the document has been open

  • Force roundtrip in SET_Attribute method

    Hi, i developed a small view with attributes like: STARTDATE - default = today ENDDATE - default = today + 7 If the STARTDATE is changed i developed in the SET_STARTDATE to set the new ENDDATE like this: date7 = <nval> + 7.       current->set_propert

  • Sync mail to rfc scenario

    Hi, I've implemented a simple scenario in which incoming mail msg is "pushed" to R/3 by rfc (i.e., mail to rfc). is it possible to config this scenario so returned answer (from rfc call) will be send back to the original mail sender? Regards Uri

  • SXI_Cache Error. Pls help

    When I use sxi_cache SXI_Cache shows "Unable to refresh cache contents" and "error during last attempt to refresth cache". When I click on error it shows Error when reading HTTP destination: INTEGRATION_DIRECTORY_HMI. The same error I am getting in s

  • A tab keeps on showing even after deleted from the tools options process

    a new tab and cobra health plans tab keeps on showing up in tool tabs bar. I closed the "cobra health" tab and i close the "new tab" then I went to tools-options-general on Home page: i deleted the cobra plans and OK I close Firefox and when brig it