How to let SOA Suite automatically start Oracle Database services if necess

It occurs from time to time that I forget to start Oracle database services
before I start Soa Suite. Can I somehow let SOa Suite startup script check in advance
if Oracle database services need to be started (and start them automatically if necessary)?
Peter

Hi,
This is a familiar issue. I've come up with the following solutions.
1) On my linux machine, I start the database (EE) and soa suite at boot time using /etc/oratab.
2) On my windows machine, I start the database (XE) at boot time, as a service that automatically starts. The soa suite is started manually. I could start the suite automatically as a service also, but because it takes up so much memory and I do not always want to run the suite, I prefer to start manually. In any way, the database is started automatically before the soa suite.
Hope this will help you.
Kind regards,
H

Similar Messages

  • Can I install two versions of SOA suite using same Oracle database

    Condition:
    I installed Weblogic server(10.3.5) and SOA Suite(11.1.1.5), and
    I used RCU 11.1.1.5 to create the schemas(Oracle DB 11g-111170) for it.
    Plan:
    Now I plan to install another Weblogic server(10.3.6) and SOA Suite (11.1.1.6)
    and I will used RCU 11.1.1.6 to create the schemas for it.
    Question:
    Can I use same database(Oracle DB 11g-111170) for the two versions of SOA Suite? that is
    Can I Run the RCU 11.1.1.6 to create the schemas for SOA Suite (11.1.1.6) on the oracle database server I already used for SOA Suite 11.1.1.5?
    If I can use same database for the two versions of SOA Suite, how can I resolve schame name conflict?

    Hi
    1. YES. You can absolutely use SAME DB to have multiple Versions of SOA Schemas.
    2. Any SOA/BPM will need basically 4/5 schemas like SOAINFRA, MDS, ORABAM, ORASDPM etc. based on what you choose. And each of these Schemas can be Prefixed. Default prefix is like DEV, so schemas are like DEV_SOAINFRA, DEV_MDS etc
    3. Very Simple. When you Run RCU 11.6 and give the same old db details, in next screen it will automatically show the new Prefix for the schemas it will create. If DEV is used, it will show DEV1 like that. So just choose a Different Prefix and you are good to go.
    I have the same thing on my side. Single Database. Multiple RCU for SOA 11.5 and SOA 11.6 with different Prefixes:
    SOA 11.5 -> DEV115_SOAINFRA, DEV115_MDS, DEV115_ORABAM etc
    SOA 11.6 -> DEV116_SOAINFRA, DEV116_MDS, DEV116_ORABAM etc
    I Used the Prefixes like DEV115, DEV116 so that I know exactly which version of RCU schema they refer to.
    For QC, UAT, PROD we used prefixes like QC_*, UAT_*, PROD_* etc.
    NOTE: When you drop the schemas for some reason, make sure to give the appropriate prefixes so that only they are dropped and not others.
    Thanks
    Ravi Jegga

  • How to Install emacs, openssh and start oracle database and get a connect?

    As suggested by another poster, I installed the prebuilt appliance at [http://www.oracle.com/technetwork/community/developer-vm/index.html] and [http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html] with the intent of running oracle database in a linux vm as a guest on windows 7 and connecting to it using JDBC from the windows host.
    This is running but I don't know how to install other stuff. I tried "sudo yum install openssh" and "sudo yum install emacs" and "sudo service sshd status" and none of these worked (it could not find these packages). I could not get apt-get or app-get or aptget to work either. I was hoping that "uname -a" would tell me if this was fedora or debian or something else but no luck. What command do I use to learn the distro name?
    How do I make ifconfig tell me what the ip address so I can use "scp" and "ssh" to get into the box? Ok, /sbin/ifconfig works and I see there is only a loopback address. Ack! How do I create a socket so I can ssh into this little beastie?
    How do I disable the firewall or (better yet) punch holes in it so I get use JDBC and ssh, scp and samba from windows 7?
    I tried firing up the SQL Developer 3.1 and getting a test connection with username and password of "oracle" with no luck. How do I get a test connection to work?
    How do I determine if the database is running? If not, how do I start it and stop it and restart it?
    Thanks
    Siegfried
    Edited by: user8816970 on Sep 15, 2012 6:29 PM
    Edited by: user8816970 on Sep 15, 2012 6:33 PM

    There is no "oracle" account native to the database itself. This is just the default account that owns the application. Log on as oracle/oracle to the OS. (OEL) You can change the passwords of the sys and system account by setting your $ORACLE_HOME and $ORACLE_SID. Default SID is orcl on a database install. Also set a path to the oracle binaries in the form of $ORACLE_HOME/bin.
    Then sqlplus / as sysdba
    Change passwords of sys and system using the following example.
    ALTER USER SYS IDENTIFIED BY [password];
    ALTER USER SYSTEM IDENTIFIED BY [password];
    The supplied appliance runs oracle enterpirse linux. Not debain or fedora.
    Why do you need "emacs"?
    I haven't personally load this appliance with Virtual Box but there has to be a readme file somewhere that details all the passwords and etc.

  • How to automate the Oracle database start and shutdown process

    How we can automate and oracle database start and stop procees with Linux start/shutdown process.
    I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.

    Hi,
    I can share my scripts:
    1) /home/oracle/start_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    lsnrctl start
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    startup
    exit
    ENDSQL
    emctl start dbconsole
    isqlplusctl start
    NOTE: emctl and isqlplus are optional
    2) /home/oracle/stop_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    isqlplusctl stop
    emctl stop dbconsole
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    shutdown immediate
    exit
    ENDSQL
    lsnrctl stop
    NOTE: emctl and isqlplus are optional
    Then what you need:
    1) K91oracle_stop (put it in the desired run level)
    #!/bin/bash
    # description: Stop Oracle before reboots
    su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
    2) S91oracle_start (put it in the desired run level)
    #!/bin/bash
    # description: Start Oracle after reboots
    su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
    Bye.

  • SOA Suite cannot start properly

    Hi,
    we are using SOA Suite 11g 1.1.1.2 and we encountered this error (for the 2nd time, we re-installed before):
    After restarting the server (nothing has changed in the configuration and nothing was deployed), it is impossible to start soa suite again with the following exceptions in the logs.
    <Apr 21, 2010 1:21:48 PM EEST> <Error> <oracle.soa.services.workflow.common> <BEA-000000> <<.> Persistency service internal error.
    Persistency service internal error.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    ORABPEL-9732
    Persistency service internal error.
    Persistency service internal error.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    at oracle.bpel.services.workflow.repos.PersistencyDriver.initNonTransactionDataSource(PersistencyDriver.java:271)
    at oracle.bpel.services.workflow.repos.PersistencyDriver.getNonTransactionConnection(PersistencyDriver.java:297)
    at oracle.bpel.services.workflow.repos.PersistencyDriver.getNonTransactionService(PersistencyDriver.java:282)
    at oracle.bpel.services.workflow.repos.PersistencyDriver.getInstance(PersistencyDriver.java:185)
    at oracle.bpel.services.workflow.user.impl.StandardViewLoaderUtil.loadViewsFromFile(StandardViewLoaderUtil.java:75)
    at oracle.bpel.services.workflow.user.impl.UserMetadataService.<clinit>(UserMetadataService.java:211)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:756)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:721)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:91)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:75)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:799)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:717)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
    at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)
    at org.springframework.ejb.support.AbstractEnterpriseBean.loadBeanFactory(AbstractEnterpriseBean.java:116)
    at org.springframework.ejb.support.AbstractStatelessSessionBean.ejbCreate(AbstractStatelessSessionBean.java:66)
    at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.ejbCreate(TaskServiceBean.java:17)
    at oracle.bpel.services.workflow.task.ejb.TaskServiceBean_ua8c6d_Impl.ejbCreate(TaskServiceBean_ua8c6d_Impl.java:162)
    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 weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:216)
    at weblogic.ejb.container.pool.Pool.createInitialBeans(Pool.java:300)
    at weblogic.ejb.container.manager.StatelessManager.initializePool(StatelessManager.java:448)
    at weblogic.ejb.container.deployer.EJBDeployer.initializePools(EJBDeployer.java:1634)
    at weblogic.ejb.container.deployer.EJBDeployer.start(EJBDeployer.java:1464)
    at weblogic.ejb.container.deployer.EJBModule.start(EJBModule.java:601)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.Exception: Unable to create data source from property file
    at oracle.bpel.services.workflow.repos.PersistencyDriver.createDataSourceFromPropertyFile(PersistencyDriver.java:417)
    at oracle.bpel.services.workflow.repos.PersistencyDriver.initNonTransactionDataSource(PersistencyDriver.java:268)
    at oracle.bpel.services.workflow.repos.PersistencyDriver.getNonTransactionConnection(PersistencyDriver.java:297)
    at oracle.bpel.services.workflow.repos.PersistencyDriver.getNonTransactionService(PersistencyDriver.java:282)
    at oracle.bpel.services.workflow.repos.PersistencyDriver.getInstance(PersistencyDriver.java:185)
    at oracle.bpel.services.workflow.user.impl.StandardViewLoaderUtil.loadViewsFromFile(StandardViewLoaderUtil.java:75)
    at oracle.bpel.services.workflow.user.impl.UserMetadataService.<clinit>(UserMetadataService.java:211)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:756)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:721)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:91)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:75)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:799)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:717)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
    at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)
    at org.springframework.ejb.support.AbstractEnterpriseBean.loadBeanFactory(AbstractEnterpriseBean.java:116)
    at org.springframework.ejb.support.AbstractStatelessSessionBean.ejbCreate(AbstractStatelessSessionBean.java:66)
    at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.ejbCreate(TaskServiceBean.java:17)
    at oracle.bpel.services.workflow.task.ejb.TaskServiceBean_ua8c6d_Impl.ejbCreate(TaskServiceBean_ua8c6d_Impl.java:162)
    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 weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:216)
    at weblogic.ejb.container.pool.Pool.createInitialBeans(Pool.java:300)
    at weblogic.ejb.container.manager.StatelessManager.initializePool(StatelessManager.java:448)
    at weblogic.ejb.container.deployer.EJBDeployer.initializePools(EJBDeployer.java:1634)
    at weblogic.ejb.container.deployer.EJBDeployer.start(EJBDeployer.java:1464)
    at weblogic.ejb.container.deployer.EJBModule.start(EJBModule.java:601)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    <Apr 21, 2010 1:21:48 PM EEST> <Error> <oracle.soa.services.common> <BEA-000000> <<.> Persistency service internal error.
    Persistency service internal error.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    ORABPEL-9732
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    at oracle.fabric.CubeServiceEngine.init(CubeServiceEngine.java:269)
    at oracle.fabric.CubeServiceEngine.afterPropertiesSet(CubeServiceEngine.java:1667)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at oracle.fabric.BPELServiceEngine.getDaoFactory(BPELServiceEngine.java:105)
    at com.collaxa.cube.engine.CubeEngineBase.setCubeServiceEngine(CubeEngineBase.java:230)
    at com.collaxa.cube.engine.CubeEngineBase.setServerManager(CubeEngineBase.java:222)
    at com.collaxa.cube.admin.ServerManager.__init(ServerManager.java:130)
    at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:117)
    Truncated. see log file for complete stacktrace
    Any suggestions or ideas?
    Edited by: user11262170 on Apr 21, 2010 5:08 AM

    Hi,
    first shutdown the servers and then log-in as SYSTEM in your database. Then execute the following commands after you replace PARRUN_SOAINFRA with the name of your local SOA INFRA schema:
    declare po dbms_aqadm.aq$_purge_options_t;
    begin
    po.block := true;
    dbms_aqadm.purge_queue_table(queue_table => '"PARRUN_SOAINFRA"."EDN_EVENT_QUEUE_TABLE"',purge_condition => 'qtview.queue=''AQ$_EDN_EVENT_QUEUE_TABLE_E''',purge_options => po);
    end;
    declare po dbms_aqadm.aq$_purge_options_t;
    begin
    po.block := true;
    dbms_aqadm.purge_queue_table(queue_table => '"PARRUN_SOAINFRA"."EDN_OAOO_DELIVERY_TABLE"',purge_condition => 'qtview.queue=''AQ$_EDN_OAOO_DELIVERY_TABLE_E''',purge_options => po);
    end;
    declare po dbms_aqadm.aq$_purge_options_t;
    begin
    po.block := true;
    dbms_aqadm.purge_queue_table(queue_table => '"PARRUN_SOAINFRA"."IP_QTAB"',purge_condition => 'qtview.queue=''AQ$_IP_QTAB_E''',purge_options => po);
    end;
    declare po dbms_aqadm.aq$_purge_options_t;
    begin
    po.block := true;
    dbms_aqadm.purge_queue_table(queue_table => '"PARRUN_SOAINFRA"."EDN_EVENT_QUEUE_TABLE"',purge_condition => 'qtview.queue=''EDN_EVENT_QUEUE''',purge_options => po);
    end;
    declare po dbms_aqadm.aq$_purge_options_t;
    begin
    po.block := true;
    dbms_aqadm.purge_queue_table(queue_table => '"PARRUN_SOAINFRA"."EDN_OAOO_DELIVERY_TABLE"',purge_condition => 'qtview.queue=''EDN_OAOO_QUEUE''',purge_options => po);
    end;
    declare po dbms_aqadm.aq$_purge_options_t;
    begin
    po.block := true;
    dbms_aqadm.purge_queue_table(queue_table => '"PARRUN_SOAINFRA"."IP_QTAB"',purge_condition => 'qtview.queue=''IP_IN_QUEUE''',purge_options => po);
    end;
    declare po dbms_aqadm.aq$_purge_options_t;
    begin
    po.block := true;
    dbms_aqadm.purge_queue_table(queue_table => '"PARRUN_SOAINFRA"."IP_QTAB"',purge_condition => 'qtview.queue=''IP_OUT_QUEUE''',purge_options => po);
    end;
    commit;
    Finally start the servers and wait to see if soa suite will start properly. Hopefully it will work for you too.
    regards

  • How can i start oracle databases? i am using Oracle 8.1.6 for linux.

    when i run dbstart,it gives me following message:
    Database "ora4cweb" warm started.
    but when i use sqlplus,it says:
    ORA-01034: ORACLE not available
    i made a mistake ,i shutdown my linux before i shutdown oracle databases,how can i start oracle databases now?thanks in advance.

    try it without the scripts...
    login to linux as oracle
    start server manager
    svrmgrl
    connect internal
    startup
    select sysdate from dual;if that works
    exitcheck listener
    lsnrctl
    statif nothing running type
    start
    exitnull

  • Automatically start oracle after reboot

    Is there a way to automatically start oracle after reboot? Our platform is Soaris 10 and Oracle 10.2.0.1.0

    (1) Don't forget to edit $ORACLE_HOME/bin/dbstart. (Note:337927.1)
    Original line:
    ORATAB=/etc/oratab
    Modified line:
    ORATAB=/var/opt/oracle/oratab
    (2) As per Note:336299.1 use:
    dbstart $ORACLE_HOME
    or
    dbstart /u01/app/oracle/product/10.2.0 (or whatever is your Oracle_Home)
    or you'll get: "ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener"
    HTH
    Enrique

  • Install OEM 12c fails on "start oracle management service". win2008

    Windows Server 2008 R2 Enterprise SP1 x64
    Oracle Database 11g release 11.2.0.3.0
    I install OEM 12c(12.1.0.3) following this manual: Installing Enterprise Manager System
    before start i've installed WebLogic Server 10.3.6 and aplied 2 patches specified in this manual
    installation type is advanced, small, so i have created database from the appropriate template
    i also installed cygwin and started ssh-service
    the installation of OEM process fails on 73% "start oracle management service" with this message:
    INFO: oracle.sysman.top.oms:Starting OMS ...
    INFO: oracle.sysman.top.oms:Executing command: cmd /c set NEED_EXIT_CODE=1&&C:\Oracle\Middleware\oms\bin\emctl.bat start oms
    INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 3 
    INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
    INFO: oracle.sysman.top.oms:Windows service OracleManagementServer_EMGC_OMS1_1 failed to be started
    INFO: oracle.sysman.top.oms:Oracle Management Server is Down
    INFO: oracle.sysman.top.oms:Please check C:/Oracle/gc_inst/em/EMGC_OMS1\sysman\log\emctl.log for error details
    SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
    in C:/Oracle/gc_inst/em/EMGC_OMS1\sysman\log\emctl.log i got this:
    2013-09-06 12:24:27,012 [main] ERROR commands.BaseCommand logAndPrint.620 - Oracle Management Server Could Not Be Started
    Check EM Server log file for details: C:\Oracle\gc_inst\user_projects\domains\GCDomain\servers\EMGC_OMS1\logs\EMGC_OMS1.out
    2013-09-06 12:24:27,012 [main] INFO  commands.StartCommand startOMS.337 - startOMS finished with result: 1
    2013-09-06 12:24:30,974 [main] INFO  commands.StartCommand startOMS.371 - net start return code is 2
    2013-09-06 12:24:30,974 [main] ERROR commands.BaseCommand logAndPrint.620 - Windows service OracleManagementServer_EMGC_OMS1_1 failed to be started
    2013-09-06 12:24:34,094 [main] INFO  commands.BaseCommand printMessage.404 - statusOMS finished with result: 8
    2013-09-06 12:24:34,094 [main] ERROR commands.BaseCommand logAndPrint.620 - Please check C:/Oracle/gc_inst/em/EMGC_OMS1\sysman\log\emctl.log for error details
    and in C:\Oracle\gc_inst\user_projects\domains\GCDomain\servers\EMGC_OMS1\logs\EMGC_OMS1.out this:
    <06.09.2013 12:24:01 ICT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.25-b01 from Oracle Corporation>
    <06.09.2013 12:24:01 ICT> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13349651 Thu May 24 10:18:28 IST 2012
    WebLogic Server Temporary Patch for BUG14482558 Fri Jan 11 11:20:16 IST 2013
    WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
    <06.09.2013 12:24:03 ICT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:Error: Failed to get value from Standard Input
    Enter password to boot WebLogic server:
    <06.09.2013 12:24:04 ICT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: Booting as admin server, but servername, EMGC_OMS1, does not match the admin server name, EMGC_ADMINSERVER
         at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:67)
         at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
         at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
         at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
         at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
         at weblogic.Server.main(Server.java:71)
    >
    <06.09.2013 12:24:04 ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    wlst:
    wls:/offline>
    what I did wrong? how to start WLS server?

    Hi,
    First of all with EM 12.1.0.x any version you are not required to install wls separately, we have single installer for em and wls. Is there any specific reason you installer wls separately?
    Coming back to your issue: can you check
    %OMS_HOME%\BIN>emctl istart oms completes successfully.
    %OMS_HOME%\BIN>emctl istop oms completes successfully.
    Also open an SR with Oracle support and share the number. We should debug such issue through SR so that we can share logs and come find a root cause.

  • Error 1067 while starting oracle css service in XP

    Error 1067 while starting oracle css service in XP

    Hi all,
    I have installed Oracle10g in windows xp ...
    I am unable to connect from my application . On viewing the services, oracleCSService is not yet started eventhough it is automatic . While manually starting it
    its showing an error
    "Could not start the oracleCSService on Local Computer
    Error 1067: Process terminated Unexpectedly...."
    I hope somebody can help me on this !!
    Thanks

  • Automatically start the database

    I could not automatically start the database recently. My OS is windows XP. I set all the OracleServiceSID to be automatic in the windows service and the ora_sid_autostart to be true in the registry. It automatically started before. I have not changed anything except that the network encryption was added recently. Can anybody give me a hint? Thank you very much for your help.
    Xiaoyun

    Thank you for your reply. I can still manually start the database. The only thing uncommon from the alert log is
    Thu Jul 10 16:36:58 2003
    Beginning crash recovery of 1 threads
    Thu Jul 10 16:36:58 2003
    Started first pass scan
    Thu Jul 10 16:36:58 2003
    Completed first pass scan
    3685 redo blocks read, 65 data blocks need recovery
    Thu Jul 10 16:36:58 2003
    Started recovery at
    Thread 1: logseq 302, block 145778, scn 0.0
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 302 Reading mem 0
    Mem# 0 errs 0: C:\ORACLE\ORADATA\SID\REDO01.LOG
    Thu Jul 10 16:36:59 2003
    Ended recovery at
    Thread 1: logseq 302, block 149463, scn 0.75826787
    65 data blocks read, 65 data blocks written, 3685 redo blocks read
    Crash recovery completed successfully
    Thu Jul 10 16:37:00 2003
    Do I have to do the recovery? Thank you for your help.

  • How to insert an image file in Oracle database

    hi
    can you please tell me how to insert an image file into oracle database????
    suppose there is one image file in c:\pictures\rose.jpg. how to insert that file into database? theoretically i know that will be BFILE type but i dont know how to insert that.
    will be waiting for your reply........
    thanks & regards,
    Priyatosh

    Hello,
    The easiest way to load a blob is to use SQL loader.
    This example comes from the utilities guide:
    LOAD DATA
    INFILE 'sample.dat'
    INTO TABLE person_table
    FIELDS TERMINATED BY ','
    (name CHAR(20),
    1 ext_fname FILLER CHAR(40),
    2 "RESUME" LOBFILE(ext_fname) TERMINATED BY EOF)
    Datafile (sample.dat)
    Johny Quest,jqresume.txt,
    Speed Racer,'/private/sracer/srresume.txt',
    Secondary Datafile (jqresume.txt)
    Johny Quest
    500 Oracle Parkway
    Secondary Datafile (srresume.txt)
    Loading LOBs
    10-18 Oracle Database Utilities
    Speed Racer
    400 Oracle Parkway
    regards,
    Ivo

  • How to insert a image file into oracle database

    hi all
    can anyone guide me how to insert a image file into oracle database now
    i have created table using
    create table imagestore(image blob);
    but when inserting i totally lost don't know what to do how to write query to insert image file

    Hi I don't have time to explain really, I did have to do this a while ago though so I will post a code snippet. This is using the commons file upload framework.
    Firstly you need a multi part form data (if you are using a web page). If you are not using a web page ignore this bit.
    out.println("<form name=\"imgFrm\" method=\"post\" enctype=\"multipart/form-data\" action=\"FileUploadServlet?thisPageAction=reloaded\" onSubmit=\"return submitForm();\"><input type=\"FILE\" name=\"imgSource\" size='60' class='smalltext' onKeyPress='return stopUserInput();' onKeyUp='stopUserInput();' onKeyDown='stopUserInput();' onMouseDown='noMouseDown(event);'>");
    out.println("   <input type='submit' name='submit' value='Submit' class='smalltext'>");
    out.println("</form>"); Import this once you have the jar file:
    import org.apache.commons.fileupload.*;Now a method I wrote to upload the file. I am not saying that this is correct, or its the best way to do this. I am just saying it works for me.
    private boolean uploadFile(HttpServletRequest request, HttpSession session) throws Exception {
            boolean result = true;
            String fileName = null;
            byte fileData[] = null;
            String fileUploadError = null;
            String imageType = "";
            String error = "";
            DiskFileUpload fb = new DiskFileUpload();
            List fileItems = fb.parseRequest(request);
            Iterator it = fileItems.iterator();
            while(it.hasNext()){
                FileItem fileItem = (FileItem)it.next();
                if (!fileItem.isFormField()) {
                    fileName = fileItem.getName();
                    fileData = fileItem.get();
                    // Get the imageType from the filename extension
                    if (fileName != null) {
                        int dotPos = fileName.indexOf('.');
                        if (dotPos >= 0 && dotPos != fileName.length()-1) {
                            imageType = fileName.substring(dotPos+1).toLowerCase();
                            if (imageType.equals("jpg")) {
                                imageType = "jpeg";
            String filePath = request.getParameter("FILE_PATH");
            session.setAttribute("filePath", filePath);
            session.setAttribute("fileData", fileData);
            session.setAttribute("fileName", fileName);
            session.setAttribute("imageType", imageType);
            return result;  
         } And now finally the method to actually write the file to the database:
    private int writeImageFile(byte[] fileData, String fileName, String imageType, String mode, Integer signatureIDIn, HttpServletRequest request) throws Exception {
            //If the previous code found a file that can be uploaded then
            //save it into the database via a pstmt
            String sql = "";
            UtilDBquery udbq = getUser(request).connectToDatabase();
            Connection con = null;
            int signatureID = 0;
            PreparedStatement pstmt = null;
            try {
                udbq.setUsePreparedStatements(true);
                con = udbq.getPooledConnection();
                con.setAutoCommit(false);
                if((!mode.equals("U")) || (mode.equals("U") && signatureIDIn == 0)) {
                    sql = "SELECT SEQ_SIGNATURE_ID.nextval FROM DUAL";
                    pstmt = con.prepareStatement(sql);
                    ResultSet rs = pstmt.executeQuery();
                    while(rs.next()) {
                       signatureID = rs.getInt(1);
                    if (fileName != null && imageType != null) {
                        sql = "INSERT INTO T_SIGNATURE (SIGNATURE_ID, SIGNATURE) values (?,?)";
                        InputStream is2 = new ByteArrayInputStream(fileData);
                        pstmt = con.prepareStatement(sql);
                        pstmt.setInt(1, signatureID);
                        pstmt.setBinaryStream(2, is2, (int)(fileData.length));
                        pstmt.executeUpdate();
                        pstmt.close();
                        con.commit();
                        con = null;
                if(mode.equals("U") && signatureIDIn != 0) {
                    signatureID = signatureIDIn.intValue();
                    if (fileName != null && imageType != null) {
                        sql = "UPDATE T_SIGNATURE SET SIGNATURE = ? WHERE SIGNATURE_ID = ?";
                        InputStream is2 = new ByteArrayInputStream(fileData);
                        pstmt = con.prepareStatement(sql);
                        pstmt.setBinaryStream(1, is2, (int)(fileData.length));
                        pstmt.setInt(2, signatureID);
                        pstmt.executeUpdate();
                        pstmt.close();
                        con.commit();
                        con = null;
            } catch (Exception e) {
                con = null;
                throw new Exception(e.toString());
            return signatureID;
       }

  • How to handel a Batch job in oracle database

    How to handel a Batch job in oracle database?
    Regards
    alok

    Alekh wrote:
    lists of jobs execute concurrently.Thats a definition we all aware of ;), I meant do you want to execute the jobs in a sequence? is there any dependency? is it more like scheduling?
    And What kind of jobs you are talking about? running PL/SQL programs? or stats collection? or DB backup?
    Regards,
    Prazy

  • How to update transaction data automatically into MySQL database using PI

    Dear All,
    With reference to subject matter I want a sincere advice regarding how to update transaction data automatically into MySQL database using PI. Is there any link available where I can get step-by-step process.
    Ex: I have a MYSQL database in my organization. Whenever a delivery created in SAP some fields like DO Number, DO quantity, SO/STO number should get updated in MYSQL database automatically.
    This scenario is related to updation of transactional data into MYSQL DB and I want your suggestions pertaining to same issue.
    Thanks and Regards,
    Chandra Sekhar

    Hi .
    Develop a sceanrio between SAP to Database system,When the data updates in SAP Tables read the data and update it in DATA Base using JDBC adapter,but there will be some delay in updating data in MySQL.
    serach in sdn for IDOC-TOJDBC sceannario,many documents available for the same.
    Regards,
    Raja Sekhar

  • How to load text file data to Oracle Database table?

    By using Oracle Forms, how to load text file data to Oracle Database table?

    Metalink note 33247.1 explains how to use text_io as suggested by Robin to read the file into a Multi-Row block. However, that article was written for forms 4.5 and uses CREATE_RECORD in a loop. There was another article, 91513.1 describing the more elegant method of 'querying' the file into the block by transactional triggers. Unfortunately this more recent article has disappeared without trace and Oracle deny its existence. I know it existed as I have a printed copy in front of me, and very useful it is too.

Maybe you are looking for

  • A dynamic View object at runtime

    Say there is an inputtext component and one LOV. User will enter a number, say 7, and then press a Submit button. And then in the LOV, user will be able to see the numbers from 1 to 7. Is it possible to achieve the same?

  • Using null for parameterized "newInstance(Object [])" method in Object[].

    I have a really serious problem. I am creating instances of specific classes by using reflection techniques. I am reading a flat file, finding class from its name and creating it by using its parameterized constructor. Example: line 1: Dummy("A",Dumm

  • Anyone use User Device Affinity?

    Just wanted to know if anyone is using User Affinity to deploy software and if you are, can you please share any headaches I should be on the lookout for. We use it in limited fashion (via AD Group Membership) and its working well. I would like to ex

  • Inconsistent Business partner Details.

    Hi, I am using PFAL to transfer PERNR to BP's. I am facing a Problem in the BP details that are displayed once we click the resource name in candidate list / staffing. In The BP Detail screen the organization unit & Manager are displayed for only som

  • How can I read the last alarm ocurred?

    I want to know what Tag is the last to get into alarm. How can I do that with the DSC module?