Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Difference between static and dynamic methods

807601May 13 2008 — edited May 13 2008
Hi there,
I am new to java.Plz tell me the difference between static and dynamic methods.

Comments

Krishnan_venkat
Answer

--> $/AGENT_INST/bin/emctl stop agent

If agent does not shutdown gracefully then kill all agent background processes by first grepping for agent perl and java processes only

--> Move your existing target.xml file

mv target.xml target.xml.old

--> Create an empty targets.xml file under /AGENT_INST/sysman/emd with the below content

<Targets>

</Targets>

--> Start the agent

$AGENT_INST/bin/emctl start agent

This starts agent but without any targets populated in targets.xml

To discover targets perform agent resynchronization operation from console

Regards

Krishnan

Marked as Answer by sridhartempalle · Sep 27 2020
sridhartempalle

Thank you Krishnan_Venkat

After creating the empty targets.xml I started the agent, but the agent was still unreachable. I restarted the agent manually by stopping and starting in the subsequent steps and the agent is now up and communicating. That was the perfect solution to the problem I faced here.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 10 2008
Added on May 13 2008
3 comments
7,304 views