Using WLST from jython to create a new domain

Hi,
I am trying to create a new domain using the description outlined in the blog of Mr. Satya Ghattu. But I must be overlooking something REALLY basic.
I have created this script which should create a new domain:
import wl as myWLST
#import os, re, java
#from os.path import dirname, exists, splitext, join
#from zipfile import ZipFile, ZIP_DEFLATED
#Common defines
password = 'weblogic'
#Create the server see http://dev2dev.bea.com/blog/sghattu/archive/2005/10/wlst_beaworld_s.html
def createServerDomain(templateFile, domainHome):
    """Create the server using the normal template"""
    print "Setting up the server"
    # Read the default template that comes with WLS installation
    myWLST.readTemplate(templateFile)
    myWLST.cd("Security/base_domain/User/weblogic")
    myWLST.cmo.setUserPassword(password)
    myWLST.setOption('OverwriteDomain', "true")
    myWLST.cd("/")
    myWLST.cd("Servers/AdminServer")
    myWLST.cmo.setName("myserver")
    myWLST.writeDomain(domainHome)
    myWLST.closeTemplate()
createServerDomain("~/bea/bea100/wlserver_10.0/common/templates/domains/wls.jar", "~/bea/bea100/user_projects/domains/scriptcreated");The script runs until the line containing
  myWLST.cmo.setUserPassword(password)where it fails with the error:
  Setting up the server
  Traceback (innermost last):
    File "bea.py", line 24, in ?
    File "bea.py", line 16, in createServerDomain
  AttributeError: setUserPasswordDoes anybody have any ideas as to what could cause this???
The wls version I am trying this on is WLS 10.0 on a Fedora core 6 linux box.
I am starting the script as:
  java -classpath $BEA_HOME/wlserver_10.0/server/lib/weblogic.jar:~/bea/bea100/wlserver_10.0/common/lib/jython.jar org.python.util.jython bea.pywhere bea.py is the script.
Any help will be vastly appreciated :)
Take care.

Hi,
I was also faced the same problem using Jython in 9.2. But it got resolved by giving username as "weblogic" and password as "weblogic". Because the template what we are using has predefined username and password. Except weblogic it wont accept any other words.
--Nag..,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • HT1206 I need a work iTunes account for my work system, but used my work email address as an associated email to my personal iTunes account. Now I can't use the work email to create the new iTunes account.  how do I remove the email from my personal accou

    Since I upgraded to Mavericks from Snow Leopard I need a work iTunes account for my work system, but used my work email address as an associated email to my personal iTunes account.
    Now I can't use the work email to create the new iTunes account.  how do I remove the email from my personal account?

    You can long into an account via this page and update the email addresses that you have on it : http://appleid.apple.com

  • 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.

  • How do you extract pages from .indd to create a new .indd?

    How do you extract pages from .indd to create a new .indd?

    Laubender schrieb:
    @moseymums – two answers here:
    1. Duplicate the document and remove all not wanted pages.
    2.a Duplicate all selected pages in the Pages Panel to a different open InDesign file (the target) with the "Move Pages…" command.
    2.b Remove all unwanted pages from the target InDesign file.
    Uwe
    But take care on text threads accross several pages. If you delete a page with a text frame linked to a thread accross several pages, the text will change to the beginning of the thread on every first page.
    So it might be good to run a script which will unlink threadened text frames before.
    If you have often to do this task, there are several plugins which will help you to perform this. E.g. Output factory from http://zevrix.com/

  • How can a use a itunes soft. and create a new id

    how can a use a itunes soft. and create a new id itunes ?
    and
    we are update the lattest version in my iphone 3gs 16gb ?
    how can backup my iphone and install other application ?
    pls. reply me .
    jayesh panchal

    It is not possible to delete an apple id completely. You can only delete information like credit card, adress, name... To do this, go to iTunes Store, click on your email adress in the upper right corner and enter your password. Now you can manage your account.
    An apple id without password is not possible.

  • Create  a new domain in wlserver6.1

    Hi,
    I have weblogic 6.1 installed on my pc. i have created couple of ejbs and i run them
    from the mydomain domain they work fine.
    i want to create a new domain and make it up and running. i have got a documentation
    from bea which says details for create a domain using the gui/admin console.
    i tried that it creates a domain and adds a directory in the config directory of
    bea/wlserver6.1. but when i try to run the domain alone it doesnt work.
    can anyone give me some documentation for creating a new domain
    thanks in advance
    regards
    kamal

    Make your domain and server names different - currently they are both
    named 'kamal' and WLS doesn't like it. Error message is a bit cryptic.
    kamal gupta <[email protected]> wrote:
    I have created a new domain with name kamal and it gives me this error
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: invalid value kamal fo
    r attribute Name of MBean "kamal:Name=kamal,Type=Server", getLegalCheck() is (we
    blogic.management.configuration.LegalHelper.serverMBeanSetNameLegalCheck(self,va
    lue);)
    at weblogic.management.internal.xml.ConfigurationParser.parse(Configurat
    ionParser.java:120)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:261)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.j
    ava:188)
    at weblogic.management.AdminServer.configure(AdminServer.java:173)
    at weblogic.management.Admin.initialize(Admin.java:239)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.1>goto finish
    C:\bea\wlserver6.1>cd config\kamal--
    Dimitri

  • How do i create a new domain?

    Is there an easy way to create new domains for WL Server 6.0? There
    doesn't seem to be any tool that allows me to do this. Does that mean
    my only option is to copy files from another domain?
    Thanks for any help,
    Randy Strobel
    Systems Analyst
    Synergy, Inc.
    [email protected]

    Here are a couple of points to pay attention to in addition to the doc
    pointed by Kumar:
    1. you MUST copy fileRealm.properties initially when you create a new domain
    in the domain subdirectory under config in bea.home.
    2. Initial password for the starting servers ( admin or managed) will be
    same as default system password ( system password for the domain from where
    the SerializedSystemIni.dat and fileRealm.propeerties were copied. You can
    start the new domain's admin server and change the syetm password. Next time
    you will start admin server or managed server in new domain, you will be
    using the new password.
    3. If you change the system password through console, and you were using
    password.ini, you must change the password in password.ini file also. If you
    specified the password in startup script, you must manually change it to new
    password. If you were not specifying the password in password.ini or in the
    startup script as -D property, then as always, you will be prompted for
    password, and you can specify the new password.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    Kumar Allamraju wrote:
    http://e-docs.bea.com/wls/docs60/adminguide/config.html#1025484
    Randy Strobel wrote:
    Is there an easy way to create new domains for WL Server 6.0? There
    doesn't seem to be any tool that allows me to do this. Does that mean
    my only option is to copy files from another domain?
    Thanks for any help,
    Randy Strobel
    Systems Analyst
    Synergy, Inc.
    [email protected]

  • Creating a new domain in BPEL PM

    Hi ,
    I have to create a new domain in BPEL PM . We r using BEPL PM 10.1.34 over weblogic 9.2 .
    I do not want to experiment in the server environment , so i would require some documentation to guide me.
    Please give me the link to the docuementation to create a new domain.
    Thanks,
    Sun.

    I assume you are not talking a WSL domain, you are talking about a BPEL domain.
    Have a look at this doc.
    http://download-uk.oracle.com/docs/cd/B31017_01/core.1013/b28764/monitor_bpel007.htm
    cheers
    James

  • Creating a new domain tree under the forest

    Hi
    I have one primary domain and one additional domain at moment so I want to create a new domain tree under the forest however during the configuration it gives me the below message ?
    the last time I installed without tick marking "Create DNS Delegation" option I had a lot of issue in replication and in DNS between my forest domain and this new tree domain.
    my main question would be:
    1- how to resolve this ?
    2- how to create a manual DNS delegation in Parent zone.?
    please suggest ?

    Hi greeMann,
    This is an expected behaviour and it can be ignored.  The error message occurs because this is the first DNS server so there is not a DNS server available to create the delegation from. 
    If you are not concerned that people in other domains or on the Internet will not resolve DNS name queries for computer names in the local domain, you can disregard the message and click Yes.
    Known Issues for Installing and Removing AD DS
    http://technet.microsoft.com/en-us/library/cc754463(WS.10).aspx
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • Cannot create a new domain in WSL70

    Hi,
    I have follow the procedure of create a new domain from the guide, but I cannot find
    the the input field "Crete a new Domain in this repository"
    Pls see attachment
    [Microsoft Word - WLS70.pdf]

    Make your domain and server names different - currently they are both
    named 'kamal' and WLS doesn't like it. Error message is a bit cryptic.
    kamal gupta <[email protected]> wrote:
    I have created a new domain with name kamal and it gives me this error
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: invalid value kamal fo
    r attribute Name of MBean "kamal:Name=kamal,Type=Server", getLegalCheck() is (we
    blogic.management.configuration.LegalHelper.serverMBeanSetNameLegalCheck(self,va
    lue);)
    at weblogic.management.internal.xml.ConfigurationParser.parse(Configurat
    ionParser.java:120)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:261)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.j
    ava:188)
    at weblogic.management.AdminServer.configure(AdminServer.java:173)
    at weblogic.management.Admin.initialize(Admin.java:239)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.1>goto finish
    C:\bea\wlserver6.1>cd config\kamal--
    Dimitri

  • Error while creating a new Domain in BEA Weblogic

    I am getting the below mentioned error while creating a new Domain in BEA Weblogic
    Preparing...
    Extracting Domain Contents...
    Creating Domain Security Information...
    Saving the Domain Information...
    Storing Domain Information...
    String Substituting Domain Files...
    Performing OS Specific Tasks...
    Performing Post Domain Creation Tasks...
    Domain Creation Failed!
    Domain Location: C:\bea\user_projects\domains\base_domain_1
    Reason: Got error in writing the node manager C:\bea\wlserver_10.0\common\nodemanager\nodemanager.domains property file!
    Exception:
    java.lang.Exception: Got error in writing the node manager C:\bea\wlserver_10.0\common\nodemanager\nodemanager.domains property file!
         at com.bea.plateng.domain.DomainNodeManagerHelper.registerDomainToNodeManager(DomainNodeManagerHelper.java:138)
         at com.bea.plateng.domain.DomainNodeManagerHelper.registerDomainToNodeManager(DomainNodeManagerHelper.java:170)
         at com.bea.plateng.domain.DomainGenerator.generate(DomainGenerator.java:435)
         at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)

    Hi,
    It look two ways either you dont have permission to write any new thing to that domain.properties file or might file is got corrupted.
    Please check for the permission to that file.
    Regards,
    Kal.

  • Cannot start Managed Server- after creating a new domain

    I created a new domain, I could start Admin Server but ,I am unable to start Managed Server.
    My DB is up & running
    at com.collaxa.cube.engine.CubeEngine.finalizeActivity(CubeEngine.java:2842)
    at com.collaxa.cube.engine.CubeEngine.checkBlockConditions(CubeEngine.java:3557)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2490)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1133)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:219)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:327)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4282)
    at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:713)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:545)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:654)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:355)
    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.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
    at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
    at sun.reflect.GeneratedMethodAccessor840.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy245.handleInvoke(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.java:396)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:82)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
    at java.lang.Thread.run(Thread.java:619)
    Caused By: com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    parts: {{
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'ReadInputDataSelect' failed due to: JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    DemoDBAdapter:ReadInputData [ ReadInputData_ptt::ReadInputDataSelect(ReadInputDataSelect_inputParameters,CustomerCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510
    JCA Resource Adapter location error.
    Unable to locate the JCA Resource Adapter via .jca binding file element &lt;connection-factory/>
    The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='eis/DB/DemoConnection'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or
    2) the '&lt;jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DemoConnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR).
    Please correct this and then restart the Application Server

    Dear Anuj,
    I created a connection pool in DB adapter with JNDI name "eis/DB/DemoConnection"? and then updated
    BUT WHEN I SEE DB ADAPTER in deployments, the sate is New . It should be ACTIVE . right?
    Again when I start Managed Server,although my soa_server is up and running, I get this error
    However, I did not create any JMS for this domain.
    <Aug 9, 2010 11:21:45 AM CDT> <Warning> <oracle.soa.adapter> <BEA-000000> <JMSAdapter HelloWorld JMSMessageConsumer_init: Retrying connection; attempt #5>
    <Aug 9, 2010 11:21:45 AM CDT> <Warning> <oracle.soa.adapter> <BEA-000000> <JMSAdapter HelloWorld
    BINDING.JCA-12135
    ERRJMS_ERR_CR_QUEUE_CONS.
    ERRJMS_ERR_CR_QUEUE_CONS.
    Unable to create Queue consumer due to JMSException.
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.jms.JMS.JMSConnection.createConsumer(JMSConnection.java:620)
    at oracle.tip.adapter.jms.JMS.JMSConnection.createConsumer(JMSConnection.java:497)
    at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.createConsumer(JMSMessageConsumer.java:342)
    at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.init(JMSMessageConsumer.java:913)
    at oracle.tip.adapter.jms.inbound.JmsConsumer.init(JmsConsumer.java:862)
    at oracle.tip.adapter.jms.JmsEndpoint.run(JmsEndpoint.java:163)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: weblogic.jms.common.JMSException: [JMSExceptions:045103]While trying to find a topic or a queue we could not find the specific JMSServer requested. The linked exception may contain more information about the reason for failure.
    at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61)
    at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:3192)
    at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:2577)
    at oracle.tip.adapter.jms.JMS.JMSDestination.getQueue(JMSDestination.java:83)
    at oracle.tip.adapter.jms.JMS.JMSConnection.createConsumer(JMSConnection.java:605)
    ... 8 more
    Caused by: weblogic.jms.common.JMSException: [JMSExceptions:045103]While trying to find a topic or a queue we could not find the specific JMSServer requested. The linked exception may contain more information about the reason for failure.
    at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
    at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
    at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSyncNoTran(DispatcherImpl.java:287)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
    ... 12 more
    Caused by: weblogic.jms.common.JMSException: [JMSExceptions:045103]While trying to find a topic or a queue we could not find the specific JMSServer requested. The linked exception may contain more information about the reason for failure.
    at weblogic.jms.frontend.FEManager.destinationCreate(FEManager.java:289)
    at weblogic.jms.frontend.FEManager.invoke(FEManager.java:548)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
    at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSyncNoTran(DispatcherImpl.java:287)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
    at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:3192)
    at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:2577)
    at oracle.tip.adapter.jms.JMS.JMSDestination.getQueue(JMSDestination.java:83)
    at oracle.tip.adapter.jms.JMS.JMSConnection.createConsumer(JMSConnection.java:605)
    at oracle.tip.adapter.jms.JMS.JMSConnection.createConsumer(JMSConnection.java:497)
    at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.createConsumer(JMSMessageConsumer.java:342)
    at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.init(JMSMessageConsumer.java:914)
    at oracle.tip.adapter.jms.inbound.JmsConsumer.init(JmsConsumer.java:864)
    at oracle.tip.adapter.jms.JmsEndpoint.run(JmsEndpoint.java:163)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:106)
    ... 2 more
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.jms.backend.jms'. Resolved 'weblogic.jms.backend'; remaining name 'jms'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
    at weblogic.jms.frontend.FEManager.destinationCreate(FEManager.java:287)
    at weblogic.jms.frontend.FEManager.invoke(FEManager.java:548)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
    at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSyncNoTran(DispatcherImpl.java:287)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
    at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:3192)
    at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:2577)
    at oracle.tip.adapter.jms.JMS.JMSDestination.getQueue(JMSDestination.java:83)
    at oracle.tip.adapter.jms.JMS.JMSConnection.createConsumer(JMSConnection.java:605)
    at oracle.tip.adapter.jms.JMS.JMSConnection.createConsumer(JMSConnection.java:497)
    at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.createConsumer(JMSMessageConsumer.java:342)
    at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.init(JMSMessageConsumer.java:913)
    at oracle.tip.adapter.jms.inbound.JmsConsumer.init(JmsConsumer.java:862)
    at oracle.tip.adapter.jms.JmsEndpoint.run(JmsEndpoint.java:163)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    ... 2 more
    >
    <Aug 9, 2010 11:21:46 AM CDT> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
    <Aug 9, 2010 11:21:46 AM CDT> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
    <Aug 9, 2010 11:21:47 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SUSPENDING>
    <Aug 9, 2010 11:21:47 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 9, 2010 11:21:47 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    <Aug 9, 2010 11:21:47 AM CDT> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 192.168.128.102:8001 was shutdown.>
    <Aug 9, 2010 11:21:47 AM CDT> <Notice> <Server> <BEA-002607> <Channel "Default[2]" listening on 127.0.0.1:8001 was shutdown.>
    <Aug 9, 2010 11:21:47 AM CDT> <Notice> <Server> <BEA-002607> <Channel "Default[3]" listening on 0:0:0:0:0:0:0:1:8001 was shutdown.>
    <Aug 9, 2010 11:21:47 AM CDT> <Notice> <Server> <BEA-002607> <Channel "Default[1]" listening on fe80:0:0:0:20c:29ff:fe81:998f:8001 was shutdown.>
    INFO: JMSAdapter JmsResourceAdapter_endpointDeactivation: Deactivating endpoint Endpoint_1
    [TopLink Info]: 2010.08.09 11:21:53.232--ServerSession(382132253)--deferred_session logout successful
    [TopLink Info]: 2010.08.09 11:21:53.232--ServerSession(381072707)--tracking_session logout successful
    <Aug 9, 2010 11:21:54 AM CDT> <Notice> <LoggingService> <BEA-320400> <The log file /u01/app/oracle/product/Middleware/user_projects/domains/base_domain4/servers/soa_server1/logs/soa_server1.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 9, 2010 11:21:54 AM CDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u01/app/oracle/product/Middleware/user_projects/domains/base_domain4/servers/soa_server1/logs/soa_server1.log00021. Log messages will continue to be logged in /u01/app/oracle/product/Middleware/user_projects/domains/base_domain4/servers/soa_server1/logs/soa_server1.log.>
    [oracle@OracleTest1 bin]$

  • Wlst offline - create a new domain in weblogic portal 10.2

    Hi,
    Any one have automation script to create weblogic portal domain, create portlet data base ( not point base).and Domain resources: Machines,Servers, Clusters and data sources. I tried the one which comes with installation ( wlst offlie domain creation script), but it is just configuring weblogic server but not portal.
    Thanks.
    Krishna.

    #=======================================================================================
    # WLST Common Script Library Functions (these functions support both WLS 8.1.x and 9.x)
    #=======================================================================================
    __all__ = []
    import os
    from java.io import FileInputStream
    from java.util import Properties
    from java.lang import String
    import jarray
    #=======================================================================================
    # RAVI enable library functions to see and use WLST functions
    #=======================================================================================
    def initialise(topLevelNamespace):
    for f in ("addTemplate", "closeDomain", "closeTemplate", "exit", "readDomain",
    "readTemplate", "updateDomain", "writeDomain", "cd", "assign",
    "assignAll", "create", "delete", "get", "loadDB", "set", "setOption",
    "unassign", "unassignAll", "dumpStack", "dumpVariables", "help", "ls",
    "prompt", "pwd", "startRecording", "stopRecording", ):
    globals()[f] = topLevelNamespace[f]
    __all__.append(f)
    #=======================================================================================
    # Load Properties
    #=======================================================================================
    def loadPropertiesFromFile(filename):
    props = addPropertiesFromFile(filename, {})
    return props
    #=======================================================================================
    # Load Properties
    #=======================================================================================
    def addPropertiesFromFile(filename, props):
    properties = Properties()
    input = FileInputStream(filename)
    properties.load(input)
    input.close()
    for entry in properties.entrySet(): props[entry.key.strip()] = entry.value.strip()
    return props
    #=======================================================================================
    # Get WebLogic Version (eg. returns '8.1.5.0', '9.1.0.0', '9.2.0.0')
    #=======================================================================================
    def getWebLogicVersion():
    return cd('/').getConfigurationVersion()
    #=======================================================================================
    # Get Machine Create Type (returns 'UnixMachine' or 'Machine')
    #=======================================================================================
    def getMachineCreateType():
    # On Unix, machine type is 'UnixMachine' on Windows it is 'Machine'
    if os.pathsep == ':':
    return 'UnixMachine'
    else:
    return 'Machine'
    #=======================================================================================
    # Get Machine Directory Type (returns 'UnixMachine' or 'Machine')
    #=======================================================================================
    def getMachineDirectoryType():
    # On Unix, machine type is 'UnixMachine' on Windows it is 'Machine'
    if os.pathsep == ':':
    # When moving from WLS 9.1 to WLS 9.2, WLS changed name of unix machines from
    # 'UnixMachine' to just 'Machine'
    wlsVersion = getWebLogicVersion()
    if wlsVersion.startswith('8') or wlsVersion.startswith('9.0') or wlsVersion.startswith('9.1'):
    return 'UnixMachine'
    else:
    return 'Machine'
    else:
    return 'Machine'
    #=======================================================================================
    # Set Domain Options
    #=======================================================================================
    def setDomainOptions(prodMode, javaHome):
    setOption('OverwriteDomain', 'true')
    setOption('ServerStartMode', prodMode)
    setOption('JavaHome', javaHome)
    setOption('CreateStartMenu', 'false')
    #=======================================================================================
    # Set System User
    #=======================================================================================
    def setSystemUser(domainname, username, password):
    sysUser = cd('/Security/%s/User/weblogic' % domainname)
    sysUser.setName(username)
    sysUser.setPassword(password)
    #=======================================================================================
    # Create WLS81 Oracle Database Pool
    #=======================================================================================
    def createWLS81OracleDatabasePool(dbName, dbUsername, dbPassword, dbDriver, dbUrl):
    newPool = create(dbName, 'JDBCConnectionPool')
    newPool.setDriverName(dbDriver)
    newPool.setURL(dbUrl)
    newPool.setPassword(dbPassword)
    newPool.setInitialCapacity(5)
    newPool.setTestFrequencySeconds(60)
    newPool.setTestConnectionsOnRelease(1)
    newPool.setTestConnectionsOnReserve(1)
    newPool.setConnectionReserveTimeoutSeconds(60)
    newPool.setUserName(dbUsername)
    return newPool
    #=======================================================================================
    # Create WLS81 Data Source
    #=======================================================================================
    def createWLS81DataSource(dsType, dsName, jndiName, poolName):
    ds = create(dsName, dsType)
    ds.setJNDIName(jndiName)
    ds.setPoolName(poolName)
    return ds
    #=======================================================================================
    # Configure WLS9 Oracle Database
    #=======================================================================================
    def configureWLS9OracleDatabase(dsName, jndiNames, driver, host, port, sid, username, password, targets):
    cd('/')
    dataSource = create(dsName, 'JDBCSystemResource')
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    dbParam = create('dbParams','JDBCDriverParams')
    cd('JDBCDriverParams/NO_NAME_0')
    dbParam.setDriverName(driver)
    set('URL', 'jdbc:oracle:thin:@' + host + ':' + port + ':' + sid)
    dbParam.setPasswordEncrypted(password)
    dbProps = create('props','Properties')
    cd('Properties/NO_NAME_0')
    dbUser = create('user', 'Property')
    dbUser.setValue(username)
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcDataSourceParams','JDBCDataSourceParams')
    cd('JDBCDataSourceParams/NO_NAME_0')
    set("JNDINames", jndiNames)
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcConnectionPoolParams','JDBCConnectionPoolParams')
    cd('JDBCConnectionPoolParams/NO_NAME_0')
    set('TestTableName','SQL SELECT 1 FROM DUAL')
    set('TestConnectionsOnReserve','true')
    assign('JDBCSystemResource', dsName, 'Target', targets)
    return dataSource
    #=======================================================================================
    # Configure WLS102 DB2
    #=======================================================================================
    def configureWLS102DB2(dsName, jndiNames, driver, host, port, sid, username, password, targets, trans, url, testquery):
    print 'datasource('+dsName+','+ jndiNames+','+ driver+','+ host+','+ port+','+ sid+','+ username+','+ password+','+targets+','+ trans+','+url+',' + testquery +'):'
    cd('/')
    dataSource = create(dsName, 'JDBCSystemResource')
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    dbParam = create('dbParams','JDBCDriverParams')
    cd('JDBCDriverParams/NO_NAME_0')
    dbParam.setDriverName(driver)
    #set('URL', 'jdbc:bea:db2://' + host + ':' + port)
    set('URL', url)
    dbParam.setPasswordEncrypted(password)
    #dbParam.setPassword(password)
    dbProps = create('props','Properties')
    cd('Properties/NO_NAME_0')
    dbUser = create('user', 'Property')
    dbUser.setValue(username)
    dbPortNumber = create('portNumber', 'Property')
    dbPortNumber.setValue(port)
    dbDbName = create('databaseName', 'Property')
    dbDbName.setValue(sid)
    dbHost = create('serverName', 'Property')
    dbHost.setValue(host)
    dbBatch = create('batchPerformanceWorkaround', 'Property')
    dbBatch.setValue('true')
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcDataSourceParams','JDBCDataSourceParams')
    cd('JDBCDataSourceParams/NO_NAME_0')
    jndiNamesAray=jndiNames.split(',')
    set('JNDINames', jndiNamesAray)
    set('GlobalTransactionsProtocol', trans)
    #cd('/JDBCSystemResources/ttttt/JDBCResource/ttttt/JDBCDataSourceParams/ttttt')
    #cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    #cd('JDBCDataSourceParams/NO_NAME_0')
    #dbDatasource = cmo
    #dbDatasource.setGlobalTransactionsProtocol(trans)
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcConnectionPoolParams','JDBCConnectionPoolParams')
    cd('JDBCConnectionPoolParams/NO_NAME_0')
    #set('TestTableName','SQL SELECT COUNT(*) FROM SYSIBM.SYSTABLES')
    set('TestTableName',testquery)
    set('TestConnectionsOnReserve','true')
    assign('JDBCSystemResource', dsName, 'Target', targets)
    cd('/JDBCSystemResources/'+dsName)
    #targetsAray=[targets]
    #set('Targets',targetsAray)
    return dataSource
    #=======================================================================================
    # Set Common Server Settings
    #=======================================================================================
    def setCommonServerSettings(server):
    server.setNativeIOEnabled(1)
    server.setWeblogicPluginEnabled(1)
    #=======================================================================================
    # Set Server Logging
    #=======================================================================================
    def setServerLogging(server, logpath, level):
    cd('/Server/' + server.getName())
    log = create(server.getName(), 'Log')
    log.setFileName(logpath + '/' + server.getName() + '.log')
    log.setRotationType('byTime')
    log.setRotationTime('02:00')
    log.setFileTimeSpan(24)
    log.setFileCount(7)
    log.setLogFileSeverity(level)
    #=======================================================================================
    # Set Web Server
    #=======================================================================================
    def setWebServer(server, logpath, frontEndHost, frontEndPort, frontEndSSLPort):
    cd('/Server/' + server.getName())
    webServer = create(server.getName(), 'WebServer')
    webServer.setFrontendHost(frontEndHost)
    webServer.setFrontendHTTPPort(frontEndPort)
    webServer.setFrontendHTTPSPort(frontEndSSLPort)
    wlsVersion = getWebLogicVersion()
    if wlsVersion.startswith('9') or wlsVersion.startswith('10'):
    cd('/Server/' + server.getName() + '/WebServer/' + server.getName())
    webServerLog = create(server.getName(),'WebServerLog')
    webServerLog.setFileName(logpath + '/' + server.getName() + '_access.log')
    webServerLog.setRotationType('byTime')
    webServerLog.setRotationTime('02:00')
    webServerLog.setFileTimeSpan(24)
    webServerLog.setFileCount(7)
    else:
    webServer.setLogFileName(logpath + '/' + server.getName() + '_access.log')
    webServer.setLogRotationType('date')
    webServer.setLogRotationTimeBegin('01-01-2006-2:00:00')
    webServer.setLogRotationPeriodMins(1440)
    webServer.setLogFileCount(7)
    #=======================================================================================
    # Create Boot Properties File
    #=======================================================================================
    def createBootPropertiesFile(directoryPath, username, password):
    file = open (directoryPath + '/boot.properties', 'w')
    file.write('username=%s\n' % username)
    file.write('password=%s\n' % password)
    file.flush()
    file.close()
    Hopefully this will work for you

  • [Question] New Button from Toolbar which creates a new Outlook Mail?

    Hello together,
    I am faced with an issue by using a button from the toolbar in order to create a new outlook mail.
    Do you know the functionality from html?
    href="mailto:email@email?subject=CRM%20Feedback&body=Bereich%20(z.B.%20Opportunity%....
    This coding will create a new outlook mail an fills it with information when the user click this link. It is also possible to implement it via a button.
    Now, I want to implement these function in my component, escpecially in the toolbar.
    I have created a new button, but how can I provide it? Is there a possibility at all?
    Thanks!
    Regards,
    Marcus
    Edited by: Marcus Findeisen on Mar 8, 2011 4:55 PM

    Just define the following coding for your button...
        ls_button-text     = 'Outlook mail'.
        ls_button-tooltip = 'Outlook mail'.
        ls_button-on_client_click = 'javascript:window.open ("mailto:email@email?subject=CRM","mywindow1","width=100,height=100,scrollbars=no,menubar=no");'.
        ls_button-page_id  = me->component_id.
        ls_button-enabled  = abap_true.
        APPEND ls_button TO rt_buttons.
        CLEAR ls_button.

  • Use Time Machine backup to create a new user

    Hi,
    my question is very simple.
    First of all my situation.
    Me and my wife have decided to share the same MBP 13" unibody with Lion istalled.
    Previously this MBP belonged to my wife and some days ago I replaced her HD with mine Seagate 750 Gb.
    In this Hd there was all my data with Lion istalled.
    As expected, when I started up the MBP 13" with the Seagate 750 Gb I found exactly all my setup and data.
    After that I create a new user account (admin, just like me).
    During the process I didn't have the chance to import the Time Machine backup of my wife to set this new user account.
    I was really disappointed.
    I simply connected her external Hd, opened the backup file, picked up and copied the latest data on "my wife" folder, but it didn't completely worked out.
    For example, her application folder is identical to mine.
    So, do you know if is possible to use Time Machine in the way I expect?
    Thanks a lot!
    Simone

    The following from our resident expert may help you:
         http://pondini.org/TM/Troubleshooting.html
    Hope this helps

Maybe you are looking for

  • I cant sign in Youtube on my Apple TV

    I can't sign in in YouTube on my Apple TV please help me!!

  • I wanted to know how to clean b570 fan

    Hey guys i wanted to know how do i clean my laptop b570's fan and how often should i clean fan. Thank you for your help. Solved! Go to Solution.

  • 2 Form Fields, Same Data Except a Prefix and Suffix

    I have a 2 form fields. User will enter information (purchase order number) into Field 1. Field 2 will be a barcode font that requires the same digits, except with a starting asterisk and ending asterisk. These asterisks can not appear in Field 1. Th

  • Throwing Custom Exception in SXMB_MONI( Error Node)

    Hello all,             The requirement is to Throw an Custom Error Exception in the SXMB_MONI, which we are able to do and generate the custom error message to stop the message in moni . I have created the UDF to call API's Classes such as BaseRuntim

  • Motion 4 imports no audio!

    hi everyone, i cant import any audio into motion 4. when i click on a audiofile in the browser it plays, but when i click import or drag it into canvas: nothing. the audio editor in the timeline only shows an empty audiofile. i removed and re install