Skip to Main Content

Analytics Software

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!

Oracle Instance is not defined. It needs to be defined either as an environment variable or as a sys

B.ObuAug 25 2014 — edited Aug 28 2014

Installed EPM 11.1.2.3.0 and I'm trying to connect to the server with java program from IDE. Code is

Session session =

SessionFactory.getInstance("admin1", "password123",

"localhost", 6800);

System.out.println("Session was opened by "

+ session.getUser().getName());

session.close();

Added all required jars to the NetBeans Ide and then it is throwing the ERROR.

com.hyperion.hit.registry.exceptions.RegistryExcep tion: Oracle Instance is not defined.It needs to be defined either as an environment variable or as a system argument.

at com.hyperion.hit.registry.Registry.getInstance(Reg istry.java:359)

at com.brio.one.config.utils.RegistryUtil.fetchRegist ryComponentsForServices(Unknown Source)

at com.brio.one.config.utils.RegistryUtil.<init> ;(Unknown Source)

at com.brio.one.config.utils.RegistryUtil.getInstance (Unknown Source)

at com.brio.one.security.KeysStore$DefaultKeysStore.g etKey(Unknown Source)

at com.brio.one.utils.ORBSocketServer.connect(Unknown Source)

at com.brio.one.utils.ORBSocketServer.connect(Unknown Source)

at com.brio.one.services.globalservicemanager.GSMFact ory.getIGSM(Unknown Source)

at com.brio.one.services.globalservicemanager.GSMFact ory.getGSM(Unknown Source)

at com.brio.one.client.ClientFactory.<init>(Unk nown Source)

at com.brio.one.client.ClientFactory.<init>(Unk nown Source)

at com.brio.one.client.ClientFactory$ClientFactoryIni tializer.connect(Unknown Source)

at com.brio.one.client.ClientFactory.getClientFactory Connect(Unknown Source)

at com.brio.one.client.ClientFactory.connect(Unknown Source)

at com.sqribe.rm.AASessionImpl.createService(Unknown Source)

at com.sqribe.rm.AASessionImpl.open(Unknown Source)

at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)

at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)

at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)

at hyperion.HyperionLogin.main(HyperionLogin.java:10)         

Will any one help on this.

Thanks

Obu

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2014
Added on Aug 25 2014
2 comments
1,750 views