config.sh in mode silent - Weblogic

This is a discussion on config.sh in mode silent - Weblogic ; Hi, I have a nullpointerException with this silent script when i tried to delete JMSFileStore in write domain task, If i comment lines this its ok : read template from "/usr/local/bea/weblogic81/common/templates/domains/wlp.jar"; ... find JMSFileStore "FileStore" as j3; delete j3; write ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: config.sh in mode silent

  1. config.sh in mode silent

    Hi,

    I have a nullpointerException with this silent script
    when i tried to delete JMSFileStore in write domain task,
    If i comment lines this its ok :

    read template from "/usr/local/bea/weblogic81/common/templates/domains/wlp.jar";
    ...
    find JMSFileStore "FileStore" as j3;
    delete j3;

    write domain to "/usr/local/appli/domdevweb";
    close template;

    In log :
    2004-09-10 17:11:41,745 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: find JMSFileStore "FileStor
    e" as j3
    2004-09-10 17:11:41,746 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - delete j1
    2004-09-10 17:11:41,747 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: delete j1
    2004-09-10 17:11:41,748 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - delete j2
    2004-09-10 17:11:41,749 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: delete j2
    2004-09-10 17:11:41,750 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - delete j3
    2004-09-10 17:11:41,751 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: delete j3
    2004-09-10 17:11:41,751 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - write Domain to "/usr/local/appli/do
    mdevweb"
    2004-09-10 17:11:41,905 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - fail: write Domain to "/usr/local/ap
    pli/domdevweb"
    2004-09-10 17:11:41,908 ERROR [runScript] com.bea.plateng.domain.script.ScriptExecutor - fail: write Domain to "/usr/local/ap
    pli/domdevweb"
    java.lang.NullPointerException
    at com.bea.plateng.wizard.domain.DomainTaskHelper.cre ateDomainGenerator(DomainTaskHelper.java:212)
    at com.bea.plateng.wizard.domain.DomainTaskHelper.cre ateGenerator(DomainTaskHelper.java:440)
    at com.bea.plateng.wizard.domain.DomainScriptExecutor .createGenerator(DomainScriptExecutor.java:37)
    at com.bea.plateng.domain.script.ScriptExecutor.write Domain(ScriptExecutor.java:513)
    at com.bea.plateng.domain.script.ScriptParser$StateMa chine.processWrite(ScriptParser.java:589)

    How to delete examples and services in wlp.jar for created empty wlp domain in silent mode ?
    there are order and dependecy ?

    Thanks,
    Arnaud

  2. Re: config.sh in mode silent

    Ok, i understood
    FileStore cannot be deleted.
    But NullPointerException is not a correct messsage

+ Reply to Thread