Error while running JAR !

Hi,
I get 2 type of errors when i run my JAR file :
1. 'Main Class not Found.Program will Exit ' error appears, even when the main class is included and i clearly specify which is the main class in the JAR creation wizard.
2. ' Resources out of Sync with the FileSystem' . I have no idea abt this error.
Friends, plz help me solve these errors.....
Thank u.........

How do you run the jar file? Take a look at this thread for a possible a solution: Re: deploying a jdeveloper adf application to a desktop
Is the class XYLayout packaged or referenced? Take a look at this thread: XYlayout  classes - can I distribute with my code?

Similar Messages

  • Getting error while running jar file

    Hi,
    I am getting below error while running the jar file
    "Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdeveloper/layout/XYLayout:"
    I have created a simple ADF desktop app in which i am displaying the frame.I created the jar from Jdeveloper.
    Please help..

    How do you run the jar file? Take a look at this thread for a possible a solution: Re: deploying a jdeveloper adf application to a desktop
    Is the class XYLayout packaged or referenced? Take a look at this thread: XYlayout  classes - can I distribute with my code?

  • Unable to  rectify error while running jar file

    Hi Everyone,
    I have a swing component in menu folder,which consists of .class files with main().I even created a executable jar file mentioning Main-Class:menu.Menu1.I'm getting an error Failed to load main class.May i know wats ths problem?
    Thanks in advance.

    http://forum.java.sun.com/thread.jspa?threadID=549376&start=0

  • Error while running web application through JDEV (10.1.3.0.3) in OC4J

    Error while running web application through JDEV (10.1.3.0.3) in OC4J.
    Here is the error message.
    07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: javax.xml.bind.JAXBContext
         Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    07/10/02 14:45:28      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

    Hi,
    The guide you were refering was pointing to 10.1.2 wizards.
    For the latest 10.1.3 tutorial, please follow the below tutorial link :
    http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
    Hope this helps,
    Sunil..

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

  • Error while running Remote Manager for OIM11gR2

    Hi,
    I have 11gR2 Remote Manager configured in a Windows box on a different machine as OIM server. I am getting the below error while running the RM-
    C:\RemoteManager\remote_manager>remotemanager.bat
    C:\RemoteManager\remote_manager>set RM.ServiceName=RManager
    C:\RemoteManager\remote_manager>set LIB_DIR=.\lib
    C:\RemoteManager\remote_manager>set EXT_DIR=.\ext
    C:\RemoteManager\remote_manager>set APPSERVER_TYPE=wls
    C:\RemoteManager\remote_manager>set CLASSPATH=.;.\lib\xlAPI.jar;.\lib\xlVO.jar;.\lib\xlScheduler.jar;.\lib\xlRemoteManager.jar;.\lib\xerces.jar;.\lib\xlDataObjects.jar;.\lib\log4j-
    1.2.8.jar;.\lib\xlUtils.jar;.\lib\xlLogger.jar;.\lib\xlCrypto.jar;.\lib\iam-platform-utils.jar;.\lib\oimclient.jar;.\ext\spring.jar;.\ext\commons-logging.jar;..\..\oracle_common\mo
    dules\oracle.jrf_11.1.1\jrf-api.jar
    C:\RemoteManager\remote_manager>"C:/Program Files/Java/jdk1.7.0/bin/java" -cp .;.\lib\xlAPI.jar;.\lib\xlVO.jar;.\lib\xlScheduler.jar;.\lib\xlRemoteManager.jar;.\lib\xerces.jar;.\li
    b\xlDataObjects.jar;.\lib\log4j-1.2.8.jar;.\lib\xlUtils.jar;.\lib\xlLogger.jar;.\lib\xlCrypto.jar;.\lib\iam-platform-utils.jar;.\lib\oimclient.jar;.\ext\spring.jar;.\ext\commons-lo
    gging.jar;..\..\oracle_common\modules\oracle.jrf_11.1.1\jrf-api.jar -Dlog4j.configuration=config\log.properties -DXL.HomeDir=C:\RemoteManager\remote_manager com.thortech.x
    l.remotemanager.RemoteManager
    Feb 9, 2013 2:00:54 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger info
    INFO: Class/Method: RMIClientSocketFactory/static: sslEnabled : trueSSLContextAlgorithm : TLSKeyManagerFactory : @keymgrfactoryKeyStore : C:\RemoteManager\remote_manager\config\def
    ault-keystore.jksKeyStoreType : JKSTrustStore : default-keystore.jks
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger info
    INFO: Class/Method: RMISSLServerSocketFactory/createServerSocket Remote Manager server socket port is 12346
    Exception in thread "main" java.lang.NullPointerException
    at com.thortech.xl.remotemanager.RMISSLServerSocketFactory.createServerSocket(RMISSLServerSocketFactory.java:173)
    at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:667)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:317)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
    at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:310)
    at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:273)
    at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:172)
    at com.thortech.xl.remotemanager.RemoteManager.<init>(RemoteManager.java:80)
    at com.thortech.xl.remotemanager.RemoteManager.main(RemoteManager.java:449)
    C:\RemoteManager\remote_manager>
    Any suggestions?

    Hi,
    I have 11gR2 Remote Manager configured in a Windows box on a different machine as OIM server. I am getting the below error while running the RM-
    C:\RemoteManager\remote_manager>remotemanager.bat
    C:\RemoteManager\remote_manager>set RM.ServiceName=RManager
    C:\RemoteManager\remote_manager>set LIB_DIR=.\lib
    C:\RemoteManager\remote_manager>set EXT_DIR=.\ext
    C:\RemoteManager\remote_manager>set APPSERVER_TYPE=wls
    C:\RemoteManager\remote_manager>set CLASSPATH=.;.\lib\xlAPI.jar;.\lib\xlVO.jar;.\lib\xlScheduler.jar;.\lib\xlRemoteManager.jar;.\lib\xerces.jar;.\lib\xlDataObjects.jar;.\lib\log4j-
    1.2.8.jar;.\lib\xlUtils.jar;.\lib\xlLogger.jar;.\lib\xlCrypto.jar;.\lib\iam-platform-utils.jar;.\lib\oimclient.jar;.\ext\spring.jar;.\ext\commons-logging.jar;..\..\oracle_common\mo
    dules\oracle.jrf_11.1.1\jrf-api.jar
    C:\RemoteManager\remote_manager>"C:/Program Files/Java/jdk1.7.0/bin/java" -cp .;.\lib\xlAPI.jar;.\lib\xlVO.jar;.\lib\xlScheduler.jar;.\lib\xlRemoteManager.jar;.\lib\xerces.jar;.\li
    b\xlDataObjects.jar;.\lib\log4j-1.2.8.jar;.\lib\xlUtils.jar;.\lib\xlLogger.jar;.\lib\xlCrypto.jar;.\lib\iam-platform-utils.jar;.\lib\oimclient.jar;.\ext\spring.jar;.\ext\commons-lo
    gging.jar;..\..\oracle_common\modules\oracle.jrf_11.1.1\jrf-api.jar -Dlog4j.configuration=config\log.properties -DXL.HomeDir=C:\RemoteManager\remote_manager com.thortech.x
    l.remotemanager.RemoteManager
    Feb 9, 2013 2:00:54 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: ConfigurationClient/init encounter some problems: Unable to encrypt the value for: #text
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger info
    INFO: Class/Method: RMIClientSocketFactory/static: sslEnabled : trueSSLContextAlgorithm : TLSKeyManagerFactory : @keymgrfactoryKeyStore : C:\RemoteManager\remote_manager\config\def
    ault-keystore.jksKeyStoreType : JKSTrustStore : default-keystore.jks
    Feb 9, 2013 2:00:55 AM com.thortech.util.logging.Logger info
    INFO: Class/Method: RMISSLServerSocketFactory/createServerSocket Remote Manager server socket port is 12346
    Exception in thread "main" java.lang.NullPointerException
    at com.thortech.xl.remotemanager.RMISSLServerSocketFactory.createServerSocket(RMISSLServerSocketFactory.java:173)
    at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:667)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:317)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
    at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:310)
    at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:273)
    at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:172)
    at com.thortech.xl.remotemanager.RemoteManager.<init>(RemoteManager.java:80)
    at com.thortech.xl.remotemanager.RemoteManager.main(RemoteManager.java:449)
    C:\RemoteManager\remote_manager>
    Any suggestions?

  • Error while running the tutorial posted by Steve Muench

    Hi Guys,
    I have been trying to run the tutorial published by Steve Muench on October 9 2006. I've followed all the steps as specified in the tutorial.
    Chapter 3.4:Run the Application, should supposed to compile and run my application using stand-alone embedded OC4J. It was compiled witout any error. But gave me the following error while running the application.
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracledevday\jdeveloper\jdev\system\oracle.j2ee.10.1.3.39.14\embedded-oc4j\config>
    C:\oracledevday\jdeveloper\jdk\bin\javaw.exe -client -classpath C:\oracledevday\jdeveloper\j2ee\home\oc4j.jar;C:\oracledevday\jdeveloper\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -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 C:\oracledevday\jdeveloper\jdev\system\oracle.j2ee.10.1.3.39.14\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2006-10-12 22:47:17.250 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    2006-10-12 22:47:17.265 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    2006-10-12 22:47:22.609 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: datatags does not exist. Error creating Web application: webapp
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 14015 ms.
    Target URL -- http://10.10.10.10:8988/MyDemo/faces/pages/EmployeesTable.jspx
    06/10/12 22:47:22 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    22:47:26 WARN (Digester) -[ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/EmployeesTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/DepartmentsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/LocationsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/CountriesTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/RegionsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/JobsTable.jspx)
    2006-10-12 22:47:29.546 TRACE Setting JAZN Config property ...
    2006-10-12 22:47:29.625 NOTIFICATION ---- JAZNSecurityContext.getUserPrincipal(): NULL
    2006-10-12 22:47:32.015 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    22:47:32 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/EmployeesTable.jspx, pagedef=EmployeesPageDef
    22:47:32 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    22:47:32 DEBUG (BreadcrumbStack) -Adding breadcrumb to stack: "Employees" (/pages/EmployeesTable.jspx)
    22:47:32 DEBUG (JhsPageLifecycle) -Executing prepareRender, page=/pages/EmployeesTable.jspx, pagedef=EmployeesPageDef
    22:47:32 DEBUG (BreadcrumbStack) -Breadcrumb already on stack; rolling back the stack
    22:47:32 DEBUG (BreadcrumbStack) -Adding breadcrumb to stack: "Employees" (/pages/EmployeesTable.jspx)
    2006-10-12 22:47:34.468 ERROR
    Please advise and let me know if you need any other information from me.
    Thanks,
    Magesh.

    Thanks Steven.
    That makes sense. Is there anything I can do to make this demo work without de-installing 10.1.3.1 Preview? Or If I also install 10.1.3.0.4 with SU5 on another folder, does that affect my 10.1.3.1 Preview version?
    I'm using 10.1.3.1 Preview version to learn Oracle's SOA suite.
    Thanks again,
    Magesh.

  • Error while running  BDB tcl testsuite commands

    Hi,
    I build berkeley db (4.7.25) libraries with tcl test suite is enabled in the solaris 9 machine using below configuration
    ../dist/configure --enable-dynamic ${BUILD_TAG} enable-tcl with-tcl=/export/tcl8.5/lib enable-test enable-java -prefix ${BUILD_DIR}
    I used tcl 8.5, jdk1.6.0_18 and gcc-3.4.6 for building libraries.Libraries are build successfully.
    When I run tcl command "run_std" in the tcl prompt, test is completed with below error logs in ALL.OUT file.
    ==========================================================================
    cat ALL.OUT | grep FAIL
    FAIL: error message in .out file: ./TESTDIR/lock003.1.out:FAIL:14:53:06 (00:00:01) number of other locks on 5: expected 0, got 1
    FAIL: error message in .out file: ./TESTDIR/lock003.1.out:FAIL:14:53:06 (00:00:00) ../dist/../test/lockscript.tcl run: FAIL:14:53:06 (00:00:01) number of other locks on 5: expected 0, got 1: pid 28332: expected 0, got 1
    FAIL: error message in .out file: ./TESTDIR/lock003.1.out:FAIL:18:24:50 (00:00:00) number of other locks on 44: expected 0, got 1
    FAIL: error message in .out file: ./TESTDIR/lock003.1.out:FAIL:18:24:50 (00:00:00) ../dist/../test/lockscript.tcl run: FAIL:18:24:50 (00:00:00) number of other locks on 44: expected 0, got 1: pid 28378: expected 0, got 1
    FAIL:03:09:45 (00:00:42) db_dump/db_load(./TESTDIR/primary007.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:09:45 (00:00:00) Dump/load of ./TESTDIR/primary007.db failed.
    FAIL:03:09:45 (00:00:00) db_dump/db_load(./TESTDIR/secondary007.0.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:09:45 (00:00:00) Dump/load of ./TESTDIR/secondary007.0.db failed.
    FAIL:03:09:45 (00:00:00) db_dump/db_load(./TESTDIR/secondary007.1.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:09:45 (00:00:00) Dump/load of ./TESTDIR/secondary007.1.db failed.
    FAIL:03:10:31 (00:00:46) db_dump/db_load(./TESTDIR/primary008.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:10:31 (00:00:00) Dump/load of ./TESTDIR/primary008.db failed.
    FAIL:03:10:31 (00:00:00) db_dump/db_load(./TESTDIR/secondary008.0.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:10:31 (00:00:00) Dump/load of ./TESTDIR/secondary008.0.db failed.
    FAIL:03:10:31 (00:00:00) db_dump/db_load(./TESTDIR/secondary008.1.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:10:31 (00:00:00) Dump/load of ./TESTDIR/secondary008.1.db failed.
    FAIL:03:12:06 (00:01:35) db_dump/db_load(./TESTDIR/primary001.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:06 (00:00:00) Dump/load of ./TESTDIR/primary001.db failed.
    FAIL:03:12:06 (00:00:00) db_dump/db_load(./TESTDIR/secondary001.0.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:06 (00:00:00) Dump/load of ./TESTDIR/secondary001.0.db failed.
    FAIL:03:12:06 (00:00:00) db_dump/db_load(./TESTDIR/secondary001.1.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:06 (00:00:00) Dump/load of ./TESTDIR/secondary001.1.db failed.
    FAIL:03:12:34 (00:00:28) db_dump/db_load(./TESTDIR/primary002.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:34 (00:00:00) Dump/load of ./TESTDIR/primary002.db failed.
    FAIL:03:12:34 (00:00:00) db_dump/db_load(./TESTDIR/secondary002.0.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:34 (00:00:00) Dump/load of ./TESTDIR/secondary002.0.db failed.
    FAIL:03:12:34 (00:00:00) db_dump/db_load(./TESTDIR/secondary002.1.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:34 (00:00:00) Dump/load of ./TESTDIR/secondary002.1.db failed.
    FAIL:03:12:47 (00:00:00) db_dump/db_load(./TESTDIR/primary006.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:47 (00:00:00) Dump/load of ./TESTDIR/primary006.db failed.
    FAIL:03:12:47 (00:00:00) db_dump/db_load(./TESTDIR/secondary006.1.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:47 (00:00:00) Dump/load of ./TESTDIR/secondary006.1.db failed.
    FAIL:03:12:47 (00:00:00) db_dump/db_load(./TESTDIR/secondary006.2.db:couldn't create pipe: too many open files): expected 0, got 1
    FAIL:03:12:47 (00:00:00) Dump/load of ./TESTDIR/secondary006.2.db failed.
    FAIL:03:13:10 (00:00:23) r: sindex: db open:too many open files
    FAIL:06:38:47 (02:19:40) rep_process_message returned DB_NOTFOUND: No matching key/data pair found
    ====================================================================================
    What could be the reason for the above errors while running the tcl testsuite ?
    Is there any problem in berkeley db libraries that are build with above configuration?
    Could you please clarify.
    Thanks in advance.
    Regards,
    Madhu

    Hi Sandra,
    I have executed lock003 in the tclsh prompt and error occurred while executing this lock test.
    ========================================================
    [exec] Lock003: Multi-process random lock test
    [exec] Lock003.a: Create environment
    [exec] Script watcher process 11571 launching lockscript.tcl process 11574.
    [exec] Script watcher process 11570 launching lockscript.tcl process 11573.
    [exec] Script watcher process 11572 launching lockscript.tcl process 11575.
    [exec] Script watcher process 11576 launching lockscript.tcl process 11578.
    [exec] Lock003.b: 5 independent processes now running
    [exec] Script watcher process 11577 launching lockscript.tcl process 11597.
    [exec] 06:35:39 (00:00:00) processes running: 11570 11571 11574 11572 11573 11575 11576 11578 11577 11597
    [exec] 06:36:15 (00:00:36) processes running: 11570 11571 11574 11572 11573 11575 11576 11578 11577 11597
    [exec] 06:36:51 (00:00:36) processes running: 11570 11571 11574 11572 11573 11575 11576 11578 11577 11597
    [exec] 06:37:27 (00:00:36) processes running: 11570 11571 11574 11572 11573 11575 11576 11578 11577 11597
    [exec] 06:38:03 (00:00:36) processes running: 11570 11571 11574 11572 11573 11575 11576 11578 11577 11597
    [exec] 06:38:38 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 06:39:12 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 06:39:48 (00:00:36) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 06:40:22 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 06:40:57 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 06:41:32 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 06:42:07 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 06:42:41 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:48:46 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:49:20 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:49:55 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:50:29 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:51:04 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:51:39 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:52:13 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:52:48 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:53:23 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:53:58 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:54:32 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:55:07 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:55:41 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:56:16 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:56:51 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:57:25 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:58:00 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:58:34 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:59:09 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 09:59:46 (00:00:37) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 10:00:21 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 10:00:56 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 10:01:30 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 10:02:05 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 10:02:39 (00:00:34) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] 10:03:14 (00:00:35) processes running: 11571 11574 11572 11575 11576 11578 11577 11597
    [exec] All processes have exited.
    [exec] FAIL: error message in .out file: ./TESTDIR/lock003.0.out:FAIL:06:38:00 (00:00:00) number of other locks on 52: expected 0, got 1
    [exec] FAIL: error message in .out file: ./TESTDIR/lock003.0.out:FAIL:06:38:00 (00:00:00) ../dist/../test/lockscript.tcl run: FAIL:06:38:00 (00:00:00) number of other locks on 52: expected 0, got 1: pid 11573: expected 0, got 1
    ===================================================================
    Is this problem occur if berkeley db jars having any issues ?Why because, when berkeleydb jars (build without tcl test flags in the same environment) are used in application under high load,application is hanged because of berkeley db native api.
    Sorry,I could not change ulimit value in my system because of lack of permissions.
    Can you please explain what could be the reason for the above error and how to rectify it.
    Thanks
    Madhu

  • Error while running helloworld example

    Hi Every one!
    I am getting the following error while running the helloworld page....can some one help me please....
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    G:\OAF1\jdevbin\jdk\bin\javaw.exe -hotspot -classpath G:\OAF1\jdevbin\j2ee\home\oc4j.jar;G:\OAF1\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -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 G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Could not canonicalize 'C:\Program Files\Java\jdk1.5.0_08\libC:\Program Files\Apache Software Foundation\Tomcat 6.0\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
    Could not canonicalize '"C:\Program Files\NetBeans 6.5\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
    Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\xml.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /G:/OAF1/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /G:/OAF1/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 21093 ms.
    Target URL -- http://bloom.bspl.com:8988/OA_HTML/runregion.jsp
    12/04/16 17:27:14 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    12/04/16 17:27:19 TIME: runregion: initialization [16 ms]
    oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
         at _runregion._jspService(_runregion.java:136)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    Goto Project Properties:
    Search for the following in left pane:
    Oracle Applications -> Runtime Connection
    DBC file : Choose the correct dbc file from your local machine. You have to get it from your dba and paste it in this path: jdevhome\jdev\dbc_files\secure\*.dbc
    User Name: Application User Name
    Password : Application password
    Responsibilty Key:
    Goto Application Developer --> Responsibility --> Define -- >
    Query for the available responsibility for the given user. Say for example: "Order Management Super User"
    Application: Order Management
    Responsibilty Key: ORDER_MGMT_SUPER_USER
    Application Short Name:
    Goto Application Developer --> Application --> Register -- >
    Query for the given application " Order Management"
    Short Name: ONT
    Responsibility Key and Application Short Name depends upon the object you are developing.
    Regards.

  • Stack overflow error while running Jprofiler for Jboss 4.0.2

    I am getting the below mentioned error while running Jprofiler for Jboss App server.
    My JVM version on linux is:
    03:39:16,286 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
    03:39:16,287 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc.
    03:39:16,287 INFO [ServerInfo] OS-System: Linux 2.6.9-34.ELsmp,i386
    Could pass any pointers what could be wrong. This is first time I am using Jprofiler.
    TIA,
    Sachin
    =========================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: /opt/myApp/Jboss-app
    JAVA: /usr/java/jdk1.5.0_03/bin/java
    JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=runjboss.sh -javaagent:/opt/myApp/Jboss-app/bin/pluggable-instrumentor.jar -DSUN_AM_URL=https://hpss3.ca.myApp.com:68081 -DWhenToUse=never
    CLASSPATH: /opt/myApp/Jboss-app/bin/run.jar:/usr/java/jdk1.5.0_03/lib/tools.jar
    =========================================================================
    JProfiler> Protocol version 22
    JProfiler> Using JVMTI
    JProfiler> 32-bit library
    JProfiler> Listening on port: 8849.
    JProfiler> Native library initialized
    Error occurred during initialization of VM
    java.lang.StackOverflowError

    You could try increasing the thread stack size, e.g. something like
    'java -XX:ThreadStackSize=768 ...'
    But you should really be asking the JProfiler people, they would probably give you better advice.
    -kto

  • Build Error while Running Ant Build File in Eclipse

    I am getting the following error while running the Ant build file in eclipse ,
    Can someone help me on this ?
    Error:
    weblogic.utils.compiler.ToolFailureException: com.bea.xml.XmlException

    You need to add the JAR containing the servlet API in the external JARs for the project.
    Regards,
    Carol.

  • Security Violation Error while running schedule task from OIM.

    Hi All,
    I am getting this error while running a custom java schedule task from OIM:
    *Thor.API.Exceptions.tcAPIException [EJB:010160] Security Violation: User '<anonymous>' has insufficient permission to access EJB:*
    type=<ejb>,application=Xellerate,module=xlDataObjectBeans.jar,ejb=tcReconciliationoperations,method=createDeleteReconciliationEvent
    at Thor.API.Operations.tcReconciliationOperationsClient.createDeleteReconciliationEvent(UnKnown Source).
    I got this error as soon as my code start creating Delete Reconciliation Event.
    Note: I have already protected the JNDI Namespace.
    Please provide some pointers.
    Regards,
    Sunny

    Hi Rajiv,
    Check this:
    package com.centrica.iam.scheduletask;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileFilter;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Hashtable;
    import java.util.Iterator;
    import java.util.Set;
    import oracle.iam.connectors.common.ConnectorLogger;
    import com.thortech.xl.dataaccess.tcDataSet;
    import com.thortech.xl.dataaccess.tcDataSetException;
    import com.thortech.xl.dataobj.PreparedStatementUtil;
    import com.thortech.xl.orb.dataaccess.tcDataAccessException;
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    import Thor.API.tcResultSet;
    import Thor.API.Exceptions.tcAPIException;
    import Thor.API.Exceptions.tcInvalidValueException;
    import Thor.API.Operations.tcLookupOperationsIntf;
    import Thor.API.Operations.tcReconciliationOperationsIntf;
    import Thor.API.Operations.tcSchedulerOperationsIntf;
    public class CustomFlatFile extends SchedulerBaseTask {
         private static tcSchedulerOperationsIntf schedulerIntf;
         private static tcLookupOperationsIntf lookupIntf;
         private static tcReconciliationOperationsIntf reconIntf;
         String sObjectName;
         String LookupName;
         String LookupName2;
         String FileDirectory;
         String FileName;
         String File;
         String delimeter;
         String isDeleteTrue;
         HashMap<String, String> attrMap = new HashMap();
         HashMap<String, String> delMap = new HashMap();
         HashMap<String, String> finalMap = new HashMap();
         ArrayList list = new ArrayList();
         public boolean isReconStopped;
         public CustomFlatFile()
              isReconStopped = false;
         public void init()
              LookupName = getAttribute("Attribute Lookup Name");
              FileDirectory = getAttribute("Directory Path");
              FileName = getAttribute("File Name");
              delimeter = getAttribute("Delimeter");
              sObjectName = getAttribute("Resource Object Name");
              isDeleteTrue = getAttribute("Is Delete Allowed");
         public void execute(){
              try {
                   System.out.println("Start Exceute");
                   //Initiate lookupIntf
                   lookupIntf = (tcLookupOperationsIntf)getUtility("Thor.API.Operations.tcLookupOperationsIntf");
                   reconIntf=(tcReconciliationOperationsIntf)getUtility("Thor.API.Operations.tcReconciliationOperationsIntf");
                   catch (tcAPIException tcapiexception){
                        tcapiexception.printStackTrace();
                        //logger.error(classname, s, tcapiexception.toString());
                        //logger.setStackTrace(tcapiexception, classname, s, tcapiexception.getMessage());
                   catch (Exception excep){
                        excep.printStackTrace();
                        //logger.error(classname, s, excep.toString());
                        //logger.setStackTrace(excep, classname, s, excep.getMessage());
                   attrMap = readLookup(LookupName);
                   System.out.println(attrMap.toString());
                   readFile();
                   if (isDeleteTrue.equalsIgnoreCase("true"))
                        performDelete();
                   System.out.println("Finish Execute");
         public void performDelete()
              System.out.println("Start Perform delete");
              int k = list.size();
              System.out.println("list size " + list.size());
              try
                   Thread.sleep(15000);
         /*     Hashtable ahashtable[] = new Hashtable[k];
              Hashtable hashtable = new Hashtable();
              for (int i=0;i<k;i++)
                   hashtable.put("User Id", list.get(i));
                   ahashtable[i] = hashtable;
                   System.out.println(list.get(i));
              Set set = reconIntf.provideDeletionDetectionData(sObjectName, ahashtable);
              System.out.println("Set--" + set.toString());
              tcResultSet tcresultset = reconIntf.getMissingAccounts(sObjectName, set);
              System.out.println("tcresultset - " + tcresultset.getRowCount());
              if (!(tcresultset.isEmpty()))
                   long l[] = reconIntf.deleteDetectedAccounts(tcresultset);
                   for (int i1=0;i1<l.length;i1++)
                        System.out.println("delete recon key " + l[i1]);
              //Get the existing list of Managed users
                   tcDataSet tcdataset = new tcDataSet();
                   tcDataSet tcdataset1 = new tcDataSet();
                   String query = "select orf.orf_fieldname,prf.prf_columnname, sdk.sdk_name from orf, sdk, pkg, tos, prf, obj " +
                             "where pkg.obj_key = obj.obj_key and pkg.pkg_key = tos.pkg_key and tos.sdk_key is not null " +
                             "and tos.sdk_key=sdk.sdk_key and tos.tos_key=prf.tos_key and prf.prf_iskey='1' and prf.orf_key=orf.orf_key " +
                             "and orf.orf_parent_orf_key is null and obj.obj_name='" + sObjectName + "'";
                   tcdataset.setQuery(getDataBase(), query);
                   tcdataset.executeQuery();
                   String FFName = tcdataset.getString("prf_columnname");
                   String FName = tcdataset.getString("sdk_name");
                   String ROFName = tcdataset.getString("orf_fieldname");
                   System.out.println("form- " + FName + " Field- " + FFName);
                   query = "select " + FFName + " from " + FName + " udtable, oiu a, ost b " +
                             "where udtable.orc_key=a.orc_key and a.ost_key=b.ost_key and b.ost_status!='Revoked'";
                   System.out.println(query);
                   tcdataset1.setQuery(getDataBase(), query);
                   tcdataset1.executeQuery();
                   int i = tcdataset1.getRowCount();
                   ArrayList list1 = new ArrayList();
                   String s1 = null;
                   System.out.println("N. of rows--" + i);
                   for (int j=0;j<i;j++)
                        tcdataset1.goToRow(j);
                        s1 = tcdataset1.getString(0);
                        System.out.println("s1---" + s1);
                        if (!(list.contains(s1)))
                             list1.add(s1);
                             System.out.println("under if--" + s1);
                   //Getting the existing list of unmanaged users
                   query = "select distinct (b.rcd_value) from rce a, rcd b, orf c, obj d where a.rce_key=b.rce_key and " +
                             "b.orf_key=c.orf_key and c.orf_fieldname='" + ROFName + "' and a.rce_status!='Event Linked' " +
                                       "and a.obj_key = d.obj_key and d.obj_name='" + sObjectName + "'";
                   tcdataset1.setQuery(getDataBase(), query);
                   tcdataset1.executeQuery();
                   i = tcdataset1.getRowCount();
                   System.out.println("No. Of Unmanaged Users " + i);
                   for (int j=0;j<i;j++)
                        tcdataset1.goToRow(j);
                        s1 = tcdataset1.getString(0);
                        System.out.println("s1---" + s1);
                        if (!(list.contains(s1)))
                             list1.add(s1);
                             System.out.println("under if--" + s1);
                   int k1 = list1.size();
                   System.out.println("list1 size--" + k1);
                   for (int j1=0;j1<k1;j1++)
                        delMap.clear();
                        delMap.put(ROFName, (String)list1.get(j1));
                        System.out.println(delMap.toString());
                        long l = reconIntf.createDeleteReconciliationEvent(sObjectName, delMap);
                        System.out.println("delete recon key--- " + l);
              catch (Exception exception)
                   exception.printStackTrace();
         public void readFile(){
              String s = "readFile()";
              //logger.setMethodStartLog(classname, s);
              HashMap map = new HashMap();
              try {
              File = getFile();
              BufferedReader reader = new BufferedReader(new FileReader(new
                        File(File)));
              String line = "";
              int k = attrMap.size();
              String value[] = new String[k];
              String Header[]= new String[k];
              if (delimeter.equalsIgnoreCase("|"))
                   delimeter = "\\" + delimeter;
                   line = reader.readLine();
                   Header = line.split(delimeter);
                   while((line = reader.readLine()) != null)
                        value = line.split(delimeter);
                        k = value.length;
                        for (int i = 0;i<k;i++){
                             finalMap.put(attrMap.get(Header), value[i]);
                        System.out.println(finalMap.toString());
                        System.out.println("Start Ignoring Event");
                        if (!(reconIntf.ignoreEvent(sObjectName, finalMap)))
                             System.out.println("Not Ignored");
                        long l1 = reconIntf.createReconciliationEvent(sObjectName, finalMap, true);
                        System.out.println("Recon Key--" + l1);
                        else
                             System.out.println("ignore event ---" + finalMap.toString());
                        list.add(finalMap.get("User Id"));
                        System.out.println(list.size() + "add--" +finalMap.get("User Id") );
                        finalMap.clear();
              catch (Exception exception)
                   exception.printStackTrace();
         public boolean stop(){
              String s = "stop()";
              //logger.setMethodStartLog(classname, s);
              //logger.info(classname, s, "Stopping Reconciliation........");
              isReconStopped = true;
              //logger.setMethodFinishLog(classname, s);
              return true;
         FileFilter fileFilter = new FileFilter()
         public boolean accept(File file)
         String sFilePath = file.getName();
         if( sFilePath.startsWith(FileName) )
         return true;
         else
         return false;
         public String getFile() throws FileNotFoundException, Exception{
              String s = "getFile()";
              //logger.setMethodStartLog(classname, s);
              String s1;
              File dir =     new File(FileDirectory);
              File[] files = dir.listFiles(fileFilter);
              if (files.length ==0)
                   throw new FileNotFoundException();
              if (files.length>1)
                   throw new Exception("Multiple Matches found for this file name");
              s1 = files[0].toString();
              //logger.setMethodFinishLog(classname, s);
              return s1;
         public HashMap readLookup(String s1){
              String s = "readLookup()";
              //logger.setMethodStartLog(classname, s);
              HashMap map = new HashMap();
              try {
              tcResultSet tc1=     lookupIntf.getLookupValues(s1);
              int i = tc1.getRowCount();
              for (int j = 0;j<i;j++){
                   tc1.goToRow(j);
                   map.put(tc1.getStringValue("Lookup Definition.Lookup Code Information.Code Key"), tc1.getStringValue("Lookup Definition.Lookup Code Information.Decode"));
              catch (tcAPIException tcapiexception){
                   tcapiexception.printStackTrace();
                   //logger.error(classname, s, tcapiexception.toString());
                   //logger.setStackTrace(tcapiexception, classname, s, tcapiexception.getMessage());
              catch (Exception excep){
                   excep.printStackTrace();
                   //logger.error(classname, s, excep.toString());
                   //logger.setStackTrace(excep, classname, s, excep.getMessage());
              return map;

  • Error while running  jcwde

    Hi All,
    I am getting an error while running even the sample program in java card kit 2.2.2
    i set all the path ,classpath as mentioned in the documentation page. But when i run the jcwde as mentioned in the doc its giving a message
    "card was unexpected at this time"
    Could some body help me why this is so .. I am stuck becase of this .. or this is a bug ..
    Thanks in advance
    Thomas

    All the issue has been resolved.
    I removed jctasks.jar from my classpath and everthing starts working fine. Please dont ask me the reson. :-) I dont know how it worked.
    Thanks
    Tijo

  • Error While Running WLST

    Hi,
    I am getting following error while running WLST using ANT.
    Traceback (innermost last):
    File "<iostream>", line 13, in ?
    ImportError: no module named weblogic
    We have written our custom ant task to create WLST script and invoke it from there. Other details of environment>>>
    1. Weblogic 8.1sp5
    2. Ant 1.6.5
    I added debug statements in the custom task and found that it has failed in creating WLSTInterpreter instance.
    Detailed Stacktrace...
    at org.python.core.Py.ImportError(Py.java)
    at org.python.core.imp.import_first(imp.java)
    at org.python.core.imp.import_name(imp.java)
    at org.python.core.imp.importName(imp.java)
    at org.python.core.ImportFunction.load(__builtin__.java)
    at org.python.core.ImportFunction.__call__(__builtin__.java)
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.core.__builtin__.__import__(__builtin__.java)
    at org.python.core.imp.importOne(imp.java)
    at org.python.pycode._pyx0.f$0(<iostream>:13)
    at org.python.pycode._pyx0.call_function(<iostream>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
    at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:35)
    In case anyone has faced this error before please suggest.
    Thanks in Advance.

    Hi,
    Solved it by putting weblogic.jar, jython.jar & wlst.jar in system classpath.
    Thanks.

  • Jdevloper11g Release 1: Error while running Bean in java

    Hello ,
    I am getting error while running my HRFacadeClient.java
    [EclipseLink/JPA Client] Adding Java options: -javaagent:C:\Oracle\Middleware\jdeveloper\..\modules\org.eclipse.persistence_1.1.0.0_2-1.jar
    "C:\Program Files\Java\jdk1.6.0_29\bin\javaw.exe" -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_APP\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_APP\EJBModel\classes;C:\Oracle\Middleware\modules\com.oracle.toplink_1.1.0.0_11-1-1-6-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.2.0.0_2-3.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.1.0.0_2-0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.1.0.0_1-2.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.3.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-4-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -javaagent:C:\Oracle\Middleware\jdeveloper\..\modules\org.eclipse.persistence_1.1.0.0_2-1.jar oracle.HRFacadeClient
    Error occurred during initialization of VM
    agent library failed to init: instrument
    Error opening zip file or JAR manifest missing : C:\Oracle\Middleware\jdeveloper\..\modules\org.eclipse.persistence_1.1.0.0_2-1.jar
    Process exited with exit code 1.
    plz help me to solve this issue.

    If you have addition error detail or stack-traces, please consider posting those.
    Verify that you have not unintentionally corrupted your project XML files, especially by editing them with a rogue editor, e.g. Windows Notepad is known to add a BOM to a file if you save as UTF-8.

Maybe you are looking for