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

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

  • 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

  • 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

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

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

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

  • Operation not found error while calling AM methods from managed bean

    Hi,
    operation not found error while calling AM methods from managed bean.
    written a method with two parameters in AM.
    exposed the method in AM client interface
    in the page bindings added the method in method action ..left empty in the value fields of the parameters.
    calling the method from managed bean like below
    String userNameVal = (String)userName.getValue();
    String passwordVal = (String)password.getValue();
    OperationBinding operationBinding =
    ADFUtils.findOperation("verifyLogin");
    operationBinding.getParamsMap().put("userName",userNameVal);
    operationBinding.getParamsMap().put("password",passwordVal);
    operationBinding.execute();
    i am getting operation verifyLogin not found error.Please suggest me something to do.
    Thanks
    Satya

    Hi vlsn,
    Can you try with the below code
    // in your backing bean
    OperationBinding operation = bindings.getOperationBinding("verifyLogin");
    //Put your both parameters here
    operation.getParamsMap().put("parameter_name1", parameterValue1);
    operation.getParamsMap().put("parameter_name2", parameterValue2);
    operation.execute();
    if (operation.getResult() != null) {
    Boolean result = (Boolean) operation.getResult();
    and share the result.
    regards,
    Rajan

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

  • Class not found error afer loading classes to oracle

    hi i have loaded quite a few jars into oralce 11g databse
    created a java stored function
    and executed it
    some times it works... and hits the java front end environment... we are hitting a servlet.. and recording some output statements .. in the function
    but sometimes it throws class not found error
    any idea why its working sometimes and not some othr times?
    Also when i load the jars.. the classes are loaded but when i see the name of the classes using
    select * from user_objects where object_type like 'J%'
    then i see some additional characters prefixxed the class names ... is that causing the problem?
    something like this
    /1a248e6f_GetMethod
    Edited by: learning_man on Mar 11, 2010 1:27 PM

    Learning_man,
    Obviously you need to learn how to ask a question.
    There is nothing in your post other than 'It doesn't work. Why? Help"
    without any specific example. Also you still fail to include a 4 digit version!!!
    It is also the third or the fourth time you asked this very same question.
    Can you learn how to ask a question please? And stop repeating the question when you don't get a response?
    And no, the extra characters are not the problem.
    An incorrect CLASSPATH probably is.
    Sybrand Bakker
    Senior Oracle DBA

  • Class not found error for applet.

    This is probally a really simple mistake but I've tried everything and can't find it.
    My applet works fine with applet viewer - I'm running it from JBuilder. But when I open my html file in the browser it gives me a 'Class not found' error. I've tried running other applets (my own and demos on this site) and they work fine.This is the applet tag code:
    <applet code = "Rotary.class" width = "650" height = "580" align = "top">
    <!-- coordinates of sectors -->
    <param name = "sector0" value ="234,215,244,207,154,43,125,63">
    </applet>
    The class file is in the same directory as the HTML file. Do I need to specify the codebase? I tried that too - giving it the full pathname of the class.
    In the Java console it said that it couldn't find "C:Project\Rotary\javax\swing\japplet"
    I don't think it could have anything to do with the fact that I'm using swing because the other applets I used used swing.
    Please help - I'm really running out of ideas here!

    You have a similar problem like I had.
    You seem to have a too old JAVA environment for the browser - I had a too new environment.
    For all who are experiencing the same problem!
    Problem:
    You're compiling your applets with a quiet modern compiler (i.e. Netbeans Version 3.5.1)
    You are able to compile your applets without any problems but if you try your applets in "real life", the browsers can't interpret your applets [class not found]. (I tested Internet Explorer 6.0 and Netscape Navigator 4.7)
    So you need a plugin for the new JAVA environment because the JAVA environment of the browser is older than that which the applet needs.
    Well, you have the choice to demand to every user of your applet to download the new Java Runtime Environment, but then don't wonder why nobody visits your site!
    But, don't worry: I figuered out another solution, that Netbeans (www.netbeans.org) allows to compile in different JAVA versions.
    Solution:
    What you have to do is:
    - Install a previous version of JDK (i.e. JDK 1.3 - I would suggest, lower versions don't work with Netbeans 3.5.1 and JDK 1.3 is enough for IE 6.0 and NN 4.7, which I tested)
    - Go into the "bin"-directory of Netbeans (i.e. c:/netbeans3.5.1/bin)
    - Open the file "ide.cfg" (with notepad or any other texteditor)
    - You see a line like: jdkhome "C:\java\j2sdk1.4.2" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
    - Change the path to your other JDK you wish, like: jdkhome "C:\java\jdk1.3" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
    - That's it, you can compile your applets in a previous version of JAVA so that "older" browser user don't have to install a plugin for the new JAVA environment.
    Have fun!
    If you have any questions I would be pleased to help you.
    If this tip helped you already I would be pleased if you would send me a quick email with your experience.
    My email: [email protected]

Maybe you are looking for

  • Can't delete SOME photos from my iPad Photo Album

    Hello there, I need a bit of help.  I'm using an iPad 2 OS 6.0.1. There's a few photos that I'm not able to delete from my Photos folder. I click on the Photos App Then click on Edit I then get the option to put check marks on the photos.  At that po

  • Installing photoshop elements 12

    I have tried several times to install this program- i have downloaded both files (.7z & exe) to the same folder. exe has installed, but when i try to start the program i get a log in pop up- which i do log in- then the window disappears and nothing h

  • Safari does not launch Quicktime

    We have internal media files available on a share. These files are made available via a web interface (php generated pages) which link to our media store... i.e. a href="file:///path/to/file.mov" The media does play, but within the Safari browser. I

  • Discount and VAT

    Hi thr, I have an issue with 100% discount. When a product is given 100% discount, the system doesn't calculate VAT. Could someone please suggest which discount condition can satisfy my requirement. The over all net value of the item should be zero,

  • Add the custom infotype in Fast entry screen

    Dear All,                    I add the one new created the custom infotype in the fast entry screen but when am going to create the entry threw pa70 transaction in that case my table control which is been in that infotype is not in editable mode mean