Problem with ORACLE_HOME [message #532769] |
Thu, 24 November 2011 09:40 |
|
Jonnyboybick
Messages: 21 Registered: November 2011 Location: UK
|
Junior Member |
|
|
Hi,
I've recently installed Oracle 10g Database onto a Windows XP Virtual Machine. The installation directory is C:\oracle\product\10.2.0\db_1.
After resolving a few issues with the listener and TNSNames.ora i've managed to access SQL Plus and entered a few tables etc.
I wanted to install oracle forms and reports so I installed the "Complete" package which installed to C:\DevSuiteHome_1\.
I've created a form etc, but I can't run the OC4J instance because ORACLE_HOME is pointing to C:\oracle\product\10.2.0\db_1.
When I point it to C:\DevSuiteHome_1\ then restart the VM, the listener and SQL Plus services fail to start.
What is my way around this? Is there any way of using both?
Thanks,
Jon
|
|
|
|
|
|
Re: Problem with ORACLE_HOME [message #532843 is a reply to message #532840] |
Fri, 25 November 2011 03:03 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
In one window,
set ORACLE_HOME=C:\oracle\product\10.2.0\db_1
set PATH=%ORACLE_HOME%\bin;%PATH%
and in the other,
set ORACLE_HOME=C:\DevSuiteHome_1
set PATH=%ORACLE_HOME%\bin;%PATH%
Does that help?
|
|
|
|
|
|
Re: Problem with ORACLE_HOME [message #532857 is a reply to message #532856] |
Fri, 25 November 2011 03:46 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Ah, you got it! OK then, next problem: go to Forms' Edit menu, choose Preferences, go to Runtime tab. Reset Application server URL to default and try again.
Also, in Internet Explorer, go to Tools, Internet Options, Advanced - verify whether "Allow active content to run in files on My Computer" is checked (should be).
|
|
|
Re: Problem with ORACLE_HOME [message #532859 is a reply to message #532857] |
Fri, 25 November 2011 03:49 |
|
Jonnyboybick
Messages: 21 Registered: November 2011 Location: UK
|
Junior Member |
|
|
Thanks for your suggestion, I've already done this, but I think its still a problem with the OC4J instance as I get the "FRM-10142: The HTTP Listener is not running..." error and I cant access Localhost:8888. You'll see above though that my instance is running!
Any other ideas?
It might be worth noting that I have a C:\DevsuiteHome\j2ee\home as well as a C:\Devsuitehome\j2ee\devsuite
The config files were originally in the home directory and I copied these out to the devsuite directory where the batch file is.
[Updated on: Fri, 25 November 2011 03:51] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Problem with ORACLE_HOME [message #532902 is a reply to message #532897] |
Fri, 25 November 2011 06:10 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Quote: "FRM-10142: The HTTP Listener is not running..." e I hope this isn't a foolish comment, but is this message telling you the problem? You do need an HTTP listener, do you have one? Usually I would use the Apache web listener with Forms, it should be running under a Windows service. Does your release of Developer Suite come with opmn? If so, connect to your Dev Suite home and run
%ORACLE_HOME%\opmn\bin\opmnctl status -l
to see what is running and on what ports.
|
|
|
|
Re: Problem with ORACLE_HOME [message #532906 is a reply to message #532903] |
Fri, 25 November 2011 06:19 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Oh. What I was describing is how it works with a BI & Forms AS 10.1.2 instance. I guess you are using a chopped down version. I know that OC4J as shipped with 10.1.3 can listen for HTTP, I did not think that OC4J as shipped with 10.1.2 could. Are you sure there is no Apache provided? Do you have %ORACLE_HOME%\Apache\Apache and the rest? And if no opmnctl, perhaps the apachectl utility?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|