Oc4j (oc4j_extended_101340.zip) - Log

hi,
I have installed oc4j (oc4j_extended_101340.zip) and i have installed FOP for apex pdf printing in that.
Now i want to enable Log for that and also i want the exact Location where the log will get generated it it is enabled by default.
Regds
Murali

For internal questions please use the internal mailing lists...
--olaf                                                                                                                                                                                       

Similar Messages

  • Archived zip logs with 0 kb

    Hi all,
    I set some Logs Categories and Logs Destinations for some applications JWD in my WebAS. Since these logs are archived in the zip folder /logs/archives when they reach 10 mb. However, these zip files are always getting 0 kb.
    Someone could provide some help.
    regards,
    Angelo

    Hi Angelo,
    Can you please make me clear about how you set the archive rules?
    Thanks,
    Siva Kumar

  • OC4J AQ/JMS - Logging DriverManagerConnectionPoolConnection not closed

    Hi,
    Since I do not directly utilise JDBC resource, I cannot work out how I might investigate this supposed leak.
    Every now and then (and it does appear to happen sporadically - I cannot identify a pattern), I get the
    messages.
    DriverManagerConnectionPoolConnection not closed, check your code!
    I turned the logging on (using -Djdbc.connection.debug=true), and the following exceptions is thrown:
    Created at:
    java.lang.Throwable: DriverManagerConnectionPoolConnection created
    at com.evermind.sql.DriverManagerConnectionPoolConnection.<init>(DriverManagerConnectionPoolConnection.java:27)
    at com.evermind.sql.DriverManagerPooledConnection.getNewLogicalConnection(DriverManagerPooledConnection.java:341)
    at com.evermind.sql.DriverManagerPooledConnection.getConnection(DriverManagerPooledConnection.java:117)
    at com.evermind.sql.OrionPooledDataSource.getConnection(OrionPooledDataSource.java:235)
    at com.evermind.sql.DriverManagerXADataSource.getNonAutoCommitConnection(DriverManagerXADataSource.java:285)
    at com.evermind.sql.DriverManagerXAConnection.start(DriverManagerXAConnection.java:101)
    at com.evermind.server.TransactionEnlistment.<init>(TransactionEnlistment.java:45)
    at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:247)
    at com.evermind.sql.OrionCMTConnection.tryToDelistEnlist(OrionCMTConnection.java:308)
    at com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:112)
    at com.evermind.sql.FilterConnection.getTypeMap(FilterConnection.java:135)
    at com.evermind.sql.FilterConnection.getTypeMap(FilterConnection.java:136)
    at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:1240)
    at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:981)
    at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:918)
    at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:834)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:905)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:479)
    Here is the ejb.jar sections of interest:
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>jms/MessageQueueConnectionFactory</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/MessageSendQueue</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/MessageStatusQueue</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    Here is the orion-ejb.jar <enterprise-beans> definition:
    <enterprise-beans>
         <message-driven-deployment name="MessagingServer" destination-location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_SEND_QUEUE" connection-factory-location="java:comp/resource/CallistaMessagingJMSContext/QueueConnectionFactories/jmsFactory" max-instances="100">
         <resource-ref-mapping name="jms/MessageQueueConnectionFactory" location="java:comp/resource/CallistaMessagingJMSContext/QueueConnectionFactories/jmsFactory" />
         <resource-env-ref-mapping name="jms/MessageSendQueue" location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_SEND_QUEUE" />
         <resource-env-ref-mapping name="jms/MessageStatusQueue" location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_STATUS_QUEUE" />
         </message-driven-deployment>
    </enterprise-beans>
    The orion-application.xml has the following resource provider mapping for the OJMS Context:
    <resource-provider class="oracle.jms.OjmsContext" name="CallistaMessagingJMSContext">
    <description> OJMS/AQ </description>
    <property name="datasource" value="jdbc/ejb/CallistaMessageOwnerDS" />
    </resource-provider>
    Here is the matching 'jdbc/ejb/CallistaMessageOwnerDS' datasource definition for the JMS:
    <data-source
         class="com.evermind.sql.DriverManagerDataSource"
         name="CallistaMessageOwnerJDBCDatasource"
         location="jdbc/CallistaMessageOwnerCoreDS"
         xa-location="jdbc/xa/CallistaMessageOwnerXADS"
         ejb-location="jdbc/ejb/CallistaMessageOwnerDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
         username="*********"
         password="****"
              url="jdbc:oracle:thin:@myhost.com.au:1529:ORCL"
         inactivity-timeout="30"
    />
    I would appreciate any input into any mistakes I may have made (perhaps I need to use a different datasource, or define it in a different way)
    Any help - including an indication that this is an error I can safely ignore :-) would be appreciated.
    Thanks
    Jason

    I'm have the same issue. I'm currently trying to seen if the Oracle 9.2.0.5.0 patch corrects the issue (waiting for the file down load). There is a known issue in Oracle and cleaning up Inactive connections. I assuming the two are related ... I hope it works.

  • OC4J Newbie:  How to configure oc4j em console

    I have recently downloaded the oc4j_extended_101340.zip and followed the installation procedures. After issuing the java -jar oc4j.jar (from $J2EE_HOME), I am able to access the http://<hostname>:8888 URL with success. However, when I click the link to manage the oc4j instance (http://<hostname>:8888/em) I am redirected to (http://<hostname>:8888/em/console/ias/oc4j/home), but receive an internal server error 500. Is there something I'm missing?

    After modifying the j2ee-logging.xml file for increased tracing and restarting the oc4j instance (output follows)...
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.init Creating MBeanServer for domain oc4j
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering J2EELogging MBean with MBeanServer
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering the J2EEDomain MBean with MBeanServer
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering the EJBCompiler MBean with MBeanServer
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering the Compiler MBean with MBeanServer
    08/09/09 09:20:52 FINER: UseDeploymentLockFile.installIfNeeded File lock hooks not installed
    08/09/09 09:20:59 FINER: LocalizationFilterMBeanServer.registerMBean register mbean: default:type=OracleASJMSConnector,name=OracleASjms,providerType=OracleASJMS
    2008-09-09 09:21:01.425 NOTIFICATION J2EE HTTP-00011 Http server listener initialized on port: 8888
    2008-09-09 09:21:01.437 NOTIFICATION J2EE HTTP-00012 Starting web site: file:/data/oracle/product/10.2/oc4j-standalone/j2ee/home/config/default-web-site.xml
    2008-09-09 09:21:01.478 NOTIFICATION J2EE HTTP-00014 Starting web application: fop
    08/09/09 09:21:01 FINEST: JspPageTable.<init> Initializing JspPageTable
    08/09/09 09:21:01 FINEST: JspPageTable.<init> Servlet Config = com.evermind.server.http.EvermindServletConfig@16999c8
    08/09/09 09:21:01 FINEST: JspPageTable.<init> JspServlet Instance =oracle.jsp.runtimev2.JspServlet@1ef3d12
    08/09/09 09:21:01 FINEST: JspPageTable.<init> pageRepositoryRoot = /data/oracle/product/10.2/oc4j-standalone/j2ee/home/application-deployments/default/fop/persistence/_pages
    08/09/09 09:21:01 FINEST: JspPageTable.<init> justRunShortCut = false
    08/09/09 09:21:01 FINEST: JspPageTable.<init> jsp-timeout = 0
    08/09/09 09:21:01 FINEST: JspPageTable.<init> TldCache= oracle.jsp.parse.tldcache.ApplicationTldCacheImpl@1927504
    2008-09-09 09:21:01.997 NOTIFICATION J2EE HTTP-00015 Web application: fop started
    2008-09-09 09:21:01.998 NOTIFICATION J2EE HTTP-00014 Starting web application: dms0
    2008-09-09 09:21:01.998 NOTIFICATION J2EE HTTP-00015 Web application: dms0 started
    2008-09-09 09:21:01.999 NOTIFICATION J2EE HTTP-00014 Starting web application: dms0
    2008-09-09 09:21:01.999 NOTIFICATION J2EE HTTP-00015 Web application: dms0 started
    2008-09-09 09:21:02.000 NOTIFICATION J2EE HTTP-00014 Starting web application: JMXSoapAdapter-web
    2008-09-09 09:21:02.000 NOTIFICATION J2EE HTTP-00015 Web application: JMXSoapAdapter-web started
    2008-09-09 09:21:02.000 NOTIFICATION J2EE HTTP-00014 Starting web application: jmsrouter_web
    08/09/09 09:21:02 FINEST: JspPageTable.<init> Initializing JspPageTable
    08/09/09 09:21:02 FINEST: JspPageTable.<init> Servlet Config = com.evermind.server.http.EvermindServletConfig@1c37b8f
    08/09/09 09:21:02 FINEST: JspPageTable.<init> JspServlet Instance =oracle.jsp.runtimev2.JspServlet@e51960
    08/09/09 09:21:02 FINEST: JspPageTable.<init> pageRepositoryRoot = /data/oracle/product/10.2/oc4j-standalone/j2ee/home/application-deployments/default/jmsrouter_web/persistence/_pages
    08/09/09 09:21:02 FINEST: JspPageTable.<init> justRunShortCut = false
    08/09/09 09:21:02 FINEST: JspPageTable.<init> jsp-timeout = 0
    08/09/09 09:21:02 FINEST: JspPageTable.<init> TldCache= oracle.jsp.parse.tldcache.ApplicationTldCacheImpl@e51510
    08/09/09 09:21:02 FINER: MsgRouterMBeanServlet.init MsgRouterMBeanServlet initializing
    08/09/09 09:21:02 FINER: MsgRouterMBean.<init> Created MsgRouterMBean: oracle.j2ee.jmsrouter.mbean.MsgRouterMBean@1cc5af0
    08/09/09 09:21:02 FINER: MsgRouterMBean.postRegister ENTRY
    08/09/09 09:21:02 FINER: JMXStateImpl.Context getApplicationJndiContext() ENTRY
    08/09/09 09:21:02 FINER: JMXStateImpl.getApplicationJndiContext appName_: default
    08/09/09 09:21:02 FINER: JMXStateImpl.Context getApplicationJndiContext() RETURN application default context
    08/09/09 09:21:02 FINER: AdminMgrBean.ejbCreate AdminMgrBean created: oracle.j2ee.jmsrouter.ejb.AdminMgrBean@18c668c
    08/09/09 09:21:02 FINER: MsgRouterMBean.fireXMLConfigEvent ENTRY
    08/09/09 09:21:02 FINER: MsgRouterMBean.fireXMLConfigEvent RETURN
    08/09/09 09:21:02 FINE: Oc4jJmsMbeanAccessor.registerXMLConfigListener Registered XMLConfigListener
    08/09/09 09:21:02 FINER: MsgRouterMBean.postRegister RETURN
    08/09/09 09:21:02 FINER: LocalizationFilterMBeanServer.registerMBean register mbean: default:j2eeType=OracleASJMSRouter
    08/09/09 09:21:02 FINE: MsgRouterMBeanServlet.registerMBean Registered Message Router MBean
    2008-09-09 09:21:02.235 NOTIFICATION J2EE HTTP-00015 Web application: jmsrouter_web started
    2008-09-09 09:21:02.236 NOTIFICATION J2EE HTTP-00014 Starting web application: javasso-web
    2008-09-09 09:21:02.237 NOTIFICATION J2EE HTTP-00015 Web application: javasso-web started
    2008-09-09 09:21:02.237 NOTIFICATION J2EE HTTP-00014 Starting web application: ascontrol
    08/09/09 09:21:03 FINER: LocalizationFilterMBeanServer.registerMBean register mbean: ascontrol:objectName=LogViewerService
    08/09/09 09:21:04 FINEST: JspPageTable.<init> Initializing JspPageTable
    08/09/09 09:21:04 FINEST: JspPageTable.<init> Servlet Config = com.evermind.server.http.EvermindServletConfig@6d98
    08/09/09 09:21:04 FINEST: JspPageTable.<init> JspServlet Instance =oracle.jsp.runtimev2.JspServlet@1b2cb9
    08/09/09 09:21:04 FINEST: JspPageTable.<init> pageRepositoryRoot = /data/oracle/product/10.2/oc4j-standalone/j2ee/home/application-deployments/ascontrol/ascontrol/persistence/_pages
    08/09/09 09:21:04 FINEST: JspPageTable.<init> justRunShortCut = true
    08/09/09 09:21:04 FINEST: JspPageTable.<init> jsp-timeout = 0
    08/09/09 09:21:04 FINEST: JspPageTable.<init> TldCache= oracle.jsp.parse.tldcache.ApplicationTldCacheImpl@154ec5
    2008-09-09 09:21:04.307 NOTIFICATION J2EE HTTP-00015 Web application: ascontrol started
    2008-09-09 09:21:04.308 NOTIFICATION J2EE HTTP-00013 Web site: file:/data/oracle/product/10.2/oc4j-standalone/j2ee/home/config/default-web-site.xml started
    08/09/09 09:21:04 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
    08/09/09 09:22:04 FINER: AdminMgrBean.ejbRemove AdminMgrBean remove: oracle.j2ee.jmsrouter.ejb.AdminMgrBean@18c668c

  • OC4J: Class not found for class in jar file placed in \j2ee\home\applib\

    I have an ADF application which uses external libraries (jars), which works fine when running the application from within JDeveloper (TP4).
    However if I deploy the application to the embedded OC4J server it won't find any classes imported in those external libraries at runtime (deploy does work). E.g. one library class imports oracle.jbo.server.DBTransaction. If a method of this class is called I get the following exception:
    Unexpected exception caught: java.lang.NoClassDefFoundError, msg=oracle/classloader/util/AnnotatedNoClassDefFoundError
    oracle/classloader/util/AnnotatedNoClassDefFoundErrorThe same exception, when using a german locale, explicitely states that it cannot find oracle.jbo.server.DBTransaction.
    The jar files are placed in the \j2ee\home\applib\ directory and a <library> element to this path is present in application.xml.
    Any further hints what could be wrong?

    Hi Edwin,
    tried your suggestions but without success.
    when I add this library to server.xml then following error occures when starting OC4J
    17.09.2008 17:10:33 oracle.oc4j.util.SystemLog log
    SCHWERWIEGEND: Server start failed processing configuration
    java.lang.InstantiationException: Illegal tag, 'library': The library tag has moved from config/server.xml to config/application.xml, please update your configuration manually or reinstall.
            at com.evermind.server.XMLApplicationServerConfig.parseDeploymentMainNode(XMLApplicationServerConfig.java:1227)
            at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:342)
            at com.evermind.xml.XMLConfig.init(XMLConfig.java:222)
            at com.evermind.xml.XMLConfig.init(XMLConfig.java:154)
            at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:237)
            at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:661)
            at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:225)
            at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:244)
            at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
            at java.lang.Thread.run(Thread.java:619)
    17.09.2008 17:10:33 oracle.oc4j.util.SystemLog logNoStack
    SCHWERWIEGEND: Server exiting: ApplicationServer entered state EXITING--> I added this to application.xml
    Than I enabled more logging of classloader "-Duser.country=US -Dclass.load.log.level=finest"
    Here a snippet of the output at starttime of OC4J:
    ================================
    08/09/18 10:17:07 Initial class loaders created. Uptime: 3156ms.
    08/09/18 10:17:07 Loading main class com.evermind.server.OC4JServer...
    08/09/18 10:17:07 com.evermind.server.OC4JServerMain class loaded. Uptime: 3344ms.
    08/09/18 10:17:07 Transferring to com.evermind.server.OC4JServer.main()...
    08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
    08/09/18 10:17:15 Ignoring <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml entry: code-source /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/lib/api-ext/adflogginghandler.jar (from system property api.ext.dirs) is already visible in the search path of adf.oracle.domain:11.1.4949.
    08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
    08/09/18 10:17:15 Import was not resolved for adf.oracle.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.
    08/09/18 10:17:15 Import was not resolved for adf.generic.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.Seems that oracle.fabric.runtime couldn't be found but the jar's are located in D:\oracle\jdevstudio1111_preview4_standalone\lib\java\shared\oracle.fabric.runtime\11.1.1.0.0
    It's the same as with my jdeveloper installation where I don't have this problems.
    regards
    Peter

  • Missing folder structure in zip file from Theme Editor

    Hi all gurus!
    I have an interesting problem with this background: I want to change the customer brand image in the portal header and do som other modifications. For this reason I have made a copy of one of the standard portal themes, as I'm supposed to do, and I have downloaded that zip file from the portal.
    When unzip this file i get the following files: its.zip, log.html, metadata.properties, portal.zip and upgrade.xml. As I have understood it that is the correct content. Now I'm supposed to unzip the file "portal.zip" and reach amongst other folders the one named "prtl". In this one there is a folder named "images" and under that one is "header" found and in THAT folder the change of picture is done.
    Now for the problem: when I unzip "portal.zip" I just get the content of some property file, NO folders what so ever! If I try to unzip "its.zip" I can see the folder structure under that folder!
    If I open the structure with Total Commander I can see the missing folders! But I can't do the copying of the image, the whole structre gets duplicated when I save! I thought the zip file was corrupt so I made another copy and downloaded it but with the same result!
    Has anyone had the same problem???
    Best regards
    Benny Lange

    Problem solved! By 7-zip. It was actually XP's integrated zip tool that just didn't show the underlaying structure. And Total Commander also did the work if used in the same way as 7-zip, but to edit the second level zip file directly did not work as TC opened that file in a temp directory instead of continuing at the level of the first zip file. That kind of editing directly in a file two zip levels down actually worked in TC 6.x but now I have 7.05 and perhaps things has changed.

  • Deployment Error with jdk 5 and oc4j_extended_101320.zip

    Hello,
    I get the following error when I try to deploy my application using jdk 5 and oc4j (oc4j_extended_101320.zip) . I am sure no references of jdk1.4 are being used anywhere. I also tried deleting the persistence directory to make sure there are no lock files anywhere , but in vain. I am stuck with this problem and I urgently need a solution to get past this. Any help in this regard is appreciated. Thanks. Here is the stack trace.
    This load was initiated at sim.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    07/12/31 01:19:17 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: sim is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:497)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [sim:oracle_sim_closed_ejb:Transfer] - Unable to load ejb-class oracle.retail.sim.closed.transfer.ejb.TransferEjb, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.retail.sim.closed.transfer.ejb.TransferEjb
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdk5andOc4j/OC4J/oc4j_extended_101320/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in D:\jdk5andOc4j\OC4J\oc4j_extended_101320\j2ee\home\oc4j.jar

    For internal questions please use the internal mailing lists...
    --olaf                                                                                                                                                                                       

  • Provider Log file in 9.0.2

    Hi
    Does anyone perhaps know where to find the provider log file for a OC4J provider in Portal release 9.0.2. I got an error running a portlet, and the error message is:
    Error: Error occurred while rendering portlet - see provider log file for details
    Thanx
    Harry

    Can log wide range of log messages like exception, performance, debug level by editing
    "oracle.portal.log.LogLevel". This writes to log messages in application.log under
    application-deployments\jpdk, Please refer to web.xml documentation under jpdk\WEB-INF folder.
    OC4J server logs all the access and error files in folder located at
    <OC4J>\j2ee\home\log folder.
    In case web providers using URL Services the log messages related to providers are set by add debugLevel=5 in
    your <urlsample.properties> under deployment folder for logging

  • 903 management of app / out / err logs to rotating log files??

    I'm deploying BC4J apps under OC4J.
    One of my complaints about the production environment is that the noisy logging from
    BC4J is directed to a static file name by the shell startup script. This not enterprise nor
    manageable in a 24x7 environment since the log file grows boundlessly.
    It was mentioned that 903 OC4J would fix log mangement. I've not seen anymention in doc's.
    Might someone offer how -out and -err logs can be better managed in 903?
    Thanks curt

    To be 24/7 an appserver needs to at least support managing the System.out traffic
    that apps, frameworks (BC4J) spew.
    It was suggested that 903 OC4J will support rotating log files?
    Is this true and any help or doc pointers would be great.
    BTW, I'm moving to 903 enterprise with OEM.
    Thanks, curt Curt - there is no way in 903 to rotate log files for a specific OC4J instance.
    There is a feature request in place for this functionality but I am not sure which version it will be delivered with.
    -steve-

  • 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.

  • JDev 10.1.3.3.0: Trouble setting logging level

    I have an application that I did not write that has a large amount of "info" level logging using "java.util.logging.Logger".
    These logging statements look like this in the code:
    log.info("My message");
    There are only a few points in the application where I want to log statements for now, so I thought a quick way to suppress all the unwanted logging would be to change the severity of the items I want to see in the log as follows:
    log.severe("My message");
    Then, I went into the file [JDeveloper Root]\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\j2ee-logging.xml.
    I changed all the level="XYX" statements to level="SEVERE", and restarted the application in JDeveloper.
    I did not see my "log.severe" statements in the log.
    Then I changed all the level="XYX" statements to level="ERROR:1", and restarted the application in JDeveloper.
    I still did not see my "log.severe" statements in the log.
    Any ideas on what I'm doing wrong?
    Thanks,
    Jonathan

    Sorry...Operator error.
    There was a conditional block around the logging statement that I didn't notice.
    The logging is now working as expected.

  • Problem running embeded OC4J from JDeveloper 11g TP 3

    I've just downloaded JDeveloper 11g Technical Preview 3. Unzipped it and ran.
    IDE runs ok, but when I try to run Web project on embedded OC4J, I got exceptions and the server never starts (exception text included on the bottom).
    Here is the way to reproduce the error:
    1. Create new Web Project with New Gallery wizard:
    a. New Gallery->general->projects->web project
    b. on Web Application page (step 3 of 7) choose Servlet 2.5/JSP 21.
    c. on Page Flow technology page (4 of 7) choose none
    d. don't include available libraries (5 of 7)
    e. on Web Project Profile (6 of 7) check Add JSP Page
    f. finish
    e. choose jsp name (after clicking finish a dialog pops up)
    2. Run the page
    a. select the page in Application Navigator
    b. right click on it and choose Run option
    In my case I got the following exception:
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
    D:\work\jdev1111\jdk\bin\javaw.exe -client -classpath D:\work\jdev1111\j2ee\home\oc4j.jar;D:\work\jdev1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    2008-01-30 13:19:09 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    2008-01-30 13:19:10 oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
         at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
         at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:412)
         at oracle.security.jps.fmw.util.JpsFmwUtil.findSystemUser(JpsFmwUtil.java:218)
         at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:235)
         at oracle.security.jps.fmw.JpsUserManager.<init>(JpsUserManager.java:247)
         at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:252)
         at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
         at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    2008-01-30 13:19:10 oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state EXITING
    Process exited with exit code 1.
    Is it something with my configuration. My environment is:
    ADF Business Components     11.1.1.47.96
    Java(TM) Platform     1.5.0_11
    Oracle IDE     11.1.1.0.22.47.96
    SOA Composite Editor     11.1.1.0.0 (Build 071219.1424)
    Versioning Support     11.1.1.0.22.47.96
    Thanks for any suggestions,
    kazelot

    change the file to just (DIRTY way, but works)
    grant {
         permission java.security.AllPermission;
    };Really dirty as these permissions are not Java EE compliant.
    --olaf                                                                                                                                                                                                                                                                                                                                                                           

  • Appsutil.zip created with Exceptions

    hi
    I have been following post patch step 9535311.
    In Post steps
    While creating appsutill.zip file from application i got exception below
    ppltst@ebsdevdb on /ebdbh/app/ebprdappl # $ADPERLPRG $AD_TOP/bin/admkappsutil.pl
    Starting the generation of appsutil.zip
    Log file located at /ebdbh/app/ebprdappl/admin/log/MakeAppsUtil_06140722.log
    output located at /ebdbh/app/ebprdappl/admin/out/appsutil.zip
    java.lang.NoClassDefFoundError: java/util/HashMap
    at
    at oracle.apps.ad.tools.MakeAppsUtil.<init>(Compiled Code)
    at oracle.apps.ad.tools.MakeAppsUtil.main(Compiled Code)
    Exception in thread "main" MakeAppsUtil completed successfully.
    can I ignore above Exception?
    Thanks
    With Regards
    A-Z

    Please see these docs.
    After Applying Patch 9535311 Get java.lang.NoClassDefFoundError: java/util/HashMap Error [ID 1188327.1]
    Creating "appsutl.zip" Failed On "java.lang.NoClassDefFoundError: java/util/HashMap", What is the Potential Solution ? [ID 1310838.1]
    Thanks,
    Hussein

  • Logging in ADF BC Applications.

    I am looking for logging implementation in ADF BC applications and I found oracle.adf.share.logging.ADFLogger as part of the ADF Model Runtime resources. Can we use this for logging in our Application development. What is the best way to implement logging in ADF BC applications (ADFLogger /commons-logging/log4j/java util logging)?
    Thanks in advance.

    I started using ADFLogger and added some log statements. When I ran my application in JDeveloper in Embeded OC4J server, these log statements are appearing in JDeveloper server log window. After I deployed this application to Oracle Application Server, these statements are not appearing in the application.log file and also not in any file. Am I missing any configuration setting? The log current level is INFO and I do have few INFO statements, SEVERE statements in my code. Thanks in advance.

  • Installing oc4j standalone

    "oc4J" has been unzipped into "o9ias" directory. Beeing new to Oracle App Server/j2ee and to java, I need help about the error msg copied as below.
    F:\o9ias\j2ee\home>jar xvf D:\oc4j\oc4j_extended.zip
    java.util.zip.ZipException: encrypted ZIP entry not supported
    at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:242)
    at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
    at sun.tools.jar.Main.extract(Main.java:676)
    at sun.tools.jar.Main.run(Main.java:190)
    at sun.tools.jar.Main.main(Main.java:904)

    Hi Laurent,
    It looks like you are using a Windows platform. If that is the case, then I suggest you use the WinZip application to unzip the "oc4j_extended.zip" file.
    Good Luck,
    Avi.

Maybe you are looking for

  • DataTable in a grid make flicker in the first dataload

    Hi experts, I have a form with a Grid, in this grid i have a datatable (with query). I open my form in create mode, if i click to the next button i have the following problem :                                    - when i open the form for the first t

  • Envy 15 camera not working

    My camera seems not to be working.   It was working. The HP diagnostlics say all is OK but I can not get the camera to show me e.g. SKYPE VIDEO.  I MAY have removed the program that makes it work.  I can not find a program for the camera on my comput

  • Oracle export error

    Hi I am trying to export a table with 2 million records and getting below error. exp user1/user1 buffer=8192 compress=y file=Test_table.dmp tables=test_table filesize=8192000000 Export: Release 10.2.0.1.0 - Production on Mon Oct 29 12:49:23 2012 Copy

  • Reduce Size or delete unwanted entries from tables AllDocStreams,AllDocVersions,EventCache,EventLog of Sharepoint 2010 content database

    Size or delete unwanted  entries from tables AllDocStreams,AllDocVersions,EventCache,EventLog  of Sharepoint 2010 content database: We using  powershell  scripts to migrate data between   two  sharepoint  2010 sites . While  doing migration  we  dele

  • 11.5.10.2 Technology Stack Validation Patch - Database validation report

    Hi all, I am trying to upgrade Oracle EBS 11.5.10 to 11.5.10.2. As per the Oracle instruction i am running 11.5.10.2 Technology Stack Validation utility. For Node Type admin, Conc, Web, Forms its working fine. But when i run this for Database, its gi