Issue in packing Weblogic portal domain

Hi Guys,
I am trying to pack my domain from HOST A using command :
pack -managed=true -domain=C:\Oracle\Middleware\user_projects\domains\Edlink -template=C:\Oracle\edlink.jar -log=c:\oracle\edlink.log -template_name="template_name"
and wants to unpack it on HOST B
But I am able to see below errors in my pack log file:
2014-09-04 05:08:46,067 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - read domain from "C:\Oracle\Middleware\user_projects\domains\EDLINK"
2014-09-04 05:08:48,739 ERROR [runScript] com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper - FATAL ERROR: database.xml validation error!
2014-09-04 05:08:48,739 ERROR [runScript] com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper - database XML parsing failed: error: cvc-complex-type.2.4a: Expected element 'sql-statement@http://xmlns.oracle.com/weblogic/template-database' instead of 'datasource-mapping@http://xmlns.oracle.com/weblogic/template-database' here in element test@http://xmlns.oracle.com/weblogic/template-database
2014-09-04 05:08:48,739 ERROR [runScript] com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper - fail to parse database.xml
java.lang.Exception: Database.xml validation failed.
  at com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper.parseTemplateDatabaseInfo(TemplateDatabaseInfoHelper.java:582)
  at com.bea.plateng.domain.TemplateBuilder.parseDomainDirectory(TemplateBuilder.java:835)
  at com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.java:1342)
  at com.bea.plateng.domain.TemplateBuilder.buildNewDomainTemplate(TemplateBuilder.java:1287)
  at com.bea.plateng.domain.TemplateBuilder.buildNewDomainTemplate(TemplateBuilder.java:1279)
  at com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:416)
  at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.processRead(ScriptParserClassic.java:522)
  at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:428)
  at com.bea.plateng.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:150)
  at com.bea.plateng.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:112)
  at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:73)
  at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:36)
  at com.bea.plateng.wizard.domain.helpers.Executor.runSilentScript(Executor.java:65)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:552)
  at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:336)
  at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
  at java.lang.Thread.run(Thread.java:619)
2014-09-04 05:08:50,129 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.MachineTypeImpl
2014-09-04 05:08:50,145 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.ClusterTypeImpl
2014-09-04 05:08:50,145 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.ServerTypeImpl
2014-09-04 05:08:50,145 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.ServerTypeImpl
2014-09-04 05:08:50,223 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: read domain from "C:\Oracle\Middleware\user_projects\domains\EDLINK"
2014-09-04 05:08:50,223 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - set config option Managed to "true"
2014-09-04 05:08:50,285 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: set config option Managed to "true"
2014-09-04 05:08:50,285 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - write template to "C:\Oracle\EDLINK.jar"
2014-09-04 05:08:54,145 INFO  [Thread-1] com.bea.plateng.domain.TemplateGenerator - Template Generation Successfull!
2014-09-04 05:08:54,176 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: write template to "C:\Oracle\EDLINK.jar"
2014-09-04 05:08:54,176 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - close template
2014-09-04 05:08:54,192 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: close template
FYI: I am using webLogic Portal 10.3.2 generic
              with     MS SQL Server 2008 R2 64-bit
                on      MS windows 2008 R2 server         
solution to this post would be really appreciable.
Thanks
Punit

Are you trying to upgrade your portal domain from 10.3.2 to 10.3.6 ?
If yes then you need to use the Weblogic upgrade wizard.
Perform the following steps to upgrade your portal domain:
Verify that the WebLogic domain is not running.
Upgrade the portal domain using the WebLogic Upgrade Wizard before you upgrade your portal application. To start the WebLogic Upgrade Wizard in graphical mode and upgrade a WebLogic domain on a Windows platform, run upgrade.cmd from the<WLPORTAL_HOME>\common\bin directory
Note:Do not use the menu option Start > All Programs > Oracle Products > WebLogic Server 10.x > Tools > Domain Upgrade Wizard. This launches the WebLogic Server domain upgrade wizard.

Similar Messages

  • Error in Starting weblogic Portal Domain

    I have created weblogic portal domain using configuration wizard in Weblogic portal 9 and in weblogic portal 10.
    Weblogic portal 9 it is started fine and when started in weblogic portal 10 it throwed following exception.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
         at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Can some one help me in this exception
    Thank You

    I am not sure how you got into this state, but to clear it up you can edit the boot.properties file to enter (clear text) the username and password for the server (entered when running the Configuration Wizard).
    The boot.properties file is located in your domain at:
    <domain root>/servers/AdminServer/security
    Just enter the username and password in the file:
    username=myUserName
    password=myPassword
    WebLogic Server will boot up using these values and immediately encrypt the username and password in the file.
    An alternate approach would be to delete boot.properties in which case WLS will prompt you for the id/pw each time it is started/stopped.
    Brad

  • Need WLST for Weblogic portal domain 9.2.2.

    Hi,
    I am very much in-need of it. Can you please provide me the Need WLST for Weblogic portal domain 9.2.2.
    Actually, we are using weblogic 9.2.2 version.
    Actually, I created a portal domain configiuration using configuration wizard and the same I documented with screen shots.
    Now I need the wlst for the same configuration which i created the doc for.
    Please can you help me out doing this.
    If you are ok, then I will share you my doc, so that you can help me out easily.
    Please please please................
    Thanks in Advance..

    You have a few options to build a WLST script from the admin/config operations that you have performed in your development environment using console.
    OPTION 1: (WLST Recording)
    Check the below video. (The only drawback is that this video talks about the WLST recording feature which is available only on WLS10.0. Ofcourse, if you have a 10.0 installation you can still use this feature and then make some small modifications to the generated script to make it suitable for 9.2)
    http://www.youtube.com/watch?v=luhBaviP2uM
    OPTION 2: (Converting the configuration to a script)
    After you have configured your entire domain using the console, you run the configToScript command as per the below documentation (To run this you need to invoke WLST and then run the command with appropriate arguments such as path to the config.xml file etc)
    http://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/reference.html#wp1154848
    Then you can use the generated script to create similar domains in your Test AND Production environments.
    Arun

  • Silent Script to create Basic Weblogic Portal Domain

    Has any one made a Basic Weblogic Portal Domain??
    I am trying to use the template wlp.jar but i get an error
    when i am writing the domain.
    << write Domain to "U:\test\weblogic\wlpDomain"
    fail: write Domain to "U:\test\weblogic\wlpDomain"If i use the wls.jar to create a Basic Weblogic Server Domain
    it works fine.
    Does any one have a sample that works which i can use??
    Many Thanks
    Murat

    Has any one made a Basic Weblogic Portal Domain??
    I am trying to use the template wlp.jar but i get an error
    when i am writing the domain.
    << write Domain to "U:\test\weblogic\wlpDomain"
    fail: write Domain to "U:\test\weblogic\wlpDomain"If i use the wls.jar to create a Basic Weblogic Server Domain
    it works fine.
    Does any one have a sample that works which i can use??
    Many Thanks
    Murat

  • Issue while upgrading weblogic portal 8.1 to 9.2

    Hi All,
    I am upgrading my weblogic portal 8.1 application to 9.2. While following the process give at following link.
    http://download.oracle.com/docs/cd/E13214_01/wli/docs92/upgradetutorial/chap2.html
    I am getting following error in the update tab. Any suggestion would be greatful.
    weblogic.DDConverter failed to convert the EAR, weblogic-application.xml will not be
    upgraded :
    [DDConverter] START Converting EAR BEA[DDConverter] START Converting EJB-JAR
    .workshop/<App_name>/EJB/GenericStateless[DDConverter] END Converting EJB-JAR
    .workshop/<App_name>/EJB/GenericStateless[DDConverter] START Converting EJB-JAR
    content.jar[DDConverter] END Converting EJB-JAR content.jar[DDConverter] START Converting
    EJB-JAR content_repo.jar[DDConverter] END Converting EJB-JAR content_repo.jar[DDConverter]
    START Converting EJB-JAR netuix.jar[DDConverter] END Converting EJB-JAR
    netuix.jar[DDConverter] START Converting EJB-JAR p13n_ejb.jar[DDConverter] END Converting
    EJB-JAR p13n_ejb.jar[DDConverter] START Converting EJB-JAR prefs.jar[DDConverter] END
    Converting EJB-JAR prefs.jar[DDConverter] START Converting EJB-JAR wps.jar[DDConverter] END
    Converting EJB-JAR wps.jar[DDConverter] START Converting EJB-JAR
    .workshop/<App_name>/EJB/ProjectBeans[DDConverter] END Converting EJB-JAR
    .workshop/<App_name>/EJB/ProjectBeans[DDConverter] START Converting WAR
    adminPortal.war[DDConverter] END Converting WAR adminPortal.war[DDConverter] START
    Converting WAR datasync.war<May 4, 2010 5:16:20 PM PDT> <Info> <J2EE> <BEA-160192> <While
    upgrading weblogic.xml, encountered "debug" param "jsp-param". This param is unknown and
    will be removed> [DDConverter] END Converting WAR datasync.war[DDConverter] START Converting
    WAR wps-toolSupport.war[DDConverter] END Converting WAR wps-toolSupport.war[DDConverter]
    START Converting WAR <App_name><May 4, 2010 5:16:20 PM PDT> <Error> <J2EE> <BEA-160197>
    <Unable to load descriptor
    weblogic.application.ddconvert.ConvertCtx$VJarResourceLoader@b16f5f finder:
    weblogic.utils.classloaders.CodeGenClassFinder@106def2 annotation: /WEB-INF/web.xml of
    module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147
    )     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(Abstra
    ctDescriptorLoader2.java:749)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescr
    iptorLoader2.java:376)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(Abst
    ractDescriptorLoader2.java:720)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescrip
    torLoader2.java:729)     at
    weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)     at
    weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.java:60)     at
    weblogic.application.ddconvert.EarConverter.convertModules(EarConverter.java:125)     at
    weblogic.application.ddconvert.EarConverter.convertDDs(EarConverter.java:84)     at
    weblogic.application.ddconvert.DDConverter.runBody(DDConverter.java:157)     at
    weblogic.utils.compiler.Tool.run(Tool.java:158)     at
    weblogic.utils.compiler.Tool.run(Tool.java:115)     at
    weblogic.application.ddconvert.DDConverter.main(DDConverter.java:177)     at
    weblogic.DDConverter.main(DDConverter.java:10)Caused by: com.bea.xml.XmlException:
    weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)     
    at
    com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindin
    gType.java:483)     at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollecti
    on(AttributeRuntimeBindingType.java:385)     at
    com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)     
    at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(At
    tributeRuntimeBindingType.java:145)     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185
    )     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)     
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136
    )     ... 15 moreCaused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already
    exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)     at
    weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:965)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:585)     at
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)     
    ... 23 more.> weblogic.application.ddconvert.DDConvertException:
    weblogic.descriptor.DescriptorException: Unmarshaller failed     at
    weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.java:79)     at
    weblogic.application.ddconvert.EarConverter.convertModules(EarConverter.java:125)     at
    weblogic.application.ddconvert.EarConverter.convertDDs(EarConverter.java:84)     at
    weblogic.application.ddconvert.DDConverter.runBody(DDConverter.java:157)     at
    weblogic.utils.compiler.Tool.run(Tool.java:158)     at
    weblogic.utils.compiler.Tool.run(Tool.java:115)     at
    weblogic.application.ddconvert.DDConverter.main(DDConverter.java:177)     at
    weblogic.DDConverter.main(DDConverter.java:10)Caused by:
    weblogic.descriptor.DescriptorException: Unmarshaller failed     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147
    )     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(Abstra
    ctDescriptorLoader2.java:749)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescr
    iptorLoader2.java:376)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(Abst
    ractDescriptorLoader2.java:720)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescrip
    torLoader2.java:729)     at
    weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)     at
    weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.java:60)     ... 7
    moreCaused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException:
    Bean already exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)     
    at
    com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindin
    gType.java:483)     at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollecti
    on(AttributeRuntimeBindingType.java:385)     at
    com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)     
    at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(At
    tributeRuntimeBindingType.java:145)     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185
    )     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)     
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136
    )     ... 15 moreCaused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already
    exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)     at
    weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:965)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:585)     at
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)     
    ... 23 moreweblogic.descriptor.DescriptorException: Unmarshaller failed
    Thanks in advance.
    Regards,
    Sandeep K

    Hi,
    Upgrade report is giving me following warning. Is my above problem is due to this warning?
    The project <Application Name> references netui-pageflow.jar, which contains an 8.1 WLS XMLBean, com.bea.wlw.netui.pageflow.schema.webapp23.EjbLinkDocument. Regenerate the JAR to use Apache XMLBeans.
    If yes then how to resolve this issue. Any suggestion guys.
    Thanks in advance.
    Regards,
    SandeepK

  • Backup of weblogic portal domain

    Hi,
    I want to know the procedure of backing up the portal domain.I have tried taking the entire domain directory and archiving it,but this didn't work.
    I observed that there are datasources storing the portal config data.Even at the time of archiving the domain directory, taken a dump of the database and but still it is not working.
    Please let me know the standard procedure for backing up the portal domain.
    Thanks in advance.

    Hi,
    You may try 'Creating Templates By Using the Domain Template Builder'.
    http://download.oracle.com/docs/cd/E12840_01/common/docs103/tempbuild/index.html
    Regards,
    Arun

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

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

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

  • Differece Between Weblogic Portal domian and Weblogic App Domain

    Hi
    Is there any difference between the Weblogic Portal domain and WebLogic App Domain
    How to create an Weblogic Portal domain and configure oracle database with tht
    Thanks

    whats a weblogic App domain? do you mean a workshop or server domain?
    Yes theres a difference, these domains wont have Portal needed resources configured
    Use the domain configuration wizard and you can create a new Portal domain or extend an existing one to add all the portal features.. look at edocs.bea.com for more info

  • Setting up the Weblogic portal with Oracle Database

    I am creating weblogic portal domain using oracle database
    a) At the “configure JDBC Data Source “ I have changed all database sources to oracle and before this I have created the weblogic/weblogic user id and required tables spaces also
    1) cgDataSource
    2) cgDataSouce –nonXA
    3) p13nDataSource
    4) portalDatasource
    5) portalDataSourceAlwaysXa
    6) portalDataSourceNeverXa
    b) Test JDBC Data Source
    for all the data sources test has passwd
    c) Run the database scripts run and created the objects
    and when I try to start startWebLogic.sh from portal domain
    I got the below errors looking for <Test "SELECT COUNT(*) FROM SYSTABLES"
    Best Regards
    RAJ
    <Nov 24, 2010 3:58:17 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceAlwaysXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceNeverXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:20 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceNeverXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:21 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceNeverXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <LoggingService> <BEA-320400> <The log file /home/orawlp/Oracle/Middleware/user_projects/domains/portal01/servers/AdminServer/logs/portal01.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/orawlp/Oracle/Middleware/user_projects/domains/portal01/servers/AdminServer/logs/portal01.log00002. Log messages will continue to be logged in /home/orawlp/Oracle/Middleware/user_projects/domains/portal01/servers/AdminServer/logs/portal01.log.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:216:3eff:fe4e:9ac9:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.8.8.116:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "portal01" running in Development Mode>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

    Hi,
    When i try to bring up the portal doman i am getting this errors :
    ================
    <Dec 3, 2010 7:23:29 PM SGT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'cgDataSource-nonXA' due t
    blogic.application.ModuleException: .
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: DataSource 'cgDataSource-nonXA' can not be c
    is non-transactional and so can not use XA-aware pool 'cgDataSource-nonXA'
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:236)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:204)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:278)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: DataSource 'cgDataSource-nonXA' can not be created. It is non-transactional and
    t use XA-aware pool 'cgDataSource-nonXA'
    at weblogic.jdbc.common.internal.DataSourceManager.checkPoolConfig(DataSourceManager.java:434)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDSConfig(DataSourceManager.java:389)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:233)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:204)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:278)
    Truncated. see log file for complete stacktrace
    >
    ==================================
    Can I ignor this error or i have to fix ????
    Best Regards
    Raj

  • WebLogic Portal and Workshop 9.2 Beta now available!

    Hello All -
    We're excited to announce the public availability of the WebLogic Workshop and WebLogic Portal 9.2 open Beta release on bea.com.
    A beta version of the electronic documentation has also been posted to e-docs.
    Portal 9.2 adds significant new capabilities which are part of the beta to target our core market and expand in new directions by providing:
    * A WorkShop development environment based on Eclipse
    * Content Management enhancements including a WYSIWYG editor
    * Improved Federation and Production Ops capabilities
    * The GroupSpace collaborative application and framework
    Following are the links and information to get you started with Beta 9.2:
    * Download: http://commerce.bea.com/showproduct.jsp?family=WLPORTAL&major=9.2&minor=-1
    * Beta Home page: http://wlp.bea.com/wlw_wlp_beta92
    * Documentation:
    - WebLogic Portal: http://edocs.bea.com/wlp/docs92
    - WebLogic Workshop: http://edocs.bea.com/workshop/docs92
    - WebLogic Platform: http://edocs.bea.com/common/docs92
    * Newsgroups: As a public beta, BEA will not offer support through the BEA Support group. Please use the following newsgroups to log and discuss issues:
    - WebLogic Workshop newsgroup: http://forums.bea.com/bea/forum.jspa?forumID=600000011
    - WebLogic Portal newsgroup: http://forums.bea.com/bea/forum.jspa?forumID=600000012
    - WebLogic Platform newsgroup (if you are unsure whether the issue belongs to WebLogic Portal or WebLogic Workshop): http://forums.bea.com/bea/forum.jspa?forumID=600000013
    Best regards,
    The Beta 9.2 Team

    The Beta 9.2 Team,
    9.2 features sounds good and interesting. We are using BEA's Content management system(8.1) extensively.
    Our requirement is to create a portlet for Content Owner/Users to create HTML documents with images and upload it into BEA Repository. Upon uploading, Content Admin needs to be notified through email and they will either approve or reject the document. The content status again needs to be notified to the content owner/user via email.
    1. As known to everyone 8.1 doesn't have WYSIWYG editor and is included in 9.2. Can i reuse the 9.2 WYSIWYG functionality into 8.1 as a portlet??
    2. The following thread(http://forums.bea.com/bea/message.jspa?messageID=400001479&tstart=0) says
    - workflow ==> We have limited workflow support. We plan to enhance this in our next major release.
    Does this limited workflow support include email notification?
    Any inputs would be greatly appreciated!!
    Thanks,
    -Nach.

  • WebLogic Portal and Workshop 9.2 Beta is Live!

    Hello All -
    We're excited to announce the public availability of the WebLogic Workshop and WebLogic Portal 9.2 open Beta release on bea.com.
    A beta version of the electronic documentation has also been posted to e-docs.
    Portal 9.2 adds significant new capabilities which are part of the beta to target our core market and expand in new directions by providing:
    * A WorkShop development environment based on Eclipse
    * Content Management enhancements including a WYSIWYG editor
    * Improved Federation and Production Ops capabilities
    * The GroupSpace collaborative application and framework
    Following are the links and information to get you started with Beta 9.2:
    * Download: http://commerce.bea.com/showproduct.jsp?family=WLPORTAL&major=9.2&minor=-1
    * Beta Home page: http://wlp.bea.com/wlw_wlp_beta92
    * Documentation:
    - WebLogic Portal: http://edocs.bea.com/wlp/docs92
    - WebLogic Workshop: http://edocs.bea.com/workshop/docs92
    - WebLogic Platform: http://edocs.bea.com/common/docs92
    * Newsgroups: As a public beta, BEA will not offer support through the BEA Support group. Please use the following newsgroups to log and discuss issues:
    - WebLogic Workshop newsgroup: http://forums.bea.com/bea/forum.jspa?forumID=600000011
    - WebLogic Portal newsgroup: http://forums.bea.com/bea/forum.jspa?forumID=600000012
    - WebLogic Platform newsgroup (if you are unsure whether the issue belongs to WebLogic Portal or WebLogic Workshop): http://forums.bea.com/bea/forum.jspa?forumID=600000013
    Best regards,
    The Beta 9.2 Team

    The Beta 9.2 Team,
    9.2 features sounds good and interesting. We are using BEA's Content management system(8.1) extensively.
    Our requirement is to create a portlet for Content Owner/Users to create HTML documents with images and upload it into BEA Repository. Upon uploading, Content Admin needs to be notified through email and they will either approve or reject the document. The content status again needs to be notified to the content owner/user via email.
    1. As known to everyone 8.1 doesn't have WYSIWYG editor and is included in 9.2. Can i reuse the 9.2 WYSIWYG functionality into 8.1 as a portlet??
    2. The following thread(http://forums.bea.com/bea/message.jspa?messageID=400001479&tstart=0) says
    - workflow ==> We have limited workflow support. We plan to enhance this in our next major release.
    Does this limited workflow support include email notification?
    Any inputs would be greatly appreciated!!
    Thanks,
    -Nach.

  • WebLogic Portal and Workshop 9.2 Beta is now available!

    Hello All -
    We're excited to announce the public availability of the WebLogic Workshop and WebLogic Portal 9.2 open Beta release on bea.com.
    A beta version of the electronic documentation has also been posted to e-docs.
    Portal 9.2 adds significant new capabilities which are part of the beta to target our core market and expand in new directions by providing:
    * A WorkShop development environment based on Eclipse
    * Content Management enhancements including a WYSIWYG editor
    * Improved Federation and Production Ops capabilities
    * The GroupSpace collaborative application and framework
    Following are the links and information to get you started with Beta 9.2:
    * Download: http://commerce.bea.com/showproduct.jsp?family=WLPORTAL&major=9.2&minor=-1
    * Beta Home page: http://wlp.bea.com/wlw_wlp_beta92
    * Documentation:
    - WebLogic Portal: http://edocs.bea.com/wlp/docs92
    - WebLogic Workshop: http://edocs.bea.com/workshop/docs92
    - WebLogic Platform: http://edocs.bea.com/common/docs92
    * Newsgroups: As a public beta, BEA will not offer support through the BEA Support group. Please use the following newsgroups to log and discuss issues:
    - WebLogic Workshop newsgroup: http://forums.bea.com/bea/forum.jspa?forumID=600000011
    - WebLogic Portal newsgroup: http://forums.bea.com/bea/forum.jspa?forumID=600000012
    - WebLogic Platform newsgroup (if you are unsure whether the issue belongs to WebLogic Portal or WebLogic Workshop): http://forums.bea.com/bea/forum.jspa?forumID=600000013
    Best regards,
    The Beta 9.2 Team

    The Beta 9.2 Team,
    9.2 features sounds good and interesting. We are using BEA's Content management system(8.1) extensively.
    Our requirement is to create a portlet for Content Owner/Users to create HTML documents with images and upload it into BEA Repository. Upon uploading, Content Admin needs to be notified through email and they will either approve or reject the document. The content status again needs to be notified to the content owner/user via email.
    1. As known to everyone 8.1 doesn't have WYSIWYG editor and is included in 9.2. Can i reuse the 9.2 WYSIWYG functionality into 8.1 as a portlet??
    2. The following thread(http://forums.bea.com/bea/message.jspa?messageID=400001479&tstart=0) says
    - workflow ==> We have limited workflow support. We plan to enhance this in our next major release.
    Does this limited workflow support include email notification?
    Any inputs would be greatly appreciated!!
    Thanks,
    -Nach.

  • Need help in upgrading weblogic portal 8.1.4 to 8.1.6

    Hi,
    I have recently upgraded weblogic portal domain for an application. I have used bsu.sh present at app/wlp814/utils/bsu.
    I have one concern, if i run bsu.sh, its going to just update my weblogic portal 8.1.4 binaries and its not going to do any changes to my weblogic domain right. Because, i recently upgraded my weblogic portal domain from 814 to 816 and want to move it to production.
    Location to binaries: /app/wlp814
    Domain location: /app/user_projects/<domain>
    I have successfully upgraded my staging server, but I want to move it to production, so its just ok to copy the binaries i.e wlp814 (which is upgraded to 8.1.6) from stage to my production server and i don't have to make any changes in production domains right.
    Thanks in advance.

    Can some one help me regarding this............................

  • Error when extending portal domain to be a wsrp producer

    I have created a Weblogic Portal domain, and then created a Portal web application deployed in Weblogic Portal domain.
    Now, I would like to extend the domain to be a WSRP producer in order to consume som portlets in other Portals.
    When I try to extend the domain I get the following error:
    Domain Extension Application Failed!
    Domain Location: <DOMAIN_HOME>\base_domain2
    Reason: null
    Exception:
    Traceback (innermost last):
    File "<iostream>", line 14, in ?
    File "D:\Documents and Settings\E\Local Settings\Temp\WLSTOfflineIni61149.py", line 118, in create
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of PKICredentialMapper with original name "Provider" is invalid. The property value is duplicated.
    Any ideas?
    Thanks in advance!!

    By default, portal domains include support wsrp producer - so there is
    no need to extend the domain.
    Subbu
    Espen Kj?lberg wrote:
    I have created a Weblogic Portal domain, and then created a Portal web application deployed in Weblogic Portal domain.
    Now, I would like to extend the domain to be a WSRP producer in order to consume som portlets in other Portals.
    When I try to extend the domain I get the following error:
    Domain Extension Application Failed!
    Domain Location: <DOMAIN_HOME>\base_domain2
    Reason: null
    Exception:
    Traceback (innermost last):
    File "<iostream>", line 14, in ?
    File "D:\Documents and Settings\E\Local Settings\Temp\WLSTOfflineIni61149.py", line 118, in create
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of PKICredentialMapper with original name "Provider" is invalid. The property value is duplicated.
    Any ideas?
    Thanks in advance!!

  • Weblogic portal 10.3.4 Domain creation issue

    Hi All,
    I have created the weblogic portal 10.3.4 domain with Oracle Data Base for the following connection pools (cgDataSource-jdbc.xml, cgDataSource-nonXA-jdbc.xml, p13nDataSource-jdbc.xml, p13nProfileDataSource-jdbc.xml, portalDataSourceAlwaysXA-jdbc.xml, portalDataSource-jdbc.xml, portalDataSourceNeverXA-jdbc.xml).
    After creating the domain ran the create_db.cmd in windows, It created a folder weblogic_eval. I have started the service startDerby.cmd.
    When i am trying to start the weblogic server its throwing me below exception.
    FYI My apache Derby DB is running on port 1527
    <Jun 6, 2012 1:39:27 PM PDT> <Error> <Security> <BEA-090870> <The realm "myrealm
    " failed to be loaded: weblogic.security.service.SecurityServiceException: com.b
    ea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266
    :965591 fatal internal error> org.apache.openjpa.util.InternalException: There w
    as an error when invoking the static getInstance method on the named factory cla
    ss "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for detai
    ls..
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.Servic
    eInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal
    error> org.apache.openjpa.util.InternalException: There was an error when invoki
    ng the static getInstance method on the named factory class "kodo.jdbc.kernel.Ko
    doJDBCBrokerFactory". See the nested exception for details.
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(
    CSSWLSDelegateImpl.java:341)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegat
    eImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.In
    itializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
    itializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
    adRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    Truncated. see log file for complete stacktrace
    Caused By: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-
    SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalEx
    ception: There was an error when invoking the static getInstance method on the n
    amed factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exc
    eption for details.
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(S
    erviceEngineImpl.java:365)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(S
    erviceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(Servic
    eEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.j
    ava:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(
    WLSIdentityServiceImpl.java:46)
    Truncated. see log file for complete stacktrace
    Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apac
    he.openjpa.util.InternalException: There was an error when invoking the static g
    etInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFac
    tory". See the nested exception for details.
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:9
    5)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreS
    erivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJD
    O(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>
    (StoreServiceDelegate.java:99)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreS
    erviceImpl.java:76)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: There were errors initializing your confi
    guration: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal store error> org.apache.o
    penjpa.util.StoreException: The connection was refused because the database webl
    ogic_eval was not found.
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(
    DataSourceFactory.java:235)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFacto
    ry(JDBCConfigurationImpl.java:684)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(Configur
    ationImpl.java:288)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJ
    PAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(Abstract
    BrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFa
    ctory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFact
    ory.java:43)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Any help is really appreciated.
    Thanks,
    Ram.

    Are you intending to use Oracle DB or Derby DB? If you intend to use Oracle, then you need to modify the connection information for the RDBMS Security Store. This is another step in the Domain Configuration Wizard, per release note 13371687.
    http://docs.oracle.com/cd/E26806_01/wlp.1034/e14247/relnotes.htm#CJAEGAGD
    If you follow this, you don't need to configure or start Derby DB.
    Brad

Maybe you are looking for