This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OC4J not configured with Port 1521

bob reilly
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is an Oracle 10g environment.

When starting OC4J on my workstation (for development) I get the following messages:

10/09/23 09:41:51 log4j:WARN No appenders could be found for logger (com.workbrain2.platform.util.Copyright).
10/09/23 09:41:51 log4j:WARN Please initialize the log4j system properly.
10/09/23 09:42:47 Oracle Application Server Containers for J2EE 10g ( initialized

I run 'netstat -an' to confirm that port 1521 is established for the database and its there. I can bring up the application - everything is working - great.

I had a colleague copy my OC4J directory onto their workstation - use my startup script but configure to their directory setup. They get the same messages for OC4J initializing however:
1 - their startup (initialization) is a lot quicker (mine takes about a miinute - theirs about 30 seconds, probably less)
2. port 1521 is NOT established.

Net result is they cannot bring up the application via browser ("page cannot be displayed" 500 error code). Oracle client is installed on our workstations but the tnsnames.ora is does NOT reside there. I checked

That is one area of confusion for me. Where is the reference to it? I check for a mapped drive via environmental variable - nothing.

Anyone have any ideas on what is going wrong here. I've mentioned two issues however I believe they're related.

Any suggestions are appreciated. Thanks.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic