This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb_sec.properties

 
Jessica Tan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one know at OC4J where should I put the ejb_sec.properties file? According to Oracle doc, it should be in {J2EE_HOME}/config but it seem not working when my ejb client never init SSL connection to server.

Any help?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jessica,
What error message do you get?
 
Jessica Tan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Jeanne,

What I means it, even I had put the ejb_sec.properties to {J2EE_HOME}/config for oc4j (standalone) for client side OC4J, but it seem not function because the server side didn't receive any SSL init from client. Here the server side exception:
com.sun.corba.ee.internal.iiop.MessageMediator(Thread[JavaIDL Reader for 127.0.0.1:3049,5,main]): Creating message from stream
05/03/02 10:19:09 JavaIDL Reader for 127.0.0.1:3049, handling exception: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
05/03/02 10:19:09 JavaIDL Reader for 127.0.0.1:3049, SEND TLSv1 ALERT: fatal, description = unexpected_message
05/03/02 10:19:09 JavaIDL Reader for 127.0.0.1:3049, WRITE: TLSv1 Alert, length = 2
05/03/02 10:19:09 JavaIDL Reader for 127.0.0.1:3049, called closeSocket()

Bcoz of that, client side not able to lookup the ejb.

Any help on that? Don't know why client side didn't init the SSL connection. My ejb_sec.properties at client side:

oc4j.iiop.trustedServers=*
nameservice.useSSL=true
oc4j.iiop.trustStoreLoc=D:\\cert\\cacerts1
oc4j.iiop.trustStorePass=changeit

Any help on that?
 
Abe Costello
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jessica Tan:
Any one know at OC4J where should I put the ejb_sec.properties file? According to Oracle doc, it should be in {J2EE_HOME}/config but it seem not working when my ejb client never init SSL connection to server.

Any help?


What version of OC4J are you using?
 
Jessica Tan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I using OC4J 10g version 9.04.

I had post the help request to oracle meta link but their support till today still not able give me solution.
 
Mark Breitenb�cher
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as discribed in the oracle doku (Oracle Application Server Containers for J2EE Security Guide) you should place the ejb_sec.properties in the current direcotory (from which you start the client's VM).

Mark
[ May 19, 2005: Message edited by: Mark Breitenb�cher ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic