This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Start Admin server

 
sumit mathur
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rajendra Nandam
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic