Getting closer...  At least it doesn't hang now.

I installed Tomcat 4.01 and copied my app over, works great.  Restarted the
web server and tried to hit the deployed app defined by mod_webapp and it
gave me the page not found deal, so I put in the alias stuff you sent me
(not that I really understand what it's all for.)  Now it just gives me a
directory listing for my web app dir with the resources/ templates/ etc... 

Hmm...  Closer...

-----Original Message-----
From: Christopher Campbell
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:16 AM
To: Turbine Users List
Subject: Re: Anyone using mod_webapp with Turbine?


Hi Scott,

If you are just doing development then you can use TDK to create your 
application.
Once you have things running just copy your application from tdk's 
webapp directory
to the webapp directory of the tomcat 4.0.1 binary release and modify the
server.xml if you want your app to be reloadable etc.

Chris


Scott Merritt wrote:

>So it sounds like I should try upgrading to the Tomcat 4.01 binary.  Can I
>just replace the JARs in the tdk/server directory?  But I see a
catalina.jar
>in tdk/server & tdk/server/lib and they're different sizes.  That's scary.
>
>
>
>-----Original Message-----
>From: Christopher Campbell
>[mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, November 28, 2001 10:26 PM
>To: Turbine Users List
>Subject: Re: Anyone using mod_webapp with Turbine?
>
>
>Hi there,
>
>I'm running webapp_mod too and things work okay.
>
>I've encountered what you describe once when using TDK2.1. Perhaps
>this was due to the Tomcat version it is using.
>
>
>After downloading the most recently released Tomcat4.01 binary,
>grabbing webapp from cvs (jakarta-tomcat-connectors i think it was,
>you'll also have to grab APR from cvs, see the README in the
>jakarta-tomcat-connectors/webapp dir) and recompiling things
>with my apache's apxs things worked fine.
>
>The only difference to what yo've don in your httpd.conf is
>that I did
>
>
>WebAppDeplot mywebapp conn /mywebapp
>
>Also I let apache no about the /mywebapp directory since it wasn't
>in the normal document root:
>
>
>    Alias /tfr "/var/servlet-engine/webapps/mywebapp"
>    <Directory "/var/servlet-engine/webapps/mywebapp">
>        Options Indexes FollowSymLinks
>    </Directory>
>
>Also so that I could explicitly restrict access to the WEB-INF directories.
>
>I don't know if this is necessary and didn't try things without the above
so
>maybe you don't need to let apache know about your webapp dir (given that
>you haven't put things under the document root anyway).
>
>I also set things up with mod_jk (again using the latest Tomcat 4 
>binary) and it
>worked. I just used the example connector given in the server.xml file 
>and setup
>httpd.conf in the standard way. So you can use mod_jk, but I think you 
>might need
>the latest tomcat 4 binary.
>
>Chris
>John McNally wrote:
>
>>I was running Scarab behind mod_webapp today.  Had a lot of unrelated
>>problems that forced me into a better solution, but the mod_webapp part
>>was working ok.  Daniel has just done quite a bit of work getting
>>mod_webapp up and running, so he might have some more insight, but
>>here's a couple things:
>>
>>1.  have you specified the right connector and engine in server.xml?
>>2.  i had to specify <servlet-mapping> tags in web.xml, previously the
>>default servlet invoker worked fine.
>>
>>john mcnally
>>
>>Scott Merritt wrote:
>>
>>>Yeah...  I hooked it up in httpd.conf as the instructions said with:
>>>
>>>       WebAppConnection conn      warp  localhost:8008
>>>       WebAppDeploy     mywebapp conn  /uw
>>>
>>>And with that when I hit the URL with a browser it just waits until
>>>eventually timing out...  Turbine is running when I hit it's port
directly
>>>though.
>>>
>>>-----Original Message-----
>>>From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
>>>Sent: Wednesday, November 28, 2001 12:52 PM
>>>To: 'Turbine Users List'
>>>Subject: RE: Anyone using mod_webapp with Turbine?
>>>
>>>I have got it working at one of my clients of just fine.  I will try and
>>>
>get
>
>>>the http.conf for you as there should be really no modifications (that I
>>>
>can
>
>>>remember) to your web.xml/server.xml to get it to work.
>>>
>>>Scott
>>>
>>>-----Original Message-----
>>>From: Scott Merritt [mailto:[EMAIL PROTECTED]]
>>>Sent: Wednesday, November 28, 2001 2:46 PM
>>>To: 'Turbine Users List'
>>>Subject: Anyone using mod_webapp with Turbine?
>>>
>>>Been trying to get this to work but nothing happens...  it just sits
>>>
>around
>
>>>and eventually times out without logging anything.
>>>
>>>/webapp-info does nothing too.  Anybody get this working?
>>>
>>>--
>>>To unsubscribe, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>For additional commands, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>For additional commands, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
><mailto:[EMAIL PROTECTED]>
>
>>>For additional commands, e-mail:
>>>
><mailto:[EMAIL PROTECTED]>
>
>>--
>>To unsubscribe, e-mail:
>>
><mailto:[EMAIL PROTECTED]>
>
>>For additional commands, e-mail:
>>
><mailto:[EMAIL PROTECTED]>
>
>>
>>
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to