httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgen <apa...@squarehosting.com>
Subject Re: [users@httpd] Tomcat.
Date Tue, 06 May 2003 19:28:16 GMT
Hi,

after you load mod_jk you will have to use JkMount in your server
configuration.
With a line like 'JkMount /somepath ajp3' you direct everything that
comes with domain.com/somepath to the Tomcat engine.
One other issue is that .java files are source code files and need to be
compiled first to .class files. The the servlets are called without any
ending.
There is no need to add a type.

Jurgen


On Tue, 06 May 2003 12:39:19 -0400
Jonathan Laberge <jlaberge@redboxstudios.com> wrote:

> On 5/6/03 12:36 PM, "James B. Muir" <James.B.Muir@Hitchcock.ORG>
> wrote: With you knowledge of mod_jk, how is it possible to tell
> Apache, that .java files are to be treated as a servlet?
> 
> I think that that might be the only reason why this isn't working
> because I had the same type of problem with php, but I just put in the
> AddType clause for my type of files.
> 
> > We're not using Apache 2.0 here yet, and I'm only familiar with the
> > mod_jk and mod_webapp connectors. My ~guess~ is that you need to
> > experiment with how you have configured the connector in your
> > httpd.conf file. Maybe someone with more knowledge of your
> > configuration will chime in.-James
> > 
> > 
> > --- You wrote:
> > Sorry for bothering all of you again.
> > 
> > After installing my j2k connector, and putting the LoadModule in my
> > httpd.conf, I still can't get my .java to run properly.
> > 
> > What happens is that my source code is just printed out.
> > Is their and AddType I must include into my httpd.conf?
> > 
> > I am running Apache 2.0.43 with RedHat 8.0.
> > Thank you.
> > --- end of quote ---
> > 
> > 
> > -------------------------------------------------------------------
> > -- The official User-To-User support forum of the Apache HTTP Server
> > Project. See <URL:http://httpd.apache.org/userslist.html> for more
> > info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> 
> -- 
> 
> Art visuel, communication, multim├ędia et internet
> 
> Jonathan Laberge
> jlaberge@redboxstudios.com
> 
> Les Studios RedBox inc.
> 9643 boul. LaSalle
> LaSalle (Qu├ębec)
> Canada H8R 2N7
> 
> www.redboxstudios.com
> 
> 514 368 3962 bur/off
> 514 368 9212 tel/fax
> 514 865 2554 cell/mob
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project. See <URL:http://httpd.apache.org/userslist.html> for more
> info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message