Error while trying to store PDF in Oracle's BLOB field

Hi folks!
I'm having problems while trying to store PDF file in a BLOB field of an Oracle table
This is the message code:
Exception in thread "main" java.sql.SQLException: Data size bigger than max size for this type: 169894
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.ttc7.TTCItem.setArrayData(TTCItem.java:95)
at oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:2414)
at oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:1134)
at oracle.jdbc.driver.OraclePreparedStatement.setBytes(OraclePreparedStatement.java:2170)
at vgoactualizacion.Main.main(Main.java:84)     
This is the piece of code i'm using:
Assuming conn = conection to Oracle 10g Database ( it's working )
String miProcedimientoAlmacenado = "{ call package_name.update_client(?,?, ?) }";
CallableStatement miComando = conn.prepareCall(miProcedimientoAlmacenado);
miComando.setString(1,miClienteID ); //first parameter : IN
               //second parameter : IN
File miPDF = new File(pathPDF + "//" + miClienteID + ".pdf");
byte[] bodyIn = readFully(miPDF); //readFully procedure is shown below
miComando.setBytes(2, bodyIn); //THIS IS THE LINE WHERE THE ERROR IS PRODUCED
          //3rd parameter: OUT
miComando.registerOutParameter(3, java.sql.Types.VARCHAR);
miComando.execute();
private static byte[] readFully(File miPDF) throws FileNotFoundException, IOException {
FileInputStream fis = new FileInputStream(miPDF);
byte[] tmp = new byte[1024];
byte[] data = null;
int sz, len = 0;
while ((sz = fis.read(tmp)) != -1) {
if (data == null) {
len = sz;
data = tmp;
} else {
byte[] narr;
int nlen;
nlen = len + sz;
narr = new byte[nlen];
System.arraycopy(data, 0, narr, 0, len);
System.arraycopy(tmp, 0, narr, len, sz);
data = narr;
len = nlen;
if (len != data.length) {
byte[] narr = new byte[len];
System.arraycopy(data, 0, narr, 0, len);
data = narr;
return data;
}//fin readFully
This approach indicates that the PDF file is converted into an array of bytes, then is stored as binary in the BLOB field.
Thanx in advance, and looking forward for your comments.

You will probably need to use the setBinaryStream() method instead of setBytes().

Similar Messages

  • Unknown error while trying to print PDF

    I keep getting an unknown error when I try to print a PDF. The message is "Printing Error: The Adobe Print Engine has failed to output your data due to an unknown problem" followed by a note pad popping up filled with this: 
    %%[ ProductName: Distiller ]%%
    %%[ Error: ioerror; OffendingCommand: readstring ]%%
    Stack:
    (› PoÈsKÖn µÐY5Âê2¢ ÷Fmø-êíöYJ
    øR½=Ö¤%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    I the service chat pointed me at this link: Error "...The Adobe Print Engine has failed..." | Print | InDesign |CS, CS2, CS3 but none of those solutions solved the issue.
    What I have tried:
    Restarting the program and computer
    Renaming the file
    Going into the program setting as the link suggests
    In the meantime I will use the PDF presets to make PDFs.

    Presumably you have a good reason for wanting to print PDF instead of exporting? For troubleshooting tips, see Adobe Community: File Crashing on Output - printing/PDF/other

  • Error while trying to Log In to Oracle BI Publisher through Microsoft Word

    Hi:
    I get a runtime error when I try to log in to Oracle BI Publisher through MS Word. It says - "File or assembly name XDOUtilities, or one of its dependencies, was not found."
    Please help.
    OBIEE Version 10.1.3.2
    BI Publisher Version 10.1.3.2

    Hi,
    Check your Deployments with in weblogic Admin console.
    Might one of your App might get into failed state or prepared state.
    If it is prepared state then make it active and try to access your App again.
    Regards,
    kal

  • Getting error while trying to connect to the oracle database using SQL Deve

    Hi everybody,
    I installed sql developer and want to make a new connection, but it shows:Status: Failure- Test failed:IO Error:The Network Adapter could not establish the connection.
    Please anybody help me. Appreciate you, in help.
    Thank You,

    This is usually a problem with either your connection definition, or the basic network setup.
    Try following the trouble shooting steps here

  • Error while trying to install Oracle 8.15 on Redhat 6.1

    I have been trying to install Oracle 8i (8.15) on my machine but I got an error while trying to run runInstaller:
    Initializing java virtual machine from /usr/local/jre/bin/jre. Please wait
    Error in CreateOUIProcess(): -1
    : Bad Address
    FYI:
    - I downloaded the Oracle 8i from the technet download site (I am not using a CD)
    - I am using Redhat 6.1
    - I downloaded and installed JRE as advised in the documentation.
    - My machine is a AMD K6, so is non-intel but I have not noticed any other problems using Redhat.
    - I currently only have 96MB RAM as opposed to the recommended 128MB.
    Please Help!!!
    null

    (All comments are based on redhat 6.0, not sure about other distros)
    If u are only using one linux machine, then I don't think you need to have 'DISPLAY' defined. Unset it then. This variable tells X clients where to display its X output. If unsetting does not make it work, then try 'export DISPLAY=ip_address:0.0' and then 'xhost +ip_address', where ip_address is the IP of your machine, or try 127.0.0.1.
    If u have two linux machines, like what I did:
    * Ran X on client machine (192.168.0.2).
    * Telnet to server machine (192.168.0.1 - where 8i will be installed), login as 'oracle'
    * On the telnet session, I 'su' as root then mounted the CD, then 'exit' to return to the 'oracle' login on the telnet session.
    * On the telnet session, I did 'export DISPLAY=192.168.0.2:0.0' - telling it that all X clients on this telnet session will send its X output to the host on 192.168.0.1.
    * On the client machine (where X is running), opened another shell, did a 'xhost +192.168.0.1' - telling the X server on the client machine to accept X connections from the server machine (192.168.0.1).
    * Went back to the telnet session to the server machine, then ran the installer.
    In short, everything you do can be done remotely, apart from putting the CD on the server machine.
    The installer runs on the server but send its output to the client.
    null

  • Oracle JBDC error while calling the store procedure

    HI All,
    I am get one strange error while calling a store procedure which has two parameter in and out.
    I am pass the correct XML file which reaches the RDB and then PI receives a exception error message saying:
    oracle.rdb.jdbc.common.RdbException: Closed Resultset
    where as no error log is availble in RBD for the same.
    Can anybody tell me what can be the cause of the error.
    Let me know if you requires more information on this.
    -adi

    Hi Kiran,
    Thanks..
    But I am not able to understand you. I am calling a store procedure not a table. and we not doing anything in the store procedure except return one constant value in Out parameter.
    -Adi

  • Getting socket error while trying to get oracle connection using JDBC

    hi,
    I am getting following socket read error while trying to get database connection using JDBC. This happening with jdk1.5.0_12 version with Oracle 9i
    following is the stacktrace...
    Thread t@92: (state = IN_NATIVE)
    - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise)
    - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Compiled frame)
    - oracle.net.ns.Packet.receive() @bci=31 (Compiled frame)
    - oracle.net.ns.DataPacket.receive() @bci=1 (Interpreted frame)
    - oracle.net.ns.NetInputStream.getNextPacket() @bci=48 (Compiled frame)
    - oracle.jdbc.driver.T4CMAREngine.unmarshalSB1() @bci=1, line=1070 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.doOall8(boolean, boolean, boolean, boolean) @bci=617, line=207 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.executeForDescribe() @bci=39, line=790 (Compiled frame)
    - oracle.jdbc.driver.OracleStatement.executeMaybeDescribe() @bci=106, line=1039 (Interpreted frame)
    - oracle.jdbc.driver.T4CStatement.executeMaybeDescribe() @bci=11, line=830 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() @bci=128, line=1132 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) @bci=76, line=1272 (Interpreted frame)
    any help would appreciated. thanks in advance

    I do not have exact exception message.
    additionally, i have got following the tomcat log file:
    INFO - Resource pool cleanup thread just woke up.
    Nov 1, 2008 3:41:52 AM org.apache.tomcat.util.threads.ThreadPool logFull
    SEVERE: All threads (100) are currently busy, waiting. Increase maxThreads (100) or check the servlet status
    INFO - Resource pool cleanup thread just woke up.
    thanks in advance

  • HT4009 Hi, Getting an error while trying to download updates. Err Msg "Account Not in this store' Your account is not valis for use in the US store. You must switch store before purchasing' Have tried to change the store bu not successful. kindly advice

    Hi, Getting an error while trying to download updates. Err Msg "Account Not in this store' Your account is not valis for use in the US store. You must switch store before purchasing' Have tried to change the store bu not successful. kindly advice

    http://support.apple.com/kb/HT1311

  • Linking error while trying to connect to 10 g oracle db through OCCI

    Hello experts,
    Iam getting a linking error while trying to connect to 10 g through OCCI.I've tried both available Instant client versions,But no luck.now, I am using instant client 11.2.0.2 with visual studio 2005 and oracle 10 g on 32 bit XP. I get "*The procedure entry point OCILobSetContentType could not be located in the dynamic link library OCI.dll*" linking error
    How can i fix this error
    Thanks in advance..
    Regards,
    Srihari

    Hello,
    Please ensure that you are using correct PATH and ORACLE_HOME settings - for example if IC 11202 is installed in
    c:\oracle\11202\instantclient_112
    execute on commandline
    ORACLE_HOME=c:\oracle\11202\instantclient_112
    PATH=%ORACLE_HOME%;%ORACLE_HOME%\bin;%PATH%
    before starting VS2005 from commandline - or generate a commandscript
    Inside VS2005 please ensure that you are picking up the libraries from
    %ORACLE_HOM%\oci\lib\msvc\v8\*
    furtheron, copy the
    %ORACLE_HOM%\oci\lib\msvc\v8\*.dll
    to %ORACLE_HOME% - otherwise by default the v9 ar picked up (copied during installation)
    When this has been done, build the code and test - should work
    regards,
    Frank
    Edited by: fscherie on 11.01.2012 12:41

  • Error while creating SOA dovelper domain. Oracle BI Composer missing

    Hi,
    I am getting below error while trying to create SOA developer domain. I am not able go forward because of this issue. Can any body help me in this regards. Thanks in advace for your help.
    Error : Oracle BI Composer runtime and Oracle BI-ADF runtime is missing.
    Note : I strictly followed installation guide while installing..
    http://www.oracle.com/technetwork/middleware/soasuite/overview/quickstartguidesoasuite11gr1ps4-459545.pdf
    Oracle® SOA Suite 11gR1 (11.1.1.5.0
    -Praveen
    [email protected]

    Can any body please assist me in this. I totally stuck not able to found solution.
    More deails on this ... The following software was installed sequentially and successfully..
    Database
    Weblogic server
    RCU
    SOA
    OSB..
    After OSB when i try to create domain for SOA i am getting error CFGFWK-64069 The following prerequisites were found to be missing..
    Oracle BI composer Runtime 11.1.1.0 Oracle BI-ADF Runtime 11.1.1.0
    Any help on this would be greatly appriciated ??
    -Praveen

  • Error while trying to open the discoverer connections page

    Dears,
    please your kindly help!!!
    Error while trying to open the discoverer connections page
    When I tried to open the link http://192.168.4.222:7778/discoverer/viewer
    I received the error:
    An error occurred while handling the event. See the application log for more details.
    A fatal application error has occurred. Please consult with your OracleAS administrator or look at the application log file.
    I checked the OC4J application.log file and I found the following:
    10/03/11 10:34:16 discoverer: [ERROR] [AJPRequestHandler-ApplicationServerThread-6] oracle.discoverer.applications.framework.
    GlobalExceptionHandler.execute null
    java.lang.NullPointerException
    at java.io.FileOutputStream.<init>(FileOutputStream.java:172)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at java.awt.Font$2.run(Font.java:606)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Font.createFont(Font.java:600)
    at oracle.discoverer.renderer.pdf.XDOConfig._discoverFonts(Unknown Source)
    at oracle.discoverer.renderer.pdf.XDOConfig.<init>(Unknown Source)
    at oracle.discoverer.renderer.pdf.XDOConfig.getNewInstance(Unknown Source)
    at oracle.discoverer.renderer.pdf.PDFGenerator.initPDF(Unknown Source)
    at oracle.discoverer.applications.viewer.model.ViewerApplication.init(Unknown Source)
    at oracle.discoverer.applications.framework.ApplicationFactory.create(Unknown Source)
    at oracle.discoverer.applications.framework.ApplicationController.getApplication(Unknown Source)
    at oracle.discoverer.applications.framework.ApplicationController.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    invoke(ServletRequestDispatcher.java:824)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    forward(ServletRequestDispatcher.java:222)
    at oracle.discoverer.applications.viewer.url.URLServlet._process(Unknown Source)
    at oracle.discoverer.applications.viewer.url.URLServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFil
    ter(ResourceFilterChain.java:65)
    at oracle.discoverer.applications.framework.ApplicationEncodingFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    invoke(ServletRequestDispatcher.java:663)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.proces
    sRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJP
    RequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJP
    RequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor
    $MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    10/03/11 10:34:16 discoverer: [ERROR] [AJPRequestHandler-ApplicationServerThread-6] oracle.discoverer.applications.framework.
    ApplicationController._logException error.handling.event
    oracle.discoverer.applications.framework.ApplicationException: error.handling.event
    at oracle.discoverer.applications.framework.GlobalExceptionHandler.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:553)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    invoke(ServletRequestDispatcher.java:824)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    forward(ServletRequestDispatcher.java:222)
    at oracle.discoverer.applications.viewer.url.URLServlet._process(Unknown Source)
    at oracle.discoverer.applications.viewer.url.URLServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFil
    ter(ResourceFilterChain.java:65)
    at oracle.discoverer.applications.framework.ApplicationEncodingFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    invoke(ServletRequestDispatcher.java:663)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.
    forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.proces
    sRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJP
    RequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJP
    RequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor
    $MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at java.io.FileOutputStream.<init>(FileOutputStream.java:172)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at java.awt.Font$2.run(Font.java:606)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Font.createFont(Font.java:600)
    at oracle.discoverer.renderer.pdf.XDOConfig._discoverFonts(Unknown Source)
    at oracle.discoverer.renderer.pdf.XDOConfig.<init>(Unknown Source)
    at oracle.discoverer.renderer.pdf.XDOConfig.getNewInstance(Unknown Source)
    at oracle.discoverer.renderer.pdf.PDFGenerator.initPDF(Unknown Source)
    at oracle.discoverer.applications.viewer.model.ViewerApplication.init(Unknown Source)
    at oracle.discoverer.applications.framework.ApplicationFactory.create(Unknown Source)
    at oracle.discoverer.applications.framework.ApplicationController.getApplication(Unknown Source)
    at oracle.discoverer.applications.framework.ApplicationController.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    ... 21 more
    10/03/11 10:34:16 discoverer: TemplateUINode, localName='documentTemplate': /u01/oracle/ias/j2ee/OC4J_BI_Forms/applications/d
    iscoverer/discoverer/cabo/styles/dc-blaf.xss: Parsing error, line 5, column 22: <laf> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/style) is set incorrectly. This may also be an issue with the syntax of its parent element.
    Please anyone can help.
    Best Regards ,
    Yasser

    Welcome to the forums !
    Pl see if MOS Doc 360403.1 (Launcing Discoverer Plus Fails With Error "Oracle.Discoverer.Applications.Framework.Globalexceptionhandler.Execute Null" in Application.log File) is applicable in your case
    HTH
    Srini

  • Error while trying to save layout:Console layout (Access is denied)

    Got an error while trying to save changes made in the layout,
    The error message is
    1) 'Preference.properties' (Access is denied), In the details button 'java.io.FileNotFoundException...'
    2) and on continuing futher, another message displayed is - 'Error while trying to save layout:Console layout (Access is denied)
    There is no Oracle Error Number associated with this message. It is a Oracle Warehouse Builder Error
    I have checked that
    1) this file exist in owb home/owb/bin/admin/Preference.properties
    2) It is not read only
    3) tried to set a parameter REPOS_DB_VERSION_ALLOWED=Oracle 10g
    as specified in the Installation and Admin Guide
    Please can you help?

    Also, not that you shouldn't get to the bottom of this, but you should be aware that any of your development or mapping changes are likely still being saved to the respository.
    In other words, you could continue working and just ignore these errors. We ran into this situation (it was indeed simply file permissions on the owb directories), but we noticed right away that at least our actual OWB work was in fact still being committed to the respository every time.

  • Error while accessing secure store: File "SecStore.properties" does not exi

    Hi ,
    I have a java desktop application, and i am trying to get a connection from a datasource deployed on one SAP AS Java, I can get the datasource succsfullly but when i try to get a connection from the DS, it throughs this exception, I put the secstore..properties file in the classpath even after that it is not happy,
    any solution/hint/light please!!!!
    com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "SecStore.properties" does not exist although it should..
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
         at com.sap.customcode.ConflictingActionFixture.(ConflictingActionFixture.java:53)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at fit.FixtureClass.newInstance(Unknown Source)
         at fit.FixtureLoader.instantiateFixture(Unknown Source)
         at fit.FixtureLoader.instantiateFirstValidFixtureClass(Unknown Source)
         at fit.FixtureLoader.disgraceThenLoad(Unknown Source)
         at fit.Fixture.loadFixture(Unknown Source)
         at fit.Fixture.getLinkedFixtureWithArgs(Unknown Source)
         at fit.Fixture.doTables(Unknown Source)
         at fit.FitServer.process(Unknown Source)
         at fit.FitServer.run(Unknown Source)
         at fit.FitServer.main(Unknown Source)
    Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "SecStore.properties" does not exist although it should.
         at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
         at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
         at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
         at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
         ... 18 more
    caused by

    the SecStore.key file was not there, I changed the passwd and checked the 'Encryption' on, after that my sever instance is not starting.
    Any idea?
    -Puneet

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Trying to setup new iCloud in system preferences and get error message: "iCloud encountered an error while trying to connect to the server."

    Here's the sequence of events:
    Setting up a new iMac.
    Migration Assistant was aborted during setup and a normal setup was completed.
    Then ran Migration Assistant from the newly setup account.
    It ran fine, but put all the data in a new account called "user".
    Renamed "user" to a new name, renamed the home folder to a new name following these instructions: OS X: How to change your account name or home directory name
    Delete the account we originally created, so just have one account with the name we want and all the data, email. Works fine.
    Sign into the App Store with the account we share for purchases.
    Now, the problem:
    Go to System Preferences to setup iCloud with a new Apple ID
    Get this error: "iCloud encountered an error while trying to connect to the server."
    So I'm unable to setup iCloud for photo stream, FaceTime, etc.
    Internet works fine, we can get mail, etc.
    Rebooting doesn't help
    Ideas?

    never mind the problem is gone this morning.

Maybe you are looking for