LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-03-2014, 02:07 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Running Weblogic Server on CentOS 7.0


I have a script written to install Weblogic server 10.3.6 and it did install the Weblogic on my CentOS 7.0

Code:
<?xml version="1.0" encoding="UTF-8"?>

 <bea-installer>

    <input-fields>

       <data-value name="BEAHOME" value="/home/w1_11/Oracle/Middleware" />

       <data-value name="WLS_INSTALL_DIR" value="/home/w1_11/Oracle/Middleware/wlserver_10.3" />


       <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server" />

       <data-value name="COMPONENT_PATHS" value="WebLogic Server/Administration Console" />

        <data-value name="LOCAL_JVMS" value="/usr/lib/jvm/jre-1.7.0-openjdk" />

       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="false"/>

       <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="no" />
       <data-value name="NODEMGR_PORT" value="5570" />

    </input-fields>

</bea-installer>
Now while I am trying to start the Weblogic service it turns out to throw the error shown below:

Code:
[w1_11@localhost common]$ bin/startManagedWebLogic.sh
bin/startManagedWebLogic.sh: line 33: http://10.94.214.192:7001: No such file or directory
bin/startManagedWebLogic.sh: line 34: 10.94.214.192: command not found
Need to set SERVER_NAME and ADMIN_URL environment variables or specify
them in command line:
Usage: ./startManagedWebLogic.sh [SERVER_NAME] [ADMIN_URL]
for example:
./startManagedWebLogic.sh managedserver1 http://localhost:7001
[w1_11@localhost common]$ bin/startManagedWebLogic.sh  10.94.214.192 http://localhost:7001
bin/startManagedWebLogic.sh: line 33: http://10.94.214.192:7001: No such file or directory
bin/startManagedWebLogic.sh: line 34: 10.94.214.192: command not found
CLASSPATH=/home/w1_11/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/lib/tools.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/w1_11/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/w1_11/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/w1_11/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/w1_11/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar::/jre/lib/rt.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:.

PATH=/home/w1_11/Oracle/Middleware/wlserver_10.3/server/bin:/home/w1_11/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/jre/bin:/bin:/bin:/usr/local/maven/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://<hostname>:<port>/console    *
***************************************************
<Oct 3, 2014 2:59:29 AM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 3, 2014 2:59:29 AM EDT> <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>
<Oct 3, 2014 2:59:30 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 24.65-b04 from Oracle Corporation>
<Oct 3, 2014 2:59:31 AM EDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:w1_11
OpenJDK 64-Bit Server VM warning: You have loaded library /home/w1_11/Oracle/Middleware/wlserver_10.3/server/native/linux/i686/libterminalio.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Enter password to boot WebLogic server:w1_11
<Oct 3, 2014 3:00:02 AM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
<Oct 3, 2014 3:00:02 AM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

weblogic.management.ManagementException: [Management:141247]The configuration directory /home/w1_11/Oracle/Middleware/wlserver_10.3/common/config does not exist and the admin server is not available.
        at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:200)
        at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:115)
        at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
        at weblogic.Server.main(Server.java:71)

>
<Oct 3, 2014 3:00:02 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Oct 3, 2014 3:00:02 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Oct 3, 2014 3:00:02 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
[w1_11@localhost common]$
How to fix this?
 
Old 10-03-2014, 08:42 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,495

Rep: Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981
Quote:
Originally Posted by your_shadow03 View Post
I have a script written to install Weblogic server 10.3.6 and it did install the Weblogic on my CentOS 7.0
Code:
<?xml version="1.0" encoding="UTF-8"?>
 <bea-installer>
    <input-fields>
       <data-value name="BEAHOME" value="/home/w1_11/Oracle/Middleware" />
       <data-value name="WLS_INSTALL_DIR" value="/home/w1_11/Oracle/Middleware/wlserver_10.3" />
       <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server" />
       <data-value name="COMPONENT_PATHS" value="WebLogic Server/Administration Console" />
        <data-value name="LOCAL_JVMS" value="/usr/lib/jvm/jre-1.7.0-openjdk" />
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="false"/>
       <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="no" />
       <data-value name="NODEMGR_PORT" value="5570" />
    </input-fields>
</bea-installer>
This isn't a script, it's a small bit of an XML file.
Quote:
Now while I am trying to start the Weblogic service it turns out to throw the error shown below:
Code:
[w1_11@localhost common]$ bin/startManagedWebLogic.sh
bin/startManagedWebLogic.sh: line 33: http://10.94.214.192:7001: No such file or directory
bin/startManagedWebLogic.sh: line 34: 10.94.214.192: command not found
Need to set SERVER_NAME and ADMIN_URL environment variables or specify
them in command line:
Usage: ./startManagedWebLogic.sh [SERVER_NAME] [ADMIN_URL]
for example:
./startManagedWebLogic.sh managedserver1 http://localhost:7001
...which tells you that you didn't provide the correct command-line arguments, tells you what they are, and gives you an example....
Quote:
Code:
[w1_11@localhost common]$ bin/startManagedWebLogic.sh  10.94.214.192 http://localhost:7001
bin/startManagedWebLogic.sh: line 33: http://10.94.214.192:7001: No such file or directory
bin/startManagedWebLogic.sh: line 34: 10.94.214.192: command not found
CLASSPATH=/home/w1_11/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/lib/tools.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/w1_11/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/w1_11/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/w1_11/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/w1_11/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar::/jre/lib/rt.jar:/home/w1_11/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:.

PATH=/home/w1_11/Oracle/Middleware/wlserver_10.3/server/bin:/home/w1_11/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/jre/bin:/bin:/bin:/usr/local/maven/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://<hostname>:<port>/console    *
***************************************************
<Oct 3, 2014 2:59:29 AM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 3, 2014 2:59:29 AM EDT> <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>
<Oct 3, 2014 2:59:30 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 24.65-b04 from Oracle Corporation>
<Oct 3, 2014 2:59:31 AM EDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:w1_11
OpenJDK 64-Bit Server VM warning: You have loaded library /home/w1_11/Oracle/Middleware/wlserver_10.3/server/native/linux/i686/libterminalio.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Enter password to boot WebLogic server:w1_11
<Oct 3, 2014 3:00:02 AM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
<Oct 3, 2014 3:00:02 AM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

weblogic.management.ManagementException: [Management:141247]The configuration directory /home/w1_11/Oracle/Middleware/wlserver_10.3/common/config does not exist and the admin server is not available.
        at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:200)
        at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:115)
        at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
        at weblogic.Server.main(Server.java:71)

>
<Oct 3, 2014 3:00:02 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Oct 3, 2014 3:00:02 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Oct 3, 2014 3:00:02 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
How to fix this?
Did you read/understand the message? It's bolded above...it's telling you VERY plainly that the directory you specified in the configuration doesn't exist/can't be read by the user running that script. So, either create it, or change the permissions. Without the configuration directory/files, the service can't start.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing weblogic on CentOS figure20012 Linux - Newbie 2 08-07-2012 02:25 AM
Weblogic 12c - Running ASP diegosendra Programming 5 04-28-2012 09:03 PM
Weblogic 12c - Running ASP diegosendra Linux - General 0 04-27-2012 03:11 AM
Weblogic Server 8.1 from remote access brownie_cookie Linux - Newbie 1 05-12-2011 06:08 PM
WebLogic server brownie_cookie Linux - Newbie 18 05-12-2011 10:47 AM


All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration