ImportError: No module named com.bea.wli.sb.management.configuration

Hi all,
when i run the python script in python shell i am getting this error:
Traceback (most recent call last):
File "D:\osb_disable_service.py", line 2, in <module>
from com.bea.wli.sb.management.configuration import SessionManagementMBean
ImportError: No module named com.bea.wli.sb.management.configuration
i have set the CLASSPATH to D:\bea\wlserver_10.3\server\lib\weblogic.jar
i have set $CLASSPATH to D:\bea\osb_10.3\lib\sb-kernel-api.jar

version: Oracle Service Bus 10gR3..
the python script:
from com.bea.wli.sb.management.configuration import SessionManagementMBean
from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
from com.bea.wli.config import Ref
from java.lang import String
from com.bea.wli.monitoring import StatisticType
from com.bea.wli.config import Ref
from com.bea.wli.sb.util import Refs
from com.bea.wli.sb.management.configuration import CommonServiceConfigurationMBean
from java.lang import String
from com.bea.wli.monitoring import StatisticType
from com.bea.wli.config import Ref
from com.bea.wli.sb.util import Refs
from com.bea.wli.sb.management.configuration import CommonServiceConfigurationMBean
admin_server="localhost"
admin_server_poort="7001"
wluser="weblogic"
wlpassword="weblogic"
domain="base_domain"
project=raw_input("JMSResponseMessage" )
service=raw_input("getResponse_proxyWsdl")
action=raw_input("disable")
connect(wluser, wlpassword, 't3://'+ admin_server + ':' + admin_server_poort)
domainRuntime()
# Create a session name
#sessionName =
sessionName = String("SessionScript"+Long(System.currentTimeMillis()).toString())
print('… after session. Session is: ', sessionName)
# Get the session MBean and create a session
sessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
print('SessionMBean is: ', sessionMBean)
sessionMBean.createSession(sessionName)
print(String('Session was created … ').concat(sessionName))
# Get the ProxyServiceConfigurationMBean specific to our session
mbean = findService(String("ProxyServiceConfiguration.").concat(sessionName),'com.bea.wli.sb.management.configuration.ProxyServiceConfigurationMBean')
# Creates a reference to a folder.
# and ‘ProxyServices’ is a folder in the project
#folderRef = Refs.makeParentRef(‘project/’)
# and ‘ProxyServices’ is a folder in the project
projectName = Refs.makeParentRef(project + '/')
proxyRef = Refs.makeProxyRef(projectName, service)
# do the action
def setService():
if action == 'disable':
print "Disabling " + service
mbean.disableService(proxyRef)
else:
print "Enabling " + service
mbean.enableService(proxyRef)
# or enable it
setService()
# Now commit (activate) the changes
sessionMBean.activateSession(sessionName, "disabled PS")
print (' has been completed')
print
disconnect()
exit()
WLST command: java weblogic.WLST filename

