Error while trying to run a compiled program

Hi guys, I am new here and so is my experience in Java. I am taking Computer Science major in college right now.
I have a problem trying to run a program that has compiled. I always receive an error message like this:
C:\>javac A:\Grade.java
C:\>java A:\Grade.java
Exception in thread "main" java.lang.NoClassDefFoundError: A:\Grade/java
It doesn't work on my computer, but it works in my school. I do not know why. I am using JDK 1.3 and the school uses JDK 1.2. Both have the same OS(win98). I can't trace the error.
Please help me out. Thank you so much. It would save me a lot of time doing the program at home.

He's right! The computer you use at school might be set with the correct environment variables so you don't have to type -classpath.
So for your computer at home; you can either do the -classpath typing (waste of time) or set-up you PC properly: Look at this guide
http://java.sun.com/products/jdk/1.1/docs/tooldocs/win32/classpath.html
Good Luck

Similar Messages

  • Error while trying to run reports

    Hello,
    I am getting the following error while trying to run/launch AIX based Ora. Apps 11.5.10.2
    $ rwbld60
    Error: Object "" does not have windowed ancestor
    Does anyone know what could be causing this?
    Thanks,
    Chiru

    Hi chiru,
    it seems to be some environment problem ????Hey Mitra,
    Thank you for the reply.
    It definitely is an environment related issue(that is what I am trying to find out)
    This is occuring in our DEV environment. It works fine in TEST and PROD.
    More than likely it is due to low resources in the DEV...but I figured some one would have seen it before....and would answer my question with a definite answer.
    Thanks,
    Chiru

  • Error While trying to run a servlet

    I am getting the below error while trying to run a servlet using tomcat.In this admin is a directory where I have a html file called admin.html which calls the servlet AdminServlet & replaces the url by /servlet/AdminServlet.
    HTTP Status 404 - /SPOT/admin/servlet/AdminServlet
    type Status report
    message /SPOT/admin/servlet/AdminServlet
    description The requested resource (/SPOT/admin/servlet/AdminServlet) is not available.
    For more details I am also copying the code from the admin.html file below.
    <script language=JavaScript>
    document.location.replace('../servlet/AdminServlet');
    </script>

    JavaScript != javareplace or redirect ??

  • JCO.Server Error while trying to execute a RFC program from SAP

    Hi,
    We are connecting to an external registered server program from SAP via Web Methods.
    The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
    An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
    We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
    Number - 10
    LUname - dev01
    TPName - sapgw00
    User - KRAORANE
    Status - CONNECTED
    Symbolic - PRDB2B
    Conversation - 86520353
    Prot - REG
    SAP return code - 0
    CPIC rtn code - 0
    The external program returns results as expected.
    However sometimes the RFC fails and returns the message “JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS”.
    We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
    -Kiran

    Hi,
    Please see the below links..
    JCO.Server Error while trying to execute a RFC program from SAP
    Re: JCO.Servcer could not find server function
    Re: JCO.Server could not find server function 'SET_SLD_DATA'
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Re: interfacing SAP with an existing java applications
    http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
    http://www.sapgenie.com/faq/jco.htm
    Regards
    Chilla..

  • Error on /SafeMode: error while trying to run project uncaught exception thrown by method called

    i try run VS 2012 with /SafeMode. I create new empty Winform. When I start debug, I got:
    "error while trying to run project uncaught exception thrown by method called through reflection"

    Hi Matanya Zac,
    Did you restart your machine? How about installing the VS2012 update 4?
    >>error while trying to run project uncaught exception thrown by method
    Did you install the VS update in your VS IDE? I met this issue before which was related to the VS update:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/5ead8ee9-ea09-4060-88b0-ee2e2044ff82/error-while-trying-to-run-a-project-uncaught-exception-thrown-by-method-called-through-reflection?forum=vsdebug
    If still no help, I suggest you repair your VS, and then restart your machine, test the result.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Tomcat error while trying to run the servlet

    I am etting the below error while trying to run a servlet from tomcat server.
    HTTP Status 404 - /servlet/DailyStatusServlet
    type Status report
    message /servlet/DailyStatusServlet
    description The requested resource (/servlet/DailyStatusServlet) is not available.
    Can anyone help me in solving this error.

    rnaaz wrote:
    Can anyone help me in solving this error.Start by making sure you've properly mapped that URL in your deployment descriptor (web.xml file).
    ~

  • VS 2010 error: 'Error while trying to run project: Not implemented'

    I added a new Oracle database project using Oracle Tools for Visual Studio 2010. Once the Oracle database project is added to my Solution, my Visual Studio is no longer able to start the debugger and at times not able to run Test Cases. It error with 'Error while trying to run project: Not implemented'. If I unload the project, VS starts working fine.
    Any idea on how to resolve this issue?

    I ran into this problem as well, working in a VS2010 solution which included an ASP.NET web project and the v11.2.0.2.1 ODT version of the Oracle project.
    Turns out that I was able to solve the problem by removing the Oracle project from the solution, and then adding it back in. From a SLN file point of view, it seems that as long as the Oracle SQL project is located after the Web Application Project that everything works fine.
    Note that the SLN file is not organized by alphabetical project name, so changing the name of the SQL project doesn't help; its organized by order of project addition to the solution, so removing and re-adding is the way to go.

  • 'Error while trying to run project: Not implemented'

    I added a new Oracle database project using Oracle Tools for Visual Studio 2010. Once the database project is added, my Visual Studio is no longer able to start the debugger. It error with 'Error while trying to run project: Not implemented'. If I unload the project, VS starts working fine.
    Any idea on how to resolve this issue?

    I ran into this problem as well, working in a VS2010 solution which included an ASP.NET web project and the v11.2.0.2.1 ODT version of the Oracle project.
    Turns out that I was able to solve the problem by removing the Oracle project from the solution, and then adding it back in. From a SLN file point of view, it seems that as long as the Oracle SQL project is located after the Web Application Project that everything works fine.
    Note that the SLN file is not organized by alphabetical project name, so changing the name of the SQL project doesn't help; its organized by order of project addition to the solution, so removing and re-adding is the way to go.

  • Error while trying to run the Crystal Report ADD ON on SAP 8.8 Patch 12

    Hello Expert,
                        I have installed Crystal addon version 2.0.07 on SAP 8.8 P12.While trying to start the crystal addon I am getting the following error.
    "External connection to DB Failed.Please re-run the account setup with super user login."
    regards,
    pankajk

    Hi Gordon,
                    I am unable to see the crystal manager in the menu after the installation of SAP 8.8.Only at the Tool there is Preview for th external crystal report.How to visualize the cyrstal report manager in SAP 8.8.
    regards,
    pankajk

  • Error While trying to Run load test  on OATS using Command prompt

    Getting the below error message while trying to execute command line to start OATS load test.
    log4j:WARN No appenders could be found for logger (oracle.oats.server.jndi.JndiL
    ookup).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
    fo.
    Error initializing controller connection to t3://rws21410019.us.oracle.com:8088/
    weblogic\n\n(message id=ctl.initError)
    oracle.oats.client.controller.ControllerException: Error initializing controller
    connection to t3://rws21410019.us.oracle.com:8088/weblogic\n\n(message id=ctl.i
    nitError)
            at oracle.oats.app.controller.client.ControllerClient.initController(Con
    trollerClient.java:268)
            at oracle.oats.app.controller.client.ControllerSyncedClient.<init>(Contr
    ollerSyncedClient.java:137)
            at oracle.oats.app.controller.client.OltCommandLine.<init>(OltCommandLin
    e.java:43)
            at oracle.oats.client.CommandLine.initController(CommandLine.java:748)
            at oracle.oats.client.CommandLine.run(CommandLine.java:179)
            at oracle.oats.client.CommandLine.main(CommandLine.java:61)
    Caused by: javax.naming.AuthenticationException [Root exception is java.lang.Sec
    urityException: User: weblogic, failed to be authenticated.]
            at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
    nTranslator.java:42)
            at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
    tialContextFactoryDelegate.java:788)
            at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialCo
    ntextFactoryDelegate.java:682)
            at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:469)
            at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:376)
            at weblogic.jndi.Environment.getContext(Environment.java:315)
            at weblogic.jndi.Environment.getContext(Environment.java:285)
            at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:117)
            at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
            at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
            at javax.naming.InitialContext.init(Unknown Source)
            at javax.naming.InitialContext.<init>(Unknown Source)
            at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal(Unkno
    wn Source)
            at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Sourc
    e)
            at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Sourc
    e)
            at oracle.oats.app.session.SessionClient.initSession(SessionClient.java:
    104)
            at oracle.oats.app.controller.client.ControllerClient.initController(Con
    trollerClient.java:262)
            ... 5 more
    Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticat
    ed.
            at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServi
    ceImpl.java:116)
            at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Sou
    rce)
            at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.jav
    a:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Please make sure the OLT server is running!
    Thanks

    This issue was resolved after changing the user name to "oats" this is the user name of weblogic server and not the OATS console.

  • Stack overflow error while trying to run expense management activity on oracle BPM studio 10.3 on windows8 machine

    I am getting stack overflow error. While trying to bring expense creation screen on windows 8.
    I trying couple of settings in eclipse.ini file to increase the size but nothing helped. Can someone please advice?
    Below is eclipse.ini file
    -showsplash
    fuego.eclipse.studio
    --launcher.XXMaxPermSize
    --256m
    -vmargs
    -Xms600m
    -Xmx600m
    -Xss500m
    -Dfuego.fstudio=true
    -DprodMode=preProduction
    -Dbea.home=C:\OraBPMStudioHome\..
    -Djava.endorsed.dirs=""
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
    -XX:PermSize=512M
    -XX:MaxPermSize=1024M
    -Xbootclasspath/a:C:\OraBPMStudioHome\eclipse\jre\lib\ext\tools.jar

    It looks like you are trying to run OSX on a Windows PC with VMware Workstation...
    This is NOT supported by VMware and doing so will break Apples EULA, you need Apple hardware to run OSX.
    No one here will be able to help you and you should investigate other legal and supported alternatives.
    // Linjo

  • Error while trying to run Bex Query -------- Field symbol is not assigned.

    Hello Every body,
    I am facing the following error after giving some value in Selection screen and trying to run the Bex Query
    ERROR : Field symbol is not assigned.
    Thanks in advance,
    Praveen

    can u plz give details of variables, what it is build on and the value u r inputing,
    also is thr any dump.
    double click on the error message it shows u. it will give u the detailed error message. post that too

  • Java Exception Error while trying to run Webutil demo

    I am trying to run a webutil demo but failing due to the following error... the error is as
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Aruns
    Proxy Configuration: Manual Configuration
    Proxy: proxy1.emirates.net.ae:8080
    Proxy Overrides: <local>
    JAR cache enabled
    Location: C:\Documents and Settings\Aruns\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://hpc266:8888/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://hpc266:8888/forms90/java/webutil.jar from JAR cache
    Loading http://hpc266:8888/forms90/java/jacob.jar from JAR cache
    connectMode=HTTP, native.
    Forms Applet version is : 90270
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at oracle.forms.webutil.common.VBeanCommon.<clinit>(VBeanCommon.java:130)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Please help me to go forward

    What is the error message, this looks like normal informational messages
    I have signed it sucessfully..Now i am getting the
    following in the java console
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and
    Settings\Aruns
    Proxy Configuration: Manual Configuration
    Proxy: proxy1.emirates.net.ae:8080
    Proxy Overrides: 172.16.*,<local>
    JAR cache enabled
    Location: C:\Documents and Settings\Aruns\Oracle
    racle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading
    http://hpc266:8888/forms90/java/f90all_jinit.jar from
    JAR cache
    Cached copy of
    http://hpc266:8888/forms90/java/webutil.jar is out of
    date
    Cached copy: Jul 4, 2005 8:50:04 AM
    Server copy: Jul 4, 2005 8:52:15 AM
    Downloading
    http://hpc266:8888/forms90/java/webutil.jar to JAR
    cache
    Cached copy of
    http://hpc266:8888/forms90/java/jacob.jar is out of
    date
    Cached copy: Jul 4, 2005 8:50:16 AM
    Server copy: Jul 4, 2005 8:51:59 AM
    Downloading http://hpc266:8888/forms90/java/jacob.jar
    to JAR cache
    connectMode=HTTP, native.
    Forms Applet version is : 90270
    Can anybody pls help me in this issue

  • "Page not found" error while trying to run a page

    Hello all,
    I tried to run a page in JDeveloper(9.0.6.6_606) and after the browser page pops up, it is displaying "HTTP 404 : Page not found" error.
    Please find the log below:
    C:\jdevbin\jdk\bin\javaw.exe -ojvm -classpath C:\jdevbin\j2ee\home\oc4j.jar -mx256m -Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=10.200.152.236|localhost -Xverify:none com.evermind.server.OC4JServer -config C:\jdevhome\jdev\system9.0.3.1.1107\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Embedded OC4J startup time: 7047 ms.
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Embedded OC4J startup time: 16 ms.
    Target URL -- http://10.200.152.236:8988/OA_HTML/runregion.jsp?page=%2Foracle%2Fapps%2Fpos%2Faccount%2Fwebui%2FNonPoInvCreatePG&akAppShortName=POS&akDbcFile=FIN1DEV2&akDevMode=1&akDiag=1&akPassword=pwd4dev2&akRespKey=ISUPPLIER_PORTAL_RESP&akUsername=dpsdx48&JRAD_XML_PATH=C%3A%5Cjdevhome%5Cjdev%5Cmyclasses%5CJRADXML%5C&JRADStartTime=1152606872484
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    Error creating the ORB :
    Starting an OA Core session ...
    ICX DIAGNOSTIC: application_id = 177
    ICX DIAGNOSTIC: responsibility_id = 23075
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: APPS Web agent = http://app-fin1dev2.albertsons.com:15160/pls/FIN1DEV2/
    FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
    ICX DIAGNOSTIC: mCookieHeader = FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
    ICX_DIAGNOSTIC: mEncryptedSessionID = C384A6C2A84C8E63FAA51365BA91681A
    ICX_DIAGNOSTIC: mSessionID = 687703439
    TIME: runregion.sessionBean.createSession [87296 ms]
    ICX_DIAGNOSTIC: mTransactionID = 78453
    ICX_DIAGNOSTIC: encryptedTransactionID = C974A13EBB894B23
    TIME: runregion.sessionBean.createTransaction [9672 ms]
    TIME: runregion.rest [0 ms]
    Is there anything you think I am missing in the configurations?
    Kindly help.

    I am also using OA Framework Jdeveloper....for ADF BC development.. Please find the log below:-
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    E:\jdeveloper\jdevbin\jdk\bin\javaw.exe -client -classpath E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar;E:\jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar
    -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true
    -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config
    E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
    /E:/jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it
    contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
    /E:/jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different
    versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /E:/jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same
    filename but is not identical to /E:/jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in
    E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the
    search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from
    WEB-INF/lib/ directory in E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same
    filename but is not identical to /E:/jdeveloper/jdevbin/jdev/appslibrt/uix2.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it
    will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 19594 ms.
    Target URL--- http://hydhtcl33997.ad.infosys.com:8988/SRTutorialADFBC-UserInterface-context-root/faces/app/SRList.jspx
    07/10/18 11:56:56 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized

  • Error while trying to run DBMS_STAT.GATHER_TABLE_STATS

    Hi Gurus,
    I am trying to run DBMS_STAT.GATHER_TABLE_STATS from a procedure from a DBA role granted user I am getting the folowing error:
    ORA-20000: Unable to analyze TABLE "<SCHEMA_NAME>"."<TABLE_NAME>", insufficient privileges or does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 13046
    ORA-06512: at "SYS.DBMS_STATS", line 13076
    ORA-06512: at line 2
    Is I am missing something?
    Please help...
    //saby

    It's a quite common problem...
    Privileges granted through roles doesn't work inside stored procedures. So the DBA role it's not working inside procedure.
    See Metalink Note 168168.1.
    If you want to run dbms_stats.gather_table_stats from inside procedure,
    you need to grant "ANALYZE ANY" directly to this user.
    Thanks
    Tomasz K.

Maybe you are looking for

  • Variable table in SQL select

    Hello, In various SQL versions it is possible to define a variable that will hold the name of the table and then use that variable in the FROM clause instead the actual table name. something like this: var_table(4) type c. var_table  = 'tab1' select

  • Re: Satellite C660 - Sound has stopped working

    I've done some online research, and it seems that its not an uncommon problem for the sound card to stop working. I've tried a couple of things, and just uninstalled the old driver and installed the new one. Still nothing. Any tips please? I'm not a

  • Problems registering an existing Directory Server. Only given sudo access

    Hellos. I can install and start/stop my 11g Directory from command line with /opt/sfw/bin/sudo dsadm or dsconf commands. The directory uses port 389 so I need to have it running as "root" I ran the dsadm command with sudo. My problem is that when I u

  • Dynamic Inner Join in 4.6c

    Requirement is dynamic specification of  Table name in inner join. The table names to be used in join would be derived in a variable using select statement. These names to be supplied to join dynamically. The other join conditions and where condition

  • Q: convert Ami Pro (.sam) to Word for Mac document

    I have some Ami Pro for Windows files that need to be converted to Mac Word 2004. In Windows, it's the following procedure: -download Amipro converter from www.gmayor/downloads.htm & extract/unzip that yields 2 files - insert AMI332.CNV file into Pro