wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Start Admin server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Start Admin server" Watch "Start Admin server" New topic
Author

Start Admin server

sumit mathur
Ranch Hand

Joined: Sep 01, 2009
Posts: 34
My configuration goes like this

Machin1 : Admin Serve and Managed server

Machine2 : Managed Server

Both the Managed serves are in cluster and node manager is up and running on both machines.

Machine is being configured for both managed server and Admin server.

Now i am trying to start the Admin server from machine2 from WLST command line using Node manager

I issue the following command

nmConnect('weblogic','weblogic','10.197.1.18','5556','anp','/opt/fsm/domains/anp','plain')
nmStart('ANP-7001')

Here anp---Domain name
/opt/fsm/domains/anp -- Domain directory on Machine1
10.197.1.18---IP address of machine where admin server is there
ANP-7001---Admin server name

After executing these command when i open the admin console and type the password.It hangs up there .

And in the logs i am gettting following errors.

<Sep 18, 2009 5:12:36 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.197.1.18:7001 for protocols iiop, t3, ldap, http.>
<Sep 18, 2009 5:12:36 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, http.>
<Sep 18, 2009 5:12:36 PM IST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 10.197.1.18:7002 for protocols iiops, t3s, ldaps, https.>
<Sep 18, 2009 5:12:36 PM IST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]" is now listening on 127.0.0.1:7002 for protocols iiops, t3s, ldaps, https.>
<Sep 18, 2009 5:12:36 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "ANP-7001" for domain "anp" running in Development Mode>
<Sep 18, 2009 5:12:36 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Sep 18, 2009 5:12:36 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Sep 18, 2009 5:12:45 PM IST> <Warning> <Server> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef - hostID: '-7889255573385037214S:10.197.1.18:[-1,8001,-1,-1,-1,-1,-1]:anp:ANP-fsm-dev-anp-8001', oid: '31', channel: 'null'].>
<Sep 18, 2009 5:12:45 PM IST> <Warning> <Server> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef - hostID: '-7889255573385037214S:10.197.1.18:[-1,8001,-1,-1,-1,-1,-1]:anp:ANP-fsm-dev-anp-8001', oid: '31', channel: 'null'].>
<Sep 18, 2009 5:12:45 PM IST> <Warning> <Server> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef - hostID: '-7889255573385037214S:10.197.1.18:[-1,8001,-1,-1,-1,-1,-1]:anp:ANP-fsm-dev-anp-8001', oid: '31', channel: 'null'].>
<Sep 18, 2009 5:14:32 PM IST> <Error> <JMX> <BEA-149501> <An exception occurred while registering the MBean com.bea:Name=anp,Location=anp,Type=Domain at property Servers.
java.lang.OutOfMemoryError: PermGen space
at java.lang.Throwable.getStackTraceElement(Native Method)
at java.lang.Throwable.getOurStackTrace(Throwable.java:592)
at java.lang.Throwable.getStackTrace(Throwable.java:583)
at weblogic.logging.MessageLogger.createClone(MessageLogger.java:251)
at weblogic.logging.MessageLogger.getThrowableCopy(MessageLogger.java:230)
Truncated. see log file for complete stacktrace
>
<Sep 18, 2009 5:14:36 PM IST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.getMethod0(Class.java:2642)
at java.lang.Class.getMethod(Class.java:1579)
at weblogic.descriptor.utils.DescriptorUtils.getMethod(DescriptorUtils.java:143)
Truncated. see log file for complete stacktrace
>
<Sep 18, 2009 5:14:53 PM IST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space



Sumit
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

java.lang.OutOfMemoryError: PermGen space.


You ran out of java class loading space. Use something like -XX:MaxPermSize=256m as a command line argument to increase the space


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Rajendra Nandam
Greenhorn

Joined: Oct 26, 2009
Posts: 8
As suggested needs to add the -XX:MaxPermSize=128m attribute to variable MEM_ARGS and restart the servers.
Example :-
MEM_ARGS="-Xms<> -Xmx<> -XX:MaxPermSize=128m "

Thanks
Nandam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Start Admin server