0 Replies Latest reply on Aug 23, 2018 1:53 PM by 97a43604-4bd1-4fd0-ad5f-24534f77ba1a

    Domain creation - Cannot create FileStore or JDBCSystemResource

    97a43604-4bd1-4fd0-ad5f-24534f77ba1a

      Hi,

       

      Im' reaching a very strange error on

      com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: No FileStore object with name LogVwFS

       

       

      I've donwloaded Oracle WebLogic Server 12.1.3 Installers with Oracle WebLogic Server and Oracle Coherence: DownloadGeneric (881 MB)  from WebLogic Server 12c (12.2.1), WebLogic Server 11g (10.3.6) and Previous Releases and did a standard installation using

       

      RUN $JAVA_HOME/bin/java -jar /u01/fmw_12.1.3.0.0_wls.jar -ignoreSysPrereqs -novalidation -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME ORACLE_HOME=$ORACLE_HOME INSTALL_TYPE="WebLogic Server"

       

      After success installation I'm creating a domain using wlst template:

       

      ...

      # Open default domain template

      # ======================

      readTemplate("/u01/oracle/wlserver/common/templates/wls/wls.jar")

       

      set('Name', domain_name)

      setOption('DomainName', domain_name)

       

      # Configure the Administration Server and SSL port.

      # =========================================================

      cd('/Servers/AdminServer')

      set('ListenAddress', '')

      set('ListenPort', admin_port)

       

      # Define the user password for weblogic

      # =====================================

      cd('/Security/%s/User/weblogic' % domain_name)

      cmo.setPassword(admin_pass)

       

      # Write the domain and close the domain template

      # ==============================================

      setOption('OverwriteDomain', 'true')

      setOption('ServerStartMode', production_mode)

       

      cd('/NMProperties')

      set('ListenAddress','')

      set('ListenPort',5556)

      set('CrashRecoveryEnabled', 'true')

      set('NativeVersionEnabled', 'true')

      set('StartScriptEnabled', 'false')

      set('SecureListener', 'false')

      set('LogLevel', 'FINEST')

       

      # Set the Node Manager user name and password (domain name will change after writeDomain)

      cd('/SecurityConfiguration/base_domain')

      set('NodeManagerUsername', 'weblogic')

      set('NodeManagerPasswordEncrypted', admin_pass)

       

       

      #=======================================================================================

      # Define a WebLogic Cluster

      #=======================================================================================

      cd('/')

      create(cluster_name, 'Cluster')

      cd('/Clusters/%s' % cluster_name)

      cmo.setClusterMessagingMode('unicast')

       

      cd('/')

      cmo.createFileStore('LogVwFS')

      cd('/FileStores/LogVwFS')

      ...

       

      The script breaks at this last line, cd('/FileStores/LogVwFS'), which I cannot explain since the FileStore instruction doesn't return any error.

      The same applies if instead of creating a FileStore I try to create a JDBCSystemResource, for instance:

       

          cd('/')

          cmo.createJDBCSystemResource(datasource_name)

          cd('/JDBCSystemResources/'+datasource_name+'/JDBCResource/'+datasource_name)

       

      Gives a similar error on CD to datasource JDBCResource.

       

      If I do a ls(+/') after cmo.createFileStore() I've obtain the following output:

      drw-   Cluster

      drw-   Credential

      drw-   Keystore

      drw-   NMProperties

      drw-   Security

      drw-   SecurityConfiguration

      drw-   Server

      drw-   StartupGroupConfig

       

       

      -rw-   Active                                        false

      -rw-   AdminServerName                               AdminServer

      -rw-   AdministrationMBeanAuditingEnabled            false

      -rw-   AdministrationPort                            9002

      -rw-   AdministrationPortEnabled                     false

      -rw-   AdministrationProtocol                        t3s

      -rw-   AutoDeployForSubmodulesEnabled                true

      -rw-   ClusterConstraintsEnabled                     false

      -rw-   ConfigBackupEnabled                           false

      -rw-   ConfigurationAuditType                        null

      -rw-   ConfigurationVersion                          12.1.3.0.0

      -rw-   ConsoleContextPath                            console

      -rw-   ConsoleEnabled                                true

      -rw-   ConsoleExtensionDirectory                     console-ext

      -rw-   DomainVersion                                 12.1.3.0.0

      -rw-   ExalogicOptimizationsEnabled                  false

      -rw-   GuardianEnabled                               false

      -rw-   Id                                            0

      -rw-   InternalAppsDeployOnDemandEnabled             true

      -rw-   JavaServiceConsoleEnabled                     false

      -rw-   JavaServiceEnabled                            false

      -rw-   LastModificationTime                          0

      -rw-   MsgIdPrefixCompatibilityEnabled               true

      -rw-   Name                                          gowing

      -rw-   Notes                                         null

      -rw-   OCMEnabled                                    true

      -rw-   ProductionModeEnabled                         false

      -rw-   RootDirectory                                 null

      -rw-   ServerMigrationHistorySize                    -1

      -rw-   ServiceMigrationHistorySize                   -1

       

      Can you please help on my missing step?