Class not found error while executing jar file

I have written a java code in which i am connecting to database....when i run the class file using......java class_filename it works........
but when i run the jar file using .......java -jar jar_name ...yi gives me the error as 'Class not found'......
can anybody help me please......
Thanks and Regards,
Siddhesh

that class is part of jar file.....in classpath i have included zip files for jdbc ...to get databse connection.....and the jar being executed ................still it gives the error ClassDefnotfound which i think is due to database connection problem.....the exception is raised while.....
Class.ForName("Driver_name").newInstance();/ This driver is present in zip files that i have added in classpath....
above statement doesn,t giv error while i execute the class file............but exception while executing jar file only..
Thnaks and regards,
siddhesh

Similar Messages

  • Class not found error while accessing a Web Service

    Hi All,
    Im getting a Class not found error while doing method calls of a third party API.
    The required jars(axis.jar) are set in the weblogic 8.1 classpath and I tried putting those jars(axis.jar) in my application lib folder also, but dint help. Please help me with a solution.
    I'll paste the exception logs here by
    java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
    at java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run()Ljava/lang/Object;(URLClassLoader.java:194)
            at jrockit.vm.AccessController.do_privileged_exc(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;I)Ljava/lang/Object;(Unknown Source)
            at jrockit.vm.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
    Thanks
    Noufal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Verify the 3rd party class files names are correctly written in your program. Sometimes wrong case might be the reason.
    bye for now
    sat

  • Main-class not found error while clicking on the jar

    I have a created a jar �FinARM.jar� for my swing application using eclipse.
    Clicking on this jar, it is giving the problem main-class not found.
    It contains the MANIFEST.MF file, with entry Main-Class: FinAlignTest for the main class.
    FinAlignTest is my main class.
    I have a similar jar created with a small swing application (Single file) clicking on it can open the swing application.
    It is also attached above.

    Hi ,
    My Apllication runs with out any warnings or errors. But when i create a jar file using eclipse it is giving this problem.
    When i double click on the jar file i am getting this problem. MANIFEST.MF entry contains the main method entry.
    I have created another jar (Which contains a simple java file, swing application) from eclipse export option.
    It works fine on click.
    But jar FinARM.jar contains 5 files (Swing app), which even fetch some data from the database.
    My jar is placein the same machine where it can fetch data from DB
    Can u plese tell me whats the problem.
    -regards
    Anu

  • Command not found error while executing shell programs in terminal

    I have written one sample shell program.
    while executing shell program in terminal,it shows COMMAND NOT FOUND error.
    How to slove this.

    Post the "Actual" error.  It says more than command not found.
    Post your script.
    Post the output from:
    echo $PATH
    Post the output from:
    which name_of_command_not_found

  • Command not found error while executing a shell script

    Hello,
    I am a newbie to linux.I am attaching the code which gives me following errors..
    error list:
    1. no such file or directory enviornemnt
    2. command not found
    3. ambiguous redirectline
    Script
    cd $HOME/wkdir
    rm /tmp/*.log
    # source environment
    . ./env
    # Run the install script to setup the database
    # Configure SH account
    sqlplus "/ as sysdba" <<! > /tmp/perflab_install.log 2>&1
    grant connect, resource, dba to SH;
    alter user sh account unlock;
    # create the fetch_n_rows procedure
    sqlplus "$PERFLAB_USER" <<! >> /tmp/perflab_install.log 2>&1
    drop index sales_time_bix;
    drop index sales_time_idx;
    create index sales_time_idx on sales(time_id) compute statistics;
    -- fetch_n_rows: fetches 'n' rows from the specified statement --
    CREATE OR REPLACE PROCEDURE fetch_n_rows(
    stmt VARCHAR,
    name VARCHAR,
    nexec NUMBER := 1,
    nrows NUMBER := 0,
    debug BOOLEAN := FALSE)
    IS
    -- Local variables
    curs INTEGER := null;
    rc INTEGER;
    nexec_it INTEGER := 0;
    nrows_it INTEGER;
    BEGIN
    dbms_application_info.set_module('DEMO', name);
    WHILE (nexec_it < nexec)
    LOOP
    curs := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(curs, stmt, DBMS_SQL.NATIVE);
    rc := DBMS_SQL.EXECUTE(curs);
    nrows_it := 0;
    LOOP
    IF (dbms_sql.fetch_rows(curs) <= 0 OR (nrows <> 0 AND nrows_it = nrows
    THEN
    EXIT;
    ELSE IF (debug = TRUE)
    THEN
    DBMS_OUTPUT.PUT_LINE(nrows_it);
    END IF;
    END IF;
    nrows_it := nrows_it + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR(curs);
    nexec_it := nexec_it + 1;
    END LOOP;
    dbms_application_info.set_module(null, null);
    END fetch_n_rows;
    show errors
    # Start the workload
    . ./start_workload.sh > /tmp/setup_perflab.log 2>&1
    # Wait two minutes for workload to get going
    sleep 120
    # Modify snapshot interval
    sqlplus -s /NOLOG <<EOF >> /tmp/setup_perflab.log 2>&1
    connect / as sysdba
    set head on
    set feedback on;
    set pagesize 40
    rem -- event to allow setting very short Flushing interval
    alter session set events '13508 trace name context forever, level 1';
    rem -- change INTERVAL setting to 2 minutes
    rem -- change RETENTION setting to 6 hours (total of 180 snapshots)
    execute dbms_workload_repository.modify_snapshot_settings(interval => 2,-
    retention => 360);
    EOF
    Note : start_workload.sh is also in the same directory..
    Any help would be greatly appreciated.

    Please put your script between "code" format delimiters.
    http://wiki.oracle.com/page/Oracle+Discussion+Forums+FAQ
    You can add the line "set -x" at the beginning of your script to see at which line it fails? I suspect the . ./env line.

  • Error while Executing Jar File

    i created three java files.
    One.java
    Two.java
    Three.java
    after that i comiled three files.
    i want to compree these files into a jar file.after that i have to execute the jar file.
    for that i created a manifest file called mainClass.txt
    step1: javac *.java
    stpe2: jar cf example.jar
    step3:i created a mainfest called mainClass.txt in that i mentioned name of the class that contains main method .
    in the above Three.java having main().
    Main-Class:Three
    and i saved .(only ons statement in the manifest file)
    step 4: I then run the jar utility with the following command
    jar cmf mainClass.txt example.jar *.class
    but i am getting the following Error.
    please help me.
    java.io.IOException: invalid header field
    at java.util.jar.Attributes.read(Attributes.java:387)
    at java.util.jar.Manifest.read(Manifest.java:167)
    at java.util.jar.Manifest.<init>(Manifest.java:52)
    at sun.tools.jar.Main.run(Main.java:124)
    at sun.tools.jar.Main.main(Main.java:904)

    hi guys
    i created three java files.
    One.java
    Two.java
    Three.java
    after that i comiled three files.
    i want to compree these files into a jar file.after that i have to execute the jar file.
    for that i created a manifest file called mainClass.txt
    step1: javac *.java
    stpe2: jar cf example.jar
    step3:i created a mainfest called mainClass.txt in that i mentioned name of the class that contains main method .
    in the above Three.java having main().
    Main-Class:Three
    and i saved .(only ons statement in the manifest file)
    step 4: I then run the jar utility with the following command
    jar cmf mainClass.txt example.jar *.class
    but i am getting the following Error.
    java.io.IOException: invalid header field
    at java.util.jar.Attributes.read(Attributes.java:387)
    at java.util.jar.Manifest.read(Manifest.java:167)
    at java.util.jar.Manifest.<init>(Manifest.java:52)
    at sun.tools.jar.Main.run(Main.java:124)
    at sun.tools.jar.Main.main(Main.java:904)
    Thnks in Advance.

  • Class not found error while using ikvm error code IKVMC0100: class "javax.b

    hi iam writing a java application which uses bluetoth i.e. javax.bluetooth;
    now i need to create exe for c# i.e. my GUI is C# and business logic is java,
    so these are steps i have followed
    * created a java project (iam using netbeans 6.1)
    * after build i used command prompt and travesed to dist of my project location which contains jar
    * here i typed ikvmc my.jar
    but now it says the following it also contains others but one of such is
    Warning IKVMC0100: class "javax.bluetooth.LocalDevice" not found
    it also creates exe but if use that in my c# then raises the exception...
    so please help me.. what is the solution for this....

    If you have the SDKPanel sample, you have a Flex sample and debugging information. Please let me know (off-forum) what you're buildng, and we'll make sure your dev environment is configured correctly.

  • Class not found error while running a JSP App

    Hi everybody,
              I am getting the following error while try to run a JSPApp using JBuilder
              and weblogic server 6.1.
              C:\JBuilder6\jdk1.3.1\bin\javaw -classpath "C:\BEA
              Home\wlserver6.1\lib\weblogic.jar;C:\BEA
              Home\wlserver6.1\lib\weblogic.jar;C:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java
              2Demo.jar;C:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\JBuilder6\jdk1.3.1\jre\l
              ib\jaws.jar;C:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\JBuilder6\jdk1.3.1\jre\l
              ib\sunrsasign.jar;C:\JBuilder6\jdk1.3.1\lib\dt.jar;C:\JBuilder6\jdk1.3.1\lib
              \htmlconverter.jar;C:\JBuilder6\jdk1.3.1\lib\tools.jar" -ms64m -mx64m -Djav
              a.library.path=C:/BEA Home/wlserver6.1/bin -Dbea.home="C:/BEA
              Home" -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Djava.security.po
              licy==C:/BEA
              Home/wlserver6.1/lib/weblogic.policy -Dweblogic.management.password=suresh74
              weblogic.Server
              java.lang.NoClassDefFoundError: Home/wlserver6/1/bin
              Exception in thread "main"
              i didn't understand where it is picking the path Home/wlserver6/1/bin.
              I am really frustrated with this.
              Can any one over there Have any Idea or gone through this, please help me ,
              I would be thankfull to them.
              Thank you,
              -Suresh
              

    Hi.
              Try putting double quotes around your java.library.path definition - I think it
              can't handle the space in the string. So change:
              -Djava.library.path=C:/BEA Home/wlserver6.1/bin
              to
              -Djava.library.path="C:/BEA Home/wlserver6.1/bin"
              Regards,
              Michael
              Suresh Babu wrote:
              > Hi everybody,
              >
              > I am getting the following error while try to run a JSPApp using JBuilder
              > and weblogic server 6.1.
              > C:\JBuilder6\jdk1.3.1\bin\javaw -classpath "C:\BEA
              > Home\wlserver6.1\lib\weblogic.jar;C:\BEA
              > Home\wlserver6.1\lib\weblogic.jar;C:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java
              > 2Demo.jar;C:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\JBuilder6\jdk1.3.1\jre\l
              > ib\jaws.jar;C:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\JBuilder6\jdk1.3.1\jre\l
              > ib\sunrsasign.jar;C:\JBuilder6\jdk1.3.1\lib\dt.jar;C:\JBuilder6\jdk1.3.1\lib
              > \htmlconverter.jar;C:\JBuilder6\jdk1.3.1\lib\tools.jar" -ms64m -mx64m -Djav
              > a.library.path=C:/BEA Home/wlserver6.1/bin -Dbea.home="C:/BEA
              > Home" -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Djava.security.po
              > licy==C:/BEA
              > Home/wlserver6.1/lib/weblogic.policy -Dweblogic.management.password=suresh74
              > weblogic.Server
              >
              > java.lang.NoClassDefFoundError: Home/wlserver6/1/bin
              >
              > Exception in thread "main"
              >
              > i didn't understand where it is picking the path Home/wlserver6/1/bin.
              >
              > I am really frustrated with this.
              >
              > Can any one over there Have any Idea or gone through this, please help me ,
              > I would be thankfull to them.
              >
              > Thank you,
              > -Suresh
              Michael Young
              Developer Relations Engineer
              BEA Support
              

  • Class not found error while acc ejb

    Hi,
    I am trying to access the ejb deployed in orion container from jserv servlet or jsp,it gives me following error-
    javax.xml.parsers.FactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java, Compiled Code)
    at java.lang.Error.(Error.java, Compiled Code)
    at javax.xml.parsers.FactoryConfigurationError.(FactoryConfigurationError.java, Compiled Code)
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java, Compiled Code)
    at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java, Compiled Code)
    at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java, Compiled Code)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java, Compiled Code)
    at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java, Compiled Code)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java, Compiled Code)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java, Compiled Code)
    at javax.naming.InitialContext.init(InitialContext.java, Compiled Code)
    at javax.naming.InitialContext.(InitialContext.java, Compiled Code)
    at autoglobal.crm._hello._jspService(_hello.java:89)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
    at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
    at oracle.jsp.JspServlet.service(JspServlet.java:148)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
    at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
    at java.lang.Thread.run(Thread.java, Compiled Code)
    Can anyone give suggestion on this.
    Help needed urgently.
    Regards,
    Mandar
    null

    The Orion EJB client makes use of several JAR files from it's distribution. You will need to put these into the Apache JServ classpath for your application.
    Look for xerces.jar, xalan.jar, saxon.jar, crimson.jar.
    You'll also need orion.jar since that has the EJB client code.
    The easiest way to do this is to use the JSP environment supplied with OC4J which is fully JSP 1.1 compliant and has access to all the requisite JAR files when it starts.

  • Class Not Found Error while using dcm 9.0.3 jar

    I am getting the following exception while trying to stop an application deployed in oracle 10g app server using dcm utility.Can anyone please help me how to resolve this because it is very urgent for my work to progress
    Thanks in Advance
    04/10/18 07:34:37 A problem has occurred accessing the Oracle9iAS
    infrastructure
    database.
    Base Exception:
    java.lang.NoClassDefFoundError:oracle/ias/repository/SchemaManager
    04/10/18 07:34:37 Please, refer to the base exception for resolution, or
    call Or
    acle support.

    Hi Sujith,
    You should post that question here: Oracle Application Server - General
    - Don

  • Scheduled job throws Class Not Found error when executing Java class

    Hi,
    I have written a java class to carry out a file upload to an external site and put the class on our server.
    I also wrote a script to call this java class, passing inthe relevant parameters.
    If i call the script using the ./ syntax from SSH it runs file logged in as Root and Oracle.
    I the setup a scheduled job to call this script but the job fails with the error...
    STANDARD_ERROR="Exception in thread "main" java.lang.NoClassDefFoundError: HttpsFileUpload Caused by: java.lang.ClassNotFoundException: HttpsFileUpload at java.net.URLClassLoader$1.run(URLClassLoader.java:"I cannot understand why it is raising the error if it runs from SSH.
    O/S = Red Hat Enterprise Linux ES, oracle version = 10.2.0.1.0
    Any help or guidance would be appreciated
    Thank you in advance
    Graham.
    Edited by: gpc on Feb 4, 2009 12:46 PM

    Hi,
    See this link for some tips if you haven't yet :
    Guide to External Jobs on 10g with dbms_scheduler e.g. scripts,batch files
    I can think of two things. Your script may not be able to run as the nobody user (by default external jobs run as the nobody user). Or your script might require that some environment variable be set (by default environment variables are not set in external jobs).
    Maybe you need to set the CLASSPATH variable in your script before calling java ?
    Hope this helps,
    Ravi.

  • Class not found Error while trying to migrate 8.1 to 9.2

    Hi,
    i want to move an application / a portal - which works fine with bea portalserver 8.1 - to 9.2, but i get this annoying error: ( even if i comment the definition of the listed listener )
    <22.01.2007 10.17 Uhr CET> <Error> <HTTP> <BEA-101163> <Could not load user defi
    ned listener: com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListene
    r
    java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
            at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
    clinit>(ProxyPortletRemoveListener.java:65)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            Truncated. see log file for complete stacktrace
    >
    <22.01.2007 10.17 Uhr CET> <Error> <Deployer> <BEA-149265> <Failure occured in t
    he execution of deployment request with ID '1169457318139' for task '1'. Error i
    s: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
            at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
            at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
    oduleDriver.java:176)
            at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
            at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
            Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
            at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
    clinit>(ProxyPortletRemoveListener.java:65)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            Truncated. see log file for complete stacktrace
    >
    <22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149004> <Failures were dete
    cted while initiating distribute task for application 'myApplication'.>
    <22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149078> <Stack trace for me
    ssage 149004
    weblogic.application.ModuleException:
            at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
            at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
    oduleDriver.java:176)
            at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
            at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
            Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
            at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
    clinit>(ProxyPortletRemoveListener.java:65)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            Truncated. see log file for complete stacktrace

    Hi,
    i want to move an application / a portal - which works fine with bea portalserver 8.1 - to 9.2, but i get this annoying error: ( even if i comment the definition of the listed listener )
    <22.01.2007 10.17 Uhr CET> <Error> <HTTP> <BEA-101163> <Could not load user defi
    ned listener: com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListene
    r
    java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
            at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
    clinit>(ProxyPortletRemoveListener.java:65)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            Truncated. see log file for complete stacktrace
    >
    <22.01.2007 10.17 Uhr CET> <Error> <Deployer> <BEA-149265> <Failure occured in t
    he execution of deployment request with ID '1169457318139' for task '1'. Error i
    s: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
            at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
            at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
    oduleDriver.java:176)
            at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
            at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
            Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
            at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
    clinit>(ProxyPortletRemoveListener.java:65)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            Truncated. see log file for complete stacktrace
    >
    <22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149004> <Failures were dete
    cted while initiating distribute task for application 'myApplication'.>
    <22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149078> <Stack trace for me
    ssage 149004
    weblogic.application.ModuleException:
            at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
            at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
    oduleDriver.java:176)
            at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
            at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
            Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
            at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
    clinit>(ProxyPortletRemoveListener.java:65)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            Truncated. see log file for complete stacktrace

  • Class not found error while establishing a jco connection

    Hi
    I am trying to establish a JCo connection in Java class.
    public static void main(String s[])
    try {
    ...// set connection properties
                   connClient.connect();
                   } catch (Exception ex)
                        ex.printStackTrace();
                        System.exit(1);
    It is throwing runtime error on line connClient.connect();
    java.lang.NoClassDefFoundError
    at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1079)
    at com.sap.mw.jco.JCO$Client.connect(JCO.java:3256)

    Hi Saurabh,
    Please refer to below for calling JCo connection in Java class..
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/55e3952a902447847066a0df27b0d6/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/89746bea5011d6b2e800508b6b8a93/content.htm
    Hope it helps
    Regards
    Arun

  • Class not found error over HTTPS connection

    Problem: Facing problem in downloading signed JAR file over HTTPS connection.
    While downloading the jar file over a https connection, i get a certificate with following message
    " Do you want to accept the certificate from web site <server name> for the purpose of exchanging encrypted information? "
    If i accept the ceritificate immediately without any delay, all goes fine. The jar file gets downloaded and the applet runs withoput any problem. But if we accept the certificate after some delay say after one or two minutes i get "Class not found error"
    Has anybody come across any such issue ?
    Thanks in advance.
    Rohit

    I got the same error. I believe the ssl connection has a short timeout.
    But I don't think this is a bug because there is no sense in letting a ssl connection open in the initial state before accepting the server's certificate.

  • "class not found error" and applets ...

    To run an applet inside an html page using the embedded oc4j i have to copy the library containing the applet to the same directory as the html page. Otherwise i get a class not found error....Is there a better way of doing this?
    thanks in advance for any advise
    owen

    Hi,
    you should be able to reference the JAR file from teh HTML tag. If not then this sounds like a bug that should be filed
    Frank

Maybe you are looking for