Problem of using oracle datasource in VAJ4

I want to use connection pool in VAJ4 Websphere Test Environment.
So I startup the WTE, start PNS, and at a datasource of oracle.
Database driver=oracle.jdbc.driver.OracleDriver
Database type=JTA;
I can lookup the datasource. I can use it in normal java emviroment,
But where use it in ejb environment, it can be found crrectly,
but where i use ds.getConnection(); Exception is throwed, my ejb is
stateless sessionbean, TX_REQUIRED,TRANSACTION_REPEATABLE_READ;
The exception is below:
java.io.NotSerializableException: com.ibm.ejs.jts.jta.XID
     java.lang.Throwable(java.lang.String)
     java.lang.Exception(java.lang.String)
     java.io.IOException(java.lang.String)
     java.io.ObjectStreamException(java.lang.String)
     java.io.NotSerializableException(java.lang.String)
     void java.io.ObjectOutputStream.outputObject(java.lang.Object)
     void java.io.ObjectOutputStream.writeObject(java.lang.Object)
     byte [] oracle.jdbc.oracore.Util.serializeObject(java.lang.Object)
     byte [] oracle.jdbc.xa.client.OracleXAResource.getSerializedBytes(javax.transaction.xa.Xid)
     void oracle.jdbc.xa.client.OracleXAResource.start(javax.transaction.xa.Xid, int)
     void com.ibm.ejs.jts.jta.XARminst.startAssociation(org.omg.CosTransactions.Coordinator, com.ibm.ejs.jts.jta.XID)
     boolean com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(javax.transaction.xa.XAResource)
     boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, java.lang.Class, com.ibm.ejs.jts.jta.factory.XAResourceInfo)
     boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, javax.sql.XADataSource, int, java.lang.String, java.lang.String)
     boolean com.ibm.ejs.cm.pool.JTAConnectO.enlist(org.omg.CosTransactions.Coordinator, int)
     boolean com.ibm.ejs.cm.pool.ConnectO.allocate(org.omg.CosTransactions.Coordinator, int)
     void com.ibm.ejs.cm.pool.ConnectionPool.allocateConnForTransaction(com.ibm.ejs.cm.pool.ConnectO, org.omg.CosTransactions.Coordinator, int)
     com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(org.omg.CosTransactions.Coordinator, java.lang.String, java.lang.String, java.util.Properties)
     com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(java.lang.String, java.lang.String, java.util.Properties)
     java.sql.Connection com.ibm.ejs.cm.pool.ConnectionPool.getConnection(java.lang.String, java.lang.String)
     java.sql.Connection com.ibm.ejs.cm.DataSourceImpl.getConnection(java.lang.String, java.lang.String)
     java.sql.Connection com.hep.common.JetConnectionPool.getConnection()
     java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection(java.lang.String)
     java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection()
     void com.hep.dao.DAOImpl.makeConnection()
     long com.hep.key.dao.KeyDAOImpl.nextKey(java.lang.String)
     long com.hep.key.ejb.KeyGeneratorBean.nextKey(java.lang.String)
     long com.hep.key.ejb.EJSRemoteKeyGenerator.nextKey(java.lang.String)
     org.omg.CORBA.portable.OutputStream com.hep.key.ejb._EJSRemoteKeyGenerator_Tie._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)
     com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(com.ibm.rmi.ServerRequest)
     com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ORB.process(com.ibm.rmi.ServerRequest)
     void com.ibm.CORBA.iiop.WorkerThread.run()
     void com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run()
java.sql.SQLException: ORA-29532: Java �������������� Java ��������: java.lang.NullPointerException
ORA-06512: at "SYS.JAVA_XA", line 0
ORA-06512: at line 1
     java.lang.Throwable(java.lang.String)
     java.lang.Exception(java.lang.String)
     java.sql.SQLException(java.lang.String, java.lang.String, int)
     void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
     void oracle.jdbc.ttc7.TTIoer.processError()
     void oracle.jdbc.ttc7.Oall7.receive()
     void oracle.jdbc.ttc7.TTC7Protocol.doOall7(byte, byte, int, byte [], oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int, oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int)
     int oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(oracle.jdbc.dbaccess.DBStatement, byte, byte [], oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int, oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int)
     void oracle.jdbc.driver.OracleStatement.executeNonQuery(boolean)
     void oracle.jdbc.driver.OracleStatement.doExecuteOther(boolean)
     void oracle.jdbc.driver.OracleStatement.doExecuteWithBatch()
     void oracle.jdbc.driver.OracleStatement.doExecute()
     void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()
     int oracle.jdbc.driver.OraclePreparedStatement.executeUpdate()
     boolean oracle.jdbc.driver.OraclePreparedStatement.execute()
     void oracle.jdbc.xa.client.OracleXAResource.start(javax.transaction.xa.Xid, int)
     void com.ibm.ejs.jts.jta.XARminst.startAssociation(org.omg.CosTransactions.Coordinator, com.ibm.ejs.jts.jta.XID)
     boolean com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(javax.transaction.xa.XAResource)
     boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, java.lang.Class, com.ibm.ejs.jts.jta.factory.XAResourceInfo)
     boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, javax.sql.XADataSource, int, java.lang.String, java.lang.String)
     boolean com.ibm.ejs.cm.pool.JTAConnectO.enlist(org.omg.CosTransactions.Coordinator, int)
     boolean com.ibm.ejs.cm.pool.ConnectO.allocate(org.omg.CosTransactions.Coordinator, int)
     void com.ibm.ejs.cm.pool.ConnectionPool.allocateConnForTransaction(com.ibm.ejs.cm.pool.ConnectO, org.omg.CosTransactions.Coordinator, int)
     com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(org.omg.CosTransactions.Coordinator, java.lang.String, java.lang.String, java.util.Properties)
     com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(java.lang.String, java.lang.String, java.util.Properties)
     java.sql.Connection com.ibm.ejs.cm.pool.ConnectionPool.getConnection(java.lang.String, java.lang.String)
     java.sql.Connection com.ibm.ejs.cm.DataSourceImpl.getConnection(java.lang.String, java.lang.String)
     java.sql.Connection com.hep.common.JetConnectionPool.getConnection()
     java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection(java.lang.String)
     java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection()
     void com.hep.dao.DAOImpl.makeConnection()
     long com.hep.key.dao.KeyDAOImpl.nextKey(java.lang.String)
     long com.hep.key.ejb.KeyGeneratorBean.nextKey(java.lang.String)
     long com.hep.key.ejb.EJSRemoteKeyGenerator.nextKey(java.lang.String)
     org.omg.CORBA.portable.OutputStream com.hep.key.ejb._EJSRemoteKeyGenerator_Tie._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)
     com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(com.ibm.rmi.ServerRequest)
     com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ORB.process(com.ibm.rmi.ServerRequest)
     void com.ibm.CORBA.iiop.WorkerThread.run()
     void com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run()
I don't know how to deal with this?

I also facing the very same problem with Oracle 9i, as400 db2 and WAS 4.0. Have anyone a soultion to this problem? It seems to have something do to with WAS 4.0, because I have noticed that it works fine in WAS 5.0 (which I unfortunatly cannot use in the project).
Best Regards
Per

Similar Messages

  • Problem for using oracle xml parser v2 for 8.1.7

    My first posting was messed up. This is re-posting the same question.
    Problem for using oracle xml parser v2 for 8.1.7
    I have a sylesheet with
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">.
    It works fine if I refer this xsl file in xml file as follows:
    <?xml-stylesheet type="text/xsl" href="http://...../GN.xsl"?>.
    When I use this xsl in pl/sql package, I got
    ORA-20100: Error occurred while processing: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
    After I changed name space definition to
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> in xsl file, I got
    ORA-20100: Error occurred while processing: XSL-1019: Expected ']' instead of '$'.
    I am using xml parser v2 for 8.1.7
    Can anyone explain why it happens? What is the solution?
    Yi

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Element's dont have text content, they [b]contain text node children.
    So instead of trying to setNodeValue() on the element, construct a Text node and use the appendChild method on the element to append the text node as a child of the element.<HR></BLOCKQUOTE>
    Steve,
    We are also creating an XML DOM from java and are having trouble getting the tags created as we want. When we use XMLText it creates the tag as <tagName/>value rather than <tagName>value</tagName>. We want separate open and close tags. Any ideas?
    Lori

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Problem in Using  Oracle with Thin Clients(Image) Technology

    I am running Oracle on Server and mine clients are thin clients.I have image on Oracle Server from where I am booting thin clients.The Problem I am facing is when I use single Thin client then everything works but as I starts using more than one thin client mine I got the error rwrun60 and it gives the that close or ignore message.I am using run_product for running reports.Then I tried to use run_report_object but how can I pass paramater using run_report_objects

    i m not getting much from what you are saying.... but i found something.i created a windows application and then was able to create a dataset from ODAC connection to oracle. then dragging the dataset on windows form... i was able to create a data grid containing the data. hittin F5 the app was running successfull. however when tryin to do same in asp.net...when configuring the data source using sql datasource it gave me following error ...
    ORA-00942: table or view does not exist
    help help

  • My problem in using weblogic Datasource and proxy user

    Hello
    I create a DataSource in Weblogic that connect to the database by a proxy user and I have a client application that use this DataSource and create a proxy session , I've written my client application (it's a stand alone client application) code below :
    public static void main(String [] args) {
    OracleConnection conn=null;
    javax.sql.DataSource ds=null;
    Hashtable env = new Hashtable();
    env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
    env.put(Context.PROVIDER_URL, "t3://127.0.0.1:7001");
    try{
    Context context=new InitialContext( env );
    ds=(javax.sql.DataSource) context.lookup ("OracleConnection2");
    conn=(OracleConnection) ds.getConnection();
    java.util.Properties prop = new java.util.Properties();
    prop.put(OracleConnection.PROXY_USER_NAME, "web_user1");
    prop.put(OracleConnection.PROXY_USER_PASSWORD,"web_user1");
    conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME, prop);
    if (conn.isClosed()){
    System.out.println("Connection closed");
    return;
    testJDBC(conn,true);
    for(int k=0;k<10;k++){
    testJDBC(conn,false);
    conn.close(OracleConnection.PROXY_SESSION);
    conn.close();
    }catch(Exception ex){
    ex.printStackTrace();
    It works but my problem is that in line "prop.put(OracleConnection.PROXY_USER_PASSWORD,"web_user1")" or line "prop.put(OracleConnection.PROXY_USER_NAME, "web_user1");"
    Let me to mention a scenario :
    *1- I type a wrong username or password in my client application and I run the client application it shows me this error : invalid username/password*
    *this error is acceptable*
    *2- then I correct the wrong username or password immediately and run the application again , it shows me this error (at line conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME, prop)) :*
    java.sql.SQLException: Closed Connection
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at oracle.HRFacadeClient.main(HRFacadeClient.java:38)
    *3- I run the application again (by correct username and password) but this time it shows me this error :*
    java.sql.SQLException: Unsupported feature
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at oracle.HRFacadeClient.main(HRFacadeClient.java:38)
    *4 - if I repeat running the application for multi times every time it shows me the previous error*
    *5- I wait about one minute the problem solved and my application can create proxy session *
    the result is that if I wanna create proxy session by wrong username or password and I get "Invalid username/password" error message , then after correcting username or password I have to wait about one minute and then run the application again_
    Do you know how I can overcome this problem ?
    Thank you

    Hi Jamshid,
    There is same problem observed few days back with us, and we have used the below code, and it got solved. Actually there is a problem observed while using proxy connections on weblogic.
    if(conn instanceof weblogic.jdbc.extensions.WLConnection){
         weblogic.jdbc.extensions.WLConnection cn=(weblogic.jdbc.extensions.WLConnection)conn;
         cn.clearStatementCache();
    http://rocksolutions.wordpress.com/2010/06/04/connection-pool-issue-on-weblogic/
    Hope this helps.
    Thanks

  • Problem while using oracle.sql.CLOB

    Hello,
    I was trying to use oracle.sql.CLOB to update CLOB types in database. I was able to successfully run the update when I use the connection obtained from normal DriverManager.getConnection method. But have issues when I use a datasource lookup, Am using Websphere as my JDBC provider environ.
    The exception I get during the execution of this line is
    oracle.sql.CLOB newClob = oracle.sql.CLOB.createTemporary((java.sql.Connection)conn, false, oracle.sql.CLOB.DURATION_CALL);
    java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection
    as my connection is obtained by DataSource.getConnection() method.
    Is this a documented limitation of Oracle SQL CLOB class or is there a way I can tweak the code to work.
    Am using a oracle 9i thin driver
    Thanks
    Message was edited by:
    caniknow

    With the new Oracle drivers there is no need to do it that complicated.
    Finally Oracle has implemented the standard JDBC calls, and inserting a CLOB is really easy now:
    String clobContent  = populateClobData(); // whatever...
    stmt = con.prepareStatement("INSERT INTO clob_table (id, clob_col) VALUES (?,?)";
    stmt.setInt(1, 42);
    Reader r = new StringReader(clobContent);
    stmt.setCharacterStream(2, r, clobContent.length());
    stmt.executeUpdate();
    con.commit();This works with UPDATE as well. If you need to deal with BLOBs simply use setBinaryStream().
    Reading is done using getCharacterStream() or getBinaryStream()
    This actually works across all (or at leas all major) database systems

  • Connection Problem When Using Oracle Developer Tools for Visual Studio

    I tried to create an Oracle Connection in my Visual Studio 2008 after installing Oracle 11g, Oracle Data Access Components (ODAC) with Oracle Devleoper Tools for Vissual Studio version 11.1.0.6.20.
    I followed the directions according to "Building .NET Applications Using Oracle Developer Tools for Visual Studio, when I click Test Connection, I keep getting the error message below.
    Microsoft Visual Studio
    ORA-12170: TNS:Connect timeout occurred
    OK
    ---------------------------

    I solved the problem.
    This is what I did for the benefit of the embryonic newbe like me.
    On the Add Connection Dialog
    1.     For Data source name I selected Local Database
    2.     I clicked on the specific User Name and I typed SYSTEM
    3.     For Password, I typed orcl (the password I setup during the installation) (HR did not work for me for User name and Password according to the tutorial instructions)
    4.     For Role, I selected Default
    5.     Connection Name, I selected Local Database
    6.     Before proceeding any further went to Windows XP SP3 where I was operating from, under Start Menu, I selected Administrative Tools then Services
    a.     On the Windows Services (Local) Dialog, under name, I selected OracleServiceORCL and OracleOraDb11g_home1TNSListener. I clicked on them one at a time
    b.     On the presented Dialog, under Service Status, I Clicked on the Start Button to start the Services
    c.     Then I went back to the Add Connection Dialog. I clicked on Test Connection, it connected okay. I finally clicked on Okay to connect.

  • Facing Problem  In Using Oracle Database Cloud Backup Service

    Hi Everyone,
    I m trying to use Oracle Database Backup Service, for this i have done the following as mentioned in the documentation.
    http://www.oracle.com/technetwork/database/features/availability/twp-oracledatabasebackupservice-2183633.pdf
    1.Downloaded the opc_installer from otn and unzipped.
    2. Executed the following statement from command prompt
    java -jar opc_install.jar -serviceName myService -identityDomain myDomain
    -opcId [email protected] -opcPass myPassword -configFile "C:\Oracle\OPC\conf"
    -walletDir  "C:\Oracle\OPC\wallet"  -libDir "C:\Oracle\OPC\lib"
    Using my credentials, servicename , identitydomain in the above statement.
    Download Complete message appears.
    3. Connects to RMAN and configure channel for sbt by passing this.
    configure channel device type sbt parms
    'SBT_LIBRARY=C:\Oracle\OPC\lib\oraopc12.dll
    ENV=(OPC_PFILE=C:\Oracle\OPC\conf\conf.txt)';
    4.To test the installation i executed the given statement "backup device type sbt current controlfile;"
    Starting backup at 31-MAY-14
    RMAN-00571:
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
    RMAN-00571:
    RMAN-03002: failure of backup command at 05/31/2014 04:41:44
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
    OSD-01400: Message 1400 not found;  product=RDBMS; facility=SOSD
    (OS 7110)
    ORA-19511: Error received from media manager layer, error text:
       SBT error = 7110, errno = 1400, sbtinit: internal error - invalid argument(s)
    Getting the following error.
    My database version is 11g 11.2.0.3 and is installed in windows server 2008.
    Please help to resolve the error.
    Looking for your help.
    Regards

    Hi,
    Could you try the following command ? Seems like some dependent Windows DLL is not being loaded..
    sbttest foo -libname <abs-path-of-directory>\oraopc12.dll
    This will output the reason why oraopc12.dll can't be loaded.
    Thanks

  • Problem while using oracle stored procedure in VC

    Hi All,
    I have created JDBC system and connected my locally installed Oracle data base to the VC.  I mapped the data base user to my VC user. I tested connection and it is fine. Further I see the DB alias in Visual Composer and I can drop stored procedures to my story board. I can define parameters, but when I am executing procedures I get the error message.
    Problem: I can not execute stored procedures stored in Oracle data base. Error Message: Portal request failed. Could not execute stored procedure.
    In the stored procedure, I have used select query, that returns set of records, so that  I have used  REF CURSOR as OUT Parameter. Is REF CURSOR supported by VC?. Else, any  tricks available to solve this problem?.
    Note: Stored Procedure of Sql server is working fine in VC.
    Thanks,
    Venkatesh R

    Returning (or sending in) multiple rows directly from (or to) a stored procedure is not currently possible. I have been in contact with SAP on this subject earlier, and they suggest using a web service to do the job. I used this as a work around, calling the stored procedure from a web service. I send in VC tables to this web service, and this in turn contacts my stored procedure.
    The problem is related to the connector framework in the J2EE environment.
    I am on 7.0 sps 17
    If you use stored procedure single value parameters of type varchar, number ... then VC has no problem communicating with your procedures.
    Good luck
    Henning Strand

  • Urgent: Some Problem on using Oracle Developer and Oracle 8i

    I have download the Oracle Developer from this website.
    I follow the instruction and install the Oracle Developer.
    After I finished install the Developer, a error message shows:
    "user1.pin(20):OS_ERROR whilw spawing if srv60-install Forms60Server -OraHome81d2 port:900mode:Socket batch:yes."
    When I login in the SQL Plus 8i using User name: sys
    A error message shows "ORA:122-03: Unable to connect to destination"
    I can't use the Scheme Builder also and when I open the Net8 Assistant, I can't close the program in a normal way:
    Click X on the corner/ Click File->Exit.
    Would you help me to solve this problem? Thanks!

    The problem that u are unable to login into sql prompt is may be that, you havent install the database or if u have installed it u havent started it.
    If u are using windows nt,2000,xp then u can start it from services which is under administrative tools or if u are using 95 or 98 then u have to start the database from the program menu.
    The problem that developer net8 assistant doesnt exit is a reality and i also face this problem, I think it is a bug of oracle, and if i started it, i have to endtask it.
    Bye
    Hasan

  • EF4 Model Problems by using Oracle Views

    Hi,
    for some views in the EF-Model, I get the message "The table/view does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it", but not for all views. Why?
    I add a PK for the view like '("Id" PRIMARY KEY DISABLE NOVALIDATE, ...'--> then I get another Message, because the PK Field iin the view isn't NOT NULL, but "Id" has the value of the row number. What can I do now?
    Frank

    Hello
    To shutdown the Database is no problem. When i first make the shutdown of the DB and then shutdown the server, there is no problem. Just when i wan't to shutdown the server without shutting down DB the error is here.
    No entry in Eventlog about oracle......
    Thank's

  • Samba mount problem when using Oracle VM Server 2.1

    Hello
    I´m trying to mount a remote samba share from an Oracle VM Server 2.1 installation.
    To be able to do a mount.cifs, I installed samba-client manually using yum.
    yum repository based on Enterprise Linux 5 Update 1
    In the first step the mount failed with
    CIFS VFS: Server requests plain text password but client support disabled
    CIFS VFS: Send error in SessSetup = -13
    CIFS VFS: cifs_mount failed w/return code = -13
    After doing an
    echo 0x37 > /proc/fs/cifs/SecurityFlags
    the plain text password error message is gone.
    but
    CIFS VFS: Send error in SessSetup = -13
    CIFS VFS: cifs_mount failed w/return code = -13
    still exists.
    The mount command looks like that:
    mount.cifs //*servername*/*share* /mnt/*localdir* -o sec=none,user=*username*,pass=*password*
    The samba server which provides the share, only accept plain text password with no chance to get this adjusted.
    Is there anybody who knows how to fix this issue? Help would be really appreciated.

    [2008/02/08 14:58:07, 0]
    auth/pampass.c:smb_pam_passcheck(810)
    smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User install !
    Which is an indicator that the password is transfered incorrectly.
    As the password is for sure correct, it seems to me that the sec=none option is not working correctly when using OVM 2.1.
    When using Enterprise Linux 5 Update 1 all is working well.
    There you did not even need to use the "echo 0x37"
    It works out of the box using sec=none mount option.
    That is also a reason why I started this post under Virtualization and not under Linux ;-)
    I assume it is a OVM 2.1 specific issue.

  • Problem in using Oracle BPEL 10.1.2 (beta3) Worklist API

    I'm trying the following simple program but fails. Thanks advance for your help. Here are the codes:
    package test;
    import oracle.tip.pc.api.worklist.IWorklistContext;
    import oracle.tip.pc.infra.exception.PCException;
    import oracle.tip.pc.services.hw.worklist.WorklistService;
    public class TaskTester
    public static void main(String[] args)
    String username="jcooper";
    String password="welcome";
    try
    WorklistService worklistService = WorklistService.getWorklistService();
    IWorklistContext ctx = worklistService.authenticateUser(username,password);
    System.out.println("Success");
    catch (PCException pce)
    pce.printStackTrace();
    System.out.println(pce.toString());
    The following error message is resulted:
    log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    log4j:WARN Please initialize the log4j system properly.
    Warning: Could not locate file pc.properties in classpath
    java.lang.NullPointerException
    at oracle.tip.pc.services.hw.worklist.WorklistService.authenticateUser(WorklistService.java:272)
    at test.TaskTester.main(TaskTester.java:17)
    ORABPEL-10142
    Worklist Service Authenticate User Error.
    An error occured in the Worklist Service while authenticating user jcooper with the identity service.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.

    It works fine after I port it to a web service. But, there's another problem when I try to call "getWorklistTasks" after "authenticateUser" and the codes are as follows:
    IWorklistContext ctx = worklistService.authenticateUser(userName,password);
    Map filterMap = new HashMap();
    filterMap.put("TaskFilter", "My & Group");
    filterMap.put("PriorityFilter", "Any");
    filterMap.put("StatusFilter", "Assigned");
    filterMap.put("BusinessProcessFilter", "Any");
    List taskList = worklistService.getWorklistTasks(ctx, "", filterMap, "Title", "ASC");
    It resulted that after calling "getWorklistTasks", it hanged and no reply.
    Any idea? Thanks a lot.
    Best Regards,
    Simon.

  • Problem in using OracleAS Web Cache as Load Balancer

    I have two machines:
    aimssrv.world.com and aimsrep.world.com.
    Both of above machines are running Redhat Linux AS 4.
    On both machines, I have installed Oracle Forms and Reports 10g Services. I have deployed my application on both machines.
    I am able to access my application at aimssrv.world.com by doing:
    http://aimssrv.world.com:7778/forms/frmservlet?config=aims
    and I am also able to access my application at aimsrep.world.com by doing:
    http://aimsrep.world.com:7778/forms/frmservlet?config=aims
    I have implemented OracleAS Web Cache at machine aimssrv.world.com, and have enabled the Load Balancing.
    In Origin Servers, its showing me two servers:
    Host => aimssrv.world.com, PORT=> 7778, Routing=> Enabled, CAPACITY=>100, Failover Threshold=>5, PING URL=>/, PROTOCOL=>HTTP
    Host => aimsrep.world.com, PORT=> 7778, Routing=> Enabled, CAPACITY=>100, Failover Threshold=>5, PING URL=>/, PROTOCOL=>HTTP
    In Site Definition, I have following information:
    Host Name=> aimssrv.world.com, PORT=>7777
    In site-to-server mapping, I have following information:
    Priority      Host Name      Port      ESI Content Policy      Host Name      Port      Proxy
    1      aimssrv.world.com      7777      Unrestricted      aimssrv.world.com      7778      No
    aimsrep.world.com      7778                                    No
    2      *      7777           Exclude Fragments      aimssrv.world.com      7778      No
    3      *      *           Exclude Fragments      aimssrv.world.com      7778      No
    In Session Binding, I have selected "JSESSIONID" as session, and "OC4J-based" as session binding mechanism.
    Now please guide me as how would I run my application by using the OracleAS Web Cache?
    What would be the URL?
    Do I need to make any changes in httpd.conf files of aimssrv.world.com and aimsrep.awc.com?
    Please guide.
    Thanks and regards

    hi,
    i hv recently configured webcache load-balancing for my 2 mid-tiers.I did not upgrade pre-requisite webcache upgrade patch 4569559 to my 10g rel 2 10.1.2.0.2 OAS and it still worked a bit but I do have some doubts why oracle recommends installing this patch before configuring webcache load-balancing.Have u?
    btw u need to collapse all the features of webcache of caching to turn on http load-balancing.U need to add a parameter to internal.xml (LOADBALANCE ON="YES") and register origin servers of both servers with each other and map ur sites so that origin servers of both servers will cater sites of server1 and server2 at the same time.
    what worked for me is i registered origin server of server1 at server2 and origin server of server2 at server1 and mapped site of server1 (http://server1:port/forms/frmservlet?config=something) to work with origin server of server2 as well at site-to-server page so that origin servers of both servers will load-balance my server1 site and vice-versa.
    But still its not seamless.The initial site request was still being routed to the server which is DOWN first and not seamlessly routed to other server which is UP.Maybe webcache upgrade patch would hv done this seamlessly????
    Edited by: anandk on Oct 26, 2009 6:28 PM

  • HI sir, i  got a problem while using oracle 11g,where it is asking username

    I installed Oracle11g R1 DB version 11.1.0.6 and upgraded it to 11.1.0.7 using patch set 6890831 .After that i wantd to use SQL * plus,but it is asking username & passwords. But while installing it didn't ask for any usernames ,so i tried all default usernames but didnt work. Can any one help me.

    Hi,
    After applying patch did u create Listener(using netca command) and created a database(using dbca command) ?
    I guess u have not created the database where u would be providing the username and password to login to sqlplus.
    If u have any other queries let me know.
    Thanks,
    Edwin

Maybe you are looking for