Operating System - HP-UX
1748104 Members
4651 Online
108758 Solutions
New Discussion юеВ

Re: HP-UX 11.0 / Ora 9i R2: Java error at dbaStudio (NVFactory)

 
SOLVED
Go to solution
Krenzer
Advisor

HP-UX 11.0 / Ora 9i R2: Java error at dbaStudio (NVFactory)

Hello,

i don't know whether I post in the right forum. But i have no idea.

The installation of Oracle was successful, and i can start the dbastudio. Now i trying to login to the database. But if i press the "ok" button at the login window, i get followin error on the console:
NVFactory: _readNVPair expected )
NVFactory: _readNVPair expected )
NVFactory: _readNVLiteral expected LITERAL
java.lang.NullPointerException
at oracle.net.nl.NVPair.setAtom(NVPair.java)
at oracle.net.nl.NVFactory._readNVPair(NVFactory.java)
at oracle.net.nl.NVFactory.createNVPair(NVFactory.java)
at oracle.net.nl.NLParamParser.addNLPListElement(NLParamParser.java)
at oracle.net.nl.NLParamParser.(NLParamParser.java)
at oracle.sysman.vdb.VdbUtil.findInTNSFile(VdbUtil.java:756)
at oracle.sysman.vdb.VdbUtil.findInTNSNAMES(VdbUtil.java:723)
at oracle.sysman.vdb.VdbUtil.buildConnectDescriptor(VdbUtil.java:272)
at oracle.sysman.vdb.VdbSession.buildConnectionInformation(VdbSession.java:4122)
at oracle.sysman.vdb.VdbSession.establishConnection(VdbSession.java:1249)
at oracle.sysman.vdb.VdbSession.(VdbSession.java:763)
at oracle.sysman.vdb.VdbAutoCommitSession.(VdbAutoCommitSession.java:266)
at oracle.sysman.vdb.VdbSessionFactory.getNewAutoCommitSession(VdbSessionFactory.java:1206)
at oracle.sysman.vdb.VdbSessionFactory.getAutoCommitSession(VdbSessionFactory.java:1118)
at oracle.sysman.vbo.VboDBServerFat.getManagedSession(VboDBServerFat.java:417)
at oracle.sysman.vth.VthSessionManager._getSessionFromFactory(VthSessionManager.java:261)
at oracle.sysman.vth.VthSessionManager.onConnectDialogOk(VthSessionManager.java:446)
at oracle.sysman.vtaGallery.dbConnect.VtaDbConnectDialog._actionPerformed(VtaDbConnectDialog.java:1505)
at oracle.sysman.vtaGallery.dbConnect.VtaDbConnectDialogExecutor.run(VtaDbConnectDialog.java:1847)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)


Can anyone help ?

Thanks
2 REPLIES 2
Yogeeraj_1
Honored Contributor
Solution

Re: HP-UX 11.0 / Ora 9i R2: Java error at dbaStudio (NVFactory)

hello,

I got some info from metalink.

Please look at Bug:2037149, which has been closed as not a bug.

You might be having the similiar issue. Please try the workaround/solution.

It could be because you did not configure listener.ora is using config tools
instead did it manually.

There is a similar issue when running net8assist.sh:
============================================================
Doc ID: Note:1067568.6
Subject: NVFACTORY: _READNVPAIR EXPECTED TRYING TO RUN NET8ASST.SH
Type: PROBLEM
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 22-MAR-1999
Last Revision Date: 07-AUG-2002


Problem Description:
====================

When running "NET8ASSIST.SH" on HP 11.0, Version 8.0.4 you recieve the following
error:

NVFACTORY: _READNVPAIR EXPECTED


Problem Explanation:
====================

There is a problem with one or more of current configuration files
"tnsnames.ora", "listener.ora" or "sqlnet.ora".

Search Words:
=============

NV FACTORY _READ NV PAIR EXPECTED

RENAME OR REMOVE ASSOSIATED CONFIGURATION FILES

Solution Description:
=====================

Since the assistant can not parse one or more of your configuration
files you will need to verify the syntax in the files. If current
configuration information is not needed simply move the configuration
files to other names. For troubleshooting purposes you may wish to
move one at a time until you find the file with the problem. Once you
have identified the file you can either move that file only and recreate
it. If the information is not needed it is recomended that you do not
recreate the file.

The search order used to find the configuration files is:

1) Your $HOME environment variable

2) The $TNS_ADMIN environment variable

3) $ORACLE_HOME/network/admin


Solution Explanation:
=====================

By recreating the configuration files or moving them net8assistant will
not have a problem parsing the files and you will be able to use the tool
to configure net8.
.
============================================================

Hope this help!
Best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Krenzer
Advisor

Re: HP-UX 11.0 / Ora 9i R2: Java error at dbaStudio (NVFactory)

Yes, you are right again. I found the solution yesterday. My tnsnames.ora seems to be corrupt. Now i can login successfully.

Thank you very much !