lunes, 16 de noviembre de 2020

Certification guide questions and answers exam. OMS installations steps

 http://magento777.coolpage.biz/ebooks/java.html



Hello, I'm planning to create a certification guide of OCP 11 1 and 2 online, to practice my skills, you are invited also,




 

weblogic installation 


Microsoft Windows [Version 10.0.17763.1577]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd C:\WebLogic12c\oracle_common\common\bin

C:\WebLogic12c\oracle_common\common\bin>set JAVA_HOME="C:\Java\jdk1.7.0_131"

C:\WebLogic12c\oracle_common\common\bin>set path=%JAVA_HOME%\bin;%path%

C:\WebLogic12c\oracle_common\common\bin>.\config.cmd
\Java\jdk1.7.0_131 was unexpected at this time.
C:\WebLogic12c\oracle_common\common\bin>java -version
java version "1.7.0_131"
Java(TM) SE Runtime Environment (build 1.7.0_131-b31)
Java HotSpot(TM) Client VM (build 24.131-b31, mixed mode, sharing)

C:\WebLogic12c\oracle_common\common\bin>.\config.cmd
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/oracle/cie/wizard/domain/WLSWizardConfiguration : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:278)
        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:363)
        at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
        at com.oracle.cie.wizard.WizardController.createWizardConfiguration(WizardController.java:100)
        at com.oracle.cie.wizard.WizardController.main(WizardController.java:67)

C:\WebLogic12c\oracle_common\common\bin>java -version
java version "1.7.0_131"
Java(TM) SE Runtime Environment (build 1.7.0_131-b31)
Java HotSpot(TM) Client VM (build 24.131-b31, mixed mode, sharing)

C:\WebLogic12c\oracle_common\common\bin>cd /

C:\>cd weblogic

C:\weblogic>java -jar fmw_12.1.3.0.0_wls.jar
Launcher log file is C:\Users\roberto.martinez\AppData\Local\Temp\OraInstall2020-11-19_11-19-21PM\launcher2020-11-19_11-19-21PM.log.
Extracting files...............
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2304    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 4294967296    Passed
Checking swap space: must be greater than 512 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 32    Passed (64-bit not required)


Preparing to launch the Oracle Universal Installer from C:\Users\roberto.martinez\AppData\Local\Temp\OraInstall2020-11-19_11-19-21PM
Log: C:\Users\roberto.martinez\AppData\Local\Temp\OraInstall2020-11-19_11-19-21PM\install2020-11-19_11-19-21PM.log
You can find the log of this install session at:
 C:\Users\roberto.martinez\AppData\Local\Temp\OraInstall2020-11-19_11-19-21PM\install2020-11-19_11-19-21PM.log
Logs successfully copied to C:\Program Files\Oracle\Inventory\logs.

C:\weblogic>java -version
java version "1.7.0_131"
Java(TM) SE Runtime Environment (build 1.7.0_131-b31)
Java HotSpot(TM) Client VM (build 24.131-b31, mixed mode, sharing)

C:\weblogic>



++++++++++++++++++

errore
Microsoft Windows [Version 10.0.17763.1577]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\roberto.martinez>cd C:\java\jdk1.7.0_131

C:\java\jdk1.7.0_131>cd ..

C:\java>cd ..

C:\>cd WebLogic12c

C:\WebLogic12c>C:\WebLogic12c\oracle_common\common\bin>
The syntax of the command is incorrect.

C:\WebLogic12c>cd
C:\WebLogic12c

C:\WebLogic12c>cd C:\WebLogic12c\oracle_common\common\bin>
The syntax of the command is incorrect.

C:\WebLogic12c>cd C:\WebLogic12c\oracle_common\common\bin

C:\WebLogic12c\oracle_common\common\bin>set JAVA_HOME="Java\jdk1.7.0_131"

C:\WebLogic12c\oracle_common\common\bin>set path=%JAVA_HOME%\bin;%path%

C:\WebLogic12c\oracle_common\common\bin>java -version
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

C:\WebLogic12c\oracle_common\common\bin>
C:\WebLogic12c\oracle_common\common\bin>.\config.cmd
\Java\jdk1.7.0_131 was unexpected at this time.
C:\WebLogic12c\oracle_common\common\bin>

+++++++++++++++

database installation script

