[ 
https://issues.apache.org/jira/browse/GERONIMO-5686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tina Li updated GERONIMO-5686:
------------------------------

    Attachment: ConsoleOutput.JPG

> Use the undeployer tool to undeploy  bank application of  
> wasce_samples-2.1.1.4 shows error in Console output
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5686
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5686
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.1.7
>         Environment: windows xp
>            Reporter: Tina Li
>            Priority: Minor
>         Attachments: ConsoleOutput.JPG
>
>
> 1.Deploy  bank application of  wasce_samples-2.1.1.4 on 
> geronimo-tomcat6-javaee5-2.1.7-SNAPSHOT(2010.11.09-17:30) build;
> 2.The deploy process is as follows:
>    2.1.Start the WASCE server if it is not already running.
>    2.2.To use the admin console to create the database:
>    2.3 Under Embedded DB -> DB Manager
>    - Create database named "BankDB"
>    - Execute the SQL in %SAMPLE_HOME%/applications/bank/db/BankDB.sql
> 3.Use the deployer tool to install the application:
>    3.1 Execute these commands from a command prompt:
>          cd %WASCE_HOME%/bin 
>       deploy.bat deploy 
> %SAMPLE_HOME%/applications/bank/bank-ear/target/bank-ear-2.1.1.4.ear
>     3.2 Edit "BankPool" in "Services-Database Pools",change the "DB User 
> Name"and "DB Password" to "dbadmin" and "manager";
> 4.Use the undeployer tool to uninstall the application,the process as follows:
>    4.1. Execute these commands from a command prompt:
>         cd %WASCE_HOME%/bin
>       deploy.bat undeploy org.apache.geronimo.samples/bank-ear/2.1.1.4/ear
> 5. Then this application can't be undeployed and shows error in Console 
> output.
> 6.Change  the "DB User Name"and "DB Password"  back to "app" and " ",the 
> error also shows Console output.
> 7.Edit "BankPool.xml" in 
> \applications\bank\bank-ear\target\bank-ear-2.1.1.4.ear,change the value of 
> "UserName"to"dbadmin" ,and add property "Password".It shows as follows:
>       <config-property-setting 
> name="UserName">dbadmin</config-property-setting>
>            <config-property-setting 
> name="Password">manager</config-property-setting>;
> do step 4 ,the error also shows in Console output.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to