Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-21 Thread QM
On Tue, Jul 20, 2004 at 04:55:36PM -0700, Wendy Smoak wrote:
: My initial thought is that Apache 1.3 and Tomcat 5 are probably getting too
: far apart to be compatible, but that's just a suspicion.

Good hunch, but the JK plugin abstracts Tomcat from the remote Apache
(or IIS, etc) server.  Tomcat will talk to anything that speaks the JK
protocol, be that mod_jk v1 or v2.


: If someone's really bored, maybe a grid that shows what
: OS/Apache/connector/Tomcat combinations are known to work would be a good
: project. :)

Here's a data point, for interested parties:

RedHat 9 + Apache 2.x + mod_jk 1.2 + Tomcat 5
FC1  + Apache 2.x + mod_jk 1.2 + Tomcat 5

work like a charm.

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-21 Thread Daniel J. Obregon
I have been able to get the following to work too:
Solaris 5.6 + Apache 1.3.x + mod_jk + Tomcat

Had to search everywhere for the binaries that would run on Solaris, since
I had no luck building them myself.  So far, they work just fine

- Dan Obregon -


 On Tue, Jul 20, 2004 at 04:55:36PM -0700, Wendy Smoak wrote:
 : My initial thought is that Apache 1.3 and Tomcat 5 are probably getting
 too
 : far apart to be compatible, but that's just a suspicion.

 Good hunch, but the JK plugin abstracts Tomcat from the remote Apache
 (or IIS, etc) server.  Tomcat will talk to anything that speaks the JK
 protocol, be that mod_jk v1 or v2.


 : If someone's really bored, maybe a grid that shows what
 : OS/Apache/connector/Tomcat combinations are known to work would be a
 good
 : project. :)

 Here's a data point, for interested parties:

   RedHat 9 + Apache 2.x + mod_jk 1.2 + Tomcat 5
   FC1  + Apache 2.x + mod_jk 1.2 + Tomcat 5

 work like a charm.

 -QM


 --

 software  -- http://www.brandxdev.net
 tech news -- http://www.RoarNetworX.com


 -
 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]



Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-21 Thread d_l
On 20 Jul 2004 at 16:33, Michael Mehrle michael-at-datasaur.com |T wrote:

 In case I didn't make this clear before:
 
 1) I'm running Apache 1.3 (NOT APACHE2) on RedHat 9.0
 2) I cannot find the right mod_jk module

In my recent reply to your posting I pointed to this link which I had found ..
(although I'm trying to setup Apache 2.0 / Tomcat 5.0) ..

http://apache.rmplc.co.uk/dist/jakarta/tomcat-connectors/jk/binaries/win32/

in here it says ..

 . mod_jk_1.2.5_1.3.28 is for Apache 1.3.x. 

Rename to mod_jk.dll before putting it in your Apache/modules directory  .. 





RE: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-20 Thread Iván Escobedo
Hello guys I have a question, I have two tomcats. 4.1.30 and 5.0.27, both with the 
same application, they are both similar and connect to a MSAccess database thru Jdbc 
Odbc bridge, however, in 4.1.30 everything works, but in 5.0.27 i have this message 
when I try to connect to the database.

I have searched for the answer, but until now i don't know what's the problem, could 
you help me?


java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and 
no default driver specified
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3074)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:323)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.crstore.admin.AdminDbBean.getDescriptors(AdminDbBean.java:50)
at org.apache.jsp.jsp.Menu_jsp._jspService(Menu_jsp.java:118)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at org.apache.jsp.jsp.Default_jsp._jspService(Default_jsp.java:102)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at com.crstore.core.Shopper.doPost(Shopper.java:95)
at com.crstore.core.Shopper.doGet(Shopper.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 

Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-20 Thread Aristides Burke
Hi Michael.

I have Apache 2 and Tomcat 4.1.30, I cannot compile the donwload
file of internet.
I down of the internet both file, Mod_jk and Mod_jk2 but out the same error.
You can Send me the Mod_jk2 for Apache 2 and Tomcat 4.1.30?


- Original Message - 
From: Michael Mehrle [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:43 PM
Subject: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x


 Okay, I can't believe how lousy the documentation for this is on the
jakarta
 site:

 - Where do I find the latest connector (mod_jk) for Apache 1.3.x (I can't
 run Apache 2 because my hosting provider doesn't support it and needs 1.3
to
 run cPanel).
 - How do I reliably install that module for Tomcat 5.0.27?

 Again, the docs online are all over the place - I can't make it work. Any
 help would be greatly appreciated.

 Thanks,

 Michael


 -
 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]



Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-20 Thread d_l
On 20 Jul 2004 at 12:43, Michael Mehrle michael-at-datasaur.com |T wrote:

 Okay, I can't believe how lousy the documentation for this is on the jakarta
 site:
 - Where do I find the latest connector (mod_jk) for Apache 1.3.x (I can't
 run Apache 2 because my hosting provider doesn't support it and needs 1.3 to
 run cPanel).
 - How do I reliably install that module for Tomcat 5.0.27?
 Again, the docs online are all over the place - I can't make it work. Any
 help would be greatly appreciated.
 Thanks,
 Michael

I'm also trying to learn how to connect Tomcat 5.0.27 to Apache (in my case Apache 
2.0).

here from my own research ..

get JK connectors from here ..

http://apache.rmplc.co.uk/dist/jakarta/tomcat-connectors/jk/binaries/win32/

my guess is for Apache 1.3x you will need .. mod_jk_1.2.5_1.3.28

quote: mod_jk_1.2.5_1.3.28 is for Apache 1.3.x. Rename to mod_jk.dll before 
putting it in your Apache/modules directory 



me? .. I'm focussed on getting mod_jk2.so   to work ..  

get that from here ..

http://apache.rmplc.co.uk/dist/jakarta/tomcat-connectors/jk2/binaries/win32/

.

note different setup between mod_jk .. and .. mod_jk2

.

here are some installation guides I've bookmarked in my digging around ..

http://www.galatea.com/flashguides/apache-tomcat-win32.xml

http://mpcon.org/temp/how2install_apache_w_php_jsp_support.doc

http://jakarta.apache.org/tomcat/faq/connectors.html

http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk2/confighowto.html

...

all a bit confusing to a newcomer ..

At least I've got both servers to run .. just need to test the JK connection.  

question is .. how?

dl


Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-20 Thread Michael Mehrle
Sorry, but I don't understand your question. I am myself SOL on this and am
seeking help from someone

Michael


- Original Message - 
From: Aristides Burke [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:55 PM
Subject: Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x


 Hi Michael.

 I have Apache 2 and Tomcat 4.1.30, I cannot compile the donwload
 file of internet.
 I down of the internet both file, Mod_jk and Mod_jk2 but out the same
error.
 You can Send me the Mod_jk2 for Apache 2 and Tomcat 4.1.30?


 - Original Message - 
 From: Michael Mehrle [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, July 20, 2004 2:43 PM
 Subject: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x


  Okay, I can't believe how lousy the documentation for this is on the
 jakarta
  site:
 
  - Where do I find the latest connector (mod_jk) for Apache 1.3.x (I
can't
  run Apache 2 because my hosting provider doesn't support it and needs
1.3
 to
  run cPanel).
  - How do I reliably install that module for Tomcat 5.0.27?
 
  Again, the docs online are all over the place - I can't make it work.
Any
  help would be greatly appreciated.
 
  Thanks,
 
  Michael
 
 
  -
  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]



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



Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-20 Thread Michael Mehrle
In case I didn't make this clear before:

1) I'm running Apache 1.3 (NOT APACHE2) on RedHat 9.0
2) I cannot find the right mod_jk module

Now, I downloaded some rpm for Redhat 9 and the mod_jk.so I have configured
in httpd.conf seems to have a problem - when I call httpd configtest I get:

Cannot load /usr/local/apache/libexec/mod_jk.so into server:
/usr/local/apache/libexec/mod_jk.so: undefined symbol: apr_sockaddr_ip_get

I looked around for this error message, but can't find anything. And there
is no Linux binary on the jakarta site - the directory is empty!

I really need to get this up and running - any help would be appreciated.

Michael


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



Re: Setting up mod_jk for Tomcat 5.0.27 under Apache 1.3.x

2004-07-20 Thread Wendy Smoak
From: Michael Mehrle [EMAIL PROTECTED]
 Okay, I can't believe how lousy the documentation for this is on the
jakarta
 site:

It might help to provide a link to the docs you're trying to work from, and
ask specific questions if something is unclear.  At some point in the
distant past, I did manage to get Apache and Tomcat working together on
HP-UX, but it took a couple of days taking very detailed notes, studying log
files, and restarting often.  At least you're not starting with HP's often
interesting Apache config!  The good news is that once it works, you can
pretty much ignore it.

My initial thought is that Apache 1.3 and Tomcat 5 are probably getting too
far apart to be compatible, but that's just a suspicion.  Have you read
anything that suggests that this combination has been made to work together?

As you mention, the jk/binaries/linux folder is empty, so I backed up a
couple to:
http://apache.bestwebcover.com/jakarta/tomcat-connectors/jk/

And... it says:
Apache-Tomcat mod_jk 1.2
This version of mod_jk 1.2 can be used with Tomcat 3.3.x, 4.0.x and 4.1.x

Maybe the docs just haven't been updated, but that isn't comforting if
you're trying to use it with Tomcat 5.

My advice would be to grab the source from the above link and see if you can
compile it on Redhat 9.  Then you'll have the mod_jk.so file you need. Then
start over and change only one thing at a time.  When you run into a snag,
post what you did so far and what your config files look like.  If it's
possible to do, someone here can probably help you do it.

If someone's really bored, maybe a grid that shows what
OS/Apache/connector/Tomcat combinations are known to work would be a good
project. :)

-- 
Wendy Smoak


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