Invalid OCI Handle when storing Blob in Oracle 11g with OCCI

Hi,
I'm getting Invalid OCI Handle ORA-32102 while execute the following code:
try
               env=Environment::createEnvironment(Environment::OBJECT);
               connPool = env->createConnectionPool(userName, password,
                         database, minConn, maxConn, incrConn);
               conn=connPool->createConnection(userName,password);
               Blob blobRequest(conn);
               blobRequest.open(OCCI_LOB_WRITEONLY);
               unsigned int bytesReqWritten = blobRequest.write((unsigned int)bytesOut, req_buffer, (unsigned int)bytesOut);
               cout << "Request bytes written "<< bytesReqWritten << endl;
               blobRequest.close();
               Blob blobResponse(conn);
               blobResponse.open(OCCI_LOB_WRITEONLY);
               unsigned int bytesRespWritten = blobResponse.write((unsigned int)bytesAckOut, resp_buffer, (unsigned int)bytesAckOut);
               cout << "Response bytes written "<< bytesRespWritten << endl;
               blobResponse.close();
               stmt = conn->createStatement("BEGIN STORE_REQUEST(:1,:2); END;");
               stmt->setBlob(1,blobRequest); <------------------------- Blob here
               stmt->setBlob(2,blobResponse); <------------------------- Blob here
               stmt->executeUpdate();
catch(SQLException &e)
               cout << "Error in Constructor Call " << endl;
               cout << "Error Number: " << e.getErrorCode() << endl;
               cout << e.getMessage() << endl;
     conn->terminateStatement(stmt);
     connPool->terminateConnection (conn);
     env->terminateConnectionPool (connPool);
     Environment::terminateEnvironment(env);
Anyone can help me? Please.
Kind Regards, denis

Hi,
The correct code for insert blobs must be writed like this:
try
env=Environment::createEnvironment(Environment::OBJECT);
connPool = env->createConnectionPool(userName, password,
database, minConn, maxConn, incrConn);
conn=connPool->createConnection(userName,password);
//1. First insert empty blobs in tables...
Blob blobRequest;
blobRequest.setEmpty(conn);
Blob blobResponse;
blobResponse.setEmpty(conn);
stmt = conn->createStatement("BEGIN STORE_REQUEST(:1,:2); END;");
stmt->setBlob(1,blobRequest);
stmt->setBlob(2,blobResponse);
stmt->executeUpdate();
//2.Select Blobs for update and commit
stmt2 = conn->createStatement("SELECT REQUEST,RESPONSE FROM STORE WHERE ID=:ID FOR UPDATE");
stmt2->setString(1,id.c_str());
ResultSet *rs = stmt2->executeQuery();
if(rs->next())
blobRequest = rs->getBlob(1);
blobRequest.write((unsigned int)bytesOut, req_buffer, (unsigned int)bytesOut);
blobResponse = rs->getBlob(2);
blobResponse.write((unsigned int)bytesAckOut, resp_buffer, (unsigned int)bytesAckOut);
conn->commit();
else
conn->rollback();
catch(SQLException &e)
cout << "Error in Constructor Call " << endl;
cout << "Error Number: " << e.getErrorCode() << endl;
cout << e.getMessage() << endl;
stmt2->closeResultSet(rs);
conn->terminateStatement(stmt);
conn->terminateStatement(stmt2);
connPool->terminateConnection (conn);
env->terminateConnectionPool (connPool);
Environment::terminateEnvironment(env);

Similar Messages

  • Invalid OCI handle when creating a Blob

    I have an application that talks to an Oracle 11gR2 database. I am using the OCCI C++ library. I can call SPs with no problem when they do not contain a Blob. Now I need to pass in a Blob to a SP and I am getting an ORA-32102: invalid OCI handle exception thrown when I call blob->open(OCCI_LOB_WRITEONLY). This same style of code works when I call a SP that does not have a Blob parameter so naturally I am confused. What could be wrong with this?
    Thanks,
    Aaron
    FYI, Here's the code segment in question
    Statement *statement;    
    try {
         // create the connection
         statement = myconnection->createStatement();
         // create the start timestamp
         // create the end timestamp
         // create the blob of data
         blob = new Blob(myconnection);
         blob->open(OCCI_LOB_WRITEONLY);  // <---------------------------------------- here the exception ORA-32102 is thrown
         blob->write(packSize,(uint8_t*)dataBlock,dataBlockSize);
         blob->close();
         // create statement and set input parameters
         statement->setSQL("BEGIN network_analysis.update_network_ip(:1,:2,:3,:4,:5); END;");
         statement->setInt(1,dbconnect->networkMetricId);
         statement->setTimestamp(2,startTime);
         statement->setTimestamp(3,endTime);
         statement->setBlob(4,*blob); // setBlob 2nd parameter is a reference
         statement->setInt(5,numEntries);
         statement->executeUpdate();
    } catch (SQLException &e) {
         FATALF("%s",e.what());
    myconnection->terminateStatement(statement); // free resource
    delete blob;Edited by: user8859202 on Dec 16, 2009 12:16 PM

    Update, I found the answer which is streams must be used. The setBinaryStreamMode is used and after executeUpdate, I update the stream.

  • OCCI Error -  ORA-32102: invalid OCI handle

    Hi,
    I'm completely new to OCCI and Linux and trying to run the simple OCCI program given in oracle site (http://www.oracle.com/technology/tech/oci/occi/occibasic.html) to connect a remote Oracle DB server.
    #include <iostream>
    #include <occi.h>
    using namespace std;
    using namespace oracle::occi;
    int main()
    Environment* env = Environment::createEnvironment();
    Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB"); // user, password, url
    Statement* stmt = conn->createStatement();
    stmt->setSQL("INSERT into FRUITS (fruit, amt) VALUES ('apple', 10)");
    stmt->executeUpdate();
    conn->terminateStatement(stmt);
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    return 0;
    When I try to run it after compilation it gives the following error.
    ORA-32102: invalid OCI handle
    The error should be in the line: Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB");
    I could track it by placing a cout<< there.
    Why this is and how can I handle this error? Please post your experience.
    Thanks

    Hi,
    I found the reason. It may due to the permission level of the user "testdb". When I tried with a different user it worked!
    Thanks

  • If createConnection hit "connection lost contact" then "invalid OCI handle"

    I am facing a peculiar error with OCCI API :
    The c++ application make use of OCCI API to interact with 10 different oracle DBs sequentially in loop, but the moment
    pConn = pEnv->createConnection(a_usr, a_pass, a_connection) for 1 slow db is hit with "ORA-03135: connection lost contact" then
    for all the remaining other db execution I get a constant error - "ORA-32102: invalid OCI handle" i.e
    when the control moves to next db then "pConn = pEnv->createConnection" is successful for all the rest db but when
    pRes = pStmt->executeQuery() is executed I get this - "ORA-32102: invalid OCI handle" standard error.
    The rest of dbs are live, cross checked with SQLPLUS.
    The OCCI resources and handlers are initialized in class and remains in memory till the end of the application. In healthy situation the application works fine for all10 dbs and handles all the ORA errors well except for this situation.
    Question: When OCCI hit ORA-03135 error in createConnection method , does OCCI releases the memory (or handlers) ..? If yes then with the same "env" handler why OCCI succeeds in making the next connection and we have correct "con" handler, similarly "createStatement" is also successful but this same "statement" handler the executeQuery() fails with -invalid OCI handle ??
    In healthy situation all logic works just fine, I am able to get the data that means sql queries and resultset handle code is perfect.
    Thanks in advance,
    Vijay

    If you haven't found a solution for this yet, could you post the entire section of code? Please use the code tag to post the code.

  • DB2 8.1 to Oracle 11g with SQL Developer 3.0

    Hi,
    I started migrating my DB2 8.1 to Oracle 11g, with SQL Developer 3.0
    Basically, I need to migrate TABLES.
    I followed these steps:
    1) I created a new Oracle database, tablespaces, users, etc.
    2) Then, I created both (DB2 and Oracle) connections into SQL Developer 3.0. All works fine.
    3) I start capturing one table with the "Copy to Oracle" feature. Done with no errors.
    But when I compare the table structure, I see the following problems in Oracle:
    a) All fields are NULLABLE = YES. SQL Developer show this field property correctly in DB2: NULLABLE = NO, but not migrated the same!
    SOLUTION: All I want is that SQL Developer simply migrating the same value who I have in the DB2. But how?
    b) In DB2 I have one field property called COLUM DEFAULT. In Oracle this property is called DATA_DEFAULT. The SQL Developer show this field property correctly for the DB2 tables (for example: 0.0, ' ', etc), but don't migrated the same value! All fields are configured to DATA_DEFAULT = NULL.
    SOLUTION: I think this occurs because NULLABLE is migrated with the value YES. Well, all I need is the same above...
    NOTE: I tested the SWISSQL DATA MIGRATION software, and it works fine. All tables, field properties and data are migrated sucessfull. But this program is trial version!
    Well, I think all of this are BUGS into SQL Developer.
    Please, anyone to help me?
    Regards,
    Ylram

    Welcome to the forum!
    >
    I just did right click in the procedure body and found [Debug, Compile for Debug, Compile, Run].
    >
    You listed a bunch of things but you didn't say what steps you actually performed and what the result was.
    Did you 'Compile'the procedure? until you compile the procedure you can't debug it.
    I just created a new procedure and when I select the body it displays in the 'Code' window on the right. But the 'Debug' icon is not enabled because the procedure was not compiled for debug.
    When I compile it for debug the 'Debug' icon is now enabled.

  • Installing oracle 11g with ASM

    Hi ,
    Thanx for priviuos supportss.
    Here we are going to configure a new set up on new hardware :
    clients requirements :
    oracle 11g with ASM :
    Number of instance = Single database
    Platform = IBM AIX 6.1
    Kindly provide me any guidence / steps regarding same as i havent configured this yet..

    user12045405 wrote:
    Thank u very much for interest ...
    version = 11.2.0.2
    Can u plz ans my below questions :
    1.When we say ASM , is it considedred as a Grid Infrastructure ASM is one component of Grid Infrastructure. You can't have ASM without it.
    2.What is ORACLE RESTART , do i really need to install it...It is also part and parcel of Grid Infrastructure - at least for a stand-alone.
    there is an entire forum dedicated to GI installation, located [url https://forums.oracle.com/forums/forum.jspa?forumID=62]here
    >
    And fwiw, if you run the GI installer, one of the options is gives is to Install Grid Infrastructure for a standalone server. Pretty painless as long as you have correctly configured your disks that will be used with ASM.
    kindly revert.........Edited by: EdStevens on Feb 28, 2013 7:25 AM

  • DB connection issue for Oracle 11g with jdk1.3

    Hi Experts,
    I have jdk1.3 installed. I need to connect to Oracle 11g, but there is no driver class for Oracle 11g with jdk1.3. I have Classes12.jar for Oracle 9i with jdk1.3. When I try to connect to Oracle 11g with jdk1.3 using Classes12.jar, I get the below error
    Error:
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=185599744)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:334)....
    Please help to solve this issue. This is urgent.
    Thanks.

    "connection refused" is quite a clear error message;
    - either you configure a wrong host name or port number
    - the database isn't even running
    - a firewall is blocking you
    In any case no connection can be made to the database, which is hardly a programming or driver problem. You'll have to figure out for whatever external reason you cannot create a connection to the database. Good luck.

  • Calling Stored procedure in Oracle 11g from Oracle forms developer 6i

    We have Oracle 11g (11.1.0.7.0 ) database (64 bit) installed on Windows Server 2008.
    In this database, we have stored procedure ABC(arg1) which is accesing a table in another instance through DB LINK. If we EXECUTE this procedure from SQL/TOAD. It runs successfully and generates the desired output.
    If we write the contents of the stored procedure in the PROGRAM UNIT / ANY TRIGGER in FORM 6i then also, It runs successfully and generates the desired output.
    It is also mentioned, that if we try to use any table in the same instance (and not through DBLINK) then it works fine.
    However, if we try to call this stored procedure (which is  accesing a table in another instance through DB LINK) from  ORACLE FORMS  6i  in WHEN-BUTTON-PRESSED trigger then the FORM BUILDER gets hanged while compiling the form developed in FORMS 6i.
    Please provide a solution to this problem.
    THANKS IN ADVANCE.
    Hemant Singh.
    Asstt. Manager(IT)
    Software development team.

    Forms 6i was never meant to run against a 11g database, this was not tested and is also not supported.Well, that is not completely true. Developer 6i is supported against a 11g database, but only for Oracle Apps R11. That means that for most other customers (not Apps) Forms 6i will work against an 11g database. However, only Apps R11 is supported, and patches are only created specifically for Apps. We are also running Forms 6i against an 11g database without (well, minor) problems.
    In this case, you need to find a solution. You can try to put the stored procedure in a package. The package body, with the reference to the remote table, will be hidden from Forms this way.

  • Storing Images in Oracle 11g

    Hi everybody,
    Can anybody tell me how to store the images in an oracle 11g database and i want it in forms 10g

    Hi Friend,
    Use this link to store the images into oracle DB
    http://sureshvaishya.blogspot.in/2009/08/insert-blob-image-file-into-database.html
    http://www.google.co.in/#safe=active&hl=en&sclient=psy-ab&q=how%20to%20store%20the%20image%20in%20oracle%20table&oq=&gs_l=&pbx=1&bav=on.2,or.r_qf.&bvm=bv.45960087,d.bmk&fp=102d4945c0f75701&biw=1280&bih=836&pf=p&pdl=300&safe=on
    Once the images are stored in table then in form
    Create a new item in form and type as Image and change the image format to what format u have stored in DB.
    Now Compile the form and check whether the images are getting displayed in forms.
    Thanks & Regards
    Srikkanth

  • Problem when trying to refresh oracle screens with latest data

    hello experts,
    i have one problem,i want to refresh the oracle screen with the latest data from the data
    base.
    It is a two stage process.At first step one user will select a row from the screen and then he will press a button .
    now the second screen will appear and the detail of the employee will be displayed.
    First step has been completed and the data is coming in the second form via parameters and i can see the full information of the employee.
    Now i want to refresh the oracle form i.e. suppose if my dba has made any changes in the oracle table( EMP table) i want that after pressing the refresh button user can see the
    latest data from the database.
    in WHEN_BUTTON_PRESSED trigger i have written this codes.
    enter_query;
    execute_query;
    but they are not giving the expected result.
    And one more thing please suggest whether in the second form i should use database item
    or non database item.
    When i am using database item when i am trying to close second from one pop up is appearing
    and asking that whether i want to save the changes.
    please suggest how can i remove this message from my application.
    Regards
    Anutosh

    Hi,
    what data did you transfer via parameters to the second form ?
    how did you populate the datablock in the second form ?
    Typical solution would be:
    (For my example the block is both forms is named EMP, and is based on the table SCOTT.EMP)
    In Form 1, transfer the primary key-value of the current record to a global or parameter (will use global in my example):
    e.g. you have a WHEN-BUTTON-PRESSED-Trigger with the following code:
    <pre>
    :GLOBAL.EMPNO:=:EMP.EMPNO;
    CALL_FORM('FORM2');
    </pre>
    In Form 2, you have a WHEN-NEW-FORM-INSTANCE-Trigger with code:
    <pre>
    DEFAULT_VALUE('GLOBAL.EMPNO', NULL);
    IF :GLOBAL.EMPNO IS NOT NULL THEN
    GO_BLOCK('EMP');
    EXECUTE_QUERY;
    :GLOBAL.EMPNO:=NULL;
    END IF;
    </pre>
    On block EMP in Form 2 there is a PRE-QUERY-Trigger with following code:
    <pre>
    IF :GLOBAL.EMPNO IS NOT NULL THEN
    :EMP.EMPNO:=:GLOBAL.EMPNO;
    END IF;
    </pre>
    And at last, in your refresh-button would be the following code:
    <pre>
    :GLOBAL.EMPNO:=:EMP.EMPNO;
    GO_BLOCK('EMP');
    EXECUTE_QUERY;
    :GLOBAL.EMPNO:=NULL;
    </pre>
    Hope this helps

  • How to convert SQL server stored procedures to Oracle 11g

    Hi Experts,
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    Please help me,
    Thanks.

    ramya_162 wrote:
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    The single most fundamental concept you need to understand (grok in its fullness) is:
    ORACLE IS NOT SQL-SERVER
    There is very little, to NOTHING, in common between T-SQL (a language extension to SQL) and PL/SQL (integration of SQL with the language Ada, part of ALGOL family of languages that includes Pascal and C++).
    So taking a T-SQL procedure and porting it as is to PL/SQL is plain stupid.
    Why?
    Oracle sucks at trying to be SQL-Server.
    So how do you migrate from SQL-Server to Oracle?
    By taking the REQUIREMENTS that the T-SQL procedures address, and addressing these requirements using Oracle SQL and PL/SQL.

  • ACL error when sending email from Oracle 11g

    Hi,
    It returned something like "error...ACL security" when I tried to send email from Oracle 11g. Is there any security thing that I need to release in Oracle 11g? I used to send emails from Oracle 10g and didn't find any problem.
    Thanks.
    Andy

    In Database 11g Oracle introduced Network Access Control Lists (ACLs) to protect the database from users using the many internet-capable packages such as UTL_INADDR, UTL_HTTP, UTL_TCP, etc.
    Read all about it in the docs and look at the code demos here:
    http://www.morganslibrary.org/library.html
    under DBMS_NETWORK_ACL_...

  • Storing data in oracle 8i with PtG

    I want to store retrieved data in a database (oracle 8i) with Portal-to-Go?
    Is it necessary to write an adapter and in that case where can I find information about adapters? Any help will be appreciated.
    Thanks
    null

    OTN has some sample apps that show how to store documents in the database as CLOBs:
    [list][*]Customizing Web Content
    [*]B2B with XML
    [*]Managing Web Content (CMS)
    [*]XML Live Demos
    [list]
    Regards,
    -rh

  • Source(oracle 11g) with oracle 8i using db link with full table scan

    Hi,
    I'm using oracle 8i version and i'm facing some issue  while using DBlinks.
    SourceDB1 I'm using oracle 8i(Source)
    select *  from tab1
    tabl where id in
    (select id from stab1@SourceDB1  where updt_seq_num > 167720 and work_grp_id in (2900,2901))
    For this, I could able to retrive the data.
    but, today we have migrated one of our source from oracle 8i to oracle 11G
    when I'm executing
    select *  from tab2
    tabl where id in
    (select id from stab2@SourceDB2  where updt_seq_num > 167720 and work_grp_id in (2900,2901))
    we couldn't able to retrive data as it's scaning full table scan.
    when oracle 8i source it's scanning using INDEX scan but if the source oracle 11 h it's scanning full table scan.
    Could you please advise how to resolve this issue for source oracle 11i ?
    Please let us know, if you need any information.

    Blocks that are read via full table scans are stored in the buffer cache, but putting them at the MRU end ensures that they don't push the rest of the useful blocks out of the buffer cache. In your example, if you're full scanning a 2 GB table (T) with a 500 MB buffer cache, the first block that is read from T is put at the MRU end of the buffer cache, displacing the previous block that was at the MRU end of the cache. The next block that is read from T is also put at the MRU end of the buffer cache, displacing the previous block that was at the MRU end of the cache, so block #2 from T displaces block #1 from T. So, you're reading 2 GB of data, but you're constantly purging the older blocks, so you're only really using that last block of the buffer cache.
    Justin

  • Oracle 11g with cocoon.war and glassfish pdf problem?

    Hi all,
    I m install oracle 11g express on CentOS 5.6 OS, oracle apex listener 1.1.2.131.15
    glassfish v2 and cocoon 2.1.11 and connect glasfish with oracle apex and working fine
    Problem begin when I was build cocon xml and deploy cocoon.war on glassfish,
    adding fop_post on cocoon/fop_post (as describe on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but pdf dont work!
    (I was setting all this steps on open suse 11.2-32 byte machine and ubuntu 8.04-32 byte and pdf work ok )
    Is there any idea whats happen whith this pdf error?
    Is problem with 64 byte some specific settings, with java jdk, cocoon, glassfish or something on oracle 11g apex ?
    Gordan
    Edited by: useruseruser on Jun 20, 2011 9:49 PM

    Udo wrote:
    Hi Gordon,
    what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
    -Udo
    >Hi Gordon,
    what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
    -Udo
    Hi Udo
    When I make export to pdf from report theres error Could not open file ///tmp/Report-1.pdf
    I was installing on OpenSuse 11.3 oracle 11g 64 based OS and oracle
    next I was download and unzip and build cocoon2.1.11 as bash build.sh war -- and in build folder theres make cocoon.war
    next I was download apex listener and from command line I was type java -jar apex.war
    next download and build glassfish v2 and this two war files I was deploy on server, and making username as describe
    in apex listener conf documentations, so apex working good over glassfish only cocoon cant create pdf
    giving me error Could not open file ///tmp/Report-1.pdf. and jdk is 1.6 26 64 byte
    error messages from open suse 11.3 64 byte on cocoon/fop_post>
    An error has occured
    org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
    Cocoon stacktrace[hide]
    Exception in StreamGenerator.generate()
    context://fop_post/sitemap.xmap - 17:32     <map:serialize type="xml">
    context://fop_post/sitemap.xmap - 13:33     <map:generate type="stream">
    Unable to get transformer handler for cocoon://fop_post/xsl
    context://fop_post/sitemap.xmap - 38:37     <map:serialize type="fo2pdf">
    context://fop_post/sitemap.xmap - 31:39     <map:transform>
    context://fop_post/sitemap.xmap - 30:38     <map:generate>
    context://sitemap.xmap - 1055:92     <map:mount>
    Java stacktrace[show]
    org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
         at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
         at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Java full stacktrace[show]
    org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://fop_post/xsl
         at <map:serialize type="fo2pdf"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:38:37
         at <map:transform> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:31:39
         at <map:generate> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:30:38
         at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:339)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
         at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from cocoon://fop_post/xsl
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:300)
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
         ... 56 more
    Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
         at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
         at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
         at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
         ... 57 more
    Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
         at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
         at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:163)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
         ... 59 more
    Caused by: org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
         ... 63 more
    The Apache Cocoon Project
    and other error from CentOS 64 byte same cocoon/fop_post >
    Resource not found
    org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
    <map:mount> - context://sitemap.xmap - 1055:92
    Cocoon stacktrace[hide]
    No pipeline matched request: fop_post/
    context://sitemap.xmap - 1055:92     <map:mount>
    Java stacktrace[show]
    org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
         at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:149)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    The Apache Cocoon Project
    All this steps above, I was making with open suse 32 byte, with oracle 32 byte 10g with
    apex listener, cocoon and glassfish and apex and pdf export working good.
    is there any idea, whats solution for 64 byte cocoon, apex listener oracle express pdf export?
    regards
    Gordan
    Edited by: useruseruser on Jun 23, 2011 9:09 AM

Maybe you are looking for

  • JSP in multiple places for webapplication

    I was wondering would it possible to configure a web application so that I could have one set of JSPs in the normal J2EE place under the project context and to have another set of JSPs in an entirely different place. For example, the first location w

  • IP: Dynamic Data and Lead Columns

    Hello, In IP, there is not such thing as "Dynamic Data and Lead Columns" which we have used successfully in BPS. We have quite normal case where accounts are on rows and columns are defined as follows: Column 1): KF Qty1, Period #, Year "Var Current

  • Why is 50% gray different in Photoshop CC

    When you fill with 50% gray in Pshop CS5 the fill has no effect when set to overlay – this is good! CC on the other hand creates a 50% gray that is too light and when set to overlay it will lighten the image. This is a pain for creating noise or dodg

  • Marca error al querer actualizarse in design cc

    que hago para que se pueda actualizar bien y ya poder utilizar el programa?

  • How to link to linksys router AC1900 together

    Dears All,, I have tow linksys router AC1900 and i run one of them at my home and because of the black wall( that prevent network through wall) i brought pther extender access point to expand the power but still facing weak coverage. So I went and bo