Re: Spindle / Tapestry tutorial quik kick off

Eric Everman <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Thanks, this has been a great thread to get started w/ Spindle.

[Apologies to the Tapestry Dev list for continuing this discussion of not 
entirely related Spindle issues]

I still seem to be having a problem integrating Tomcat running 
correctly.  Tomcat starts, but it loads all of my applications from 
TOMCAT/webapps and does not load workbench.  I noticed on the Tomcat setup 
page that the server.xml file automatically specified is my previously 
existing one - should I change that to something else to point the webapps 
directory to another location?  If I do that, won't I lose the root pages 
that I get at localhost/ ?

Thanks again,

Eric Everman



At 11/13/2002, [email protected] wrote:

>Geoff,
>thanks for the info !
>
>Now I'm allmost on track.
>
>Workbench compiles ok but when I start Tomcat 4 the following error
>occours:
>
>ebappClassLoader: validateJarFile(C:
>\eclipse\workspace\Workbench\WEB-INF\lib\javax.servlet.jar) - jar not
>loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
>javax/servlet/Servlet.class
>18297 [main] INFO http11.Http11Protocol  - Starting Coyote HTTP/1.1 on port
>8080
>
>Any ideas ?
>
>Other question:
>   in your step e.. Plugin activation : select menu 'Window->Customize
>   Perspective...',
>expand 'Actions Sets' and check 'Tomcat'
>
>Actions Sets doesn't exists in my eclipse instalation.
>
>Thanks again
>
>Eduardo
>
>
>
>
>
>
>"Geoff Longman" <[email protected]> on 13/11/2002 04:06:50 p.m.
>
>To:    <[email protected]>
>cc:    <[email protected]>
>
>Subject:    Re: [Tapestry-developer] Spindle / Tapestry tutorial quik kick
>        off
>
>
>Eduardo,
>
>here's how to get the Workbench portion of the Tapestry tutorial into
>Eclipse.
>Included are instructions on how to run the project in Tomcat. Thus you can
>debug
>the Workbench too!
>
>To install..
>
>Get and install Eclipse 2.0, 2.0.1, or 2.0.2
>
>2.0
>http://download.eclipse.org/downloads/drops/R-2.0-200206271835/index.php
>2.0.1
>http://download.eclipse.org/downloads/drops/R-2.0.1-200208291828/index.php
>2.0.2
>http://download.eclipse.org/downloads/drops/R-2.0.2-200211071448/index.php
>
>Its your choice.
>
>Run Eclipse, then follow instructions at
>
>(make sure you get Spindle 1.1.1)
>
>http://spindle.sourceforge.net/install/index.html
>
>You want to follow the Live Install track
>
>Download the Sysdeo Tomcat plugin here:
>
>http://www.sysdeo.com/eclipse/tomcatPlugin.html
>
>Note: you need tomcat 3.3.x or 4.x installed on your machine.
>
>Tomcat plugin instructions (From Sysdeo)
>
>   a.. Use Eclipse 2.0 build (works for me in 2.0.1 and 2.0.2 -- geoff)
>   b.. This plugin does not contain Tomcat 4 or 3.3.
>   (Download and install Tomcat before using this plugin).
>   This is a desing choice not to include Tomcat in the plugin distribution,
>this way everyone can choose a Tomcat version, it is easy to switch from
>one
>Tomcat version to another.
>   c.. Download tomcatPluginV2.zip
>   d.. Unzip it in <eclipse_home>/plugins
>   e.. Plugin activation : select menu 'Window->Customize Perspective...',
>expand 'Actions Sets' and check 'Tomcat'
>
>   f.. Set Tomcat home : Window -> Preferences, select Tomcat and set Tomcat
>home
>   g.. This plugin launches Tomcat using the default JRE checked in Eclipe
>preferences window.
>   To set a JDK as default JRE for Eclipse open the preference window :
>Window -> Preferences -> Java -> Installed JREs.
>   This JRE must be a JDK (This is a Tomcat prerequisite).
>   We recommend that you use JDK 1.4 as it supports hot code replacement
>feature.
>   h.. The plugin sets itself Tomcat classpath and bootclasspath. Use
>Preferences -> Tomcat ->JVM Settings, only if you need specific settings.
>stop Eclipse
>
>download Workbench.zip here:
>
>http://spindle.sourceforge.net/workbench.zip
>
>unzip Workbench.zip into eclipse/workspace
>
>restart Eclipse
>
>select Menu -> File ->Import->Existing Project into Workspace
>
>choose the Workbench folder under eclipse/workspace
>
>everything should build except one .page (ErrorFest.page) but this is
>supposed to be busted!
>
>You can put start/stop/restart icons for Tomcat on the main toolbar
>
>select Window ->Customize Perspective -> Other ->Tomcat
>
>Now you should be able to start Tomcat and open an browser to
>
>http://localhost:8080/Workbench
>
>The colors are off, not sure why (I threw this together) but a quick check
>shows that everything works.
>
>enjoy.
>
>
>Geoff
>
>
>----- Original Message -----
>From: <[email protected]>
>To: <[email protected]>
>Sent: Wednesday, November 13, 2002 12:10 PM
>Subject: [Tapestry-developer] Spindle / Tapestry tutorial quik kick off
>
>
> >
> > Hi !
> > I would like to get the fast track to tapestry in order to confirm it is
> > the right tool for us.
> > Could some one please give me a short howto to import the Tapestry
>tutorial
> > into an eclipse/spindle project ?
> >
> > Tapestry sounds like a very nice framework and I can't wait to enjoy it.
> >
> > Thanks in advance
> >
> > Regards
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: Are you worried about
> > your web server security? Click here for a FREE Thawte
> > Apache SSL Guide and answer your Apache SSL security
> > needs: http://www.gothawte.com/rd523.html
> > _______________________________________________
> > Tapestry-developer mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>
>
>
>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: Are you worried about
>your web server security? Click here for a FREE Thawte
>Apache SSL Guide and answer your Apache SSL security
>needs: http://www.gothawte.com/rd523.html
>_______________________________________________
>Tapestry-developer mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/tapestry-developer



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.