Messages in OC4J

Hi,
Good day.
I have developed a very simple page that shows the Oracle Logo and page status, the page seems to be run ok but there are many red messages or errors appear in the OC4J log tab (attached) what are those messages and do I have to do something about them?
Thanks

Hi Jalal,
Its normal,
those red messages in jDeveloper log are the resemblance of jDeveloper engine processing all the libraries.
Regards,
- Syed.

Similar Messages

  • How to consume JMS message in oc4j from web logic server 11.1.1.3

    Hi all,
    I would like to know how to consume the JMS messages in oc4j instance from 11.1.1.3 (web logic). Can anyone guide me any documentation? Thanks.
    Soe

    Hi,
    Have a luk at the below link
    http://blogs.oracle.com/TechMusings/2008/08/connecting_to_weblogic_jms_pro.html
    you also have other options like creating foreigh JNDI or JMS bridge.

  • Weird error message from oc4j with EntityBean

    We have an J2EE application written originally to run on Orion 1.4.5.
    We have decided to try to port this to oc4j and the version we are using is 1.0.2.2
    There is some minor reconfiguration issue but nothing really major.
    All the servlet, jsp, and stateless session EJB runs without any problem.
    However, all the CMP EntityBean doesn't seem to like their new home.
    During deployment, the container will complaints about every single EntityBean with error message like the following:
    JavaApplication_EntityBeanWrapper33.java:358: Exception java.sql.SQLException is never thrown in the body of the corresponding try statement.
    catch(java.sql.SQLException e)
    JavaApplication is one of our CMP EntityBean and the Wrapper is supposingly created automatically by the container at deployment time.
    Has anyone encountered this before? Any work around/solutions?
    Thanks in advance
    Andrew
    null

    gday Andrew -
    I believe that this is caused by setting the attribute exclusive-write-access=false in the orion-ejb-jar.xml file for your EJBs.
    This is a known OC4J problem: a bug has been logged and it's been fixed here. The next minor release of OC4J will contain the fix for this.
    In the meantime as a workaround removing the exclusive-write-access=false attribute from the orion-ejb-jar.xml files for your beans should get you going.
    cheers!
    -steve.
    null

  • How to insert message in OC4J JMS from standalone java client.

    Hi,
    I have been following available examples for creating standalone java clients to insert messages in JMS queues.
    I am able to insert using java client when the SOA suite and the standalone java code are on same machine.
    package producerconsumerinjava;
    import javax.jms.*;
    import javax.naming.*;
    import java.util.Hashtable;
    public class QueueProducer
    public static void main(String[] args)
    String queueName = "jms/demoQueue";
    String queueConnectionFactoryName = "jms/QueueConnectionFactory";
    Context jndiContext = null;
    QueueConnectionFactory queueConnectionFactory = null;
    QueueConnection queueConnection = null;
    QueueSession queueSession = null;
    Queue queue = null;
    QueueSender queueSender = null;
    TextMessage message = null;
    int noMessages = 5;
    * Set the environment for a connection to the OC4J instance
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
    env.put(Context.SECURITY_CREDENTIALS, "mypass");
    env.put(Context.PROVIDER_URL,"ormi://myserver.company.com:12402"); //12402 is the rmi port
    * Set the Context Object.
    * Lookup the Queue Connection Factory.
    * Lookup the JMS Destination.
    try
    jndiContext = new InitialContext(env);
    queueConnectionFactory =
    (QueueConnectionFactory) jndiContext.lookup(queueConnectionFactoryName);
    queue = (Queue) jndiContext.lookup(queueName);
    catch (NamingException e)
    System.out.println("JNDI lookup failed: " + e.toString());
    System.exit(1);
    * Create connection.
    * Create session from connection.
    * Create sender.
    * Create text message.
    * Send messages.
    * Send non text message to end text messages.
    * Close connection.
    try
    queueConnection = queueConnectionFactory.createQueueConnection();
    queueSession =
    queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    queueSender = queueSession.createSender(queue);
    message = queueSession.createTextMessage();
    for (int i = 0; i < noMessages; i++)
    message.setText("Message " + (i + 1));
    System.out.println("Producing message: " + message.getText());
    queueSender.send(message);
    queueSender.send(queueSession.createBytesMessage());
    catch (JMSException e)
    System.out.println("Exception occurred: " + e.toString());
    finally
    if (queueConnection != null)
    try
    queueConnection.close();
    catch (JMSException e)
    System.out.println("Closing error: " + e.toString());
    But when the SOA Suite is remote, I am struggling to get the settings correct
    Till now, here is what I have figured out from looking at blogs/tars etc on the Net:
    1. I need to use ApplicationClientInitialContextFactory instead of RMIInitialContextFactory (http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/jndi.htm)
    2. The project should have a META-INF/application-client.xml file, which may be dummy (http://www.wever.org/java/space/Oracle/JmsTar1). Question is, my code is there in a single absolutely standalone code..how I can use this application-client.xml and where it has to be placed.
    Errors:
    When trying to run exact same code on local server that tries to enqueue JMS on remotee serverer
    Exception occurred: javax.jms.JMSException: Unable to create a connection to "xxxxxxx.yyyyyy01.dev.com/10.42.456.11:12,602" as user "null".
    Any help is greatly welcome.
    As an exercise, I copied this complete code on the server and then ran locally using a telnet client...it worked. So the problem is coming when accessing the server remotely.
    Rgds,
    Amit

    1. I need to use ApplicationClientInitialContextFactory instead of RMIInitialContextFactoryNot necessarily.
    2. The project should have a META-INF/application-client.xml fileThat's only necessary if going the ApplicationClientInitialContextFactory route.
    There are two types of JMS client applications you can write -- a pure/plain Java app, and an "AppClient". That first is your everyday run-of-the-mill Java application, nothing special. That latter is a special, complicated beast that tries to act as a part of the whole client/server/J2EE architecture which provides you with a semi-managed environment. Either can be made to work, but if all you need is JMS access (using plain OC4J JMS factory/queue names and not JMS Connector names), then the first is easier to get working (and performs a tiny bit better as well due to being a lighter-weight solution).
    I think the problem you are having might be: When you use the plain Java client solution, you do not have any type of management, and that includes user management. With no user management (and if the JMS server is not configured to allow anonymous connections) you need to include the username and password in the call to createConnection. (I think it may be that this is actually true in the AppClient case as well -- I avoid using the AppClient model as much as possible so my memory there is weaker.)
    If you prefer to go the AppClient route, I would point you to a demo I wrote which had a functioning example, but Oracle seems to have removed it (and all of the 10.1.3 demos?) from OTN. :-(
    Hmm, it seems to still be available on the wayback machine:
    http://web.archive.org/web/20061021064014/www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html
    (Just look down the page for "With OEMS JMS (In-Memory and File-Based)" -- there is an .html document with info, and there is a .zip file with source code.)
    Question is, my code is there in a single absolutely standalone code..how I can use this application-client.xml and where it has to be placed.The app client in my demo had the following directory structure:
    myjavaclient.class
    jndi.properties
    META-INF\MANIFEST.MF
    META-INF\application-client.xml
    META-INF\orion-application-client.xml
    When you use ApplicationClientInitialContextFactory I think it just looks under .\META-INF for the .xml files.
    -Jeff

  • Have you a simple client for send message on oc4j 9.0.2.0.0 ?

    Hi to All!
    Have you a simple client to send message on a queue in OC4J 9.0.2 ?
    Can you show me how is possible to write the config file to connect to oc4j application server?
    thanks very much
    Andrea

    I added -Xcheck:jni and -Xcheck:nabounds to the command line and got this one now :
    500 Internal Server Error
    Error parsing JSP page /westflo-fsweb/main/header.jsp
    Error creating jsp-page instance: java.lang.ClassFormatError: __jspPage8_main_header_jsp (Method "pushBody" has illegal signature "()Ljavax/servonInfo.classjavax/servlet/j")
    My whole command line is :
    /usr/java130_wei/bin/java -ms128m -mx256m -Xcheck:jni -Xcheck:nabounds -Xnoclassgc -verbosegc -Duser.dir=/usr/oc4j/j2ee/home -Denvironment=DEV2GMSFS -Dwestflo.dir=/website/DEV2/GMSFS/oc4j_instance2/westflo/westflo/ -Ddeployment.dir=/website/DEV2/GMSFS/oc4j_instance2/pie/gms/ -Demissionrc.dir=/website/DEV2/GMSFS/oc4j_instance2/emissionrc/emissionrc-web/ -jar /usr/oc4j/j2ee/home/oc4j.jar -out /website/DEV2/GMSFS/oc4j_instance2/oc4j_config/log/server.log -err /website/DEV2/GMSFS/oc4j_instance2/oc4j_config/log/oc4j.err -config /website/DEV2/GMSFS/oc4j_instance2/oc4j_config/config/server.xml

  • Warning message in oc4j log when using af:region

    Hello -
    (Jdev 10.1.3 SU2)
    When testing my ADF faces app, the first time someone hits a page that uses a region, the following message appears in the embedded OC4J server log. I am concerned about the "WARNING" part - is this message normal or does it indicate that I might have set something up incorrectly?
    2006-05-16 08:20:53.279 WARNING Replaced jspUri /regions/userInfoRegion.jspx with /regions/userInfoRegion.jspx for componentType:xyz.userInfoThanks!
    -- Scott

    Hello,
    I'm getting the same error when i try to create a BOM using the BOMMAT03 idoc.
    How did you manage to solve this issue?
    I appreciate your help.
    Thanks&Rgds
    Angelica Fontes

  • RPC calls and multicast messages in oc4j cluster

    Hi, our application uses RPC calls, which are distributed over multicast messages (jgroups). We use RPC calls to update internal object cache, which exists on each cluster instance. The OC4J instance, which sends the message, successfully receives these and executes the RPC call. The other OC4J instance does not get the message or cannot execute the RPC call. I don't know whether reception of multicast messages is not possible and/or the RPC call is not possible (safety reasons). The same implementation does work with other app. server like Bea Weblogic 8.1.

    Scrap JMS. Use plain java.net or JINI.
    You could create a Peer-to-Peer Chain:
    Server A -> Server B -> Server C -> Server A
    On each Server have a server listening for messages (from the Server to the left in the chain) and a client that sends messages (to the Server to the right in the chain) and an application that links the server and client on each Server.
    So,
    Server A's "server" listens for messages from the "client" on Server C, and so on.
    This is vary efficent. A simple send-receive chain that is clusterd within a small (or large) group of Servers. You could also try Bi-Directional Parallel Communications BDPC. That would basically have Server A send messages to both Servers - one to the left and one to the right, then at the same time, listen for messages from the Server on the left and the Server on the right. This is better suited for large-scale clusters where a Uni-directional communications model would take too long to propogate messages to every member of the group.
    But, that's just me.

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

  • Message posted from BPEL not found in oc4j JMS queue

    Hi,
    I am facing a weird problem when I try to post a message in oc4j JMS from a BPEL process.
    There is no exception(Not even in the logs) and the BPEL process gets completed. But the message is missing(Could not find it while monitoring the queue).
    I am using SOA suite 10.1.3.5 and the oc4j JMS queue which comes with the installation.
    Can someone help me please.
    Saptarishi
    Edited by: saptarishi on May 25, 2010 3:51 PM

    Got a solution.

  • Using embedded oc4j in jdeveloper 10.1.3. EA failed

    Hallo
    i have the following problem, and hope somebody can help me.
    i installed the jdev 10.1.3.EA 3412 on notebook with suse linux 9.2 and made a simple hallo world jsp.
    compilation was ok with no errors.
    when i run the jsp in jdev i get the following message:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/wilhetho/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /usr/share/jdk1.5.0_06/bin/java -server -classpath /opt/oracle/jdev/j2ee/home/oc4j.jar:/opt/oracle/jdev/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/wilhetho/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    24.01.2006 19:15:34 com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    06/01/24 19:15:43 java.net.NoRouteToHostException: No route to host
    06/01/24 19:15:43      at java.net.PlainSocketImpl.socketConnect(Native Method)
    06/01/24 19:15:43      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    06/01/24 19:15:43      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    06/01/24 19:15:43      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    06/01/24 19:15:43      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    06/01/24 19:15:43      at java.net.Socket.connect(Socket.java:507)
    06/01/24 19:15:43      at java.net.Socket.connect(Socket.java:457)
    06/01/24 19:15:43      at java.net.Socket.<init>(Socket.java:365)
    06/01/24 19:15:43      at java.net.Socket.<init>(Socket.java:207)
    06/01/24 19:15:43      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
    06/01/24 19:15:43      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
    06/01/24 19:15:43      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
    06/01/24 19:15:43      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
    06/01/24 19:15:43      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
    06/01/24 19:15:43      at java.lang.Thread.run(Thread.java:595)
    06/01/24 19:15:43 Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview initialized
    After this, the oc4j container is up an running, because i can reach it over the adress localhost:8988.
    So now my two questions:
    -> there is no browser starting (i tried different entries under tools-preferences-webproxy). what can be the reason?
    -> where does the error message no route to host come from?
    thank you

    Hi, here Re: java.net.ConnectException: Connection timed out: connect i post my workaround.
    bye
    Antonio.

  • Invalid OC4J Instance name

    Hi all,
    While Installation of AIA 2.5 between EBiz and Agile I get the following error message Invalid OC4J Instance name when i try to provide the SOA Suite details.
    Can anyone tell me what is the issue??

    AIA would be installed on top of SOA with OSR(optional) So container name is the one in which soa is deployed.

  • OC4J restarting (10G 10.1.2.0.0)

    We are having quite frequently restarts of on of our OC4J instances.
    From the log files:
    server.log
    05/05/25 17:44:06 10.1.2.0.0 Started
    05/05/25 17:44:07 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    05/05/25 17:44:07 Recovery completed, 0 connections committed and 0 rolled back...
    05/05/25 17:44:07 10.1.2.0.0 Started
    rmi.log
    05/05/25 17:44:06 10.1.2.0.0 Started
    jms.log
    05/05/25 17:44:06 10.1.2.0.0 Started
    global_application.log
    05/05/25 17:44:07 Started
    05/05/25 17:44:08 defaultWebApp: jsp: init
    05/05/25 17:44:08 defaultWebApp: Started
    05/05/25 17:44:31 dms: jsp: init
    05/05/25 17:44:31 dms: Started
    05/05/25 17:44:31 dms: Spy: init
    The error_log file shows the following:
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (10054)An existing connection was forcibly closed by the remote host: MOD_OC4J_0086: Got an unexpected error while calling recv() to receive a message from oc4j and error code is 10054.
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j.
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j.
    [Wed May 25 17:44:01 2005] [warn] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0078: Network connection errors happened to host: SAFIR and port: 3302 while receiving the first response from oc4j. This request is recoverable.
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] (10054)An existing connection was forcibly closed by the remote host: MOD_OC4J_0086: Got an unexpected error while calling recv() to receive a message from oc4j and error code is 10054.
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j.
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j.
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0121: Failed to service request with network worker: Internal_15 and it is not recoverable.
    [Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0013: Failed to call destination: Internal's service() to service the request.
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (10061)No connection could be made because the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (10061)No connection could be made because the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (0)The operation completed successfully: MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: Internal_15.
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0030: Failed to connect an oc4j process. This request is recoverable.
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0026: Failed to marshal a request to ajp13 message headers or send them to the web container.
    [Wed May 25 17:44:02 2005] [warn] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0187: Failed to find an oc4j process within destination:[Internal] and island id: default_island for session failover.
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0150: Failed to deterministicly find a failover oc4j process for session request for island: default_island for destination: Internal.
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0119: Failed to get an oc4j process for destination: Internal
    [Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0013: Failed to call destination: Internal's service() to service the request.
    [Wed May 25 17:44:06 2005] [warn] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0187: Failed to find an oc4j process within destination:[Internal] and island id: default_island for session failover.
    [Wed May 25 17:44:06 2005] [error] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0150: Failed to deterministicly find a failover oc4j process for session request for island: default_island for destination: Internal.
    [Wed May 25 17:44:06 2005] [error] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0119: Failed to get an oc4j process for destination: Internal
    [Wed May 25 17:44:06 2005] [error] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0013: Failed to call destination: Internal's service() to service the request.
    Have anyone seen this or have a solution?
    Thanks!

    It seems that i have the same problem. Any help welcome
    Thanks
    renaud

  • Error when OC4J starts

    When I want to run very simple jspx page from Jdeveloper Tehnology preview 3 I get this message in OC4J log:
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\saso\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
    D:\oracle\jdevstudio1111\jdk\bin\javaw.exe -client -classpath D:\oracle\jdevstudio1111\j2ee\home\oc4j.jar;D:\oracle\jdevstudio1111\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\saso\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\saso\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...]
    17.1.2008 11:34:27 oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
    SEVERE: Could not open wallet. null
    java.io.IOException: Could not open wallet. null
         at oracle.security.pki.OracleWallet.open(OracleWallet)
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:136)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:139)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:109)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:47)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:129)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:124)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:590)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:585)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:584)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:244)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:238)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:103)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2054)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2130)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2149)
         at com.evermind.server.OC4JServer.main(OC4JServer.java:420)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
    17.1.2008 11:34:27 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    17.1.2008 11:34:29 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: credential store is not available.
    17.1.2008 11:34:29 oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.lang.NullPointerException
         at oracle.security.jps.fmw.JpsUserAdaptor.getAuthenticatedRoleName(JpsUserAdaptor.java:881)
         at oracle.security.jps.fmw.JpsUserAdaptor.<init>(JpsUserAdaptor.java:180)
         at oracle.security.jps.fmw.JpsUserManager.createJpsUserAdaptor(JpsUserManager.java:1490)
         at oracle.security.jps.fmw.JpsUserManager.getAdminUser(JpsUserManager.java:652)
         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)
    17.1.2008 11:34:29 oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    What is wrong here?
    Regards,
    Saso

    restart of jdeveloper.. still get error
    reboot of machine.. still get error
    Jdeveloper 11g tech preview 3.. dead in water..
    need help...
    Finished processing prepared classes.
    Jan 24, 2008 12:48:35 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
    SEVERE: Could not open wallet. null
    java.io.IOException: Could not open wallet. null
         at oracle.security.pki.OracleWallet.open(OracleWallet)
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:136)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:139)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:109)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:47)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:129)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:124)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:590)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:585)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:584)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:244)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:238)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:103)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2054)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2130)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2149)
         at com.evermind.server.OC4JServer.main(OC4JServer.java:420)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
    Jan 24, 2008 12:48:35 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jan 24, 2008 12:48:36 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: credential store is not available.
    Jan 24, 2008 12:48:36 PM oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.lang.NullPointerException
         at oracle.security.jps.fmw.JpsUserAdaptor.getAuthenticatedRoleName(JpsUserAdaptor.java:881)
         at oracle.security.jps.fmw.JpsUserAdaptor.<init>(JpsUserAdaptor.java:180)
         at oracle.security.jps.fmw.JpsUserManager.createJpsUserAdaptor(JpsUserManager.java:1490)
         at oracle.security.jps.fmw.JpsUserManager.getAdminUser(JpsUserManager.java:652)
         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)
    Jan 24, 2008 12:48:36 PM oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    Process exited.
    Debugger disconnected from local process.

  • Start OC4J - Http server won't start

    Receive the following message:
    F:\OC4J\j2ee\home>java -jar oc4j.jar
    Error starting HTTP-Server: Address already in use: JVM_Bind
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Is that mean the localhost:8888 port is occupied already, how can I change it to other port?
    Any help?
    Thanks and Regards
    Pak

    Yes, 9iAS is in its own home. Even in its own partition.
    No. The messages are different. The Agent msg I reported in my first post. The HTTP Server msg says the request had an unexepected result and an error #. That's all.
    I had no trouble with Portal 30 EA install. Worked fine. But I do have an HTTP Server service from Poartl 30 EA still in my NT services. Actually,there are quite a few orphaned services from prior installs of software, such as DataGatherer and some others.
    John

  • JNDI lookup name in a standalone oc4j instance

    Hi,
    Could you please let me know how to create a JNDI lookup name for a database in a stanalone OC4j Instance?
    Both OC4J and oracle 9i database are in the same server.
    Thanks in advance,
    Sukonya

    Hi,
    I have the oracle 9i database as well as the oc4j instance in my local machine.I am trying to deploy a J2ee Application on the OC4j instance,using eclipse IDE.I have not created any connection pool or datasource in the oc4j instance but after i build the application I see that the connection pool and datasource instance have been created in the OC4j instance.
    following are the contents of the build.xml file(for the ant build tool)
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project name="TicketLoggingSystem" default="bind-web-app" basedir="../">
    <property name="app.server" value="D:/oc4j/j2ee/home" />
    <property name="dest.dir" value="${basedir}/dest" />
    <property name="war.file" value="${dest.dir}/TicketLoggingSystem.war" />
    <property name="ear.file" value="${dest.dir}/TicketLoggingSystem.ear" />
    <property name="web.inf" value="${basedir}/WEB-INF" />
    <property name="web.classes" value="${dest.dir}/classes" />
    <property name="app.xml" value="${basedir}/application.xml" />
    <property name="src.dir" value="${basedir}/src" />
    <property name="oc4j.host" value="localhost" />
    <property name="oc4j.admin.port" value="23791" />
    <property name="oracle.home" value="D:/oc4j" />
    <property name="j2ee.home" value="${oracle.home}/j2ee/home" />
    <property name="oc4j.admin.username" value="oc4jadmin" />
    <property name="oc4j.admin.password" value="welcome" />
    <property name="oc4j.ormi" value="ormi://${oc4j.host}:${oc4j.admin.port}" />
    <property name="app.name" value="TicketLoggingSystem" />
    <property name="jdbc.url" value="jdbc:oracle:thin:@localhost:1521:80" />
    <property name="jdbc.username" value="scott" />
    <property name="jdbc.password" value="tiger" />
    <property name="connection.driver" value="oracle.jdbc.driver.OracleDriver" />
    <property name="connection.datasource" value="oracle.jdbc.pool.OracleDataSource" />
    <property name="xa.location" value="jdbc/xa/MpsiDS" />
    - <!-- Delete dest folder
    -->
    - <target name="init">
    <delete dir="${dest.dir}" includeemptydirs="true" />
    <mkdir dir="${dest.dir}" />
    <mkdir dir="${web.classes}" />
    </target>
    - <!-- Compile all Java files
    -->
    - <target name="wscompile">
    - <javac srcdir="${src.dir}" destdir="${web.classes}" deprecation="on" debug="on">
    <exclude name="**/*.properties,**/*.xml" />
    - <classpath>
    <fileset dir="${web.inf}/lib" includes="*.jar" />
    <fileset dir="${app.server}/lib" includes="servlet.jar" />
    </classpath>
    </javac>
    </target>
    - <!-- Build Web archive file
    -->
    - <target name="buildWar" depends="init,wscompile">
    - <war destfile="${war.file}" webxml="${web.inf}/web.xml">
    - <fileset dir="${basedir}">
    <include name="content*/**" />
    </fileset>
    <webinf dir="${web.inf}" includes="*.xml,*.tld" excludes="web.xml" />
    <classes dir="${web.inf}/classes" />
    <lib dir="${web.inf}/lib" includes="*.jar" />
    </war>
    </target>
    - <!-- Build Enterprsie Archive
    -->
    - <target name="buildEar" depends="buildWar">
    - <ear destfile="${ear.file}" appxml="${app.xml}">
    <fileset dir="${dest.dir}" includes="*.war" />
    </ear>
    </target>
    - <!-- Checking availability of oc4j
    -->
    - <target name="check-oc4j-available">
    <echo message="------> Checking to see if OC4J is started ." />
    <echo message="[checking oc4j on machine =${oc4j.host}]" />
    <echo message="[port=${oc4j.admin.port}]" />
    - <condition property="oc4j.started">
    <socket server="${oc4j.host}" port="${oc4j.admin.port}" />
    </condition>
    </target>
    - <!-- Remove data source
    -->
    - <target name="remove-data-source" depends="check-oc4j-available" if="oc4j.started">
    <echo message="Removing DataSource" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-application" />
    <arg value="${app.name}" />
    <arg value="-removeDataSource" />
    <arg value="-location" />
    <arg value="jdbc/TicketLoggingSystem" />
    </java>
    <echo message="Removed DataSource Successfully" />
    </target>
    - <!-- Undeploy
    -->
    - <target name="undeploy" depends="remove-data-source" description="Undeploying the application" if="oc4j.started">
    <echo message="Undeploying the Application ${app.name}" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-undeploy" />
    <arg value="${app.name}" />
    </java>
    <echo message="Undeploying the Application ${app.name} is Successful" />
    </target>
    - <!-- Deploy
    -->
    - <target name="deploy" depends="undeploy,buildEar" if="oc4j.started">
    <echo message="Deploying the Application ${app.name}" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-deploy" />
    <arg value="-file" />
    <arg value="${ear.file}" />
    <arg value="-deploymentName" />
    <arg value="${app.name}" />
    </java>
    <echo message="Deploying the Application ${app.name} is Successful" />
    </target>
    - <!-- Create data source
    -->
    - <target name="create-data-source" depends="check-oc4j-available" if="oc4j.started">
    <echo message="Creating DataSource for Application ${app.name}" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-application" />
    <arg value="${app.name}" />
    <arg value="-installDataSource" />
    <arg value="-jar" />
    <arg value="${oracle.home}/jdbc/lib/ojdbc14dms.jar" />
    <arg value="-url" />
    <arg value="${jdbc.url}" />
    <arg value="-connectionDriver" />
    <arg value="${connection.driver}" />
    <arg value="-location" />
    <arg value="jdbc/TicketLoggingSystem" />
    <arg value="-username" />
    <arg value="${jdbc.username}" />
    <arg value="-password" />
    <arg value="${jdbc.password}" />
    <arg value="-className" />
    <arg value="${connection.datasource}" />
    </java>
    <echo message="Created DataSource Successfully for Application ${app.name}" />
    </target>
    - <!-- Binding web-app
    -->
    - <target name="bind-web-app" depends="deploy,create-data-source" if="oc4j.started">
    <echo message="executing bind web app" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-bindWebApp" />
    <arg value="${app.name}" />
    - <!-- app deployname
    -->
    <arg value="${app.name}" />
    - <!-- web module name
    -->
    <arg value="default-web-site" />
    - <!-- web site name
    -->
    <arg value="/${app.name}" />
    - <!-- context root
    -->
    </java>
    <echo message="Access the application using: http://${oc4j.host}:8888/${app.name}" />
    </target>
    </project>
    Following are the contents of Oc4J home->services->jdbc resources:
    Datasource:
    Name jdbc/TicketLoggingSystem
    Application TicketLoggingSystem
    JNDI Location jdbc/TicketLoggingSystem
    Connection Pool
    Managed by OC4j
    Test
    when i click the datasource name,I see that its type is Native datasource with no related connection pool.
    Whereas for the default datasource oracleDS,
    Type     Managed Data Source
    Connection Pool     Example Connection Pool
    However on deployment a connection pool is also created along with the datasource
    Name jdbc/TicketLoggingSystem_connectionPool
    Application TicketLoggingSystem
    ConnectionFactory class : oracle.jdbc.pool.OracleDataSource
    Do we need to bind this connection pool to our datasource?If yes how is it done.And if that is not required,why is this connection pool created?Are the datasource and connection pool already bound to each other?
    Also when I test either the datasource or connection pool,it says
    Confirmation     
    Connection to "jdbc/TicketLoggingSystem_connectionPool" established successfully
    or
    Connection to "jdbc/TicketLoggingSystem" established successfully.
    and displays both the connection pool and datasource details together for both the tests.
    In my java code,while trying to establish connection to the database what should I mention in lookup i.e,
    InitialContext context = new InitialContext();
    DataSource dataSource = (DataSource) context.lookup("     jdbc/TicketLoggingSystem or      jdbc/TicketLoggingSystem_connectionPool");
    con = dataSource.getConnection();
    Sorry if I am sounding novice.Thanks a lot in advance,
    Sukanya

Maybe you are looking for

  • My photos wont rotate when i turn my iPhone 6.

    Also when i take a picture with the phone sideway, the picture stays sideway in my galley instead of showing it straight. I think this started since i updated to 8.3.1. Anyone else have this problem? Its pretty annoying since i do alot of photo editi

  • MS66 not Simulative Dep Req transfered [LTP-SOP]

    Hi Gurus, I'm using MS66 in order to transfer Simulated Dependent Requirements (that can been seen in MS04) for a particular component but it is not possible. Result screen shows 0 "Items selected Altogether". Test run is unchecked. Any idea? Thanks

  • Using an Apple Bluetooth mouse with a pc

    Is it possible to use the Apple Bluetooth mouse with a pc and windows XP using WIDCOMM. I've tried to connect mine and although the pc sees the mouse, it tries to pair using a security code. This is despite the fact that it later says a security code

  • Determine component height for different platform

    Hi, all It just came to me, how can I determine optimal component height for JLabel,JTextField while calling setPreferredSize on different platform? Different screen dpi,fonts,etc. Is there a guide line, so each component will be not too small? Thank

  • Cin/excise utilisation

    sir kindly explain me in case of inter dept transfer how the excise will be nalified,how to post with journal can u give me configurationĀ  stapes, regards chinmaya