RE: I need help in tomcat configuration with Oracle 8.1.7

2001-07-05 Thread Mike Braden

Tobias,

Here is an example that should help:

http://www.thejspbook.com/solaris-oracle-howto.html

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: Internet Total Solutions LLC - Customer Liaisons Department -
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 6:37 AM
To: [EMAIL PROTECTED]
Subject: I need help in tomcat configuration with Oracle 8.1.7


Hello,

I would like to know whether anyone is able to give me a hint towards
solving the following scenario. If anyone is available on consultation
basis, it is fine too.

I have developed website personalization engine in java that comes with it's
own kind of application server to handle the client access requests to the
oracle 8.1.7 db through the use of tomcat 3.1 I am using the oracle thin
driver and classes111.zip in order to handle the requests through the jdbc.
However tomcat giving me serious errors and my client application can't
login to the database. Would anyone be able to help me on that matter?

Thanks

Tobias Hansen




RE: ***** URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *****

2001-05-21 Thread Mike Braden

This is a copy of the welcome message you get when subscribing to
this group.  You can use one of two methods.

Send a message to the address listed below, which includes the
command for the mail system.

If you are still at the same address use:

[EMAIL PROTECTED]

or if your mail address has changed, use

[EMAIL PROTECTED]

Inserting your old email address in place of xxx=xxx.com

You can also unsubscribe via the mail list web page on
the Jakarta site.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED] 

Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

I'm working for my owner, who can be reached
at [EMAIL PROTECTED]

Acknowledgment: I have added the address

  [EMAIL PROTECTED]

to the tomcat-user mailing list.

Welcome to [EMAIL PROTECTED]!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.

To unsubscribe, send a message to:

[EMAIL PROTECTED]


--- Administrative commands for the tomcat-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

For help and a description of available commands, send a message to:
   [EMAIL PROTECTED]

To subscribe to the list, send a message to:
   [EMAIL PROTECTED]

To remove your address from the list, just send a message to
the address in the ``List-Unsubscribe'' header of any list
message. If you haven't changed addresses since subscribing,
you can also send a message to:
   [EMAIL PROTECTED]

or for the digest to:
   [EMAIL PROTECTED]

For addition or removal of addresses, I'll send a confirmation
message to that address. When you receive it, simply reply to it
to complete the transaction.

If you need to get in touch with the human owner of this list,
please send a message to:

[EMAIL PROTECTED]

Please include a FORWARDED list message with ALL HEADERS intact
to make it easier to help you.


-Original Message-
From: Laurence Mayer [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 9:55 AM
To: '[EMAIL PROTECTED]'
Subject: RE: * URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *



I have been trying for days, still cannot unsubscribe, if you do find the
way, please let me know how.

Thanks

-Original Message-
From: Sharad Mohan [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 2:45 PM
To: [EMAIL PROTECTED]
Subject: * URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST * 


* URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST * 

_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com






RE: Why Use apache

2001-05-02 Thread Mike Braden

This is a confusing part of Tomcat.

You definitely do not need Apache to use Tomcat.  It works
great by itself (and is easier to use that way).

You would add Apache into the mix for several reasons:

* You want to do something other than Java - Perl, PHP, etc.
* You are already running apache and you want to use Java
* Apache is faster at serving static content (tuned for performance)
  and your site has a heavy amount of traffic for static content
* You don't want to run Tomcat as root to be on port 80.  You
  are concerned about security
* You have a heavy load and want to have more than 1 Tomcat server
  i.e. load balancing multiple TC's behind Apache

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: Skinner, Dallas M [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: Why Use apache


Excuse me if this question is obvious.  If Tomcat can be run in a standalone
mode, why should it be used in conjunction with apache?

Thanks

Dallas Skinner




RE: unsubscribe problems - 2 comments

2001-04-25 Thread Mike Braden

I guess no one pays attention to the mail list page with the links to
unsubscribe.

I do agree that it would be nice to have the instructions on that page,
though.

Maybe along with the instructions on not sending HTML format mail.  Of
course,
of no-one actually reads them...  ;-)

Mike.
--
Mike Braden
CNE, MCP+I, MCSE, CCNA, Sun Comp 2k Enterprise
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: Burgess, Jay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 11:11 AM
To: '[EMAIL PROTECTED]'
Subject: RE: unsubscribe problems - 2 comments


First, it's very simple if you follow the instructions in the welcome email.
I just did it for numerous lists the morning, both unsubscribing an
alternate alias and re-subscribing a new.  Unfortunately, lots of people
don't keep the welcome email, and the info isn't on the site as far as I can
tell (or at least it's not clearly marked).
Surely, someone managing the website could add the following to the top of
the lists page, put it in red, draw a box around it, and title it
Subscribe/Unsubscribe:
--
There are two ways you can SUBSCRIBE to the list:
(1)Send a message to (where ??? is the name of the list):
   ???[EMAIL PROTECTED]
(2) To start a subscription for an alternate address (e.g.
[EMAIL PROTECTED]), just add a hyphen and your address (with '=' instead of
'@') after the command word e.g.
   ???[EMAIL PROTECTED]
--
There are two ways you can UNSUBSCRIBE from the list:
(1) Send a message to (where ??? is the name of the list):
   ???[EMAIL PROTECTED]
(2) To stop a subscription for an alternate address, (e.g.
[EMAIL PROTECTED]), just add a hyphen and your address (with '=' instead of
'@') after the command word e.g.
   ???[EMAIL PROTECTED]
--
Jay
-Original Message-
From: Lyle H. Ward [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 10:00 AM
To: [EMAIL PROTECTED]
Subject: Re: unsubscribe problems


It seems like many people are sending to
[EMAIL PROTECTED]
Try sending to
[EMAIL PROTECTED]
substituting your modified email address
e.g. [EMAIL PROTECTED]
No I haven't tried it yet because I'm still learning from this list. This
method  was described in the original welcome message.
At 12:41 PM 4/25/2001 +0200, you wrote:
Seems like many of us are having problems unsubscribing using the
unsubscribe email address.  i've also tried sending mail to the list owner,
but heard nothing in response.

I've seen more than a handful who are irritated at not being able to get
off
this damn list and stop receiving boatloads of unwanted mail.  Anyone got a
solution other than sending undeliverable emails to the unsubscribe
address?


- m






RE: mod_jk on hp-ux - need help

2001-04-19 Thread Mike Braden

Your best bet for success would be to re-build Apache.  This
will re-create the apxs script with the proper settings for
your system and avoid problems like this if you update
or use other apache modules.

You can download the source for apache from the site and use this
for a generic install (assumes apache source is in /usr/local/src):

# cd /usr/local/src
# gzip -dc apache_1.3.19.tar.gz|tar xvf -
# cd apache_1.3.19
# ./configure --prefix=/usr/local/apache \
  --enable-module=most \
  --enable-shared=max
# make
# make install

You should use gcc, the compiler included with HP-UX is just for
building new kernels and doesn't include full support.

If you are still having problems, post them.  I can also send you
a binary of mod_jk for HP-UX if you like.

Use strict just tells perl to check the script's syntax and enforce
strict rules.  Not sure why you are getting that error.  I used
Perl 5.6.0 with my apache/mod_jk build OK.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED] 

-Original Message-
From: Lian, Xiaobu (Alice) (Xiaobu (Alice)) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 10:47 AM
To: '[EMAIL PROTECTED]'
Subject: mod_jk on hp-ux - need help


Hi,

I am new to the list and new to tomcat/apache.   

I installed apache 1.3.17 and tomcat 2.3.1 on our HP server, running hp-ux
11.00 (64bit).
Both are running well standalone with simple configurations.  We need to
make tomcat
working with apache.  Now I am working on building mod_jk and had some
problems.

Instructions I used include Tomcat - A Minimalistic User's Guide,
Tomcat-Apache HOWTO,
and mod_jk-howto.html.  Finally I found build-hpux.sh and build-hpux-cc.sh
in 
jacarta-tomcat-3.3-m2-src.tar.

When I run build-hpux.sh, or execute the following command
  $APACHE_HOME/bin/apxs -o mod_jk.so -I../common -I/opt/java/include
-I/opt/java/include/hp-ux
   -c *.c ../common/*.c

I have received the same error message:
Can't locate strict.pm @INC (@INC contains:
/opt/perl5/lib/5.6.1/PA-RISC1 ... )
  at /usr/local/apache/bin/apxs line 68.
  BEGIN failed--comilation aborted at /usr/local/apache/bin/apxs line
68.

Line 68 or apex:
  use strict;

Does anybody know what this mean and how should I fix it?

When I comment off this line, and run the same script or apxs directly, 
I had some other error messsages:
 (bundled) cc: warning 480:  The -A option is available only with the
C/ANCI C product; ignored.
 ...
 (bundled) cc: error 2017: Cannot recover from earlier errors,
terminating.
  apxs: Break: Command failed with rc=1

Then I changed apxs on line 76:  q(cc) -- q(gcc)
This time the error messages are related to gcc:
gcc: +z No such file or directory
gcc: unrecognized option '-02'
...
apxs: Break: Command failed with rc=1 

I do not know much about perl. It seems I had a wrong apxs.  
Is there any easy way to fix it?  Or I have to recompile the apache
completely.
Or there might be some other way I can get the mod_jk I need for hp-ux?

Thanks a lot for any information and help!

Alice

Xiaobu Alice Lian
Database Engineer
Agere Systems
[EMAIL PROTECTED]
(484)397-2583 

I  



RE: mod_jk on Solaris 8

2001-03-28 Thread Mike Braden

OK.  Try this:

# file `which cc`
/usr/ucb/cc:executable /usr/bin/sh script

Solaris 8 ships with a batch file called cc in /usr/ucb

For a compiler, download the gcc package from
http://www.sunfreeware.com

as for make, you should check your path.  Make is in
/usr/cc/bin

# which make
/usr/ccs/bin/make

If make is not located there, then you should check to see
if the system was setup with the Entire Distribution or
developers distribution options.  If it was installed
with only the base distribution (packages), then
the libraries and utilities for compiling software
will not be installed.

Also note, you'll have much better luck building mod_jk
if you build apache from source.

There is a build script in the TC3.3m2 package for mod_jk
that can be used with any TC3 version.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED] 

-Original Message-
From: Ryan J. McDonough [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 4:48 PM
To: [EMAIL PROTECTED]
Subject: mod_jk on Solaris 8


I'm trying help a client build mod_jk on a Solaris 8 System. I'm running 
into some problems that I think are cause by something not being 
installed. I don't have root access to the box so I can't just install 
things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 
3.2.1. When I try to build mod_jk on the box as defined by the mod_jk 
howto, I get the following error:

cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include 
-I../jk
-I/usr/j2se/include -I
/usr/j2se/include/solaris -DSOLARIS  -c mod_jk.c
/usr/ucb/cc:  language optional software package not installed
apxs:Break: Command failed with rc=65536

I'm assuming something is missing in "cc". Also "make" is not installed 
on this system either, which I believe could be part of the problem but 
I haven't had enough time with Solaris to be sure. Are there any know 
issues with mod_jk on Solaris 8 or does this installation need something 
further. Thanks in advance.

Ryan-



RE: tomcat documentations

2001-03-27 Thread Mike Braden

If you want to get info on a particular DTD,
try using the URL that it references:

!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"

http://java.sun.com/j2ee/dtds/web-app_2_2.dtd

Will give you a little more info on what it is for.
You can at least find out what the parameters are
and when there are comments, maybe a little more.

Also check the Servlet API and the JSP API on the Java site:

http://java.sun.com/aboutJava/communityprocess/first/jsr053/index.html

Also, check the archives of this list, there have been
a couple of people posting documents on the TC .xml files.

Mike.
--
Mike Braden
CNE, MCP+I, MCSE, CCNA, Sun Comp 2k Enterprise
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 5:40 PM
To: '[EMAIL PROTECTED]'
Subject: RE: tomcat documentations


I've only found some vague descriptions for the tags in web.xml, in the JSDK
specs:

http://java.sun.com/products/servlet/download.html

(The actual web.dtd is also available, but it isn't any more descriptive.)

I've never found docs or DTDs for any of the other XML files,...

-- Bill K.


 -Original Message-
 From: Batsheva Raviv [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 27, 2001 2:34 PM
 To: Tomcat Usr (E-mail)
 Subject: tomcat documentations


 Can anyone help me find documentations that describe all the
 xml tags, What
 they mean and Where are they used?

 Thank you,
 Batsheva








RE: importing multiple packages

2001-03-27 Thread Mike Braden

Have you tried using:

%@ page language = "java" import = "java.util.Vector,
onSaleCalendar"%

Instead of:

%@ page language = "java" import = "java.util.Vector,
onSaleCalendar.onSaleCalendar"%

Does this also produce an error?

I usually use:

%@ page language="java" contentType="text/html" %
%@ page import="java.util.Vector" %
%@ page import="onSaleCalendar" %

To make it easier to read.  (Note: Import is the only attribute of page
that can be listed multiple times)

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: teh j [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 11:36 PM
To: [EMAIL PROTECTED]
Subject: importing multiple packages


Hello

I was wondering if I could get some help on something?

Is it possible to use a bean in a JSP and at the same
time, import another class (that I have created) for
use in the page?

I am trying to do this with the tag
%@ page language = "java" import = "java.util.Vector,
onSaleCalendar.onSaleCalendar"%

however my JSP gives me Error 500 and tells me that it
cannot find the class
onSaleCalendar (Vector works fine)

the bean tag I am using is

jsp:useBean id = "selectBean" scope ="page" class =
"selectexamples.eventsOnday"/


I have place my bean on the directory

jakarta-tomcat-3.2.1/webapps/test/WEB-INF/classes/selectexamples
and called it eventsOnday

I have placed my class onSaleCalendar under
jakarta-tomcat-3.2.1/webapps/test/WEB-INF/classes/onSaleCalendar

thanks
J




_
http://my.yahoo.com.au - My Yahoo!
- Have news, stocks, weather, sports and more in one place.




RE: How can i create a login application

2001-03-26 Thread Mike Braden

You may want to look at the O'Reilly JavaServer Pages Book, its a new
book with current info in it (since things in the Java server world are
changing quickly).

There are some good examples of access control and form based login
such as the one Mike Bryant is using with sample code.  It goes over the
same
technique as well as one that uses a servlet as the control/check mechanism
for logins.

The technique that Mike is using works well, just remember to
include the check in every restricted page.

Mike, have you tried to do the check in something like a page header
(like a title bar or something) that would have to be included in all pages?

Also, since you are including a .jsp page, are you using it within other
.jsp pages and .html pages?  How do you keep from duplicating .jsp page
directives or other script definitions?

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]



-Original Message-
From: Joo Folha [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 9:10 AM
To: [EMAIL PROTECTED]
Subject: How can i create a login application


Hi there.

I am trying to develop a web application, where for some url the users will
need to login.
In this process the users and passwords are in a ms access database.
This application will be use in an intranet.
Some one can advise me, ou give me some example?



RE: Compatibility with different flavors of UNIX

2001-03-23 Thread Mike Braden

mod_jk in TC3.2 has most of the build stuff for Linux, Win, and sort of
Solaris.
The scripts are not written for easy support of multiple platforms.

You may want to look at TC3.3m2 or get the mod_jk from the TC3.3 nightly
builds.

Much has been added for better support of mod_jk in TC3.3, including new
build
files and instructions for HP-UX.

mod_jk is not dependent on the version of TC that you are running, so you
can
build the mod_jk that comes with TC3.3m2 and use it on TC3.2.

mod_jk is improving and will continue to do so.

Mike.

-Original Message-
From: John P. Dodge [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 12:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Compatibility with different flavors of UNIX


I don't know about AIX but building mod_jk on HPUX is problematic to the
point of being unworkable. On HPUX apache, mod_ssl, tomcat build fine. As
a side note HP is bundling Apache-mod_ssl-mod_jserv-Tomcat with
HPUX11.11.

On Fri, 23 Mar 2001, Simon McMenzie wrote:

 Will the components above ALL run on HP and AIX? More specifically, when
 building mod_jk on Solaris, one runs
 
 


"Mon aeroglisseur est plein d'anguilles"

John P. Dodge
Boeing Shared Services Group




RE: apxs - No Shared Object Support for Apache

2001-03-20 Thread Mike Braden

It would help to know the version of TC you have and the
platform you are running it on - version, etc.  The apache
version would help also.

You may want to look at the TC3.3m2 release.  There is an
updated mod_jk-howto in it.

If you are running Linux, you can get the pre-built version
of mod_jk in the same location as the TC3.3m1 or m2 binaries.

The version of mod_jk is not dependant on the version of TC3.

Also, sounds like your apache wasn't built with DSO support.
The latest how-to offers suggestions with that.

If you're still having problems, post some more detail
on your config.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: Max Hugen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 5:34 PM
To: Tomcat Users List
Subject: apxs - No Shared Object Support for Apache


We are trying to upgrade from jserv_mod to jk_mod, so that we can get SSL to
work with our jsp pages.

We tried to run apxs as per Gal Shachor's notes at
jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html, but got
message:

cd /usr/local/src/jakarta-tomcat-3.2.1-src/src/native/apache1.3/usr/sbin/
apxs -o
mod_jk.so -I../jk -I/usr/jdk1.3/include -I/usr/jdk1.3/include/linux -c *.c
../jk/*.c
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
...
... lots of stuff, including plenty of
... "No such file or directory" errors
...
apxs:Break: Command failed with rc=65536

Can anyone suggest what this problem is? Do I have to recompile Apache for
some reason (and if so, how)?

As I'm floundering here for days already I would really appreciate any and
all suggestions!

MTIA, Max Hugen




RE: reload servlets?

2001-03-19 Thread Mike Braden

Make sure that your context (webapp) is set to be reloadable.

reloadable="true"

Depending on your version of Tomcat, this would be in either the
conf/server.xml file or in the conf/apps-???.xml file.

Mike.

-Original Message-
From: Jose Ramon Rodriguez [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 1:41 PM
To: [EMAIL PROTECTED]
Subject: reload servlets?


Hi all!
I'm a newbie with Tomcat and I'm developing some
servlets. So, I'm changing frequently the code of my
servlets: change the servlet's code, compile it with
javac, and so on...

My web.xml file is ok. Tomcat loads it when it's
started. There is the structure of my web application.

But when I update the code of a servlet, my browser
shows the previous one. I have to shutdown Tomcat and
startup it again and again every time I change my
servlet's codeit's a boring task!!!

Although I push the update button in my browser, it
doesn't work... :-(

Anyone could help me?

Thanks in advance.
---
Jose Ramon

___
Do You Yahoo!?
Enva mensajes instantneos y recibe alertas de correo con 
Yahoo! Messenger - http://messenger.yahoo.es



RE: TOMCAT + APACHE + WINNT = PAIN

2001-03-19 Thread Mike Braden

Your .jsp files need to be in a webapp or context
(not necessarily TOMCAT_HOME/webapps) for Tomcat
to process/serve them.

On a Unix box, this directory could be anywhere and
symbolically linked within TOMCAT_HOME/webapps

You can also identify your context with an absolute
path.

Refer to:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/appdev/index.html

section 3.2

You may want to read the whole doc, it answers
many questions about developing with Tomcat.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 10:28 PM
To: '[EMAIL PROTECTED]'
Subject: TOMCAT + APACHE + WINNT = PAIN
Importance: High


 Follow programmers  -

Whats up?

BTW, im on NT4, Apache1.3, Tomcat3.2

 I had a question regarding the Tomcat config files...are you familiar with
these files? If so, do i need to keep all my jsp files within the webapps
dir or can i place the jsp files anywhere I choose to?

For example, if I placed a jsp file anywhere say, F:\mydir\ (which is mapped
to Apache as a root dir) would Apache be able to communicate to Tomcat that
it has received a jsp file and to handle as it wishes?

or do I need to move some tomcat dirs over to F:\mydir\ and place my jsp
files within webapps?

Do u have any insight...

Thanx in advance.

Arif Tayebali
(562) 424-7899 Ext.150
[EMAIL PROTECTED]




RE: error loading mod_jk.so

2001-03-15 Thread Mike Braden

I've seen this before, but don't recall the particular solution.

Are you sure you have DSO support in apache?

# /usr/local/apache/bin/httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c

mod_so.c should be there.

Maybe a search of the list archive would turn something up.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-Original Message-
From: Thomas Borland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 3:53 PM
To: tomcat user
Subject: error loading mod_jk.so


Hello,

I've compile mod_jk.so for FreeBSD 4.1 using Makefile.freebsd that comes
with the source tar (under dir apache1.3). I now receive the following
error while trying to start Apache.

Syntax error on line 8 of
/usr/local/jakarta-tomcat-3.2.1/conf/mod_jk.conf-atuo:
Cannot load /usr/local/libexec/mod_jk.so into server:
/usr/local/libexec/mod_jk.so: Undefined symbol "map_name_at"
/usr/local/sbin/apachectl start: httpd could not be started

Any suggestions how to fix this would be greatly appreciated.

Thanks
Tom


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



RE: apxs break

2001-03-15 Thread Mike Braden

Did you install Apache from an rpm or did you build it from source?

apxs is a perl script that is configured when apache is compiled.
If you did not compile apache on your system, it (apxs) may not
be configured properly.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-Original Message-
From: Reeves, Kenneth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 3:32 PM
To: [EMAIL PROTECTED]
Subject: RE: apxs break


Still getting the apxs break after an upgrade.
Ken


-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: apxs break


Are you by any chance using Apache 1.3.14?  If so, then upgrade to 1.3.19 -
I
had
an apxs problem that went away when I did this.

Steve Prior

"Reeves, Kenneth" wrote:

 While trying to compile mod_jserv.so for apache, I get the following
errors.

 [root@webservices jserv]# /usr/bin/apache/bin/apxs -i -a -c mod_jserv.c
 gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED
 -I/usr/bin/apache/include  -c mod_jserv.c
   -o mod_jserv.so mod_jserv.o
 apxs:Break: Command failed with rc=16777215
 [root@webservices jserv]#

 Tomcat is running fine under port 8080.  I downloaded a mod_jserv.so
because
 of this break, but can't get apache to send the request to tomcat for some
 reason.  I stop apache, start tomcat and then start apache.  There are no
 error methods.  So I thought I would make my on mod_jserv.so but it
failed.
 It also fails when I try to make mod_jk.so.  Any ideas?
 Ken



RE: webdav and tomcat 4.0

2001-03-13 Thread Mike Braden

Make sure you read the docs on WebDAV.  I believe that it is setup in RO
mode in the initial install, its been a while since I looked.

Also, make sure you understand what supports WebDAV authoring.

Here is another good resource if you don't already have it:

http://www.webdav.org/

http://www.webdav.org/mod_dav/  Note that this is for apache web server, but
the
info about the supported clients applies.

I've been using Word 2k with WebDAV on apache web server with much success.
(just a few glitches)

Just note, that the Word docs are XHTML (word xml).  So they tend to make
the
pages a little large.  This works well for documentation, though, since
you can read it in most browsers and edit it easily in word.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Elham Chandler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 5:04 PM
To: [EMAIL PROTECTED]
Subject: webdav and tomcat 4.0


I've been trying to create a new folder using the webdav servlet and tomcat
4.0 and
MS WebFolders client. It won't allow me to create folders. Is this feature
supported
at this time. How well tested is the webdav servlet ?

any info would be appreciated.

Thanks

Elham Chandler
Interwoven


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

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




RE: Building Apache and Tomcat in HPUX and AIX

2001-03-12 Thread Mike Braden

Tomcat runs fine on HP-UX.  I've seen posts on the list
from AIX users, also.

Tomcat is written in Java and should run on most systems
that you can get a JSDK for.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Thomas Apsel [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: Building Apache and Tomcat in HPUX and AIX




Is it possible to build and run the apache and tomcat on
the operating systems HPUX and AIX?

On which platforms does the apache/tomcat run?


Thomas


Thomas Apsel  mailto:[EMAIL PROTECTED]
IXOS SOFTWARE AG  Tel.: +49.(0)89.4629.1817
Bretonischer Ring 12  Fax.: +49.(0)89.4629.33.1817
D-85630 Grasbrunn http://www.ixos.de

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

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




RE: Starting Apache + mod_jk

2001-03-02 Thread Mike Braden

Did you build the mod_jk from source as in the mod_jk how-to
and install it in apache/libexec ?

Looks like it can't find the mod_jk library.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Gregory Rouchotas [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 8:25 AM
To: [EMAIL PROTECTED]
Subject: Starting Apache + mod_jk 


Hello all,

I have installed Apache 1.3.17 and tomcat 3.2.1 on solaris 7
Both work fine with no problems but when I try to get apache to use mod_jk I
get the following error

Syntax error on line 1 of
/usr/local/apache/dist-tomcat/tomcat/conf/tomcat-apache.conf:
Cannot load /usr/local/apache/libexec/mod_jserv.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: /usr/local/apache/libexec/mod_jserv.so:
open failed: No such file or directory
/usr/local/apache/bin/apachectl start: httpd could not be started


Here is what I have included in my apache httpd.conf file:

LoadModulejk_module  libexec/mod_jk.so
AddModule mod_jk.c

JkWorkersFile /usr/local/apache/dist-tomcat/tomcat/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevelwarn


Include /usr/local/apache/dist-tomcat/tomcat/conf/mod_jk.conf-auto
Include /usr/local/apache/dist-tomcat/tomcat/conf/tomcat-apache.conf

Also in the virtualhost section I have added the following


VirtualHost ..
.
.
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
.
.
/VirtualHost


Any ideas,
Thank you in advance

greg


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

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




RE: Error building DSO support with Apache

2001-03-01 Thread Mike Braden

This is what I usually use to build apache:

# ./configure --prefix=/usr/local/apache \
  --enable-module=most \
  --enable-shared=max

# make
# make install

Try and see if you still get errors.
Were you able to build apache before you tried shared_core?

--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Craig Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 4:06 PM
To: [EMAIL PROTECTED]
Subject: Error building DSO support with Apache



Hey guys this indirectly is a Tomcat question

SGI Octane II running IRIX 6.5.10 dual 400 MHz processor 1 Gig RAM

Used 

./configure \
--prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-module=so

with no problems.  

However, when I run make (GNU make) I get:


=
=== src/modules/standard
=== src/modules
gcc -c  -I./os/unix -I./include   -DIRIX -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -fpic -DSHARED_CORE `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DIRIX -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -fpic -DSHARED_CORE `./apaci` buildmark.c
ld -shared -o libhttpd.so buildmark.o modules.o
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  
ln libhttpd.so libhttpd.so.1
ln libhttpd.so libhttpd.so.1.3
ln libhttpd.so libhttpd.so.1.3.19
gcc  -I./os/unix -I./include   -DIRIX -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -fpic -DSHARED_CORE `./apaci`\
  -o libhttpd.ep -DSHARED_CORE_TIESTATIC main/http_main.c \
  -L. -lhttpd  
ld32: WARNING 84 : ./libhttpd.so is not used for resolving any symbol.
ld32: ERROR   33 : Unresolved text symbol "ap_main" -- 1st referenced by
/var/tmp/ccUOZ2Fd.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "ap_validate_password" -- 1st
referenced by /var/tmp/ccUOZ2Fd.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "XML_ErrorString" -- 1st
referenced by /var/tmp/ccUOZ2Fd.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: INFO152: Output file removed because of error.
collect2: ld returned 2 exit status
make[2]: *** [libhttpd.ep] Error 1
make[2]: Leaving directory `/usr/local/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache_1.3.19'
make: *** [build] Error 2




Any ideas?

Thanks,
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Craig R. Bush
  Bioinformatics Software Engineer
  Sealy Center for Structural Biology
  Dept. of Human Biological Chemistry  Genetics
  University of Texas Medical Branch
  Galveston, TX  77555-1157 (409)747-6809; Fax -6850
  http://www.bioinfo.utmb.edu http://www.hbcg.utmb.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

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

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




RE: Servlet and JDBC driver problems

2001-03-01 Thread Mike Braden

You need to make the oracle jdbc drivers avaiable in either the classpath
or in the lib dir of the webapp you are using ( webapps/myapp/WEB-INF/lib ).

I have been successful using the thin driver.  The oci8 driver needs to
have access to the oracle libraries while the thin driver only needs the
odbc class files.

The oracle classes crash tomcat if you put them in $TOMCAT_HOME/lib

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Steve G [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 2:55 PM
To: [EMAIL PROTECTED]
Subject: Servlet and JDBC driver problems


I have an Oracle database that I can connect to from a java program.  When I

convert this program to a servlet and try to bring it up in Netscape through

the Tomcat Server I get a ClassNotFoundException OracleDriver.

Is there anything special I need to do in Tomcat to connect to Oracle.

Thanks for the help.
Steve
_
Get your FREE download of MSN Explorer at http://explorer.msn.com


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

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




RE: ./build-unix.sh error

2001-03-01 Thread Mike Braden

Here is where your problem is:

In file included from ../common/jk_util.h:66,
 from mod_jk.c:90:
../common/jk_pool.h:116: parse error before `jk_pool_atom_t'

Basically, mod_jk doesn't have a macro defined for irix, so you're going to
have to make your own.

Look in ../common/jk_pool.j at the area around line 116.

You need to add a definition for IRIX such as changing:

#ifdef WIN32
typedef __int64 jk_pool_atom_t;
#elif defined(AIX)
typedef long long   jk_pool_atom_t;
#elif defined(SOLARIS)
typedef long long   jk_pool_atom_t;
#elif defined(LINUX)
typedef long long   jk_pool_atom_t;
#elif defined(FREEBSD)
typedef long long   jk_pool_atom_t;
#elif defined(OS2)
typedef long long   jk_pool_atom_t;
#elif defined(NETWARE)
typedef long long   jk_pool_atom_t;
#endif

to:

#ifdef WIN32
typedef __int64 jk_pool_atom_t;
#elif defined(AIX)
typedef long long   jk_pool_atom_t;
#elif defined(SOLARIS)
typedef long long   jk_pool_atom_t;
#elif defined(LINUX)
typedef long long   jk_pool_atom_t;
#elif defined(FREEBSD)
typedef long long   jk_pool_atom_t;
#elif defined(OS2)
typedef long long   jk_pool_atom_t;
#elif defined(NETWARE)
typedef long long   jk_pool_atom_t;
#elif defined(IRIX)
typedef long long   jk_pool_atom_t;
#endif


Post back with your results if it works after that.
(or your next error)

Mike
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Craig Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 6:25 PM
To: [EMAIL PROTECTED]
Subject: ./build-unix.sh error


Thanks for the help with the configure enablers for Apache.  

I guess IRIX likes likes it's Apache configure for DSO this way...

./configure \
--prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max


Now I'm trying to press my luck and get mod_jk.so to be built.

Got this error:

APACHE_HOME=/usr/local/apache
-printf: bad option
Usage: find path-list predicate-list
find failed, edit build-unix.sh source to fix
Compiling mod_jk
gcc -DIRIX -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic
-DSHARED_MODULE -I/usr/local/apache/include -I../common  -c mod_jk.c
In file included from ../common/jk_util.h:66,
 from mod_jk.c:90:
../common/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:701: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:701: (Each undeclared identifier is reported only once
mod_jk.c:701: for each function it appears in.)
mod_jk.c:701: parse error before `buf'
mod_jk.c:702: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=1
Installing mod_jk.so into /usr/local/apache/libexec
mod_jk.so - No such file or directory
Done. Install by running ./install-unix.sh


So I went into build-unix.sh and uncommented this line:

JAVA_INCLUDE="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/irix"

on line 47

reran and got basically the same error...

APACHE_HOME=/usr/local/apache
-printf: bad option
Usage: find path-list predicate-list
find failed, edit build-unix.sh source to fix
Compiling mod_jk
gcc -DIRIX -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic
-DSHARED_MODULE -I/usr/local/apache/include -I../common
-I/usr/java/include -I/usr/java/include/irix  -c mod_jk.c
In file included from ../common/jk_util.h:66,
 from mod_jk.c:90:
../common/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:701: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:701: (Each undeclared identifier is reported only once
mod_jk.c:701: for each function it appears in.)
mod_jk.c:701: parse error before `buf'
mod_jk.c:702: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=1
Installing mod_jk.so into /usr/local/apache/libexec
mod_jk.so - No such file or directory
Done. Install by running ./install-unix.sh


What does "Command failed with rc=1"?  Can anyone think of a work
around?


craig

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Craig R. Bush
  Bioinformatics Software Engineer
  Sealy Center for Structural Biology
  Dept. of Human Biological Chemistry  Genetics
  University of Texas Medical Branch
  Galveston, TX  77555-1157 (409)747-6809; Fax -6850
  http://www.bioinfo.utmb.edu http://www.hbcg.utmb.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

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

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




RE: Use of mod_jserv.so

2001-02-28 Thread Mike Braden

I'm pretty sure the mod_jserv for apache and the mod_jserv for Tomcat are
different.
For apache it works as a servlet container, while for Tomcat it is just a
communication link.

Download the Tomcat 3.3m1 release and use the mod_jk from it.
It's located in native/mod_jk/apache1.3

Send any errors you get to the list for assistance in fixing problems.
Make sure to make a note of the versions (OS, apache, tomcat, compiler).

One thing that will help will be first building apache from source on your
system.  Apache's
apxs is used to build mod_jk.  It's values are setup from the build, which
is why most
binary distributions of apache have problems building mod_jk.

You may also have better luck with gcc over a vendor compiler, but the
reverse may
be true for SGI.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Bush, Craig R. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 4:30 PM
To: '[EMAIL PROTECTED]'
Subject: Use of mod_jserv.so


I originally tried to install Jserv and gave up because it was simple too
complicated on my SGI IRIX machine.

However, I kept the module and want to know if I can use with in libexec
with tomcat.

If not, does anyone know how to build a new mod_jserv or mod_jk module using
the tomcat source code.  The example they gave in documentation only seems
to work for Solaris and Linux  :(

Any help would greatly be appreciated.

Craig R. Bush
Human Biological Chemistry and Genetics
University of Texas Medical Branch
409-747-6809
http://www.bioinfo.utmb.edu


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

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




RE: simple servlet setup question

2001-02-28 Thread Mike Braden

Try this:

The html file is in the jakarta-tomcat\webapps\extranet
directory, and the ExtranetServlet.class file is in the
jakarta-tomcat\webapps\extranet\classes directory,

action="servlet/ExtranetServlet"

The default for a webapps is that servlet classes are placed
webapps/myweb/WEB-INF/classes
and are called by servlet/myServlet or
http://myserver/myweb/servlet/myServlet

Remember to leave off the slash on the end.

--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Sean Hall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 4:35 PM
To: [EMAIL PROTECTED]
Subject: simple servlet setup question


Hello -
I just installed Tomcat and am trying to set up a really
simple example using a servlet to process input from an
html form, but for some reason the servlet isn't being
found.  I specify which servlet the form is submitted to
in the html file with this line:

form name="LoginExtranet" method="POST" action="ExtranetServlet"

The html file is in the jakarta-tomcat\webapps\extranet
directory, and the ExtranetServlet.class file is in the
jakarta-tomcat\webapps\extranet\classes directory, but
for some reason I get "404 file not found" instead.  Any
suggestions on where I should put the servlet so that it
is seen?

Also, I have System.out.println() calls in the init() method
of the servlet.  Where should this be output?  to the ms-dos
command prompt window or to one of the logs?  I don't see it
anywhere and init() should be invoked when tomcat is start,
correct?

Thanks so much for any help
Sean
[EMAIL PROTECTED]
_
Get your FREE download of MSN Explorer at http://explorer.msn.com


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

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




RE: Compiling mod_jk on HPUX11.00

2001-02-21 Thread Mike Braden

I was able to get mod_jk built on an hpux 11 l-class using gcc.

I wasn't able to get the dl stuff working (dlopen, dlclose, etc.).

I ended up changing a few things and removing support for JNI, which was the
only part that uses the dl stuff.  For my install, I won't use jni,
I'm using apache 1.3 and it isn't recommended anyway.

I was trying to create a build script, but with all of the changes it
doesn't look like something easy to automate.  I can clean up my notes
and send you a copy if you can get by without jni.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: John P. Dodge [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:28 AM
To: Tomcat Users Mail Liat
Subject: Compiling mod_jk on HPUX11.00


Has anyone been successfull in getting mod_jk to compile and run on
HPUX11.00. I have searched the list and found the response from "Matchim,
Brian - BOP/BDP" [EMAIL PROTECTED]. I am having problems getting
past the "dlopen - unresolved symbol" problem that Brian talks about. I am
unable to use the GCC compiler and am using the HP C compiler. Brian
mentions that "dlopen" is available for 64-bit compilers but the source
code must me modified to use the equivalent "shl_open" function for 32-bit
compilers. Does anyone have source code with this fix applied?


Thanks



"Mon aeroglisseur est plein d'anguilles"

John P. Dodge
Boeing Shared Services Group



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

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




RE: beginner of TOMCAT..help required

2001-02-20 Thread Mike Braden

In case you haven't see it yet, here is a good doc on developing with
Tomcat:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/appdev/index.html

--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Sami [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 12:44 AM
To: [EMAIL PROTECTED]
Subject: beginner of TOMCAT..help required


Hello All,
I have recently downloaded Tomcat3.1.2. I unzipped it and then started the
web server. Its up and running. Now i have written some sample servelts like
helloWorldServelt.java, firstServlet.java. I have compiled them, as
servlet.jar is in my CLASSPATH.
Now I want to I want to create a direcotry "/Sami" in  "webapp" directory"
and want to deploy my servlets over there, and want that I should be able to
execute those servlets by typing
http://localhost/Sami/..
so can anyone give me the sequence of steps  of how to manipulate all XML
files, how to add a new context and blah,blah,,,blah...
I have read the documentation on the site, but I guess that I am not ina
state of mind to pick up that kind of documentation.
I would be very much obliged to any person who helps me in doing this simple
task.
Thanx in advance
 Sami






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

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




RE: How do you get Tomcat to build the tomcat-apache.conf?

2001-02-20 Thread Mike Braden

If you are running TC3.3, then the file is not built by default.

See the readme that is in the docs directory.  You need to enable
the auto-conf in the server.xml file by adding:

ApacheConfig /

Also, the location of the files has changed to conf/jk/

Mike.
--
Mike Braden
CNE, MCP+I, MCSE, CCNA, Sun Comp 2k Enterprise  E10k

Utenzi
808 Aviation Parkway
Suite 1100
PO Box 13479
Research Triangle Park, NC 27709

[EMAIL PROTECTED]


-Original Message-
From: Clifford Lang [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 6:12 AM
To: [EMAIL PROTECTED]
Subject: RE: How do you get Tomcat to build the tomcat-apache.conf?


I have installed Tomcat on Solaris 2.7 (sparc), and NT2000 (intel), and the 
file is not created on either of those.

Do you need to install any other packages? (Ant, slide, etc)

Cliff

At 09:26 PM 2/19/2001 -0500, Stephen Aras wrote:
The file is created in the conf dir on linux.  I didn't set any switches.

-Original Message-
From: Clifford Lang [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 9:14 PM
To: [EMAIL PROTECTED]
Subject: How do you get Tomcat to build the tomcat-apache.conf?

Everything I have read says this file is built every time you startup, but
I have yet to see one created.  Is there a flag you must set?

Thanks,  Cliff


Try Ematic.com
Where everyone can buy, or sell, new or used, products online in safe and
secure manner.  Accept credit cards on your web site (no merchant account
required). Get free email, web hosting, e-commerce, affiliate program and
more at http://www.ematic.com.

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


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


Try Ematic.com
Where everyone can buy, or sell, new or used, products online in safe and
secure manner.  Accept credit cards on your web site (no merchant account
required). Get free email, web hosting, e-commerce, affiliate program and
more at http://www.ematic.com.

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

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




RE: Tomcat on HP With IAS

2001-02-16 Thread Mike Braden

Michel,

Make sure your Tomcat shutdown OK.  I've had some problems with it leaving
stuff running
which I had to kill before I could startup again.

# ps -eaf|grep java

Look for any tomcat related stuff running after you shutdown and kill the
processes.

Also, I ran into a problem the other day, I copied the Oracle jdbc classes
to the $TOMCAT_HOME/lib
directory so they would be available to all apps.  I received a similar
error.

If you've installed any classes since the install, you may want to undo the
changes to see
what the effect is.

Thanks,

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 5:45 PM
To: [EMAIL PROTECTED]
Subject: Tomcat on HP With IAS


HI, 
I did the installation of Tomcat on HP the first few step didn't give me any

problem.
1.ant distribution
2.Servlet API

the third section gave me some error, I didn't have JSSE ,
Question 1:
Is the JSSE necessary
But then i tried it again and it didn't give me any error.

Then when i run the ../build/tomcat/bin/startup.sh
I get the following message
Exception in thread "main" java.lang.NoClassDeffoundError: 
javax/servlet/jsp/JspFactory 
 at ...
 at 


Any Ideal i have the following - HP 11 , sdk 1.2.2   and IAS.

Thanks




Michel

==
Michel Knight
ITArchitecture(Oracle)group
[EMAIL PROTECTED]
(819)953-1791
==


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

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




RE: Error starting of Tomcat-4.0-b1, when using oracle-jdbc driver.

2001-02-16 Thread Mike Braden

Dieter,

I've had the same problem.  I wasn't able to fix it, but was able to
work around the problem.  I added the Oracle classes to the catalina.sh
script in the classpath.  Add them to the end of the CP= line.

# - Set Up The System Classpath
---

CP="$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/servlet.jar:$CATALIN
A_HOME/bin/naming.jar"

I haven't tried to see if they can be put in the WEB-INF/lib dir yet, that
is my next test.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Johannsmeier, Dieter [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9:54 AM
To: [EMAIL PROTECTED]
Subject: Error starting of Tomcat-4.0-b1, when using oracle-jdbc driver.


Hi, 

we have problems, when we try to start Tomcat-4.0-b1 (Catalina) including
the 
oracle-jdbc driver (classes12.jar in TOMCAT_HOME/lib). We get the following
error message:

Using CLASSPATH: ..\bin\bootstrap.jar;c:\jdk1.3\lib\tools.jar
Exception in thread "main" java.lang.IllegalArgumentException:
addRepositoryInternal: java.lang.NullPointerException
at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar
dClassLoader.java:1073)
at
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja
va:166)
at
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:122)

( We tested several oracle drivers) 

The same driver works correctly with tomcat 3.2.1. 

Can anybody help us ? 

Best regards and thanks in advance.

Dieter Johannsmeier



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

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




RE: What is open software... Sorry, could not resist...

2001-02-16 Thread Mike Braden

If I had this, I'd feel the same way. ;-) I guess it takes proprietary
products and knowledge get you there.

Of course, as complex as products are today, that's what it'd cost to
compete as well.

The real world is a tough place for sure.  Not much room for people at this
level.

===
ALLCHIN, JAMES E 
Updated 3-Jan-01 
Officer, Group Vice President, Platforms Product Group
Microsoft Corp

Nasdaq:MSFT

(historical quotes, profile, other insiders)

Reported:  27-Nov-00

Shares: Common 25,327

Value: $1,790,000 as of 27-Nov-00
Value: $1,534,000  as of 23-Jan-01



27-Nov-00 100,000 
 MSFT Exercised Options at $14.77/Share and Sold at $71.75/Share.
Proceeds of $5,698,000. 
23-Oct-00 350,000 
 MSFT Exercised Options at Average of $5.97/Share and Sold at $64.62/Share.
Proceeds of $20,528,500. 
30-Jun-00 214 
 MSFT Accrued Through Plan at $68.00/Share.
Cost of $14,552. 
11-Feb-00 200,000 
 MSFT Exercised Options at $5.97/Share and Sold at $103.94/Share.
Proceeds of $19,594,000. 
11-Feb-00 500,000 
 MSFT Proposed Sale (Form 144) of Restricted Shares.
Estimated proceeds of $50,000,000. 

===

From:

http://biz.yahoo.com/t/68/1734.html

--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 12:27 PM
To: [EMAIL PROTECTED]
Cc: Jan Labanowski
Subject: What is open software... Sorry, could not resist...


On Fri, 16 Feb 2001, GOMEZ Henri wrote:

 Sorry that you didn't understand what is OpenSource...

Here it is... Malice {:-)}.

This is a official quote by Microsoft Corp.'s
Windows operating-system chief, Jim Allchin.

"Open source is an intellectual-property destroyer.  I can't
 imagine something that could be worse than this for the software
 business and the intellectual-property business."

 "I'm an American, I believe in the American Way.  I worry if the
  government encourages open source, and I don't think we've done
  enough education of policy makers to understand the threat."


http://news.cnet.com/investor/news/newsitem/0-9900-1028-4825719-RHAT.html?ta
g=ltnc


Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163  |http://www.osc.edu/


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

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




RE: libexec directory on apache - how do I reference it.

2001-02-16 Thread Mike Braden

Did you build apache yourself or use a binary version?

I'd check to make sure DSO (modules) support is available:

# /usr/local/apache/bin/httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c
#

If you see mod_so.c, then DSO is supported and modules should
load from libexec if the path is still correct.

You can get more detailed info with some of the other commands to httpd.
Try httpd -h for a list.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Chris Richard Adams [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 5:09 PM
To: Tomcat-User (E-mail)
Subject: libexec directory on apache - how do I reference it.


I seem to have lost reference to my libexec directory in apache - this
may be a result of installing a new version of apache - v14 from v12.

I've installed apache in the same location as it comes with Redhat 6.2 -
in /etc/httpd. - but now when the libexec directory is refernced as
apache-tomcat.conf or mod_jk.conf-auto like:

LoadModule ... libexec/mod_jk.so or similar with mod_jserv I get the
error:

Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not inclu
ded in the server configuration

I can remove all content from the libexec directory and I get the same
error so i realize its not even being refernced...

What gives???

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

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




RE: Help - stuck with mod_jk

2001-02-15 Thread Mike Braden

What system are you running this on?

Is this a "first-time" setup of mod_jk?

Can you post the config for mod_jk in your apache httpd.conf and the
startup messages from Tomcat.  Log info may help as well.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Eugenio Ascoli-Bartoli [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 4:35 AM
To: [EMAIL PROTECTED]
Subject: Help - stuck with mod_jk


I am new to the list, and I am sorry for posting the same question twice,
but I am still stuck with Apache and Tomcat (using mod_jk).
I used the instructions in mod_jk.howto. I read both manual and
Tomcat-Apache HOWTO, but all the stuff related to mod_jk is in the howto
mentioned above.
Tomcat is up and running as standalone; Apache is up and running.
Configuration for mod_jk is used,mod_jk is loaded and working as I can see
from the log file, mod_jk tries to find workers in workers.properties, but
each request for virtual directories reserved to Tomcat never comes to the
tomcat engine, as there is no communication on port 8009.
Any hint would be helpful. Excuse me again and TIA.
Eugenio Ascoli-Bartoli


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

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




RE: Syntax of web.xml

2001-02-13 Thread Mike Braden

Jefferson,

Look at the Java Servlet Specification v2.2 book chapter 13 - Deployment
Descriptor.

You can get it at:

http://java.sun.com/products/servlet/download.html#specs

under 2.2 Final Release - Specification

or try

ftp://ftp.java.sun.com/pub/servlet/22final-182874/servlet2_2-spec.pdf

Mike
-- 
Mike Braden 
[EMAIL PROTECTED]

-Original Message-
From: Jefferson Oliveira Andrade [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 1:12 PM
To: Tomcat-User (E-mail)
Subject: Syntax of web.xml


Where can I find a reference of the web.xml file for Tomcat 3.2.1?
 
Thanks,
Jefferson.

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




RE: Missing mod_jserve.so file?

2001-02-07 Thread Mike Braden

It should be called mod_jserv.so, at least for Solaris and some OS's, the
.so can
be different.

The file should be located in /usr/local/apache/libexec

If it is not there, it is because your distribution does not contain it.
Assuming you already
have gcc, its not that hard to build.

You need to download the Tomcat 3.2.1 source from

http://jakarta.apache.org/site/binindex.html

The users guide has instructions for building it:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.htm
l


Mike.
-- 
Mike Braden 
[EMAIL PROTECTED]

-Original Message-
From: Rick at canoffroad.net [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 8:10 PM
To: [EMAIL PROTECTED]
Subject: Missing mod_jserve.so file?


When I try to restart apache after installing Tomcat I get an error which,
when I run configtest, shows that it can't find mod_jserve.so. I checked the
whole drive and it's nowhere to be found. (see error below)
 
[root@cr274708-a bin]# /usr/local/apache/bin/apachectl configtest
Syntax error on line 1 of /usr/local/jakarta-tomcat/conf/tomcat-apache.conf:
Cannot load /usr/local/apache/libexec/mod_jserv.so into server:
/usr/local/apache/libexec/mod_jserv.so: cannot open shared object file: No
such file or directory
[root@cr274708-a bin]# 


I installed on Redhat from the rpm. Anyone know why this is happening and/or
where I can get this file?

Rick

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




RE: trouble with mod_jk

2001-02-07 Thread Mike Braden

David,

apxs is a perl script that is part of the apache distribution,
which requires perl 5.003 (maybe 5.004) or greater.

The biggest problem seems to be that apxs assumes that Apache was built
on your system.  If you installed apache from a binary distribution,
you can run into problems because apxs pulls compiler options from
the make file in apache.  If this file was not built on your system,
you can run into problems.

Your best be it to install apache from the source.  Its not hard
to do at all and is available from http://httpd.apache.org/

Most boxes can use this to build apache:

# ./configure --prefix=/usr/local/apache --enable-module=most
--enable-shared=max
# make
# make install

The other thing to do is to clean up all of the .o and .so files
that are part of mod_jk.  If they are there from a build another
system, they may not be supported by your box.  The easiest way to
determine that is to use file:

# file mod_jserv.so
mod_jserv.so:   ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically
linked, not stripped

This shows that this library is the correct type form system ( a SPARC box
).

I've seen problems with builds including bins for linux, which show up as
x86 code.


Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Hladky, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 10:58 AM
To: [EMAIL PROTECTED]
Subject: trouble with mod_jk



All,
I have looked around on alot of the sights and I haven't seen a
whole lot of success with anybody being able to build mod_jk on any
platform.  Anyhow, I was wondering if anyone could give me a bit of
advice on building it on IRIX.  I am running into alot of the same
issues others have on the boards and I just wondered if anyone hasd
found any good solutions.

I have been using this command to send to apxs...
/usr/freeware/apache/sbin/apxs -o mod_jk.so -DIRIX -I../jk
-I/usr/java/include -I/usr/java/include/irix -c *.c ../jk/*.c

It appears to get started and then pukes at the same `jk_pool_atom_t'
line in the mod_jk.c source that I have seen a lot of FBSD and Solaris
users run into.  This is the exact output I get...

cc: unrecognized option `-n32'
cc: unrecognized option `-KPIC'
In file included from ../jk/jk_util.h:66,
 from mod_jk.c:90:
../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:679: (Each undeclared identifier is reported only once
mod_jk.c:679: for each function it appears in.)
mod_jk.c:679: parse error before `buf'
mod_jk.c:680: `buf' undeclared (first use in this function)
mod_jk.c: At top level:
mod_jk.c:931: warning: excess elements in struct initializer
mod_jk.c:931: warning: (near initialization for `jk_module')
mod_jk.c:932: warning: excess elements in struct initializer
mod_jk.c:932: warning: (near initialization for `jk_module')
mod_jk.c:933: warning: excess elements in struct initializer
mod_jk.c:933: warning: (near initialization for `jk_module')
mod_jk.c:934: warning: excess elements in struct initializer
mod_jk.c:934: warning: (near initialization for `jk_module')
mod_jk.c:938: warning: excess elements in struct initializer
mod_jk.c:938: warning: (near initialization for `jk_module')
apxs:Break: Command failed with rc=1

I would be forever in the debt of someone who could give a relative
newby a hand in figuring
out why this blows up so badly.  Or if there is a different version I
could try to make it work.

Thanks
--
---
David J. Hladky [EMAIL PROTECTED]
Software Engineer
---




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

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




RE: still having some trouble with mod_jk on SGI

2001-02-07 Thread Mike Braden

David,

What compiler are you using?

It sounds like compiling apache worked OK, right?

Looks like your complier is choking on these options:

cc: unrecognized option `-n32'
cc: unrecognized option `-KPIC

Did your compiler build apache with the above flags w/o error?

Have you tried gcc?

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Hladky, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 2:16 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: still having some trouble with mod_jk on SGI


Mike and Others,
Thanks for the info this morning on building it locally.  That
appears to have gotten me going in the right direction. I doesn't error
code rc=1 now.  I am still not getting it compile the shared object though.
As far as the libraries I jsut simply took my old apache
and re-named it to old.  Question though?  Could I build mod_jk when
I compile apache rather than waiting until after it is built.  If   so,
where would I place the jk source and libraries?  Probably can't but, just a
thought?

Anyway, if anybody can help.  I hae the text of the output I am
getting so that someone who knows more than me can have a peak.

indigo% /usr/local/apache/bin/apxs -o mod_jk.so -DIRIX -I../jk
-I/usr/java/include -I/usr/java/include/irix -c *.c ../jk/*.c
cc -DIRIX -n32 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -KPIC
-DSHARED_MODULE -I/usr/local/apache/include -I../jk -   I/usr/java/include
-I/usr/java/include/irix -DIRIX  -c mod_jk.c
cc: unrecognized option `-n32'
cc: unrecognized option `-KPIC'
In file included from ../jk/jk_util.h:66,
 from mod_jk.c:90:
../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this
function)
mod_jk.c:679: (Each undeclared identifier is reported only once
mod_jk.c:679: for each function it appears in.)
mod_jk.c:679: parse error before `buf'
mod_jk.c:680: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=65536

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




RE: TOMCAT/Apache jk

2001-02-01 Thread Mike Braden

Nadia,

I'm not sure about Digital Unix, but the first line should be the library
file, which is usually a shared object library (Sun=.so, HPUX=.sl) i.e.
LoadModule   jk_module   libexec/mod_jk.so

 LoadModule   jk_module   libexec/mod_jk.c
 AddModulemod_jk.c


Also, make sure that mod_jk is built for your system.  Did you compile
mod_jk or get the binary from somewhere?

Check /usr/local/libexec to make sure the object file is there and that it
is the correct type.

# file /usr/local/libexec/mod_status.so
/usr/local/libexec/mod_status.so:   ELF 32-bit LSB dynamic lib 80386
Version 1, dynamically linked, not stripped

Make sure the file type reported back matches other libraries on your system
(the architecture is the same).  If it is wrong, then the file is not being
built correctly.

Thanks,

Mike.

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




RE: canĀ“t build mod_jk under AIX :-(((

2001-02-01 Thread Mike Braden

Have you compiled other code with gcc?

I have seen similar errors on HPUX.

I know that on HPUX, you also have to have GNU bin utils, which provides the
assembler and some other utils required to compile source.

Hope this helps.

Thanks,

Mike.

-Original Message-
From: rainer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 12:15 PM
To: [EMAIL PROTECTED]
Subject: cant build mod_jk under AIX :-(((


hi there!

i work on AIX 4.3.3 and with apache 1.13.14 and need zu build a mod_jk
but it doesnt work. i am using java 1.3.0.
when i execute the apxs-tool described in the mod_jk-howto the linker
reports an error and stops.
/usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/usr/java130/include -c
*.c ../jk/*.c

it seems the gcc works fine, but then it happens:

ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:/usr/local/apache/libexec/http
d.exp -lc -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o
jk_sockbuf.o jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o
mod_jk.o
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=8

im not very fluent in compiling and linking. Please, can somebody help me.
i already searched in this archive for solutions; some people got also
problems with building the module, but no one used AIX.

regards,
boris

ps: please cc me in an answering mail
[EMAIL PROTECTED]







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

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




RE: Apache to Tomcat Connector Problem

2001-02-01 Thread Mike Braden

John,

Make sure that you clean out all of the .o files before you build.  You can
run a make clean to remove the files from the apache-1.3 dir, but I believe
it also uses .o files from webapplib dir.  You'll have to remove them
manually because I don't think there is a clean in that Makefile.

The easiest way to tell if the files are OK is to do a file on them:

# file mod_webapp.so
mod_webapp.so:  ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically
linked, not stripped

This was the problem with running it on my sparc box.

Thanks,

Mike.

 
-Original Message-
From: John McKim [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 8:56 PM
To: '[EMAIL PROTECTED]'
Subject: Apache to Tomcat Connector Problem


I'm having a problem with setting up the connection to apache.  I use the
directions  at the bottom of the file "server.xml" in the
build/tomcat-4.0/conf directory.  I build the module mod_webapp.so ok and
move it to the apache libexec directory.  When I start apache I get the
error: Cannot load /usr/local/apache/bin/libexec/mod_webapp.so into server:
undefined symbol: ap_ctx_get.

Not quite sure what I am doing wrong.  Any help will be greatly appreciated.

Configuration:
-  tomcat-4.0-src-20010130
-  jakarta-servletapi-4.0-20010130
-  apache-1.3.17
-  jdk1.3.0_01

Thanks,
John

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

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




RE: Integrating Tomcat and Apache

2001-02-01 Thread Mike Braden

If you download and build the apache source on your box, it will
build (configure) apxs correctly for you and you won't have to make any
changes.

Thanks,

Mike.


-Original Message-
From: Alessandra Furlan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 1:12 PM
To: [EMAIL PROTECTED]
Subject: Integrating Tomcat and Apache


Hi everybody,

I'm trying to integrate Tomcat and Apache! I
downloaded Tomcat source code in a source directory
and I'm trying to execute :

$ apxs -c -o mod_jserv.so *.c 

Platform is Sun Solaris 2.7 and I just have GCC
compiler. How should I modify apxs script to have it
executing succesfully?

My apxs is:

my $CFG_TARGET= q(httpd);
my $CFG_CC= q(cc -O -xildoff  -DMACHINE64 
-DNO_RC2 -DNO_RC5 -DNO_IDEA -DBSAFE -KPIC);   

my $CFG_CFLAGS= q( -DSOLARIS2=260
-DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL
_SSI -I/include -DEAPI -DUSE_EXPAT -I../lib/expat-lite
`../apaci`);  
my $CFG_CFLAGS_SHLIB  = q(-KPIC -DSHARED_MODULE); 

my $CFG_LD_SHLIB  = q(ld); 
my $CFG_LDFLAGS_SHLIB = q(-G);
my $CFG_LIBS_SHLIB= q();
my $CFG_PREFIX=
q(/u00/app/ora9ias/product/8.1.6/Apache/Apache);
my $CFG_SBINDIR   =
q(/u00/app/ora9ias/product/8.1.6/Apache/Apache/bin);
my $CFG_INCLUDEDIR= q(/include);
my $CFG_LIBEXECDIR=
q(/u00/app/ora9ias/product/8.1.6/Apache/Apache/libexec);
 
my $CFG_SYSCONFDIR=
q(/u00/app/ora9ias/product/8.1.6/Apache/Apache/conf);


Any other advices?? Please, send answers directly to
me! I'm not subscribed to this list!!

Thanks in advance!!

Alessandra Furlan



O YAHOO! GEOCITIES CHEGOU AO BRASIL!
Crie sua home page com tudo em portugus - http://br.geocities.com

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

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




RE: problem building mod_jserv

2001-01-30 Thread Mike Braden

What version of Perl are you running?  apxs is a perl script.

Check the version with:

# perl -v

I had a similar problem with a system, it turned out that it was running
perl 4.x.

I upgraded to perl 5.6.0 (5.00 something is required) and it worked OK.

You can also check the apxs script to make sure it has your perl in the
right place.  Do a "which perl" and make sure that the #! at the top is
right.

Thanks,

Mike.
--
Mike Braden

[EMAIL PROTECTED]


-Original Message-
From: Ben Walls [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 11:47 AM
To: [EMAIL PROTECTED]
Subject: problem building mod_jserv


Hi,

Im trying to build mod_jserv.so for Sun OS 5.6, using the command suggested
in "Tomcat a minimalist guide" - namely "apxs -c -o mod_jserv.so *.c".

This builds away happily until I get the following error message:

apxs:Break: Command failed with rc=-256

Can anyone help expain what this means, and how to get round it?

Many thanks,
Ben


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

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




RE: Compile Problems (mod_jk.so)

2001-01-30 Thread Mike Braden

Phillip,

I posted this under another thread and wanted to make sure you saw it just
in case it helps.



What version of Perl are you running?  apxs is a perl script.

Check the version with:

# perl -v

I had a similar problem with a system, it turned out that it was running
perl 4.x.

I upgraded to perl 5.6.0 (5.00 something is required) and it worked OK.

You can also check the apxs script to make sure it has your perl in the
right place.  Do a "which perl" and make sure that the #! at the top is
right.

Thanks,

Mike.
--
Mike Braden

[EMAIL PROTECTED]


-Original Message-
From: Phillip Kuzma [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 2:53 PM
To: Tomcat List
Subject: Compile Problems (mod_jk.so)


Whenever I build mod_jk.so with apxs i get this problem!  Can someone
please help!
Thank-you
Phil

[root@Fileserver apache1.3]# apxs -o mod_jk.so -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c *.c ../jk/*.c

gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c mod_jk.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_ajp12_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_ajp13.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_ajp13_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_connect.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_jni_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_lb_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_map.c
../jk/jk_map.c:468:1: warning: no newline at end of file
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_msg_buff.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_nwmain.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_pool.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_sockbuf.c
../jk/jk_sockbuf.c:214:1: warning: no newline at end of file
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_uri_worker_map.c
../jk/jk_uri_worker_map.c:438:1: warning: no newline at end of file
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_util.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux  -c
../jk/jk_worker.c
In file included from ../jk/jk_worker.c:63:
../jk/jk_worker_list.h:126:36: warning: no newline at end of file
  -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
jk_ajp12_worker.o mod_jk.o
apxs:Break: Command failed with rc=255
[root@Fileserver apache1.3]#



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

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




RE: Corrupted files on jakarta server ?

2001-01-19 Thread Mike Braden

I had the same problem with Tomcat 4.  It looks like there are problems with
files in the docs/user configuration area.  I just forced tar to extract the
files (-i) and checked to see where the errors were.  It seems to function
OK, but it would be nice to get it fixed.

Thanks,

Mike.
--
Mike Braden
CNE, MCP+I, MCSE, CCNA, Sun Comp 2k Enterprise  E10k

Utenzi
808 Aviation Parkway
Suite 1100
PO Box 13479
Research Triangle Park, NC 27709

[EMAIL PROTECTED]


-Original Message-
From: Ludovic Maitre [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 6:43 AM
To: [EMAIL PROTECTED]
Subject: Corrupted files on jakarta server ?


Hello, 
if have problems to retrieve tomcat 3.2.1 on the Jakarta website
(http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/). I have
downloaded it by three time and (.Z, .2 times .gz and one time .zip) and
with the tar extraced form .Z and .gz i have always the same message
during the extraction :
x
jakarta-tomcat-3.2.1-src/src/webpages/docs/api/javax/servlet/http/class-use/
HttpServletRequest.html,
13710 bytes, 27 tape blocks
tar: directory checksum error  

I have downloaded Tomcat with wget and Netscape and nothing seems wrong
(no apparent problem during transfert, good size for the recepted
files).

Could somebody explain me what is wrong ?

By the way is it possible to place signatures files with the
distibutions ? With it it will be possible to test the integrity of the
recepted files.

thanks per advance,
-- 
 [EMAIL PROTECTED]

 INRIA - 2004 route des lucioles - BP 93Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)Fax: (33/0) 4 92 38 76 02

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

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