Our JRun/apache connection works like a champ for all JSPs and servlets,
it's only when I try to do URL-rewriting and point to a servlet that
things go bad. This is a site that's been live for several years; I'm
just making it so folks can shop without cookies. But, for what it's
worth, I've included the JRun module piece of our httpd.conf file below.
And, I don't think this is a deployment issue. I did initially try
altering the servlet-mapping in our DD by adding a regular expression:
   <url-pattern>/register/CheckoutServlet*</url-pattern> 
but that was before I realized the problem is Apache not passing the
file to JRun: 

File does not exist:
/htdocs/register/CheckoutServlet;jsessionid=50304cd38aaf$3FpSR$3


This may be a silly question, but how does Apache know it should give
JRun servlets? I mean, how does it know that something like
"CheckoutServlet" is a JRun thing? 

Thanks for your time, 
Kari




>From httpd.conf:
# JRun Settings
LoadModule jrun_module /tools/jrun4/lib/wsconfig/1/mod_jrun20.so
<IfModule mod_jrun20.c>
    JRunConfig Verbose false     
    JRunConfig Apialloc false
    JRunConfig Ssl false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore /tools/jrun4/lib/wsconfig/1/jrunserver.store
    JRunConfig Bootstrap 127.0.0.1:9000
    #JRunConfig Errorurl <optionally redirect to this URL on errors>
    AddHandler jrun-handler .jsp .jws
</IfModule>

  




On Wed, 2005-05-04 at 16:01, Jeffrey Anderson wrote:
> What have you done thus far to connect your Apache server to your Jrun 4
> server?  I'm assuming that you've done this properly.
> 
> My other question is to ask if you've made and deployed a bonafide J2EE Web
> application with deployment descriptors and such?  Otherwise dropping .jsp
> files inside of the apache htdocs directory will work after a successful
> apache/jrun connector config using wsconfig.jar, but unless you deploy the
> WEB application properly you might be running into problems.
> 
> I'm not sure if this is your issue or not, but we've had no problems running
> apache connector and jrun that encounters similar URL's in the web app that
> you've mentioned.  In fact we've done a whole struts/EJB implementation Jrun
> and using JSP tags (not the one(s) you've mentioned), so further information
> might be helpful to discover what your issue is.
> 
> 
> -----Original Message-----
> From: Kari Scott [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 04, 2005 1:49 PM
> To: JRun-Talk
> Subject: url rewriting servlet-mapping and apache
> 
> I'm adding functionality to our JRun 4/Apache 2.0.53 site that will allow
> users to shop without cookies. I'm doing this using the JSTL <c:url> tag
> (which performs the response.encodeURL() under the covers). Everything works
> great as long as I'm going to and from .jsp files but as soon as I try to go
> to a servlet (e.g., /cart/CheckoutServlet;jsessionid=50304) which has no
> extension Apache can't find the file and makes a note of it in its error
> log. Without the jsessionid, all is well. Can somebody help me out?
> 
> Thanks.
> -kari
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Contribute 3 from House of Fusion, a Macromedia Authorized Affiliate 
and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=53

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5658
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to