You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Todd Patrick <To...@dtn.com> on 2006/02/01 22:44:53 UTC

I am new user and I need help setting up Tapestry 4.0

As stated, I am new user and I am having issues setting up Tapestry 4.0.

Were is there step by step documentation to where the following jar
files should be placed for Tomcat 5.5?

Right now I have the following four jar files in:

C:\Program Files\Apache Software Foundation\Tomcat 5.5\shared\lib

tapestry-portlet-4.0.jar
tapestry-4.0.jar
tapestry-annotations-4.0.jar
tapestry-contrib-4.0.jar

Is this correct?

What really threw me off was looking at:

http://wiki.apache.org/jakarta-tapestry/Installation?highlight=%28instal
l%29

These instructions are not even close to what is downloaded in the
Tapestry 4.0 zip file.

I have looked at:

http://jakarta.apache.org/tapestry/QuickStart/index.html

That has helped, but what is the correct set-up?

Thanks,

--Todd

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: I am new user and I need help setting up Tapestry 4.0

Posted by Daniel Lydiard <dl...@hotmail.com>.
In your tomcat/conf/server.xml

<Context path="/app" reloadable="true" docBase="c:/app/context" 
workDir="c:/app/work" >
 <Logger className="org.apache.catalina.logger.SystemOutLogger" 
verbosity="4" timestamp="true"/>
</Context>

This means you have an app with the url http://localhost/app where its 
context directory on your hardrive is c:/app/context and its work directory 
is c:/app/work

You put all your libs in
c:/app/context/WEB-INF/lib

I believe http://www.agileskills2.org/EWDT/ explains this setup.

----- Original Message ----- 
From: "Todd Patrick" <To...@dtn.com>
To: <ta...@jakarta.apache.org>
Sent: Wednesday, February 01, 2006 1:44 PM
Subject: I am new user and I need help setting up Tapestry 4.0


As stated, I am new user and I am having issues setting up Tapestry 4.0.

Were is there step by step documentation to where the following jar
files should be placed for Tomcat 5.5?

Right now I have the following four jar files in:

C:\Program Files\Apache Software Foundation\Tomcat 5.5\shared\lib

tapestry-portlet-4.0.jar
tapestry-4.0.jar
tapestry-annotations-4.0.jar
tapestry-contrib-4.0.jar

Is this correct?

What really threw me off was looking at:

http://wiki.apache.org/jakarta-tapestry/Installation?highlight=%28instal
l%29

These instructions are not even close to what is downloaded in the
Tapestry 4.0 zip file.

I have looked at:

http://jakarta.apache.org/tapestry/QuickStart/index.html

That has helped, but what is the correct set-up?

Thanks,

--Todd

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: I am new user and I need help setting up Tapestry 4.0

Posted by Steve Wells <we...@ownmail.net>.
Todd,

You either copy to the shared/lib as you've done or bundle it inside
your war file or to webapps/<your web-app>/WEB-INF/lib.

The Tomcat docs for classloading may help de-mystify this a bit:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

I found the wiki entry a little confusing as well.  Also see the first
chapter of Kent Tongs book: http://www.agileskills2.org/EWDT/

Personally I use Maven to help manage this; you basically have a project
descriptor, inside you have what libraries you use and what versions and
for *most* Java components (Tapestry included) they will be downloaded
from a central repository for you, then you can to deploy to Tomcat
guaranteed that the versions in your project descriptor are going to the
right place on your app server...works for me anyway.

HTH,

Steve


On Wed, 1 Feb 2006 15:44:53 -0600, "Todd Patrick" <To...@dtn.com>
said:
> As stated, I am new user and I am having issues setting up Tapestry 4.0.
> 
> Were is there step by step documentation to where the following jar
> files should be placed for Tomcat 5.5?
> 
> Right now I have the following four jar files in:
> 
> C:\Program Files\Apache Software Foundation\Tomcat 5.5\shared\lib
> 
> tapestry-portlet-4.0.jar
> tapestry-4.0.jar
> tapestry-annotations-4.0.jar
> tapestry-contrib-4.0.jar
> 
> Is this correct?
> 
> What really threw me off was looking at:
> 
> http://wiki.apache.org/jakarta-tapestry/Installation?highlight=%28instal
> l%29
> 
> These instructions are not even close to what is downloaded in the
> Tapestry 4.0 zip file.
> 
> I have looked at:
> 
> http://jakarta.apache.org/tapestry/QuickStart/index.html
> 
> That has helped, but what is the correct set-up?
> 
> Thanks,
> 
> --Todd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
-- 
  Steve Wells
  websystems@ownmail.net

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org