cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise Manager

Former Member
0 Kudos

Hi,

Unable to connect to wily Enterprise Manager.(Enterprise Manager installed on same server of Solution Manager)

Uncaught Exception in Enterprise Manager: java.lang.OutOfMemoryError: Java heap space.

How to resolve this,

Thx in advance

Edited by: Kobby bryant on Jun 26, 2008 3:24 PM

Accepted Solutions (0)

Answers (5)

Answers (5)

rkresha
Participant
0 Kudos

You may want to change the -Xmx setting in the "runem.nohup.sh" file as well.

it's in the parameter "JVMARGS="-Xms512m -Xmx1024m -Djava.awt.headless=true -Dswing.volatileImageBufferEnabled=false"; "

Edited by: Rob Kresha on Apr 17, 2009 10:37 AM

Edited by: Rob Kresha on Apr 17, 2009 10:40 AM

Former Member
0 Kudos

I've also changed the XMS and XMX from 512 to 1024 and it works not ...

Introscope_Enterprise_Manager.lax

Former Member
0 Kudos

issue resolved, increased heap memory

Former Member
0 Kudos

Hi Kobby,

Please confirm if you have resolved this issue as we are also facing similar issue

bernd_koegel
Employee
Employee
0 Kudos

EM not stopped properly.

Check with 'ps' and kill hanging processes - search for "ntroscope"

Or reboot

Former Member
0 Kudos

Hi,

started webview logged as Admin user,

Unable to connect to the Enterprise Manager. Please contact your Introscope administrator.

In the logs it says

6/30/08 09:30:26 AM EDT [WARN] [Manager.Authentication] Username/Password pair fails to match.

6/30/08 09:30:26 AM EDT [INFO] [Manager.Authentication] User "Admin" logged in successfully from host "localhost"

6/30/08 09:32:27 AM EDT [INFO] [Manager] Logging out user "WilyWebView" from host "Node=Workstation_257, Address=XXXXXXXX, Type=socket"

6/30/08 09:34:27 AM EDT [INFO] [Manager] Logging out user "WilyWebView" from host "Node=Workstation_258, Address=XXXXXXXX, Type=socket"

Thanks in advance

bernd_koegel
Employee
Employee
0 Kudos

Hi Kobby,

probably the default heap size of Introscope EM (512 MB) is too small.

You may check the attachement of SAP Note 797147 for recommendation how to set the corresponding parameter -Xmx. You could set it to 1 GB.

Kind regards, Bernd

Former Member
0 Kudos

Do i need to change java parameters in config tool of solman or in any other configuration files of EM .

solman - has 1GB max heap size

bernd_koegel
Employee
Employee
0 Kudos

Hi Kobby,

Introscope's memory settings are independent of SAP J2EE and thus cannot be maintained via Configtool etc.

- for Windows systems, check file EMService.conf

- for UNIX systems, check file Introscope_Enterprise_Manager.lax

Regards, Bernd

Former Member
0 Kudos

i found this in .lax file

  1. LAX.NL.JAVA.OPTION.ADDITIONAL

  2. -----------------------------

  3. The following switches are recommended for 32-bit Sun JVMs: $sunJvmRecommendedSwitches$

lax.nl.java.option.additional=-Xms512m -Xmx512m -Djava.awt.headless=false -showversion -XX:UseConcMarkSweepGC -XX:UseParNewGC -Dsun

.java2d.noddraw=true

stopem.sh

should i just change -Xmx512m to 1024 & restart using stopem.sh.

bernd_koegel
Employee
Employee
0 Kudos

yes - give it a try !

Bernd

Former Member
0 Kudos

stopem.sh

Exception occurred: java.net.ConnectException: Connection refused

java.net.ConnectException: Connection refused

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at com.wily.isengard.postofficehub.link.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:38)

at com.wily.isengard.api.ServerInstanceLocator.createSocket(ServerInstanceLocator.java:291)

at com.wily.isengard.postofficehub.link.OutgoingConnection.connect(OutgoingConnection.java:69)

at com.wily.isengard.postoffice.PostOfficeHub.connectToServerHub(PostOfficeHub.java:454)

at com.wily.isengard.postoffice.PostOfficeHub.connectToServerHub(PostOfficeHub.java:413)

at com.wily.isengard.api.IsengardClient.getConnectedHub(IsengardClient.java:268)

at com.wily.isengard.api.IsengardClient.connect(IsengardClient.java:150)

at com.wily.isengard.api.IsengardClient.connect(IsengardClient.java:137)

at com.wily.introscope.clws.protocol.LogonCredentials.connectToEM(LogonCredentials.java:198)

at com.wily.introscope.clws.protocol.LogonCredentials.loginIsengard(LogonCredentials.java:138)

at com.wily.introscope.clws.protocol.LogonCredentials.initializeConnection(LogonCredentials.java:105)

at com.wily.introscope.clws.protocol.LogonCredentials.logon(LogonCredentials.java:91)

at com.wily.introscope.clws.CommandLineWorkstation.init(CommandLineWorkstation.java:272)

at com.wily.introscope.clws.CommandLineWorkstation.shutdown(CommandLineWorkstation.java:154)

at com.wily.introscope.clws.command.CommandLineParser$17.execute(CommandLineParser.java:316)

at com.wily.introscope.clws.command.CommandExpression.execute(CommandExpression.java:59)

at com.wily.introscope.clws.command.SingleCommand.execute(SingleCommand.java:36)

at com.wily.introscope.clws.command.CommandLineParser.execute(CommandLineParser.java:1008)

at com.wily.introscope.clws.CommandLineWorkstation.execute(CommandLineWorkstation.java:311)

at com.wily.introscope.clws.CommandLineWorkstation.run(CommandLineWorkstation.java:182)

at com.wily.introscope.clws.CommandLineWorkstation.main(CommandLineWorkstation.java:91)

markus_doehr2
Active Contributor
0 Kudos

Seem, EM is not running any more - thus you can't stop it

Make the changes and start it again.

Markus

Former Member
0 Kudos

tried restarting got new error

EM Web Server did not start. Port already in use: 8081 To change the Web Server port, modi

fy the EM property: introscope.enterprisemanager.webserver.port

Thx

Former Member
0 Kudos

I am also getting the same error in introscope log:

java.net.ConnectException: Connection refused

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(Unknown Source)

        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

        at java.net.PlainSocketImpl.connect(Unknown Source)

        at java.net.SocksSocketImpl.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at sun.net.NetworkClient.doConnect(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.http.HttpClient.<init>(Unknown Source)

        at sun.net.www.http.HttpClient.New(Unknown Source)

        at sun.net.www.http.HttpClient.New(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

        at java.net.URL.openStream(Unknown Source)

        at com.att.massmarketip.icdt.introscope.apache.tracers.AutoModeTracer.processServerStatusHTML(AutoModeTracer.java:73)

        at com.att.massmarketip.icdt.introscope.apache.tracers.AutoModeTracer.monitorAndPublish(AutoModeTracer.java:38)

        at com.att.massmarketip.icdt.introscope.apache.ApacheAgent.main(ApacheAgent.java:23)

java.net.ConnectException: Connection refused

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(Unknown Source)

        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

        at java.net.PlainSocketImpl.connect(Unknown Source)

        at java.net.SocksSocketImpl.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at sun.net.NetworkClient.doConnect(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.http.HttpClient.<init>(Unknown Source)

        at sun.net.www.http.HttpClient.New(Unknown Source)

        at sun.net.www.http.HttpClient.New(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

        at java.net.URL.openStream(Unknown Source)

        at com.att.massmarketip.icdt.introscope.apache.tracers.DefaultModeTracer.getAverageProcessingTime(DefaultModeTracer.java:51)

        at com.att.massmarketip.icdt.introscope.apache.tracers.DefaultModeTracer.monitorAndPublish(DefaultModeTracer.java:30)

        at com.att.massmarketip.icdt.introscope.apache.ApacheAgent.main(ApacheAgent.java:26)

java.lang.ArithmeticException: / by zero

        at com.att.massmarketip.icdt.introscope.apache.tracers.DefaultModeTracer.getAverageProcessingTime(DefaultModeTracer.java:73)

        at com.att.massmarketip.icdt.introscope.apache.tracers.DefaultModeTracer.monitorAndPublish(DefaultModeTracer.java:30)

        at com.att.massmarketip.icdt.introscope.apache.ApacheAgent.main(ApacheAgent.java:26)