[ 
http://nagoya.apache.org/jira/browse/BEEHIVE-70?page=comments#action_55310 ]
     
Julie Zhuo commented on BEEHIVE-70:
-----------------------------------

Actually putting all the three targets together as below works like a charm. 
So, let's put them together in the doc. Thanks.

  -f %BEEHIVE_HOME%\ant\buildWebapp.xml 
  -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial 
  -Dcontext.path=pageflow_tutorial 
  undeploy
  build.webapp 
  deploy 


> Webapp Redeploy Encounters exception java.lang.ThreadDeath
> ----------------------------------------------------------
>
>          Key: BEEHIVE-70
>          URL: http://nagoya.apache.org/jira/browse/BEEHIVE-70
>      Project: Beehive
>         Type: Bug
>   Components: Documentation, NetUI
>     Versions: V1Alpha
>     Reporter: Julie Zhuo

>
> I am following the pageflow tutorial and do the build.webapp redeploy, I 
> often encounters the following.
> ************************************
>      [echo] ========== Compile Page Flows ==========
>       [apt] Compiling 2 source files to 
> D:\beehive-dist\project\pageflow_tutoria
> l\WEB-INF\classes
>      [echo] Copy all .properties files
>      [echo] Copy all .xml files
> redeploy:
> [tomcatreload] FAIL - Encountered exception java.lang.ThreadDeath
> BUILD FAILED
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot\ant\runTomcatCore.x
> ml:39: FAIL - Encountered exception java.lang.ThreadDeath
> Total time: 6 seconds
> *************************************************
> Once this happens, if I try to build.webapp redeploy again it always give me 
> the following,
> ************************************************************
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot>ant -f 
> ant\buildWeb
> app.xml -Dwebapp.dir=D:\beehive-dist\project\pageflow_tutorial 
> -Dcontext.path=pa
> geflow_tutorial build.webapp redeploy
> Buildfile: ant\buildWebapp.xml
> build.webapp:
>    [delete] Deleting directory 
> D:\beehive-dist\project\pageflow_tutorial\WEB-INF
> \.tmpbeansrc
> [xmlbeanbuild] Could not find any xsd or wsdl files to process.
>      [echo] ========== Compile Java sources in WEB-INF/src, including 
> controls =
> =========
>      [echo] netui-compiler.jar: 
> D:\beehive-dist\apache-beehive-incubating-1.0-al
> pha-snapshot/lib/netui/beehive-netui-compiler.jar
>      [echo] controls.jar: 
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-sn
> apshot/lib/controls/controls.jar
>     [mkdir] Created dir: 
> D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpb
> eansrc
>      [echo] ========== Compile Page Flows ==========
>       [apt] Compiling 1 source file to 
> D:\beehive-dist\project\pageflow_tutorial
> \WEB-INF\classes
>       [apt] 
> D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpbeansrc\WEB-IN
> F\src\global\Global.java:28: warning: File "/Controller.jpf" could not be 
> found
> in the web application.
>       [apt]     public Forward home()
>       [apt]                    ^
>       [apt] 1 warning
>      [echo] Copy all .properties files
>      [echo] Copy all .xml files
> redeploy:
> [tomcatreload] OK - Reloaded application at context path /pageflow_tutorial
> **************************************************************************
> Not so sure if this is Tomcat issue. Will do some research on this and see if 
> we can have a work around. Or find out what the issue is and have our 
> document mention that.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to