You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by Bryan Che <bc...@redhat.com> on 2004/10/13 23:17:01 UTC

Re: pageflow tutorial question

Hi Steve, thanks for the quick response (I'm cc'ing to beehive-user in 
case this is useful to anyone else).  I tried completely deleting my 
WEB-INF directory, recreating it, and then rebuilding my webapp.  I 
still get the "Action Not Found" error.  Do you know if there's anything 
else I can try?

Thanks,

Bryan

Steve Hanson wrote:
> Hi Bryan:
> 
> Yeah, I get that too.  I only get it intermittently.  If you clean out all your gen'd files in WEB-INF (like the classes, .pageflow-struts-generated, and .tmpbeansrc folders), and compile again, you won't see the error.  But if you compile without cleaning out the gen'd files, the error occurs ~80% of the time (at least for me).
> 
> I don't think this is a problem with the tutorial code...it is some problem with the compiler.
> 
> -Steve Hanson
> 
> -----Original Message-----
> From: Bryan Che [mailto:bche@redhat.com]
> Sent: Wednesday, October 13, 2004 1:56 PM
> To: Steve Hanson
> Subject: pageflow tutorial question
> 
> 
> Hi Steve, I've been trying out your pageflow tutorial on beehive.  But, 
> at step 3, the navigation step, I get the following error after starting 
> tomcat and clicking on the link to page2.:
> 
> Page Flow Error - Action Not Found
> Page Flow:	Global.app
> Action:	toPage2
> Form:	null
> 
> Unable to find matching action toPage2.
> 
> The toPage2 method is in my Controller.jpf file.  But, I did notice some 
> warnings when trying to build the webapp:
> 
> /home/bche/src/svn/beehive/trunk/test/ant/>ant -f buildWebapp.xml 
> build.webapp 
> -Dwebapp.dir=/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pageflow_tutorial
> Buildfile: buildWebapp.xml
> 
> build.webapp:
>     [delete] Deleting directory 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pageflow_tutorial/WEB-INF/.tmpbeansrc
> [xmlbeanbuild] Could not find any xsd or wsdl files to process.
>       [echo] ========== Complie Java source in WEB-INF/src ==========
>       [echo] netui-compiler.jar: 
> /home/bche/src/svn/beehive/trunk/netui/build/lib/beehive-netui-compiler.jar
>       [echo] controls.jar: 
> /home/bche/src/svn/beehive/trunk/controls/build/jars/controls.jar
>       [echo] ========== Generate and compile controls ==========
>      [mkdir] Created dir: 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pageflow_tutorial/WEB-INF/.tmpbeansrc
>       [echo] ========== Compile Page Flows ==========
>        [apt] Compiling 1 source file to 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pageflow_tutorial/WEB-INF/classes
>        [apt] 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pageflow_tutorial/WEB-INF/.tmpbeansrc/WEB-INF/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
> 
> BUILD SUCCESSFUL
> Total time: 3 seconds
> 
> Controller.jpf is in my filesystem:
> 
> ls 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pageflow_tutorial/Controller.jpf 
> 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pageflow_tutorial/Controller.jpf
> 
> Any idea what's wrong?
> 
> Thanks,
> 
> Bryan
> 

-- 
Bryan Che
Red Hat, Inc.
10 Technology Park
Westford, MA 01886
978-392-3107
bche@redhat.com

Re: pageflow tutorial question

Posted by Bryan Che <bc...@redhat.com>.
http://incubator.apache.org/beehive/pageflow/tutorial_pageflow.html

Bryan

