Oracle Datasource V5 error in Websphere 5.1.2

Hi
I have created a datasource in websphere using console and able to Test connection succesfully, however when i try to access through my application (from DAO) it throws following exception
before I was able to setup datasource locally using WSAD, but not able to do same on App server on Unix box.
[11/2/04 10:41:05:560 EST] 29ad5b4e Helpers W NMSV0605W: A Reference object looked up from the context "java:" with the name "comp/env/jdbc/SRSDataSource" was sent to the JNDI Naming Manager and an exception resulted. Reference data follows:
Reference Factory Class Name: com.ibm.ws.util.ResRefJndiLookupObjectFactory
Reference Factory Class Location URLs: <null>
Reference Class Name: java.lang.Object
Type: ResRefJndiLookupInfo
Content: com.ibm.ws.util.ResRefJndiLookupInfo@5c8c5b56 ResRefJndiLookupInfo: Look up Name="jdbc/SRSDataSource";JndiLookupInfo: jndiName="jdbc/SRSDB"; providerURL=""; initialContextFactory=""
Exception data follows:
javax.naming.NameNotFoundException: Context: srs-was-dev/nodes/srs-was-dev/servers/server1, name: jdbc/SRSDB: First component in name jdbc/SRSDB not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.handleNameNotFound(WsnOptimizedNamingImpl.java:1983)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.getNextWsnOptimizedNamingContext(WsnOptimizedNamingImpl.java:1320)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.getTargetContext(WsnOptimizedNamingImplBase.java:2424)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase$LeafOperationData.<init>(WsnOptimizedNamingImplBase.java:2877)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:1390)
at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(Unknown Source)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:3491)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1519)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1480)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1187)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:372)
Here is my java code
Context ctx = new javax.naming.InitialContext();
ds = (javax.sql.DataSource) ctx.lookup("java:comp/env/jdbc/SRSDataSource");
Here is my ds setting in console
Name : SRSDataSource
JNDI Name : jdbc/SRSDB
I also have references to the datasources from my EJBS defined in ejb-jar.xml and ibm-ejb-jar-bnd.xmi files - same setting and same code works great in WSAD.
any help ?
thank you

Sorry for late reply,
Yes I am exporting ear from WSAD and then deploying It on WAS using console, with out using DS settings(jdbc 1 way of creating connections) my ear file works fine on was.
I tried using directly JNDI name from my my class, again it worked on WSAD but throws following exception on WAS.
here is CODE
ds = (javax.sql.DataSource) ctx.lookup("jdbc/SRSDB");
ERROR
[04 Nov 2004 09:32:02,298] [Servlet.Engine.Transports : 1] ERROR (DBConnection.java:148) - javax.naming.NameNotFoundException: Context: srs-was-dev/nodes/srs-was-dev/servers/server1, name: jdbc/SRSDB: First component in name jdbc/SRSDB not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
[04 Nov 2004 09:32:02,300] [Servlet.Engine.Transports : 1] DEBUG (DBConnection.java:127) - caught Exception
[04 Nov 2004 09:32:02,301] [Servlet.Engine.Transports : 1] DEBUG (DBConnection.java:128) - error class name javax.naming.NameNotFoundException
[04 Nov 2004 09:32:02,301] [Servlet.Engine.Transports : 1] ERROR (DBConnection.java:130) - javax.naming.NameNotFoundException: Context: srs-was-dev/nodes/srs-was-dev/servers/server1, name: jdbc/SRSDB: First component in name jdbc/SRSDB not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
[04 Nov 2004 09:32:02,302] [Servlet.Engine.Transports : 1] ERROR (UserAuthDAO.java:95) - javax.naming.NameNotFoundException: Context: srs-was-dev/nodes/srs-was-dev/servers/server1, name: jdbc/SRSDB: First component in name jdbc/SRSDB not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
[04 Nov 2004 09:32:02,303] [Servlet.Engine.Transports : 1] DEBUG (UserAuthDAO.java:99) - closing con
[04 Nov 2004 09:32:02,305] [Servlet.Engine.Transports : 1] ERROR (CreateProgramBean.java:373) - javax.naming.NameNotFoundException: Context: srs-was-dev/nodes/srs-was-dev/servers/server1, name: jdbc/SRSDB: First component in name jdbc/SRSDB not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
[04 Nov 2004 09:32:02,324] [Servlet.Engine.Transports : 1] ERROR (ProgramInfoCommandDelegate.java:76) - java.rmi.MarshalException: CORBA MARSHAL 0x4942f896 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : The repository ID is not of an RMI value type (Expected ID = RMI:java.lang.Throwable:F8678B4F4D2EB705:D5C635273977B8CB; Received ID = IDL:omg.org/CosNaming/NamingContext/NotFound:1.0) vmcid: IBM minor code: 896 completed: No

Similar Messages

  • Oracle DataSource configuration on  JBoss3.x

    Hello,
    Can any1 plz help me in configuring Oracle 9i DataSource with JBoss 3.x?? I know JBoss 3.x comes with Hypersonic DB as a default DataBase.
    I downloaded ejb examples from http://www.titan-books.com. This site contain examples from O'Reilly's Enterprise JavaBeans, Third Edition by Richard Monson-Haefel's book.Examples are server specific and its available for few application servers (e.g Weblogic, WebSphere,JBoss etc).I am able to deploy and run the example EJBs. It automatically creates tables in the DB. Its using default DB ie Hypersonic DataBase.
    Now I want to see the database and different tables within that DB.How can i do that.Like i can see different tables in Oracle DB using SQLPlus and they can be quried too. I want something very similar for Hypersonic DataBase too. How can i do that?????
    Well my second prob is, I want to configure oracle datasource and pool in JBoss 3.x Application server. How do i do that?? Lemme tell u what all I have done so far. I have copied oracle-service.xml file in D:\Jboss-3.0.3\server\default\deploy directory. changed the file according to my database's SID and pswd. Following is the oracle-service.xml file after modification. I restarted my application server.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- ===================================================================== -->
    <!-- -->
    <!-- JBoss Server Configuration -->
    <!-- -->
    <!-- ===================================================================== -->
    <server>
    <!-- ==================================================================== -->
    <!-- ConnectionManager setup for Oracle dbs -->
    <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
    <!-- Thanks to Steven Coy -->
    <!-- ==================================================================== -->
    <mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=OracleDS">
    <!-- Include a login module configuration named OracleDbRealm.
    Update your login-conf.xml, here is an example for a
    ConfiguredIdentityLoginModule:
    <application-policy name = "OracleDbRealm">
    <authentication>
    <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
    <module-option name = "principal">yourprincipal</module-option>
    <module-option name = "userName">yourusername</module-option>
    <module-option name = "password">yourpassword</module-option>
    <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=OracleDS</module-option>
    </login-module>
    </authentication>
    </application-policy>
    NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the
    module-option name = "managedConnectionFactoryName"
    must match the object name of the ConnectionManager you are configuring here.
    -->
    <!--uncomment out this line if you are using the OracleDbRealm above
    <attribute name="SecurityDomainJndiName">OracleDbRealm</attribute>
    -->
    <depends optional-attribute-name="ManagedConnectionFactoryName">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=OracleDS">
    <attribute name="JndiName">OracleDS</attribute>
    <attribute name="ManagedConnectionFactoryProperties">
    <properties>
    <config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:@localhost:1521:jam</config-property>
    <config-property name="DriverClass" type="java.lang.String">oracle.jdbc.driver.OracleDriver</config-property>
    <!--set these only if you want only default logins, not through JAAS -->
    <config-property name="UserName" type="java.lang.String"></config-property>
    <config-property name="Password" type="java.lang.String"></config-property>
    </properties>
    </attribute>
    <!--Below here are advanced properties -->
    <!--hack-->
    <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper</depends>
    </mbean>
    </depends>
    <depends optional-attribute-name="ManagedConnectionPool">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=LocalTxPool,name=OracleDS">
    <attribute name="MinSize">0</attribute>
    <attribute name="MaxSize">50</attribute>
    <attribute name="BlockingTimeoutMillis">5000</attribute>
    <attribute name="IdleTimeoutMinutes">15</attribute>
    <!--criteria indicates if Subject (from security domain) or app supplied
    parameters (such as from getConnection(user, pw)) are used to distinguish
    connections in the pool. Choices are
    ByContainerAndApplication (use both),
    ByContainer (use Subject),
    ByApplication (use app supplied params only),
    ByNothing (all connections are equivalent, usually if adapter supports
    reauthentication)-->
    <attribute name="Criteria">ByContainer</attribute>
    </mbean>
    </depends>
    <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
    <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
    <attribute name="TransactionManager">java:/TransactionManager</attribute>
    <!--make the rar deploy! hack till better deployment-->
    <depends>jboss.jca:service=RARDeployer</depends>
    </mbean>
    </server>
    Even after restarting my server i m getting errors like....
    15:14:40,537 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN
    ame=CustomerHomeRemote,service=EJB
    org.jboss.deployment.DeploymentException: Error: can't find data source: java:/O
    racleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not b
    ound)
    at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEnt
    ityBridge.java:99)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC
    StoreManager.java:397)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
    r.java:339)
    at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
    er.java:198)
    at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
    at org.jboss.ejb.Container.invoke(Container.java:756)
    at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy5.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy25.start(Unknown Source)
    at org.jboss.ejb.EjbModule.startService(EjbModule.java:430)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
    64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy5.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy11.start(Unknown Source)
    at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:394)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:427)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:553)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    loop(AbstractDeploymentScanner.java:225)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    run(AbstractDeploymentScanner.java:202)
    Caused by: javax.naming.NameNotFoundException: OracleDS not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:456)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:440)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEnt
    ityBridge.java:96)
    ... 51 more
    15:14:41,398 INFO [EjbModule] Started
    15:14:41,408 INFO [MainDeployer] Deployed package: file:/D:/Softwares/Jboss-3.0
    .3/server/default/deploy/titan.jar
    15:14:41,428 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
    ration 'checkIncompleteDeployments()'
    Cause: Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    [org.jboss.deployment.DeploymentInfo@4e8000b0 { url=file:/D:/Softwares/Jboss-3.0
    .3/server/default/deploy/oracle-service.xml }
    deployer: org.jboss.deployment.SARDeployer@482923
    status: Deployment FAILED reason: Trying to install an already registered mbea
    n: jboss.jca:service=LocalTxCM,name=OracleDS
    state: FAILED
    watch: file:/D:/Softwares/Jboss-3.0.3/server/default/deploy/oracle-service.xml
    lastDeployed: 1044524015691
    lastModified: 1044524016000
    mbeans:
    ]MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=CustomerHomeRemote,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
    source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException
    : OracleDS not bound)]
    16:44:04,450 INFO [EJBDeployer] Creating
    16:44:04,490 INFO [EJBDeployer] Created
    16:47:16,767 INFO [jbossweb] Registered jboss.web:Jetty=0,HttpContext=0,context
    =/
    16:47:17,227 INFO [jbossweb] Started HttpContext[]
    Can any one tell me what else i need to do to make it running. Do i need to make some other changes in some file??
    Tx in advance
    Jameel

    I have done all of the above suggested, however, i still getting an error, not sure where the problem lies now.
    Could anyone help please.
    The following is just part of what's being printed hwen starting using run.sh.
    at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:389)
    at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:368)
    at org.jboss.naming.Util.rebind(Util.java:108)
    at org.jboss.naming.Util.rebind(Util.java:95)
    at org.jboss.proxy.ejb.ProxyFactory.rebindHomeProxy(ProxyFactory.java:350)
    at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:337)
    at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
    at org.jboss.ejb.StatelessSessionContainer.start(StatelessSessionContainer.java:206)
    at org.jboss.ejb.Container.invoke(Container.java:756)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy4.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy16.start(Unknown Source)
    at org.jboss.ejb.EjbModule.startService(EjbModule.java:430)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy4.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy10.start(Unknown Source)
    at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy3.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
    ploymentScanner.java:656)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:507)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
    bstractDeploymentScanner.java:261)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy2.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:230)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
    at org.jboss.Main.boot(Main.java:148)
    at org.jboss.Main$1.run(Main.java:381)
    at java.lang.Thread.run(Thread.java:484)
    17:52:02,911 INFO [EjbModule] Started
    17:52:02,911 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-ejb-adaptor.jar
    17:52:02,911 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/
    17:52:03,001 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@10832e
    17:52:03,001 INFO [JBossWebApplicationContext] setDistributableSessionManager org.mortbay.j2ee.session.Manager@5e538e
    17:52:03,252 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=1,context=/jmx-console
    17:52:04,323 INFO [jbossweb] Started WebApplicationContext[jmx-console,file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/]
    17:52:04,394 INFO [jbossweb] successfully deployed file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/ to /jmx-console
    17:52:04,394 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/
    17:52:04,404 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
    Cause: Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jb
    oss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested ex
    ception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested excep
    tion is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:s
    ervice=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    17:52:04,424 INFO [URLDeploymentScanner] Started
    17:52:04,424 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/s
    erver/default/conf/jboss-service.xml
    17:52:04,424 ERROR [Server] start failed
    Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jb
    oss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
    is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
    jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1134)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
    at org.jboss.Main.boot(Main.java:148)
    at org.jboss.Main$1.run(Main.java:381)
    at java.lang.Thread.run(Thread.java:484)
    17:52:04,444 ERROR [STDERR] Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.checkIncomp
    leteDeployments(MainDeployer.java:1134)
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
    Deployer.java:594)
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
    Deployer.java:575)
    17:52:04,444 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
    17:52:04,444 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
    her.invoke(ReflectedMBeanDispatcher.java:284)
    17:52:04,444 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
    eanServerImpl.java:517)
    17:52:04,444 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(Se
    rverImpl.java:325)
    17:52:04,444 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(Serv
    erImpl.java:222)
    17:52:04,444 ERROR [STDERR] at org.jboss.Main.boot(Main.java:148)
    17:52:04,454 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:381)
    17:52:04,454 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484)

  • Oracle.jms.AQjmsException: Error creating the db_connection( OSB PS2.)

    hi All,
    I am beginner in OSB 11g. Please excuse me if I am asking any dumb question.
    I am trying to post messages to Oracle AQ by configuring JMS Destination in OSB Alert destination
    I have configured AQ JMS in weblogic 10.3.3 ( OSB PS2) following the blog (http://jianmingli.com/wp/?p=2950)
    When i invoked my proxy OSB proxy service i am getting following exception. Can you please help if i am missing any kind of setup while configuring the JMS Module.
    Caused By: oracle.jms.AQjmsException: Error creating the db_connection
         at oracle.jms.AQjmsDBConnMgr.getConnection(AQjmsDBConnMgr.java:625)
         at oracle.jms.AQjmsDBConnMgr.<init>(AQjmsDBConnMgr.java:399)
         at oracle.jms.AQjmsXAConnection.<init>(AQjmsXAConnection.java:112)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createAllXAConnection(AQjmsXAQueueConnectionFactory.java:320)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createXAQueueConnection(AQjmsXAQueueConnectionFactory.java:198)
         at weblogic.deployment.jms.JMSConnectionHelper.openConnection(JMSConnectionHelper.java:282)
         at weblogic.deployment.jms.JMSConnectionHelper.<init>(JMSConnectionHelper.java:144)
         at weblogic.deployment.jms.JMSSessionPool.getConnectionHelper(JMSSessionPool.java:517)
         at weblogic.deployment.jms.PooledConnectionFactory.createConnectionInternal(PooledConnectionFactory.java:355)
         at weblogic.deployment.jms.PooledConnectionFactory.createQueueConnection(PooledConnectionFactory.java:188)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.getSession(JmsOutboundMessageContext.java:399)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.newMessage(JmsOutboundMessageContext.java:621)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.setRequestMetaData(JmsOutboundMessageContext.java:229)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.access$100(JmsOutboundMessageContext.java:72)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext$SendAction.run(JmsOutboundMessageContext.java:788)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.security.Security.runAs(Security.java:61)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.send(JmsOutboundMessageContext.java:551)
         at com.bea.wli.sb.transports.jms.JmsTransportProvider.sendMessageAsync(JmsTransportProvider.java:680)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
         at $Proxy111.sendMessageAsync(Unknown Source)
         at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageWithoutService(TransportManagerImpl.java:489)
         at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:417)
         at com.bea.wli.sb.init.FrameworkStarter$TransportServiceImpl.sendMessageAsync(FrameworkStarter.java:391)
         at com.bea.alsb.alert.action.jms.JmsActionProvider.executeAction(JmsActionProvider.java:345)
         at com.bea.alsb.alert.AlertDestinationHandlerImpl.sendAlertToDestination(AlertDestinationHandlerImpl.java:105)
         at com.bea.alsb.alert.pipeline.PipelineAlertManager.processAlert(PipelineAlertManager.java:59)
         at stages.logging.runtime.AlertRuntimeStep.processMessage(AlertRuntimeStep.java:125)
         at com.bea.wli.sb.pipeline.debug.DebuggerRuntimeStep.processMessage(DebuggerRuntimeStep.java:74)
         at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
         at com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
         at stages.routing.runtime.RouteRuntimeStep.processMessage(RouteRuntimeStep.java:102)
         at com.bea.wli.sb.pipeline.debug.DebuggerRuntimeStep.processMessage(DebuggerRuntimeStep.java:74)
         at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
         at com.bea.wli.sb.pipeline.RouteNode.doRequest(RouteNode.java:106)
         at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
         at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:922)
         at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
         at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:99)
         at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
         at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
         at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:329)
         at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:76)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:134)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:132)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:137)
         at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
         at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
         at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:353)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1033_WLStub cannot be cast to oracle.jdbc.internal.OracleConnection
         at oracle.jms.AQjmsGeneralDBConnection.getProviderKey(AQjmsGeneralDBConnection.java:96)
         at oracle.jms.AQjmsGeneralDBConnection.<init>(AQjmsGeneralDBConnection.java:65)
         at oracle.jms.AQjmsDBConnMgr.getConnection(AQjmsDBConnMgr.java:566)
         at oracle.jms.AQjmsDBConnMgr.<init>(AQjmsDBConnMgr.java:399)
         at oracle.jms.AQjmsXAConnection.<init>(AQjmsXAConnection.java:112)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createAllXAConnection(AQjmsXAQueueConnectionFactory.java:320)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createXAQueueConnection(AQjmsXAQueueConnectionFactory.java:198)
         at weblogic.deployment.jms.JMSConnectionHelper.openConnection(JMSConnectionHelper.java:282)
         at weblogic.deployment.jms.JMSConnectionHelper.<init>(JMSConnectionHelper.java:144)
         at weblogic.deployment.jms.JMSSessionPool.getConnectionHelper(JMSSessionPool.java:517)
         at weblogic.deployment.jms.PooledConnectionFactory.createConnectionInternal(PooledConnectionFactory.java:355)
         at weblogic.deployment.jms.PooledConnectionFactory.createQueueConnection(PooledConnectionFactory.java:188)

    hi All,
    Here is the actual exception while posting message into AQ ( AQ JMS) from OSB.
    Caused By: java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1033_WLStub cannot be cast to oracle.jdbc.internal.OracleConnection
    at oracle.jms.AQjmsGeneralDBConnection.getProviderKey(AQjmsGeneralDBConnection.java:96)
    at oracle.jms.AQjmsGeneralDBConnection.<init>(AQjmsGeneralDBConnection.java:65)
    Not sure what is missing in my AQ JMS configuration. Please help.
    Regards,
    Nagi

  • How to install Oracle AS JMS Adapter on Websphere (or any J2EE server)

    Hi,
    We have a requirement in which the client wants to connect to the OC4J JMS running in SOA Suite (Oracle Application Server 10.1.3.4).
    They are using Websphere. We are exploring ways by which they can connect from Websphere application to Oracle AS OC4J JMS.
    One option is - deploy the Oracle AS JMS adapter in Websphere and then use it to connect to the OC4J JMS.
    Please let us know if this is the right approach. Also, if so, kindly point to the documentation regarding how to install the JMS adapter on 3rd party J2EE servers such as websphere.
    Rgds,
    Amit

    While searching the knowledge base I found the following note, which seems to suggest that Oracle Adapters are not deployble on other J2EE application servers:
    Support For Jca Adapter In Other Application Servers Like Jboss [ID 1114738.1]
    ==============================================
    From the statements in documentation it may be implied that jca adapter should be deployable on any application server that is compliant with j2ee/jca. Please note that this cannot be implied at this time and jca adapter cannot be deployed on other application servers than OAS in BRM 731 due to some technical constraints. So currently we can support only OAS and not JBoss or another application server , in BRM 731. The documentation will be updated accordingly to reflect this.

  • O1034 Oracle not available error

    Right, I'm running on a Windows Xp platform, I've installed ok and it runs ok. I have manually altered the password of user HR from within sqlplus, and everything is fine.The problem comes when I switch off and switch back on, I am unable to start the database.
    Running sqlplus system/password gives me ORA-01034 Oracle not available and ORA-27101: Shared memory realm does not exist.
    I have tried running stobdb.bat and startdb.bat which both run ok, but I still get the oracle not available error when going into sqlplus. It seems that the PC does not install the oracle set up on booting perhaps? I also cannot access the "Go to database home page", from my web browser, but I'm not sure if it is necessary to access that home page?

    We are seeing this a little bit, and not sure what is causing it at this stage. Starting the database manually seems to help, or at least points to the root cause problems.
    The steps to start the database manually are posted at Re: ORA-01033 after starting and trying to connect. and also posted below
    To shutdown manually go to the SQL Command Line (as the OS user that installed Oracle).
    At the SQL Prompt SQL> issue
    connect / as sysdba
    For example
    SQL> connect / as sysdba
    Connected.
    Then type
    shutdown immediate;
    You should see the following
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Then type
    startup
    You should see the following
    SQL> startup
    ORACLE instance started.
    Total System Global Area 599785472 bytes
    Fixed Size 1249348 bytes
    Variable Size 192942012 bytes
    Database Buffers 402653184 bytes
    Redo Buffers 2940928 bytes
    Database mounted.
    Database opened.
    Just to be sure, also try a select
    select count(*) from hr.employees;
    You should see
    SQL> select count(*) from hr.employees;
    COUNT(*)
    107
    Any problems or errors reported with any of these steps, please let us know.

  • Does oracle log general errors

    Dear experts,
    I am using Oracle 11.2.0.3. I am researching on random ORA-00900:     invalid SQL statement error that we are seeing in production. Does oracle log such errors in alert.log or any tables? If not can we configure to log such errors?
    Thanks.

    Dont understand.... you are seeing ORA-00900 in production but don't know where to search this error? where do you see it?It is being logged from application in event log which I do not have access to. I wanted to check if oracle also logs such error some where.
    SQL Banner : SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 28 12:12:25 2012
    SQL :
    SELECT
    overload,
    DECODE (
    position,
    0,
    'RETURN_VALUE',
    NVL (argument_name, CHR (0))
    ) AS name,
    DECODE (
    in_out,
    'IN', 1,
    'IN/OUT', 3,
    'OUT', DECODE (argument_name, NULL, 6, 2),
    1
    ) AS direction,
    DECODE (
    data_type,
    'BFILE', 101,
    'BLOB', 102,
    'BYTE', 103,
    'CHAR', 104,
    'CLOB', 105,
    'DATE', 106,
    'DECIMAL', 107,
    'DOUBLE', 108,
    'INT16', 111,
    'INT32', 112,
    'INT64', 113,
    'INTERVAL DAY TO SECOND', 114,
    'INTERVAL YEAR TO MONTH', 115,
    'LONG', 109,
    'LONG RAW', 110,
    'NCHAR', 117,
    'NCLOB', 116,
    'NVARCHAR2', 119,
    'RAW', 120,
    'REF CURSOR', 121,
    'SINGLE', 122,
    'TIMESTAMP', 123,                              
    'TIMESTAMP WITH LOCAL TIME ZONE', 124,
    'TIMESTAMP WITH TIME ZONE', 125,
    'VARCHAR2', 126,
    'XMLTYPE', 127,
    'NUMBER', 107,
    126
    ) AS oracleType,
    DECODE (
    data_type,
    'BLOB', 0,
    'CHAR', 0,
    'CLOB', 0,
    'LONG RAW', 0,
    'NCHAR', 0,                              
    'NCLOB', 0,                              
    'NVARCHAR2', 0,
    'RAW', 0,
    'VARCHAR2', 2048,                                                            
    0
    ) AS length,
    NVL (data_precision, 255) AS precision,
    NVL (data_scale, 255) AS scale
    FROM
    all_arguments
    WHERE
    data_level = 0
    AND data_type IS NOT NULL
    AND owner = :schemaName
    AND package_name = :packageName
    AND object_name = :methodName
    ORDER BY
    overload, position
    ******************** EXCEPTION PROPERTIES ********************
    Errors: Oracle.DataAccess.Client.OracleErrorCollection
    Source: Oracle Data Provider for .NET
    Number: 900
    ErrorCode: -2147467259
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Void HandleErrorHelper(Int32, Oracle.DataAccess.Client.OracleConnection, IntPtr, Oracle.DataAccess.Client.OpoSqlValCtx*, System.Object, System.String, Boolean)
    Edited by: spur230 on Nov 28, 2012 12:13 PM

  • ORA-01034: ORACLE not available error while creating ASM or database

    Hi all,
    I am using oracle database 10gR2 on windows 2000 pro system.
    I have Installed oracle software and there was no issue with that but now I am facing ORA-01034: ORACLE not available error while trying to create asm instance or even while creating database through dbca.
    I have tried creating the asm instance manually and it was succeeded. Also database creation was successful through manual steps.
    Any idea guys?? How to resolve this issue??

    Hi FK,
    On Windows, it can sometimes mean that the services are not running. I have a check here:
    http://www.dba-oracle.com/t_check_verify_windows_services.htm
    Have you tried using oradim?
    http://www.dba-oracle.com/tips_oradim_utility.htm
    The oradim utility provides more than just the ability to start and stop Windows databases. Windows oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms.
    The oradim utility is used on the Windows platform to perform these tasks.
    C:\oracle9i\bin\oradim -startup -sid ORCL92 –usrpwd manager
    -starttype SRVC,INST -pfile C:\oracle9i\admin\ORCL92\pfile\init.ora
    • startup – Indicates that the specified instance should be started.
    • sid – The SID of the database to start.
    • usrpwd – The password for the database user.
    • starttype – Specifies whether to start the instance, the service, or both
    Hope this helps. . .
    Don Burleson
    Oracle Press author

  • Oracle Secure Backup error: 'No such file or directory'

    Hi,
    could you help me to fix the following issue?
    RMAN> run {   ALLOCATE CHANNEL c1 DEVICE TYPE sbt PARMS='SBT_LIBRARY=C:\windows\
    system32\orasbt.dll' ; backup database format 'CF_%d_%T_s%sp%pt%t'; }
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=8 device type=SBT_TAPE
    channel c1: Oracle Secure BackupStarting backup at 26-OCT-09
    channel c1: starting full datafile backup set
    channel c1: specifying datafile(s) in backup set
    input datafile file number=00001 name=C:\APP\AIME\ORADATA\ORCL\SYSTEM01.DBF
    input datafile file number=00002 name=C:\APP\AIME\ORADATA\ORCL\SYSAUX01.DBF
    input datafile file number=00003 name=C:\APP\AIME\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile file number=00004 name=C:\APP\AIME\ORADATA\ORCL\USERS01.DBF
    input datafile file number=00005 name=C:\APP\AIME\PRODUCT\11.2.0\DBHOME_1\DATABA
    SE\TBS_5.F
    channel c1: starting piece 1 at 26-OCT-09
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on c1 channel at 10/26/2009 00:20:54
    ORA-19506: failed to create sequential file, name="CF_ORCL_20091026_s10p1t701223
    652", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    sbt__rpc_cat_query: Query for piece CF_ORCL_20091026_s10p1t701223652 failed.
    (Oracle Secure Backup error: 'No such file or directory').
    Thanks,
    jun

    You can work entirely in Xcode by using the command-line tool template in C. Xcode > File > New > Project > Command-Line Tool > Next > Language: C > Next > Create.
    If you do want to work on the command line, you may as well just use the "clang" program instead. The "gcc" tool is just a compatibility tool for existing scripts that are expecting the actual "gcc" program. Apple hasn't used the real "gcc" for years. (Read up on the GPLv3 for more information.)
    The gcc/clang arguments are the same. The "-c" flag instructs the compiler to only compile a single .c file into a .o object file. It won't create an executable. If you are only compiling a single source file, just omit the "-c" flag and the compiler will create an executable named "a.out" that you can run by typing "./a.out". You can specify "-o <executable name>" if you want to specify a name. Once you get more than a handful of source files, using the terminal starts to become a hassle. At that point, you definitely want to start using Xcode.
    I'm not sure why you would try to compile "helloworlddot1.c" and then get an error message about "filename.c". Something else is wrong.
    If you are working in the Terminal, it is easiest to use the "cd" command to move into the same directory as your source files. Then you don't have to keep typing the full path.
    It is hard to say what the "best" community is. There are many to choose from.

  • Oracle SQL DEVELOPER ERROR

    Hello everyone
    Can anyone here please help me with oracle sql developer error
    My problem is that i have installed oracle sql developer as a root and now when i execute the following command
    [root@localhost tmp]# sqldeveloper
    Oracle SQL Developer
    Copyright (c) 2008, Oracle. All rights reserved.
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    /opt/oracle/softwares/jdk1.5.0.19
    Error: /opt/oracle/softwares/jdk1.5.0.19/bin/java not found
    As you can see i did install java but still i keep getting that error
    Thank you

    From what you have shown us, we can't tell that you have installed java. What do you get from the following command?
    /opt/oracle/softwares/jdk1.5.0.19/bin/java -versiontheFurryOne

  • Oracle BI Scheduler Error

    Hi all,
    I have created a request and added it to the dashboard. I have scheduled the request using Delivers. I have created an iBOT and when i save it the following error is thrown. What cud be the reason?
    Oracle BI Scheduler Error: [nQSError: 68019] Authentication Failed.
    Error Details
    Error Codes: GYFPI8RN
    Cheers.
    Thank u.

    Hi I also faced this problem..
    see this link
    http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
    you need to use the cryptotools utility to register the user name and password of the administrator user.
    Edited by: kart on Apr 28, 2010 1:05 PM

  • Oracle Universal Installer - Error En Create OUI Process (): 5

    When I want to install ODAC (Oracle Data Provider) for Visual Studio gives me the following error:
    Oracle Universal Installer - Error En Create OUI Process (): 5
    Thank You ..

    What version of client are you trying to install? I'd go with 11.2.0.2 to rule out any known issues with the OUI.
    11202 is available on MOS. If you don't have Oracle Support to be able to access MOS, 11201 is available in the downloads section on OTN.
    Greg

  • OLE DB provider 'OraOLEDB.Oracle' reported an error The provider did not gi

    Hi, I've setup oracle client tools on a windows server that runs sql server 7
    tnsping works as well as the client tool test feature on my sid.
    However, I can't seem to use it from SQL Server. I've installed and uninstalled the client tools many times, I'm beginning to think perhaps I installed the wrong package. Weird thing is there is no Listener listed in Windows Services, yet the listener I setup is working.
    I enabled the allow in process property of both the MSADAORA and Oracle OLE drivers from SQL Server, help!!
    SELECT * FROM OPENQUERY(ORACLE_MIRROR, 'select count(1) from dual')
    RESULTS IN:
    Server: Msg 7399, Level 16, State 1, Line 1
    OLE DB provider 'MSDAORA' reported an error.
    [OLE/DB provider returned message: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.]
    OLE DB error trace [OLE/DB Provider 'MSDAORA' IDBInitialize::Initialize returned 0x80004005:   ].
    THIS IS AFTER I HAVE INSTALLED THE ORACLE 10.2 CLIENT TOOLS AND SETUP A LISTENER AND TESTED SIDS OK.
    UTILIZING THE ORACLE OLE DRIVER IN THE LINKED SERVER I GET THIS ERROR:
    Server: Msg 7399, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' reported an error. The provider did not give any information about the error.
    OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' IDBInitialize::Initialize returned 0x80004005:  The provider did not give any information about the e                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The MS OLEDB for Oracle was built some time ago and requires an older SQL*Net version:
    OLE/DB provider returned message: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    => see Oracle Version V7.3.3 ... but you have installed V10; so the OLEDB driver from MS tries to locate old SQL*Net client library files which are not available in your installation anymore.
    So best would be to use the Oracle OLEDB driver coming with the SQL*Net client you have installed.
    As you mentioned this causes a different error:
    Server: Msg 7399, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' reported an error. The provider did not give any information about the error.
    OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' IDBInitialize::Initialize returned 0x80004005: The provider did not give any information about the e
    This error is related to the OLEDB process running by default in "out-of-process" mode which doesn't work with Oracle OLEDB driver. By setting a key in the registry under SQL Server this can be changed to run in-process (the default) the provider will work:
         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Providers\ORAOLEDB.ORACLE
    Change the value of the key "AllowInProcess" under the "OraOLEDB.Oracle" folder
    to a hexadeciaml value of 1.
    If the key does not exist create it as a new DWORD value.
    See also:
    Article-ID:         Note 260775.1
    Title:              ORA-12560 Attempting to Query the Oracle Database from
                        Microsoft SQL Server's SQL Query Analyzer Using the Oracle
                        Provider for OLE DB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Transport of oracle datasources

    I am extracting data based on oracle datasources
    I have transported a cube by selecting the grouping option (IN Data Flow Before) 
    and the objects have been transported to Quality but without datasources
    Could you please let me know what is the exact issue I have here.
    why the datasources have not been transported to Quality and even it is not apearing in the devlopement system at the time of grouping
    I appreciate your help in this regards

    Hi ,
    Try the following steps:-
    1 collect the cube first with necessary objects
    2 then collect the update rule with necessary objects.
    3 collect the transfer rule with necessary objects
    in one request.
    Check this request in se09 and see that all the objects are collected in the request.
    Then import this to the target system, but make sure that the if any views or tables are created in oracle developement environment are existing in production environment of the same.
    Regards
    Rahul Bindroo

  • Oracle warehouse builder error when I execute any mapping

    oracle warehouse builder error when I execute any mapping:
    I have installed OWB successfuly, It still no longer working correctly: it executed all the mappings, but it suddenly becomes incapable to execute any mappings in any project. It validates successfuly the mappings but in the execution it show the message :
    " ora-06550 : ligne1 colonne19..."
    please help me to correct this error.
    thank you.

    Make sure that there is no primary key or index on this table who exceed the limit.
    For more information see
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_wm2.htm#105677

  • How to suppress Oracle Seeded Form Error Message

    I have a requirement to suppress the oracle seeded form error message.
    How this can be done. Can any one please advise?
    Thanks,
    Ananga

    Also, a redirect is possible - look for note 555137.1 in My Oracle Support.
    -Vinod

Maybe you are looking for