aspose file tools*
The moose likes Oracle/OAS and the fly likes ejb_sec.properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "ejb_sec.properties" Watch "ejb_sec.properties" New topic
Author

ejb_sec.properties

Jessica Tan
Greenhorn

Joined: Mar 01, 2005
Posts: 11
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29275
    
140

Jessica,
What error message do you get?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jessica Tan
Greenhorn

Joined: Mar 01, 2005
Posts: 11
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

Joined: Apr 07, 2005
Posts: 2
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

Joined: Mar 01, 2005
Posts: 11
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

Joined: May 18, 2005
Posts: 1
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ejb_sec.properties
 
Similar Threads
How many of us juggle?
need packages help
Reading Java Mail
Place A Word In A 2d Array
Multiple Choice Questions Providers - work from home