14 Replies Latest reply: Sep 15, 2009 1:24 AM by rlacson RSS

    ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems

    665465
      hi,


      i am beggnier in ADF i am trying to work on editLineItems where working with ImageServlet of productId done same as in the below demo

      http://www.oracle.com/technology/obe/obe11jdev/11/dev_ui/developuserinterface.html

      but failure no success
      can any one help in this regard
      <Apr 29, 2009 7:44:00 AM GMT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1240991029453' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'FusionOrderDemo-UserInteface-context-root''
      weblogic.application.ModuleException: Failed to load webapp: 'FusionOrderDemo-UserInteface-context-root'
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           Truncated. see log file for complete stacktrace
      java.lang.ClassNotFoundException: uiresources.ImageServlet
           at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
           at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
           at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
           Truncated. see log file for complete stacktrace
      >
      <Apr 29, 2009 7:44:00 AM GMT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'FusionOrderDemo'.>
      <Apr 29, 2009 7:44:00 AM GMT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
      weblogic.application.ModuleException: Failed to load webapp: 'FusionOrderDemo-UserInteface-context-root'
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           Truncated. see log file for complete stacktrace
      java.lang.ClassNotFoundException: uiresources.ImageServlet
           at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
           at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
           at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
           Truncated. see log file for complete stacktrace
      >
      [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application FusionOrderDemo on DefaultServer.: Failed to load webapp: 'FusionOrderDemo-UserInteface-context-root'.
      weblogic.application.ModuleException: Failed to load webapp: 'FusionOrderDemo-UserInteface-context-root'
      #### Deployment incomplete. #### Apr 29, 2009 1:14:00 PM
      oracle.jdeveloper.deploy.DeployException
           at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
           at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
           at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
           at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
           at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
           at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
           at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
           at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
           at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
           at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
           at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
           at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
      Caused by: oracle.jdeveloper.deploy.DeployException
           at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
           at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
           ... 11 more
      Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
           at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
           ... 12 more
      #### Cannot run application FusionOrderDemo due to error deploying to DefaultServer.
      [Application FusionOrderDemo stopped and undeployed from Server Instance DefaultServer]



      stacktrace

      java.lang.ClassNotFoundException:uiresources.ImageServlet
        • 1. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
          Timo Hahn
          The exception tells you what to do.
          The class is missing, you have to put it into your project.
          does the application run in the embedded wls? if yes you have to check the deployment descriptor you use to pack the EAR.

          Timo
          • 2. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
            665465
            hi Timo

            thanks for the reply

            in tutorial page given that u have to get the UIResources frrom infarstructure.jws but actually UIResource.jar is not prsent from where i have to get the class and were i have to keep the class. yah running the application from Jdev11g for testing perpose while developing the UI can u send me the that class for UIRresources(which is not present in FOD_11.zip) can u plzz tell me were i have place the class
            this is my mail id naveen.vana@gmail.com


            i have select the table in DB product_images ...the table shows no data

            Edited by: Naveenapps on Apr 29, 2009 2:36 AM
            • 3. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
              Timo Hahn
              did you download the [zip file|http://www.oracle.com/technology/obe/obe11jdev/11/dev_ui/apps/Infrastructure.zip] ?
              if you unpack it you find the jar in the deploy folder.

              Timo
              • 4. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                665465
                Hi Timo

                the file u have given is fine working

                but i can't see the image on the page when i run the page in my product_images table does not have any rows present? does we shd have the data in the that table

                can u help in this regard
                • 5. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                  John Stegeman
                  naveen,

                  When you downloaded FOD, there were some install instructions to follow...

                  Those installation procedures, among other things, load the product images into that table.

                  John
                  • 6. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                    Timo Hahn
                    You mean that the table product_imanges is empty?
                    If yes, did you setup the DB correctly? All images are in the infrastructure.zip as far as I know, but you haveto load them into the table. Sql-scripts to do this should be available in that zip too.

                    Timo
                    • 7. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                      665465
                      Hi, timo

                      can u send me the Fod_11.zip plzzz
                      help in this regard
                      • 8. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                        John Stegeman
                        Naveen,

                        You can download it yourself.

                        http://www.oracle.com/technology/products/jdev/samples/fod/index.html

                        John
                        • 9. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                          665465
                          hi john

                          if i run build.xml

                          i am facing this error


                          BUILD FAILED
                          C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\Ant\build.xml:52: The following error occurred while executing this line:
                          C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\DBSchema\build.xml:91: The following error occurred while executing this line:
                          C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\DBSchema\build.xml:56: The following error occurred while executing this line:
                          C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\DBSchema\build.xml:28: C:\Oracle\Middleware\jdeveloper\wlserver_10.3\server\lib not found.

                          build.xml

                          <?xml version="1.0" encoding="windows-1252" ?>
                          <!-- Database Creation Ant Buildfile for Fusion Order Demo -->
                          <!-- $Id: build.xml 799 2007-02-19 18:34:44Z lmunsing $ -->
                          <project default="createDatabase">
                          <property file="../Ant/build.properties"/>
                          <property name="jdbc.url" value="${jdbc.urlBase}:${jdbc.port}:${jdbc.sid}"/>
                          <property name="scriptHome" value="Scripts"/>
                          <property name="populateScriptHome" value="Scripts/DataScripts"/>
                          <property name="imageHome" value="../Images/"/>
                          <property name="model.src.dir" value="src"/>
                          <property name="model.build.dir" value="classes"/>
                          <!-- Classpath Libraries used for Compiling the Image Loader -->
                          <property name="jlib.lib" value="${jdeveloper.home}/jlib"/>
                          <property name="adfbc.lib" value="${jdeveloper.home}/BC4J/lib"/>
                          <path id="oracle.jdbc.path">
                          <fileset dir="${jdeveloper.home}/../wlserver_10.3/server/lib">
                          <include name="ojdbc6.jar"/>
                          </fileset>
                          </path>
                          <macrodef name="sqlRunner" description="Macro used to run a SQL script">
                          <attribute name="username" default="null"/>
                          <attribute name="password" default="null"/>
                          <attribute name="script" default="null"/>
                          <attribute name="onerror" default="stop"/>
                          <sequential>
                          <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="@{username}"
                          password="@{password}" classpathref="oracle.jdbc.path"
                          src="@{script}" onerror="@{onerror}"/>
                          </sequential>
                          </macrodef>
                          <macrodef name="sqlRunnerWithArgs"
                          description="Macro used to run a script containing substitution variables">
                          <attribute name="username" default="null"/>
                          <attribute name="password" default="null"/>
                          <attribute name="script" default="null"/>
                          <attribute name="onerror" default="stop"/>
                          <attribute name="arg1" default="null"/>
                          <attribute name="arg2" default="null"/>
                          <sequential>
                          <tempfile property="sqlrunner.tempfile" destdir="${scriptHome}"
                          prefix="SQLRunner" suffix=".sql"/>
                          <concat destfile="${sqlrunner.tempfile}">
                          <header filtering="no" trimleading="yes">
                          <![CDATA[
                          REM Generated ANT SQL Runner Stub
                          REM You can delete this file
                          ]]>
                          </header>
                          <path path="@{script}"/>
                          </concat>
                          <replace file="${sqlrunner.tempfile}" token="&amp;&amp;1"
                          value="@{arg1}"/>
                          <replace file="${sqlrunner.tempfile}" token="&amp;&amp;2"
                          value="@{arg2}"/>
                          <sqlRunner username="@{username}" password="@{password}"
                          script="${sqlrunner.tempfile}" onerror="@{onerror}"/>
                          <delete file="${sqlrunner.tempfile}"/>
                          </sequential>
                          </macrodef>
                          <target name="createDatabase"
                          depends="refreshSchema, createSchemaObjects, createSequenceTriggers, populateTables, populateImages, revokePrivs">
                          <echo message="Database (Re)Creation Complete"></echo>
                          </target>
                          <target name="echoSettings"
                          description="Prints out the connection info and accounts in use">
                          <echo message=""></echo>
                          <echo message="Setting up Fusion Order Demo database"></echo>
                          <echo message="-------------------------------------"></echo>
                          <echo message="The following settings will be used (from build.properties):"></echo>
                          <echo message=""></echo>
                          <echo message="JDBC Driver Class: ${jdbc.driver}"></echo>
                          <echo message="JDBC URL to target Database: ${jdbc.url}"></echo>
                          <echo message=""></echo>
                          <echo message=""></echo>
                          <echo message="DBA Account: ${db.adminUser}"></echo>
                          <echo message="DBA Password: **********"></echo>
                          <echo message=""></echo>
                          <echo message="Demo User Account: ${db.demoUser}"></echo>
                          <echo message="Demo User Password: **********"></echo>
                          <echo message="Default Tablespace: ${db.demoUser.tablespace}"></echo>
                          <echo message="Temp Tablespace: ${db.demoUser.tempTablespace}"></echo>
                          <echo message=""></echo>
                          <echo message="Scripts read from: ${scriptHome}"></echo>
                          <echo message=""></echo>
                          </target>
                          <target name="refreshSchema">
                          <sqlRunnerWithArgs username="${db.adminUser}"
                          password="${db.adminUser.password}"
                          script="${scriptHome}/createFODSchema.sql"
                          onerror="continue" arg1="${db.demoUser}"
                          arg2="${db.demoUser.password}"/>
                          <echo level="warning"
                          message="Warning: An unlocked database user '${db.demoUser}' has been created, with create session privileges."></echo>
                          </target>
                          <target name="createSchemaObjects">
                          <sqlRunner username="${db.demoUser}" password="${db.demoUser.password}"
                          script="${scriptHome}/createFODSchemaObjects.sql"/>
                          </target>
                          <target name="createSequenceTriggers">
                          <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="${db.demoUser}"
                          password="${db.demoUser.password}" classpathref="oracle.jdbc.path"
                          rdbms="oracle" delimiter="/" delimitertype="row" keepformat="yes"
                          src="${scriptHome}/createSequenceTriggers.sql"/>
                          </target>
                          <target name="populateTables">
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/DEMO_OPTIONS.sql"
                          arg1="${override.email}" arg2="${smtp.server}"/>
                          <echo message="Demo Options Created"></echo>
                          <sqlRunner username="${db.demoUser}" password="${db.demoUser.password}"
                          script="${populateScriptHome}/AVAILABLE_LANGUAGES.sql"/>
                          <echo message="Available Languages Created"></echo>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/COUNTRY_CODES.sql"
                          arg1="US"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/COUNTRY_CODES.sql"
                          arg1="F"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/COUNTRY_CODES.sql"
                          arg1="D"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/COUNTRY_CODES.sql"
                          arg1="JP"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/COUNTRY_CODES.sql"
                          arg1="EL"/>
                          <echo message="Country Codes Created"></echo>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/LOOKUP_CODES.sql"
                          arg1="US"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/LOOKUP_CODES.sql"
                          arg1="F"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/LOOKUP_CODES.sql"
                          arg1="D"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/LOOKUP_CODES.sql"
                          arg1="JP"/>
                          <sqlRunnerWithArgs username="${db.demoUser}"
                          password="${db.demoUser.password}"
                          script="${populateScriptHome}/LOOKUP_CODES.sql"
                          arg1="EL"/>
                          <echo message="Lookup Codes Created"></echo>
                          <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="${db.demoUser}"
                          password="${db.demoUser.password}" classpathref="oracle.jdbc.path"
                          rdbms="oracle" delimiter=";">
                          <fileset dir="${populateScriptHome}">
                          <include name="ADDRESSES.sql"/>
                          <include name="DISCOUNTS_BASE.sql"/>
                          <include name="MEMBERSHIPS_BASE.sql"/>
                          <include name="SHIPPING_OPTIONS_BASE.sql"/>
                          <include name="SUPPLIERS.sql"/>
                          </fileset>
                          </sql>
                          <echo message="Addresses, Memberships, Discounts, Shipping Options and Suppliers Created"></echo>
                          <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="${db.demoUser}"
                          password="${db.demoUser.password}" classpathref="oracle.jdbc.path"
                          rdbms="oracle" delimiter=";">
                          <fileset dir="${populateScriptHome}">
                          <include name="PERSONS.sql"/>
                          <include name="WAREHOUSES.sql"/>
                          <include name="DISCOUNT_TRANSLATIONS.sql"/>
                          <include name="MEMBERSHIP_TRANSLATIONS.sql"/>
                          <include name="SHIPPING_OPTION_TRANSLATIONS.sql"/>
                          <include name="ELIGIBLE_DISCOUNTS.sql"/>
                          </fileset>
                          </sql>
                          <echo message="Persons, Warehouses, Discount Translations, Shipping Option Translations, and Eligible Discounts Created"></echo>
                          <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="${db.demoUser}"
                          password="${db.demoUser.password}" classpathref="oracle.jdbc.path"
                          rdbms="oracle" delimiter=";">
                          <fileset dir="${populateScriptHome}">
                          <include name="ADDRESS_USAGES.sql"/>
                          <include name="CUSTOMER_IDENTIFICATIONS.sql"/>
                          <include name="PAYMENT_OPTIONS.sql"/>
                          <include name="PRODUCT_CATEGORIES_BASE.sql"/>
                          </fileset>
                          </sql>
                          <echo message="Address Usages, Customer Identifications, Payment Options, Product Categories, and Orders Created"></echo>
                          <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="${db.demoUser}"
                          password="${db.demoUser.password}" classpathref="oracle.jdbc.path"
                          rdbms="oracle" delimiter=";">
                          <fileset dir="${populateScriptHome}">
                          <include name="PRODUCTS_BASE.sql"/>
                          <include name="WAREHOUSE_STOCK_LEVELS.sql"/>
                          <include name="CATEGORY_TRANSLATIONS.sql"/>
                          <include name="CUSTOMER_INTERESTS.sql"/>
                          <include name="ORDERS.sql"/>
                          </fileset>
                          </sql>
                          <echo message="Products, Warehouse Stock Levels, Coupon Usages, Categories, and Customer Interests Created"></echo>
                          <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="${db.demoUser}"
                          password="${db.demoUser.password}" classpathref="oracle.jdbc.path"
                          rdbms="oracle" delimiter=";">
                          <fileset dir="${populateScriptHome}">
                          <include name="COUPON_USAGES.sql"/>
                          <include name="PRODUCT_TRANSLATIONS.sql"/>
                          <include name="ORDER_ITEMS.sql"/>
                          </fileset>
                          </sql>
                          <echo message="Coupon Usages, Product Translations and Order Items Created"></echo>
                          </target>
                          <path id="schema.classpath">
                          <fileset dir="${jdeveloper.home}/modules/oracle.javacache_11.1.1">
                          <include name="cache.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.jps_11.1.1">
                          <include name="jps-api.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.adf.share_11.1.1">
                          <include name="adflogginghandler.jar"/>
                          <include name="adf-share-support.jar"/>
                          <include name="jsp-el-api.jar"/>
                          <include name="commons-el.jar"/>
                          <include name="oracle-el.jar"/>
                          <include name="ojdbc5.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.adf.share.ca_11.1.1">
                          <include name="adf-share-base.jar"/>
                          <include name="adf-share-ca.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.xmlef_11.1.1">
                          <include name="xmlef.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.bali.share_11.1.1">
                          <include name="share.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.mds_11.1.1">
                          <include name="mdsrt.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.adf.model_11.1.1">
                          <include name="adfm.jar"/>
                          <include name="db-ca.jar"/>
                          <include name="groovy-all-1.5.4.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules/oracle.xdk_11.1.1">
                          <include name="xmlparserv2.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/ant/lib">
                          <include name="xercesImpl.jar"/>
                          </fileset>
                          <fileset dir="${jdeveloper.home}/modules">
                          <include name="jaxb-impl_2.1.3.jar"/>
                          </fileset>
                          </path>
                          <target name="compileImagesApp"
                          description="Compiles the ApplicationSchema project">
                          <mkdir dir="${model.build.dir}"/>
                          <javac destdir="${model.build.dir}" source="1.5" target="1.5" debug="true"
                          deprecation="false" optimize="false" failonerror="true">
                          <src path="${model.src.dir}"/>
                          <classpath refid="schema.classpath"/>
                          <classpath refid="oracle.jdbc.path"/>
                          </javac>
                          <copy todir="${model.build.dir}" preservelastmodified="true">
                          <fileset dir="${model.src.dir}">
                          <include name="**/bc4j.xcfg"/>
                          <include name="**/*.xml"/>
                          <include name="*.jpx"/>
                          </fileset>
                          </copy>
                          </target>
                          <target name="populateImages" depends="compileImagesApp">
                          <java classname="oracle.fodemo.share.imageloader.LoadImages">
                          <classpath refid="schema.classpath"/>
                          <classpath refid="oracle.jdbc.path"/>
                          <classpath>
                          <pathelement location="classes/"/>
                          </classpath>
                          <arg value="${jdbc.url}"/>
                          <arg value="${db.demoUser}"/>
                          <arg value="${db.demoUser.password}"/>
                          <arg value="${imageHome}"/>
                          </java>
                          </target>
                          <target name="revokePrivs">
                          <sqlRunnerWithArgs username="${db.adminUser}"
                          password="${db.adminUser.password}"
                          script="${scriptHome}/revokeFODPrivileges.sql"
                          onerror="continue" arg1="${db.demoUser}"
                          arg2="${db.demoUser.password}"/>
                          <echo level="warning" message="Cleaning up database user privileges."></echo>
                          </target>
                          <target name="dropSchema">
                          <sqlRunnerWithArgs username="${db.adminUser}"
                          password="${db.adminUser.password}"
                          script="${scriptHome}/dropFODSchema.sql"
                          onerror="continue" arg1="${db.demoUser}"
                          arg2="${db.demoUser.password}"/>
                          <echo level="warning"
                          message="Warning: The database user '${db.demoUser}' has been dropped."></echo>
                          </target>
                          </project>


                          build.properties

                          # Master Ant properties file for Fusion Order Demo
                          # All build files refer to this master list of properties
                          # Continuous builds override these settings
                          # $Id: build.properties 812 2007-02-20 07:14:33Z lmunsing $

                          # Base Directory for library lookup
                          jdeveloper.home=C:/Oracle/Middleware/jdeveloper/jdev
                          src.home=..//..


                          # JDBC info used to create Schema
                          jdbc.driver=oracle.jdbc.OracleDriver
                          jdbc.urlBase=jdbc:oracle:thin:@appsr12.softforceapps.com
                          jdbc.port=1521
                          jdbc.sid=sfa

                          # Information about the default setup for the demo user.
                          db.adminUser=system
                          db.demoUser=FOD
                          db.demoUser.password=fusion
                          db.demoUser.tablespace=APPS_TS_TX_IDX
                          db.demoUser.tempTablespace=TEMP


                          help me jhon in this regard
                          • 10. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                            John Stegeman
                            Naveen,

                            Looks to me as if you perhaps installed JDeveloper then moved it to another directory or something?

                            Try uninstalling JDev and doing a clean install - does it work then?

                            John
                            • 11. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                              665465
                              hi jhon,

                              i have done a fresh installation of Jdev11g still same problem

                              we have to set any properties after installing the application

                              jdevHome: C:\Oracle\Middleware\jdeveloper

                              help me

                              BUILD FAILED


                              C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\Ant\build.xml:52: The following error occurred while executing this line:
                              C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\DBSchema\build.xml:91: The following error occurred while executing this line:
                              C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\DBSchema\build.xml:56: The following error occurred while executing this line:
                              C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\DBSchema\build.xml:28: C:\Oracle\Middleware\jdeveloper\jdev\mywork\Infrastructure\Ant\wlserver_10.3\server\lib not found.

                              Total time: 9 seconds
                              • 12. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                                John Stegeman
                                According to the instructions, you need to edit your build.properties file to reference the jdeveloper home.

                                Looks like you didn't set it to the correct location. (the correct value appears to be c:\oracle\middleware\jdeveloper)

                                Ensure you are following the instructions step-by-step properly
                                • 13. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                                  665465
                                  hi jhon

                                  i have edited the build.properties and changed....the path i have is the same still i am getting the same error
                                  • 14. Re: ClassNotFoundException:uiresources.ImageServlet of FOD in editLineItems
                                    rlacson
                                    I've encountered this myself while installing the tutorial. You should use double back slash in your properties file. So
                                    jdevHome: C:\Oracle\Middleware\jdeveloper should be jdevHome: C:\\Oracle\\Middleware\\jdeveloper