X

Get Started with Oracle WebLogic Server 12c - Using Zip Installer (TOTD #174)



src="//cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/f4a5b21d-66fa-4885-92bf-c4e81c06d916/Image/348bcce0d2916d6838b72b7cbf90aded/weblogic_12c.png">



Oracle WebLogic Server 12c is href="http://blogs.oracle.com/arungupta/entry/oracle_weblogic_server_12c_now">now
available!



After you download the zip installer, here is how you get started on
Mac OSX (the commands are highlighted in bold) ...



mkdir 12cstyle="font-weight: bold;">
cd 12cstyle="font-weight: bold;">
unzip ~/Downloads/wls1211_dev.zip

   creating: modules/

   creating: modules/endorsed/

   creating: modules/features/

  . . .

  inflating: wlserver/server/bin/setWLSEnv.sh 

  inflating: wlserver/server/bin/startNodeManager.sh 

  inflating: wlserver/server/lib/unix/nodemanager.sh

export
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
style="font-weight: bold;">
export USER_MEM_ARGS="-Xmx1024m
-XX:MaxPermSize=256m"


export MW_HOME=`pwd`

./configure.sh

**************************************************

WebLogic Server 12c (12.1.1.0) Zip Configuration



MW_HOME:   /Users/arungup/tools/weblogic/12c

JAVA_HOME:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

**************************************************



Please wait while      771 jars are
unpacked ...

...Unpacking
done                                                                           
0 to go



CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/tools.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic_sp.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic.jar:/Users/arungup/tools/weblogic/12c/modules/features/weblogic.server.modules_12.1.1.0.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/webservices.jar:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/Users/arungup/tools/weblogic/12c/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:



PATH=/Users/arungup/tools/weblogic/12c/wlserver/server/bin:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/jre/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/usr/bin



Your environment has been set.

Configuring WLS...



BUILD SUCCESSFUL

Total time: 0 seconds

.
$MW_HOME/wlserver/server/bin/setWLSEnv.sh


CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/tools.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic_sp.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic.jar:/Users/arungup/tools/weblogic/12c/modules/features/weblogic.server.modules_12.1.1.0.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/webservices.jar:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/Users/arungup/tools/weblogic/12c/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:



PATH=/Users/arungup/tools/weblogic/12c/wlserver/server/bin:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/jre/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/usr/bin



Your environment has been set.

cd ..

mkdir mydomain

cd mydomain

$JAVA_HOME/bin/java $JAVA_OPTIONS
-Xmx1024m -XX:MaxPermSize=256m weblogic.Server


<Dec 9, 2011 3:35:22 PM PST> <Info> <Security>
<BEA-090905> <Disabling CryptoJ JCE Provider self-integrity
check for better startup performance. To enable this check, specify
-Dweblogic.security.allowCryptoJDefaultJCEVerification=true>

<Dec 9, 2011 3:35:22 PM PST> <Info> <Security>
<BEA-090906> <Changing the default Random Number Generator
in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change,
specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>

<Dec 9, 2011 3:35:23 PM PST> <Info>
<WebLogicServer> <BEA-000377> <Starting WebLogic
Server with Java HotSpot(TM) 64-Bit Server VM Version 20.1-b02-383
from Apple Inc..>



/Users/arungup/tools/weblogic/mydomain/config not found



No config.xml was found.

Would you like the server to create a default configuration and
boot? (y/n): y

<Dec 9, 2011 3:35:25 PM PST> <Info> <Management>
<BEA-140013> </Users/arungup/tools/weblogic/mydomain/config
not found>

<Dec 9, 2011 3:35:26 PM PST> <Info> <Security>
<BEA-090065> <Getting boot identity from user.>

Enter username to boot WebLogic server:admin

Enter password to boot WebLogic server: <Enter the password as "admin007" - MUST have minimum of
8 characters and an alphabet and a numeral>


For confirmation, please re-enter password required to boot WebLogic
server:

<Dec 9, 2011 3:35:33 PM PST> <Info> <Management>
<BEA-141254> <Generating new domain directory in
/Users/arungup/tools/weblogic/mydomain.>

<Dec 9, 2011 3:35:40 PM PST> <Info> <Management>
<BEA-141255> <Domain generation completed in 7,234
milliseconds.>

<Dec 9, 2011 3:35:40 PM PST> <Info> <Management>
<BEA-141107> <Version: WebLogic Server 12.1.1.0  Wed
Dec 7 08:40:57 PST 2011 1445491 >

<Dec 9, 2011 3:35:42 PM PST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed
to STARTING.>

<Dec 9, 2011 3:35:42 PM PST> <Info> <WorkManager>
<BEA-002900> <Initializing self-tuning thread pool.>

<Dec 9, 2011 3:35:42 PM PST> <Notice> <Log
Management> <BEA-170019> <The server log file
/Users/arungup/tools/weblogic/mydomain/servers/myserver/logs/myserver.log
is opened. All server side log events will be written to this
file.>

<Dec 9, 2011 3:35:45 PM PST> <Notice> <Security>
<BEA-090082> <Security initializing using security realm
myrealm.>

<Dec 9, 2011 3:35:46 PM PST> <Warning> <Store>
<BEA-280109> <Unable to load the native wlfileio library
for the persistent file store "_WLS_myserver". The store will use
buffered I/O. The store is still operating in a transactionally safe
synchronous mode. See store open log messages for the requested and
final write policies.>

<Dec 9, 2011 3:35:49 PM PST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed
to STANDBY.>

<Dec 9, 2011 3:35:49 PM PST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed
to STARTING.>

<Dec 9, 2011 3:35:50 PM PST> <Notice> <Log
Management> <BEA-170027> <The server has successfully
established a connection with the Domain level Diagnostic
Service.>

<Dec 9, 2011 3:35:50 PM PST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed
to ADMIN.>

<Dec 9, 2011 3:35:51 PM PST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed
to RESUMING.>

<Dec 9, 2011 3:35:51 PM PST> <Error> <Server>
<BEA-002606> <The server is unable to create a server
socket for listening on channel "Default[2]". The address
fe80:0:0:0:2acf:daff:fee4:f11a%0 might be incorrect or another
process is using port 7001: java.net.BindException: Can't assign
requested address>

<Dec 9, 2011 3:35:51 PM PST> <Error> <Server>
<BEA-002606> <The server is unable to create a server
socket for listening on channel "Default[1]". The address
fe80:0:0:0:0:0:0:1%0 might be incorrect or another process is using
port 7001: java.net.BindException: Can't assign requested
address>

<Dec 9, 2011 3:35:51 PM PST> <Notice> <Server>
<BEA-002613> <Channel "Default" is now listening on
192.168.1.13:7001 for protocols iiop, t3, ldap, snmp, http.>

<Dec 9, 2011 3:35:51 PM PST> <Notice> <Server>
<BEA-002613> <Channel "Default[3]" is now listening on
127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>

<Dec 9, 2011 3:35:51 PM PST> <Notice> <Server>
<BEA-002613> <Channel "Default[4]" is now listening on
0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>

<Dec 9, 2011 3:35:51 PM PST> <Notice>
<WebLogicServer> <BEA-000331> <Started the WebLogic
Server Administration Server "myserver" for domain "mydomain"
running in development mode.>

<Dec 9, 2011 3:35:51 PM PST> <Warning> <Server>
<BEA-002611> <The hostname "localhost", maps to multiple IP
addresses: 127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:0:0:0:1%1.>

<Dec 9, 2011 3:35:51 PM PST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed
to RUNNING.>

<Dec 9, 2011 3:35:51 PM PST> <Notice>
<WebLogicServer> <BEA-000360> <The server started in
RUNNING mode.>



And the server is now finally started!



The administration console is accessible at href="http://localhost:7001/console">localhost:7001/console and looks like:



src="//cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/f4a5b21d-66fa-4885-92bf-c4e81c06d916/Image/e7d62e9c505456041108499b0301f6ed/weblogic_12c_admin_console.png">



And logging in with the username "admin" and password "admin007"
shows the following page:



src="//cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/f4a5b21d-66fa-4885-92bf-c4e81c06d916/Image/3b09c9f37792c2039f69a9b8030c9079/weblogic_12c_admin_console_main_page.png">



Are you with me so far ?



Follow the complete series href="http://blogs.oracle.com/arungupta/tags/weblogic">here.


Join the discussion

Comments ( 5 )
  • guest Saturday, December 10, 2011

    I was at least expecting 12c to have a new CSS!


  • Markus Saturday, December 10, 2011

    Hi Arun,

    The admin console is at http://localhost:7001/console/

    Host and port are not enough ;)

    All the best,

    -m


  • guest Saturday, December 10, 2011

    Of course, fixed the typo!


  • Mike Jennings Monday, March 19, 2012

    You could also do: export JAVA_HOME=`/usr/libexec/java_home`

    Great post!


  • henk de boer Saturday, April 28, 2012

    Is all this stuff really necessary for the user to do?

    How come GlassFisg, JBoss AS, TomEE, etc etc don't need installation scripts to be used?

    The workflow there is:

    download & unzip

    point Eclipse WTP runtime to unzip directory

    done

    Will WebLogic ever support such a flow?


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services