Logging in OC4J

Hello,
I am using OC4J(9.0.2.0.0). How can I log messages from EJB into a log file( I know according to J2EE Specification EJB should not use java.io package ). Weblogic allows this functionality by its T3 Services, Is OC4J also providing the same functionality. Is there any way to achieve this functionality.
Thanks in Advance
SK

Hi S,
I think this may be of help:
http://www.elephantwalker.com/searchresult?id=342
Good Luck,
Avi.

Similar Messages

  • RE : SOA_HOME j2ee/oc4j_soa/log/oc4j_soa_soa_group_1/oc4j/log.xml

    Hi All,
    Is <SOA_HOME>j2ee/oc4j_soa/log/oc4j_soa_soa_group_1/oc4j/log.xml contains all activity logs in soa server?
    We need to check the time when our ESB server was down.
    Thanks in Advance.

    Hi bbukacek
    There is nothing in domains logs on timestamp when this service was invoked. Only there is a log for one service, that is making continuous SFTP connections. This service is creating 5 connections within a minute. I am thinking, this service is consuming our server resource, which is cauing a problem.
    Do you have any idea?
    Regards

  • Rotating logs in OC4J SO?

    Is there a way to configure OC4J stand alone version so that I can have access logs automatically rotated when the logs reach a certain size or when a period of time has elapsed? Ideally I would like to be able to pipe the web site access logs (and others) to a tool such as cronolog that handles log file rotation. I've tried to modify the http-web-site.xml file entry for the path to the access log so that it pipes to cronolog, but oc4j barfs. Anybody out there have any ideas?

    You can rotate logs in OC4J 9.0.4 using ODL. Please look at the OC4J Standalone userguide at http://download-west.oracle.com/docs/cd/B12314_01/web.904/b10323/advanced.htm#1015201
    regards
    Debu

  • Java Logging in OC4J

    I use the Java Logging API in several web applications. Now I need to deploy these applications to OC4J.
    In the standalone version of OC4J 10.1.3 I can the log messages in the console. But I would like to see the log messages in the Enterprise Manager.
    In the Enterprise Manager there is an application.log file for each web application. How can I direct my java logging messages to these files? Or something similar so that I can browse/search the log messages in the Enterprise Manager ?
    I have tried to read everything I can find on the OTN web site. The developers guide has something on logging, but I can not get it to work.
    Can anyone please provide me with some glues/guidelines/short example on how I can get this to work?

    Onw way of writting to these files is to use the log methods in GenericServlet (inherited by HttpServlet):
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/GenericServlet.html#log(java.lang.String)
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/GenericServlet.html#log(java.lang.String, java.lang.Throwable)
    or these log methods in ServletContext:
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#log(java.lang.String)
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#log(java.lang.String, java.lang.Throwable)
    I have done this succesfully.
    Chris

  • Access Logging in OC4J

    I can get the various websites like the default-web-site to output access log information but they never have userid info in them, only "- -" even users are logged in. No userids appear in OHS access logs either. Apps frontended by SiteMinder have both REMOTE_USER and SMSESSION populated but no userid makes it into the access logs. Any ideas?

    I'd never done it, but it does look like you can specify a format for the access-log entries:
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b14432/website.htm#BABFGJHD
    The format string looks like it supports a field called $user, which may give you what you want.
    As a test, using OC4J 10.1.3.3, I just set mine up as follows in default-web-site.xml:
    <web-app application="ascontrol" name="ascontrol" load-on-startup="true" root="/em" ohs-routing="false" access-log="true"/>
    <access-log path="../log/default-web-access.log" format="$ip - $user '$request' $status $size"/>
    I then started OC4J, accessed the ascontrol application and logged in as the oc4jadmin user.
    In the access log, the following entries were produced that clearly lists the user I logged in as:
    127.0.0.1 - - - [127.0.0.1 - - 'GET /em/console/ias/oc4j/home HTTP/1.1' 200 9654
    127.0.0.1 - 'oc4jadmin' 'POST /em/j_security_check HTTP/1.1' 302 207
    127.0.0.1 - 'oc4jadmin' 'GET /em/console/postLogon HTTP/1.1' 200 4731
    127.0.0.1 - 'oc4jadmin' 'POST /em/console/postLogon HTTP/1.1' 302 180
    127.0.0.1 - 'oc4jadmin' 'GET /em/console/ HTTP/1.1' 302 156
    127.0.0.1 - 'oc4jadmin' 'GET /em/ HTTP/1.1' 200 185
    127.0.0.1 - 'oc4jadmin' 'GET /em/console/ias/oc4j/home HTTP/1.1' 200 21610
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/cghee.gif HTTP/1.1' 200 76
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/cghes.gif HTTP/1.1' 200 109
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/cstlu.gif HTTP/1.1' 200 43
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/en/bRestOXOP.gif HTTP/1.1' 200 460
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/en/bStopDwKu.gif HTTP/1.1' 200 426
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/cstru.gif HTTP/1.1' 200 44
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/cstll.gif HTTP/1.1' 200 44
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/cghec.gif HTTP/1.1' 200 93
    127.0.0.1 - 'oc4jadmin' 'GET /em/cabo/images/cache/cstrl.gif HTTP/1.1' 200 43
    127.0.0.1 - 'oc4jadmin' 'GET /em/images/trafficGreen.gif HTTP/1.1' 200 1213
    127.0.0.1 - 'oc4jadmin' 'GET /em/dynamicImage/emSDK/chart/EmChartBean?beanId=D659A5D6B83129E7F46647BB382F045B.gif HTTP/1.1' 200 3359

  • PURGE default_group~home~default_group~1.log WHEN OC4J is UP

    Anybody knows?
    Regards,
    bj

    http://kaukovuo.blogspot.com/2006/02/oc4j-904-1012-and-1013-log-file.html
    this thread is also discussing your problem :
    SOA 10.1.3 log file size

  • How to view logs of web application deployed in oc4j

    Hi,
    I have my oc4j server running, I have deployed a web application under instance DCG.
    Please let us know, where can I find the logs of my application.
    Thanks,
    Nagesh.

    Usually while deploying a application through "Oracle Enterprise Manager 10g Application Server Control" we specify the log and configuration path needed for developed application provided developer has developed the application to store the logs. by default all logs will be there in opmn logs.
    you can have a look on following locations
    +$ORACLE_HOME/opmn/logs/DCG~OC4J* <OC4J name>+
    or
    +$ORACLE_HOME/j2ee/<OC4J>/log/<OC4J>/oc4j/log.xml+
    Hv a good day!
    Edited by: KuldeepSingh on 16-Jan-2012 19:40

  • OC4J and Logging

    Hi,
    I'm trying to figure out how to send all my logging information from a deployed application to OC4J's application.xml? I've read the documentation on logging and it was not very helpful.
    Any help would be appreciated. We would probably implement Java's logging framework but have yet to figure out how to connect our custom deployed application logging to OC4J's logging.
    Thank you.
    -John

    Hi ,
    I was finally able to see my custom log through Application Server Control.Hope this helps someone in the future.
    First I tried adding an entry like
    <log>
    <odl path="../log/Application1-Project11-WS/" max-file-size="1000" max-directory-size="10000" />
    </log> to the applications orion-application.xml. (http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/web.1013/b14432/logadmin.htm)
    This created a log.xml (xml version of application.log) in ORACLE_HOME/j2ee/instance_name/application-deployments/log/instance_name_default_group_1/Application1-Project11-WS folder. This could be viewed through AS Control Logs->OC4J-><instance name>-><Application name> -> Diagnostic message logs ->log.xml.
    Now since I wanted my custom log to appear in the same location, I removed my changes in orion-application.xml and changed my path in j2ee-logging.xml to the same path where log.xml was earlier created.
    I set the path as follows:
    <log_handler name="integration-handler" class="oracle.core.ojdl.logging.ODLHandlerFactory">
    <property name="path" value="%ORACLE_HOME%/j2ee/%OPMN_PROC_TYPE%/application-deployments/log/%OPMN_PROC_TYPE%_%OPMN_PROC_SET%_%OPMN_PROC_INDEX%/Application1-Project11-WS/"/>
    <property name="maxFileSize" value="10485760"/>
    <property name="maxLogSize" value="104857600"/>
    <property name="encoding" value="UTF-8"/>
    <property name="supplementalAttributes" value="J2EE_APP.name,J2EE_MODULE.name,WEBSERVICE.name,WEBSERVICE_PORT.name"/>
    </log_handler>
    <loggers>
    <logger name="oracle.integration" level="ERROR:1" useParentHandlers="false">
    <handler name="integration-handler"/>
    </logger>
    </loggers>
    where Application1-Project11-WS is the application name.
    and my java class calls :
    Logger theLogger = Logger.getLogger("oracle.integration");
    theLogger.severe(text);
    thanks
    Message was edited by:
    soaUser
    Message was edited by:
    soaUser

  • Directing Log4J messages into OC4J log file

    Hi,
    We currently have a web application that is running on Tomcat. We want to migrate that application over to OC4J. The application currently uses Log4J for messages. What do I have to do to have the application still write to the log4j logs.
    Thanks,
    J

    Try this:
    http://buttso.blogspot.com/2007/09/directing-log4j-logs-into-oc4j-logging.html
    The application still issues log messages via log4j, but you as an administrator can configure OC4J so that the log4j messages get captured in the OC4J log system so they can be viewed using the log viewer mechanism of OC4J.
    -steve-

  • Application restart not working in oc4j

    I have an application that runs if I stop and start oc4j using stop and start options, but if I restart from em console it does not work properly eventhough em says the status is up.
    Using oc4j 10.1.3.3
    The application starts thread in ContextInitialzed() method of ServletListener which implements ServlerContextListener. Does it have to do anything with that.
    Also the application does not log to the logger which is set using JVMARGS -Djava.util.logging.config.file in oc4j.cmd file. It logs when oc4j is stopped and started.
    Any ideas?

    Greetings,
    Are you looking in j2ee/home/log/oc4j/log.xml for your log information? Also, you can set the level of logging to FINEST in your j2ee-logging.xml. Once this is done please post the logging info relevant to your issue.
    -Mike

  • Problem with Embedded OC4J: Address already in use: JVM_Bind

    When I try to run a Servlet in JDeveloper 10g it works fine. But when I stop the Embedded OC4J and try to run the Servlet again, the following message appears in the log:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle\ora10g\jdev\jdk\bin\javaw.exe -hotspot -classpath C:\oracle\ora10g\jdev\j2ee\home\oc4j.jar;C:\oracle\ora10g\jdev\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\oracle\ora10g\jdev\jdev\system9.0.5.0.0.1375\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    03/10/23 14:23:01 Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind
    Process exited with exit code 7.
    What could be causing this problem?
    Thanks in advance!

    Modify the config/rmi.xml file to have the host attribute in the tag as follows:
    <rmi-server port="23791" host="server-ip-address">
    </rmi-server>
    After that, place the log4j-your-jdev-version.jar in appserverhome/j2ee/home/lib folder.
    Restart the server. The bind problem would disappear.
    Hope this solves your problem :-)
    Ramesh

  • Rendering problem ADF Faces OC4J

    Hello to everybody , I was trying to install ADF Faces with the new Jdeveloper , but we I run the demo, I don't get anything. I followed all the instructions of
    http://www.oracle.com/technology/products/jdev/howtos/10g/adfjsf/how-to-adf-faces-10gjdev.htm
    This is the log of OC4J
    07/08/2005 03:44:06 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    ADVERTENCIA: Could not find renderer for CoreOutputText[OutputTextFacesBean, id=text1], rendererType = oracle.adf.Text

    Hi,
    this one worked for me
    <h:form binding="#{backing_untitled1.form1}" id="form1">
    <af:commandLink text="Click me"
    binding="#{backing_untitled1.commandLink1}"
    id="commandLink1" partialSubmit="true"
    action="#{backing_untitled1.commandLink1_action}"/>
    <af:outputText value="Message"
    binding="#{backing_untitled1.outputText1}"
    id="outputText1" partialTriggers="commandLink1"/>
    </h:form>
    The action called sets a new value to the output text
    public String commandLink1_action()
    // Add event code here...
    this.getOutputText1().setValue("Hello");
    return null;
    Frank

  • Deploy to OC4J standaone problem

    Dears,
    I developed an application in jdev 10.2 and it works successfully with embedded OC4J, but when deploy to OC4J standalone or Tomcat it doesn't work.
    I use JSON in my application.
    The log (for OC4J standalone and Tomcat) is empty from errors and exceptions, Only
    JSONRPCBridge.analyzeClass analyzing package1name.package2name.package3name.DAO.classNmaeDAO
    is written and my code didn't work and JSP is empty.
    Any ideas, what may be the problem there???

    When I deploy to oc4j from jdev... I get an error.
    Unknown site: http-web-site
    How do I figure out what my http site is via my oc4j configuration?
    I know in my Connection properties for oc4j in jdev, there is a target web site property where I entered "http-web-site", thinking this was the correct target.
    Thanks. Look in <oracle_home>\j2ee\home\config\server.xml
    Web sites are defined by the web-site entry. E.g
    <web-site path="./http-web-site.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    Dhiraj

  • How to configure OC4J using RMI/IIOP with SSL

    Any help?
    I just mange configure the OC4J using RMI/IIOP but base on
    But when I follow further to use RMI/IIOP with SSL I face the problem with: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    p/s: I use self generate keystore which should be ok as I can use it for https connection.
    Any one can help?
    Below is the OC4J log:
    D:\oc4j\j2ee\home>java -Djavax.net.debug=all -DGenerateIIOP=true -Diiop.runtime.debug=true -jar oc4j.jar
    05/02/23 16:43:16 ================ IIOPServerExtensionProvider.preInitApplicationServer
    05/02/23 16:43:38 ================= IIOPServerExtensionProvider.postInitApplicationServer
    05/02/23 16:43:38 ================== config = {SEPS={IIOP={ssl-port=5556, port=5555, ssl=true, trusted-clients=*, ssl-client-server-auth-port=5557, keystore=D:\\oc4j\\j2ee\\home\\server.keystore, keystore-password=123456, truststore=D:\\oc4j\\j2ee\\home\\server.keystore, truststore-password=123456, ClassName=com.oracle.iiop.server.IIOPServerExtensionProvider, host=localhost}}}
    05/02/23 16:43:38 ================== server.getAttributes() = {threadPool=com.evermind.server.ApplicationServerThreadPool@968fda}
    05/02/23 16:43:38 ================== pool: null
    05/02/23 16:43:38 ====================== In startServer ...
    05/02/23 16:43:38 ==================== Creating an IIOPServer ...
    05/02/23 16:43:38 ========= IIOP server being initialized
    05/02/23 16:43:38 SSL port: 5556
    05/02/23 16:43:38 SSL port 2: 5557
    05/02/23 16:43:43 com.sun.corba.ee.internal.iiop.GIOPImpl(Thread[Orion Launcher,5,main]): getEndpoint(IIOP_CLEAR_TEXT, 5555, null)
    05/02/23 16:43:43 com.sun.corba.ee.internal.iiop.GIOPImpl(Thread[Orion Launcher,5,main]): createListener( socketType = IIOP_CLEAR_TEXT port = 5555 )
    05/02/23 16:43:44 com.sun.corba.ee.internal.iiop.GIOPImpl(Thread[Orion Launcher,5,main]): getEndpoint(SSL, 5556, null)
    05/02/23 16:43:44 com.sun.corba.ee.internal.iiop.GIOPImpl(Thread[Orion Launcher,5,main]): createListener( socketType = SSL port = 5556 )
    05/02/23 16:43:45 ***
    05/02/23 16:43:45 found key for : mykey
    05/02/23 16:43:45 chain [0] = [
    Version: V1
    Subject: CN=Server, OU=Bar, O=Foo, L=Some, ST=Where, C=UN
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    b1239fff 2ae5d31d b01a0cfb 1186bae0 bbc7ac41 94f24464 e92a7e33 6a5b0844
    109e30fb d24ad770 99b3ff86 bd96c705 56bf2e7a b3bb9d03 40fdcc0a c9bea9a1
    c21395a4 37d8b2ce ff00eb64 e22a6dd6 97578f92 29627229 462ebfee 061c99a4
    1c69b3a0 aea6a95b 7ed3fd89 f829f17e a9362efe ccf8034a 0910989a a8573305
    Validity: [From: Wed Feb 23 15:57:28 SGT 2005,
                   To: Tue May 24 15:57:28 SGT 2005]
    Issuer: CN=Server, OU=Bar, O=Foo, L=Some, ST=Where, C=UN
    SerialNumber: [    421c3768]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 34 F4 FA D4 6F 23 7B 84 30 42 F3 5C 4B 5E 18 17 4...o#..0B.\K^..
    0010: 73 69 73 A6 BF 9A 5D C0 67 8D C3 56 DF A9 4A AC sis...].g..V..J.
    0020: 88 AF 24 28 C9 39 16 22 29 81 01 93 86 AA 1A 5D ..$(.9.")......]
    0030: 07 89 26 22 91 F0 8F DE E1 4A CF 17 9A 02 51 7D ..&".....J....Q.
    0040: 92 D3 6D 9B EF 5E C1 C6 66 F9 11 D4 EB 13 8F 17 ..m..^..f.......
    0050: E7 66 58 9F 6C B0 60 7C 39 B4 E0 B7 04 A7 7F A6 .fX.l.`.9.......
    0060: 4D A5 89 E7 F4 8A DC 59 B4 E7 A5 D4 0A 35 9A F1 M......Y.....5..
    0070: A2 CD 3A 04 D6 8F 16 B1 9E 6F 34 40 E8 C0 47 03 ..:[email protected].
    05/02/23 16:43:45 ***
    05/02/23 16:43:45 adding as trusted cert:
    05/02/23 16:43:45 Subject: CN=Client, OU=Bar, O=Foo, L=Some, ST=Where, C=UN
    05/02/23 16:43:45 Issuer: CN=Client, OU=Bar, O=Foo, L=Some, ST=Where, C=UN
    05/02/23 16:43:45 Algorithm: RSA; Serial number: 0x421c3779
    05/02/23 16:43:45 Valid from Wed Feb 23 15:57:45 SGT 2005 until Tue May 24 15:57:45 SGT 2005
    05/02/23 16:43:45 adding as trusted cert:
    05/02/23 16:43:45 Subject: CN=Server, OU=Bar, O=Foo, L=Some, ST=Where, C=UN
    05/02/23 16:43:45 Issuer: CN=Server, OU=Bar, O=Foo, L=Some, ST=Where, C=UN
    05/02/23 16:43:45 Algorithm: RSA; Serial number: 0x421c3768
    05/02/23 16:43:45 Valid from Wed Feb 23 15:57:28 SGT 2005 until Tue May 24 15:57:28 SGT 2005
    05/02/23 16:43:45 trigger seeding of SecureRandom
    05/02/23 16:43:45 done seeding SecureRandom
    05/02/23 16:43:45 com.sun.corba.ee.internal.iiop.GIOPImpl(Thread[Orion Launcher,5,main]): getEndpoint(SSL_MUTUALAUTH, 5557, null)
    05/02/23 16:43:45 com.sun.corba.ee.internal.iiop.GIOPImpl(Thread[Orion Launcher,5,main]): createListener( socketType = SSL_MUTUALAUTH port = 5557 )
    05/02/23 16:43:45 matching alias: mykey
    matching alias: mykey
    05/02/23 16:43:46 ORB created ..com.oracle.iiop.server.OC4JORB@65b738
    05/02/23 16:43:47 com.sun.corba.ee.internal.corba.ClientDelegate(Thread[Orion Launcher,5,main]): invoke(ClientRequest) called
    05/02/23 16:43:47 com.oracle.iiop.server.OC4JORB(Thread[Orion Launcher,5,main]): process: dispatching to scid 2
    05/02/23 16:43:47 com.oracle.iiop.server.OC4JORB(Thread[Orion Launcher,5,main]): dispatching to sc [email protected]7
    05/02/23 16:43:48 com.sun.corba.ee.internal.corba.ClientDelegate(Thread[Orion Launcher,5,main]): invoke(ClientRequest) called
    05/02/23 16:43:48 com.oracle.iiop.server.OC4JORB(Thread[Orion Launcher,5,main]): process: dispatching to scid 2
    05/02/23 16:43:48 com.oracle.iiop.server.OC4JORB(Thread[Orion Launcher,5,main]): dispatching to sc com.sun.corba.ee.internal.corba.ServerDelegate@9300cc
    05/02/23 16:43:48 com.sun.corba.ee.internal.corba.ServerDelegate(Thread[Orion Launcher,5,main]): Entering dispatch method
    05/02/23 16:43:48 com.sun.corba.ee.internal.corba.ServerDelegate(Thread[Orion Launcher,5,main]): Consuming service contexts, GIOP version: 1.2
    05/02/23 16:43:48 com.sun.corba.ee.internal.corba.ServerDelegate(Thread[Orion Launcher,5,main]): Has code set context? false
    05/02/23 16:43:48 com.sun.corba.ee.internal.corba.ServerDelegate(Thread[Orion Launcher,5,main]): Dispatching to servant
    05/02/23 16:43:48 com.sun.corba.ee.internal.corba.ServerDelegate(Thread[Orion Launcher,5,main]): Handling invoke handler type servant
    05/02/23 16:43:48 NS service created and started ..org.omg.CosNaming._NamingContextExtStub:IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e30000000000001000000000000007c000102000000000c31302e312e3231342e31310015b3000000000031afabcb0000000020d309e06a0000000100000000000000010000000c4e616d65536572766963650000000004000000000a0000000000000100000001000000200000000000010001000000020501000100010020000101090000000100010100
    05/02/23 16:43:48 NS ior = ..IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e30000000000001000000000000007c000102000000000c31302e312e3231342e31310015b3000000000031afabcb0000000020d309e06a0000000100000000000000010000000c4e616d65536572766963650000000004000000000a0000000000000100000001000000200000000000010001000000020501000100010020000101090000000100010100
    05/02/23 16:43:48 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    05/02/23 16:45:14 com.sun.corba.ee.internal.iiop.ConnectionTable(Thread[JavaIDL Listener,5,main]): Server getConnection(119e583[Unknown 0x0:0x0: Socket[addr=/127.0.0.1,port=1281,localport=5556]], SSL)
    05/02/23 16:45:14 com.sun.corba.ee.internal.iiop.ConnectionTable(Thread[JavaIDL Listener,5,main]): host = 127.0.0.1 port = 1281
    05/02/23 16:45:14 com.sun.corba.ee.internal.iiop.ConnectionTable(Thread[JavaIDL Listener,5,main]): Created connection Connection[type=SSL remote_host=127.0.0.1 remote_port=1281 state=ESTABLISHED]
    com.sun.corba.ee.internal.iiop.MessageMediator(Thread[JavaIDL Reader for 127.0.0.1:1281,5,main]): Creating message from stream
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, handling exception: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, SEND TLSv1 ALERT: fatal, description = unexpected_message
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, WRITE: TLSv1 Alert, length = 2
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, called closeSocket()
    05/02/23 16:45:14 com.sun.corba.ee.internal.iiop.ReaderThread(Thread[JavaIDL Reader for 127.0.0.1:1281,5,main]): IOException in createInputStream: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05/02/23 16:45:14 javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05/02/23 16:45:14 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.d(DashoA12275)
    05/02/23 16:45:14 at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA12275)
    05/02/23 16:45:14 at com.sun.corba.ee.internal.iiop.messages.MessageBase.readFully(MessageBase.java:520)
    05/02/23 16:45:14 at com.sun.corba.ee.internal.iiop.messages.MessageBase.createFromStream(MessageBase.java:58)
    05/02/23 16:45:14 at com.sun.corba.ee.internal.iiop.MessageMediator.processRequest(MessageMediator.java:110)
    05/02/23 16:45:14 at com.sun.corba.ee.internal.iiop.IIOPConnection.processInput(IIOPConnection.java:339)
    05/02/23 16:45:14 at com.sun.corba.ee.internal.iiop.ReaderThread.run(ReaderThread.java:63)
    05/02/23 16:45:14 Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05/02/23 16:45:14 at com.sun.net.ssl.internal.ssl.InputRecord.b(DashoA12275)
    05/02/23 16:45:14 at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA12275)
    05/02/23 16:45:14 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    05/02/23 16:45:14 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
    05/02/23 16:45:14 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    05/02/23 16:45:14 ... 6 more
    05/02/23 16:45:14 com.sun.corba.ee.internal.iiop.IIOPConnection(Thread[JavaIDL Reader for 127.0.0.1:1281,5,main]): purge_calls: starting: code = 1398079696 die = true
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, called close()
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, called closeInternal(true)
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, called close()
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, called closeInternal(true)
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, called close()
    05/02/23 16:45:14 JavaIDL Reader for 127.0.0.1:1281, called closeInternal(true)
    05/02/23 16:45:14 com.sun.corba.ee.internal.iiop.ConnectionTable(Thread[JavaIDL Reader for 127.0.0.1:1281,5,main]): DeleteConn called: host = 127.0.0.1 port = 1281

    Good point, I do belive what you are referring to is this:
    Any client, whether running inside a server or not, has EJB security properties. Table 15-2 lists the EJB client security properties controlled by the ejb_sec.properties file. By default, OC4J searches for this file in the current directory when running as a client, or in ORACLE_HOME/j2ee/home/config when running in the server. You can specify the location of this file explicitly with the system property setting -Dejb_sec_properties_location=pathname.
    Table 15-2 EJB Client Security Properties
    Property Meaning
    # oc4j.iiop.keyStoreLoc
    The path and name of the keystore. An absolute path is recommended.
    # oc4j.iiop.keyStorePass
    The password for the keystore.
    # oc4j.iiop.trustStoreLoc
    The path name and name of the truststore. An absolute path is recommended.
    # oc4j.iiop.trustStorePass
    The password for the truststore.
    # oc4j.iiop.enable.clientauth
    Whether the client supports client-side authentication. If this property is set to true, you must specify a keystore location and password.
    # oc4j.iiop.ciphersuites
    Which cipher suites are to be enabled. The valid cipher suites are:
    TLS_RSA_WITH_RC4_128_MD5
    SSL_RSA_WITH_RC4_128_MD5
    TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
    SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
    TLS_RSA_EXPORT_WITH_RC4_40_MD5
    SSL_RSA_EXPORT_WITH_RC4_40_MD5
    TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
    SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
    nameservice.useSSL
    Whether to use SSL when making the initial connection to the server.
    client.sendpassword
    Whether to send user name and password in clear form (unencrypted) in the service context when not using SSL. If this property is set to true, the user name and password are sent only to servers listed in the trustedServer list.
    oc4j.iiop.trustedServers
    A list of servers that can be trusted to receive passwords sent in clear form. This has no effect if client.sendpassword is set to false. The list is comma-delimited. Each entry in the list can be an IP address, a host name, a host name pattern (for example, *.example.com), or * (where "*" alone means that all servers are trusted.

  • ODL log file registration in 10.1.0.2 with B2B installed

    Hi,
    we enabled ODL to default log file for our application by adding this handler
    <!-- In live deployment useParentHandlers='false' to disable console logging -->     
    <logger name='com.gem.ws.proxy' level='INFO' useParentHandlers='true'>
    <handler name='oc4j-handler'/>
    </logger>
    to j2ee-logging.xml for our OC4J instamce.
    It seems that default ODL log file in j2ee/home/log/home_default_island_1/oc4j is not registred by OAS log viewer.
    I tried to experiment with editing files in diagnostics/config/registration and I succeeded only with adding :
    <log path='j2ee/home/log/home_default_island_1/oc4j' componentId='OC4J'>
         <logreader type='ODL'/>
         <logviewer ComponentName='home' ComponentType="OC4J"
              LogType='OC4J_APPLICATION'/>
    </log>
    to INTEGB2B.xml
    However this is not clear solution and ODL log file is registred under incorect attributes. I need to edit the OC4J_logs.xml and register my ODL file here, but I was unable to get it work after many experiments.
    Could anybody post valid XML to register default ODL file in logviewer of OAS 10.1.2???

    user469244,
    I assume you are referring to Oracle's JDBC driver. I am unfamiliar with the "oracle.jar" file. I use the "ojdbc14.jar" file and it does contain the "oracle.jdbc.driver.DatabaseError" class. What is this "oracle.jar" file you mention?
    Perhaps you could post the entire error message (and stack trace) you are getting, as well as the section of your code that is causing the error?
    Good Luck,
    Avi.

Maybe you are looking for

  • Unable to update the VAT_CODE column through supplier sites API

    Hi, I'm unable to update the vat code column of the ap_supplier_sites_all table using the ap_vendor_pub_pkg.update_vendor_site API.Oracle application instance 12.1.3 and OS linux.Please find the code below.I'm able to update other feilds,but not the

  • HTTP server: ORDS or Tomcat or Apache

    Our current APEX configuration uses Oracle OHS with mod_plsql on Linux. In this situation, it is clear that the browser connects to OHS, makes a HTTP request and OHS hands that request to the APEX engine in the Oracle Database via mod_plsql which sat

  • I have made an animation, how do I change a gif to an Mv4.

    I have made a short animation, how do I change a gif to an Mv4 so I can upload it to make an e-book

  • Speeding up and slowing down the same clip

    Hi all, Quite new to editing so sorry if this is a basic question but I have a single clip I want to speed up for a few seconds and then slow it right down or pause it even before letting it run at normal speed. How can I do this in FCPX without cutt

  • Restore data from the Sparsebundle

    I'm trying to restore data from my dead Time Capsule to a new iMac. I extracted the sparsebundle from the TC hard drive by plugging it into a Mac Pro. I don't want to have to buy a SATA casement. I have the sparsebundle from the TC hard drive on the