create user sterling94 identified by sterling94; --grant privileges: grant create session, alter session, create any sequence, alter any sequence, create procedure, create synonym to sterling94; grant create table, create trigger, create type, create view, delete any table, execute any procedure, execute any type to sterling94; grant connect, insert any table, select any dictionary, select any sequence, update any table to sterling94; grant select_catalog_role to sterling94; create bigfile tablespace sterts_01 datafile 'sterts_f1.dat' size 100M autoextend on; alter user sterling94 default tablespace sterts_01 quota unlimited on sterts_01;

User STERLING94 created. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. Tablespace STERTS_01 created. User STERLING94 altered.



Add a check when the button is clicked to see if there is any text. If there isn't, pop up an alert box (or some other form of feedback) to tell the user to enter data, and don't do the button functionality.

Example:

<input id="myText" type="text" onkeyup="stoppedTyping()">
<input type="button" value="Click to begin!" id="start_button" onclick="verify()" disabled/> 

<script type="text/javascript">
    function stoppedTyping(){
        if(this.value.length > 0) { 
            document.getElementById('start_button').disabled = false; 
        } else { 
            document.getElementById('start_button').disabled = true;
        }
    }
    function verify(){
        if myText is empty{
            alert "Put some text in there!"
            return
        }
        else{
            do button functionality
        }
    }
</script>
  improve this answer   
12

Easiest way to do it :-

Simple Html and JavaScript : Run the snippet (Just 7 lines)

function success() {
	 if(document.getElementById("textsend").value==="") { 
            document.getElementById('button').disabled = true; 
        } else { 
            document.getElementById('button').disabled = false;
        }
    }
<textarea class="input" id="textsend" onkeyup="success()" name="demo" placeholder="Enter your Message..."></textarea>
<button type="submit" id="button" disabled>Send</button>




viernes, 6 de noviembre de 2020

Completed remote build for OMS3 version number 1.5.35

 https://articulo.mercadolibre.com.mx/MLM-836547402-tierra-sin-tiempo-peter-kolosimo-_JM


Sleep, eat, code, repeat

If(sleep ==0) then
Goto.sleep.

INSTALL_DIR=C:\opt
PROP_DIR=C:\opt\properties
JAVA_HOME=C:\opt\jdk
JNI_DIR=C:\opt\lib\jni\windows
PATH=C:/Users/anonymo314/Documents/STER_ORDER_MANAGEMENT_9.4_EEI_MP/InstallerImage_Windows_x86_64//jre_6.0.0.sr9_20110208_03/jre/bin/j9vm;C:/Users/anonymo314/Documents/STER_ORDER_MANAGEMENT_9.4_EEI_MP/InstallerImage_Windows_x86_64//jre_6.0.0.sr9_20110208_03/jre/bin;C:/Users/anonymo314/Documents/STER_ORDER_MANAGEMENT_9.4_EEI_MP/InstallerImage_Windows_x86_64//jre_6.0.0.sr9_20110208_03/jre/lib/amd64;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32\windowspowershell\v1.0\;c:\program files\ibm\gsk8\lib64;C:\IBM\SQLLIB\BIN;C:\IBM\SQLLIB\FUNCTION;C:\IBM\SQLLIB\SAMPLES\REPL;C:\Users\anonymo314\Documents\STER_ORDER_MANAGEMENT_9.4_EEI_MP\InstallerImage_Windows_x86_64;;C:\opt\lib\jni\windows
JAVA=C:\opt\jdk\bin\java
JAR=C:\opt\jdk\bin\jar
JDK_VERSION: 1.7.0_79
JDK_VENDOR: Oracle Corporation
JDK_VM_NAME: Java HotSpot(TM) 64-Bit Server VM
JVM_FLAGS= -Xss1024k -Xms64m -Xmx1024m -XX:MaxPermSize=512m
INSTALL_DIR=C:\opt
NOSOCKET="-nosocket"
Added C:\opt\jar\install_foundation.jar to the classpath
Added C:\opt\jar\platform_baseutils.jar to the classpath
Added C:\opt\jar\icu4j\53_1\icu4j-53_1.jar to the classpath

the pagesize of the tablespace is too small
you need an 8k ts (and bufferpool and tempspace..)
you can specify in create table ...... in tsname

07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] ******                                                                                      ******
07-Nov-2020 00:24:39     [echo] ******                                                                                      ******
07-Nov-2020 00:24:39     [echo] ******   Completed remote build for OMS3 version number 1.5.35
07-Nov-2020 00:24:39     [echo] ******                                                                                      ******
07-Nov-2020 00:24:39     [echo] ******                                                                                      ******
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39     [echo] **************************************************************************************************
07-Nov-2020 00:24:39
07-Nov-2020 00:24:39BUILD SUCCESSFUL
Blogger Widgets