Similar Messages

  • Com.bea.p13n.rules.manager.RuleSetNotFoundException: The rule set with URI /segments/GlobalClassifications.rls could not be located by the class named com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager

    Hi,
    I am getting below exceptions in weblogic portal 10.3.5 which is upgraded from 10.3.4 portal. I have a datasync project .when try to run from workshop(eclipse IDE) getting below error.
    com.bea.p13n.servlets.jsp.JspException: DivTag: The retrieved advice is incomplete. See the processing error list for more information.
    com.bea.p13n.advisor.internal.AdviceImpl@299d48
    Identifier: 1377808035572
    Complete: true
    Last Result: null
    ProcessingError List:
    (1) com.bea.p13n.advisor.internal.ProcessingErrorImpl@1504ee
    Description: Exception evaluating ruleset.
    Source: com.bea.p13n.rules.advislets.RulesAdvisletImpl@e6d518
    Advisor: com.bea.p13n.advisor.internal.AdvisorImpl@b04a4e
    Metadata: com.bea.p13n.common.internal.MetadataImpl@1de62ee
    Name: UnmappedRulesAdvislet
    Description: Advislet that can evalaute a ruleset and return the instantiated objects.
    Author: BEA Systems
    Version: com.bea.p13n.common.internal.VersionImpl@13130a2 Description: WLP 9.2 Number: 9.2, Build Number 1.
    Parameters: {ruleset-name=/segments/GlobalClassifications.rls, ignore-rule-name=false}
    User data: null
    Exception: com.bea.p13n.rules.manager.RuleSetNotFoundException: The rule set with URI /segments/GlobalClassifications.rls could not be located by the class named com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.getRuleSet(RuleSetPersistenceManager.java:408)
    at com.bea.p13n.rules.manager.internal.ContextPool.<init>(ContextPool.java:149)
    at com.bea.p13n.rules.manager.internal.ContextPoolFactory.getContextPool(ContextPoolFactory.java:214)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getContext(RulesManagerImpl.java:480)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluate(RulesManagerImpl.java:353)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluateRule(RulesManagerImpl.java:194)
    at com.bea.p13n.rules.manager.internal.RulesManager_jswjkk_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.bea.p13n.rules.manager.internal.RulesManager_jswjkk_EOImpl.evaluateRule(Unknown Source)
    at com.bea.p13n.rules.advislets.RulesAdvisletImpl.getAdvice(RulesAdvisletImpl.java:190)
    at com.bea.p13n.advisor.internal.AdvisorImpl.getAdvice(AdvisorImpl.java:74)
    at com.bea.p13n.advisor.internal.CompoundAdvisletImpl.getAdvice(CompoundAdvisletImpl.java:88)
    at com.bea.p13n.advisor.internal.AdvisorImpl.getAdvice(AdvisorImpl.java:74)
    at com.bea.p13n.advisor.internal.EjbAdvisorImpl.getAdvice(EjbAdvisorImpl.java:62)
    at com.bea.p13n.advisor.internal.EjbAdvisor_t707wa_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.bea.p13n.advisor.internal.EjbAdvisor_t707wa_EOImpl.getAdvice(Unknown Source)
    at com.bea.p13n.servlets.jsp.taglib.DivTag.includeBody(DivTag.java:103)
    at com.bea.p13n.servlets.jsp.taglib.DivTag.doStartTag(DivTag.java:169)
    at jsp_servlet._portlets._footerlinks.__footerlinks._jspService(__footerlinks.java:247)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
    at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
    at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at com.bea.netuix.servlets.filters.IncludeSecurityFilter.doFilter(IncludeSecurityFilter.java:103)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:558)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:488)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:152)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._ceoportal.__flowlayout._jspService(__flowlayout.java:139)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:148)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:488)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:152)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._ceoportal.__gridlayout._jspService(__gridlayout.java:357)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:148)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
    at com.bea.netuix.servlets.manager.UIServlet.processControlTree(UIServlet.java:373)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:993)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3729)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3695)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2285)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2184)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1459)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    The following document describes about how datasync data is deployed in various scenarios.
    http://download.oracle.com/docs/cd/E13218_01/wlp/docs100/prodOps/preparing.html#wp1029497
    Assuming you are making use of workshop for creating the user segment and deploying to a single server which is in development mode, I would recommend you check if you have hit any OOM issues on the server or not, and try restarting the server, and redeploying your app. Generally this should resolve the issue.
    If the server to which you are deploying is running in production mode / deploying as an EAR then the above referred doc will guide you on the next steps.

  • [ALSB 3.0] ImportError: No module named wli

    Hi all,
    I've already posted a problem that I got moving my WLST scripts from ALSB 2.6 to 3.0.
    As suggested in threadID=300006156 I changed some deprecated code.
    The error is:
    [java] Problem invoking WLST - Traceback (innermost last):
    [java] File ".../EventBus/scripts/admin.py", line 2, in ?
    [java] ImportError: No module named wli
    and first lines of admin.py now are:
    =====================
    import wlstModule
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from utils import createSessionName
    from utils import loadProps
    from utils import loadXML
    =====================
    Before running WLST from ant I run the related
    ./setDomainEnv.sh from my ALSB domain folder.
    What could I check to solve that ?
    Regards
    ferp

    I had a similar problem, but with a different file. The SessionManagementMBean class has moved to a new JAR file. You can find the new JAR file at <BEA_HOME>/alsb_3.0/lib/sb-kernel-api.jar
    Once I corrected my classpath to include this jar file, my older scripts started working again.

  • [OSB 10.3.1] ImportError: No module named wli

    Hi all,
    I'm migrating my WLST code from ALSB 3.0 to OSB 10.3.1 and I get some troubles. In order to understand where is the problem, I did:
    1) create basic.py as described in http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/SessionManagementMBean.html
    2) set the classpath and environment variables correctly by invoking the setDomainEnv.cmd
    K:\EventBus\scripts>f:\software\developing\osb1031\domains\osb_cluster1\bin\setDomainEnv.cmd
    3) execute java weblogic.WLST basic.py
    K:\EventBus\scripts>java weblogic.WLST basic.py
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Problem invoking WLST - Traceback (innermost last):
    File "K:\EventBus\scripts\basic.py", line 2, in ?
    ImportError: No module named wli
    Could anyone please help me to solve that ?
    Regards
    ferp

    Thanks a lot! One step solved but another raises ...
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain ...
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    For more help, use help(domainRuntime)
    Unexpected error: exceptions.AttributeError
    No stack trace available.
    Problem invoking WLST - Traceback (innermost last):
    File "C:\projects\osb1031\basic.py", line 16, in ?
    AttributeError: 'None' object has no attribute 'createSession'
    Where:
    import wlstModule
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
    from com.bea.wli.config import Ref
    try:
    connect("weblogic", "weblogic", "t3://localhost:7001")
    domainRuntime()
    sessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
    sessionMBean.createSession("mysession") <- line 16
    So I imagine that findService returns a null object!
    regards
    ferp

  • ALSB ImportError: No module named customization

    Hi,
    I am getting this error
    ImportError: No module named customization
    Looks like it is not finding the package in the classpath.
    from com.bea.wli.config.customization import Customization
    bash-3.00$ echo $CLASSPATH
    /opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/java/lib/fscontext.jar:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/providerutil.jar::/usr/local/esb/bea/wlserver_10.0/server/lib/wlpatches/CR382420_1000mp1.jar:/usr/local/esb/bea/user_projects/domains/esbdomain/app_patches/*.jar::/usr/local/esb/bea/patch_wss110/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/esb/bea/patch_wlw1020/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/esb/bea/patch_wls1001/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/esb/bea/patch_cie640/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/esb/bea/patch_alsb300/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/esb/bea/jdk150_11/lib/tools.jar:/usr/local/esb/bea/wlserver_10.0/server/lib/weblogic_sp.jar:/usr/local/esb/bea/wlserver_10.0/server/lib/weblogic.jar:/usr/local/esb/bea/modules/features/weblogic.server.modules_10.0.1.0.jar:/usr/local/esb/bea/modules/features/com.bea.cie.common-plugin.launch_2.1.2.0.jar:/usr/local/esb/bea/wlserver_10.0/server/lib/webservices.jar:/usr/local/esb/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/usr/local/esb/bea/modules/net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar::/usr/local/esb/bea/wlserver_10.0/../modules/features/alsb.server.modules_3.0.0.0.jar:/usr/local/esb/bea/alsb_3.0/lib/flow/sb-flow.jar:/usr/local/esb/bea/wlserver_10.0/../modules/com.bea.core.jaxen_1.0.0.0_1-1-1.jar:/usr/local/esb/bea/wlserver_10.0/platform/lib/p13n/p13n_system.jar:/usr/local/esb/bea/wlserver_10.0/server/lib/wlxbean.jar:/usr/local/esb/bea/alsb_3.0/lib/version.jar:/usr/local/esb/bea/alsb_3.0/lib/alsb.jar:/usr/local/esb/bea/alsb_3.0/3rdparty/lib/j2ssh-ant.jar:/usr/local/esb/bea/alsb_3.0/3rdparty/lib/j2ssh-common.jar:/usr/local/esb/bea/alsb_3.0/3rdparty/lib/j2ssh-core.jar:/usr/local/esb/bea/alsb_3.0/3rdparty/lib/j2ssh-dameon.jar:/usr/local/esb/bea/alsb_3.0/3rdparty/classes:/usr/local/esb/bea/wlserver_10.0/../modules/com.bea.core.apache.commons.logging_1.1.0.jar::/usr/local/esb/bea/wlserver_10.0/common/eval/pointbase/lib/pbembedded51.jar:/usr/local/esb/bea/wlserver_10.0/common/eval/pointbase/lib/pbupgrade51.jar:/usr/local/esb/bea/wlserver_10.0/common/eval/pointbase/lib/pbclient51.jar:/usr/local/esb/bea/wlserver_10.0/server/lib/xqrl.jar:
    I see alsb.jar is in the classpath and unable to figure out why WLST is complaining about customization package.
    Does anyone know which alsb jar file contains this com.bea.wli.config.customization package ?
    Thanks --agr                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    I am running into customization problem.
    For somereason, ALSBConfigurationMBean.customize() method expects two arguments while ALSB API needs only one argument http://edocs.bea.com/alsb/docs30/javadoc/com/bea/wli/sb/management/configuration/ALSBConfigurationMBean.html#customize(java.util.List).
    As you see in the script I am passing one List argument as expected by API above.
    Has anyone encountered this error. Anything wron on my script ?
    Here is the code I am using in my jython script.
    if custfile != None :
    print "************************************************************************************************************"
    print 'Loading customization file...', custfile
    print "************************************************************************************************************"
    input = FileInputStream(custfile)
    custlist = Customization.fromXML(input)
    filteredCustList = ArrayList()
    setRef = HashSet(createdRef)
    # apply a filter to all the customizations to narrow the target to the created resources
    for customization in custlist:
    print customization
    newcustomization = customization.clone(setRef)
    filteredCustList.add(newcustomization)
    print filteredCustList
    ALSBConfigurationMBean.customize(filteredCustList)
    sessionMBean.activateSession(sessionName, "import file completed");
    print
    print '-- DEPLOYMENT COMPLETE --'
    com.bea.wli.config.customization.EnvValueCustomization@1f9690e
    [email protected]d08
    com.bea.wli.config.customization.ReferenceCustomization@14c491b
    [com.bea.wli.config.customization.EnvValueCustomization@19726d9, [email protected]c2, com.bea.wli.config.customization.ReferenceCustomization@1a68065]
    Unexpected error: exceptions.TypeError
    No stack trace available.
    Problem invoking WLST - Traceback (innermost last):
    File "/usr/local/esb/sse/DeployALSBResources.py", line 198, in ?
    TypeError: customize(): expected 2 args; got 1
    Thanks --agr                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ODSI DataSpace Deployment using WLST - "ImportError: No module named dsp"

    Hi,
    I'm currently into a project that deploys ODSI 10gR3 DataSpace using WLST. The deployment i'm referring is basically exporting and importing of the dataspace.
    I have this piece of function that i got from a forum within this Oracle site (reference: Re: Dataspace import and deployment script
    def exportDataSpace(dataspaceName,exportJarFilePath):
    moveToDeploymentSessionMBean(None)
    from com.bea.dsp.management.deployment.session import ExportOptions
    exportoptions = ExportOptions()
    exportoptions.setIncludeConfiguration(1)
    exportoptions.setOverwriteJar(1)
    +wlst.invoke('export',[dataspaceName,exportJarFilePath,exportoptions],['java.lang.String','java.lang.String','com.bea.dsp.management.deployment.session.ExportOptions'])+
    def createDeploymentSession(sessionName):
    moveToDomainServiceMBean()
    +wlst.invoke("createDeploymentSession",[sessionName],["java.lang.String"])+
    moveToDeploymentSessionMBean(sessionName)
    when executing this function, at line 3, I encounter an ImportError saying:
    ImportError: No module named dsp
    Can anyone assist on what to do here? I believe that I should install a jar file, but I'm not pretty sure of what that file is and where it is. I also don't know how to add it to the classpath.
    Thank you in advance.
    Tope

    Hi,
    I have this piece of function that i got from a forum within this Oracle site (reference: Re: Dataspace import and deployment script
    Post your question in the same forum for a better/faster response.
    Thanks,
    Hussein

  • ImportError: no module named java  : While running a scenario (ODI 10.1.3.)

    Hi All,
    When i am running a scenario i am getting the below error in the 'error log ' file....Please let me know any pointers on the same.. its urgent:-
    =========================================================
    [oraodi@apo13100098 error]$ cat SIL_TIMEDIMENSION_CALCONFIG.30402.log
    12/15/11 10:26 AM :
    Session No-> 30402
    Package Name-> SIL_TIMEDIMENSION_CALCONFIG
    Step Name-> SIL_TimeDimension_CalConfig.MCAL_CONFIG_G
    Error Details->
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 2, in ?
    ImportError: no module named java
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    ===========================================================================================
    Cheers
    Manoj

    Hi Venkat,
    The error got resolved after adding '/usr/kerberos/bin:/usr/local/bin' to my PATH variable.
    cheers
    Manoj

  • ImportError: no module named java

    One of our customers is using Windows XP SP 3 and they are running into below error when packages are run.
    It is happening at a specific step in IKM where Jython techonology is used. But this kind of issue never occured in dev/qa environments.
    Any hint is greatly appreciated.
    One more thing is customer is on 10.1.3.4, while delivered code was on 10.1.3.4.4 . Could that cause any issues?
    ==================================================================
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 1, in ?
    ImportError: no module named java
    at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
    at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.g.y(g.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Thread.java:619)
    ==================================================================

    Hi,
    has anyone idea how to resolve this problem? I've error when I try to start Journal:
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
      File "<string>", line 1, in ?
    ImportError: no module named java
      at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
    at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
      at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
      at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
      at com.sunopsis.dwg.cmd.e.i(e.java)
      at com.sunopsis.dwg.cmd.g.y(g.java)
      at com.sunopsis.dwg.cmd.e.run(e.java)
      at java.lang.Thread.run(Unknown Source)
    Any idea what should I do ? JKM which I use is: JKM HSQL.
    Thanks for help.
    ===========================================
    EDIT:
    Solution for my problem was running Designer as Administrator. (Win 7).

  • Python setuptools gives 'ImportError: No module named version' error

    I am trying to install hdctools-git from AUR and it fails in install() with following error. This package was fine last time I installed it about 2 months ago. My gut feeling says the error comes either from recent python2-setuptools or python2 package update. But my python skills are not good enough to figure out how to solve the problem.
    Does anybody know what is going here?
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbgpio_unittests.py to bbgpio_unittests.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/gpio_interface.py to gpio_interface.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/uart.py to uart.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/client.py to client.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbuart_unittests.py to bbuart_unittests.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbadc.py to bbadc.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbmux_controller.py to bbmux_controller.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/system_config.py to system_config.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbgpio.py to bbgpio.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/ftdigpio.py to ftdigpio.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbi2c_unittests.py to bbi2c_unittests.pyc
    writing byte-compilation script '/tmp/tmp4TA67u.py'
    /usr/bin/python2 -O /tmp/tmp4TA67u.py
    removing /tmp/tmp4TA67u.py
    running install_egg_info
    running egg_info
    writing build/servo.egg-info/PKG-INFO
    writing top-level names to build/servo.egg-info/top_level.txt
    writing dependency_links to build/servo.egg-info/dependency_links.txt
    writing entry points to build/servo.egg-info/entry_points.txt
    Traceback (most recent call last):
      File "setup.py", line 28, in <module>
        'dut-control = servo.dut_control:main',
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python2.7/distutils/command/install.py", line 575, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.py", line 33, in run
        self.run_command('egg_info')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 171, in run
        writer = ep.load(installer=installer)
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2310, in load
        return self.resolve()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2316, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
    ImportError: No module named version
    ==> ERROR: A failure occurred in package().
        Aborting...
    Last edited by anatolik (2015-01-18 06:39:16)

    I am getting the same problem. Uninstalling python2-daemon fixed it for me, as suggested here: http://stackoverflow.com/a/27996309/646735
    I have also logged an upstream issue here: https://bitbucket.org/pypa/setuptools/i … ed-version

  • Mavericks (10.9.3) Python shelve error: ImportError: No module named _bsddb

    Hi when I updated my OS X to Mavericks (10.9.3), my python couldn't recognize bsddb anymore, which worked fine for my previous versions. This is very annoying since it wasted a whole day of mine without a solution.
    I urge Apple support to give me an answer as QUICK as possible.
    I have tried a lot of possible fixes on StackOverflow, and I have bsddb installed on my computer, and bsddb3 package. Also I followed this tutorial to fix the import issues (which worked before I updated my OS).
    http://marc-abramowitz.com/archives/2007/11/28/hacking-os-xs-python-dbhash-and-b sddb-modules-to-work/
    Please let me know a solution, this is urgent and I can't waste time on this anymore.

    carebearboy wrote:
    I get this error when attempting to import pygame:
    Python 3.2.1 (default, Jul 11 2011, 12:37:47)
    [GCC 4.6.1] on linux2
    Type "copyright", "credits" or "license()" for more information.
    >>> ================================ RESTART ================================
    >>>
    Traceback (most recent call last):
    File "/home/user/Documents/fun.py", line 3, in <module>
    import pygame, sys, random
    ImportError: No module named pygame
    >>>
    I've tried installing:
    python3-pygame
    python3-pygame2
    python-pygame
    and a couple others...
    Either I get the same error or the install yaourt aborts due to a bad compile. I noticed that I have python 2.7 also installed on my computer.
    Have you tried python3-pygame-svn?
    I'm not a pygame user myself, but it built okay for me, and I was able to import it in python3 with no errors.
    EDIT: just noticed that the pkgbuild is missing a dependency: python-numpy.
    Last edited by kachelaqa (2011-08-28 19:42:06)

  • Customisation during Import failed due to com.bea.wli.sb.transports.ejb.Jws

    Hi All,
    *Environment:
    Weblogic Server: 10.0.1.0
    Workshop Studiio: 1.1.0.0
    Aqualogic Service Bus: 3.0.0.0.0
    Linux: 2.6.18-53.e15 x86_64
    ANT: org.apache.ant_1.6.5
    JDK: jdk150_11
    All my services are JMS based, so all the JMS destinations has already been created and tested using a different utlity written in java which sends a messages to the jms queues and recieve those messges, so i am sure my jms destinations are already there.
    *Problem:
    1 - I can use alsb console to import the config.jar without any problem, even though the jms destinations are reflecting older addresses i.e. jms:localhost:7001/connfact/queue (my dev)environment, where as my to be environment is different physical host with address like jms://abdhost:7099/connfact/queue.
    2 - When i try to apply customisation using a customisation file i generated from my dev environment and changes the jms locations according to the to be host. the customisation operation failed complaining about 'Failed to lookup connection factory <factory name>'.
    in the weblogic console the error is
    [JAM] Warning: failed to resolve class com.bea.wli.sb.transports.ejb.Jws
    <ERROR> <ConfigFwk> <BEA-390109> <Failed to notify session listener com.bea.wli.sb.transports.WLSArtifactDeployerImpl for operation beforeSessionActivate on session weblogic
    com.bea.wli.sb.transports.TransportException: Failed to lookup connection factory <factory name>
    *Same Problem using ANT on hudson:
    I am also running same process using ANT build script on hudson to kick off build which imports alsb configuration, using already created config.jar, into alsb 3.0.0.0 already running on linux. The ANT script runs WLST import.py and export.py script, copied from the weblogic tutorial, to import configuration into alsb 3.0.0.0, but failed with same error.
    I am not sure if this error is only related to missing jar which is missed during weblogic startup and in my ant script. If so, can someone tell which jar to use unless its a BUG and already been addressed as this is pretty old version i am using.
    PS: dev and tobe environments have same weblogic build so i had already checked that.
    Many thanks for your help!
    sal

    Hi,
    Is there any update on the above issue?
    we are also facing the same issue. please provide solution if you have something.
    Regards,
    Bhaskar.

  • OSB- BEA-380000 - com.bea.wli.sb.pipeline.PipelineException in OSB 11.1

    Hi,
      My test case is a simple one. JMS Proxy (Publish with QOS- exactly once) --> http Proxy (Publish with QOS- Best Effort)--> http BS. Am getting a BEA-380000 - com.bea.wli.sb.pipeline.PipelineException error while testing from JMS proxy in test console. However, the test is successful while testing from http Proxy.
    I saw one of the threads OSB - BEA-380000 - com.bea.wli.sb.pipeline.PipelineException   but it didn't solve my issue.
    Please advise if anyone has a solution.
    Thanks,
    Nikhil

    Hi All,
    I found these are the observations when ever this error occured.
    1) name space issue, un used namspaces are giving conflict, two namespaces with different uri's, out of which one is no more required, that will give problem.
    2) Copying any stage from route node to the other stages ( it will add few extra namespaces).
    3) Using un-reachable variables in the failed stage.
    Thanks.
    Edited by: user12679330 on 07-Oct-2011 02:19

  • [SOLVED] ImportError: No module named pygtk

    I have installed Dropbox from the AUR. Everything has gone well until I tried to start dropbox. It then says:
    Starting Dropbox...
    The Dropbox daemon is not installed!
    Run "dropbox start -i" to install the daemon"
    When I run "dropbox start -i", I get: (I actually run "dropbox-cli start -i," but before I installed dropbox-cli I was having the same problems with the dropbox command:)
    Starting Dropbox...Traceback (most recent call last):
    File "/usr/bin/dropbox-cli", line 1259, in start
         download()
    File "/usr/bin/dropbox-cli", line 280, in download
         import pygtk
    ImportError: No module named pygtk
    From what I've read, this is due to the program expecting python or python2, but  since I have python3 installed, then python links to python3. And pygtk doesn't exist in python3.
    This might or might not be the problem. Regardless, I cannot figure out how to fix this problem.
    Anyone know how to fix this? I really need to use DropBox.
    EDIT: I found an article describing what to install and in what order to fix this.
    Last edited by cobbmic (2015-02-17 19:05:32)

    Hello. Glad you fixed it.
    Please give us at least a link to the "article". For others who are interested in this.
    I quickly search beforehand but couldn't find a solution right away.
    Thanks!
    Edit: wording
    Last edited by rebootl (2015-02-17 22:07:31)

  • WLST : ImportError: no module named javaos

    Hi,
    I try to run wlst on a platform linux but at the time I launch wlst I obtain the following error: ImportError: no module named javaos
    my classpath contains wlst.jar,jython.jar, and weblogic.jar, tools.jar, rt.jar, etc.
    pythonpath, pythonhome are set to wlst install directory, and modules, scripts "py".
    thanks in advance.
    here the detail of the exception.
    /pdt/pdslpd1/p/8.1/jdk142_05/bin/java -Dwlst.debug.init=true -Duser.home=/pdt/pdc1pd0/p/mdw/bin/weblogic/ -Dpython.home=/pdt/pdslpd1/p/8.1/wlst/ -Dpython.path=/pdt/pdslpd1/p/8.1/wlst/ weblogic.WLST webloadmin.py
    Initializing WebLogic Scripting Tool (WLST) ...
    Setting the python home to /pdt/pdslpd1/p/8.1/wlst/
    Error executing wlstProfile.py
    Traceback (innermost last):
    File "/pdt/pdc1pd0/p/mdw/bin/weblogic/./wlstProfile.py", line 5, in ?
    ImportError: no module named javaos
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Traceback (innermost last):
    File "webloadmin.py", line 1, in ?
    ImportError: no module named re

    Hi,
    Another subject, Could you explain us how to use specific encoding (for example latin-1) to print european characters in stdout.
    I try to declare sys.setDefaultencoding('latin-1') in wlstProfile.py but it doesn't work fine.
    Thanks.

  • ImportError: No module named rhpl.translate

    Hi,
    I am trying to setup RPM repository. The job seems to have failed at the last step.
    Step: DownloadAdvisories (Failed)
              Traceback (most recent call last):
    File "/<path>/emagent/gcagent/em_staging/dwldAdvisories.py", line 4, in <module>
    from up2date_client import rpcServer
    File "/usr/share/rhn/up2date_client/rpcServer.py", line 7, in <module>
    import config
    File "/usr/share/rhn/up2date_client/config.py", line 20, in <module>
    from rhpl.translate import _, N_
    ImportError: No module named rhpl.translate
    any idea, what could be the reason ?
    My OS is Linux 2.6.18-308.4.1.0.1.el5xen
    thanks
    Edited by: 826209 on Feb 13, 2013 2:32 PM

    Install rhpl package. 'yum install rhpl'

Maybe you are looking for

  • Service Entry

    Hi All I have the following situation. I have 1 service entry number for the following 2 services to be performed. Service Number 1000000188  Value 800 000.00 GR 5000000464 Value 200 000.00  Service industrial aircon GR 5000000464 Value 600 000.00 Se

  • How do i apply a modified selection?

    hi i have an already existing selection. i would like to add to it. once i have drawn the new additional selection and selected the ADD TO SELECTION command how do i apply it? angus

  • Add speed on a mac book pro 10.6.8

    add more speed to a mac book pro version 10.6.8

  • OS X Server 10.9.x Client will not bind to LDAP/OD Server 10.9.x

    I've done multiple server updates, installs etc. with no luck. I cannot get OS X Maverick 10.9.x clients to bind to a OS X Server Maverick 10.9.x Open Directory LDAP. I've tried clients & server installs of 10.9.1 , .2, & .3 with no luck. When I go t

  • Get Time From Server

    Please tell me that how can I get system date & time from network system whose host=135.147.150.9 and port=3128 {It's an address of proxy server). It's urgent; I am very puzzled about it. When I run Calendar.getInstance().getTime() then it returns in