Trying to run a landscape generator in an applet

First off, I'm just getting into Java so bare with me.
I'm wanting to make a Tanks style game in an applet and I need to make the landscape. My question is just the organization of how to run it. Here is how I'm making it.
I have my class Tanx with methods init(), start(), stop(), paint(Graphics g), update(Graphics g), and run(). I also have the class Landscape with a method GenerateLandscape which does the math of storing my landscape to an array and then I have a method PaintMap(Graphics g) which runs through the array and paints the landscape.
Would I create an object of class Landscape? And then call the methods? But where should I call the methods to create the landscape? Inside init()? I only need the landscape to be drawn once at the beginning and init() is there to initialize. I don't think it's right to call the PaintMap(Graphics g) from the init() because the parameters don't work, so should I call it from paint(Graphics g)? But I don't need the landscape to be drawn a bunch of times. I could enclose it in an IF to make it run just once but maybe there's a better way. Is this whole thing fundamentally wrong the way I'm trying to do it? How would you do it? Thanks

davidpmontes wrote:
Would I create an object of class Landscape? And then call the methods? But where should I call the methods to create the landscape? Inside init()? I only need the landscape to be drawn once at the beginning and init() is there to initialize. I don't think it's right to call the PaintMap(Graphics g) from the init() because the parameters don't work, so should I call it from paint(Graphics g)? But I don't need the landscape to be drawn a bunch of times. I could enclose it in an IF to make it run just once but maybe there's a better way. Is this whole thing fundamentally wrong the way I'm trying to do it? How would you do it? ThanksYou need to go back and read about Java Graphics in AWT or in SWING--AWT for Applet and SWING for JApplet. The problem you are trying to highlight is just a lack of understanding on how Java does graphics--when you read through the Tutorial on Graphics again, pay particular attention to where they write graphics to the displaying objects Graphics Context.
Further note: you can generate your landscape 1 time in init(), but you will have to generate it to a more durable object than your display object's Graphics Context--like a BufferedImage. You will understand all of this when you read about Java Graphics.

Similar Messages

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

  • Error when trying to run "Program - Publish FSG Report"

    We're using 11i (11.5.10.2) version
    I am trying to run 'Program - Publish FSG Report' but receiving the following error message in the View log file on "Financial Statement Generator (XML Report Publisher)".
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:473)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:188)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1497)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:1766)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1277)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    Caused by: oracle.xdo.parser.v2.XMLParseException: End tag does not match start tag 'fsg:RptLine'.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:526)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1287)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 16 more
    Ref Publish FSG: Error: XML: XDOException, End Tag Does Not Match Start Tag [ID 339009.1]
    I tried to apply the patch#12700905, then retest the issue, but I receiving the following error message in the output file on "Program - Publish FSG Report"
    DECLARE
    ERROR at line 1:
    ORA-06550: line 133, column 8:
    PLS-00306: wrong number or types of arguments in call to 'SUBMIT_XML_REQUEST'
    ORA-06550: line 133, column 5:
    PL/SQL: Statement ignored
    Has anybody can help me?
    Thanks
    Sam

    Hi Sam.
    You will need to apply Patch 5728162 . To see the complete solution see MOS Doc ID 787396.1
    Hope this helps.
    Octavio

  • Error when trying to Run MTT Mobile Application in MI2.5 SP 17

    Hi Experts,
    I got the complete sources and war files of MTT 2.0. i generated the war file from NWDS as "Add jsps as compiled classes" and modified the web.xml file.after that i uploaded it is Sap webconsole as JSP runtime environment and iam using the SAP MI 2.5 sp17 Client. after deploying the applicaton iam getting "HTTP 404 not found error".but when iam trying to run it from NWDS the views and controllers are loading but the jsp (compiled) files are not displaying on the screen nad geeting an error "HTTP 404 not found error".
    Is anything iam doing wrong here..?
    Your help is highly appreciable.
    Thanks in Advance,
    Madhu KV.

    Hi Veeraraagavan,
    Thanks for help.
    Now the screens are displaying for MTR.MTS and DBREADER 2.0 .but when i sync first time though the Appliction MTR i am getting an sync error as below
    TRACE----
    at com.sap.mbs.mttcore.synchronization.communication.OutboundProcessing.prepare(OutboundProcessing.java:54) 
    at
    com.sap.mbs.mtr.sync.process.impl.CustomizationSynchronizer.prepareWAF_TRIP_GET_CUSTOMIZING(CustomizationSynchronizer.java:240) 
    at com.sap.mbs.mtr.sync.process.impl.CustomizationSynchronizer.syncWAF_TRIP_GET_CUSTOMIZING(CustomizationSynchronizer.java:118) 
    at com.sap.mbs.mtr.sync.process.impl.CustomizationSynchronizer.eventSyncUserOptions(CustomizationSynchronizer.java:104) 
    [20090109 08:55:49:015] E [MI/Sync ] Received exception info code 10 and detailed message "Exception while callSync: Internal error: Invalid structure description." 
    [20090109 08:55:49:015] E [MI/Sync ] Execption info code 10 --> Received undefinied error code. 
    i dont know where i did wrong. i configured the middleware and R/3 systems with the help of our SAP team but still i dont know where its going wrong.
    Even iam not able to understand its front end problem or backend configuration problem.
    Thanks,
    madhusudhan

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

  • Error when trying to run web report from BEx analyzer

    Hi Gurus,
    I am getting this error "STOP: System error in program SAPLRRS2 and form SELOPT_ASSIGN-01", when I am trying to run the report from the 4th button "Display report on Web" on BEx Analyzer. Can anybody tell me what this and how we can resolve it.
    Thanks and I will assign points.

    I coudn't properly understand solution provided herein:
    "Solution
    Note that you must generate the query again after you have implemented the correction (Transaction RSRT1 > Generate report).
    SAP NetWeaver 2004s BI
               Import Support Package 07 for SAP NetWeaver 2004s BI (BI Patch 07 or SAPKW70007) into your BI system. The Support Package is available when Note 0872279 "SAPBINews BI 7.0 Support Package 07", which describes this Support Package in more detail, is released for customers.
    In urgent cases, you can use the correction instructions.
    To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version"."

  • Webutil Error when trying to run excel report from Oracle form

    I am trying to run an excel report from a oracle from but it throws me following error:
    Oracle.forms.webutil.fileTransfer.FileTransfer bean not found. WEBUTIL_FILE_TRANSFER.getmaxtransfer will not work
    Can you tell what is this error due to and how to eradicate this.

    hi
    Did you generate .plx?
    please check if you did not generate plx and if u did not create db packages please create the webutil user and create db packages.
    here is the webutil configurations.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.hope this helps u.
    sarah

  • Firefox 5.0 consistently crashes when trying to run a java applet

    Trying to run a program with JAVA webstart, Firefox crashes. Java version is correct (as verified by Java test).
    repeatable every time.
    Sometimes does not generate a crash report (50% of time).

    Try logging in to a different user account on the same computer. Does Safari have the same problem?

  • I am trying to run my registered CS6 Design Standard programs for the first time after install. InDesign runs OK, but Illustrator and Photoshop will only run in trail mode. How do I activate those two?

    I can't get my registered versions of CS6 Photoshop and Illustrator to run in full mode. I installed CS6 Design Standard online end of June (an upgrade from CS5.5), on my old MacBook Pro. I didn't run the programs then as I was waiting on arrival of new MacBook Pro. I migrated the programs from my old MacBook to the new, and today tried to run those programs for the first time. InDesign work OK (after an initial hiccup) but Illustrator and Photoshop will only run in trial mode, and won't let me save files. My CS6 Design Standard shows with it's registration in my Adobe Account. All seems in order, but Illustrator and Photoshop won't run in registered mode. Can you please help?

    Demons1 in the future please only migrate your documents and settings.
    Please use the uninstallers to remove your current installation.  They are located in the Applications/Utilities/Adobe Installers folder.  Once the uninstall is complete you will also want to run the CC Cleaner Tool.  You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    If you need to download a fresh copy of the installation files for Creative Suite 6 you can do so at Download CS6 products.

  • Error 405: file not found displayed when trying to run a process on server

    Iam trying to run a "weblogic integration-process application" on server to test the application.
    It is giving me the below error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address
    File iam trying to run is RequestQuote.java
    The file is in Tutorial_process_application_web/src/requestquote/
    In the browser it is opening the below link:
    http://localhost:7051/Tutorial_Process_Application_Web/requestquote/RequestQuote.java
    I tried adding "src" in between but still same error is coming. I tried running just http://localhost:7051/, it is opening the weblogic integration window.
    I have pasted the web.xml and all other configuration files below. Please let me know what changes i have to make to get the testing window.
    Thanks,
    Vishu.
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>
         Tutorial_Process_Application_Web</display-name>
         <listener>
              <listener-class>com.bea.wli.management.WliWebAppListener</listener-class>
         </listener>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <wls:context-root>Tutorial_Process_Application_Web</wls:context-root>
    <wls:library-ref>
    <wls:library-name>struts-1.2</wls:library-name>
    <wls:specification-version>1.2</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:implementation-version>1.1.2</wls:implementation-version>
    </wls:library-ref>
    <wls:url-match-map>weblogic.servlet.utils.SimpleApacheURLMatchMap</wls:url-match-map>
    </wls:weblogic-web-app>
    application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
         <display-name>
         Tutorial_Process_Application_Ear</display-name>
         <module id="WebModule_1180909671484">
              <web>
                   <web-uri>Tutorial_Process_Application_Web.war</web-uri>
                   <context-root>Tutorial_Process_Application_Web</context-root>
              </web>
         </module>
         <module>
              <ejb>Tutorial_Process_Application_Web_WLI_ProjectBeans</ejb>
         </module>
         <module>
              <ejb>Tutorial_Process_Application_Web_WLI_ComponentBeans</ejb>
         </module>
    </application>
    weblogic-application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd">
    <wls:ejb>
    <wls:start-mdbs-with-application>false</wls:start-mdbs-with-application>
    </wls:ejb>
    <wls:application-param>
    <wls:param-name>webapp.encoding.default</wls:param-name>
    <wls:param-value>UTF-8</wls:param-value>
    </wls:application-param>
    <wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web.war</wls:module-uri>
    </wls:module-ref>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ProjectBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ComponentBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    </wls:classloader-structure>
    </wls:classloader-structure>
    <wls:listener>
    <wls:listener-class>com.bea.wli.management.WLIAppListener</wls:listener-class>
    </wls:listener>
    <wls:library-ref>
    <wls:library-name>beehive-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>wls-commonslogging-bridge</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>weblogic-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    </wls:weblogic-application>
    -----------------------------------------------

    sorry i didnt mention the weblogic workshop version, it is weblogic workshop 9.2.
    Thanks,
    vishu

  • "Error 404: file not found"displayed when trying to run a process on server

    Iam trying to run a "weblogic integration-process application" on server to test the application. Iam using weblogic workshop 9.2.
    It is giving me the below error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address
    File iam trying to run is RequestQuote.java
    The file is in Tutorial_process_application_web/src/requestquote/
    In the browser it is opening the below link:
    http://localhost:7051/Tutorial_Process_Application_Web/requestquote/RequestQuote.java
    I tried adding "src" in between but still same error is coming. I tried running just http://localhost:7051/, it is opening the weblogic integration window.
    I have pasted the web.xml and all other configuration files below. Please let me know what changes i have to make to get the testing window.
    Thanks,
    Vishu.
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>
    Tutorial_Process_Application_Web</display-name>
    <listener>
    <listener-class>com.bea.wli.management.WliWebAppListener</listener-class>
    </listener>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <wls:context-root>Tutorial_Process_Application_Web</wls:context-root>
    <wls:library-ref>
    <wls:library-name>struts-1.2</wls:library-name>
    <wls:specification-version>1.2</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:implementation-version>1.1.2</wls:implementation-version>
    </wls:library-ref>
    <wls:url-match-map>weblogic.servlet.utils.SimpleApacheURLMatchMap</wls:url-match-map>
    </wls:weblogic-web-app>
    application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
    <display-name>
    Tutorial_Process_Application_Ear</display-name>
    <module id="WebModule_1180909671484">
    <web>
    <web-uri>Tutorial_Process_Application_Web.war</web-uri>
    <context-root>Tutorial_Process_Application_Web</context-root>
    </web>
    </module>
    <module>
    <ejb>Tutorial_Process_Application_Web_WLI_ProjectBeans</ejb>
    </module>
    <module>
    <ejb>Tutorial_Process_Application_Web_WLI_ComponentBeans</ejb>
    </module>
    </application>
    weblogic-application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd">
    <wls:ejb>
    <wls:start-mdbs-with-application>false</wls:start-mdbs-with-application>
    </wls:ejb>
    <wls:application-param>
    <wls:param-name>webapp.encoding.default</wls:param-name>
    <wls:param-value>UTF-8</wls:param-value>
    </wls:application-param>
    <wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web.war</wls:module-uri>
    </wls:module-ref>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ProjectBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ComponentBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    </wls:classloader-structure>
    </wls:classloader-structure>
    <wls:listener>
    <wls:listener-class>com.bea.wli.management.WLIAppListener</wls:listener-class>
    </wls:listener>
    <wls:library-ref>
    <wls:library-name>beehive-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>wls-commonslogging-bridge</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>weblogic-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    </wls:weblogic-application>
    Edited by gvishu at 06/04/2007 9:39 AM

    sorry i didnt mention the weblogic workshop version, it is weblogic workshop 9.2.
    Thanks,
    vishu

  • I am trying to run windows on a MacBook Pro using bootcamp.

    Can anyone help? I am trying to run windows 7 on my MacBook Pro, 17 inch late 2011,
    Mac OS X Lion 10.7.5
    Intel HD Graphics 3000 384 MB
    This what I've done
    I used disk utility to format a 8g flash drive in MS-DOS (FAT) format. Then I went on the microsoft site and made sure I was downloading the correct system for my Mac, using the correct bootcamp (4). I went with the 32 bit. I then purchased the full .iso windows 7 32 bit. I downloaded it and saved it to the previous flash drive. I went into bootcamp and downloaded the support software to the same USB flash drive. Then I ticked the box in bootcamp that says install windows 7, i partitioned the hard drive 40G windows and click install. The error message is that the disk can't be found. ok, not using a disk, but when I go back into my USB flash drive it says bootable :no. I hope this all makes sense to someone and you can help.
    How can I make this USB bootable so bootcamp can install it? Where did I go wrong? Please be very step by step as I'm new at this.

    The Boot Camp instructions are located here: http://www.apple.com/support/bootcamp/
    The Boot Camp Discussion Community is located here: https://discussions.apple.com/community/windows_software/boot_camp

  • I have a late 2008 Macbook Pro, I am trying to run MW3 but it will not work without crashing a few minuets into the game. The general specs on my computer are a dual processor 2.53 ghz. 4 gb ram and a NVIDIA geforce 9400 (9600 is the alternate card)

    I have a late 2008 Macbook Pro, I am trying to run MW3 but it will not work without crashing a few minuets into the game. The general specs on my computer are a dual processor 2.53 ghz. 4 gb ram and a NVIDIA geforce 9400 (9600 is the alternate card).
    Things to note:
    I have been unable to update firmware on this computer for about a year now. Im not sure why.
    I am running a bootleg copy of Windows XP on this computer, I would not like to spend $149 to get Windows 7 if possible.
    any thoughts on the matter would be greatly appreciated, thank you.

    Why don't you take your 'old' MBP into your local Apple Store and have them check out everything that's wrong with it - and I mean everything? Then, when you get an estimate about how much it would cost to get the machine completely repaired, ask about the Apple flat-rate repair pricing?
    It's worth a shot - and with what you may save, you can put in the bank for a new MBP.
    Clinton

  • After trying to run the iTunes automatic update, I got this "The feature you are trying to use is on a network resource that is unavailable." Click OK to try again,or enter an alternate path to a folder containing the installation package 'itunes.msi"

    After trying to run the iTunes automatic update, I got this box on my pc "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package 'iTunes.msi" in the box below.. I ran a search for the file, and entered that into the box, to no avail. Then I launched iTunes and clicked on 'check for updates', and was told I had the latest version 11.0.1 I think it is. So, any clue on what to do? Thanks for any and all help.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

Maybe you are looking for

  • Files and Streams in java -- How to display successive records

    Hi, I developed an application in which I enter name and id in a gui. Each time I enter, the records are added in the sequential file. Then I have a button to open that file. It also opens. Then I have a button to read the records(which has name and

  • How best to manage the camera roll on iPhone

    Should it be periodically cleared?

  • JCAPS webservice client exception

    Hi, I have a project in JCAPS which uses an external web service. The web service returns the following object: <xsd:complexType name="Parameter">      <xsd:sequence>           <xsd:element name="codigo1" nillable="true" type="xsd:string"/>          

  • How to get into my Mothers account? She passed away recently.

    just wandering if anyone knew what i could do to get onto my mothers account, i do not know any of her security questions or have any clue what her password would be, she passed away quite recently and i would like her music added to my ipod but i ca

  • Error en fluidez

    Desde que actualize mi ipad a ios 7.1 cuando abro la multitarea tarda unos segundos y cuando la cierro tambien. Pense que se iba a solucionar al actualizar ios 7.1.1 pero el problema persiste. ¿Que puedo hacer?