Cannot create TransactionParams of ConnectionFactory with WLST Offline

Hello dear WL users and geeks,
I'm trying to automate the creation of a weblogic domain using WLST Offline but I've got some problem with the configuration of a JMS ConnectionFactory : I don't know how to activate the XA-Connection factory setting.
Ok, here is the WLST code, results and thoughs are in comments (##) :
==================
## I start with a fresh install of Oracle Weblogic Server 11g R1 (10.3.3) (also tried 10.3.1, same problem) and use the Configuration Wizard to
## create a new Weblogic domain using the default "Basic Weblogic server domain template".
## First, read the domain
readDomain('Oracle/Middleware/user_projects/domains/base_domain/')
## Create a JMSServer
create('MyJMSServer', 'JMSServer')
assign('JMSServer', 'MyJMSServer', 'Server', 'AdminServer')
## Create a JMS Module
create('TestModule', 'JMSSystemResource')
## And now a ConnectionFactory
cd('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0')
fact=create('TestConnFactory', 'ConnectionFactory')
fact.setJNDIName('someJNDIName')
updateDomain()
## Ok, let's see what is defined :
cd ('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0/ConnectionFactory/TestConnFactory')
ls()
## -rw- DefaultTargetingEnabled false
## -rw- JNDIName someJNDIName
## -rw- LocalJNDIName null
## -rw- Name TestConnFactory
## -rw- Notes null
## -rw- SubDeploymentName null
## Uh oh. Why are the 'directories' TransactionParams and SecurityParams missing ? How am I supposed to edit the TransactionParams ?
## Maybe there is a createTransactionParams method ?
dir(fact)
## ['JNDIName', 'class', 'clientParams', 'defaultDeliveryParams', 'defaultTargetingEnabled', 'equals', 'flowControlParams', 'getClass',
## 'getClientParams', 'getDefaultDeliveryParams', 'getFlowControlParams', 'getInvocationHandler', 'getJNDIName', 'getLoadBalancingParams',
## 'getLocalJNDIName', 'getName', 'getNotes', 'getProxyClass', 'getSecurityParams', 'getSubDeploymentName', 'getTransactionParams',
## 'hashCode', 'isDefaultTargetingEnabled', 'isProxyClass', 'isSet', 'loadBalancingParams', 'localJNDIName', 'name', 'newProxyInstance', 'notes',
## 'notify', 'notifyAll', 'securityParams', 'setDefaultTargetingEnabled', 'setJNDIName', 'setLocalJNDIName', 'setName', 'setNotes',
## 'setSubDeploymentName', 'subDeploymentName', 'toString', 'transactionParams', 'unSet', 'wait']
## If I try to invoke any method related to transactionParams, I've got a null pointer exception
==================
Ok, now I'll use the web admin console to edit the transaction parameters : I start the Weblogic Server and go to the web-based Administration console.
In the Domain Structure tree, I go to base_domain > Services > Messaging > JMS Modules.
Then I click on my 'TestModule' module and then on my 'TestConnFactory' Connection Factory.
I go in the 'Transaction' tab and I enable the XAConnectionFactory checkbox.
Finally, I click on the save button.
Let's start a new WLST Offline session and see what's new :
==================
## Read the domain
readDomain('Oracle/Middleware/user_projects/domains/base_domain/')
## Check what is defined in my ConnectionFactory
cd ('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0/ConnectionFactory/TestConnFactory')
ls()
## Hey look, the TransactionParams appeared :
## drw- TransactionParams
## -rw- DefaultTargetingEnabled true
## -rw- JNDIName someJNDIName
## -rw- LocalJNDIName null
## -rw- Name TestConnFactory
## -rw- Notes null
## -rw- SubDeploymentName null
## Go in there :
cd('TransactionParams/NO_NAME_0')
ls()
## -rw- TransactionTimeout 3600
## -rw- XAConnectionFactoryEnabled                    true
==================
So :
- Why the TransactionParams setting is not directly created or available when a new ConnectionFactory is created ?
- How can I create a JMS ConnectionFactory and edit its TransactionParams using only WLST Offline (i.e., without the admin console and without WSLT online) ?
Any help appreciated,
Thanks !

Ok, I found a solution :
=============
cd ('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0/ConnectionFactory/TestConnFactory')
create('DUMMY', 'TransactionParams')
ls('TransactionParams/NO_NAME_0')
## -rw- TransactionTimeout 0
## -rw- XAConnectionFactoryEnabled false
=============
But it seems strange to have to create a dummy TransactionParams. Is it the correct way to do it ?

Similar Messages

  • 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

  • OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]

    Hi Guys,
    Im trying to create a repository .I have a single node OVM server and have presented two LUN's (Hitachi  HUS110 direct attached (via FC))
    I've created a server pool and unchecked the clustered server pool. I see the LUN's (physical disk from Oracle Virtual manager) .But when creating the repository i'm having this error
    "OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]"
    Any steps i missed?Appreciate anyone's input
    Regards,
    Robert

    Hi Robert,
    did you actually add the OVS to the server pool, that you created?

  • JMS queue assignment with WLST offline WLS 8.1

    Hi
    I would like to know how to assign a JMSQueue to JMSserver under WLST offline and WLS 8.1
    I've tried with assign(...) function or the setParent without success.
    As far as I understand, the JMSQueue is always created under a JMS server, once created there how can I assign it to another server??
    10x

    Hi
    I would like to know how to assign a JMSQueue to JMSserver under WLST offline and WLS 8.1
    I've tried with assign(...) function or the setParent without success.
    As far as I understand, the JMSQueue is always created under a JMS server, once created there how can I assign it to another server??
    10x

  • Cannot create XA data source with MS SQL

    Hello,
    I am currently trying to create a datasource with he XA transactions support. The exception is the same when I'm using the SYSTEM_DRIVER (NetWeaver is using the MS SQL 2005) and when I'm using the user-defined MS SQL JDBC driver. The 'regular' (using tag <jdbc-1.x>) datasources are successfully created, the problem appears only for the XA one.
    This is the part of my data-sources.xml responsible for this data source:
    <data-source>
            <data-source-name>DataSource/SCP</data-source-name>
            <driver-name>SYSTEM_DRIVER</driver-name>
            <init-connections>5</init-connections>
            <max-connections>25</max-connections>
            <sql-engine>Vendor_SQL</sql-engine>
            <jdbc-2.0>
                <xads-class-name>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</xads-class-name>
                <object-factory>com.microsoft.sqlserver.jdbc.SQLServerDataSourceObjectFactory</object-factory>
               <properties>
                    <property>
                        <property-name>serverName</property-name>
                        <property-value>localhost</property-value>
                    </property>
                    <property>
                        <property-name>databaseName</property-name>
                        <property-value>SCP</property-value>
                    </property>
                    <property>
                        <property-name>port</property-name>
                        <property-value>1433</property-value>
                    </property>
                    <property>
                        <property-name>user</property-name>
                        <property-value>myUser</property-value>
                    </property>
                    <property>
                        <property-name>password</property-name>
                        <property-value>myPassword<property-value>
                    </property>
                </properties>
            </jdbc-2.0>
        </data-source>
    Below you can see the stacktrace that appears in the defaultTrace_00.trc:
    Text: [ERROR CODE DPL.DS.5029] Exception in operation startApp with application se.sync/BPE.
    Reason : [ERROR CODE DPL.DS.5029] Exception in operation startApp with application se.sync/BPE.
    [EXCEPTION]
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5029] Exception in operation startApp with application se.sync/BPE.
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:521)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:422)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:877)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot create DataSource "DataSource/SCP".
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1467)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.prepareStart(ContainerImpl.java:468)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:219)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:179)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         ... 30 more
    Caused by: java.lang.NullPointerException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1394)
         ... 34 more
    When I'm looking at the \usr\sap\EE5\J00\exe\mssjdbc\sqljdbc.jar file, I can see both these classes (SQLServerXADataSource and SQLServerDataSourceObjectFactory), so the problem is probably somewhere else. As the exception comes from the native method - does it mean, that the XA extension is not installed correctly on the server (as described [here|http://technet.microsoft.com/en-us/library/aa342335(SQL.90).aspx])?
    Thanks for any help!
    Best Regards,
    -Milosz

    Ok, just to share - the solution was as follows:
    remove the object-factory element
    change property name "port" to "portNumber"
    So, the correct data-sources.xml is as follows:
    <data-source>
         <data-source-name>DataSource/SCP</data-source-name>
         <driver-name>SYSTEM_DRIVER</driver-name>
         <init-connections>5</init-connections>
         <max-connections>25</max-connections>
         <sql-engine>Vendor_SQL</sql-engine>
         <jdbc-2.0>
             <xads-class-name>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</xads-class-name>
             <properties>
                 <property>
                     <property-name>serverName</property-name>
                     <property-value>localhost</property-value>
                 </property>
                 <property>
                     <property-name>databaseName</property-name>
                     <property-value>SCP</property-value>
                 </property>
                 <property>
                     <property-name>portNumber</property-name>
                     <property-value>1433</property-value>
                 </property>
                 <property>
                     <property-name>user</property-name>
                     <property-value>myUser</property-value>
                 </property>
                 <property>
                     <property-name>password</property-name>
                     <property-value>myPassword<property-value>
                  </property>
             </properties>
         </jdbc-2.0>
    </data-source>
    And this works.

  • Cannot create guest virtual machine with Solaris 10 SPARC in Oracle VM 2.2

    Dear All,
    I try many times to create guest virtual machine with Solaris 10 SPARC but not get success.
    When I created it already and then I start the Power On button, it run normally but the Console button cannot click on (hide). After that the virtual machine running abit then it change status to Powered Off.
    Please kindly give advice for this.
    Thanks and regards,
    Heng

    I storgly doubt, VMware player is available for Solaris 10 SPARC version.
    Solaris 10 is not a comercial product, like ubuntu, windows, MAC etc... It's really for a server.
    That's the reason still I hate Solaris 11 as a desktop. You have very limited product/software.... This may change for Solaris 11, but U can't expect one for Solaris 10.

  • Cannot create Power View reports with HelloWorldPicnicPowerViewRTM.xlsx

    I have uploaded HelloWorldPicnicPowerViewRTM.xlsx to Power Pivot Gallery on SharePoint 2013 and SQL Server 2012.
    I have clicked Create Power View Reports, but there is error with connection.
    I'm trying to follow instructions on
    http://technet.microsoft.com/en-us/library/hh759325.aspx
    <detail><ErrorCode xmlns="rsCannotRetrieveModel</ErrorCode><HttpStatus">http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus
    xmlns="400</HttpStatus><Message">http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="An">http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'http://servername/sites/bi/powerview/PowerPivotGallery/HelloWorldPicnicPowerViewRTM.xlsx'. Verify that the connection information is correct and that you have permissions to access the data
    source.</Message><HelpLink xmlns="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0</HelpLink><ProductName">http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName
    xmlns="Microsoft">http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="11.0.3128.0</ProductVersion><ProductLocaleId">http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
    xmlns="127</ProductLocaleId><OperatingSystem">http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="OsIndependent</OperatingSystem><CountryLocaleId">http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId
    xmlns="1033</CountryLocaleId><MoreInformation">http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="<Source>ReportingServicesLibrary</Source><Message">http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message
    msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="An">http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'http://servername/sites/bi/powerview/PowerPivotGallery/HelloWorldPicnicPowerViewRTM.xlsx'.
    Verify that the connection information is correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection"
    msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="Cannot">http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'TemporaryDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source></Source><Message>We cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices"
    /></detail>
    Kenny_I

    Hi Kenny_I,
    Based on the error message, the issue may be caused by the incorrect configuration of Claims to Windows Token Service (C2WTS). The C2WTS is required because the communication between the web front-end (WFE) and the Reporting Services shared service will
    always be Claims authentication.
    The domain account used by the Claims to Windows Token Service needs to be granted the following rights through the Local Security Policy:
    Act as part of the operating system
    Impersonate a client after authentication
    Log on as a service
    We can find these settings under Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment. And we should add the service account to the local Administrators Groups ahead.
    For more information, please see the following links:
    http://www.codeovereasy.com/2014/01/powerview-report-fails-no-credentials-are-available-in-the-security-package/
    http://msdn.microsoft.com/en-us/library/hh231678.aspx
    Hope this helps.
    Thanks,
    Katherine xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • "Unable to save markup: Cannot create output file" message with ISDK

    Hi,
    We have an integration of AutoVue with OpenText Livelink, and we're seeing that if users open a document, and then work on adding mark-ups for a long time (3 hours) without saving the mark-up when the user saves the markup they get an error message "Unable to save markup: Cannot create output file". If they then press the save button they get the out-of-the-box AutoVue 'Save Markup File As' dialog.
    The ISDK DMS integration servlet and VueServlet servlet are both running under Tomcat with 740 minute session timeout set for the servlet.
    When we look at the logs we're not seeing any attempts to save the mark-up, which is confusing.
    It looks as though the link between the AutoVue applet and the DMS has been lost.
    Is it possible to specify session time-outs in the AutoVue applet?
    Is there a way of checking keep-alives are being sent (if they are ever sent)?
    Help appreciated!
    Thanks
    Paul

    AutoVue default timeout is 30 minutes and is being controlled by the option jvueserver.users.timeout (value set in seconds, default is 1800).
    Adding to the jvueserver.properties the following line:
    jvueserver.users.timeout=50400
    would set AutoVue session timeout to 14 hours (longer than Tomcat session).
    If the issue still persists, the AutoVue session timeout is probably not the cause...
    Edited by: user739124 on Dec 4, 2012 12:02 PM

  • Java.lang.NullPointerException when using readTemplate with WLST offline

    I imported WLST offline as a module in to jython script and tried
    wlstOffline.readTemplate('../wls.jar')
    It gives me a java.lang.NullPointerException.
    Here is the entire stack trace
    Traceback (innermost last):
      File "testOffline.py", line 3, in ?
      File "E:\wlst\wlstOffline.py", line 78, in readDomain
    java.lang.NullPointerException
            at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(
    Ljava/lang/Exception;Ljava/lang/String;)V(WLScriptContext.java:897)
            at com.bea.plateng.domain.script.jython.WLScriptContext.readDomain(Ljava
    /lang/String;)V(WLScriptContext.java:244)
            at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/
    lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/l
    ang/Object;)Ljava/lang/Object;(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[
    Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;
    I)Ljava/lang/Object;(Unknown Source)
            at org.python.core.PyReflectedFunction.__call__(Lorg/python/core/PyObjec
    t;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;(PyRe
    flectedFunction.java:???)
            at org.python.core.PyMethod.__call__([Lorg/python/core/PyObject;[Ljava/l
    ang/String;)Lorg/python/core/PyObject;(PyMethod.java:???)
            at org.python.core.PyObject.__call__(Lorg/python/core/PyObject;)Lorg/pyt
    hon/core/PyObject;(PyObject.java:???)
            at org.python.core.PyInstance.invoke(Ljava/lang/String;Lorg/python/core/
    PyObject;)Lorg/python/core/PyObject;(PyInstance.java:???)
            at wlstOffline$py.readDomain$16(Lorg/python/core/PyFrame;)Lorg/python/co
    re/PyObject;(E:\wlst\wlstOffline.py:78)
            at wlstOffline$py.call_function(ILorg/python/core/PyFrame;)Lorg/python/c
    ore/PyObject;(E:\wlst\wlstOffline.py:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyFrame;Lorg/python
    /core/PyObject;)Lorg/python/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyObject;Lorg/pytho
    n/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/pytho
    n/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyFunction.__call__(Lorg/python/core/PyObject;)Lorg/p
    ython/core/PyObject;(PyFunction.java:???)
            at org.python.core.PyObject.invoke(Ljava/lang/String;Lorg/python/core/Py
    Object;)Lorg/python/core/PyObject;(PyObject.java:???)
            at org.python.pycode._pyx0.f$0(Lorg/python/core/PyFrame;)Lorg/python/cor
    e/PyObject;(testOffline.py:3)
            at org.python.pycode._pyx0.call_function(ILorg/python/core/PyFrame;)Lorg
    /python/core/PyObject;(testOffline.py:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyFrame;Lorg/python
    /core/PyObject;)Lorg/python/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyCode.call(Lorg/python/core/PyFrame;)Lorg/python/cor
    e/PyObject;(PyCode.java:???)
            at org.python.core.Py.runCode(Lorg/python/core/PyCode;Lorg/python/core/P
    yObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;(Py.java:???)
            at org.python.core.__builtin__.execfile_flags(Ljava/lang/String;Lorg/pyt
    hon/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/CompilerFlags;)V(__
    builtin__.java:???)
            at org.python.util.PythonInterpreter.execfile(Ljava/lang/String;)V(Pytho
    nInterpreter.java:???)
            at org.python.util.jython.main([Ljava/lang/String;)V(jython.java:???)
    java.lang.NullPointerException: java.lang.NullPointerException
    [/pre]
    Can any one tell me what might be the problem.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The domain exists.
    And the line 78 in wlstOffline.py is as follows
    77 def readDomain(domainDir):
    78 WLS.readDomain(domainDir)
    79 updateCmo()
    80 updatePrompt()

  • Cannot create an OracleConnection programmatically with C#

    Using Visual Studio 2008 and C# on a Windows VISTA SP1 development machine. I have installed the latest InstantClient and the additional SQLPlus files on the dev machine then followed install instructions to the best of my knowledge.
    I am working on a windows application that uses ODP and I also want to use the Oracle 11g ODAC 11.1.0.6.21 with Xcopy Deployment for the clients. I have run the install batch file with the "all" command and used the defaults, then I added the paths to the windows system path varible. I want to use the EZCONNECT connection string. I keep reading the following :
    "All you need to do is add/modify this to your sqlnet.ora
    NAMES.DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
    And now you can use the following syntax to connect
    sqlplus user/password@//host:[port]/service name"
    but I do not see this in the XCOPY deployment instructions. Am I missing something? Do I need to create this sqlnet.ora file and where does it get put if it is needed. Or is it needed at all?
    Update : When I try to create a new OracleConnection in C# code, I get a "Connection string is not well-formed" error.
    This line of code is failing with the error : Oracle.DataAccess.Client.OracleConnection cn = new Oracle.DataAccess.Client.OracleConnection( "SCOTT/password@MyServer/ORCL")
    I have tried this connection string in both of the below formats with the same results:
    1) CONNECT SCOTT/password@MyServer/ORCL
    2) SCOTT/password@MyServer/ORCL
    I did download the SQLPlus that matches this version of InstantClient and it does work with this command line :
    1) C:\oracle\sqlplus.exe SCOTT/password@MyServer/ORCL
    I am able to query the Emp table in the Scott schema and get records back. What am I missing here? Why will SQLPus work and my applicaion not. Do I have to do something on the sqlnet.ora file with EZCONNECT as the above post states.
    Need some help from you Oracle gurus out there. I know some of you have run into this. Thanks...
    Steve Graddy MCP, MCAD.Net
    Orgbrat Consulting

    Hi guys to keep from cross posting, I would like to point this thread to this thread which has a solution but not an explanation.
    ODP with Instant Client
    I wish some of you Oracle gurus could explain to me why the EZCONNECT format connect string will not work from within ODP.Net after viewing the above thread. Thanks...
    Steve Graddy MCP, MCAD.Net
    Orgbrat Consulting

  • How to create a global role with WLST in WL 10

    Hi All:
    The approach in the protect_resources.py found in dev2dev, doesn't work. I've managed to convert the user and group creation to work with WL 10, but I can't for the life of me figure out how to create the role. There doesn't seem to be a createRole() on what I would think are the appropriate MBeans in poking around.
    Anyone know how to do this, or will I have to come up with a screen scraping solution that does this via the weblogic console, where it's so easy to do so?
    TIA
    Forrest

    Not having X's programing background I think of an action reference as something that tells Photoshop what to do. And yes it is like a little action that you write instead of record. For example the code that I and X posted could also be written like this
    var ref = new ActionReference();
    ref.putProperty( charIDToTypeID( "Prpr" ), stringIDToTypeID('tool') );// what key to get
    ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );// where to get it from
    var cTool = executeActionGet(ref);// in this case returns a one key descriptor
    var cToolTypeID =  cTool.getEnumerationType( stringIDToTypeID('tool') );// get the value of that key
    alert( typeIDToStringID( cToolTypeID ) );// make that value readable
    Most of the ordinals you will see will be target as Photoshop likes whatever you are working on to be active. You sometimes see next or previous. I can't recall seeing a 'normal ordinal' like first or second.
    There is not much in the way of documentation. Most of what I know comes from looking at the scriptlistner log, xtools and X himself, and a little bit of code I put together for exploring action descriptors and action list. It's not as nice as X's getterdemo but works more the way I think. It sends it's output to the ESTK console window
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref)
    var c = desc.count ;
    //for(var i=0;i<c;i++){ // to enumerate list
    //  $.writeln('Key '+i+' = '+desc.getType(i))
    for(var i=0;i<c;i++){ //enumerate descriptor's keys
      $.writeln('Key '+i+' = '+typeIDToStringID(desc.getKey(i))+': '+desc.getType(desc.getKey(i)))

  • Cannot create solaris 10 zone with flar archive

    Hello,
    i'm trying to configure a solaris zones with a flar archive of a solaris 10 system.
    i've followed the procedure described here : http://www.sun.com/bigadmin/content/submitted/branded_zones_flash.jsp
    whenever i try to create a zone and use: set brand=solaris10 the commit will fail with Unknown brand Missing document.
    solaris version is Solaris 10 5/08 s10s_u5wos_10 SPARC and i have both the Solaris 8 and Solaris 9 container software installed.
    is there another way to install a zone with the native brand or solaris 10 using an archive of some sort?
    kind regards,

    Thanks,
    I've figured as much as using a whole root zone but i still struggle with the configuration of a solaris10 brand and the creation of a zone config with that brand.
    I might be bettor of installing the zone without the flar image and try to copy the needed files and applications to the zone.
    I only need the solaris10 brand zone to test the flar image so i can use it to restore the system with flar and jumpstart.

  • Cannot create Kodak Photo Book with Elements 8

    I'm trying to create a Kodak Photo Book with Elements 8. My system gets stuck in an eternal loop at the initial CREATE stage:
    (Screen 1)
    CREATE
    What would you like to create?
    Photo Book
    (Screen 2)
    Order Kodak Photo Book
    Back to screen 1. Same is true if I select anything other than "Print with Local printer..."
    Only resolution I can think of is to go back to Elements 7

    Hi,
    Can you please tell me your online services location. To find that out, you need to go to the Organizer. Go toEdit>Preferences>Adobe Partner Services. Click the "Choose" button for location and there you will find your online services location. It should be US & Canada for Kodak Photobook services to work.
    Also can you please let me know whether you are trying to do this in organizer or Editor?
    Best Regards,
    Chhaya

  • Cannot create any PDF docs with Acrobat Pro 7.0

    I have Adobe Acrobat Pro 7.0 running on Microsoft XP.  All of a sudden, I cannot
    convert any documents into PDFs.  I have tried converting Microsoft Word
    docs and those from other applications.  It is important to stress that I
    have managed to do this many times in the past, but for some reason Acrobat
    has suffenly stopped doing this.  I have tried 'printing' to PDF and
    'converting' to PDF.  Each time I get the following error message on a
    'Notepad':
    "%%[ Error: undefined; OffendingCommand: setdistillerparams; ErrorInfo:
    CalCMYKProfile U.S. Web Coated (SWOP) v2 ]%%
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    Error accessing color profile: U.S. Web Coated (SWOP) v2
    %%[ Warning: PostScript error. No PDF file produced. ] %%"
    I have clicked on 'Detect & Repair' under the 'Help' menu button in Adobe
    Acrobat and this supposedly did some form of reinstalling/fixing (without
    the need for a CD to be inserted into the computer) and asked me to turn off
    my computer & then turn it back on.
    Having done this, I still cannot get docs to convert to PDF.
    I have not added any particular hardware or software to my computer in
    recent times.  Apart from the PDF conversion, everything else in Adobe
    Acrobat Pro seems to run fine.  I can read all documents etc.
    Can you help me?
    Thanks,
    Alan

    OK, I've got everything to work - so long as I 'Print' docs to PDF rather than clicking on the PDF conversion icons (if I click on these icons, I just get an error).
    But if I print to PDF, everything now works - I've even managed to solve the Word problem - I think it was a faulty Word doc for some reason.  I found a useful document which told me how to set up all the settings for Acrobat Distiller (http://mydocs.epri.com/docs/CorporateDocuments/WorkingWithEPRI/CreatingAcrobatPDFs.pdf).
    If you know how to make the PDF conversion icons work (it must be something simple) that'll save me having to print each time, it would be great, but I can survive without this.

  • Cannot Create a New Enhancement with SMOD

    Hi Gurus,
    I can't find any buttons/functions to create a new enhancement in SMOD, ECC 6. Does SAP disallow people to create new a new enhancement in ECC 6.0?

    Enhancement are nothing but Badi ( Other way round ) if you want to add a Enhancement in your Code try and implement a Custom Badi ...and then have as many implimentation for the badi...!
    OR refer the below like .....
    http://help.sap.com/saphelp_nw04s/helpdata/en/3b/0a39426f79f83ae10000000a1550b0/content.htm

Maybe you are looking for