Errors in Jdev Trying to Run jsp

I have a project with 3 files.
a jsp file that only does ui
a connection class that attempts to create a connection
a service class that uses above connection to try to get data.
I would like to eventually store the password and connection information on an IAS 904 install in
$ORACLE_HOME/j2ee/wds/config/data-sources.xml
and
$ORACLE_HOME/j2ee/wds/config/jazn-data.xml
So I want to use password obfuscation.
without using wizards, and directly editing config files, is there a way to set this up? I've tried editing the D:\Program Files\Oracle\jdev904\j2ee\home\config\data-sources.xml
and
D:\Program Files\Oracle\jdev904\jdev\system9.0.4.0.1419\oc4j-config\data-sources.xml
on my local drive, but when I try to run my jsp file, I get the following error:
oracle.jdeveloper.deploy.DeployException at oracle.jdeveloper.deploy.oc4j.ds.Oc4jDataSourcesNode.syncWithConnectionManager(Oc4jDataSourcesNode.java:68)
when I run my connection class, I get:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Here's my code:
ublic static Connection getConn() throws Exception
String JNDINAME="jdbc/pool/OracleCache";
Context ic = new InitialContext();
DataSource ds = (DataSource)ic.lookup(JNDINAME);
Connection conn = ds.getConnection();
conn.setAutoCommit(false);
return conn;
Here is my data-source entry:
<data-source class="oracle.jdbc.pool.OracleConnectionCacheImpl" name="OracleDS" location="jdbc/pool/OracleCache" connection-driver="oracle.jdbc.driver.OracleDriver" username="scott" password="tiger" url="jdbc:oracle:thin:@host:1521:sid" inactivity-timeout="30" min-connections="3" max-connections="3"><property name="cacheScheme" value="1"/></data-source>
Do I need to specify anythign else? I don't do any other special configurations. And I'm not very keen on the wizards.
I'm running 9040.
Alison

In jdev there is the Connections tab-page (like run manager or applications); to get your data you can use java code but you also can make a connection to database using wizard :d. It's very simple to get data from tables this way... (there is here a problem: using java code it's possible to gain performace in your application...i'm not so sure).
Also, you can watch the demos/sample_code from Oracle: (http://www.oracle.com/technology/products/jdev/viewlets/viewlet.html
and here:
http://www.oracle.com/technology/sample_code/products/jdev/index.html); those demos are very good.
bye

Similar Messages

  • Error while trying to run JSP page in Jdev

    I have integrated BPEL and business rules and it has a task form so if I am trying to run JSP page in JDeveloper, it gives below
    error:
    [Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\oc4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\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 D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    09/08/05 12:28:20 Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/Oracle-SaaS/Downloads/jdevstudio10131/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml.
    09/08/05 12:28:20 Fatal error: server exiting
    Process exited with exit code 1.

    Looks lik eyou have not specified the correct shared libraries in your server.xml. Also, ensure that you have added the libraries in the right order in your BPEL Project in JDev.

  • Error message while trying to run combo update

    I get the following error message when trying to run the combo update.
    "You cannot install Mac OS X Update Combined on this volume. This volume does not meet the requirements for this update."
    I tried with both 10.5.7 and 10.5.8 and I get the same message.
    Any suggestions?

    1. Be sure you have downloaded the 10.5.8 Combo Installer.
    2. Verify that you have 10.5.x installed by opening About this Mac from the Apple menu. The installed version should be displayed.
    3. Do the following:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • ERROR: You're trying to run the product with the legacy launcher oracle.ide.boot.Launcher

    Hi,
    I have problem while upgrading SQL developer 4.0.0.12 to 4.0.0.13 on my windows 64 bit machine. 4.0.0.12 version is working good, where as 4.0.0.13 is showing below error while starting it.
    I did try sqldveloper.exe and its not working, So I started running sqldeveloper.bat to get more information, also added AddJavaLibFile & SetMainClass to sqldevloper.conf but no luck. Could you please help in this regard.
    Error Message
    C:\Dev Software\sqldeveloper-2\sqldeveloper\bin>java -Xmx640M -Xms128M -Xverify:none -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.
    shell.font.languages= -XX:MaxPermSize=128M -Dide.AssertTracingDisabled=true -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Djava.util.logging.config.file=logging.conf -Dsql
    dev.debug=false -Dide.conf=”./sqldeveloper.conf” -Dide.startingcwd=”.” -classpath ../../ide/lib/ide-boot.jar oracle.ide.boot.Launcher
    ERROR: You’re trying to run the product with the legacy launcher oracle.ide.boot.Launcher . Check your .conf file and be sure to include:
    AddJavaLibFile ../../ide/lib/fcpboot.jar
    SetMainClass oracle.ide.osgi.boot.OracleIdeLauncher

    Use C:\Dev Software\sqldeveloper\sqldeveloper.exe instead.

  • Error when trying to run jsp on oas4081

    Hi there!
    As many others before, I'm trying to get jsp to run on oas4081. Although I think I did everything what the docs (and the other posts here) say, I get an error.
    Here is what I did:
    * download ojsp.zip
    * add a JServlet application
    * under ENVIRONMENT VARIABLES of that app I included %ORACLE_HOME%/ows/cartx/jweb/classes/ojsp.jar
    (yes, I copied the ojsp.jar to that location; there already is a jservlet.jar, and I can run servlets, so I didn't bother about adding a servlet.jar anymore, as the manual said)
    * under JAVA ENVIRONMENT I added DELEGATE_SERVLET_CLASS (left) and oracle.jsp.JspServlet (right)
    * under WEB PARAMETERS I added htm, html to the mime-types field
    Here is what I get when accessing http://myserver/jsp_samples/hellouser.jsp:
    JSP Error
    Request URI: /jsp_sample/hellouser.jsp
    Exception:
    java.lang.IllegalStateException: Unable to determine real path from the servlet context
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.lang.RuntimeException.(Compiled Code)
    at java.lang.IllegalStateException.(Compiled Code)
    at oracle.jsp.provider.JspFSServletContextResource.getRepositoryRoot(Compiled Code)
    at oracle.jsp.provider.JspFSServletContextResource.init(Compiled Code)
    at oracle.jsp.app.JspAppLoader.getApplication(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at oracle.OAS.servlet.servletrunner.exec(Compiled Code)
    Looking through the other log files, I found the following in wrb.log:
    03-21-2000 14:41:49 783109 sun199-093
    `Unknown Component` 28414 1 0x400fff
    `/oracle/app/oracle/product/oas408/ows/4.0/ojsp/webroot/samples/hellouser/oracle/jsp/JspServlet.class:
    java.lang.ClassNotFoundException:
    /oracle/app/oracle/product/oas408/ows/4.0/ojsp/webroot/samples/hellouser/oracle/jsp/JspServlet.class
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled Code)
    at oracle.owas.loader.WRBLoader.loadClassFromBytes(Compiled Code)
    at oracle.owas.loader.WRBLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at oracle.OAS.servlet.servletrunner.getServlet(Compiled Code)
    at oracle.OAS.servlet.servletrunner.exec(Compiled Code)
    Any hints would be greatly appreciated!!!
    Martin
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alex Yiu:
    Have you specified the physical path and virtual path mapping in OAS?<HR></BLOCKQUOTE>
    Yes I did, when I added the JServlet application and cartridge, respectively. And I don't have a typo in there...
    null

  • 500 null error trying to run JSP

    I installed Coldfusion Developer Edition, which I understand
    can run JSP files with JRun. When I try to do so, however, I
    receive a "500 null"
    JRun Servlet Error. The file can be completely empty and
    I'll get this same error. As you can imagine, this makes it quite
    difficult to incorporate JSPs into my Coldfusion application, and
    any help would be greatly appreciated. Most maddening is that the
    same file will work on a colleague's machine but not my own, even
    after reinstalling Coldfusion/JRun. This is what shows up in the
    coldfusion-event.log file:
    14/08 14:35:07 user jrun.jsp.JSPServlet: init
    14/08 14:35:07 error Exception parsing the TLD null : The tag
    function on line 14 is not a valid TLD element
    [2]jrun.jsp.compiler.JRunTagLibraryInfo$InvalidTLDElementException:
    The tag function on line 14 is not a valid TLD element
    at
    jrun.jsp.compiler.JRunTagLibraryInfo$TLDParser.startElement(JRunTagLibraryInfo.java:617)
    at
    jrunx.util.SAXReflectionHandler.startElement(SAXReflectionHandler.java:24)
    at
    org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:333)
    at
    org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674)
    at
    org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
    at
    org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
    at
    org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    at
    org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at
    org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
    at
    jrun.jsp.compiler.JRunTagLibraryInfo.init(JRunTagLibraryInfo.java:190)
    at
    jrun.jsp.compiler.JRunTagLibraryInfo.<init>(JRunTagLibraryInfo.java:119)
    at
    jrun.jsp.JSPEngine.checkResourceForTaglibs(JSPEngine.java:483)
    at
    jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:451)
    at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
    at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
    at
    jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1242)
    at
    jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:794)
    at
    jrun.servlet.JRunNamedDispatcher.<init>(JRunNamedDispatcher.java:36)
    at
    jrun.servlet.WebApplicationService.getNamedDispatcher(WebApplicationService.java:1096)
    at
    jrun.servlet.JRunServletContext.getNamedDispatcher(JRunServletContext.java:118)
    at
    coldfusion.license.JspLicenseServlet.service(JspLicenseServlet.java:20)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [1]jrun.jsp.compiler.JRunTagLibraryInfo$TLDParseException:
    Exception parsing the TLD null : The tag function on line 14 is not
    a valid TLD element
    at
    jrun.jsp.compiler.JRunTagLibraryInfo.init(JRunTagLibraryInfo.java:198)
    at
    jrun.jsp.compiler.JRunTagLibraryInfo.<init>(JRunTagLibraryInfo.java:119)
    at
    jrun.jsp.JSPEngine.checkResourceForTaglibs(JSPEngine.java:483)
    at
    jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:451)
    at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
    at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
    at
    jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1242)
    at
    jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:794)
    at
    jrun.servlet.JRunNamedDispatcher.<init>(JRunNamedDispatcher.java:36)
    at
    jrun.servlet.WebApplicationService.getNamedDispatcher(WebApplicationService.java:1096)
    at
    jrun.servlet.JRunServletContext.getNamedDispatcher(JRunServletContext.java:118)
    at
    coldfusion.license.JspLicenseServlet.service(JspLicenseServlet.java:20)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [0]javax.servlet.ServletException: Exception parsing the TLD
    null : The tag function on line 14 is not a valid TLD element
    at
    jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:457)
    at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
    at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
    at
    jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1242)
    at
    jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:794)
    at
    jrun.servlet.JRunNamedDispatcher.<init>(JRunNamedDispatcher.java:36)
    at
    jrun.servlet.WebApplicationService.getNamedDispatcher(WebApplicationService.java:1096)
    at
    jrun.servlet.JRunServletContext.getNamedDispatcher(JRunServletContext.java:118)
    at
    coldfusion.license.JspLicenseServlet.service(JspLicenseServlet.java:20)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    14/08 14:35:07 error
    java.lang.NullPointerException
    at
    coldfusion.license.JspLicenseServlet.service(JspLicenseServlet.java:34)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at
    jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    pls turkish language help
    this is my sites
    http://www.diyetuzmani.com
    http://www.vynet.com
    http://www.zayiflama7.com
    thankyou

  • Error 403 when trying to run a web application

    I am trying to run a web application(J2EE and velocity) that works perfectly fine on Tomcat but doesn't work on weblogic. I was initially getting a nullpointer error but I got rid of it when I removed xercesImpl.jar from my application's library folder and repackaged the war file. However, when I try to run the application now, I get the following error:-
    *Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.*
    The application has been deployed successfully but I am unable to run it using the link generated in the testing tab. The application. I was wondering if there is any workaround for this error.

    The testing link is using, the host:port/contextroot. Note that the URL is per default not accessible and give justly the 403 forbidden error.
    When you have an index.jsp (or something similar) in the root of your Web application it will automatically load that one, otherwise
    you will get the forbidden message.

  • Getting "java.lang.NullPointerException" error message when trying to run an OATS OpenScript file from Eclipse to Create a record in Oracle EBS

    Hello,
    I'm trying to run a simple OpenScript script in Eclipse that creates a record (a Supplier in this case) in Oracle E-Business Suite. So I copied the the script file from OpenScript and created it as a Class in Eclipse.  Then I created a main class to call the methods within the script class but no matter what method I call (initialize, run or finalize) I'm getting the java.lang.NullPointerException message. The error doesn't seem to be related with any specific line in the script but with the way that I'm calling it.
    Should I call the OpenScript class from my main class in a different way? (see my examples below)
    BTW, all external .jar files coming with OATS have been added to my project in Eclipse.
    1) Here's the main class I created to call the OpenScript method (Eclipse auto-corrected my main class adding a Try and Catch around the method call):
    public class Test {
        public static void main(String[] args) {
            nvscript nvs = new nvscript();
            try {
                nvs.initialize();
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    2) Here's the script from OpenScript (the actual script has more steps but I'm just using the first one for a proof of concept):
    import oracle.oats.scripting.modules.basic.api.*;
    import oracle.oats.scripting.modules.browser.api.*;
    import oracle.oats.scripting.modules.functionalTest.api.*;
    import oracle.oats.scripting.modules.utilities.api.*;
    import oracle.oats.scripting.modules.utilities.api.sql.*;
    import oracle.oats.scripting.modules.utilities.api.xml.*;
    import oracle.oats.scripting.modules.utilities.api.file.*;
    import oracle.oats.scripting.modules.webdom.api.*;
    import oracle.oats.scripting.modules.formsFT.api.*;
    import oracle.oats.scripting.modules.applet.api.*;
    public class nvscript extends IteratingVUserScript {
        @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
        @ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
        @ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
        @ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
        @ScriptService oracle.oats.scripting.modules.applet.api.AppletService applet;
        @ScriptService oracle.oats.scripting.modules.formsFT.api.FormsService forms;
        public void initialize() throws Exception {
            this.getSettings().set("formsft.useformsonly",true);
            browser.launch();
        public void run() throws Exception {
            beginStep(
                    "[1] E-Business Suite Home Page Redirect (/ebs12cloud.winshuttle.com:8000/)",
                    0);
                web.window(2, "/web:window[@index='0' or @title='about:blank']")
                        .navigate("http://ebs12.xxxxxxx.com:8000/");
                web.window(4, "/web:window[@index='0' or @title='Login']")
                        .waitForPage(null);
                    think(4.969);
                web.textBox(
                        7,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_text[@id='usernameField' or @name='usernameField' or @index='0']")
                        .setText("winshuttle_user");
                    think(2.0);
                web.textBox(
                        8,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
                        .click();
                    think(1.109);
                web.textBox(
                        9,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
                        .setPassword(deobfuscate("kjhkjhkj=="));
                    think(1.516);
                web.button(
                        10,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:button[@id='SubmitButton' or @value='Login' or @index='0']")
                        .click();
            endStep();
        public void finish() throws Exception {       
    3) Here's the error messages I'm getting based on the method I call from my main class:
    3.a) when calling Initialize():
    java.lang.NullPointerException
        at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getSettings(IteratingVUserScript.java:723)
        at nvscript.initialize(nvscript.java:22)
        at Test.main(Test.java:9)
    3 b) when calling Run():
    java.lang.NullPointerException
        at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.beginStep(IteratingVUserScript.java:260)
        at nvscript.run(nvscript.java:30)
        at Test.main(Test.java:9)
    Any help and/or constructive comment will be appreciated it.
    Thanks.
    Federico.

    UPDATE
    Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
    Thanks.
    Fede.

  • Error message while trying to run report on Historical Reports

    One of my users are getting an Exceptional Error while the userr is trying to run a report on Historical reports on her machine.  I am able to run the same report on another machine so i am assuming it has something to do with her particualar machine. Error Message is below
    Exceptional Error
    An Exceptional Error occured. Application exiting.  Check the log file for error 5022.
    We are running version 5.0.
    v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}

    Hello,
    Check out this bug, as it matches your exact error message:
    CSCef56507 - HRC/Call Custom Vars rpt does not allow Calling Number to be chosen
    http://tools.cisco.com/Support/BugToolKit/action.do?hdnAction=searchBugs
    The only thing I'm not quite sure is that it supposedly affects CRS 4.x not 5, however I think you can try the workaround on the machine with problems and see how that works.
    HTH
    Pablo

  • Error Message when trying to run Applications Module in OA Framework

    Below is the message that I received when trying to run my Applicaitons Module in test mode. When I click the error message I navigate to "public class TpcApBanksEOImpl extends OAEntityImpl". I was told to put "abstract" before "class" and to run it. It did compile after that, but I was wondering if anyone could tell me why.
    Error(12,8): class test_xxtpc.bc4j.TpcApBanksImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl

    User,
    Basically, an abstract method is a method in a class where just the signature is defined, and no implementation is provided. What you are being told by the compiler is that the method setLastupdateLogin is abstract, meaning that neither TpcApBanksImpl nor OAEntityImpl nor any of it's parents implement that method; therefore, your TpcApBanksImpl must be declared abstract.
    Hope this Helps,
    John

  • Error message: When trying to run iTunes

    I've just installed iTunes and I'm trying to run it, but every time i 'Agree' to the iTunes Software Liscence Agreement, I get an error that states,
    "The folder "iTunes" cannot be found or created, and is required. The default location for this folder is inside the "My Music" folder.
    I've tried making a folder inside my My Music folder, named iTunes, but the problem still persists.

    Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
    Thanks!

  • Help - error message when trying to run a program....

    Getting this error message - been trying to load and get jforge going, but I'm sure this is a standard problem.
    I'm trying to run this on WindowsXP Pro. Could this be an issue? Do I need any sort of plud-in for XP?
    D:\software\jforge\jforge3j2>set CLASSPATH=D:\software\jforge\jforge3j2\jforge.jar;D:\software\jforge\jforge3j\public.jar;D:\software\jforge\jforge3j2\calpahtml.jar;;.
    D:\software\jforge\jforge3j2>java com.tektools.jforge.JForgeMain
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/JFrameBea
    nInfo
    at com.tektools.beaninfo.proxies.JDialogProxyBeanInfo.getIcon(JDialogPro
    xyBeanInfo.java)
    at com.tektools.jforge.loadedbeans.DefaultLoadedBean.<init>(DefaultLoade
    dBean.java)
    at com.tektools.jforge.loadedbeans.DefaultLoadedBeansManager.a(DefaultLo
    adedBeansManager.java)
    at com.tektools.jforge.loadedbeans.DefaultLoadedBeansManager.readBeansFi
    le(DefaultLoadedBeansManager.java)
    at com.tektools.jforge.JForgeMain.g(JForgeMain.java)
    at com.tektools.jforge.JForgeMain.a(JForgeMain.java)
    at com.tektools.jforge.JForgeMain.main(JForgeMain.java)

    Those slashes in the first line of the error message suggest to me that maybe you referred to a class incorrectly in your source code.

  • Error #1053 - when trying to run application

    Hello All,
    I have a problem and would be happy if you could help.
    When I am trying to run an application as Web Application from Flash Builder 4.6, I receive the next error message:
    VerifyError: Error #1053: Illegal override of getHeaderItemsLength in mx.controls.AdvancedDataGrid.
    at flash.display::MovieClip/nextFrame()
    at mx.core::FlexModuleFactory/deferredNextFrame()[E:\dev\4.y\frameworks\projects\framework\s rc\mx\core\FlexModuleFactory.as:730]
    at mx.core::FlexModuleFactory/update()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\ FlexModuleFactory.as:503]
    at mx.core::FlexModuleFactory/moduleCompleteHandler()[E:\dev\4.y\frameworks\projects\framewo rk\src\mx\core\FlexModuleFactory.as:828]
    It is worth to mention that the "html" file, that is generated by Flash Builder, and the one, that is generated after runnung a dedicated "bat" file, are exactly the same (compared them in Beyond Compare).So I assume the problem is in the environment (SDK?).
    While compiling the application I have received the next warnings, maybe this is somehow connected to the run time error or may help to identify it?
    1. 'handler' has been deprecated.  Please use 'function clickHandler'.
    2. 3608: 'Stroke' has been deprecated since 4.0.  Please use 'SolidColorStroke'.
    3. Dashboard.staticLayout has been deprecated. Use staticLayout property of the view block instead.
    4. Data binding will not be able to detect assignments to "_objectPropertySection".
    Thank you all,
    Felix.

    I have posted this message in http://forums.sdn.sap.com/edit!default.jspa?messageID=9911970 but I did not know how to move it into this forum as this is more relevant. Sorry for the double post.

  • Getting an error msg while trying to run the java class from CMC

    Hi All,
    I am getting an error, while trying to run the java .class file, that which is imoported into CMC.
    Error msg:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper.main(ProgramWrapper.java:49)
    I have imported .class file into CMC and trying to invoke the .class file by another java program from eclipse..When i tried to invoke the .class in cmc, i am getting an error msg, mentioned above. I thought there might be version conflict. So i changed the java complier version to 1.5 in my Eclipse. After that is done again i am facing the same problem.
    Can anyone help me to resolve this issue?
    Thanks in Advance.

    i have installed BO SDK 3.1 , Service pack 3. It comes woth JDK 1.5 version. i have not done any chnages to it. I impoprted all the jar files related to BO into eclipse.
    1)  Actually, i am writing java code on eclipse. When i run code from the eclipse, it creates a session to cmc and creates folder structure what i need.
    2)  But the thing is, that code needs to run, when i import the .class file into cmc. The process how i imported the .class file to cmc.
    Manage> Add> Program File-->Java (Check Box). In this way i added java class file from the eclipse workspace (class file from the bin directory).
    3) So when i run the .class file externally by another java program or also when i log in to CMC and run that .class file, the instance shows sucess, but when i see the logfile i am getting an exception that which i mentioned above.
    If my method is worng can you please let me know the stepts how to run java program in cmc.
    Thanks in Advance

  • Mscorsvw error message when trying to run Exchange 2013 CU 8

    I'm getting this error when trying to run CU 8 on our Exchange 2013 server.
    How to make it not happen??
    Is there any way to find out how/where this process is running so it can be closed??
    Thank you, Tom

    Hi,
    How are things going?
    Mscorsvw.exe is a component of Windows, and is otherwise known as the .NET Framework Optimization Service. It optimizes your machine to launch apps faster. Once it's done, it will go away.
    Resolution:
    By using sevices.msc, verify that no service is in “Starting pending” state.
    More information about mscorsvw.exe
    http://blogs.msdn.com/b/dotnet/archive/2013/08/06/wondering-why-mscorsvw-exe-has-high-cpu-usage-you-can-speed-it-up.aspx
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

Maybe you are looking for

  • Since Win 8.1 update Satellite C855-2HW shuts off

    Greetings, Well, June 2013 I bought my Satellite C855-2HW with Windows 8 as operating system. The notebook worked smooth until in December 2013 I got Windows 8.1 updates. Since then every day (sometimes several times a day) the notebook shuts off, th

  • CS6 has stopped working

    I've checked out some threads for other issues for this error. Windows 7 64bit running CS6.  It has worked fine in the past, but all of a sudden, encountering this issue.  I've cleared the preferences and saved data manually, but no luck. Windows Eve

  • Download Internal table to Excel with different Tabs -  ole2_object

    Hi All, I am using  ole2_object to download the data from internal table to Excel file. As per different values in sorting key, data will be downloading in different tab in same Excel file. In my internal table one field is of character type and some

  • BI Huge system refresh

    Hi, Can someone tell me how can we refresh a huge BI 7.0 system with 80TB database/oracle 11g/HPUNIX ? We can't afford the high downtime our backup runs on tape so how can I make it possible also if how long will it take  ? How long the BDLS will tak

  • Accessing hotmail via password each time on IPAD2

    I have added hotmail to my IPAD2, howvere I only want to access via password entry each time. Can anyone help?