I deployed my .ear......Class loader failed...classs not found exception

Hi,
i deployed my application in Oracle 10g appserver....it shows the following exception
[Sep 15, 2006 12:48:22 PM] [SWDMS.192.168.20.108] Application Deployer for swdms STARTS.
[Sep 15, 2006 12:48:22 PM] [SWDMS.192.168.20.108] Copy the archive to C:\product\10.1.3\OracleAS_1\j2ee\home\applications\swdms.ear
[Sep 15, 2006 12:48:22 PM] [SWDMS.192.168.20.108] Initialize C:\product\10.1.3\OracleAS_1\j2ee\home\applications\swdms.ear begins...
[Sep 15, 2006 12:48:22 PM] [SWDMS.192.168.20.108] Unpacking swdms.ear
[Sep 15, 2006 12:48:24 PM] [SWDMS.192.168.20.108] Done unpacking swdms.ear
[Sep 15, 2006 12:48:24 PM] [SWDMS.192.168.20.108] Unpacking swdmsWARrel1_0.war
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Done unpacking swdmsWARrel1_0.war
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Initialize C:\product\10.1.3\OracleAS_1\j2ee\home\applications\swdms.ear ends...
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Starting application : swdms
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Initializing ClassLoader(s)
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Initializing EJB container
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Loading connector(s)
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Starting up resource adapters
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Processing EJB module: swdmsEJBrel1_0.jar
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] application : swdms is in failed state
[Sep 15, 2006 12:48:26 PM] [SWDMS.192.168.20.108] Operation failed with error: Missing class: com.ats.swdms.common.ejb.ClientEJBBean Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor Loader: oc4j:10.1.3 Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar This load was initiated at swdms.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
Can any one help me?
regards,
Shunmuag.

Hi,
Just check you registery to find out the parameter in your path.
Cheers,
Hamdy

