473,387 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Oracle 9i OEM login NullPointerException to OMS

I was able to do this but for no reason I can think of, now I cannot
login to my Oracle Management Server. When Oracle Enterprise Manager
starts up and I choose to login to OMS, it throws up a java error
java.lang.NullPointerException. I can login to standalone database
instances just fine.

My PC is running Window XP

My server info:
Oracle 9.2.0.4
Redhat Linux AS 2.1

OEM on the server console runs fine connecting to OMS on itself, so I
think there's something wrong on my PC. But can anyone give me some
pointers? I am out of ideas now.

TIA!!!
Jul 19 '05 #1
2 9970
I solved my problem following Doc ID: 216820.1 in Metalink. Here is a
copy of the solution. It had to do with my /etc/hosts file not having
a separate entry for the host. Charles

-----------------------------------------------------------

FACTS
~~~~~
1. Unable to log into OEM console from a remote client machine to OMS
on server
2. Local logging through OEM console to OMS works fine.
3. Net8 works fine ie network is well configured.
4. Error: "The exception (java.lang.NullPointerException) occured." is
received
consistently on the remote client.

CAUSES AND EXPLAINATION
~~~~~~~~~~~~~~~~~~~~~~~
1. The machine where the OMS is installed must have a fixed IP address
and the
hostname must be resolvable to the assigned IP address.

2. You must be able to resolve the hostname of the OMS machine to its
assigned
IP address from the OEM console machine.

3. The OMS machine must have a valid assigned IP address. 127.0.0.1 is
not a
valid IP address except for loopback connection (OMS machine to
itself). If a
client tries to connect to IP 127.0.0.1, it will attempt to connect to
itself

SOLUTION STEPS
~~~~~~~~~~~~~~~~
SECTION 1
=========
step1
------

From OMS Server, please issue the following commands:

#1hostname
#2ping<name from step #1>

If the ping from #2 command returns 127.0.0.1 . It means that the
machine does
not resolve to a normal IP address, it resolves to a loopback IP
address which
is wrong as already discussed.

[If it is the IP address issue as found in step1 then proceed,else go
to section 2]

step2
-----
Contact your network administrator and obtain a fixed IP address for
the OMS
(UNIX) machine and if you use DNS on your network register the
hostname/IP
address of the OMS machine in DNS. If you use hosts files for name
resolution,
add an entry for the fixed IP address and hostname in the host file on
the OMS
machine and on the client.
STEP3
-----
Edit the host file on the OMS machine and remove hostnames referenced
(except
localhost) for IP 127.0.0.1.

STEP4
------
Verify that the OMS machine and client can resolve the OMS machine
hostname to
its correct IP address.
STEP5
------
Start the repository database and database listener.
STEP6
------
Make a sqlplus connection to the repository database as the repository
owner

STEP7
------
Log into the OEM console on the client as follows:

Administrator: sysman
Password: oem_temp (you will be prompted to change this password)
STEP8 (optional)
------
If you want to manage the OEMREP database from the OEM console, stop
and restart
the Intelligent Agent on the Unix machine, then discover the node in
the OEM
console..
SECTION 2 (Please check this section if IP address is fine as per
section 1)
=========
Add the following property to
$ORACLE_HOME/sysman/config/omsconfig.properties
MULTI_NIC.ENABLED=false
SECTION 3 (Please check this section if IP address is fine as per
section 1)
==========
Modify the BootHost property in
$ORACLE_HOME/sysman/config/omsconfig.properties
to have the name of the network card on which the Management Server
has to listen.
Change "BootHost=localhost" to "BootHost=<network card host name> .
Copyright (c) 1995,2000 Oracle Corporation. All Rights Reserved.
Legal Notices and Terms of Use.


Ch**************@yahoo.com (Charles) wrote in message news:<80*************************@posting.google.c om>...
I was able to do this but for no reason I can think of, now I cannot
login to my Oracle Management Server. When Oracle Enterprise Manager
starts up and I choose to login to OMS, it throws up a java error
java.lang.NullPointerException. I can login to standalone database
instances just fine.

My PC is running Window XP

My server info:
Oracle 9.2.0.4
Redhat Linux AS 2.1

OEM on the server console runs fine connecting to OMS on itself, so I
think there's something wrong on my PC. But can anyone give me some
pointers? I am out of ideas now.

TIA!!!

Jul 19 '05 #2
I solved my problem following Doc ID: 216820.1 in Metalink. Here is a
copy of the solution. It had to do with my /etc/hosts file not having
a separate entry for the host. Charles

-----------------------------------------------------------

FACTS
~~~~~
1. Unable to log into OEM console from a remote client machine to OMS
on server
2. Local logging through OEM console to OMS works fine.
3. Net8 works fine ie network is well configured.
4. Error: "The exception (java.lang.NullPointerException) occured." is
received
consistently on the remote client.

CAUSES AND EXPLAINATION
~~~~~~~~~~~~~~~~~~~~~~~
1. The machine where the OMS is installed must have a fixed IP address
and the
hostname must be resolvable to the assigned IP address.

2. You must be able to resolve the hostname of the OMS machine to its
assigned
IP address from the OEM console machine.

3. The OMS machine must have a valid assigned IP address. 127.0.0.1 is
not a
valid IP address except for loopback connection (OMS machine to
itself). If a
client tries to connect to IP 127.0.0.1, it will attempt to connect to
itself

SOLUTION STEPS
~~~~~~~~~~~~~~~~
SECTION 1
=========
step1
------

From OMS Server, please issue the following commands:

#1hostname
#2ping<name from step #1>

If the ping from #2 command returns 127.0.0.1 . It means that the
machine does
not resolve to a normal IP address, it resolves to a loopback IP
address which
is wrong as already discussed.

[If it is the IP address issue as found in step1 then proceed,else go
to section 2]

step2
-----
Contact your network administrator and obtain a fixed IP address for
the OMS
(UNIX) machine and if you use DNS on your network register the
hostname/IP
address of the OMS machine in DNS. If you use hosts files for name
resolution,
add an entry for the fixed IP address and hostname in the host file on
the OMS
machine and on the client.
STEP3
-----
Edit the host file on the OMS machine and remove hostnames referenced
(except
localhost) for IP 127.0.0.1.

STEP4
------
Verify that the OMS machine and client can resolve the OMS machine
hostname to
its correct IP address.
STEP5
------
Start the repository database and database listener.
STEP6
------
Make a sqlplus connection to the repository database as the repository
owner

STEP7
------
Log into the OEM console on the client as follows:

Administrator: sysman
Password: oem_temp (you will be prompted to change this password)
STEP8 (optional)
------
If you want to manage the OEMREP database from the OEM console, stop
and restart
the Intelligent Agent on the Unix machine, then discover the node in
the OEM
console..
SECTION 2 (Please check this section if IP address is fine as per
section 1)
=========
Add the following property to
$ORACLE_HOME/sysman/config/omsconfig.properties
MULTI_NIC.ENABLED=false
SECTION 3 (Please check this section if IP address is fine as per
section 1)
==========
Modify the BootHost property in
$ORACLE_HOME/sysman/config/omsconfig.properties
to have the name of the network card on which the Management Server
has to listen.
Change "BootHost=localhost" to "BootHost=<network card host name> .
Copyright (c) 1995,2000 Oracle Corporation. All Rights Reserved.
Legal Notices and Terms of Use.


Ch**************@yahoo.com (Charles) wrote in message news:<80*************************@posting.google.c om>...
I was able to do this but for no reason I can think of, now I cannot
login to my Oracle Management Server. When Oracle Enterprise Manager
starts up and I choose to login to OMS, it throws up a java error
java.lang.NullPointerException. I can login to standalone database
instances just fine.

My PC is running Window XP

My server info:
Oracle 9.2.0.4
Redhat Linux AS 2.1

OEM on the server console runs fine connecting to OMS on itself, so I
think there's something wrong on my PC. But can anyone give me some
pointers? I am out of ideas now.

TIA!!!

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alex | last post by:
I have developed a VB application that uses Oracle 8i database for backend. The database server is on the local network. From my development machine, the application connects (via ODBC) to the...
0
by: JeffRoot | last post by:
I receive the following error message when I try to run the Database Configuration Assistant on Solaris 8 / Oracle 9i. Does anyone know the solution to this problem? I thought it might have...
1
by: Oguz Yilmaz | last post by:
When I want to start dbca on my installation I get Java errors below: System is a RH 2.1 AS. $ dbca Exception in thread "main" java.lang.NullPointerException at...
7
by: Cherrish Vaidiyan | last post by:
hello, I am been getting mad with so many doubts and errors.. I have posted some doubts,test cases regarding listener,replication and standby database.But i havent got any response..(I am...
4
by: Wilson | last post by:
I am currently running Oracle 8i with Apache setup in a 4-CPUs Windows 2000 Server. Users on their workstations connect to Oracle through Internet Explorer which accesses Apache's DAD object and...
3
by: Jake McDermott | last post by:
We have a few developers that use Oracle 9i (9.2.0.4.0) on their personal workstations for testing purposes. Recently, weve made the decision to upgrade them to WinXP so that they are able to use...
1
by: simba | last post by:
Hi, I have been trying to connect my JSP file to my Oracle database but the server does not seem to like it and won't connect, I have the following code: <%@ page language="java"...
1
by: Charles | last post by:
I was able to do this but for no reason I can think of, now I cannot login to my Oracle Management Server. When Oracle Enterprise Manager starts up and I choose to login to OMS, it throws up a java...
0
by: mayurshah28 | last post by:
Hi everyone, im developing one application for banking. there i have stucked wit one prob. now prob is tat im not able to access multiple tables at a time through vb. my coding is as below Dim...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.