Tomcat/mod_jk rpm for FC3

2005-06-03 Thread mbneto
Hi,

I am looking for rpms for tomcat/mod_jk that work with FC3.   Any tips ?

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



newbie tips - how to deploy tomcat/mod_jk

2005-05-11 Thread mbneto
Hi,
I am looking for tips for beginners regarding deploying tomcat/mod_jk.

I have some basic questions such as where do I put the jsp and java
files, how do I configure those directories if I need to point to a
different location etc.

regards,
mb

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



Re: no host matches server name localhost

2005-05-01 Thread mbneto
Hi Jon,

Did you use mod_jk2 to use apache ?
I was looking for tips regarding a virtualhost setup/mod_jk2/tomcat setting

On 4/27/05, Jonathan August [EMAIL PROTECTED] wrote:
 
 I think I was just missing a Context.
 
 Thanks for the help, Rod!!
 
 -Jon
 
 
 On Apr 27, 2005, at 4:24 PM, Jonathan August wrote:
 
 
  Hmm, I have pretty much what you have.  Here's the whole server.xml:
 
 
  Server port=8005 shutdown=SHUTDOWN debug=0
 
Listener
  className=org.apache.catalina.mbeans.ServerLifecycleListener
  debug=0/
Listener
  className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
  debug=0/
 
!-- Global JNDI resources --
GlobalNamingResources
  Resource name=UserDatabase auth=Container
type=org.apache.catalina.UserDatabase
 description=User database that can be updated and saved
  /Resource
  ResourceParams name=UserDatabase
parameter
  namefactory/name
 
  valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
/parameter
parameter
  namepathname/name
  valueconf/tomcat-users.xml/value
/parameter
  /ResourceParams
/GlobalNamingResources
 
!-- Define the Tomcat Stand-Alone Service --
Service name=Catalina
 
  !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --
  Connector port=8080
 maxThreads=150 minSpareThreads=25
  maxSpareThreads=75
 enableLookups=false redirectPort=8443
  acceptCount=100
 debug=0 connectionTimeout=2
 disableUploadTimeout=true /
 
  !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
  Connector port=8009
 enableLookups=false redirectPort=8443 debug=0
 protocol=AJP/1.3 /
 
  !-- Define the top level container in our container hierarchy --
  Engine name=Catalina defaultHost=localhost debug=0
 
!-- Global logger unless overridden at lower levels --
Logger className=org.apache.catalina.logger.FileLogger
prefix=catalina_log. suffix=.txt
timestamp=true/
 
Realm className=org.apache.catalina.realm.UserDatabaseRealm
   debug=0 resourceName=UserDatabase/
 
!-- Define the default virtual host
 Note: XML Schema validation will not work with Xerces 2.2.
 --
Host name=localhost debug=0 appBase=webapps
 unpackWARs=true autoDeploy=true
 xmlValidation=false xmlNamespaceAware=false
 
  Logger className=org.apache.catalina.logger.FileLogger
   directory=logs  prefix=localhost_log.
  suffix=.txt
  timestamp=true/
 
/Host
 
  /Engine
 
/Service
 
  /Server
 
 
 
 
 
  On Apr 27, 2005, at 4:08 PM, Rod Fitzsimmons Frey wrote:
 
  I should have looked at your message more closely.
 
  The error is probably with your default host.  Look in your
  {tomcat-home}/conf/server.xml file.  Look for something like
 
   Host name=localhost appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
 
  Post your server.xml file if you can't work it out.
 
  Rod
 
  Jonathan August wrote:
 
  This is my /etc/hosts:
 
 
  [jon ~]$ cat /etc/hosts
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  127.0.0.1   localhost.localdomain   localhost
 
 
 
  On Apr 27, 2005, at 3:52 PM, Rod Fitzsimmons Frey wrote:
 
  What do you have in your /etc/hosts file?
 
  Jonathan August wrote:
 
 
  I installed Tomcat 5.0.30 using yum on Fedora Core 3.  When I try
  to connect to http://localhost:8080/, I get:
 
  Alert!: HTTP/1.1 400 No Host matches server name localhost
 
  I'm sure I'm missing something simple, but I'm pretty new at this,
  so I'm not sure what to check.
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 Jon August
 Internection
 1-866-345-HOST
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



virtual host not working

2005-05-01 Thread mbneto
Hi,

I am trying to make my apache/tomcat server work but no luck so far.

I've created a /var/www/html/mydomain/jsp,
/var/www/html/mydomain/WEB-INF/classes  and put the numguess.jsp,
WEB-INF/classes/num/NumberGuessBean.class  NumberGuessBean.java.

I've added a Location in my apache's  httpd.conf

Location /jsp
  JkUriSet worker ajp13:localhost:8009
/Location

When I access mydomain/jsp/numguess.jsp  I receive tomcat's output

HTTP Status 404 - /jsp/numguess.jsp

type Status report

message /jsp/numguess.jsp

description The requested resource (/jsp/numguess.jsp) is not available.
Apache Tomcat/4.1.27-13

What am I doing wrong ?

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



configuration tips / tomcat 4.1 / mod_jk2

2005-04-26 Thread mbneto
Hi,

I am trying to understand what options should I configure in my
tomcat/mod_jk2 enviroment in order to host jsp-enabled sites.

I use apache 2 with virtual hosts.

any tips would be great.

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



Tips regarding security and configuration

2005-04-21 Thread mbneto
hi,

I have a fedora core 2 system with the standard tomcat/jakarta/mod_jk2
rpms installed.

I am looking for tips regarding the configuration, specially with
security and virtual hosting practices.

regards.

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