ADF Toy Store demo - problem

I have just downloaded JDeveloper for the first time and installed the ADF Toy Store demo, but when I try to run it I get:
C:\adf\adftoystore\FwkExtensions\src\toystore\fwk\controller\ToyStoreInitModelListener.java
Error(4,8): InitModelListener not found
Error(5,8): UIXRequestEvent not found
C:\adf\adftoystore\FwkExtensions\src\toystore\fwk\controller\ToyStoreDataForwardAction.java
Error(29,8): MessageData not found
Have I missed a step?

The 10.1.3 EA1 release doesn't include UIX, which is definitely part of your problem, so you are better off trying the sample in 10.1.2. You don't need to uninstall 10.1.3 though; as long as you install them in different directories, the different releases can happilly coexist. I have at least five different versions currently installed on my laptop.
Blaise

Similar Messages

  • ADF Toy Store Demo App

    Hi experts,
    I am new in developing JDeveloper, so I search sample application and found toystore webstore application created by Steve Muench, the documentation explain to run it on Oracle JDeveloper 10g production, version 10.1.2. but I do not have it, so I try with the one I have (Oracle JDeveloper 10 production 10.1.3.0.4). After I download JUnit using Check update feature, I try to run it as said in the readme. And I get the following errors:
    Project: C:\adftoystore\FwkExtensions\FwkExtensions.jpr
    C:\adftoystore\FwkExtensions\src\toystore\fwk\controller\ToyStoreDataForwardAction.java
    Error(29,8): MessageData not found
    C:\adftoystore\FwkExtensions\src\toystore\fwk\controller\ToyStoreInitModelListener.java
    Error(4,8): InitModelListener not found
    Error(5,8): UIXRequestEvent not found
    Do someone could tell me what should I add to the lib or point me a solution. (Three errors above pointing to import oracle.cabo.ui.data.MessageData; import oracle.cabo.adf.rt.InitModelListener; import oracle.cabo.servlet.event.UIXRequestEvent;)
    Thanks

    Hi user556888
    The Toystore demo is a little outdated now. Instead why not try the SRDemo? There is a whole tutorial manual that relates to the SRDemo so it's a much better choice than Toystore.
    SRDemo is downloaded within JDeveloper by selecting the Help menu, Check for Updates option, selecting the Official Oracle Extensions link, then next, finally selecting the ADF SRDemo Application (ADF BC Version). Once downloaded it does require that database schema objects are created, so make sure you have a database to work with.
    In turn the tutorial known as the JDeveloper guide for Forms/4GL Programmers is available here:
    http://www.oracle.com/technology/obe/ADFBC_tutorial_1013/10131/index.htm
    Happing learning.
    CM.

  • ADF Toy Store Demo

    In http://otn.oracle.com/products/jdev/tips/muench/adftoystore_10_1_2.zip there are two SQL scripts, CreateToyStoreUsers.sql and ToyStore.sql. Running these in SQLPlus result in
    -two users are created, TOYSTORE and TOYSTORE_STATEMGMT
    -both users are 'empty', i.e. no tables, nothing
    -all tables et cetera are found under the SYSTEM user
    What's wrong (with the scripts)?
    The log files indicate success.
    I'm running
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    What's wrong (with the scripts)? Nothing, they are OK. You didn't connect as a toystore before runing ToyStore.sql script.
    Run the SQL script ./adftoystore/DatabaseSetup/ToyStore.sql like this:
    sqlplus toystore/toystore @ToyStore.sql

  • ADF Toy Store : create row : problem scenario

    hi (Steve)
    While experimenting with the ADF Toy Store Demo (*1) I tried this scenario:
    (1) Use the "Sign In" icon to navigate to "Register as a New User".
    (2) Without entering data into the input fields, click the "Register" button. You will get errors for the required fields.
    (3) (You change your mind about registering.) Click on "Games".
    (4) (You see a nice game, so you still want to register.) Use the "Sign In" icon to navigate to "Register as a New User".
    (5) Be nice and fill out all the fields and click the "Register" button.
    [!] This will result in errors for the required fields (although you filled out all of them).
    My guess is these errors are related to the first "account row" that was created.
    Could someone suggest a "best practice" approach to avoid problems like these?
    thanks
    Jan Vervecken
    *1 : http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore.html
    * : using JDeveloper 10.1.2 and ADF Toy Store 9.0.5.2.31 (Built on 21-Jun-2004)

    thanks for your reply Steve
    (1st) I've updated ToyStoreServiceImpl like you suggested:
      public boolean validSignon(String username, String password) {
        System.out.println("validSignon() : begin");
        removeAnyInvalidNewAccounts();
        return getAccounts().findAccountByUsernamePassword(username, password);
      public void prepareToCreateNewAccount() {
        System.out.println("prepareToCreateNewAccount() : begin");
        removeAnyInvalidNewAccounts();
        ViewObject vo = getAccounts();
        vo.clearCache();
         * Mark the view object as insert only by setting
         * it's max fetch size to zero. Executing the query
         * when the max fetch size is zero won't actually
         * perform any query, but will mark the VO as
         * executed so the ADF binding layer will know it
         * doesn't need to re-execute it later.
        vo.setMaxFetchSize(0);
        vo.executeQuery();
        Row newRow = vo.createRow();
        vo.insertRow(newRow);
        newRow.setNewRowState(Row.STATUS_INITIALIZED);
        vo.setCurrentRow(newRow);
        System.out.println("newRow = " + newRow);
        System.out.println("prepareToCreateNewAccount() : end");
       * Purge any new but invalid AccountImpl (and associated SignInImpl) instances
       * from the Entity Cache. These could get into the system if the user visits
       * the "Register a New User" page, enters invalid data and submits, but
       * instead of fixing the invalid data, click on another link to sign-in
       * as another valid account instead.
      private void removeAnyInvalidNewAccounts() {
        System.out.println("removeAnyInvalidNewAccounts() : begin");
        EntityDefImpl def = AccountImpl.getDefinitionObject();
        com.sun.java.util.collections.Iterator iter = def.getAllEntityInstancesIterator(getDBTransaction());
        while (iter.hasNext()) {
          AccountImpl acct = (AccountImpl) iter.next();
          System.out.println("considering acct = " + acct);
          if (acct.isInvalid() && (acct.getEntityState() == Entity.STATUS_NEW)) {
            System.out.println("removing acct = " + acct);
            acct.remove();
            acct.getSignon().remove();
        System.out.println("removeAnyInvalidNewAccounts() : end");
      //...(2nd) I've followed the original problem scenario I described at the beginning of this thread:
    (1) Use the "Sign In" icon to navigate to "Register as a New User".
    (2) Without entering data into the input fields, click the "Register" button. You will get errors for the required fields.
    (3) (You change your mind about registering.) Click on "Games".
    (4) (You see a nice game, so you still want to register.) Use the "Sign In" icon to navigate to "Register as a New User".
    (5) Be nice and fill out all the fields and click the "Register" button.
    [!] This will result in errors for the required fields (although you filled out all of them).
    (3rd) That results in this output:
    prepareToCreateNewAccount() : begin
    removeAnyInvalidNewAccounts() : begin
    removeAnyInvalidNewAccounts() : end
    newRow = toystore.model.dataaccess.AccountsRowImpl@1
    prepareToCreateNewAccount() : end
    prepareToCreateNewAccount() : begin
    removeAnyInvalidNewAccounts() : begin
    removeAnyInvalidNewAccounts() : end
    newRow = toystore.model.dataaccess.AccountsRowImpl@18b
    prepareToCreateNewAccount() : end
    questions
    (1) I never seem to enter the while loop of your removeAnyInvalidNewAccounts() method, how come?
    (2) Although my scenario never signs in with another valid account, do you consider my scenario to be similar to the one you describe in your comment for the removeAnyInvalidNewAccounts() method?
    (3) In general, if creating (and inserting) new rows should be accompanied with methods like removeAnyInvalidNewEntityXs(), what would be the "rule of thumb" to determine where to call these methods? It is my impression that such methods should be inserted in different places to account for all the scenarios (paths in the application) a user can follow (and you better forget none).
    thanks
    Jan

  • ADF Toy Store - adf:inputrender - EditRenderer

    hi
    The ADF Toy Store Demo (*1) uses the adf:inputrender tag in the formControl.jsp page.
    While trying to understand the inner workings of this adf:inputrender tag, I came across the JDeveloper Online Help topic "About Rendering Data with ADF Renderers" (*2).
    (1) I couldn't find anything on the workaround for bug 3703925, as implemented in the setupDefaultFieldRenderers() method of the RegisterAction class in the ADF Toy Store Demo. But maybe this workaround is intended not to be documented.
    (And by the way, there seems to be no mention of bug 3703925 being resolved in the fixlist for JDev 10.1.2)
    (2) The help topic (*2) ends with a paragraph that says "The following is an example ...", but there doesn't seem to be an example.
    (3) Where can I find some documentation on the default behavior as to mapping between "attribute types" and "EditRenderer"?
    thanks
    Jan Vervecken
    *1 : http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore.html
    *2 : http://helponline.oracle.com/jdeveloper/help/topics/jdeveloper/developing_mvc_applications/adf_aclientrenderingdata.html
    *3 : http://www.oracle.com/technology/products/jdev/htdocs/10.1.2.0.0/1012fixlist.htm

    Go to project properties and change the default package to myapp.view every newly added UIModel gets added to that package. If you do this before dragging datacontrols to pages you don't have to change things .
    When a UiModel gets added to the wrong package what I do is I close the file with JDeveloper (with the red cross in the applications tab). Then I close JDeveloper. I move the UIModel file on the file system. Change the FullName of that UIModel in the databindings.cpx file to the new location. Start JDeveloper and open the file with JDeveloper again (green cross under the applications tab). I know this doesn't sound good but it works. Try it in a bogus project and if it works for you do it in your production project.
    You say "(using jdeveloper)" so this might not be what you want but as far as I know this is the only way. (correct me if I'm wrong)
    Joris

  • BC4J Toy Store Demo  --LoginForm.java

    Excerpted from LoginForm.java
    public class LoginForm extends ActionForm {
    private String _username;
    private String _password;
    public LoginForm() { }
    public String getUsername() { return _username; }
    Now, I changed getUsername function to
    public String getUsername() { return null; }
    in order to stop and popup error (for testing purpose).
    But it never stop and display error but proceed to success.
    What is going on?
    Thanks.
    Scott

    I opened the BC4J Toy Store source, set a breakpoint (*)on the unchanged source line in LoginForm.java of:
    (*) public String getUsername() { return _username; }Then I right-moused on the "index.jsp" page in ToyStoreController project, and picked "Debug".
    Next, I clicked on the toolbar "Signin" icon, and during the rendering of the login form HTML page, I stop at my breakpoint once.
    When I submit the form after entering a username and password, I stop again at the breakpoint.
    Did you change anything about the struts-config.xml file in the example that you're trying?

  • BC4J Toy Store Demo

    I've followed all the instructions to get the demo up and running, but I can't seem to compile any of the source in JDeveloper. I get the following errors for each .jsp
    Error(1): java.util.zip.ZipException: invalid entry size (expected 2376 but got 2334 bytes)
    Error(1): Unable to load taghandler class: /WEB-INF/struts-bean.tld
    any ideas?

    Brad,
    We've not seen this problem before. Did you download the toystore demo from OTN ?
    If you do a:
    jar tvf bc4jtoystore.zip
    does the ZIP file give any errors?

  • TOY STORE DEMO (How to default the user name)

    When I logged on to my network I used my user name: scott.
    Now when I opened the signin.jsp page, I want the user name control box default to my network user name, i.e., scott. How can I do it? (The current demo default the user name to blank).
    Thanks.

    If you Google for os user name java site:java.sun.com you'll find the page that lists all System properties that provide info you can retrieve from a Java program.
    This info will allow you to write the appropriate line in your overridden entity object create() method where programmatic defaults are performed.
    However, this scheme won't work well for a web-based application since the code is running on the web server.

  • Toy Store related question

    I was reviewing some of the code for the toy store project and wondering why in ShoppingCart fillInCartItemDetailsUsingViewObject method the following code was use to get the view object:
    ViewObject lookup = getDBTransaction().getRootApplicationModule() .findViewObject("ShoppingCartItemLookup");
    Based on the javadoc I believe one could use the following:
    ViewObject lookup = getApplicationModule() .findViewObject("ShoppingCartItemLookup");
    Why would you choose to use one approach over the other?
    I apologize if this is a stupid question, but it appears these would do the same thing.
    Thank you.

    From the white paper:
    "View Row message bundle (ViewNameRowImplMsgBundle.java) appears automatically when you define any built-in prompts, tooltips, format masks, etc., for your view object."
    In the Toy Store Demo, you can see that there were hints created on "Userid" and "Status". You can validate it by clicking on the "Accounts" view in the navigator, double clicking on one of the 2 attributes in the Structure pane, clicking on "Control Hints", and noticing that "Display Hint" has a value of "Hide".
    HTH.
    Thanks, George

  • Problem deploying ADF Faces component demo to Glassfish 3.1.2

    Hi,
    Jdev 11.1.2.3
    ADF Essentials
    Glassfish 3.1.2
    Windows 7 (64-bit)
    Following the instructions on https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to I'm able to deploy and run a very simple ADF Faces application.
    But when I try to deploy ADF Faces component demo (rfc-dvt-demo.war) I get following error:
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.572+0200|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=27;_ThreadName=Thread-2;|Critical error during deployment:
    com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
         at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
         at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
         at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
         at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
         at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
         at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:353)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
         at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:220)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)
    Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)
         ... 31 more
    Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)
         ... 31 more
    Caused by: javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:915)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:502)
         at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1013)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)
         ... 35 more
    Caused by: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:917)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:488)
         ... 37 moreI have also tried
    - to re-create the WAR file with "platform=Glassfish" in the deployment profile but with the same result
    - to create an EAR file with "platform=Glassfish" in the deployment profile but with the same result (I have read in the ADF docs that for ADF applications deployment of WAR files only works witin EAR files)
    From my knowledge the ADF Faces Component demo should be deployable on the certified and supported version of Glassfish as it consists of ADF Essentials features only.
    Anyone already succeeded with deployment of ADF Faces demo application on Glassfish?
    regards
    Peter

    Okay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
    <welcome-file-list>
    <welcome-file>LoginPage.jsp</welcome-file>
    </welcome-file-list>
    I tried these two variations
    <welcome-file-list>
    <welcome-file>LoginPage.faces</welcome-file>
    </welcome-file-list>
    <welcome-file-list>
    <welcome-file>faces/LoginPage.jsp</welcome-file>
    </welcome-file-list>
    and neither of these worked either. (I did restart the OC4J node between each attempt.)
    I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
    Should the welcome-file-list have worked? Am I doing something wrong here?
    Thanks for the help. Mark

  • Where to find the OC4J-ready Pet Store Demo file jps112.zip

    where to find the OC4J-ready Pet Store Demo file jps112.zip in OTN
    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg

    You have to execute the installer jar file.
    This will create a folder with all the source codes inside.
    I wasn't aware of any need for cvs.

  • IPhone app store downloading problem

    I have iPhone app store downloading problem (iOS 5). I could not download or update any software successfully from yesterday. Every app shows "waiting for download" but nothing happen for two days. It seems my app store does not connect to server. I use same account in my iPad, but it works normal. So, what happen to my iPhone? Please help me!

    Hold the home button and lock button for 10 seconds to reboot the iPhone.

  • TP4 / ADF Rich client demo just downloaded from otn / 41 compiling errors !

    I just downloaded ADF Riche client demo and installed it jdev tp4.
    Rebuild causes 41 compilation errors and the application is not runnable.
    Is it a way to solve this ?
    Some of the errors:
    Error: cannot read: C:\JDeveloper\myWork\adf-richclient-demo\adf-richclient-demo\public_html\WEB-INF\classes\.jsps\_components\_inputComboboxListOfValues_jspx.java
    Error: cannot read: C:\JDeveloper\myWork\adf-richclient-demo\adf-richclient-demo\public_html\WEB-INF\classes\.jsps\_components\_queryToggle_jspx.java
    Error(57): "rows" is not a valid attribute name.
    Error(57): "maxColumns" is not a valid attribute name.

    Forget about it ... downloading again and reinstalling it without any errors ... may be i downloaded from an older link or do some bad copy ... sorry disturbing you !

  • ADF Faces Components Demo - Illegal Characters error

    Hi ,
    I downloaded the ADF Faces Components Demo for version 11.1.2.3.0 from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html . I tried following instructions :ADF Faces Components Demo Install Instructions
    This is getting downloaded as rcf-dvt-demo.zip. I renamed it to rcf-dvt-demo.war.
    Then I tried to create a project from this war... and got following error :
    The project file "C:\rcf-dvt-demo.war!\Project.jpr" is not valid. The file name may contain illegal characters, it may be too long, or permissions for this file or one of it's parent directories may be restricted.
    Please help . Am i downloading from correct location and following the correct instructions.
    Thanks,
    Rajdeep

    Good Catch Timo ... Lot of thanks.
    Still I will put down the silly mistake of overlooking the wizard.
    I was doing the correct thing - "create a new application and inside this application workspace you add a new 'project from war'." But mistake was .. First step of wizard it is project name and path,, and then second step is war location... and in hurry I was giving the project name and war location in first step.
    Thanks,
    Rajdeep

  • Ldapmodify error in grocery store demo

    I'm getting a "Segmentation fault" error message when I execute "ldapmodify -h myhostname -p 3060 -D cn=orcladmin -w mypassword -f grocerystore.ldif". This is step1 in the "Deploying the application" section of the Grocery Store demo installation. Any suggestions on how to fix this?
    I'm running it from the terminal window of a linux red hat 2.1. machine where my 10g AS infra is installed.
    Any ideas would be greatly appreciated.

    how did you transfer the files to the linux machine , if you have FTP'ed it ., check if you have used ascii mode.., or check if the file contains ^M characters., i guess the file may be corrput and that is the reason for the error

Maybe you are looking for