Boris Nossov wrote:
> Hi Bryan,
> 
> I would be very grateful if you send me address where I can
> download tutorials examples.
> 
> Thanks
> 
> Boris Nossov
> ----- Original Message ----- 
> From: "Bryan Che" <bc...@redhat.com>
> To: "Steve Hanson" <st...@bea.com>
> Cc: <be...@incubator.apache.org>
> Sent: Wednesday, October 13, 2004 5:17 PM
> Subject: Re: pageflow tutorial question
> 
> 
> 
>>Hi Steve, thanks for the quick response (I'm cc'ing to beehive-user in
>>case this is useful to anyone else).  I tried completely deleting my
>>WEB-INF directory, recreating it, and then rebuilding my webapp.  I
>>still get the "Action Not Found" error.  Do you know if there's anything
>>else I can try?
>>
>>Thanks,
>>
>>Bryan
>>
>>Steve Hanson wrote:
>>
>>>Hi Bryan:
>>>
>>>Yeah, I get that too.  I only get it intermittently.  If you clean out
> 
> all your gen'd files in WEB-INF (like the classes,
> .pageflow-struts-generated, and .tmpbeansrc folders), and compile again, you
> won't see the error.  But if you compile without cleaning out the gen'd
> files, the error occurs ~80% of the time (at least for me).
> 
>>>I don't think this is a problem with the tutorial code...it is some
> 
> problem with the compiler.
> 
>>>-Steve Hanson
>>>
>>>-----Original Message-----
>>>From: Bryan Che [mailto:bche@redhat.com]
>>>Sent: Wednesday, October 13, 2004 1:56 PM
>>>To: Steve Hanson
>>>Subject: pageflow tutorial question
>>>
>>>
>>>Hi Steve, I've been trying out your pageflow tutorial on beehive.  But,
>>>at step 3, the navigation step, I get the following error after starting
>>>tomcat and clicking on the link to page2.:
>>>
>>>Page Flow Error - Action Not Found
>>>Page Flow: Global.app
>>>Action: toPage2
>>>Form: null
>>>
>>>Unable to find matching action toPage2.
>>>
>>>The toPage2 method is in my Controller.jpf file.  But, I did notice some
>>>warnings when trying to build the webapp:
>>>
>>>/home/bche/src/svn/beehive/trunk/test/ant/>ant -f buildWebapp.xml
>>>build.webapp
>>
>>-Dwebapp.dir=/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0
> 
> .25/webapps/pageflow_tutorial
> 
>>>Buildfile: buildWebapp.xml
>>>
>>>build.webapp:
>>>    [delete] Deleting directory
>>>
> 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
> eflow_tutorial/WEB-INF/.tmpbeansrc
> 
>>>[xmlbeanbuild] Could not find any xsd or wsdl files to process.
>>>      [echo] ========== Complie Java source in WEB-INF/src ==========
>>>      [echo] netui-compiler.jar:
>>>
> 
> /home/bche/src/svn/beehive/trunk/netui/build/lib/beehive-netui-compiler.jar
> 
>>>      [echo] controls.jar:
>>>/home/bche/src/svn/beehive/trunk/controls/build/jars/controls.jar
>>>      [echo] ========== Generate and compile controls ==========
>>>     [mkdir] Created dir:
>>>
> 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
> eflow_tutorial/WEB-INF/.tmpbeansrc
> 
>>>      [echo] ========== Compile Page Flows ==========
>>>       [apt] Compiling 1 source file to
>>>
> 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
> eflow_tutorial/WEB-INF/classes
> 
>>>       [apt]
>>>
> 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
> eflow_tutorial/WEB-INF/.tmpbeansrc/WEB-INF/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
>>>
>>>BUILD SUCCESSFUL
>>>Total time: 3 seconds
>>>
>>>Controller.jpf is in my filesystem:
>>>
>>>ls
>>>
> 
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
> eflow_tutorial/Controller.jpf
> 
>>>
> /home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
> eflow_tutorial/Controller.jpf
> 
>>>Any idea what's wrong?
>>>
>>>Thanks,
>>>
>>>Bryan
>>>
>>

Re: pageflow tutorial question

Posted by Boris Nossov <br...@netzero.net>.
Hi Bryan,

I would be very grateful if you send me address where I can
download tutorials examples.

Thanks

Boris Nossov
----- Original Message ----- 
From: "Bryan Che" <bc...@redhat.com>
To: "Steve Hanson" <st...@bea.com>
Cc: <be...@incubator.apache.org>
Sent: Wednesday, October 13, 2004 5:17 PM
Subject: Re: pageflow tutorial question


> Hi Steve, thanks for the quick response (I'm cc'ing to beehive-user in
> case this is useful to anyone else).  I tried completely deleting my
> WEB-INF directory, recreating it, and then rebuilding my webapp.  I
> still get the "Action Not Found" error.  Do you know if there's anything
> else I can try?
>
> Thanks,
>
> Bryan
>
> Steve Hanson wrote:
> > Hi Bryan:
> >
> > Yeah, I get that too.  I only get it intermittently.  If you clean out
all your gen'd files in WEB-INF (like the classes,
.pageflow-struts-generated, and .tmpbeansrc folders), and compile again, you
won't see the error.  But if you compile without cleaning out the gen'd
files, the error occurs ~80% of the time (at least for me).
> >
> > I don't think this is a problem with the tutorial code...it is some
problem with the compiler.
> >
> > -Steve Hanson
> >
> > -----Original Message-----
> > From: Bryan Che [mailto:bche@redhat.com]
> > Sent: Wednesday, October 13, 2004 1:56 PM
> > To: Steve Hanson
> > Subject: pageflow tutorial question
> >
> >
> > Hi Steve, I've been trying out your pageflow tutorial on beehive.  But,
> > at step 3, the navigation step, I get the following error after starting
> > tomcat and clicking on the link to page2.:
> >
> > Page Flow Error - Action Not Found
> > Page Flow: Global.app
> > Action: toPage2
> > Form: null
> >
> > Unable to find matching action toPage2.
> >
> > The toPage2 method is in my Controller.jpf file.  But, I did notice some
> > warnings when trying to build the webapp:
> >
> > /home/bche/src/svn/beehive/trunk/test/ant/>ant -f buildWebapp.xml
> > build.webapp
>
> -Dwebapp.dir=/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0
.25/webapps/pageflow_tutorial
> > Buildfile: buildWebapp.xml
> >
> > build.webapp:
> >     [delete] Deleting directory
> >
/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
eflow_tutorial/WEB-INF/.tmpbeansrc
> > [xmlbeanbuild] Could not find any xsd or wsdl files to process.
> >       [echo] ========== Complie Java source in WEB-INF/src ==========
> >       [echo] netui-compiler.jar:
> >
/home/bche/src/svn/beehive/trunk/netui/build/lib/beehive-netui-compiler.jar
> >       [echo] controls.jar:
> > /home/bche/src/svn/beehive/trunk/controls/build/jars/controls.jar
> >       [echo] ========== Generate and compile controls ==========
> >      [mkdir] Created dir:
> >
/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
eflow_tutorial/WEB-INF/.tmpbeansrc
> >       [echo] ========== Compile Page Flows ==========
> >        [apt] Compiling 1 source file to
> >
/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
eflow_tutorial/WEB-INF/classes
> >        [apt]
> >
/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
eflow_tutorial/WEB-INF/.tmpbeansrc/WEB-INF/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
> >
> > BUILD SUCCESSFUL
> > Total time: 3 seconds
> >
> > Controller.jpf is in my filesystem:
> >
> > ls
> >
/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
eflow_tutorial/Controller.jpf
> >
> >
/home/bche/src/svn/beehive/trunk/installed/jakarta-tomcat-5.0.25/webapps/pag
eflow_tutorial/Controller.jpf
> >
> > Any idea what's wrong?
> >
> > Thanks,
> >
> > Bryan
> >
>
> -- 
> Bryan Che
> Red Hat, Inc.
> 10 Technology Park
> Westford, MA 01886
> 978-392-3107
> bche@redhat.com
>