Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Start Admin server

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic