Problem with Clustering in Oracle AS10.1.3.1.0

I have an Oracle Application Server 10.1.3.1 installed with a multicast IP along with an home instance whcih is an administrative instance. Installed another instance on other system with only J2EE Server installation and having home not as an administrative instance which is basically a Active - Active topology.
Created 2 home instances on the 2 Application Servers with in the same group and deploymed my application in both the instances with Peer-Peer Dynamic Discovery mode. but when i run the application its running fine when i go from the localhost address but when i mention the internal IP or the Public IP of the system session is getting failed. i hope that the request is transferring between the 2 instances when i specify the IP. So i specified the system property -Doracle.j2ee.rmi.loadBalance=client which makes the request to stick to only one instance till its life ends. but this also throws me the same error. And the error is
07/08/26 12:47:08 java.io.StreamCorruptedException
07/08/26 12:47:08      at java.io.ObjectInputStream.readTypeString(ObjectInputStream.java:1372)
07/08/26 12:47:08      at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:607)
07/08/26 12:47:08      at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:778)
07/08/26 12:47:08      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1528)
07/08/26 12:47:08      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
07/08/26 12:47:08      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
07/08/26 12:47:08      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
07/08/26 12:47:08      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
07/08/26 12:47:08      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
07/08/26 12:47:08      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
07/08/26 12:47:08      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
07/08/26 12:47:08      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
07/08/26 12:47:08      at com.evermind.server.ejb.EJBInputStream.readSession(EJBInputStream.java:263)
07/08/26 12:47:08      at com.evermind.server.ejb.EJBInputStream.readSession(EJBInputStream.java:185)
07/08/26 12:47:08      at com.oracle.bricks.j2ee.EJBLiveSession.unmarshall(EJBLiveSession.java:228)
07/08/26 12:47:08      at com.oracle.bricks.j2ee.EJBSessionFacade.unmarshall(EJBSessionFacade.java:95)
07/08/26 12:47:08      at com.evermind.server.ejb.JGroupEJBService.requestSession(JGroupEJBService.java:193)
07/08/26 12:47:08      at com.evermind.server.ejb.StatefulSessionEJBHome.getSession(StatefulSessionEJBHome.java:670)
07/08/26 12:47:08      at com.evermind.server.ejb.StatefulSessionEJBHome.getSession(StatefulSessionEJBHome.java:653)
07/08/26 12:47:08      at com.evermind.server.ejb.StatefulSessionEJBHome.getSession(StatefulSessionEJBHome.java:648)
07/08/26 12:47:08      at com.evermind.server.ejb.StatefulSessionEJBHome.getRemoteSession(StatefulSessionEJBHome.java:686)
07/08/26 12:47:08      at com.evermind.server.ejb.StatefulSessionHandle.getEJBObject(StatefulSessionHandle.java:40)
07/08/26 12:47:08      at ezc.client.EzcUtilManager.<init>(EzcUtilManager.java:30)
07/08/26 12:47:08      at ezcommerce.ezLoginUser._jspService(_ezLoginUser.java:259)
07/08/26 12:47:08      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
07/08/26 12:47:08      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
07/08/26 12:47:08      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
07/08/26 12:47:08      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
07/08/26 12:47:08      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
07/08/26 12:47:08      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
07/08/26 12:47:08      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
07/08/26 12:47:08      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
07/08/26 12:47:08      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
07/08/26 12:47:08      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
07/08/26 12:47:08      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
07/08/26 12:47:08      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
07/08/26 12:47:08      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
07/08/26 12:47:08      at java.lang.Thread.run(Thread.java:595)
Please kindly someone help me in this regard....
Thanks in advance
Satya

Vander,
Please open a support request if you can. It will allow us to track this important issue better and provide us a channel in case we need to see you JDev files.
Doug

