Create a persistent JDBC Store using WLST

Hi,
I want to create persistent JDBC store. i am unable to set the value for Datasource using WLST set command. Below are the steps which I followed. Please help me out.
connect('weblogic','welcome1','t3://hostname:port')
edit()
startEdit()
servermb=getMBean("Servers/soa_server1")
ts = create('SampleJMSDataStore','JDBCStore')
ts.addTarget(servermb)
cd('JDBCStores/SampleJMSDataStore')
set('DataSource','SOADataSourceName')
activate()
After I executed above commands, i logged into Admin console to check whether the values are set. But it is not. please let me know how to solve this issue.
Thanks,
Gomathi

Which is the output of the script? Do you receive any errors?

Similar Messages

  • How to create a JMS persistent file store using WLST in WLS 9.0?

    Anybody have a good example of this? When I try to create a fileStore and set it on my jms server I am getting the following error: "TypeError: setPersistentStore(): 1st arg can't be coerced to weblogic.management.configuration.PersistentStoreMBean'
    Thanks :)

    Hi,
    First Create Persistent Store ( FileStore / JDBCStore).
    File Store Creation is as follows:
    Store = create("PStore","FileStore")
    Set it's File Directory and Targets.
    then Create JMS Server and set its Persistent Store as File Store. Set JMS Server Target.

  • How to create an RDBMS event generator using wlst on weblogic 10.3

    how to create an RDBMS event generator using wlst on weblogic 10.3, i got a code fragment needing class "com.bea.wli.management.configuration.RDBMSEventGenChannelConfiguration"
    but i can' t find this class in classpath on weblogic 10.3, pls help me, thanks. code sample is better.

    Hi,
    RDBMS Event Generator Channel Rule Definition
    When you are creating channel rule definitions in the WebLogic Integration Administration Console, it is recommended that you do not use the Back button if you want to resubmit the details on a page.
    You should always use the navigation links provided and create a new channel rule definition.
    http://download.oracle.com/docs/cd/E13214_01/wli/docs85/deploy/cluster.html
    http://download.oracle.com/docs/cd/E13214_01/wli/docs81/relnotes/relnotesLimit.html
    http://otndnld.oracle.co.jp/document/products/owli/docs10gr3/pdf/deploy.pdf
    This problem has been seen in the past when defining the channel rule for an RDBMS Event Generator if schema name was specified with the incorrect case (i.e. lowercase when it should have been uppercase or vice versa). To that end, it is suggested to change the case of the schema when creating the channel rule
    Regards,
    Kal

  • Create durable subscribers, JMSAdapter JNDI and DBAdapter JNDI using WLST

    Hi All,
    I have developed some WLST scripts to create new JMS servers, JMS modules which includes queues, topics and connection factories, data sources, etc.
    I can successfully create topics using WLST but I cannot see any option to create durable subscribers using WLST. Also, I can create JMS server JNDIs along with its modules but I am unable to create JMSAdapter JNDI ( under Deployments ) using WLST.
    Can anyone please help me out?
    Thanks in advance,
    -Karan

    Hi,
    I have the same problem, and when I try to record it. The py file contains nothing.
    I know sometime weblogic server doesn't record, such as outbound connection factory. I guess durable Subscribers is another one.
    Anyone know know to do this?
    Cheers,
    Tim

  • How do we create a jdbc onnection pool using WLST in an existing domain

    I am using WLST for creating weblogic 8.1 sp4 domain. The scripts I have create connection pools at the creation of domain. These scripts are used by other developers to create their local domains. I would like to avoid the creation of domain from scratch just to add a new connection pool
    I am looking for way to create connection pool in the existing domain. Is there a way to do this?

    You need to use WLST online. I am not sure what your exact requirements are but one good way of working this is to have a WLST script that deletes all your WL customisations, like connection pools, JMS Servers etc and then creates it. That way you can run the same script repeatedly and it will get everything up to date for you. However you have to remember that everytime you add something new you need to update your delete section. Also your deleting should not fail if the item does not exist. I hope that makes sense!
    As to the specifics of WLST examples to do this then check out the WLST examples in CodeShare.
    If you are still having issues then post another message.
    Geoff

  • Unable to get the dataSources while creating the persistent stores.

    Hi, While I am trying to create a persistent store (JDBC Store) I am unable to see the already created DataSources in the dropdown menu. I also tried creating new DataSource from Persistent Store creating screen but still could not see.
    Following steps followed while creating DataSource.
    Fill in the values for
    Name, E.g.: JD-JDBC-Store.
    JNDI Name – jdbc/JobDispatcherDS.
    DatabaseType – Oracle
    Database Driver - Retain the default selection
    Click on ‘Next’
    Click on ‘Next’
    Fill in values for:
    Database Name – SID of the Database
    Host Name – The hostname/IP on which the Database is running
    Port – DB Port
    Database User Name - JOBUSER.
    Password – JOBUSER
    Click on ‘Next’
    Click on ‘Test Configuration’ to ensure the correctness of the values. Got a success message on the screen.
    Click on ‘Next’
    Select your target server. E.g.: AdminServer
    Click on ‘Finish’
    Following steps while creating the Persistent Store
    Clicked on New button. Select ‘Create New JDBC Store’ Option
    Fill in the values.
    name – E.g.: JD-JDBC-Store
    Target server - admin Server.
    data source - not able to get any to select from the DropDown.
    Thank You,
    Naresh.

    Dear Rajesh ,
    I am assuming your server is on Windows  :
    For Eg.
    My SID is PRD and system number 02 and hostname prdserver then command should be execute like : 
    E:\usr\sap\PRD\DVEBMGS02\exe>jcmon pf=E:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS02_prdserver
    Rest all are same :
    In JControl Monitor Program - Main Menu :
    Select : 20 : Local Administration Menu
    And check the status of server0 process it shoud be up and running .
    Regards ,
    Santosh

  • Looking up a distributed queue with two persistent stores using two JMS Svr

    I am trying to do the following:
    1. Setup a distributed queue, i have two servers which are part of the cluster:
    Server A: t3://localhost:7003
    Server B: t3://localhost:7005
    I go in and create two jms servers:
    JMS Server JA: Target on Server A
    JMS Server JB: Target on Server B
    Now as the jms servers need to use a seperate persistent store for each one of them i create two persistent stores.
    2. Now from my MDB which is deployed on another server i lookup the queue using
    t3://localhost:7003,localhost:7005 as the provider url
    My problem is that i always end up listening to the messages on the first jms server and never get to read the messages on jms server JB as i guess i am able to connect to JMS Server JA so i never try and connect to JB? What to do about this?
    Edited by: user4828945 on Mar 23, 2009 2:32 PM

    Allocation of consumers wouldn't take into account the number of messages on the queue - they'd be allocated randomly. The scenario you're proposing shouldn't happen though - WebLogic Server takes into account whether a member has consumers when sending to a distributed destination, but otherwise, assuming that Queue 1 and Queue 2 both have consumers, then distribution of load will be equal. It's not the amount of consumers that determine how many messages get sent to a distributed destination member - it's whether it has members at all.
    Assuming that did occur initially though, you'd expect processing to be a little bit more intensive on the server with the queue holding 30 messages. It would pretty quickly even up though.
    From that point forward, it would be somewhere between difficult and impossible to get to the second scenario, where you have an unequal number of messages in each distributed destination member, unless the work being sent with each message to an MDB can vary significantly in how long it would take to process.
    Assuming (and it's a big if) you could get to that scenario, then the MDBs wouldn't switch over - they stay connected to a particular distributed destination member. And it's their connection to a member as a consumer that controls how WebLogic Server load balances messages (assuming default configuration) so that's part of what makes it unlikely to get there.
    From going back to first principles in the documentation, it seems like your best result would actually be from deploying the MDB to the cluster - that way, there's no remote connections to JMS queues, and you get a pool of MDBs on each server instance.
    Ref here: http://e-docs.bea.com/wls/docs81/ejb/message_beans.html

  • OSB  - Creating SLA Alerts using WLST

    Hi,
    I'd like to create SLA Alerts on proxy services using WLST rather than via the service bus console.
    The MBean described at:
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/ProxyServiceConfigurationMBean.html
    only seem to allow enabling or disabling SLA alerts not creating them.
    Can anyone point me in the right direction?
    Thanks
    Nick

    Please refer -
    http://blogs.oracle.com/MarkSmith/entry/osb_alerts_purging_is_essentia
    From the blog -
    The components that make up WLDF will be targeted to a single managed server in a clustered environment or to the Admin server in a single server environment. To establish what managed server this is, check to see where the WLI Aggregator application is targeted to. The WLDF data will be stored under this single managed server in the following location: //domain_name/servers/server_name/data/store/diagnostics/Check that on which server WLI Aggregator application is targeted and connect to that server from your script.
    Regards,
    Anuj

  • How to get Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information I want to create a Paid Books Account use apple ID

    I was given this address from the Apple customer support team.
    I have an active existing iTunes store account and use the same Apple ID for signing into my iTunes Connect Account that distributes Apps.
    I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
    I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
    I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
    I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.
    See additional information below:
    What device did you use to connect to the store?  Mac computer
    Which operating system is installed?  Mac OS X v10.7.x
    What version of iTunes is installed on your computer?  iTunes 10.6
    Choose the iTunes Store or App Store for your country:  Other
    Please select your country:  Australia

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • Creating a new domain using WLST

    Hi,
    I am trying to write a WLST script to create a new domain without using an existing template. (Similar to the first option of "Generate a domain configured automatically to support the following BEA products" option when using the domain configuration wizrd). I found the createDomain command but am not able to see an option to create a domain without using a template. Does anyone know if I can create a domain without using a template? Here is the command and its syntax.
    createDomain(domainTemplate, domainDir, user, password)
    Can I skip the domainTemplate section to create a new domain without basing it on an existing one?
    Thanks.

    You might be able to use configToScript but you would have to be connected.
    <siva01> wrote in message news:[email protected]..
    Hi,
    I am trying to write a WLST script to create a new domain without using an
    existing template. (Similar to the first option of "Generate a domain
    configured automatically to support the following BEA products" option when
    using the domain configuration wizrd). I found the createDomain command but
    am not able to see an option to create a domain without using a template.
    Does anyone know if I can create a domain without using a template? Here is
    the command and its syntax.
    createDomain(domainTemplate, domainDir, user, password)
    Can I skip the domainTemplate section to create a new domain without basing
    it on an existing one?
    Thanks.

  • Help creating project specific ALSB Customization file using WLST

    I asked this question in August in another forum and was redirected here, but never followed up. I'm hopeful someone has done this...
    Is it possible to create an ALSB CUstomization file for a single project using WLST?
    If so, does anyone have an example they would be wiling to share. I've been beating my head against the wall for almost 2 days (well, months now...) , and I'm REALLy starting to get a headache from it now....
    We're running WLS 9.2 MP2 and ALSB 2.6 RP1
    Any help is greatly appreciated,
    Brian

    Brian, OSB specific questions are best directed in the SOA Suite forum:
    SOA Suite
    It looks like there is an ALSBConfigurationMBean with a customize method, but I have not worked with it and it does not sound like that will give you precisely what you want:
    http://edocs.bea.com/alsb/docs261/javadoc/com/bea/wli/sb/management/configuration/ALSBConfigurationMBean.html#customize(java.util.List)

  • Creating Global Roles in 9.1 using WLST

    Hi,
    Did anyone try creating Global Roles in Weblogic 9.1 ?
    Since in Weblogic 9.1, the Authorizer and Role Mapper providers are XACML based, I am not sure if we can use WLST offline to create global roles.
    Can someone please shed some light on this.
    Thanks -agreddy

    As far as i know you could never create roles via WLST offline, only via WLST online.
    Thanks,
    -satya
    BEA Blog: http://dev2dev.bea.com/blog/sghattu/

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

  • HT2534 Hi, if I create a new iTunes Store etc account to access a European iTunes store, will this wipe all the apps I've downloaded via my UK AppleID (which I'm using across 3 different devices)?

    NB. the app I'm initially interested in downloading for is the paid global/worldwide BBC iPlayer app that's only accessible outside the UK, if that helps.
    Message was edited by: HayMow

    Hi ...
    if I create a new iTunes Store etc account to access a European iTunes store, will this wipe all the apps I've downloaded via my UK AppleID (which I'm using across 3 different devices)?
    Yes.
    And, your credit or debit card credentials must be associated with the same country where you reside.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article

  • Create a Generic Data Source and deploy a webservice on a domain using WLST

    Hello for everyone,
    I usually create generic data sources and deploy webservices on a wls domain by using the Administrator Console. I wonder if you can pass me a script sample to do this task by using WSLT. On the other hand, if you can pass me a "quick start" guide about WLST, this would be very helpful.
    Additionally, may I be able to create groups, application roles and users to a domain by using WLST?
    Thanks for your help.

    You can use standard infoobjects as well..
    You can create a view on those R/3 tables and use this view for creating a generic datsource in RSO2 transaction..
    Check the below pdf for delta in generic datasources
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33

Maybe you are looking for

  • My ipod 5g is stuck in recovery mode

    I have an iPod touch 5g(7.1.1) and it is currently stuck in recovery mode I have tried to restore it but after it extracts the software it stops and tells me "this device isnt eligible for the request build" I have tried restoring it many times and I

  • RFC WSDL need to publish in Service Registry or not?

    Hi, I have created a webservice(WSDL) using SOAMANAGER for Remote Function Call(RFC) developed in R/3 System. This WSDL will be used in Enterprise Portal for our Web Application. Is it required to publish the Webservice in Service Registry? What is t

  • Adobe Reader Won't Print (ver. 10 or 11)

    I have a well-maintained Windows 7 32 bit machine running in a VMWare Workstation virtual machine that prints to a network printer via TCP/IP. It has worked well for years, including printing PDF's from Adobe Reader 9. Some time ago I updated Reader

  • What are the pros and cons of the ipod touch 4th gen??

    pros and cons??

  • Output of slideshow to .wmv in PSE5

    I created a slideshow in PSE5 that I saved as a .wmv file.  My Samsung bluray player would not play the file and Samsung support suggested it may be that the wrong codecs were used in the creation of the file.  The codecs supported are: Video: VC-1 A