Question : Is oracle 10gR2 effected when server name is changed?

Some of my oracle utilities are not working. All this started when my SA changed the server name/domain name of the windows box that my oracle application resides on. also a OS host file is not authorized anymore as it is on a DNS domain.???
Can anyone tell me what files need changing and what path names specifically might be affected.
I am using oracle 10.2.0.4 on an windows 2003 server. Everything is working except (that i have found so far) emca and opatch. They both give me a java error (see below)
What I have done already: changed the jlib and sysman/jlib folders from the dev box (metalink recommendations). Modified the OS environmental variables to show: D:\oracle\bin;d:\oracle\jdk\bin;d:\oracle\opatch;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\F-Secure\Ssh;C:\Program Files\Windows Imaging\

I am at a loss, my OEM currenly doesnt run either so I am trying to do a rebuild on that but can get the emca past the java errors.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
D:\oracle\OPatch>opatch lsinventory
Invoking OPatch 10.2.0.4.6
 
Oracle Home Path specified is relative path.
OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Ho
me.
 
OPatch failed with error code = 1
 
D:\oracle\OPatch>set ORACLE_HOME=d:\oracle
 
D:\oracle\OPatch>opatch lsinventory
Invoking OPatch 10.2.0.4.6
Exception in thread "main" java.lang.NoClassDefFoundError: java/text/AttributedCharacterIterator$
Attribute
        at java.text.SimpleDateFormat.(SimpleDateFormat.java:875)
        at java.util.Date.toString(Date.java:981)
        at oracle.opatch.OPatch.main(OPatch.java:484)
 
OPatch failed with error code = 1
 
D:\oracle\OPatch>emca
Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Logger
        at java.util.logging.LogManager$1.run(LogManager.java:170)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.(LogManager.java:141)
        at oracle.sysman.emcp.util.EMCALogManager.(EMCALogManager.java:75)
        at oracle.sysman.emcp.EMConfig.(EMConfig.java:118)
        at oracle.sysman.emcp.EMConfigAssistant.(EMConfigAssistant.java:167)
java.lang.NoClassDefFoundError
        at java.util.logging.LogManager$Cleaner.run(LogManager.java:190)
 
D:\oracle\OPatch>cd ..
 
D:\oracle>emca
Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Logger
        at java.util.logging.LogManager$1.run(LogManager.java:170)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.(LogManager.java:141)
        at oracle.sysman.emcp.util.EMCALogManager.(EMCALogManager.java:75)
        at oracle.sysman.emcp.EMConfig.(EMConfig.java:118)
        at oracle.sysman.emcp.EMConfigAssistant.(EMConfigAssistant.java:167)
java.lang.NoClassDefFoundError
        at java.util.logging.LogManager$Cleaner.run(LogManager.java:190)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PATH=D:\oracle\bin;d:\oracle\jdk\bin;d:\oracle\opatch;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\F-Secure\Ssh;C:\Program Files\Windows Imaging\
Open in New Window Select All

Answer : Is oracle 10gR2 effected when server name is changed?

In a plain instance with no EM, you'll want to shutdown both db and listener, change your listener.ora, tnsnames.ora and restart both the instance and the listener.

If using Enterprise Manager, recreate the dbcontrol repository.  Metalink: 278100.1

If using ASM, then cluster ready services also need re-config.

Overall, see Metalink article:  422729.1
Random Solutions  
 
programming4us programming4us