Similar Messages

  • Error in Oracle Load Tester --- Variable Not Found Exception

    Hi Team
    While running the iterations through oracle load tester we are getting the error "Variable not found exception" and the iterations are going through the infinite loop. PLease find attached the detailed document regarding the setup and the iterations we are running. Please find the link where i have shared the document.
    https://docs.google.com/document/d/1Fc4ZY7oC-cEpDSYBhJLb1lNdtNl8-uXmcDkiNakaNpk/edit?usp=sharing
    Thanks in advance for your help.
    Regards
    Pavan
    Message was edited by: user11266214

    In 'Set Up Autopilot' tab, under 'Stop the load test' you have to select 'Iteration played by each user 1'

  • Loading jperflib failed. jperflib (Not found in java.library.path)

    Please:
    We are working with SAP Netweaver EHP1 7.0, Red Hat Enterprise Linux 5, Oracle 10g,
    SAP Application Server JAVA/Oracle, Central System
    Java versión installed IBMJava2-amd64-142
    java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20100916a (JIT enabled)
    J9VM - 20100914_64612_LHdSMr
    JIT  - 20090210_1447ifx2_r8
    GC   - 200902_24)
    step 23 de 37: Configure UME:
    Message error:
    INFO 2010-11-19 20:04:41.532
    Output of /opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/
    CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.s
    ap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/tools/iaik_jce.ja
    r:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/global/security/l
    ib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/BJD/
    SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/ins
    tall/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/oracle/client/10x_
    64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/BatchConfig.xml i
    s written to the logfile batchconfig.log.
    WARNING 2010-11-19 20:04:43.908
    Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW
    701/AS-JAVA/ORA/CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.Offlin
    eToolStart com.sap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/t
    ools/iaik_jce.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/g
    lobal/security/lib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.j
    ar:/usr/sap/BJD/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA
    /ORA/CENTRAL/install/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/or
    acle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/B
    atchConfig.xml" finished with return code 183. Output:
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h).
    hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    WARNING[E] 2010-11-19 20:04:43.909
    CJS-30059  Java EE Engine configuration error. DIAGNOSIS: See output of log file batchconfig.
    log: '
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h)
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration. '.
    ERROR 2010-11-19 20:04:44.7
    FCO-00011  The step runBatchconfig with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_S
    ystem|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|i
    nd|ind|ind|ind|5|0|runBatchconfig was executed with status ERROR
    Thanks for your comments nad suggestion

    good afternoon:
    the error loading jperflib failed. jperflib (Not found in java.library.path) is fixed,
    Solution:  LD_LIBRARY_PATH=/sapmnt/SID/exe
    but other error appear
    /usr/sap/BJD/JC01/j2ee/admin/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/admin/cfg/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/dplOptions.options doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/configtool/config.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/rdb.properties doesn't exist and will be created by batchconfig.
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    com.sap.engine.frame.core.configuration.NameNotFoundException: A property with the name "java.parameters" cannot be found in the  PropertySheet "cluster_data/server/cfg/element-info.ID139743".
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.<init>(PropertyEntryImpl.java:85)
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.readPropertyEntry(PropertyEntryImpl.java:54)
            at com.sap.engine.core.configuration.impl.addons.PropertySheetImpl.getPropertyEntry(PropertySheetImpl.java:127)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.setElementInfoProperties(ElementInfoTask.java:243)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.go(ElementInfoTask.java:184)
            at com.sap.engine.configtool.batch.BatchConfig.go(BatchConfig.java:60)
            at com.sap.engine.configtool.batch.BatchConfig.main(BatchConfig.java:98)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

  • ADS: com.adobe.ProcessingException: Class not found exception while loading

    Hi All,
    While i'm trying to activate FORM (Interactive Form in Transaction SFP), i'm getting error -
    ADS: com.adobe.ProcessingException: Class not found exception while loading class SAPForm, classpath: /usr/sap/AHS/DVEBMGS00/exe/jstart7 1.jar/usr/sap/AHS/DVEBMGS00/exe.
    Could anyone let me know the way to resolve this issue.
    Thanks and Regards,
    Sunil

    Many Thanks for the reply-It's working now
    I added the MySQL connector in the following manner
    1)Open the Tom Cat server console by Selecting 'Servers' in Package Explorer
    2)Right Click 'Tomcat v5.5 at localhost.server'
    3)Select 'Open Launch Configuration' under 'General Information'
    4)Select the 'Classpath' tab in the Edit configuration window that opens
    5)Select 'Add External Jars' and add the required connector

  • Class not found exception when launching opencounterslogger.bat

    PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
    Expected PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
    claspath is D:\bea\alui\ptportal\10.3.0\lib\java\jakarta-oro-2.0.7.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openfoundation.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openlog-framework.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openconfig.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openkernel.jar;D:\bea\alui\ptportal\1
    0.3.0\lib\java\pmb.jar;D:\bea\alui\ptportal\10.3.0\lib\java\opencounters.jar
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/plumtree/openkernel/impl/counters/adaptor/logger/PTRemoteCounterLoggerMain
    Press any key to continue . . .
    The class PTRemoteCounterLoggerMain is not in any of the jars in the classpath. Also opencountersconsole.bat is not to be seen is the installation

    Hi Mark,
    I have seen your two posts and there are something you need to notice:
    Where the ClassNotFound exception you got? From deployment tool or
    application server kjs process?
    Of course, you need not to add supporting classes to each ejb jars or ears.
    1. If you use deployment tool to package your application, I'm sure you'll
    fail to resovle your classes without supporting classes added to jars.
    Please select Edit->Preference,in Classpath entry, enter the supporting
    classes(packaged to jar files) location. This should work.
    2. After deploy to ias, please edit the registry using kregedit which you
    described in your posts.
    Regards,
    Johnson
    "Mark Priest" <[email protected]> wrote in message
    news:9s6h33$[email protected]..
    When I deploy EJBs to the iPlanet app server I find that I need to include
    all supporting classes in each ejb jar file. According to the
    Administrator's manual I should be able to modify the kjs classpath bydoing
    the following:
    On Windows
    a.. Open iPlanet Registry Editor.
    (See About iPlanet Registry Editor)
    b.. Open the following key:
    SOFTWARE\iPlanet\Application Server\6.0\Java\
    c.. Modify the class path and restart the server for the change to take
    effect.
    However, when I add my supporting classes to a jar in this directory Istill
    get a class not found exception when I run the deployment tool.
    Adding the classes to each EJB jar is redundant and introduces lots of
    problems. How should I configure iPlanet so I only need to put my
    supporting classes in one place?
    Thanks,
    Mark

  • Why i get servlet exception/login servlet not found exception  with .ear ?

    I am able to deploy my war and after that generating the ear from that. both works fine in local system.
    But when i run (Jboss as service[Java Service Wrapper]) it takes war without any problem.But with ear file i am getting servlet not found exception.I can't understand where this problem is coming from.
    Even if i take my JSPWIki ear which is running well in production server, this also gives same error.
    One more thing, the files, what i am running well in local system i.e. war and ear working fine. (can't test in production server so testing in same kind of testing server) there also getting login servlet not found exception. Even in same location other files which are deployed are working fine.out of 4 at least one is working fine.
    I don't undersatnd where this whole problem is .
    Please guiide me where sholud i concentrate to solve this problem.
    thnaks
    Vijendra

    I took the source code including the dll files already added to the project from here:
    spazzarama/Direct3DHook
    The solution include two projects the one name Capture is class library type and the dll that make the exception is in this project.
    I tried now to use the program Dependency Walker on this dll file and it found error/s:
    This is the log:
    Error: At least one required implicit or forwarded dependency was not found.
    Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
    Error: Modules with different CPU types were found.
    Warning: At least one delay-load dependency module was not found.
    Screenshot:
    It happen only when using/detecting Direct3D 11 . So far only in Direct3D 11, When i use it with a game that run Direct3D 9 it's working fine.
    The question is how can i solve this dll problem ? Any site/place to download this dll from ?

  • Class oracle.disco.DiscoApplet not found ?????

    Hi,
    I'm unable to open disco plus 10.1.2.2 today and it was working fine for me till yesterday.
    what i getting in console i pasted below.
    Any suggestions ????
    Java Plug-in 1.6.0_01
    Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM
    load: class oracle.disco.DiscoApplet not found.
    java.lang.ClassNotFoundException: oracle.disco.DiscoApplet
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more

    Hi,
    This looks more to me like it was an applet conflict with the newer 10.1.2.2 jar files and the older applet that was cached.
    I say this because I have used the 1.6 plugin without issue (not that it is officially certified :-) ) with versions 10.1.2.0.2 and 10.1.2.2 and I have seen that conflict before when applying patches that udpate the Discoverer Plus applet jar files.
    If you have this occur again, try to clear your JRE cache (start >> control panel >> java) and then reconnect, it will force the download of the new udpated applet. Likely why it started working when you deninstalled and reinstalled. Not sure if that would be considered a Discoverer bug/issue or a JRE issue when a new applet doesn't overwrite the old one.
    Hope that helps,
    Steve.

  • Java applet class not found exception for check scan

    I am getting a class not found exception when trying to scan a check into a banking website. The application uses Java and the exception error has the name "com.epaysol.checkscanAppletV2" in the message. I have the latest Firefox and the latest Java installed. I tried going to an earlier version of Firefox and of Java where this app worked in the past and it does not work now in the earlier versions either. So I am now back to the latest version of everything.

    Try to clear the Java cache:
    * http://www.java.com/en/download/help/5000020300.xml
    Control Panel > Java > General tab > "Temporary Internet Files" > Settings > Delete Files
    *XP: C:\Documents and Settings\<user>\Application Data\Sun\Java\Deployment\cache\
    *Vista: C:\Users\<user>\AppData\LocalLow\Sun\Java\Deployment\cache\

  • Class not found exception for the startup class defined.

    iam using weblogic server 10 and bea jrockit 1.5.0.12.
    i have created a startup class in the admin console for a web project and i have deployed the war file using the console in a user defined domains, user project directory.
    when i start the server, iam getting class not found exception for the startup class.
    But, the startup class is available in the web archive (war). how should we add the classes and jars in the war to the classpath in setDomainEnv.sh or is there any other setting available in the console to enable this.

    Hello Julius,
    yes sure, we can move this post to the NW admin forum. I have already posted similar thread on sun forums. I was hoping that someone from SAP SDN already tackled this problem and if not someone specialized in J2EE Engine could troubleshoot me from the class problem I'm getting. I don't know if it's specific from the agent or if this ClassNotFound is a general SAP J2EE Engine error relating to a library not correclty defined.
    Kind regards,
    Tanguy Mezzano

  • Class not Found Exception while running an EJB

    I have created and published a EJB in Oracle 8i (in a particular
    schema) by running the deployejb tool supplied. The ejb was
    published successfully. On running the client program I get an
    error saying that the mybeans's HomeHelper class cannot be
    found. This error occurs when there is a lookup to the home
    interface of the bean. The exception thrown says Reasons are
    unknown. On checking the objects of type 'JAVA CLASS' I found
    that the homeHelper class object had been created automatically
    be the deploy process. What is the reason for the class not
    found exception and what can I do to correct it. ?
    The code for the beans is as given below :
    Home Interface
    package mituser ;
    import javax.ejb.*;
    import java.rmi.RemoteException;
    public interface MITUserHome extends EJBHome {
    public MITUser create()
    throws CreateException, RemoteException;
    Remote Interface
    package mituser ;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface MITUser extends EJBObject {
    public int validateUserName (String username)
    throws java.sql.SQLException, RemoteException;
    public int validatePassword (String username, String password)
    throws java.sql.SQLException, RemoteException;
    public String validateSearchAccess (String username, String
    password)
    throws java.sql.SQLException, RemoteException;
    Bean
    package mituserServer ;
    import java.sql.*;
    import java.rmi.RemoteException;
    import javax.ejb.*;
    public class MITUserBean implements SessionBean {
    SessionContext ctx;
    public void ejbCreate() throws CreateException,
    RemoteException {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void ejbRemove() {
    public void setSessionContext(SessionContext ctx) {
    this.ctx = ctx;
    public int validateUserName (String username) throws
    SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ?");
    try {
    ps.setString (1, username);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("no registered user with User
    Name " + username);
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public int validatePassword (String username, String password)
    throws SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Invalid Password ");
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public String validateSearchAccess (String username, String
    password) throws SQLException, RemoteException
    String searchaccess = "" ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select searchprofileaccess from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Access Denied for " +
    username );
    searchaccess = rset.getString(1) ;
    return searchaccess ;
    } finally {
    ps.close();
    Client program
    import mituser.MITUser;
    import mituser.MITUserHome;
    import oracle.aurora.jndi.sess_iiop.ServiceCtx;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Hashtable;
    public class Client {
    public static void main (String [] args) throws Exception {
    int count = 0 ;
    String access = "" ;
    if (args.length != 4) {
    System.out.println("usage: Client serviceURL objectName
    user password");
    System.exit(1);
    String serviceURL = args [0];
    String objectName = args [1];
    String user = args [2];
    String password = args [3];
    Hashtable env = new Hashtable();
    env.put(Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    env.put(Context.SECURITY_AUTHENTICATION,
    ServiceCtx.NON_SSL_LOGIN);
    Context ic = new InitialContext(env);
    MITUserHome home = (MITUserHome)ic.lookup (serviceURL +
    objectName);
    MITUser testBean = home.create ();
    count = testBean.validateUserName("MITA");
    if (count > 0 )
    System.out.println ("Valid User");
    else
    System.out.println ("Invalid User");
    count = testBean.validatePassword("MITA", "MITA");
    if (count > 0 )
    System.out.println ("Valid Password");
    else
    System.out.println ("Invalid Password");
    access = testBean.validateSearchAccess("MITA", "MITA");
    if ( access.equalsIgnoreCase("YES") )
    System.out.println ("Search Access Available");
    else
    System.out.println ("Search Access Denied");
    The Descriptor file
    // MIT UserBean EJB deployment descriptor
    SessionBean mituserServer.MITUserBean {
    BeanHomeName = "test/mitUserJDBCBean";
    RemoteInterfaceClassName = mituser.MITUser;
    HomeInterfaceClassName = mituser.MITUserHome;
    AllowedIdentities = {MIT};
    SessionTimeout = 20;
    StateManagementType = STATEFUL_SESSION;
    RunAsMode = CLIENT_IDENTITY;
    TransactionAttribute = TX_REQUIRED;
    Batch File for deploying the ejb
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%
    javac -g mituser\MITUser.java
    javac -g mituser\MITUserHome.java
    javac -g mituserServer\MITUserBean.java
    jar cf0 mituser.jar mituser\MITUser.class
    mituser\MITUserHome.class mituserServer\MITUserBean.class
    javac -g Client.java
    call deployejb -republish -temp temp -u mit -p mit -s %
    ORACLE_SERVICE% -descriptor mituser.ejb mituser.jar
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    Batch file for running the cleint program
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%;server_generated.jar
    java Client %ORACLE_SERVICE% /test/mitUserJDBCBean mit mit
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    I know this is not strictly to do with JDBC but there appears to
    be no discussion forum for EJB
    Hoping for a response soon as it us very URGENT
    Thanks
    Mita
    null

    I have created and published a EJB in Oracle 8i (in a particular
    schema) by running the deployejb tool supplied. The ejb was
    published successfully. On running the client program I get an
    error saying that the mybeans's HomeHelper class cannot be
    found. This error occurs when there is a lookup to the home
    interface of the bean. The exception thrown says Reasons are
    unknown. On checking the objects of type 'JAVA CLASS' I found
    that the homeHelper class object had been created automatically
    be the deploy process. What is the reason for the class not
    found exception and what can I do to correct it. ?
    The code for the beans is as given below :
    Home Interface
    package mituser ;
    import javax.ejb.*;
    import java.rmi.RemoteException;
    public interface MITUserHome extends EJBHome {
    public MITUser create()
    throws CreateException, RemoteException;
    Remote Interface
    package mituser ;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface MITUser extends EJBObject {
    public int validateUserName (String username)
    throws java.sql.SQLException, RemoteException;
    public int validatePassword (String username, String password)
    throws java.sql.SQLException, RemoteException;
    public String validateSearchAccess (String username, String
    password)
    throws java.sql.SQLException, RemoteException;
    Bean
    package mituserServer ;
    import java.sql.*;
    import java.rmi.RemoteException;
    import javax.ejb.*;
    public class MITUserBean implements SessionBean {
    SessionContext ctx;
    public void ejbCreate() throws CreateException,
    RemoteException {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void ejbRemove() {
    public void setSessionContext(SessionContext ctx) {
    this.ctx = ctx;
    public int validateUserName (String username) throws
    SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ?");
    try {
    ps.setString (1, username);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("no registered user with User
    Name " + username);
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public int validatePassword (String username, String password)
    throws SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Invalid Password ");
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public String validateSearchAccess (String username, String
    password) throws SQLException, RemoteException
    String searchaccess = "" ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select searchprofileaccess from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Access Denied for " +
    username );
    searchaccess = rset.getString(1) ;
    return searchaccess ;
    } finally {
    ps.close();
    Client program
    import mituser.MITUser;
    import mituser.MITUserHome;
    import oracle.aurora.jndi.sess_iiop.ServiceCtx;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Hashtable;
    public class Client {
    public static void main (String [] args) throws Exception {
    int count = 0 ;
    String access = "" ;
    if (args.length != 4) {
    System.out.println("usage: Client serviceURL objectName
    user password");
    System.exit(1);
    String serviceURL = args [0];
    String objectName = args [1];
    String user = args [2];
    String password = args [3];
    Hashtable env = new Hashtable();
    env.put(Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    env.put(Context.SECURITY_AUTHENTICATION,
    ServiceCtx.NON_SSL_LOGIN);
    Context ic = new InitialContext(env);
    MITUserHome home = (MITUserHome)ic.lookup (serviceURL +
    objectName);
    MITUser testBean = home.create ();
    count = testBean.validateUserName("MITA");
    if (count > 0 )
    System.out.println ("Valid User");
    else
    System.out.println ("Invalid User");
    count = testBean.validatePassword("MITA", "MITA");
    if (count > 0 )
    System.out.println ("Valid Password");
    else
    System.out.println ("Invalid Password");
    access = testBean.validateSearchAccess("MITA", "MITA");
    if ( access.equalsIgnoreCase("YES") )
    System.out.println ("Search Access Available");
    else
    System.out.println ("Search Access Denied");
    The Descriptor file
    // MIT UserBean EJB deployment descriptor
    SessionBean mituserServer.MITUserBean {
    BeanHomeName = "test/mitUserJDBCBean";
    RemoteInterfaceClassName = mituser.MITUser;
    HomeInterfaceClassName = mituser.MITUserHome;
    AllowedIdentities = {MIT};
    SessionTimeout = 20;
    StateManagementType = STATEFUL_SESSION;
    RunAsMode = CLIENT_IDENTITY;
    TransactionAttribute = TX_REQUIRED;
    Batch File for deploying the ejb
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%
    javac -g mituser\MITUser.java
    javac -g mituser\MITUserHome.java
    javac -g mituserServer\MITUserBean.java
    jar cf0 mituser.jar mituser\MITUser.class
    mituser\MITUserHome.class mituserServer\MITUserBean.class
    javac -g Client.java
    call deployejb -republish -temp temp -u mit -p mit -s %
    ORACLE_SERVICE% -descriptor mituser.ejb mituser.jar
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    Batch file for running the cleint program
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%;server_generated.jar
    java Client %ORACLE_SERVICE% /test/mitUserJDBCBean mit mit
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    I know this is not strictly to do with JDBC but there appears to
    be no discussion forum for EJB
    Hoping for a response soon as it us very URGENT
    Thanks
    Mita
    null

  • Class javax.rmi.PortableRemoteObject not found in import

    I have successfully tested test1.jsp calling stateful ejb test1ejb under JDEV9032. On deploying to standalone OC4J903, the following error occurred on accessing the jsp:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:D:\O9IAS\j2ee\home\application-deployments\test\testWEB\persistence\_pages\\_test1.java
    Line # Error 10
    Class javax.rmi.PortableRemoteObject not found in import. import javax.rmi.PortableRemoteObject;
    Appreciate some pointers on how to troubleshoot this problem. Thanks. William Chew.

    This error is due to the c:\windows\system32\java.exe being first on the path instead of the d:\jdev9i\jdk\bin\java.exe being picked up.

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]

              Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
              is what's being thrown. I've been told it's a known bug that has not been patched
              yet, but I figured I would still ask.
              weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
              on thread ]
                   at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:150)
                   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:274)
                   at java.lang.Class.newInstance0(Class.java:306)
                   at java.lang.Class.newInstance(Class.java:259)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:98)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
                   at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:384)
                   at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
                   at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:116)
                   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:324)
                   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
                   at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
                   at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:430)
                   at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
                   at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:115)
                   at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
                   at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
                   at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub.dispatchSyncNoTranFuture(Unknown
              Source)
                   at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:463)
                   at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1961)
                   at weblogic.jms.client.JMSSession.createTopic(JMSSession.java:1353)
                   at JMSProvider.getTopic(JMSProvider.java:127)
                   at JMSPub.startJMSPubs(JMSPub.java:229)
                   at JMSPub.main(JMSPub.java:138)
              

    I'm not familiar with this problem - but I can make
              a guess at some work-arounds:
              (1) Lookup the destination via a standard JNDI
              context lookup rather than "createTopic()".
              (2) Make sure that the thread calling "createTopic()"
              also previously created a JNDI context.
              Matt Dickens wrote:
              > Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
              > is what's being thrown. I've been told it's a known bug that has not been patched
              > yet, but I figured I would still ask.
              > -------------------------
              > weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
              > on thread ]
              >      at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:150)
              >      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:274)
              >      at java.lang.Class.newInstance0(Class.java:306)
              >      at java.lang.Class.newInstance(Class.java:259)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:98)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
              >      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
              >      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:384)
              >      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
              >      at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:116)
              >      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:324)
              >      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
              >      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
              >      at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:430)
              >      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
              >      at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:115)
              >      at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
              >      at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
              >      at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub.dispatchSyncNoTranFuture(Unknown
              > Source)
              >      at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:463)
              >      at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1961)
              >      at weblogic.jms.client.JMSSession.createTopic(JMSSession.java:1353)
              >      at JMSProvider.getTopic(JMSProvider.java:127)
              >      at JMSPub.startJMSPubs(JMSPub.java:229)
              >      at JMSPub.main(JMSPub.java:138)
              

  • What does "dyld: lazy symbol binding failed: Symbol not found:" mean?

    I'm trying to run a program of mine on another computer but I keep having this error:
    loading library from: /tmp/jpathwatch-nativelib-v-0-92-libjpathwatch-native-32.dylib
    dyld: lazy symbol binding failed: Symbol not found: _write$UNIX2003
      Referenced from: /private/tmp/jpathwatch-nativelib-v-0-92-libjpathwatch-native-32.dylib
      Expected in: /usr/lib/libSystem.B.dylib
    dyld: Symbol not found: _write$UNIX2003
      Referenced from: /private/tmp/jpathwatch-nativelib-v-0-92-libjpathwatch-native-32.dylib
      Expected in: /usr/lib/libSystem.B.dylibThe machine under witch it was written had MACOSX 10.5 and the one that I want to run in is a 10.4 Has anyone herad of this error before?
    Because it's not even and exception, I don't even know what I looking at.
    Any help much appreciated.

    It looks like your application is using a native library ("jpathwatch-nativelib-v-0-92-libjpathwatch-native-32.dylib") which tries to use a symbol (probably a method) that's not available on your system ("_write$UNIX2003").
    The fact that the library was compiled on a later version of the OS might be a reason for it.
    But you'd probably need to contact the people who made jpathwatch for specifics on this.

  • Error While accessing JMS Queue on Weblogic***** ASSERTION FAILED *****[ Environment not found on thread ]

    Hi,
    I am trying to read response from JMS Queue hosted on Weblogic server and getting below exception. Any help on this will be appreciable.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]
          at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:148)
          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:274)
          at java.lang.Class.newInstance0(Class.java:308)
          at java.lang.Class.newInstance(Class.java:261)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:90)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:356)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
          at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:95)
          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:324)
          at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:425)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:117)
          at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
          at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          at weblogic.jms.dispatcher.DispatcherImpl_1035_WLStub.dispatchSyncNoTranFuture(Unknown Source)
          at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:341)
          at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1735)
          at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:1296)
    Thanks

    Hi,
    I am trying to read Queue standalone. Please find the code snippet below.  code highlighted in  where i am getting exception.
    public static void main(String[] args) {
    String jmsServerUrl = "t3://10.51.245.45:5858";
    String jmsUserName = "weblogic";
    String jmsPassword = "welcome123";
    String jndiFactory = "weblogic.jndi.WLInitialContextFactory";
    String jmsFactory = "jms/CBCMReplyConnectionFactory";
    String qName = "jms/CBCMOrderReplyQueue";
    QueueReceiver qReciever = null;
    JMSQueueReader.getQueueSession(jmsServerUrl,jmsUserName,jmsPassword,jndiFactory,jmsFactory);
    qReciever = JMSQueueReader.getQueueReceiver(qName);
    if (qReciever == null) {
    System.out.println("Unable to find JMS Queue Reciever for Queue Name: "
    + qName + " and JMS Server URL:"
    + jmsServerUrl);
    //isProcess = false;
    private static InitialContext getInitialContext(String url, String userName, String password,  String jndiFactory) throws NamingException {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, jndiFactory);
    env.put(Context.PROVIDER_URL, url);
    env.put(Context.SECURITY_PRINCIPAL, userName);
    env.put(Context.SECURITY_CREDENTIALS, password);
    return new InitialContext(env);
    public static QueueReceiver getQueueReceiver(String qName) {
    try {
    if(qReceiver == null || !qName.equals(queueName))
    queueName = qName;
    if(qReceiver != null)
    qReceiver.close();
    qReceiver = null;
    javax.jms.Queue queue = qSession.createQueue(queueName);
    //qReceiver = qSession.createReceiver(queue);
    qReceiver = qSession.createReceiver(queue, "JMSCorrelationID LIKE '"+SOHConstant.CBCM_BSCS_CORRELATION_ID_PREFIX+"%'");
                } catch (Throwable e) {
    e.printStackTrace();
    return qReceiver;

  • Error:Class java.util.date not found

    i have installed 9iAS on my computer.And i want to develop program on JSP.i tried the url below
    http://eyuksel/servlet/IsItWorking
    and i got "it is working" message.when i try to execute my first jsp file i get the error:
    Errors compiling:d:\ias\apache\apache\htdocs\_pages\\_first.java
    d:\ias\apache\apache\htdocs\_pages\_first.java:55: Class java.util.date not found.
    out.print( new java.util.date() );
    ^
    1 error
    what must i do or how can i install the java classes.
    kind regards...
    null

    Thank you very much.It worked:)
    Java is case-sensitive.
    try
    java.util.Date
    instead of
    java.util.date
    null

Maybe you are looking for

  • ITunes Store crashing in iTunes 10.7

    Hello. I am using iTunes 10.7 on a 64-bit Windows 7 laptop. Since Wednesday iTunes has been crashing whenever I try to enter the iTunes Store. I get the message: "iTunes has stopped working: A problem caused the program to stop working correctly. Win

  • How to reduce "other"?

    I have had my Macbook for about 4 years now, and I religiously clear out my documents to an external hard drive, but more and more lately I have had "Full Start Up Disk" pop-up. I keep checking my storage and it says 120 GB of other. Today I spent ho

  • Approval preview default

    Can we have table format as default during SC approval preview. Right now it is taking graphical mode as default.. Regards Amit

  • Cannot re install adobe reader after Anna update !

    Hi there, i know there has been some chat about losing Quick office and Adobe reader after Anna update on N8s on this site, I also lost office and Adobe after the update ! I needed to get office asap so i went to the quick office website and paid for

  • Shared computers renamed after Yosemite install

    After I installed Yosemite, my shared computers have all been renamed in the Finder sidebar My iMac is now iMac(2), Macbook Air is now MacAir (3) and so on. I have tried editing the name in System Preferences using the "Sharing" dialogue, but it is n