• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OC4J not configured with Port 1521

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 (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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic