• 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

ejb_sec.properties

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jessica,
What error message do you get?
 
Jessica Tan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic