Ahh!  You're right.  I'm not sure which one I really did, but when I
went back and
Checked, (using grep -i for sure this time) it still couldn't find it.

Anyone know where the org.apache.ajp.tomcat5.Ajp13Connector class is
supposed to be?

Thanks, and Regards

-----Original Message-----
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 23, 2006 12:13 PM
To: Tomcat Users List
Subject: Re: Can't find ajp13 connector

grep is case sensitive and will only match ajp13, not Ajp13.  If you
want to find Ajp13Connector, the command should be written:

jar -tvf *.jar | grep Ajp13

or even:

jar -tvf *.jar | grep -i ajp13

to ignore case.

--David

Williams, Allen wrote:

>I tried changing CATALINA_BASE to make it identical to CATALINA_HOME,
>and still get the ajp13 connector not found.  Can't understand why I
>don't have it.
>
>Sorry, but I gave an incomplete command:
>
>jar -tvf *.jar | grep ajp13
>
>It works like tar -tvf, except it shows the contents of java jar files.
>
>
>I can't find the class org.apache.ajp.tomcat5.Ajp13Connector anywhere
on
>my system.
>
>Thanks, and Regards,
>________________________
>Allen Williams
>[EMAIL PROTECTED]
>Office: (321)726-1197
>Mobile: (321)258-1272
>FAX: (321)727-9607
>
>-----Original Message-----
>From: Mladen Adamovic [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, May 23, 2006 11:07 AM
>To: Tomcat Users List
>Subject: Re: Can't find ajp13 connector
>
>Williams, Allen wrote:
>  
>
>>I tried this: jar -tvf | grep ajp13 in both common and server
>>directories, and got nothing.
>>  
>>    
>>
>
>I'm not sure what jar -tvf does but I used the following Python script 
>to find class in jar files on the disk:
>
>[EMAIL PROTECTED] hp]$ cat jarFinder.py
>#!/usr/bin/python
>import os
>import sys
>
>print """
>jarFinder is Python script for Linux (unix) operating system(s).
>Usage ./jarFinder.py className
>this script use locate to find all jar files on your drive and
>afterwards
>seeks wheather className is in that jar file
>This program is usefull to resolve classPath problems on Linux systems
>Author : Mladen Adamovic ([EMAIL PROTECTED]) home page: 
>http://home.blic.net/adamm
>"""
>
>try:
>    po = os.popen('locate .jar', 'r')
>except IOError:
>    exit(0)
>
>arg1= sys.argv[1]
>print 'Working for : ' + arg1
>sys.stderr.close()
>
>line = po.readline()
>while line:
>    # print line,    # trailing ',' omits newline character
>    lineNN = line[1:len(line)-1]
>    ext = lineNN[len(lineNN)-4:len(lineNN)]
>    if ext=='.jar' or ext=='.JAR' :
>            unzipStr = 'unzip -v /' + lineNN + ' | grep ' + arg1
>            # print unzipStr
>            unzipResF = os.popen(unzipStr, 'r');
>            unzipRes = unzipResF.read()
>            # print unzipRes
>            if len(unzipRes)>5 :
>                        print 'In /' + lineNN + ' is file ' + unzipRes
>    line=po.readline()
>
>
>[EMAIL PROTECTED] hp]$
>
>
>  
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to