[ http://nagoya.apache.org/jira/browse/BEEHIVE-70?page=comments#action_55299 ] Julie Zhuo commented on BEEHIVE-70: -----------------------------------
Update: Everything works fine with the work around not using redeploy target. So, I am going to recommand a doc change on this and close this issue. May be we want to mention the Tomcat issue that we choose not to use the redeploy, but that is not that important. > 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
