aspose file tools*
The moose likes Oracle/OAS and the fly likes OC4J not configured with Port 1521 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "OC4J not configured with Port 1521" Watch "OC4J not configured with Port 1521" New topic
Author

OC4J not configured with Port 1521

bob reilly
Ranch Hand

Joined: Jan 22, 2007
Posts: 44
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 (10.1.2.0.2) 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: http://aspose.com/file-tools
 
subject: OC4J not configured with Port 1521