Similar Messages

  • Problem with clustering of oracle application server 10.1.3.1

    Hi
    I have clustered two instances of oracle application server 10.1.3.1 running on solaris.
    Instance 1
    <notification-server interface="ipv4">
    <port local="6100" remote="6200" request="6003"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
         <topology>
              <nodes list="10.x.x.1:6201"/>
         </topology>
    </notification-server>
    Instance 2
    <notification-server interface="ipv4">
    <port local="6101" remote="6201" request="6004"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
    <topology>
              <nodes list="10.x.x.2:6200"/>
         </topology>
    </notification-server>
    But when i log on to enterprise manager i get the following message on top of the page:
    You have more than one instance of the Application Server Control application running in this cluster. This is not a recommended configuration and could lead to unexpected problems. Please stop the additional instances of Application Server Control or disable routing to these instances.
    When i click on one of the instances, i get the session expired error.
    what is the problem behind this?
    regards,

    In the doc, it states that you should only ever have one active instance of application server control running in a cluster at a time -- ASC was not designed to operate as a session sharing application, so your session state is specific to one instance. If for some reason you were directed to the ASC application on the other instance, you get errors.
    You can use the OC4J admin_client.jar utility or the opmnctl command to shut down the ascontrol application in one of the instances.
    -steve-

  • Problem with implicitly created Oracle pipes

    Hi, I am having a problem with implicitly created Oracle pipes. I am not sure if this is the correct forum for this topic, but I could not see one which suited better..
    I am using Oracle pipes as a commiunication mechanism between processes (some are written in PL/SQL and other in PRO*C).
    The general problem I have is that if a timeout occurs during the communication process, I end up with 1 or perhaps 2 implicitly created pipes.
    The biggest problem for me is that I am unable to determine if a create is implicitly created (via dbms_pipe.send_message or receive_message). This causes problems, since these implicitly created pipes are left behind and not deleted. I'll show you the basic flow of the processes and you shall see my problem.
    server: create request pipe "req_pipe"
    server: listen for request on requests pipe.
    client: create two pipes for comms with server.
    client: send request and the names of the newly created pipes to the server.
    server: read request and pipename from request pipe (from this point all comms between the client and server are now done over the 2 pipes the client created).
    server: send ack message to client to ensure they are still there (since requests can be queued in the request pipe and clients could have timed out before the request is received)
    client: send "i'm still here" ack back to the server.
    server: process request and send result back to client.
    client: send ack back to server to let server know we have received the response.
    server: send ack back to client to show that work is now committed.
    OK thats the general event flow. I use the rule, that pipes created by a process are removed by a process. So the client always removes the pipes it created in all situations. But since this can happen at any point we can get in the situation:
    client: timeout occurs, delete pipes.
    server: send message to client (creates an implicit pipe) and therefor works (no errors raised)
    server: do a read for response from previous message. (implicitly creates pipe) (will fail).
    Now we have two implicitly created pipes! These pipes will exist until the database instance is shutdown, and in a poorly performing environment, we could get thousands of these pipes lying around... not a good situation.
    How can I either stop pipes being implicilty created, or how do I detect if a pipe was implicitly created.
    I have tried a couple of things, like using v$db_pipes to check if a pipe exists before doing send/reveive calls but this is FAR to slow to do a select on that view.
    We have also looked at keeping a record of pipes created by the client then have some process (perhaps the server) clean up these pipes after some time frame. This is a workable solution but is not favourable since it adds extra overhead having to check these pipes often, and created an extra level of complexity which is not required..
    Any suggestions will be greatly appreciated.
    Feel free to email me with any suggestions on my email provided below, or just post a reply to this formum..
    Many thanks,
    Karl Bridger
    [email protected]

    I solved the problem by changing the SOAP massage format from Document/Wrapped to Document/Literal

  • Problems with Download of Oracle IFS /IFS Devkit for NT

    I am having problems with download of Oracle IFS and Oracle IFS Devkit for NT.
    When I ran the ifsdevkit.bat file the last four files did not get copied over. Subsequently when I ran the upload_ifsdevkit batch file as indicated in document I got error message saying
    'System cannot find the path specified'.
    When I opened the batch file it is looking for BIN directory under the C:\OraHome1\ifs directory but none exists. I wonder if this is the cause of problem. This would mean that the ifs1081.zip file has a bug in that it did not create the BIN directory and files under C:\OraHome1\ifs
    Would appreciate if somebody can help. Thanks
    null

    Is C:\OraHome1 your ORACLE_HOME directory? (Usually, it's C:\Oracle\Ora81)
    Also, have you installed iFS (successfully) in that ORACLE_HOME? If so, you are guaranteed to have an %ORACLE_HOME%\ifs\bin directory.
    Finally, did you enter the correct directory as the parameter to the DEVKIT script?

  • Problem with RollBack in  Oracle Batching

    Hi all,
    This is Adhil. I am facing a problem with Oracle Batching in java.
    I am using java 1.5 and Oracle 10 g.
    I have a below standalone code to test the Oracle Batching (Assume that i have the 2 tables with zero records ).
    with the batch size set as 10, I am trying add 2 records in each table.
    Now I rise divideByZero error exception manually and trying to rollback the connection in catch statement . But couldn't rollback the connection. I see the 2 records added in both of my tables.
    The same code when i set the batchsize 2 and trying to insert 10 records ,I could rollback and no rows get inserted.
    Since I am going to get the no of insert from user in runtime , my rollback may fail in any combinations as in my first case(with batch size 10 and if the no of insert is 2).
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import oracle.jdbc.*;
    public class BatchTest{
         public static void main(String args[]) throws Exception{
              Connection conn = null;
              conn = new BatchTest().createConnection();
              new BatchTest().insertdata(conn);
         public Connection createConnection() throws Exception{
                   Properties props =new Properties();
                   props.load(ClassLoader.getSystemResourceAsStream("connection.properties"));
                   String connectionString = (String)props.get("connection");
                   String username = (String)props.get("username");
                   String password = (String)props.get("password");
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection connection = DriverManager.getConnection(connectionString, username, password);
                   return connection;
         public void insertdata(Connection dbConnection){
              PreparedStatement psCnt =null;
              PreparedStatement psImp =null;
              try{
              dbConnection.setAutoCommit(false);
              psCnt = dbConnection.prepareStatement("insert into CHKCNT values (?,?)");
              psImp = dbConnection.prepareStatement("insert into CHKIMP values (?,?)");
              ((OraclePreparedStatement)psCnt).setExecuteBatch (10);
              ((OraclePreparedStatement)psImp).setExecuteBatch (10);
              int x=0;
              for(int i=1;i<=2;i++){
                        psCnt.setInt(1,i);
                        psCnt.setString(2,"Jack");
                        psImp.setInt(1,i);
                        psImp.setString(2,"John");
                        psImp.executeUpdate();
                        psCnt.executeUpdate();
              if(true) x=10/0;
              dbConnection.commit();
              }catch(Exception e){
                   try{
                   dbConnection.rollback();
                   dbConnection.close();
                   }catch(Exception ex){
                   e.printStackTrace();
              }finally{
                   try{
                        psCnt.close();
                   }catch(Exception ee){
                   ee.printStackTrace();
    Can anyone suggest me a way to make my rollback work.
    Thanks in advance.
    -adhil.J

    Hi all,
    This is Adhil. I am facing a problem with Oracle Batching in java.
    I am using java 1.5 and Oracle 10 g.
    I have a below standalone code to test the Oracle Batching (Assume that i have the 2 tables with zero records ).
    with the batch size set as 10, I am trying add 2 records in each table.
    Now I rise divideByZero error exception manually and trying to rollback the connection in catch statement . But couldn't rollback the connection. I see the 2 records added in both of my tables.
    The same code when i set the batchsize 2 and trying to insert 10 records ,I could rollback and no rows get inserted.
    Since I am going to get the no of insert from user in runtime , my rollback may fail in any combinations as in my first case(with batch size 10 and if the no of insert is 2).
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import oracle.jdbc.*;
    public class BatchTest{
         public static void main(String args[]) throws Exception{
              Connection conn = null;
              conn = new BatchTest().createConnection();
              new BatchTest().insertdata(conn);
         public Connection createConnection() throws Exception{
                   Properties props =new Properties();
                   props.load(ClassLoader.getSystemResourceAsStream("connection.properties"));
                   String connectionString = (String)props.get("connection");
                   String username = (String)props.get("username");
                   String password = (String)props.get("password");
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection connection = DriverManager.getConnection(connectionString, username, password);
                   return connection;
         public void insertdata(Connection dbConnection){
              PreparedStatement psCnt =null;
              PreparedStatement psImp =null;
              try{
              dbConnection.setAutoCommit(false);
              psCnt = dbConnection.prepareStatement("insert into CHKCNT values (?,?)");
              psImp = dbConnection.prepareStatement("insert into CHKIMP values (?,?)");
              ((OraclePreparedStatement)psCnt).setExecuteBatch (10);
              ((OraclePreparedStatement)psImp).setExecuteBatch (10);
              int x=0;
              for(int i=1;i<=2;i++){
                        psCnt.setInt(1,i);
                        psCnt.setString(2,"Jack");
                        psImp.setInt(1,i);
                        psImp.setString(2,"John");
                        psImp.executeUpdate();
                        psCnt.executeUpdate();
              if(true) x=10/0;
              dbConnection.commit();
              }catch(Exception e){
                   try{
                   dbConnection.rollback();
                   dbConnection.close();
                   }catch(Exception ex){
                   e.printStackTrace();
              }finally{
                   try{
                        psCnt.close();
                   }catch(Exception ee){
                   ee.printStackTrace();
    Can anyone suggest me a way to make my rollback work.
    Thanks in advance.
    -adhil.J

  • Problem with query for Oracle

    Hello Experts,
    I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
    This application has to read and write data in the EP DB (oracle v10).
    I'm using:
    <u>a Dictionary Project</u> (define the DB Tables)
    <u>a Java Project</u> (define class as DAO, DBManager etc)
    <u>a Library Project</u>
    <u>an EJB Project</u>
    <u>an EAR Project</u>
    With these projects I can deploy a <u>webService</u> in my EP server.
    BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
    The query is simple and correct but it does not work...
    This is the error message returned (the query id in bold)
    (column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
    <i>HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 21 Sep 2007 14:29:57 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
    The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
    Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
    We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and  not found....
    Any help???
    Best Regards

    Hi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
    My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
    Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    So I tried to use the ':' as indicated in the manual..
    <b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
                   - expecting LPAREN, found ':'</i>
    <b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
                   - 1:26 - SQL syntax error: the token "(" was not expected here
                   - 1:26 - expecting ID, found '('</i>
    Then I tried to avoid the MIN() function and I tried to do just the subtraction:
    <b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    <b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
                - 1:22 - SQL syntax error: the token "(" was not expected here
                - 1:22 - expecting ID, found '('</i>
    <b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
                     - 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
                     - 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
    <b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
                  - 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
    Why these parts of query are not accepted???
    I don't understand why... I hope you can help me.
    Best Regards
    Alessandro

  • Problem with XMLDOM package (Oracle 10.2.0.1.0)

    Hi,
    I am using the dbms_xmldom package to generate xml files (specific structure).
    Below is the code but It produces nothing (dbms_output does not return) :
    DECLARE
    doc xmldom.DOMDocument;
    main_node xmldom.DOMNode;
    root_node xmldom.DOMNode;
    root_elmt xmldom.DOMElement;
    transmissionHeaderNode xmldom.DOMNode;
    transmissionHeaderElement xmldom.DOMElement;
    item_node xmldom.DOMNode;
    item_elmt xmldom.DOMElement;
    item_text xmldom.DOMText;
    buffer_problem CLOB;
    BEGIN
    doc := xmldom.newDOMDocument;
    main_node := xmldom.makeNode(doc);
    xmldom.setversion(doc,'1.0');
    root_elmt := xmldom.createElement(doc, 'InvoiceTransmission');
    root_node := xmldom.appendChild( main_node, xmldom.makeNode(root_elmt));
    transmissionHeaderElement := xmldom.createElement(doc, 'TransmissionHeader');
    transmissionHeaderNode := xmldom.appendChild(root_node, xmldom.makeNode(transmissionHeaderElement));
    item_elmt := xmldom.createElement(doc, 'TransmissionDateTime');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc, TO_CHAR(SYSDATE,'DD-MM-YYYY'));
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    item_elmt := xmldom.createElement(doc, 'IssuingOrganiszationID');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc,'0258');
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    item_elmt := xmldom.createElement(doc, 'Version');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc, 'IATA:ISXMLInvoiceV3.0');
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    xmldom.writetobuffer(doc, buffer_problem);
    dbms_output.put_line(buffer_problem);
    xmldom.freeDocument(doc);
    END;
    That's strange because when remove a code part like :
    item_elmt := xmldom.createElement(doc, 'Version');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc, 'IATA:ISXMLInvoiceV3.0');
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    I can get the ouput xml :
    <?xml version="1.0"?>
    <InvoiceTransmission>
    <TransmissionHeader>
    <TransmissionDateTime>26-10-2010</TransmissionDateTime>
    <IssuingOrganiszationID>0258</IssuingOrganiszationID>
    </TransmissionHeader>
    </InvoiceTransmission>
    I don't if it's a problem with xmldom or with dbms_output package...
    Please someone can help me ?

    Works fine for me
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    SQL> set serveroutput on;
    SQL>
    SQL> DECLARE
      2     doc xmldom.DOMDocument;
      3     main_node xmldom.DOMNode;
      4     root_node xmldom.DOMNode;
      5     root_elmt xmldom.DOMElement;
      6 
      7     transmissionHeaderNode xmldom.DOMNode;
      8     transmissionHeaderElement xmldom.DOMElement;
      9     item_node xmldom.DOMNode;
    10     item_elmt xmldom.DOMElement;
    11     item_text xmldom.DOMText;
    12 
    13     buffer_problem CLOB;
    14 
    15  BEGIN
    16 
    17     doc := xmldom.newDOMDocument;
    18     main_node := xmldom.makeNode(doc);
    19     xmldom.setversion(doc,'1.0');
    20     root_elmt := xmldom.createElement(doc, 'InvoiceTransmission');
    21     root_node := xmldom.appendChild( main_node, xmldom.makeNode(root_elmt));
    22 
    23     transmissionHeaderElement := xmldom.createElement(doc, 'TransmissionHeader');
    24     transmissionHeaderNode := xmldom.appendChild(root_node, xmldom.makeNode(transmissionHeaderElement));
    25 
    26     item_elmt := xmldom.createElement(doc, 'TransmissionDateTime');
    27     item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    28     item_text := xmldom.createTextNode(doc, TO_CHAR(SYSDATE,'DD-MM-YYYY'));
    29     item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    30 
    31     item_elmt := xmldom.createElement(doc, 'IssuingOrganiszationID');
    32     item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    33     item_text := xmldom.createTextNode(doc,'0258');
    34     item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    35 
    36     item_elmt := xmldom.createElement(doc, 'Version');
    37     item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    38     item_text := xmldom.createTextNode(doc, 'IATA:ISXMLInvoiceV3.0');
    39     item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    40 
    41     --buffer_problem := 'a';  -- added to initialize clob
    42     xmldom.writetobuffer(doc, buffer_problem);  -- change to writetoclob
    43     dbms_output.put_line(buffer_problem);
    44     xmldom.freeDocument(doc);
    45 
    46  END;
    47  /
    <?xml version="1.0"?>
    <InvoiceTransmission>
      <TransmissionHeader>
        <TransmissionDateTime>26-10-2010</TransmissionDateTime>
        <IssuingOrganiszationID>0258</IssuingOrganiszationID>
        <Version>IATA:ISXMLInvoiceV3.0</Version>
      </TransmissionHeader>
    </InvoiceTransmission>Suggestions:
    - Use dbms_xmldom instead of just xmldom. Oracle changed the name in the 9i days and xmldom is a synonym to dbms_xmldom.
    - Use .writeToClob intead of .writeToBuffer
    - I would suggest trying to upgrade to .4 as you pick up a lot of improvements and bug fixes. Whether what you are encountering is a bug I cannot say but would seem so.
    - See the FAQ under your sign-in name to learn how to use the tag to format the code like I did above.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with WMS themes & Oracle MapViewer Version 11.1.1.2

    Hello, in my application I load the background raster from a external server using wms. With differents version of mapviewer 11 with a weblogic server (e.g: release 1, release 11.1.1.4) all it's allrigth, but when I change the mapviewer to release 11.1.1.2 I can't see the raster and I get the next error:
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    21-sep-2011 11:33:10 oracle.sdovis.theme.DynGeomThemeProducer prepareData
    I can understand why..., I don't know what's is the problem because differents versions of mapviewer work without problem on the same weblogic server (Weblogic 11 patchset R2).
    Anyone know if mapviewer 11.1.1.2 has a problem with WMS?
    Thanks for your answer!!

    although with Oracle Fusion Middleware MapViewer Version 11g ps3 (11.1.1.4) and 11g ps4 (11.1.1.5.1) everything work ok in my WebLogic Server: 10.3.3.0, with Mapviewer Version 11.1.1.2 I get the next error:
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    sun.awt.image.ImageFormatException: Not a JPEG file: starts with 0xff 0xd9
         at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
         at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:119)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    I've seen that the wms external service works ok and returns an url with the correct image, but something wrong happens inside of mapviewer that don't allow generate the image....

  • Problems with Enterprise Manager Oracle 10gR2

    Hi,
    The installation of 10gR2 on Windows 2000 seems to work.
    I only have a problem with web enterprise manager.
    I can connect to the database correctly and I can manage the database (creating tables, users and so on).
    The only problem is in the first page (home) of the database, accessing with the web enterprise manager.
    In fact I get this "error: java.lang.Exception: IOException in sending Request :: Connection refused", but I however access the db.
    I verified the DBSNMP user and it's active.
    Did someone get the same error?
    Excuse if I'm repeating a previous post, but I received answers about linux environment only (I have Windows 2000 server, instead).
    thanks a lot,
    Francesco

    We have in fact seen the same error. In our case, it appeared after the network guys moved the Oracle server from one domain to another. (This is not an action that I highly recommend, by the way.)
    I used emca to delete the Enterprise Manager agent and recreate it. For a single instance server not in a cluster or on a grid, the commands look like this:
    emca -deconfig dbcontrol db
    emca -config dbcontrol db
    That worked just fine. However, we started getting an "account locked" error when the Enterprise Manager started. And the result is the same as you described. The account is not locked by any means. If you ignore what you see on the screen about an error, you can go on and administer the database just fine. It's just when you get back to the home screen, it tells you that your account is locked and you are not in touch with the instance.
    I can make the error go away for awhile by stopping and starting the agent with
    emctl stop dbconsole
    emctl start dbconsole
    But the error comes back in a little while.
    We don't consider it a show stopper, since the database performs normally. It's just one of those things you wish it would not do.

  • Problem with javascript/PHP/ oracle 10g smart quotes

    I have a problem with my php form that passes the text field to a javascript object. When I copy text from MS Word that includes smart quotes, the form inputs that into the database as ? (upside down) marks. The charset of the DB is WE8MSWIN1252. How do I store these smart quotes as regular quotes? And also if I can do any conversions on the front end (js or php). I tried doing some conversion but to no avail. Any help would be appreciated thank you. “double”

    Decide if you want your HTML pages in Windows code page 1252 or Unicode UTF-8. Then, make sure the pages are properly tagged as either "text/html;charset=windows-1252" or "text/html;charset=utf-8". Use HTTP header Content-type or the corresponding <META HTTP-EQUIV=...> tag. Then, set NLS_LANG environment variable for your PHP engine to either AMERICAN_AMERICA.WE8MSWIN1252 or to AMERICAN_AMERICA.AL32UTF8, depending on which encoding you selected for your HTML.
    -- Sergiusz

  • Problem with Unicode and Oracle NCLOB fields

    When I try to INSERT a new (N)CLOB into an Oracle database, all is fine until I use a non-ASCII character, such as an accented roman letter, like the "�" (that's '\u00E9') in "caf�" or the Euro Currency symbol "?" (that's '\u20AC' as a Java character literal, just in case the display is corrupted here too). This doesn't happen with "setString", but does happen when streaming characters to the CLOB; however, as Oracle or the driver refuse strings larger than 4000 characters, and as I need to support all the above symbols (and many more), I'm stuck.
    Here's the background to the problem (I've tried to be detailed, after a lot of looking around on the web, I've seen lots of people with similar problems, but no solutions: I've seen and been able to stream ASCII clobs, or add small NCHAR strings, but not stream NCLOBs...).
    I'm using Oracle 9.2.0.1.0 with the "thin" JDBC driver, on a Windows box (XP Pro). My database instance is set up with AL32UTF8 as the database encoding, and UTF8 as the national character set.. I've created a simple user/schema, called LOBTEST, in which I created two tables (see below).
    The basic problems are :
    - with Oracle and JDBC, you can't set the value of a CLOB or NCLOB with PreparedStatement's setString or setCharacterStream methods (as it throws an exception when you send more than 4000 characters)
    - with Oracle, you can only have one LONG VARCHAR-type field per table (according to their documentation) and you MUST read all columns in a set order (amongst other limitations).
    - with a SQL INSERT command, there's no way to set the value of a parameter that's a CLOB (implementations of the CLOB interface can only be obtained by performing a SELECT.... but obviously, when I'm inserting, the record doesn't exist yet...). Workarounds include (possibly) JDBC 4 (doesn't exist yet...) or doing the following Oracle-specific stuff :
    INSERT INTO MyTable (theID,theCLOB) VALUES (1, empty_clob());
    SELECT * FROM MyTable WHERE theId = 1;
    ...and getting the empty CLOB back (via a ResultSet), and populating it. I have a very large application, that's deployed for many of our customers using SapDB and MySQL without a hitch, with "one-step" INSERTS; I can't feasibly change the application into "three-step INSERT-SELECT-UPDATE" just for Oracle, and I shouldn't need to!!!
    The final workaround is to use Oracle-specific classes, described in:
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/jdbc-javadoc/index.html
    ...such as CLOB (see my example). This works fine until I add some non-ASCII characters, at which point, irrespective of whether the CLOB data is 2 characters or 2 million characters, it throws the same exception:
    java.io.IOException: Il n'y a plus de donn?es ? lire dans le socket
         at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
         at oracle.jdbc.driver.OracleClobWriter.flushBuffer(OracleClobWriter.java:270)
         at oracle.jdbc.driver.OracleClobWriter.flush(OracleClobWriter.java:204)
         at scratchpad.InsertOracleClobExample.main(InsertOracleClobExample.java:61)...where the error message in English is "No more data to read from socket". I need the Oracle-specific "setFormOfUse" method to force it to correctly use the encoding of the NCLOB field, without it, even plain ASCII data is rejected with an exception indicating that the character set is inappropriate. With a plain CLOB, I don't need it, but the plain CLOB refuses my non-ASCII data anyway.
    So, many many thanks in advance for any advice. The remainder of my post includes my code example and a simple SQL script to create the table(s). You can mess around with the source code to test various combinations.
    Thanks,
    Chris B.
    CREATE TABLE NCLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING NCLOB,
         PRIMARY KEY (ID)
    CREATE TABLE CLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING CLOB,
         PRIMARY KEY (ID)
    package scratchpad;
    import java.io.Writer;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.util.Properties;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.sql.CLOB;
    public class InsertOracleClobExample
         public static void main(String[] args)
              Properties jdbcProperties = new Properties();
              jdbcProperties.setProperty( "user", "LOBTEST" );
              jdbcProperties.setProperty( "password", "LOBTEST" );
    //          jdbcProperties.setProperty("oracle.jdbc.defaultNChar","true");
              Driver jdbcDriver = new OracleDriver();
              PreparedStatement pstmt = null;
              Connection connection = null;
              String tableName = "NCLOBTEST";
              CLOB clob = null;
              try
                   connection = jdbcDriver.connect("jdbc:oracle:thin:@terre:1521:orcl", jdbcProperties);
                   pstmt = connection.prepareStatement("DELETE FROM NCLOBTEST");
                   pstmt.executeUpdate();
                   pstmt.close();
                   pstmt = connection.prepareStatement(
                        "INSERT INTO "+tableName+" (ID,SOMESTRING) VALUES (?,?);"
                   clob = CLOB.createTemporary(pstmt.getConnection(), true, CLOB.DURATION_SESSION);
                   clob.open(CLOB.MODE_READWRITE);
                   Writer clobWriter = clob.getCharacterOutputStream();
                   clobWriter.write("Caf? 4,90? TTC");
                   clobWriter.flush();
                   clobWriter.close();
                   clob.close();
                   OraclePreparedStatement opstmt = (OraclePreparedStatement)pstmt;
                   opstmt.setInt(1,1);
                   opstmt.setFormOfUse(2, OraclePreparedStatement.FORM_NCHAR);
                   opstmt.setCLOB(2, clob);
                   System.err.println("Rows affected: "+opstmt.executeUpdate());
              catch (Exception sqlex)
                   sqlex.printStackTrace();
                   try     {
                        clob.freeTemporary();
                   } catch (SQLException e) {
                        System.err.println("Cannot free temporary CLOB: "+e.getMessage());
              try { pstmt.close(); } catch(SQLException sqlex) {}
              try { connection.close(); } catch(SQLException sqlex) {}
    }

    The solution to this is to use a third-party driver. Oranxo works really well.
    - Chris

  • "Problem with links in Oracle 10g Express Edition Application Interface"

    Hi.
    Under Object_Interface>Browse>Procedure the "edit" and "compile" links are not working.Also I am unable to see my code when I click on one of the procedures. Kindly help me out.
    Thanks & Regards
    Sri

    My laptop didn't start this morning. Can you help me out?
    (Go to the Express Edition forum at Oracle Database Express Edition (XE) and give them some hints about what the problem is. )
    At the very least you will need to tell people: operating system, browser, whether you have Firewall turned on, whether you are using anti0virus, whether yo have upgraded the Application Express interface.
    You can volunteer that information, or you can wait until people ask for it, but you will need to provide that information. And if you force people to ask - it's quite likely they will get bored with your problem.

  • Problem with DataLoader and Oracle 8.1.6

    I am currently running WebLogic Commerce Server under the following
    configuration.
    1. Solaris 8
    2. WebLogic Server 5.1
    3. WebLogic Commerce Server 2.0.1
    4. Oracle 8.1.6
    5. JDK 1.2.2
    I have followed the instructions completely as it relates to running
    with Oracle. Everything works fine up to the point in which I run the
    DataLoader.sh script.
    The DataLoader.sh script almost completes. However, after some time is
    spend loading items, I see the following WebLogic dumb, and the
    DataLoader.sh scripts quits.
    Some other points. I am using the Oracle thin driver (Classes111.zip).
    The size and date of the classes111.zip are as follows.
    Date: 12/14/1999
    Size: 1.4Meg
    Any ideas as to what the problem is.
    Tue Aug 15 18:27:07 EDT 2000:<I> <ListenThread> Adding address:
    localhost/127.0.0.1 to licensed client list
    Tue Aug 15 18:27:08 EDT 2000:<I> <ServletContext-General> classes: init
    Tue Aug 15 18:27:15 EDT 2000:<I> <ListenThread> Adding address:
    webdev1.grhq.gfs.com/1.1.8.146 to licensed client list
    Tue Aug 15 18:27:15 EDT 2000:<D> <JVMSocketHTTPServer> opened sockID:
    '0'
    Tue Aug 15 18:29:30 EDT 2000:<I> <CliCon-#|server|0.966378014892>
    Removing ClientContext - id: '#|server|0.966378014892', bound: 'false',
    dead: 'false' because of soft disconnect timeout
    Tue Aug 15 18:29:30 EDT 2000:<D> <JVMSocketHTTPServer> Closing JVM
    socket: 'weblogic.socket.JVMSocketHTTPServer@5b43a9 - id: '0', closed:
    'true', lastRecv: '966378570911''
    java.lang.Throwable: Stack trace
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at
    weblogic.socket.JVMSocketHTTPServer.close(JVMSocketHTTPServer.java:433)
    at weblogic.socket.JVMAbbrevSocket.close(JVMAbbrevSocket.java:383)
    at weblogic.rjvm.ConnectionManager.shutdown(Compiled Code)
    at weblogic.rjvm.ConnectionManagerServer.shutdown(Compiled Code)
    at weblogic.rjvm.RJVMImpl.peerGone(Compiled Code)
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:523)
    at
    weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:720)
    at
    weblogic.socket.JVMAbbrevSocket.gotExceptionReceiving(JVMAbbrevSocket.java:397)
    at weblogic.socket.JVMSocketT3.endOfStream(JVMSocketT3.java:549)
    at weblogic.socket.JavaSocketMuxer.processSockets(Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Tue Aug 15 18:29:31 EDT 2000:<D> <HTTPTunneling> Sending DEAD response
    on socket: 'weblogic.socket.MuxableSocketHTTP@db93a - idle timeout:
    '60', socket timeout: '100''
    java.lang.Throwable: Stack trace
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at
    weblogic.socket.TunnelServlet.sendDeadResponse(TunnelServlet.java:60)
    at
    weblogic.socket.JVMSocketHTTPServer.close(JVMSocketHTTPServer.java:438)
    at weblogic.socket.JVMAbbrevSocket.close(JVMAbbrevSocket.java:383)
    at weblogic.rjvm.ConnectionManager.shutdown(Compiled Code)
    at weblogic.rjvm.ConnectionManagerServer.shutdown(Compiled Code)
    at weblogic.rjvm.RJVMImpl.peerGone(Compiled Code)
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:523)
    at
    weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:720)
    at
    weblogic.socket.JVMAbbrevSocket.gotExceptionReceiving(JVMAbbrevSocket.java:397)
    at weblogic.socket.JVMSocketT3.endOfStream(JVMSocketT3.java:549)
    at weblogic.socket.JavaSocketMuxer.processSockets(Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)

    Javier, these are database parameters picked p from the init.ora of that database. To check the values of these parameters, logon to the database via SVRMGRL as the DBA and then execute the command :
    SVRMGR>SHOW PARAM
    This lists all the database paramaters. Also check if the Oracle MTS Service is actually running.

  • Problem with Clustered Weblogic App 5.1 sp9

              Hi eveyone I hope one or more of you will be able to shed some light on my problem.
              I am running my application clustered with 3 App-servers and proxing to 3 web
              servers. I get this error sometimes when i bring up an instance of Weblogic when
              there is already an instance running under load.
              Mon Oct 29 13:23:03 PST 2001:<E> <Kernel> ExecuteRequest failed.
              java.io.NotSerializableException: com.beasys.commerce.foundation.pipeline.RequestAttributeMap
              --------------- nested within: ------------------
              weblogic.rmi.MarshalException: error marshalling arguments
              - with nested exception:
              [java.io.NotSerializableException: com.beasys.commerce.foundation.pipeline.RequestAttributeMap]
              --------------- nested within: ------------------
              weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked exception -
              with nested exception:
              [weblogic.rmi.MarshalException: error marshalling arguments
               - with nested exception:
              [java.io.NotSerializableException: com.beasys.commerce.foundation.pipeline.RequestAttributeMap]]
              Mostly Im concerned about why it says my objects are not serializeable and what
              exactly is this Marshal Exception.
              Thanks everyone
              Quintin
              

    Surya,
              This is a known issue and BEA will address it in a future service pack.
              Surya wrote:
              > The objects in the session need to be those which implement Serializable.
              > It seems you have
              >
              > com.beasys.commerce.foundation.pipeline.RequestAttributeMap
              >
              > object in the session and RequestAttributeMap is not a serializable object. This
              > requirement is if you have session replication turned on.
              >
              > I also had this problem. When I corrected the session object (made it ) the problem
              > was gone.
              > One thing that still puzzles me is the error showed up only when a new appserver
              > joins the cluster and exixting appserver attempts to replicate it's session on
              > it.
              > For the session which were formed with both appservers in cluster this problem
              > never came.
              >
              > Marshal Exception - as the name suggests is problem encountered while weblogic
              > was marshelling the objects for replication to the remote (secondary) server.
              >
              > -Surya
              > "scott" <[email protected]> wrote:
              > >
              > >I get this problem also with weblogic 5.1 sp 9. I'm still looking for
              > >the answer
              > >
              > >"Quintin Paulson" <[email protected]> wrote:
              > >>
              > >>Hi eveyone I hope one or more of you will be able to shed some light
              > >>on my problem.
              > >> I am running my application clustered with 3 App-servers and proxing
              > >>to 3 web
              > >>servers. I get this error sometimes when i bring up an instance of
              > >Weblogic
              > >>when
              > >>there is already an instance running under load.
              > >>
              > >>Mon Oct 29 13:23:03 PST 2001:<E> <Kernel> ExecuteRequest failed.
              > >>java.io.NotSerializableException: com.beasys.commerce.foundation.pipeline.RequestAttributeMap
              > >>
              > >>--------------- nested within: ------------------
              > >>weblogic.rmi.MarshalException: error marshalling arguments
              > >> - with nested exception:
              > >>[java.io.NotSerializableException: com.beasys.commerce.foundation.pipeline.RequestAttributeMap]
              > >>
              > >>--------------- nested within: ------------------
              > >>weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked exception
              > >>-
              > >>with nested exception:
              > >>[weblogic.rmi.MarshalException: error marshalling arguments
              > >> - with nested exception:
              > >>[java.io.NotSerializableException: com.beasys.commerce.foundation.pipeline.RequestAttributeMap]]
              > >>
              > >>Mostly Im concerned about why it says my objects are not serializeable
              > >>and what
              > >>exactly is this Marshal Exception.
              > >>
              > >>Thanks everyone
              > >>
              > >>--
              > >>Quintin
              > >>
              > >>
              > >
              

  • Problems with deploy in Oracle AS 10g

    Hi people,
    We developed a system that we need to install on my client’s Oracle Application Server 10g, but I haven't the OAS here in my company and I can't test it on my client. In my application, I access the data source by two ways: one way by the Hibernate, editing the application’s "hibernate.cfg.xml" file and the other way access by JDBC directly.
    In hibernate.cfg.xml, I edit the property of "hibernate.connection.datasource" by this way (my application name's is "GCS"):
    <property name="hibernate.connection.datasource">java/gcs</property>
    By JDBC, I get the connection by this way:
    protected Connection getConnection() throws DAOException {
    Context initContext;
    try {
    initContext = new InitialContext();
    DataSource ds = (DataSource)initContext.lookup
    ("java/gcs");
    return ds.getConnection();
    } catch (Throwable e) {
    throw new DAOException(e);
    In Oracle AS, I created a data source with the name and the JNDI location "java/gcs" and in the "Data Source Class" field I wrote "com.evermind.sql.DriverManagerDataSource".
    With this configuration the OAS did the deploy successfully. So I started the application and the system started to process the mapping of the Hibernate classes' (I could see this by the log).
    The problem is when I access the system deployed, appeared a window in my browser like those directory permission window that ask by username and password. This is very strange. Apparently, I have no access to the directory of my application... I try to put the username and password of the Windows, of the database user, of the OAS administrator... but nothing happens.
    Somebody knows what is this window? Why it appears? Where I configure this in the OAS?
    Thank's
    Rodison Ferreira
    [email protected]
    skype: rodison
    msn: [email protected]

    Hi,
    Here's the Oracle Forms 10g Deployment Guide
    http://download-east.oracle.com/docs/cd/B14099_11/web.1012/b14032/toc.htm
    HTH,
    Jim

Maybe you are looking for

  • Issue Integrating with spaces

    I am integrating Web center portal and web center spaces, we created some spaces in web center and trying to get the space details into out web center portal using space Web services. But not able to succeed even after doing the security configuratio

  • Integrated Configurations com.sap.engine.interfaces.messaging.api.exception

    Hi guys, we are using PI 7.11. With this release local processing on the advanced adapter engine is possible, when using integrated configurations. This works fine. Lately I faced an error situation in an RFC to JDBC scenario, when one field doesn´t

  • Could not load file or assembly 'Oracle.DataAccess, Version=2.112.3.0

    Hi, I am using windows 7 64 bit Enterprise Edition, Visual Studio 2010 Premium, and my app is built using .net framework 4.0. I downloaded and install ODP.NET 11.2.0.32 but when I add reference Oracle.DataAccess to my app, its giving me the following

  • URGENT - I give a trainee soon - Impossible to update CS6 and now impossible to lauch CS5.5

    Hello, Big problem with updates. I spent many hours to try maninupulations with other adobe forums, but nobody understand or find a solution.  Here after links of forum conversations + Impossible to launch CS5.5 (since today) Re: Impossible to instal

  • Render, Preview?? Help!

    Hello, i just downloaded premiere elements 8, and I inserted some video clip, pushed play, and the video lagged a WHOLE bunch. The audio seemed fine, but the video was just really bad. So i did "render work area". And it played back fine, but took a