Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Need help with connectors

Need help with connectors

2003-12-12       - By Yansheng Lin

 Back
Reply:     1     2     3     4     5  

Just one quick question(I am just playing with this right now).  Don't pay me
too much attention if the answer is RTFM.

Shouldn't the port for jk2 connector be 8009 instead of 8010?  


-- --Original Message-- --
From: Asif Chowdhary [mailto:AsifC@(protected)]
Sent: Friday, December 12, 2003 3:56 PM
To: Tomcat Users List
Subject: RE: Need help with connectors


This should solve your problem

httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll

Then I added a worker2.properties in Apache/conf/ like this:

[logger]
level=DEBUG
file=c:/programme/apache group/apache2/logs/jk2.log

[config]
file=c:/programme/apache group/apache2/conf/workers2.properties
debug=0
debugEnv=0

# Shared memory handling. Needs to be set.
[shm]
file=c:/programme/apache group/apache2/logs/shm.file
size=1048576
debug=0
#disabled=0


# Example socket channel, explicitly set port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
tomcatId=localhost:8009
debug=0

[status:]
info=Status worker,displays run time informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:

[uri:/examples/*]
info=tomcat examples
context=/examples
worker=ajp13:localhost:8009
debug=0
#---- end of workers2.properties-- ---- ---- ---

Finally, I configured this Connector in the Tomcat server.xml:
-- ---- ---- ------
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector Source code of org.apache.coyote.tomcat4.CoyoteConnector"
       port="8010"
       minProcessors="5" maxProcessors="250"
       acceptCount="10" debug="0"
       protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler Source code of org.apache.jk.server.JkCoyoteHandler" />
-- ---- ---- ---- --

-- --Original Message-- --
From: Yansheng Lin [mailto:yansheng.lin@(protected)]
Sent: Friday, December 12, 2003 5:33 PM
To: 'Tomcat Users List'
Subject: RE: Need help with connectors


I am assuming you downloaded apache, tomcat, and mod_jk_2.X.X.dll

Try:
  1) rename mod_jk_2.X.X.dll to mod_jk2.dll, and place it under
    $APACHE_HOME/modules/
  2) In apache httpd.conf
    # Using mod_jk2.dll to redirect dynamic calls to Tomcat
    LoadModule jk2_module modules/mod_jk2.dll

Does it work?

-- --Original Message-- --
From: Dola Woolfe [mailto:dolachin@(protected)]
Sent: Friday, December 12, 2003 11:28 AM
To: Tomcat Users List
Subject: Need help with connectors


Hi,


I'm beginning to think that I need to be a system
administrator to connect Apache 2.0 with Tomcat 5.0!
I've already spent 2 full days trying to get it to
work. I remember that for Tomcat 3.4 it took me about
5 minutes.

(I can't even tell whether there is too much
documentation or not enough. Under
/tomcat-4 (See http://cat-4.ora-code.com).1-doc/jk2/jk2/configtcex.html there are many
links and I don't know whether I need some of them or
all of them. I don't know whether 4.1 instruction
apply to 5.0. It is not clear how to modify Unix
instruction for Windows intructions. Ordinarily I'm a
Unix guy (I helped write the Gimp), but this is a
Windows project. How am I supposed to interpret the
sentence "There is no need to use the jkjni logic to
use normal socket, so that just for Fun." What's just
for Fun? jkjni or normal socket? Also, on the menu,
the headers are instiguishable from live links so the
whole structure of the document is unclear.)

Anyway, I think you guys produce amazing products,
I've always used them and will stick by them in the
future. I'm just a little frustrated and a little bit
jealous of my time so I'm hoping that someone will
provide instructions for Apache2 + Tomcat5 + Win32.

Thanks.

Dola

__ ____ ____ ____ ____ ____ ______
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




©2008 junlu.com - Jax Systems, LLC, U.S.A.