RE: jk2 shm property

2004-05-19 Thread Adam Fowler
> [shm]
> file=/var/log/apache/inet/jk2.shm
> ...
> can someone explain me if the share memory descriptor is mandatory and
> what's best practice about using it's attributes in a jk2 newbie user 
> language :-)

I'm not sure whether its mandatory but when I've used jk2 on my linux system
if I haven't had this property then JK2 fails to function correctly. I
always figured it was my fault for not including the shm block! 8o)

Adam.


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



RE: Integrating James with Tomcat

2004-05-19 Thread Adam Fowler
Hi,

You should probably also forward this request for help to the following
mailing list (after subscribing, naturally):

[EMAIL PROTECTED]

As they're more likely to know about this process.

Adam.

> -Original Message-
> From: FIOL.BONNIN [mailto:[EMAIL PROTECTED]
> Sent: 19 May 2004 10:40
> To: [EMAIL PROTECTED]
> Subject: Integrating James with Tomcat
> 
> 
> Hello,
> 
> I have found instructions to integrate James within JBoss on the
> following page:
> http://wiki.apache.org/james/Embedded
> 
> However, my knowledge about JMX is very limited, so I do not 
> know how to
> adapt those instructions to Tomcat.
> 
> Any hints or pointers?
> 
> Thank you very much.
> 
> 
> Antonio Fiol
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



RE: mail server / relay

2004-05-17 Thread Adam Fowler


> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
...
> A module for receiving a message by mail?  I don't know.  I imagine
> that's not too hard to write, you read an XML string, parse it however
> you want (SAX, DOM, JDOM, Digester, and on and on and on goes 
> the list),
> and store the right properties into a DB.

You could use James with a 'Mailet' to receive the E-mail, parse it, then
save its information in a DB. Although this may be a bit of a heavyweight
solution for you.

http://james.apache.org

Adam.

_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



RE: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Adam Fowler
I think (hope) he means one apache httpd instance load balancing to several
tomcat instances. Your guess as to what he means is as good as mine tho! 8o)

Adam.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 16:36
To: Tomcat Users List
Subject: RE: Session sharing/load balancing multiple tomcat instances
W/O Apache Web Server



Hola,

>Is this possible to do?  I've configured load balancing with apache and
>that worked as desired, but since then I've determined that the apache
>server was unnecessary in my configuration.  If it is possible, can you
>please provide a sample jk2.properties file, or at least step me in the
>right direction.

How did you determine Apache is not necessary when you're load-balancing
with mod_jk2 which requires Apache? ;)  

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



RE: context.xml - what's the secret?

2004-03-25 Thread Adam Fowler
Try putting it in WEB-INF instead of META-INF

Adam.

-Original Message-
From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 12:45
To: '[EMAIL PROTECTED]'
Subject: context.xml - what's the secret?


Hello all,
 
Let me first say that I am using Tomcat 4.1.30 and have an existing
application that is working properly.  I decided that I would like to
explore putting the context element for my web application in a
myWebapp/META-INF/context.xml file instead of in my server.xml file.  The
existing configuration currently works and defines both a dbcp connection
pool and a mail session.
 
After removing this context element from my server.xml file and placing it
into the context.xml file, my application no longer works.  What did I miss?
I am using the ant install and deploy tasks to deploy/install this simple
application.
 
I receive the following exception (keep in mind that my previous
configuration works and that my JDBC driver is in the common/lib dir):
 
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null', cause:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav
a:743)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:5
18)
at hibernateapp.DBTest.init(DBTest.java:24)
.
.
.
 
Regards,
 
Joshua
 
 


This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all
copies.


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



RE: method="post" but doGet() called -> external redirects

2004-03-24 Thread Adam Fowler
I am assuming you have a servlet at /mycontext-app/ ?

Can't you just map the servlet instead to /mycontext ?

Or am I missing something?

Alternatively, is it possible to change your clients to add that extra / so:
/mycontext/?x=a

Adam.

-Original Message-
From: Liviu Ionescu [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 11:51
To: 'Tomcat Users List'
Subject: RE: method="post" but doGet() called -> external redirects


> When Tomcat sees a request for 
> 'http://localhost:8080/mycontext' it sends back a response to 
> redirect to 'http://localhost:8080/mycontext/'.  This is so 
> that relative links to things like images and stylesheets 
> work correctly. If the browser conformed to the HTTP/1.1 RFC, 
> it would re-request the new URL with a POST, but I don't know 
> of any browsers that do this.

would it be possible to add a configuration parameter to certain contexts so
that the external redirects are replaced by internal forwardings?

I have a m2m application where the clients are not browsers, but simple
dedicated devices that do not implement redirects, and their standard way of
accessing the server is .../mycontext?x=a, so without a trailing '/'.

Since I could not find a url rewrite mechanism, like in Apache, I had to use
a dirty trick, I renamed my context to mycontext-app and I wrote a servlet
in the root context to forward requests from "/mycontext" to
"/mycontext-app/" (beware that .forward() is usually called in the current
context, if another context is needed it should be retrieved first)

having the rewrite done directly by Tomcat (is the DefaultServlet handling
this?) would be a more appropriate solution, imho.

regards,

Liviu


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


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



RE: HTTP Status 404 -- Please Help

2004-03-24 Thread Adam Fowler
That path should actually have your context path in it. I.e. "/" not ""

Adam.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 11:36
To: Tomcat Users List
Subject: Re: HTTP Status 404 -- Please Help


I have add the line  to server.xml, but it
still doesn't work, what do I need to do more for set the context.

And please give me more information about the second point you state as I
have no idea what is that.

- Original Message - 
From: "Adam Fowler" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 7:15 PM
Subject: RE: HTTP Status 404 -- Please Help


> Aye,
>
> Just set up a context in Tomcat that points to the same directory as
Apache
> is using.
>
> WARNING: Be sure to add a  Directive in Apache to Deny anyone
> from accessing the WEB-INF directory where your web.xml file (amongst
other
> things) are kept.
>
> Adam.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 24 March 2004 11:10
> To: Tomcat Users List
> Subject: Re: HTTP Status 404 -- Please Help
>
>
> thx, I want to install JSP on my Apache document directory, is it
possible.
> sorry I am newbie in JSP, please explain me more detail about what I have
> done wrong.
>
> - Original Message - 
> From: "staf wagemakers" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 24, 2004 6:55 PM
> Subject: Re: HTTP Status 404 -- Please Help
>
>
> > you've to install the jsp in tomcat not in the apache docroot.
> >
> > --
> > Staf Wagemakers
> >
> > email: staf at patat.org
> > homepage: http://staf.patat.org
> >
> >
> > On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
> > > I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
> > >
> > > However, I got the following error when try to run a test.jsp.
> > >
> > > HTTP Status 404 - /test.jsp
> > >
> > > type Status report
> > >
> > > message /test.jsp
> > >
> > > description The requested resource (/test1.jsp) is not available.
> > > Apache Tomcat/5.0.19
> > >
> > > Here is my setting:
> > >
> > > *workers2.properties*
> >
>
> --
> --
> > > 
> > > [shm]
> > > file=/usr/local/apache2/logs/shm.file
> > > size=1048576
> > >
> > > [workerEnv:]
> > > info=Global server options
> > > timing=1
> > > debug=0
> > >
> > > # socket channel
> > > [channel.socket:localhost:8009]
> > > port=8009
> > > host=127.0.0.1
> > >
> > > # worker for the connector
> > > [ajp13:localhost:8009]
> > > channel=channel.socket:localhost:8009
> > >
> > > # Uri mapping
> > >
> > > [uri:/*.jsp]
> > > worker=ajp13:localhost:8009
> > >
> > > [uri:/*.do]
> > > worker=ajp13:localhost:8009
> > >
> > > [uri:/servlet/*]
> > > worker=ajp13:localhost:8009
> >
>
> --
> --
> > > -
> > > And I added the following line to server.xml
> > >  > >enableLookups="false" redirectPort="8443" debug="0"
> > >protocol="AJP/1.3" />
> > >  > > reloadable="true" crossContext="true"/>
> >
>
> --
> --
> > > -
> > > And Load JK2 module to http.conf
> > >
> > > LoadModule jk2_module modules/mod_jk2.so
> >
>
> --
> --
> > > 
> > >
> > > Then I make a test.jsp to my apache2 htdocs root which is
> > > /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp
> > >
> > > It returns me the HTTP Status 404.
> > >
> > > Please help me on that, do I miss something?
> > >
> > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-ma

RE: HTTP Status 404 -- Please Help

2004-03-24 Thread Adam Fowler
Aye,

Just set up a context in Tomcat that points to the same directory as Apache
is using.

WARNING: Be sure to add a  Directive in Apache to Deny anyone
from accessing the WEB-INF directory where your web.xml file (amongst other
things) are kept.

Adam.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 11:10
To: Tomcat Users List
Subject: Re: HTTP Status 404 -- Please Help


thx, I want to install JSP on my Apache document directory, is it possible.
sorry I am newbie in JSP, please explain me more detail about what I have
done wrong.

- Original Message - 
From: "staf wagemakers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 6:55 PM
Subject: Re: HTTP Status 404 -- Please Help


> you've to install the jsp in tomcat not in the apache docroot.
>
> --
> Staf Wagemakers
>
> email: staf at patat.org
> homepage: http://staf.patat.org
>
>
> On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
> > I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
> >
> > However, I got the following error when try to run a test.jsp.
> >
> > HTTP Status 404 - /test.jsp
> >
> > type Status report
> >
> > message /test.jsp
> >
> > description The requested resource (/test1.jsp) is not available.
> > Apache Tomcat/5.0.19
> >
> > Here is my setting:
> >
> > *workers2.properties*
>
> --
--
> > 
> > [shm]
> > file=/usr/local/apache2/logs/shm.file
> > size=1048576
> >
> > [workerEnv:]
> > info=Global server options
> > timing=1
> > debug=0
> >
> > # socket channel
> > [channel.socket:localhost:8009]
> > port=8009
> > host=127.0.0.1
> >
> > # worker for the connector
> > [ajp13:localhost:8009]
> > channel=channel.socket:localhost:8009
> >
> > # Uri mapping
> >
> > [uri:/*.jsp]
> > worker=ajp13:localhost:8009
> >
> > [uri:/*.do]
> > worker=ajp13:localhost:8009
> >
> > [uri:/servlet/*]
> > worker=ajp13:localhost:8009
>
> --
--
> > -
> > And I added the following line to server.xml
> >  >enableLookups="false" redirectPort="8443" debug="0"
> >protocol="AJP/1.3" />
> >  > reloadable="true" crossContext="true"/>
>
> --
--
> > -
> > And Load JK2 module to http.conf
> >
> > LoadModule jk2_module modules/mod_jk2.so
>
> --
--
> > 
> >
> > Then I make a test.jsp to my apache2 htdocs root which is
> > /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp
> >
> > It returns me the HTTP Status 404.
> >
> > Please help me on that, do I miss something?
> >
> >
> >
> >
> > -
> > 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]


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



RE: Bind webapp to virtual host

2004-03-22 Thread Adam Fowler
Not sure if its been asked before but...

JBoss has the file:

jboss/server/default/deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml

that contains the Tomcat server.xml file. Just edit this and add two Host
entries as described here:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html

If you want that deployed you'd prolly have to create a modified
jbossweb-tomcat.sar file and deploy that. I'm afraid I have no idea how to
do this (yet, I have to do this soon at work!)

Hope that helps (and works, else I'm stuffed!).

Adam.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 22 March 2004 17:12
To: [EMAIL PROTECTED]
Subject: Bind webapp to virtual host


Hi all,

Sorry if this has been asked a million times before. 

Is it possible to bind a webapp to a specific virtualhost. So something 
like:

www.myhost1.com ---> /webapp1.war
www.myhost2.com ---> /webapp2.war

And if so, how can this be achieved? Especially, if I use the integrated 
Tomcat in JBoss (3.2.3) and the packages are in an ear file.

So something like this:

www.myhost1.com ---> /myear.ear/webapp1.war

Regards,

Harm de Laat
Informatiefabriek
The netherlands.


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



RE: Connector build error

2004-03-22 Thread Adam Fowler
Hi,

This made me a bit miffed too. The developers have changed the
jk/native2/README.txt to explain how to do it natively. Here is the post to
the dev list below.

If you get some annoying message saying "could not find library -lapr-0"
then fear not. You either:
a) edit the jk/native2/server/apache2/Makefile file. Line 57 I think where
it says "-lapr-0" and change it to "-lapr". then run make again.
b) Install libapr-0.

I chose the first option and it worked fine. It puts the so file in
/build/jk2/apach2/ tho so be warned. Its a horrible horrible hack but it
will allegedly be fixed in the upcoming 2.0.4 release.

Adam.

"
Information on building mod_jk2:

  Starting with 2.0.4, APR is mandatory for jk2. For Apache 2.0
  or greater jk2 will use APR that was used to build Apache 2.0.
  For Apache 1.3, jk2 must build APR and APR_UTIL from source. 

DSO build instructions for Unix-like systems:

  The compiler used to build jk2 must match the one used to build
  Apache. You may need to set an environment variable before 
  configuring such as CC=cc. `apxs -q CC` will tell you what 
  compiler was used for Apache.

  The most straightforward way to configure jk2 is to use apxs 
  that comes with Apache. Linux distributions may need to have 
  additional rpm's installed such as Apache2 devel rpm, 
  httpd-devel or apache2-devel or for Apache 13, Apache devel 
  rpm, httpd-devel or apache-devel depending on your 
  distribution.

  Example Apache2 build and install:

cd jakarta-tomcat-connectors/jk/native2
./configure --with-apxs2=/your/path/to/apxs
make
cd ../build/jk2/apache2
apxs -n jk2 -i mod_jk2.so

  Example Apache13 build and install:

apr and apr-util will be configured and built for you while
configuring and building jk2. There is no need to separately
configure and build them. 

  cd jakarta-tomcat-connectors/jk/native2
  ./configure --with-apxs=/your/path/to/apxs \
  --with-apr=/your/path/to/apr-source \
  --with-apr-util=/your/path/to/apr-util-source
  make
  cd ../build/jk2/apache13
  apxs -n jk2 -i mod_jk2.so

NOTE: pthread support may be automatically detected and built
into apr. If apache13 was not built with pthread support, you
can either disable it by adding --disable-apr-threads while
configuring, or load the pthread library in httpd.conf using
the LoadFile directive.

  Optional configure arguments (for 1.3 and 2.0):

If you want to have JNI support, add --with-jni and be sure
to have the JAVA_HOME environment variable point to your Java
Environment. This will build inprocess jni support into
mod_jk2.so and additionally build libjkjni.so. libjkjni.so
can be used by tomcat to provide support for channel unix and
should be installed in the apache libexec dir. Use 
`apxs -q LIBEXECDIR` if you are unsure of its location. 
Libjkjni.so will be located in the same directory as 
mod_jk2.so after building with this option.

If you want to have PCRE (Perl Compatible Regular
Expressions) support for jk2 uri directives, add --with-pcre
while configuring.
"

-Original Message-
From: Rick Lutowski [mailto:[EMAIL PROTECTED]
Sent: 22 March 2004 17:01
To: Tomcat Users List
Subject: Connector build error


Am trying to build the .so connector to integrate tomcat 4.1.30
with apache 2.0.48 on debian linux.  Both tomcat and apache are
up and running just fine individually, but need a mod_jk2.so
Ajp13 connector to get a servlet working.

The current connectors source distribution 
jakarta-tomcat-connectors-jk2-2.0.2-src
fails as follows:

--

$ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk
jk$ ant
Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

prepare:

BUILD FAILED
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j
k2-2.0.2-src/jk/build.xml:105: Warning: Could not find file
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j
k2-2.0.2-src/coyote/build/lib/tomcat-coyote.jar to copy.

---

Sure enough, build/lib does not contain any tomcat-coyote.jar file.
In fact, lib is totally empty.  The current connector source distro
appears to be missing some needed files.

Well, all I need is the binary connector, so let's just try:



jk$ ant native
Buildfile: build.xml

jkant:

BUILD FAILED
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j
k2-2.0.2-src/jk/build.xml:232: srcdir
"/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-
jk2-2.0.2-src/jk/jkant/java" does not exist!



Turns out it is looking for a file jkant/java/ant.tasks,
which also does not exist in the current distro.

Can anyone supply
1. tomcat-coyote.jar
2. ant.tasks
 
or, better stiil

3. A complete version of the connectors source distro that works?

Thanks very much.

PS: apache 2.0.48 built flawlessl

RE: Configuration Help

2004-03-22 Thread Adam Fowler
400 Bad request
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Generally Tomcat generates error HTML pages that have "Apache Tomcat" in
hge letters at the top, so you should be getting them if its Tomcats
fault.

If you're using a URL like http://wibble.com/mydir then ensure you have
configured the context to be /mydir and NOT /mydir/ 

As an aside, you can change the URL Tomcat uses to send back error info by
adding the appropriate  tags in your server.xml.

Hope that helps,

Regards,

Adam.

-Original Message-
From: Adrian Lanning [mailto:[EMAIL PROTECTED]
Sent: 22 March 2004 15:15
To: Tomcat Users List
Subject: Re: Configuration Help


Hey Dave,

I'm a little fuzzy on my errors.  Is 400 from iis or tomcat?  Does tomcat
work with the urls in standalone mode?

Adrian

- Original Message - 
From: "LILES, DAVID (CONTRACTOR)" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 9:17 AM
Subject: Configuration Help


For over a week I have been unable to get Tomcat 5 configured with IIS 5.

I know the Tomcat server is working because I can get to the management
console from the IP address:8080 and the two example web apps are working,
both from the IP address:8080/servlet-examle  and without the port...

I have created a web app instance which I can access from the IP
address:8080/webapp and IP address/webapp, but when I attempt to access it
from the URL I get a 400 error.

In the server.xml file the  tag is configured to use the IP address
of the server and one  tag is set to the IP address. I have a second
 tag that is set to the URL I want to serve.

Can anyone help explain what I need to do in order to access the web app by
the URL?

In IIS I have configured the isapi_redirector2.dll at the root server level
and in the web app I'm trying to get working I created a virtual directory
named "jakarta". I have made all the necessary registry entries required to
support the .dll.

Thanks,
Dave

-
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: Ant and Tomcat Manager over HTTPS

2004-03-22 Thread Adam Fowler
I had this problem using Ant's SCP task.

I believe (Feel free to shoot me down people) you will need to import the
site's certificate into your certificate store manually before connecting.
Unless of course there's an 'accept all certificates' flag for that task in
Ant.

Regards,

Adam.

-Original Message-
From: Harry Mantheakis [mailto:[EMAIL PROTECTED]
Sent: 22 March 2004 15:02
To: Tomcat Users List
Subject: Re: Ant and Tomcat Manager over HTTPS


Hi Phil

> Firstly, it would be nice if you could start your own thread next time
> instead of hijacking an existing one with your question.

I am sorry you thought I had hijacked a thread - I thought I had started a
new one! (Did you have a thread with the same subject name?)

> As for your problem: is SSL not working altogether or is it just ant
> complaining? Can you access the manager via a browser using https?

Just Ant complaining, with the exception I mentioned:

javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException:
No trusted certificate found

I can access the manager via SSL with my browser. That all works fine.

Ant is unhappy.

Kind regards

Harry


-
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: How do you change the port Tomcat listens to

2003-01-21 Thread Adam Fowler
Hello,

Sounds like you've got a version of Log4J that Tomcat doesn't like. 
You've probably upgraded one of them without upgrading the other. It 
sounds like a Java error where the version of Log that Log4J implements 
is not the one Tomcat is using.

I'd reccommend making sure you have two versions that work together. The 
two latest stable ones should work. (Disclaimer: I haven't tried it, so 
don't sure me if it doesn't!)

Hope that helps,

Adam.

Collins, Jim wrote:
Hi,

I thought this subject might at least get some response. Has anyone ever had
or know anything about the following error I have started getting from
Tomcat? It cause Tomcat to crash and I then need to restart Tomcat. 

 
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not 
implement Log
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
FactoryImpl.java:530)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Log
FactoryImpl.java:285)
at 

org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
at
org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHandler.java:97)
at org.apache.tomcat.util.log.Log.log(Log.java:198)
at org.apache.tomcat.util.log.Log.log(Log.java:192)
at org.apache.tomcat.util.log.Log.log(Log.java:174)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:536)
at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not 
implement Log
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:415)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
FactoryImpl.java:523)
... 8 more
Caused by: 
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:411)
... 9 more
 
 


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: WHERE TO PUT APPLET .CLASS FILES

2002-04-04 Thread ADAM FOWLER



> The same applet works from other sources without a
> problem.

Would I be right in thinking that "other sources" means embedding an
 or  tag in a HTML page?

I don't think your browser would be able to download and run the applet (As
after all applets are ran on the CLIENT(browser) not on the SERVER (Tomcat))
as the webapp directory under which your applet class file is stored cannot
be viewed externally from the server. This is to ensure security of all code
and files stored in the webapps directory. If you want a browser to be able
to download and execute the applet then put the class file in a public
directory and have your servlet generate html for the  or 
tag pointing to its location.

If on the other hand you're talking about a servlet using the code within an
applet then I think you may run into trouble as the class would inherit from
JApplet or Applet. It might work if it is found in the classpath, but I'm
doubtful. Just do a copy/paste of the vital code if this is what you're
doing.

Of course I could have completely mis-interpretted what you meant! =o)

Hope that helps,

Adam.


|  Adam Fowler |
| Third year undergraduate  | TomcatBook Project   |
| Computer Science  | Author and Administrator |
| University of Wales, Aberystwyth  | http://tomcatbook.sourceforge.net|
| Web: http://users.aber.ac.uk/aff9 | [EMAIL PROTECTED]   |




>
> Suggestions would be greatly appreciated.
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: INSTALLING TOMCAT - PART II

2002-01-28 Thread ADAM FOWLER

http://tomcatbook.sourceforge.net

Adam.

- Original Message - 
From: "Rafael" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 2:10 PM
Subject: Re: INSTALLING TOMCAT - PART II


> Okey..
> 
> Lets start now the second part of this issue.
> 
> I've installed TOMCAT (downloaded from
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/ and I saw on
> the documentation that I'm supposed to run the
> CATALINA_HOME/bin/./startup.sh
> 
> Well I did it.
> 
> and look what I got back:
> 
> root@omega:~/jakarta-tomcat-4.0/bin# ./startup.sh
> Using CATALINA_BASE:   /root/jakarta-tomcat-4.0
> Using CATALINA_HOME:   /root/jakarta-tomcat-4.0
> Using CATALINA_TMPDIR: /root/jakarta-tomcat-4.0/temp
> Using JAVA_HOME:   /etc/jdk1.3.1_02
> root@omega:~/jakarta-tomcat-4.0/bin#
> 
> Is it running?? How can I know?? grep tomcat doesnt show anything..
> 
> I'm still needing help, thank you all for helping me!
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Mod_webapp configuration

2001-11-03 Thread Adam Fowler

Hello,

OK Pier - I'll take a look, but I'm not promising anything.

I need to get more familiar with TC4 and its bits anyway. 8o)

Cheers,

Adam.

On Sat, 2001-11-03 at 02:58, Pier Fumagalli wrote:
> (Ok, today I _have_ to say this :) There is no time frame... Some of the
> code is already there (like, Apache already knows whether he should serve a
> file or delegate its execution to the servlet container). If it itches you
> scratch it :) :) Meaning, you're more than welcome to figure out how it
> works and send a patch to the tomcat-dev mailing list...
> 
> ATM, I'm way more interested in figuring out how to remove the concept of
>  from the WebApp portion of Tomcat, allowing you to deploy application
> to a container without having to configure virtual hosts both in httpd.conf
> and server.xml... That's my itch :) :)
> 
> Pier
> 
> Parashar, Hitesh at [EMAIL PROTECTED] wrote:
> 
> > What is the time-frame for this change to be in?
> > 
> >> It will be supported in upcoming releases by mod_webapp, all static content
> >> (so the one not associated with a filter, with a servlet, or with security
> >> constraints) will be served automagically by Apache.
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
-- 

--
-
|  Adam Fowler 
|
| Third year undergraduate  | TomcatBook Project   
|
| Computer Science  | Author and Administrator 
|
| University of Wales, Aberystwyth  | http://tomcatbook.sourceforge.net
|
| Web: http://users.aber.ac.uk/aff9 | E-mail: [EMAIL PROTECTED] 
|
-



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Mod_webapp configuration

2001-11-02 Thread Adam Fowler

Hello,

Take a look at TC4's server.xml and uncomment the ajp13 lines. Now
install mod_jk as per TC3.2 docs. It *should* work although I've never
tried it.

Why not use mod_webapp???

Adam.

On Fri, 2001-11-02 at 22:58, Cracauer, David D. wrote:
> I'm lost.  I'm gonna go look for some docs...
> I assume you don't connect it to the warp connector. Is there a ajp12 or 13
> connector that I am missing?
> 
> -Original Message-
> From: Steve Brunton [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 02, 2001 4:48 PM
> To: Tomcat Users List
> Subject: Re: Mod_webapp configuration
> 
> 
> "Cracauer, David D." wrote:
> > 
> > Can mod_jk be used with Tomcat 4?
> > 
> 
> 
>  I sure hope so. I've got it running with 4.0.1
> 
-- 

--
---------
|  Adam Fowler 
|
| Third year undergraduate  | TomcatBook Project   
|
| Computer Science  | Author and Administrator 
|
| University of Wales, Aberystwyth  | http://tomcatbook.sourceforge.net
|
| Web: http://users.aber.ac.uk/aff9 | E-mail: [EMAIL PROTECTED] 
|
-



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Upgrading from Tomcat 3.x to Tomcat 4

2001-10-27 Thread Adam Fowler

Hi,

Have a read of the information in Tomcat 4's Server.xml file. Its basic, but 
covers it.

I'll get my appendix on this finished ASAP.

Adam.


Tomcat-Book project
http://tomcatbook.sourceforge.net


On Saturday 27 October 2001 20:02, you wrote:
> Hi,
>
> I was wondering about upgrading my Tomcat 3.x + Apache 1.3 server to
> use Tomcat 4, but i didn't find how to connect Tomcat 4 to Apache. It does
> not have a conf file to include in apache configuration, etc.
> How can i do that?
>
> ---
> Joao Carlos
> [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail: 
>  For additional
> commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: IIS and Tomcat

2001-07-24 Thread Adam Fowler

Windoze = pants
IIS = pants
Tomcat = amazing 8o)

windoze + iis + tomcat = amazing sitting on two pairs of pants...not 
gonna work really is it 8o) He he.

Just use Mandrake - much better Penguins 8o)

Adam.

John Baker wrote:

> On Tuesday 24 July 2001 17:13 pm, you wrote:
> 
>> Hi all,
>> 
>> I don't know why ppl have issues with IIS. I followed the jakarta docs
>> to the ltter and had it working within an hour!
>> 
> 
> Ahh, I havent downloaded the Win32 version yet. I'm just wondering if there 
> were known issues.
> 
> And my main issue with IIS is the fact it's totally insecure. And if it isn't 
> IIS, it's IE. If it isn't IE it's Windows. 
> 
> John




Re: IIS and Tomcat

2001-07-24 Thread Adam Fowler

Hi all,

I don't know why ppl have issues with IIS. I followed the jakarta docs 
to the ltter and had it working within an hour!

Adam.

John Baker wrote:

> Hello.
> 
> Anyone got a handy url of 'how to get tomcat 4 working with IIS'?
> 
> I actually hate IIS, but I'm being forced to do this. Sob.
> 
> 
> John Baker




Re: mod_jk.so for linux

2001-07-19 Thread Adam Fowler

Hi,

How many times do I have to post this in one week??? 8o)

http://willow.cc.edu/adminguide
http://users.aber.ac.uk/aff9

or for a list of builds of mod_jk I have:-
http://users.aber.ac.uk/aff9/tomcat/tomcat-3.2/

JDK 1.3.0 can be found at
http://users.aber.ac.uk/pms

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Thursday 19 July 2001 20:50, you wrote:
> Lally, Keith R wrote:
> > Where does one get the mod_jk.so binary for linux?
>
> This is the only one I could find:
>
>
> http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/linux/i3
>86/mod_jk.so
>
> although I think I tried this one and it didn't work. Ended up compiling
> it from source, which (I think) is included with Tomcat source.
>
> John

-- 



Re: problem with webapp_module and redhat 7.1/apache 1.3-tomcat4.0b5

2001-07-18 Thread Adam Fowler

*on the trail*

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 


On Thursday 19 July 2001 06:32, you wrote:
> Me too,
> Exact same error on SuSE 7.1, so I await a response :-).
>
> On Wednesday 18 July 2001 19:30, you wrote:
> > hi there,
> >
> > trying to build mod_webapp.so module for the apache1.3 / tomcat 4.0b5
> > integration, the following error occures, after building the module
> > successfully and trying to start apache:
> >
> > # /etc/init.d/httpd start
> > Starting httpd: Syntax error on line 5 of /etc/httpd/conf/httpd.conf:
> > Cannot load /etc/httpd/modules/mod_webapp.so into server:
> > /etc/httpd/modules/mod_webapp.so: undefined symbol: pthread_sigmask
> >[FAILED]
> >
> > the miracle is, that, whenever i make clean everything and rebuild the
> > whole module (including apr recompile) the file size differs.
> >
> > My best guess is that the EXTRA_LIBS from APRVARS are not being linked
> > into the server. but why?
> >
> > That is a guess however.
> > can anyone help me?
> >
> > cu,
> > michael.



Re: Tomcat 4.0b5/Apache/mod_webapps/JSP - NO GO!

2001-07-18 Thread Adam Fowler

Hi,

AFAIK (memory lapses are usual!)

WARP is for apache 2.0
mod_webapp is for 1.3.x

Install instructions are in server.xml. You'll need to do something special 
to apache, it is detailed in server.xml

I'm having this trouble too, and I need to write a chapter on the damned 
thing!

Adam.

---- 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Wednesday 18 July 2001 19:41, you wrote:
> Help!  I didn't get any response to my first query, and am running into
> a solid wall, so I'll try again...
>
> Is ANYBODY successfully using Tomcat 4.0b5 with Apache and mod_webapps??
> If so, can you send me your httpd.conf and server.xml (and anything else
> that might be useful) ??  I'd be happy just to get the examples working
> through Apache!!
>
> We can't get JSP's to work thorough a Warp connector to Apache.  They work
> fine through port 8080 and Catalina's built-in web server, but not through
> Apache.
>
> I can't find any online help for getting mod_webapps to work,
> other than comments in the code.  The first sections of the Tomcat 4.x
> documentation on Installation are BLANK.
>
> By hook or by crook, we have gotten Apache and Tomcat running with
> mod_webapps and are able to serve static content through the Tomcat default
> servlet, but JSP's DON'T WORK!!
>
> When a browser requests a JSP page, the java source is built and compiled
> (the files built are identical to those built when the page is requested
> through port 8080) - but Apache hands nothing back to the web browser -
> Netscape displays a
>
> "Document contains no data"
>
> dialog.
>
> Any help or ideas would be appreciated.  Apache and Tomcat log files show
> no error messages or  unusual content.
>
> Thanks,
> Mark
>
> --
> Mark Dzmura
> Digital Mission LLC



Re: Starting apache and Tomcat

2001-07-18 Thread Adam Fowler

Hi,

Download the source and run the makefile for your system to build your 
mod_jk. Should work first time *gasp*

Instructions at:-
http://willow.cc.edu/adminguide
or
http://users.aber.ac.uk/aff9

Adam.

On Wednesday 18 July 2001 14:42, you wrote:
> Nance, Michael wrote:
> > I have seen this asked before but have not seen an answer.
> > When I try to start apache with mod_jk I get the error
> >
> > ... fatal: relocation error ...
> > /mod_jk.so: symbol fdatasync: referenced symbol not found
> >
> > What is wrong?
> >
> > Thanks
>
> Do you have the correct mod_jk.so for your system? Are you missing any
> libs that mod_jk.so is trying to reference? Not really sure what the
> problem is. Sounds like you would have to get a hold of the source for
> mod_jk.so and run it through a debugger.
>
> I am using mod_jk.so on a RedHat 6.2 and it works fine.



Re: JDK 1.3.0...

2001-07-17 Thread Adam Fowler

Excellent, thanks guys I'll put that info on my site 8o)

Adam.

On Tuesday 17 July 2001 14:37, you wrote:
> Or go to the archive at http://java.sun.com/products/archive/index.html
>
> -Original Message-
> From: Everitt, Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 10:35 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: JDK 1.3.0...
>
>
> All olg JDKs are available on the Sun site, you just have to know where to
> look, try going to:
> http://java.sun.com/j2se/1.3.0/
>
> Cheers,
> Andi
> 
> Andrew Everitt
> Xerox Mobile Solutions, Cambridge. UK
>
> > -Original Message-
> > From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
> > Sent: 17 July 2001 14:05
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: JDK 1.3.0...
> >
> >
> > I have 1.3.0_02 for linux if you want - or anyone else for
> > that matter.
> >
> > [dim@dim dim]$ java -version
> > java version "1.3.0_02"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> > Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
> > [dim@dim dim]$
> >
> > cheesr
> > dim
> >
> > On Tue, 17 Jul 2001, Adam Fowler wrote:
> > > Hey all,
> > >
> > > Sorry about sending this from a non-subscribed account -
> >
> > I'm at work 8o)
> >
> > > I know a few people were looking for Java 2 SDK version 1.3
> >
> > as opposed to
> >
> > > 1.3.1. A friend of mine, Paul, has the Windows install at
> > > http://users.aber.ac.uk/pms/jdk/index.html if anyone wants
> >
> > it. I'm still
> >
> > > looking for the linux version to put up.
> > >
> > > Hope this helps,
> > >
> > > Adam.
> > >
> > > 
> > > Adam Fowler
> > > Help Desk Live Project
> > > Information Services
> > > University of Wales, Aberystwyth
> > > E-mail: [EMAIL PROTECTED]
> > > 



Re: JDK 1.3.0...

2001-07-17 Thread Adam Fowler

That'd be great 8o)

Adam.

On Tuesday 17 July 2001 13:05, you wrote:
> I have 1.3.0_02 for linux if you want - or anyone else for that matter.
>
> [dim@dim dim]$ java -version
> java version "1.3.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
> [dim@dim dim]$
>
> cheesr
> dim
>
> On Tue, 17 Jul 2001, Adam Fowler wrote:
> > Hey all,
> >
> > Sorry about sending this from a non-subscribed account - I'm at work 8o)
> >
> > I know a few people were looking for Java 2 SDK version 1.3 as opposed to
> > 1.3.1. A friend of mine, Paul, has the Windows install at
> > http://users.aber.ac.uk/pms/jdk/index.html if anyone wants it. I'm still
> > looking for the linux version to put up.
> >
> > Hope this helps,
> >
> > Adam.
> >
> > 
> > Adam Fowler
> > Help Desk Live Project
> > Information Services
> > University of Wales, Aberystwyth
> > E-mail: [EMAIL PROTECTED]
> > 



Re: grand prix rules

2001-07-16 Thread Adam Fowler

WTF? :-

Adam.

On Monday 16 July 2001 22:31, you wrote:
> Hi Tracy, I got a question for you.
> In the grand prix rules under rule 11 it says
>
> "Scores will be tabulated based upon that competitor's best 5 event scores"
> Does that mean that no matter how many grand prix events you go to only 5
> will be taken into account ??
>
> Thanks
>
> Gustavo E Tenrreiro
>
> [EMAIL PROTECTED]
>
> work: (650) 228-2861
> cell  : (408) 373-8595
> home: (408) 225-7097



Re: ad!!!

2001-07-14 Thread Adam Fowler

??? yes???

On Wednesday 11 July 2001 21:36, you wrote:
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/



Re: SSI

2001-07-14 Thread Adam Fowler

Hi,

You'll need to rebuild your mod_jk/mod_jserv for debian.

Instructions are available at http://willow.cc.edu/adminguide
or http://users.aber.ac.uk/aff9

mod_jserv will work with tc 3.2.x and (I think) with 3.3. But not 4.0

Adam.

---- 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 


On Friday 13 July 2001 09:51, you wrote:
> I've tried to get ssi working on Apache/Tomcat combo running Debian Linux
> with no luck.  Does anyone know if the old Apache JservSSI jar file and the
> mod_jserv_tomcat.so still work with the latest versions of Apache/Tomcat? 
> Can't get past LoadModule errors on the .so -- it says it's garbled and may
> not be a valid DSO.



Re: jsse??

2001-07-14 Thread Adam Fowler

Hi,

By default tomcat is not built with JSSE. 

If you want to use SSL use need JSSE. To do this download the source and JSSE 
jars from Sun and follow ssl-howto.

Adam.

On Friday 13 July 2001 13:33, you wrote:
> Hi there,
> How can I config to build Tomcat 3.2.2 without the JSSE?
>
> Thanks!
> Yue



Re: error page has different session in some cases. why?

2001-07-14 Thread Adam Fowler

Hi,

You could catch the exception in forwardTest.jsp, set the attributes in the 
catch clause, then rethrow the exception.

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 


On Saturday 14 July 2001 01:55, you wrote:
> Hello,
>
> I wrote a 'LoginServlet' which forwards a request to 'forwardTest.jsp'.
> If any exception is thrown inside 'forwardTest.jsp', I pass error context
> to the 'error.jsp' page.
> Before writing a real program, I wrote a very simple test program, which
> were attached with this email.
>
> Everything works fine except the error page.
> Since I needed to pass some information of 'forwardTest.jsp' to
> 'error.jsp', I used session to store the informtion as an object named
> 'context'. Then, 'error.jsp' will call 'session.getAttribute("context")' to
> get 'context'. However, in some cases, session of 'error.jsp' is different
> from session of 'forwardTest.jsp' and 'LoginServlet', so
> 'session.getAttribute("context")' returns null, which is not good and I
> don't know why 'error.jsp' uses a different session in some cases.
>
> How I can solve this situation?
> (I think I can pass 'context' object from 'forwardTest.jsp' to
> 'error.jsp' using 'request.setAttribute("context", context)' but I am not
> sure whether this kind of approach is valid with other JSP/Servlet
> containers.)
>
> Thank you,
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> The following is my approaches:
> (Please, read the program at the end of this email first...)
>
> -- with LINE (A) ---
> doGet : 5koh27xub1
> ForwardTest.jsp : 5koh27xub1
> Error.jsp : 78h6nzxuc1 ---> why does this page uses a different
> session?
> Context is null
> -- pressed Ctrl-R 
> doGet : 1fpwtdxux1
> ForwardTest.jsp : 1fpwtdxux1
> Error.jsp : yg3in1xux2
> Context is null
>
> - removed LINE (A), compiled and deployed, and restarted Tomcat ---
> doGet : 3weph8xx11
> ForwardTest.jsp : 3weph8xx11
> Error.jsp : nmsi0cxx31---> This is not very good situation, either.
> Context is nullWithout LINE (A), only the first try
> will fail.
> -- pressed Ctrl-R  And I don't know why.
> doGet : nmsi0cxx31
> ForwardTest.jsp : nmsi0cxx31
> Error.jsp : nmsi0cxx31
> Context is java.lang.Object@24c4a3
> -- pressed Ctrl-R 
> doGet : nmsi0cxx31
> ForwardTest.jsp : nmsi0cxx31
> Error.jsp : nmsi0cxx31
> Context is java.lang.Object@69c82e
>
> -- instead of accessing LoginServlet, --
> -- I typed ../jsp/test/forwardTest.jsp -
> -- and this worked as I had expected -
> ForwardTest.jsp : upfvmyxyh1
> ** new session
> Error.jsp : upfvmyxyh1
> Context is java.lang.Object@1fc2fb
> -- pressed Ctrl-R 
> ForwardTest.jsp : upfvmyxyh1
> Error.jsp : upfvmyxyh1
> Context is java.lang.Object@3fea1d
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>  SOURCE CODE
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> -=-=-=-=-=-=-=-= LoginServlet.java -=-=-=-=-=-=-=-=-=-=-=-=
> package whatever;
>
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
>
> public class LoginServlet extends HttpServlet
> {
> public void doGet(HttpServletRequest req, HttpServletResponse resp)
>   throws ServletException, IOException
> {
> req.getSession().invalidate();  // LINE (A)
>
> HttpSession session = req.getSession();
> session.setAttribute("user", "something");
>
> System.out.println("doGet : " + session.getId());
>
> try
> {
> forward(req, resp, "/jsp/test/forwardTest.jsp");
> }
> catch (Exception e)
> {
> e.printStackTrace();
> }
> }
>
> protected void forward(HttpServletRequest req,
>HttpServletResponse resp,
>String file) throws ServletException,
> IOException {
> getServletConfig().getServletContext()
>   .getRequestDispatcher(file)
>   .forward(req, resp);
> }
> }
>
> -=-=-=-=-=-=-=-=-=-= FORWARD.JSP -=-=-=-=-=-=-=-=-=-=-=

Re: Simple ajp13 question

2001-07-14 Thread Adam Fowler

Hi,

You will need to make sure that the commands to start/stop tomcat are in the 
script (On my mandrake system it points to /etc/rc.d/init.d/httpd )

I made my own script to start tomcat on boot. It should be up at 
http://willow.cc.edu/adminguide or http://users.aber.ac.uk/aff9

Its for mandrake and is used for a bizarre install so you'll need to change 
the paths in the script, but it works fine.

Full instructions should be up too. E-mail me if they are not.

Adam.

---- 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 


On Friday 13 July 2001 18:53, you wrote:
> All:
>
> Linux 7.1 Redhat, tomcat 3.2.2.
>
> Question:
>
> With the ajp13 working correctly tomcat should start from within the
>
> S85httpd start script and shutdown accordingly ?
>
> Any known problems ?
>
> D.


Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 




Re: java.lang.SecurityException: sealing violation?

2001-07-14 Thread Adam Fowler

Hi,

Oh dear. TOMCAT IS A JAVA APPLICATION!!!

The only time you should need to recompile it is if you want to use JSSE (For 
SSL)

You might want to recompile mod_jk or the like, but thats completely 
different.

You may be getting an error as you do not have the correct privileges to 
execute the commands in the script. (If it needs to access something from the 
JDK in Security)

Why didn't tomcat work the first time??? Its all very well complaining about 
it but if you don't give precise details about OS/Tomcat/JDK versions and 
what happened then we can't help.

Post exact details and I'll take a look.

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 


On Friday 13 July 2001 18:45, you wrote:
> Okay, I gave up on my tomcat installation. I wiped
> everything clean and then got all the source in the
> hopes that it might work better if I compiled
> vs. dropping binaries.
>
> So, there are many confusing aspects of the
> installation instructions regarding building the
> source. Seems like maybe the docs don't match up with
> the behavior of the current releases?
>
> Anyway, I plodded thru, I think I got everything
> straight. BUT, when I run startup.sh, I get the
> following:
>
> java.lang.SecurityException: sealing violation
>
> I followed the install instructions that came with the
> JSSE from Sun. Have no idea what this error means.
>
> Can anyone help?
>
> Thanks.
>
>  - Jeremy



Re: please help(isapi_redirector and virtual host)

2001-07-14 Thread Adam Fowler

Hi,

I have no idea why u can't get it (try resting cursor over hyperlink in index 
page and see if its pointing to wrong URL - may be your webserver is 
asserting a different domain)..ok, so I lied.

A HTTP 200 response though indicates success!!! Which is quite strange.

Hope that helps,
Adam.

---- 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Friday 13 July 2001 16:42, you wrote:
> Same to me.  I hosts three sites with IIS on Windows 2000 and configured
> the filter for one site (or for all at  machine level).  I can browse the
> http://localhost//examples/jsp/index.html once after IIS restarts and
> iis_redirect.log show read ok status, but unable to execute the examples.
> Then following up requests shown 404 error without any  message in
> iis_redirect.log.
>
> Sometimes after tomcat restarts , the
> http://localhost//examples/jsp/index.html  does not show and iis_w3srvc
> reports GET /jakarta/isapi_redirect.dll error 200 in log even I rechecked
> the execute permission for both the virtual directory /jakarta/ and the
> physical file.
>
> Any help will be appreciate by me too,
> Baohua
>
> - Original Message -
> From: "Dhwani K. Bhayani" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 2:17 AM
> Subject: please help(isapi_redirector and virtual host)
>
> > hi!
> > I have installed Tomcat 3.2.1 on Windows 2000 and configured everything
> > as
> > instructed in IIS-howto pages and also did what ever required after
> > reading the archives at this site.I can access by local http://127.
> > 0.0.1:8080/examples/jsp/index.html and all jsp and servlets.But
> > I want to configure for www.concept.com i.e for virtual host,so I
> > installed isapi-filter and it also shows green up pointing arrow.
> > I checked
> > the registries also.I am getting 404 error but noting got solved
> > after reading each and every problem posted on this site.Please anyone
> > can help me
> > out.I have also added in server.xml the following lines:
> > 
> > > docBase="/office/inetpub/wwwroot/cway" debug="0"
> >  reloadable="true" />
> >
> > 
> > and in uriworkermap.properties:
> > /*.jsp=ajp12
> > The uriworkermap-auto.properties file shows also
> > ###
> > # Auto generated configuration. Dated: Thu Jul 12 15:48:58 GMT+05:
> > 30 2001
> > ###
> >
> > #
> > # Default worker to be used through our mappings
> > #
> > default.worker=ajp12
> >
> > #
> > # Root context mounts for Tomcat
> > #
> > /servlet/*=$(default.worker)
> > /*.jsp=$(default.worker)
> >
> > But when I execuet jsp it shows code in browser and servlet it gives
> > 404 error.I have stored jsp in C:/office/inetpub/wwwroot/cway what
> > I need to do.I cannot execute through localhost also as instructed
> > in docs but can access through 127.0.0.1:8080
> > Please help me
> > Dhwani



Re: java-linux-tomcat configuration problem

2001-07-14 Thread Adam Fowler

Hi,

Many ppl using 1.3.1 specifically have noted huge memory usage increases 
(leaks) which either take a long time to clean themselves up or are permanent.

The issue has been reported by ppl using JNI, tomcat, app contexts etc etc so 
is a JDK bug.

Sun still haven't fixed it (I just checked) Maybe 1.4 fixes it, but that is 
still in Beta so I wouldn't use it on a deployed platform just yet.

Apparently using 1.3 fixes it, but its a real pain to find. Sun don't 
actually advertise its whereabouts on their site.

The blackdown JDK doesn't seem to have this problem so you could try that (I 
don't know where it can be found)

Hope that helps,

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Friday 13 July 2001 16:33, you wrote:
> What is the infamous bug for jdk?
>
> Thanks!
> Dan
>
>
> From: Adam Fowler <[EMAIL PROTECTED]>
>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: java-linux-tomcat configuration problem
> >Date: Thu, 12 Jul 2001 22:09:53 +
> >
> >Hi,
> >
> >You have two versions of httpd running!?! Make sure that if you have two
> >version using tomcat then you have two tomcat's running. That might answer
> >it.
> >
> >Otherwise it might be the infamous bug to do with the 1.3.1 JDK (although,
> >again, I had no problems on Mandrake! Must be the pretty penguins) You
> > ould try the 1.3 JDK (if u can find it!) or *cringe* the 1.4 JDK -
> > although not supported.
> >
> >Adam.
> >
> >On Thursday 12 July 2001 13:01, you wrote:
> > > Hello again:
> > >
> > > Quick thanks for your responses  .. now more background, as requested.
> > >
> > > a) The contexts that I am running are the ones that came with apache,
> > > outlined in server.xml.  I was able to start up those instances with
> > > jre (but not the example jsps, another problem).
> > >
> > > b) I am running Red Hat 6.2.
> > >
> > > c) I am using Sun's jdk 1.3.1
> > >
> > > d)  Adam, here is the top and ps -x output (the java threads are
> > > towards the end in ps -x, and are at the top of "top"):
> > >   PID TTY  STAT   TIME COMMAND
> > > 1 ?S  0:02 init
> > > 2 ?SW 0:00 [kflushd]
> > > 3 ?SW 0:01 [kupdate]
> > > 4 ?SW 0:00 [kpiod]
> > > 5 ?SW 0:00 [kswapd]
> > > 6 ?SW<0:00 [mdrecoveryd]
> > > 7 ?SW<0:00 [raid1d]
> > > 8 ?SW<0:00 [raid1d]
> > > 9 ?SW<0:00 [raid1d]
> > >10 ?SW<0:00 [raid1d]
> > >   171 ?S  0:00 syslogd -m 0
> > >   180 ?S  0:00 klogd
> > >   209 ?S  0:00 /usr/sausalito/sbin/cced
> > >   586 ?S  0:00 crond
> > >   598 ?S  0:00 inetd
> > >   628 ?S  0:00 named
> > >   644 ?S  0:00 /usr/sbin/dhcpd -q eth0
> > >   649 ?S  0:01 /usr/sbin/ahttpd -f
> >
> >/etc/admserv/conf/httpd.conf
> >
> > >   673 ?S  0:01 /usr/sbin/httpd -f
> > > /etc/httpd/conf/httpd.conf 705 ?S  0:00 sendmail: accepting
> > > connections
> > >   717 ?S  0:00 sh /usr/bin/safe_mysqld
> >
> >--datadir=/var/lib/mysql
> >
> > > --pi
> > >   784 ?S  0:00 /usr/sbin/atalkd
> > >   807 ?S  0:00 smbd -D
> > >   816 ?S  0:00 nmbd -D
> > >   825 ?S  0:00 /sbin/lcdsleep
> > >   867 ?S  0:00 /sbin/consoled /sbin/getty ttyS0 115200
> > >   904 ?S  0:00 /usr/sbin/afpd -U uams_clrtxt.so,uams_dhx.so
> >
> >-g
> >
> > > guest
> > > 1353 ?S  0:00 in.telnetd: 10.6.18.30
> > > 1354 pts/0S  0:00 login -- admin
> > > 1758 ?S  0:00 in.telnetd: 10.6.18.30
> > > 1759 pts/1S  0:00 login -- admin
> > > 1793 pts/1S  0:00 su
> > > 1794 pts/1S  0:00 bash
> > > 1952 ?S  0:00 smbd -D
> > > 2283 pts/0S  0:00 su
> > > 2284 pts/0S  0:00 bash
> > > 2403 pts/0R  2:07
> >
> >/usr/java/jdk1.3.1/bin/i386/native_threads/java
> >
> > > -Dtom
> > > 2448 pts/0S  0:00
&g

Re: SSL IE Problem

2001-07-13 Thread Adam Fowler

Hi,

If u have IE5.0 then upgrade to 5.1 - It's a known bug. Sourceforge is always 
complaining about it.

Adam.

On Friday 13 July 2001 05:11, you wrote:
> Hi ,
>   I am using Apache 1.3.2 as my webserver with ssl certificate . It works in
> all the browsers except IE which has 128bit chipher strength.. any iidea
> why this is creating a problem?
>
> prakash



Re: to compile or not

2001-07-13 Thread Adam Fowler

Hi,

As tomcat is written in Java and runs on 1.3.1 I would think that it wouldn't 
make a difference. Of course, if it was compiled with 1.2.2 and there's some 
extremely weird error then you might be write.

I still don't understand why ppl are getting a memory leak error. It seems to 
happen on all boxes but to few ppl.

Has anyone actually traced this error to a specific area? Is it mod_jk usage 
only? (works on mine) Is it OS specific(doubt it) It seems to be on both 
tomcat 4.0 and 3.2. Which points toward the JDK.

Of course, you could always download the blackdown JDK (never thought I'd say 
that!) and see if it works. As all JDKs must follow the same spec then it 
should work fine and provide the functionality your need.

Keep me posted if you figure it out 8o)

Adam.

 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Thursday 12 July 2001 20:12, you wrote:
> I sent out a message before in regards to my copy of
> Tomcat 4.0b5 and Sun Java 1.3.1 on a Sun Solaris box
> running Solaris 8, where Tomcat will just stop after a
> while.  The only response I received was that it's
> possible the VM was buggy.  Since 1.3.1 is the only
> version of Java 1.3 that Sun has available, and I need
> the support it provides, I can't do much about that if
> it's true.  Is there any advantages to compiling
> Tomcat on my Sun box from scratch, rather than to just
> use the precompiled binaries?  Thanks.
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

-- 




Re: IIS and Tomcat 3.3

2001-07-12 Thread Adam Fowler

Hi,

Toward the bottom of your isapi.log it says "ajp23" did you make a typo when 
changing between ajp12/ajp13?

Adam.

On Thursday 12 July 2001 12:50, you wrote:
> Here is the registry settings for ISAPI rediector from a .reg file:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web
> Server\1.3.14]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> Redirector]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> Redirector\1.0]
> "extension_uri"="/jakarta/isapi_redirect.dll"
> "log_file"="C:\\tomcat\\logs\\isapi.log"
> "log_level"="debug"
> "worker_file"="C:\\tomcat\\conf\\jk\\workers.properties"
> "worker_mount_file"="C:\\tomcat\\conf\\jk\\uriworkermap.properties"
>
>
>
>
> Regards,
> -Ruairi
>
> 
> Ruairi O'Donnell
> Rutland Systems www.rutlands.com
> Alcalde Lorenzo 16 2A Tel +34 981 884108
> 15220 Bertamirans, Ames   Fax +34 981 884108
> Spain  Mobile +44 7801141801
> 
>
> The contents of this message should be read in conjunction
> with the document found at:
> http://www.rutlands.com/signature.htm
>
> -Original Message-
> From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
> Sent: 12 July 2001 12:47
> To: [EMAIL PROTECTED]
> Subject: RE: IIS and Tomcat 3.3
>
> >I have setup Tomcat to work with Apache and it is fine.  I try
> >to use IIS and it does not work.
>
> The latest millenium (M4) get its IIS code from jakarta-tomcat-connectors.
> But from what I see in logs I'll be for a configuration mistake.
>
> Could you send the IIS config files ?)
>
> >Does anyone have any suggestion? (The Registry entriesare 100%
> >correct!)
> >
> >
> >
> >I have read the How-To many times trying to figure out where I
> >am wrong.  I
> >have looked at the logs for any meaning.  As far as I can see the ISAPI
> >redircetor starts and picks up all the uri_worker_maps but
> >then when I try
> >to bwoser a Tomcat page through IIS it gives me a 404 error.
> >Again I have
> >looked at the ISAPI Redirector logs and it seems to pick up
> >that it is a
> >Servlet directory and sends the request to ajp12.  But the
> >ajp12 does not
> >find the file.
> >
> >Here is an example for this request:
> >http://localhost/examples/jsp/index.html
> >
> >-Ruairi
> >
> >ISAPI.log for the above request:
> >[jk_isapi_plugin.c (408)]: HttpFilterProc started
> >[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
> >/examples/jsp/index.html
> >[jk_uri_worker_map.c (345)]: Into
> >jk_uri_worker_map_t::map_uri_to_worker
> >[jk_uri_worker_map.c (407)]:
> >jk_uri_worker_map_t::map_uri_to_worker, Found a
> >match ajp12
> >[jk_isapi_plugin.c (439)]: HttpFilterProc
> >[/examples/jsp/index.html] is a
> >servlet url - should redirect to ajp12
> >[jk_isapi_plugin.c (461)]: HttpFilterProc check if
> >[/examples/jsp/index.html] is points to the web-inf directory
> >[jk_isapi_plugin.c (408)]: HttpFilterProc started
> >[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
> >/jakarta/isapi_redirect.dll
> >[jk_uri_worker_map.c (345)]: Into
> >jk_uri_worker_map_t::map_uri_to_worker
> >[jk_uri_worker_map.c (435)]:
> >jk_uri_worker_map_t::map_uri_to_worker, done
> >without a match
> >[jk_isapi_plugin.c (452)]: HttpFilterProc
> >[/jakarta/isapi_redirect.dll] is
> >not a servlet url
> >[jk_isapi_plugin.c (461)]: HttpFilterProc check if
> >[/jakarta/isapi_redirect.dll] is points to the web-inf directory
> >[jk_isapi_plugin.c (517)]: HttpExtensionProc started
> >[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
> >[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
> >[jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for
> >name ajp12
> >[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
> >[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
> >[jk_connect.c (108)]: Into jk_open_socket
> >[jk_connect.c (115)]: jk_open_socket, try to connect socket = 2680
> >[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
> >[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
> >[jk_connect.c (140)]: jk_open_socket, return, sd = 2680
> >[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2680
> >[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
> >[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the
> >ajp12 start
> >sequence
> >[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
> >[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the
> >terminating
> >mark
> >[jk_ajp12_worker.c (477)]: ajpv12_handle_request done
> >[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
> >[jk_ajp12_worker.c (493)]: Into ajpv12_handle_response
> >[

Re: java-linux-tomcat configuration problem

2001-07-12 Thread Adam Fowler

Hi,

You have two versions of httpd running!?! Make sure that if you have two 
version using tomcat then you have two tomcat's running. That might answer it.

Otherwise it might be the infamous bug to do with the 1.3.1 JDK (although, 
again, I had no problems on Mandrake! Must be the pretty penguins) You ould 
try the 1.3 JDK (if u can find it!) or *cringe* the 1.4 JDK - although not 
supported.

Adam.

On Thursday 12 July 2001 13:01, you wrote:
> Hello again:
>
> Quick thanks for your responses  .. now more background, as requested.
>
> a) The contexts that I am running are the ones that came with apache,
> outlined in server.xml.  I was able to start up those instances with jre
> (but not the example jsps, another problem).
>
> b) I am running Red Hat 6.2.
>
> c) I am using Sun's jdk 1.3.1
>
> d)  Adam, here is the top and ps -x output (the java threads are towards
> the end in ps -x, and are at the top of "top"):
>   PID TTY  STAT   TIME COMMAND
> 1 ?S  0:02 init
> 2 ?SW 0:00 [kflushd]
> 3 ?SW 0:01 [kupdate]
> 4 ?SW 0:00 [kpiod]
> 5 ?SW 0:00 [kswapd]
> 6 ?SW<0:00 [mdrecoveryd]
> 7 ?SW<0:00 [raid1d]
> 8 ?SW<0:00 [raid1d]
> 9 ?SW<0:00 [raid1d]
>10 ?SW<0:00 [raid1d]
>   171 ?S  0:00 syslogd -m 0
>   180 ?S  0:00 klogd
>   209 ?S  0:00 /usr/sausalito/sbin/cced
>   586 ?S  0:00 crond
>   598 ?S  0:00 inetd
>   628 ?S  0:00 named
>   644 ?S  0:00 /usr/sbin/dhcpd -q eth0
>   649 ?S  0:01 /usr/sbin/ahttpd -f /etc/admserv/conf/httpd.conf
>   673 ?S  0:01 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
>   705 ?S  0:00 sendmail: accepting connections
>   717 ?S  0:00 sh /usr/bin/safe_mysqld --datadir=/var/lib/mysql
> --pi
>   784 ?S  0:00 /usr/sbin/atalkd
>   807 ?S  0:00 smbd -D
>   816 ?S  0:00 nmbd -D
>   825 ?S  0:00 /sbin/lcdsleep
>   867 ?S  0:00 /sbin/consoled /sbin/getty ttyS0 115200
>   904 ?S  0:00 /usr/sbin/afpd -U uams_clrtxt.so,uams_dhx.so -g
> guest
> 1353 ?S  0:00 in.telnetd: 10.6.18.30
> 1354 pts/0S  0:00 login -- admin
> 1758 ?S  0:00 in.telnetd: 10.6.18.30
> 1759 pts/1S  0:00 login -- admin
> 1793 pts/1S  0:00 su
> 1794 pts/1S  0:00 bash
> 1952 ?S  0:00 smbd -D
> 2283 pts/0S  0:00 su
> 2284 pts/0S  0:00 bash
> 2403 pts/0R  2:07 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2448 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2449 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2450 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2451 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2452 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2453 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2454 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2455 pts/0S  0:00 /usr/java/jdk1.3.1/bin/i386/native_threads/java
> -Dtom
> 2552 pts/1R  0:00 ps -x
> 2553 pts/1R  0:00 bash
>
>   PID USER PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
> 2403 root  11   0  8868 8868  4728 R   0 94.8  6.9   0:17 java
> 2456 root   1   0   872  872   680 R   0  0.7  0.6   0:00 top
> 1 root   0   0   480  480   416 S   0  0.0  0.3   0:02 init
> 2 root   0   0 00 0 SW  0  0.0  0.0   0:00 kflushd
> 3 root   0   0 00 0 SW  0  0.0  0.0   0:01 kupdate
> 4 root   0   0 00 0 SW  0  0.0  0.0   0:00 kpiod
> 5 root   0   0 00 0 SW  0  0.0  0.0   0:00 kswapd
> 6 root -20 -20 00 0 SW< 0  0.0  0.0   0:00
> mdrecoveryd
> 7 root -20 -20 00 0 SW< 0  0.0  0.0   0:00 raid1d
> 8 root -20 -20 00 0 SW< 0  0.0  0.0   0:00 raid1d
> 9 root -20 -20 00 0 SW< 0  0.0  0.0   0:00 raid1d
>10 root -20 -20 00 0 SW< 0  0.0  0.0   0:00 raid1d
>   171 root   0   0   488  484   396 S   0  0.0  0.3   0:00 syslogd
>   180 root   0   0   708  704   328 S   0  0.0  0.5   0:00 klogd
>   209 root   0   0  1040 1040   524 S   0  0.0  0.8   0:00 cced
>   586 root   0   0

Re: Fwd: NoClassDefFound

2001-07-12 Thread Adam Fowler

Hi,

Weird!!!

You can always use the Class class' getInstance(String className) method to 
get a copy of your class.

Adam.

On Thursday 12 July 2001 11:19, you wrote:
> [Argh! I cant get a single mail to go to the mailing list, I wonder if this
> one does!:) ]
>
>
> Hello.
>
> Anyone ever experiences a problem where by if you try to run a Thread from
> an object implementing ServletContextListener (ie it's used to perform
> 'startup' stuff), the Thread is unable to find classes (complains of
> NoClassDefFound). Yet if the Thread is just run using the current Thread
> (ie call run, not start), the classes are magically found.
>
>
>
> John Baker



Re: Regarding tomcat installation on HP-UX

2001-07-12 Thread Adam Fowler

Hi,

Use mod_jk on HP-UX?

If so, can I have a copy of it to put in my repository. Can you also send me 
details e.g.:-
OS version and name
CPU name and version
apache version
tomcat version

Thanks,

Adam.

On Tuesday 19 June 2001 11:54, you wrote:
> dear nilanjan,
> the only place where u have to look is in
> server.xml.by default u have four contexts
> 1.admin
> 2.examples
> 3.root
> 4.test
>
> u add a  element in the serever.xml file and set
> autoreloadable to "true"..if u are running the server then stop it and
> restart(tomcat does not support changes without a restart).u then create
> web-inf and ur own web.xml and jsp folders and put ur servlets in
> classes.then point ur browser to
> http://localhost:8080/nilanjan/
>
>
> ravi
> - Original Message -
> From: "Nilanjan Das" <[EMAIL PROTECTED]>
> To: "tomcat jakarta" <[EMAIL PROTECTED]>
> Sent: Thursday, July 12, 2001 4:37 PM
> Subject: Regarding tomcat installation on HP-UX
>
> > Hi Gurus,
> >
> > I am new to this and is not having much info on this.
> >
> > I have installed tomcat module 3.2.2 on our HP-UX server. The
> > installation seems to be ok as I can access the basic html pages through
> > the browser. I can even execute the servlet that is part of the
> > installation. The path is
> >
> > http://:8080/examples/servlet/HelloWorldExample
> >
> > The class path for this servlet is on
> >
> > /tomcat/jakarta-tomcat-3.2.2/webapps/examples/WEB-INF/classes
> >
> > I can also excute any other servlet as long as I keep the class file in
> > the above path.
> >
> > But I want to personalise the "URL" path as per the user name. What I
> > mean is that
> > I want to keep my class files under my working directory and I should be
> > able to access it as
> >
> > http://:8088/servlet/HelloWorldExample
> >
> > But unfortunately it fails and give me the error
> >
> > **
> > Not Found (404)
> >
> > Original request: /nilanjan/servlet/HelloWorldExample
> >
> > Not found request: /nilanjan/servlet/HelloWorldExample
> > **
> >
> > What I did was like this? I created a directory as "nilanjan" under
> > /tomcat/jakarta-tomcat-3.2.2/webapps and then copy all the files under
> > "examples" to this directory. By copy I mean that I even copied the
> > directory "WEB-INF" etc too  and then start the server again. When
> > starting up
> > it shows the context "/nilanjan". Infact I can browse anything under
> > "http://:8088/nilanjan" this except running the servlets.
> >
> > What I feel is that there should be some configuration files where there
> > should be a path mapping, like when I give
> >
> > "http://8088:8088/examples/servelet/", it
> > basically looks
> > into /tomcat/jakarta-tomcat-3.2.2/webapps/examples/WEB-INF/classes
> > directory.
> >
> > But in case of "nilanjan" it is not happening.
> >
> > So, can anyone of you please help me out. I looked into the
> > configuration files "server.xml","web.xml" but could not make out much
> > except adding a new context in the "server.xml".
> >
> > Thanks for all your help. Please let me know if you need any other info.
> >
> > Cheers,
> > Nilanjan



Re: Error when starting Tomcat

2001-07-12 Thread Adam Fowler

Hi,

Either you have a bad line in one of your config files (httpd.conf / 
mod_jk.conf) or your mod_jk.so is hosed! 

Take a look through your files and if that doesn't help rebuild the mod_jk 
(use the given makefiles!)

Adam.

On Thursday 12 July 2001 13:17, you wrote:
> I'm having the following errors print to the screen when I start Tomcat.
> Any suggestions?
>
> Thanks,
>
>
> Starting tomcat. Check logs/tomcat.log for error messages
>
> /usr/lib/dld.sl: Unresolved symbol: dlclose (code)  from
> /home/brawnerj/usr/local/apache/libexec/mod_jk.so
> /usr/lib/dld.sl: Unresolved symbol: dlopen (code)  from
> /home/brawnerj/usr/local/apache/libexec/mod_jk.so
> /usr/lib/dld.sl: Unresolved symbol: dlerror (code)  from
> /home/brawnerj/usr/local/apache/libexec/mod_jk.so
> /usr/lib/dld.sl: Unresolved symbol: dlsym (code)  from
> /home/brawnerj/usr/local/apache/libexec/mod_jk.so



Re: AW: Does any body have mod_jk for solaris?

2001-07-12 Thread Adam Fowler

Hi,

I have an 'unknown' mod_jk.so for solaris but don't know what architecture 
its for! You could try it though.

You don't need the c and o files (o is an intermediate build file, c is 
source)

If mine does(n't) work can you drop me an e-mail? If you fine a Solaris * one 
can't you e-mail it to me? thanks!

Adam.

On Thursday 12 July 2001 15:28, you wrote:
> Thomas,
>
> Thanks.  I just whatever files to get mod_jk.so working on Apache 1.3.14
> and Solaris 8.
>
>  Do you need both the mod_jk.c and mod_jk.o any where?  Or do you just need
> mod_jk.so in the apache/libexc directory?
>
> ab
>
> Thomas Bezdicek wrote:
> > i got solaris 8 with apache 1.3.20 tomcat 3.2.1 and tomcat 3.2.2 if
> > you need them
> >
> > btw: try to use gcc instead of cc. and include -lPOSIC before the -c
> > part in the apxs - call.
> >
> > regards, tom
> >
> > > -Ursprungliche Nachricht-
> > > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Donnerstag, 12. Juli 2001 12:13
> > > An: [EMAIL PROTECTED]
> > > Betreff: Does any body have mod_jk for solaris?
> > >
> > >
> > > hi, all,
> > >
> > > It is 0300 so my level of aggravation is pretty high.  Fun to work at
> > > this time though, it is where you figure things out, however I am not
> > > figuring out
> > > this mod_jk thing for solaris, and wondering why the people want
> > > people to use
> > > this instead of jserv but they don't include any binaries for mod_jk.
> > >
> > > > I am attempting a pretty simple thing I thought.  I wanted to
> > >
> > > change from
> > >
> > > > using the default jserv to mod_jk.
> > > >
> > > > I first could not find any binaries on the jakarta.apache site.  That
> > > > is stupid  Solaris has to be one of the most popular OS's on the
> > >
> > > web.  We can
> > >
> > > > get tomcat
> > > > for Solaris and apache, what is these jk guys problem?
> > > >
> > > > Any way, I said, ok, I will build it.
> > > >
> > > > I first tried to find the "build-solairs.sh"  could not find it.
> > > >
> > > > Thus, I tried to build-unix.sh couldn't find that.
> > > >
> > > >  So I was left with the third way to build mod_jk.  That was using
> > > > apxs. That I tried to do.
> > > >
> > > > I get the following error when I try to build mod_jk.  Any one has
> > > > any idea?
> > > >
> > > > Thanks.  F&*(^ really dumb and it is late.
> > > >
> > > > ab
> > > >
> > > > # build
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > "jk_jni_worker.c", line 731: warning: assignment type mismatch:
> > > > pointer to function(pointer to pointer to pointer to
> > >
> > > const struct
> > >
> > > > JNIInd
> > > > "jk_jni_worker.c", line 732: warning: assignment type mismatch:
> > > > pointer to function(pointer to void) returning int "="
> > >
> > > pointer to
> > >
> > > > void
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > "jk_map.c", line 468: warning: newline not last character in file
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > "jk_nwmain.c", line 31: warning: empty translation unit
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > >
> > > -I/usr/apache/include -I../jk
> > >
> > > > -I/uc
> > > > "jk_sockbuf.c", line 227: syntax error before or at: /
> > > > "jk_sockbuf.c", line 233: cannot recover from previous errors
> > > > cc: acomp failed for jk_sockbuf.c
> > > > apxs:Break: Command failed with rc=131072
> > > > #
> > > >
> > > > my build file is striaght from the tomcat documentation on the
> > > > jakarta pages and is as follows:
> > > >
> > > > /usr/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
> > > > -I/usr/java/include -I/usr/j
> > > > ava/include/solaris -c *.c ../jk/*.c



Re: Mr. Matt - Re: Tomcat + VxWorks (RTOS)

2001-07-12 Thread Adam Fowler

Hi,

Never heard of your OS (sorry!) but if u use mod_jk.so can I have a build + 
build scripts for it so I can mirror them on my site 
http://users.aber.ac.uk/aff9

I'm making a respository of them. 8o) Aso, can u give me the name of your OS 
+ version details of OS, tomcat and apache please.

Thanks!
Adam.


On Thursday 12 July 2001 15:43, you wrote:
> Hope you know you can any task like tomcat on vxworks provided it should be
> .out file .. can you please tell me how to run tomcat as a task on
> vxworks..
>
> /sunil
> --- "Matt Goodall" <[EMAIL PROTECTED]>
>
> > wrote:
> >VxWorks - are you insane? ;-)
> >
> >VxWorks supports Java these days doesn't it? If so could you not simply
> > run Tomcat as a task and use it as the web server as well as the servlet
> > container?. I know it's not the most efficient setup but it's probably a
> > *lot* easier. You could change Tomcat's port to 80 to make it respond on
> > the standard HTTP port.
> >
> >Cheers, Matt
> >
> >- Original Message -
>
> From: Sunil Chandurkar <[EMAIL PROTECTED]>
>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, July 12, 2001 3:56 PM
> >Subject: Tomcat + VxWorks (RTOS)
> >
> >> hi all
> >>
> >> Do anybody knows about how to run Tomcat on Vxworks (Real Time Opearting
> >
> >System)?
> >
> >> First of tell me, do anybody know any webserver runs on VxWorks?
> >> I know two web servers Wind Web Server and Go Ahead Web Server, but
> >> these
> >
> >webserver not supporting servlets and I want a Web Server which supports
> >Servlets?
> >
> >> can you please send me links to those webservers those can be running on
> >
> >VxWorks OS and also supports Servlet.
> >
> >> Most of the RTOS Web server supports CGI but I want to use Servlet.
> >>
> >> Thanx in Advance
> >>
> >> /Sunil
> >>
> >> Sunil Chandurkar
> >> Software Engineer
> >> Kuokoa Networks Inc.
> >> [EMAIL PROTECTED]
> >>
> >>
> >> _
> >> Get LifeTime Free email Visit  ---> http://www.nagpurcity.net
>
> _
> Get LifeTime Free email Visit  ---> http://www.nagpurcity.net



Re: mod_jk for solaris

2001-07-12 Thread Adam Fowler

Hi,

If u2 get this sorted can u send me the mod_jk.so file, build script and 
details of environment (tomcat/OS/apache versions)

I'm making a repository at http://users.aber.ac.uk/aff9

Thanks,
Adam.

On Thursday 12 July 2001 15:51, you wrote:
> Yep!  and if I find it I'll send it to you.  I am recompileng Apache
> woth the mod_so configured in so I hope the apxs stuff will work.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 11:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: mod_jk for solaris
>
>
> Hi Paul,
>
> It appears we are fighting the same battle at the same time.  I have
> ripped
> through this for an entire night.  Not only isn't there a build script
> for
> solaris in the default  tar, the apxs compile directions are wrong!
>
> I have simply asked some one for a recompiled version.  It is easier.
> BTW,
> then you have to work with the mod_jk.conf file and start configuring
> what
> gets passed.
>
> If I get the file, I will send it to you.
>
> ab
>
> Paul Lombardo wrote:
> > Good morning all -
> >
> > I am attempting to setup and configure Tomcat 3.2.2. to use with
>
> Apache
>
> > 1.3.x  on a Solaris 2.6 machine.
> >
> > I have Apache in and running.  I have Tomcat installed and handling
> > requests on port 8080.
> >
> > I now need to set things up so that Apache will hand off requests for
> > jsp to tomcat and I am assuming that for that I need to setup mod_jk
>
> (or
>
> > is that mod_jk.so)
> >
> > Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3  dorectory I
> > have:
> >
> > Makefile.freebsd  Makefile.linuxMakefile.nw   mod_jk.c
> > mod_jk.dsp
> >
> > I don't see one for Solaris.  I went tp the web and downloaded a
> > mod_jk.so and tried that, but upon inspection the source file was full
> > of garbage and was useless.
> >
> > I am so close I can taste it.  any suggestions?
> >
> > Paul
> >
> > "This document may contain confidential information, as well as
> > proprietary information, of ICICI Infotech, Inc.  Your company and its
> > employees agree to keep the material in this document confidential and
> > any violation of this paragraph is strictly prohibited."
> >  <>



Re: mod_jk for solaris

2001-07-12 Thread Adam Fowler

Hi,

Now that rings a bell! 8o)

I'm sure I've covered this in my tomcat installation how-to.

Take a gander about http://willow.cc.edu/adminguide.

If its not there then try http://users.aber.ac.uk/aff9 as it will be up there 
soon (ish)

It's due to you needing certain tomcat specific parameters at the end of your 
httpd.conf that are from mod_jk.conf. It's not documented and is a hack 
rather than a real method. But it works 8o)

Adam.

On Thursday 12 July 2001 16:16, you wrote:
> Well NOW I've done it.  I recompiled Apache and now it won't start.  It
> doesn't like the httpd.conf file.
>
>
> Paul
>
> -Original Message-
> From: Nance, Michael [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 11:26 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: mod_jk for solaris
>
>
>
> AB,
> I am also in the group...let me know if you find it
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 8:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: mod_jk for solaris
>
>
> Hi Paul,
>
> It appears we are fighting the same battle at the same time.  I have
> ripped
> through this for an entire night.  Not only isn't there a build script
> for
> solaris in the default  tar, the apxs compile directions are wrong!
>
> I have simply asked some one for a recompiled version.  It is easier.
> BTW,
> then you have to work with the mod_jk.conf file and start configuring
> what
> gets passed.
>
> If I get the file, I will send it to you.
>
> ab
>
> Paul Lombardo wrote:
> > Good morning all -
> >
> > I am attempting to setup and configure Tomcat 3.2.2. to use with
>
> Apache
>
> > 1.3.x  on a Solaris 2.6 machine.
> >
> > I have Apache in and running.  I have Tomcat installed and handling
> > requests on port 8080.
> >
> > I now need to set things up so that Apache will hand off requests for
> > jsp to tomcat and I am assuming that for that I need to setup mod_jk
>
> (or
>
> > is that mod_jk.so)
> >
> > Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3  dorectory I
> > have:
> >
> > Makefile.freebsd  Makefile.linuxMakefile.nw   mod_jk.c
> > mod_jk.dsp
> >
> > I don't see one for Solaris.  I went tp the web and downloaded a
> > mod_jk.so and tried that, but upon inspection the source file was full
> > of garbage and was useless.
> >
> > I am so close I can taste it.  any suggestions?
> >
> > Paul
> >
> > "This document may contain confidential information, as well as
> > proprietary information, of ICICI Infotech, Inc.  Your company and its
> > employees agree to keep the material in this document confidential and
> > any violation of this paragraph is strictly prohibited."
> >  <>



Re: mod_jk for solaris

2001-07-12 Thread Adam Fowler

Hi,

I have a random solaris mod_jk.so at http://users.aber.ac.uk/tomcat/

you can try that.

If u get one built (build instructions also above...somewhere!) then gimme an 
e-mail with mod_jk.so and platform details (ie tomcat/apache/solaris ver and 
processor)

Thanks,
Adam.

On Thursday 12 July 2001 12:40, you wrote:
> Good morning all -
>
> I am attempting to setup and configure Tomcat 3.2.2. to use with Apache
> 1.3.x  on a Solaris 2.6 machine.
>
> I have Apache in and running.  I have Tomcat installed and handling
> requests on port 8080.
>
> I now need to set things up so that Apache will hand off requests for
> jsp to tomcat and I am assuming that for that I need to setup mod_jk (or
> is that mod_jk.so)
>
> Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3  dorectory I
> have:
>
> Makefile.freebsd  Makefile.linuxMakefile.nw   mod_jk.c
> mod_jk.dsp
>
> I don't see one for Solaris.  I went tp the web and downloaded a
> mod_jk.so and tried that, but upon inspection the source file was full
> of garbage and was useless.
>
> I am so close I can taste it.  any suggestions?
>
> Paul
>
>
>
>
> "This document may contain confidential information, as well as
> proprietary information, of ICICI Infotech, Inc.  Your company and its
> employees agree to keep the material in this document confidential and
> any violation of this paragraph is strictly prohibited."
>  <>


Content-Type: text/x-vcard; charset="iso-8859-1"; name="Paul V. Lombardo 
(Business Fax).vcf"
Content-Transfer-Encoding: base64
Content-Description: Paul V. Lombardo (Business Fax).vcf




Re: Installation of mod_jk.so at AIX 433

2001-07-11 Thread Adam Fowler

Hi,

I'm currently mirroring mod_jk binary builds for all OS's. Could you send me 
ur AIX file with a description of the platform it is used for? E.g. AIX 
ver.., processor architecture, tomcat ver, apache ver etc.

Thanks!

Adam.

---- 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: [EMAIL PROTECTED] 
 

On Wednesday 11 July 2001 22:37, you wrote:
> Are you using gcc or C for AIX / VisualAge?
>
> I'm using visualage 5.0, and needed to hack apxs thus:
>
> my $CFG_CFLAGS= q( -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
> -U__STR__ -DAIX_BIND_PROCESSOR -qcpluscmt -qnogenpcomp -qnousepcomp
> -DMOD_SSL=207101 -DMOD_PERL -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE
> -D_POSIX_SOURCE -qmaxmem=16384 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT
> -I../lib/expat-lite `../apaci`);# substituted via Makefile.tmpl
>
> my $CFG_LDFLAGS_SHLIB = q(-H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bexpall
> -bI:/usr/local/apache/libexec/httpd.exp -lc); # substituted via
> Makefile.tmpl
>
> note: I'm not an apxs expert so most of these options probably
>   depend on the options you built apache with.
>   I've not tried gcc.
>
> Hope this helps,
> --
> John
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 11 July 2001 13:48
> > To: [EMAIL PROTECTED]
> > Subject: Installation of mod_jk.so at AIX 433
> >
> >
> > Hi! Greetings!
> > I really am having problems in installing mod_jk.so over my RS machine. I
> > always get errors in compilation.. And i need to install it at once.. Is
> > there anyone who could possible give me the exact procedure or
> > needed files
> > just to compile this into my machine? Please i need help on this.. It
> > done a couple of mixtures in the command at apxs. and i come up to
> > error such as rc=255, sometimes; rc=1 or 0... i guess , i have
> > ecncountered every
> > error.. and even the dlopen.c comlilation error...
> > There were some issues at the web that i have to place dlfcn.h
> > and dlopen.c
> > also.. so i did it... but i still cant compile the mod_so.c, can somebody
> > help me please..
> >
> > Email me at once .. THANKS a lot in advance...
> >
> > Edmon Mendoza
> > RS6000 Systems Engineer
> > ISP Services Pte Ltd
> > Tel. no. 7888-681
> > [EMAIL PROTECTED]

-- 



Re: Simple startup question.

2001-07-11 Thread Adam Fowler

No.

Best to edit the script and add hooks to a tomcat script in /etc/rc.d/init.d

I have one somewhere on http://willow.cc.edu/adminguide

Its in the mod_jk files section, called a "mandrake startup script" but 
should work ok with redhat - just make sure the directories are correct.

Hope that helps.

Adam.

On Wednesday 11 July 2001 20:24, you wrote:
> All:
>
> Linux 7.1 Redhat, tomcat 3.2.2.
>
> Question:
>
> With the ajp13 working correctly tomcat should start from within the
> S85httpd start script and shutdown accordingly ?
>
> D.



Re: Tomcat problems on Solaris

2001-07-11 Thread Adam Fowler

Hi,

Well the page seems to be working. You can try 
http://users.aber.ac.uk/tomcat/tomcat-3.2/ though 8o)

Haven't got any for HP-UX. The build instructions are all pretty standard 
though. I'll check to see if they are up, if not then I'll e-mail you when 
they are. OK?

If in the meantime you get hold of a copy for HP-UX then I'd love to mirror 
it!

Adam.

On Wednesday 11 July 2001 18:27, you wrote:
> I'm looking for some builds for the mod_jk for HP-UX.  The link below is
> not bringing up the page.  Do we have another location to look at?
>
> thanks
>
> -----Original Message-
> From: Adam Fowler [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 12:41 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat problems on Solaris
>
>
> Hi,
>
> Doesn't look like mod_jk is built / configured correctly. Try re-building
> it
>
> (check http://willow.cc.edu/adminguide for builds)
>
> Adam.
>
> On Wednesday 11 July 2001 10:56, you wrote:
> > Hi,
> >
> > I am having problems getting tomcat 3.2.2 to work on a Solaris server
> > with apache 1.3.20. There is a couple of issues that I am not sure if
> > they are related. Any help would be appreciated.
> >
> > The first problem is that tomcat logs the stdout and stderr to the user
>
> who
>
> > starts the service. I have set the wrapper.properties to
> >
> > wrapper.stdout=$(wrapper.tomcat_home)/logs/jvm.stdout
> > wrapper.stderr=$(wrapper.tomcat_home)/logs/jvm.stderr
> >
> > Tomcat terminates when the user who starts tomcat logs off the server. I
> > start tomcat as the www user eg
> >
> > su - www -c "/usr/local/jakarta-tomcat-3.2.2/bin/tomcat.sh start"
> >
> > Despite this tomcat logs to the users consol who runs this command.
> >
> > I am also getting errors coming out in the mod_jk.log which are as
>
> follows.
>
> > [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
> > [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
> > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
> > NULL parameter
> > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
> > NULL parameters
> >
> > Are these errors related.
> >
> > Any help in resolving these issues would be appreciated.
> >
> > Regards
> > Neil



Re: Unable to open http://localhost/examples/

2001-07-11 Thread Adam Fowler

Hi,

There's one (at least) of the config files - think I may be 
workers.properties - that needs to be changed for a windoze machine - it has 
/ instead of \.

Have a look through them and make sure.

Also make sure you have a default context set up.

Adam.



Re: There is no disk in the drive!

2001-07-11 Thread Adam Fowler

Hi,

It could be trying to get a lock on a used file.

No idea how to fix it though 8o)

Adam.


On Wednesday 11 July 2001 15:16, you wrote:
> When I run my web application using Tomcat as a service
> under windows 2000 (Tomcat 3.1.1) I'm running into a strange
> message.
>
> My app runs an eternal .cmd file to populate some
> directories.  One of the lines in the cmd file is
>   xcopy InitialProject\*.*  Projects\%1 /E
>
> This works fine when Tomcat is not a service, but when it
> is a service, the server machine twice puts up a message
> box with:
>
>   "There is no disk in the drive.  Please insert a disk in the
> drive \Device\Harddisk\DR1."
>
> If I hit "Continue" it goes on to work just fine.
>
> If I put in two xcopy statements the message comes up
> four times, so it seems to be a result of the two xcopy
> arguments.
>
> Changing the argument paths to explicit paths doesn't
> help.  E.g.,
>   xcopy C:\Tomcat\XXX\InitialProject\*.*  C:\Tomcat\XXX\Projects\%1 /E
>
> Other commands (e.g., mkdir) don't seem to have any
> problem.
>
> Any idea how to fix this?
>
> Thanks,
>
> Frank Lawlor
> Athens Group, Inc.
> (512) 345-0600 x151
> Athens Group, an employee-owned consulting firm integrating technology
> strategy and software solutions.



Re: Tomcat problems on Solaris

2001-07-11 Thread Adam Fowler

Hi,

Doesn't look like mod_jk is built / configured correctly. Try re-building it 
(check http://willow.cc.edu/adminguide for builds)

Adam.

On Wednesday 11 July 2001 10:56, you wrote:
> Hi,
>
> I am having problems getting tomcat 3.2.2 to work on a Solaris server with
> apache 1.3.20. There is a couple of issues that I am not sure if they are
> related. Any help would be appreciated.
>
> The first problem is that tomcat logs the stdout and stderr to the user who
> starts the service. I have set the wrapper.properties to
>
> wrapper.stdout=$(wrapper.tomcat_home)/logs/jvm.stdout
> wrapper.stderr=$(wrapper.tomcat_home)/logs/jvm.stderr
>
> Tomcat terminates when the user who starts tomcat logs off the server. I
> start tomcat as the www user eg
>
> su - www -c "/usr/local/jakarta-tomcat-3.2.2/bin/tomcat.sh start"
>
> Despite this tomcat logs to the users consol who runs this command.
>
> I am also getting errors coming out in the mod_jk.log which are as follows.
>
> [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
> [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
> [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
> NULL parameter
> [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
> NULL parameters
>
> Are these errors related.
>
> Any help in resolving these issues would be appreciated.
>
> Regards
> Neil



Re: java-linux-tomcat configuration problem

2001-07-11 Thread Adam Fowler

Hi,

Can you include a copy of ps x command output and top please? Also, who's jdk 
ru using? Sun's or blackdown?

This sounds very strange as I upgraded on mandrake fine. You might wanna 
recheck the path variable and make sure that the new java is at the beginning 
of the path var, else if u also point across an older version it will use 
that.

Adam.

On Wednesday 11 July 2001 15:03, you wrote:
> I installed jdk 1.3.1 on my linux box to support tomcat, and set the PATH
> variable accordingly.  However, now the instances of my server don't start
> up and java hangs.  (The TOP command shows that java is consuming 97% of my
> CPU!!!).  Has anybody seen this behaviour before?  If so, what is the
> remedy?
>
> Thanks!
> Dan
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com



Re: help me with IIS+tomcat

2001-07-11 Thread Adam Fowler

Hi guys,

I hate to say this - bt this is not because of poor docs. By reading the docs 
I managed to get tomcat 3.2.2 installed and runing within an hour on 
win2k+IIS5. I suggest you re-read the IIS-How-to, especially the section 
after installing the isapi redirect dll. It mentions a green tick somewhere, 
make sure you have one! Then make sure tomcat is actually running as an NT 
service (if it ain't running, it isn't gonna find the document!)

Hope that helps guys.

Adam.


Adam Fowler
TomcatBook project - http://tomcatbook.sourceforge.net
Help Desk Live Project
Information Services
University of Wales, Aberystwyth
e-mail: [EMAIL PROTECTED]


On Wednesday 11 July 2001 07:17, you wrote:
> Hi,
>
> I have the same problem  and i'm stuckany idea ?
>
> Thanks,
>
> Hervé.
>
>   -Message d'origine-
>   De: Ðì±ó [SMTP:[EMAIL PROTECTED]]
>   Date:   mercredi 11 juillet 2001 07:32
>   À:  [EMAIL PROTECTED]
>   Objet:  help me with IIS+tomcat
>
>   Hi,
>   I have tried everything writen in "Tomcat IIS HowTo" but when I
> entered "http://bsd.com/examples/jsp/index.html"; (My win 2000 server's IIS
> web server's name is bsd.com), the browser always says a error of HTTP 404.
> I think the url is right because if I entered
> "http://bsd.com:8080/examples/jsp/index.html";, the browser can correctly
> display tomcat jsp examples page. The isapi filter is also loaded, the
> workers is setting right. I use Jbuilder4 and download tomcat 3.2.2 and
> install it under c:\JBuilder4\tomcat. I have changed workers.properties's
> java_home and tomcat_home properties. It still NOT works. can you give me
> some information?



Re: Config: zip-files

2001-06-14 Thread ADAM FOWLER

JAVA_HOME/jre/lib

Adam.

At 13:51 14/06/2001 +0200, you wrote:
>Hi!
>I got a zip-library containing jdbc drivers. Where do I put this so it is
accesseble to the whole server?
>
>Thanks in advance
>Roland Carlsson
>
>
>

Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
e-mail: [EMAIL PROTECTED]
web: http://gucciboy.dyndns.org/aff9
"Every new beginning comes from some 
 other beginning's end"




RE: newbie question about forte/tomcat

2001-04-30 Thread Adam Fowler

Hello,

If you have the enterprise edition of forte then it is built in. If not then
you will have to mount the filesystem (aka Directory) where you're servlets
exist. Then launch IE to compile them automatically.

Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 2:53 PM
To: [EMAIL PROTECTED]
Subject: newbie question about forte/tomcat


Hello friends,
I'm to starting in java/servlets development a few days... I have some
questions.
-When i launch Forte for java Editor does it must to recognize my tomcat
installation like when i create a web application on M$ Visual Interdev !?
-Do I can to developer a web application simply to create a structure
directory on explorer menu !?
-Is There a good tutorial about use forte with tomcat to developer servlets
and jsp/beans pages that someone could be recommend me?
Is TOGETHER 5.0 a good ide development ? It seems to much simply !
thanks

* sorry english is not my first languague *




Re: Books on Tomcat

2001-04-23 Thread Adam Fowler

Hi all,

Sorry for not seeing this post sooner.

I was approached by Sam's publishing company to write a tomcat book. I
have sent them the proposal and they have sent it on to experts in the
field to be evaluated.

This book will hopefully be finished by the end of July. (depending on
approval speed)

It will cover everything from installation to security and basic
JSP-Servlet web development. It will also include information on tag
libraries and installing additional JARs and deploying WAR files. etc.
etc.

So don't worry, one book is on its way!

Regards,
Adam.

On Mon, 23 Apr 2001, Joel Parramore wrote:

> 
> Hello folks,
> 
> I'd be interested as well.  Doing it in conjunction with augmenting the
> existing Jakarta Tomcat/Catalina documentation might be advisable as well,
> e.g., the Jakarta Tomcat FAQ
> 
> http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/MainMenu/action/SetAl
> l/screen/DisplayTopics/faq_id/12/project_id/2
> 
> as well as making use of the searchable mailing list archives
> 
> http://mikal.org/interests/java/tomcat/index.html (tomcat-user)
> 
> http://w6.metronet.com/~wjm/tomcat/ (tomcat-dev)
> 
> Perhaps having a mini-FAQ posted to the list daily or weekly would be of use
> as well, to highlight a bit the fact that there is some existing information
> regarding Tomcat (and Catalina) configuration, troubleshooting, etc.?  (Have
> to ponder that a bit, content-wise.)
> 
> Regards,
> Joel Parramore
> 
> 
> - Original Message -
> From: "Anne Dirkse" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, April 23, 2001 7:03 PM
> Subject: Re: Books on Tomcat
> 
> 
> > Hi All --
> >
> > I'd love to join in as well. Maybe I'll finally get a chance to put that
> > English Degree to use! One section that I would love to see is
> > Troubleshooting. It seems like a lot of people have the same prolems
> > over and over, and a good book could hopefully address most of the
> > problems that people encounter. What I'd love to see is this: an intro
> > to Tomcat/ Setup Instructions that is hyperlinked to a troubleshooting
> > section. Something like:
> >
> > Run the JSP examples to be sure that you have Tomcat setup correctly.
> >
> > ---
> > sun.tools.javac.Main not found?
> > (links to...)
> > Make sure that you have your JAVA_HOME environment variable set up
> > correctly. [Further explanation]
> > ---
> >
> > I'd volunteer to start expanding upon the setup material.
> >
> > Anne
> >
> >
> > Armin Roehrl wrote:
> > >
> > > sounds good.
> > > Maybe we should collect a list of topics we're interested
> > > in.  I'd like to look at load-balancing issues.
> > > Armin.
> > >
> > > On Monday 23 April 2001 18:11, you wrote:
> > > > I'm very interested in doing this, I'm not a great writer but I have
> > > > server space we could use to put it online.  I could setup WebDAV for
> a
> > > > group of authors and we could ask for feedback as each section is
> done.
> > > >
> > > > Ed
> > > >
> > > > "Penberthy, Bill" wrote:
> > > > > Count me in.  I am not a Tomcat expert - but I writez purty good and
> am
> > > > > the ultimate test subject to see if it is "clear enough so that even
> an
> > > > > idiot can figure it out"
> > > > >
> > > > > Bill Penberthy
> > > > > Sr. Functional Architect/Idiot
> > > > > IQNavigator
> > > > >
> > > > > -Original Message-
> > > > > From: David McCormick [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Monday, April 23, 2001 10:44 AM
> > > > > To: '[EMAIL PROTECTED]'
> > > > > Subject: RE: Books on Tomcat
> > > > >
> > > > > I've been thinking about scratching that itch myself. Somewhere on
> this
> > > > > list I read that the Tomcat developers (whoever that might mean)
> were
> > > > > already working on one, but I haven't seen anything else since then.
> I
> > > > > think it would be interesting to do it like Bruce Eckel has done
> with his
> > > > > books (http://www.bruceeckel.com), where he publishes chapters and
> gets
> > > > > immediate feedback on clarity and correctness.
> > > > >
> > > > > Count me in.
> > > > >
> > > > > -Original Message-
> > > > > From: Bryant, William [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Monday, April 23, 2001 11:29 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: RE: Books on Tomcat
> > > > >
> > > > > Hmmm...  No books that I know of, either already published or in
> > > > > progress.
> > > > >
> > > > > I'm not much of an author, but this sounds like an interesting
> project.
> > > > > Anyone up for writing a book on Tomcat?  Maybe a not-for-profit,
> > > > > electronic-format-only guide to Tomcat that users could download.
> We
> > > > > could take the existing documentation (good, however maybe a little
> > > > > sparse) and add to it.
> > > > >
> > > > > I've been wanting to get into the Tomcat project for some time now.
> This
> > > > > might be the perfect opportunity.
> > > > >
> > > > > Any takers?
> > > > >
> > > > > .. Mike
> > > > >
> > > > >
> > > > >
> > > > > -Original Message

RE: database access problem

2001-04-08 Thread Adam Fowler

MS SQL Server 7.0 and above definitely do support the AS keyword, not sure
about oracle.
E.g.:-

SELECT MAX(cutomerID) AS MaxID FROM tblCustomer

Regards,
Adam.

Colorado here I come...


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Marc Battistello [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 08, 2001 7:22 PM
To: [EMAIL PROTECTED]
Subject: Re: database access problem


Asim, I dont think Oracle or SQL Server support the "AS" keyword for
renaming column names. I think its specific to MS Access. I did a quick
search and found the below link but Im no expert on sql syntax. That would
be the first place Id look to check sql syntax. You can also try running the
insert statement outside your application to make sure that its not causing
the problem.

http://w3.one.net/~jhoffman/sqltut.htm#Adding_Data


- Original Message -
From: "Asim Ghaffar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 08, 2001 10:49 AM
Subject: database access problem


> Hello Friends!
> I am in real difficult situation so i need some quick advice. I am making
a
> search engine. I did all my testing on MS Acess. So far so good. But now
> when i switched to Oracle and SQL Server i am getting a very odd problem
> (same in oravle and SQL).
> here is my code.
>
> 1 try{
> 2 ResultSet results = g.executeQuery(); //
> 3 while (results.next()) {
> 4 String u = results.getString("u");
> 5 String t = results.getString("T");
> 6 String s = (new Integer(results.getInt("S"))).toString();
> 7 String k = results.getString("K");// Exception is
> thrown here at this line
> 8 String a = results.getString("P");
> 9 String d = results.getString("D");
> 10   String m = (new Integer(results.getInt("I"))).toString();
> 11   String l = results.getString("L");
> 12   String o = (new Integer(results.getInt("O"))).toString();
> 13   String st = results.getTimestamp("St").toString();
> 14}
> 15 }catch (SQLException sqle){
> sqle.printStackTrace();
>  }
>
> where g = connection.prepareStatement("INSERT INTO HITLIST SELECT
SITES.*,1
> AS SCORE FROM SITES WHERE SITES.PAGETEXT LIKE '%pakistan%'");
>
>
> Now on line # 7 i am getting the exception
> in SQL Server it is  [Microsoft][ODBC SQL Server Driver]Invalid Descriptor
> Index
> in Oracle it is some jdbc exeption about invalid column number
>
> Now if i switch the wors with each other error again come on same line
> number not statement.
> I debugged using jbuilder and in the middle of execution all
> resultset.getDataType("columnName") become inavlid even those which are on
> lines above. So badically whole result set gets corrupted.
> Same code is running fine in MS Access. Any clue what can be the reason
for
> this. Where else i can get help from.
> thanking you in advance. I u have any clue do email me.
> bye
>
>





RE: Linux - mod_jk ??

2001-03-30 Thread Adam Fowler

Hi,

Again this problem *sigh*

http://willow.cc.edu/docs/adminguide

Goto the tomcat section and mod_jk installation guide.

Regards and good luck!

Adam.

-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 4:46 PM
To: [EMAIL PROTECTED]
Subject: Linux - mod_jk ??


Hello,

I have installed Tomcat 3.2.1 several times on NT systems using the
isapi_redirect with no problems and I have been using Tomcat for about 6-8
months.  I am now doing my first Linux install.

The system is Mandrake Linux 7.2 with apache 1.3.12 and JDK 1.3.1 on a PIII
667 256meg ram.

I have Tomcat working and have installed my package of various servlets,
taglibs, and jsp pages and everything is working when I use port 8080.
Apache is working great.

I have switched to ajp13, and closely followed the documentation to
configure apache and install mod_jk which I downloaded from the apache site.
(binary) Everything has been checked at least 5 times. I am getting a little
cross-eyed.

I have not been able to get mod_jk to tomcat.

I have my logs set to debug and after each change that I make I have
restarted both servers and checked the logs. The mod_jk.log is showing that
everything is being configured correctly and ajp13 is being found with each
attempt yet no redirection is occurring.

*mod_jk.log shows
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp13

apache's access.log shows the usual 404 not found message. On each restart
the note that apache is configured with mod_jk appears.

Simply adding the port :8080 to the domain with the same path shows me that
everything is working with regards to java and tomcat.

I do have the ssl module installed in apache but it is not configured with a
certificate at this time.

Are there any known issues??

Any Ideas?

I did spend over an hour browsing through the archives and could not find
this situation.

Much thanks,
Craig






RE: include problem

2001-03-19 Thread Adam Fowler

Hey,

I believe (correct me if I'm an idiot) that the usual include syntax should
work:-




Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Kishor K [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 3:55 AM
To: Tomcat User Mailing List
Subject: include problem


hi,

i have the following directory structure

root -> level1  ->level21

 ->level22

 ->level23

i hav a file a.jsp in the level1 directory.


how can i include the file a.jsp
in files b.jsp in level21, c.jsp level22, d.jsp in level 23

this is what i have done

<%@ include file="../a.jsp"%>

is something wrong in the syntax?

thanx in advance
kishor




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





RE: RMI with the IIS/Tomcat behind a firewall

2001-03-18 Thread Adam Fowler

Take a look at the following link. It uses HTTP to connect to a servlet and
then the servlet does everything else:-

http://developer.java.sun.com/developer/technicalArticles/RMI/rmi/

It's all pure Java.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Sascha Richter [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 7:54 PM
To: [EMAIL PROTECTED]
Subject: RMI with the IIS/Tomcat behind a firewall


Hello,

I have an IIS webserver working with tomcat behind a firewall and we
want to use RMI objects on our server. Because of the firewall we can
not conntact to port 1099 directly. It seems to exists only two
solution, the CGI script called java-rmi.cgi, which is available in the
unix distribution of the jdk and a servlet called rmiservlethandler. I
don't know how to adapted the CGI script to use it with the IIS webserver.
So a context /rmiservlethandler is created on our server and it works.
But the problem is, that RMI clients call /cgi-bin/java-rmi.cgi by
default to tunnel a firewall. The readme says, that all calls for
/cgi-bin/java-rmi.cgi should be redirected to the servlet.
A redirect within the IIS fails, because the redirects doesn't work in a
transparent manner, but by sending the client a redirect command (30X
Error), requesting  the client to reload the new url. This method seems
not to work for RMI clients.
Another method is, to map /cgi-bin/java-rmi.cgi to the ajp12 worker and
to create a new context cgi-bin under tomcat and to rename the
servletname rmiservlethandler in java-rmi.cgi. If the url
/cgi-bin/servlet/java-rmi.cgi is called, it works, but if the url
/cgi-bin/java-rmi.cgi is called, the servlet is naturally not found.
I need to call /cgi-bin/java-rmi.cgi and not
/cgi-bin/servlet/java-rmi.cgi to tunnel our firewall.
Is there a way to map a request without having the "/servlet" path
included ?
Exists other methods to tunnel a firewall ?

Thanks
Sascha





RE: Starting Tomcat in Apache

2001-03-15 Thread Adam Fowler

Hi,

It would probably be a better idea to get tomcat to start/stop apache as
Tomcat needs to be started beffore apache. To do this, even if apache is
already started, just add a call to apache's startup script at the end of
startup.sh:-
/etc/rc.d/init.d/httpd restart

and in shutdown.sh do:-

/etc/rc.d/init.d/httpd stop

Of course, this will pose a problem on initial system start where apache
starts and tomcat doesn't. To get sround this you need a system startup file
for tomcat in the /etc/rc.d/init.d directory and link that into your System
5 ru level directories (/etc/rc.1 to /etc/rc.5) Have a look at my site
http://willow.cc.edu/docs/adminguide under the tomcat section for startup
scripts and a brief tutorial on this (should be in the mod_jk docs(?))

Good luck.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 7:10 AM
To: tomcat
Subject: Starting Tomcat in Apache


Hi All,
  I have tomcat which i am starting everytime by typing
/bin/startup.sh  and closing by ..bin/shutdown.sh. manually. Tomcat
is running with Apache in my Linux system. Can anybody know how Apache
web server will start tomcat automatically when it starts and shutdown
while it stops.

Thanks in advance
cheers
Venkatesh





RE: Applet-servlet communication examples???

2001-03-14 Thread Adam Fowler

I second that question 8o)

Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Paul Yoon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 3:47 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Applet-servlet communication examples???


Hello,

Could you let me know sites where I can see Applet-servlet communication
examples?
If I can get sources from there, that would be better.
Thank you so much.

Paul





RE: find the "isapi_redirect.dll"

2001-03-12 Thread Adam Fowler

Hi,

Goto jakarta.apache.org

Click on Tomcat

Click on download release builds.

When you enter the directory tree you will see a win32 directory. That's
where the isapi_redirect dll is.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"

-Original Message-
From: Jean-Philippe PLAZE [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 2:15 PM
To: [EMAIL PROTECTED]
Subject: find the "isapi_redirect.dll"


Hello

We want to use Tomcat 3.2 with IIS

Where can we find  the "isapi_redirect.dll"?


Thanks,

Jean-Philippe.


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




Attention TUG members and all developers and administrators...

2001-03-11 Thread Adam Fowler

Dear Tomcat user group members (and the rest of you Tomcats out there),

I will soon be writing a book for Sam's publishing entitled "Tomcat
developers guide". This book will cover how to program JSP pages and
Servlets and how to deploy them on a system running Tomcat. It will cover
Tomcat from downloading to advanced customisation. It will also include
examples of JSP pages and servlets as well as incorporating additional Java
API's into web applications.

If there are any specific topics be they Tomcat or JSP/Servlet topics
(prefereably applicable to Tomcat) then please e-mail this list with any
suggestions as to sections of this book. I already have an extensive outline
of the book but I do not wish to miss anything that developers and
adminsitrators wish included.

Also, if you have any ideas as to examples I could use in the book then they
would be greatly appreciated.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"




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




RE: Optimizing Tomcat

2001-03-11 Thread Adam Fowler

Hi all,

Using the latest Sun JDK is also a great way to speed up Java built
programs. I used to have Forte for Java, a huge java program, running on JDK
1.2 and its performance was severely lacking to say the least. I now have
JDK 1.3 whose java runtime has Hotspot technology and it runs super
smooth. It's the only IDE I use for Java anything now and I'm trying to
convinve both Carroll's and Aber's CompSci department to use it. Oh, and its
free: http://www.sun.com/forte/ffj/buy.html (even though you're not buying
it) You need to be a registered Java developer, but you all are already
anyway...right? 8o)

Oh, and running it on at least a pII with 64MB of RAM may be an idea too. I
always thought Pentium Pro's sucked. But then again I am an AMD kinda guy.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: William Brogden [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 7:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Optimizing Tomcat




Richard Seymour wrote:
>
> Is there anything like a "Ten Things you can do to Optimize Tomcat"
> document?
>
> I've just dropped a web app onto a dual Pentium Pro box and it's running
> unacceptably slow.
>
> I just want to see a list of steps I might take to get the most out of
> the box.
>

The following book is full of insights on Java server performance:

 Java performance and scalability, Vol 1, Server-side programming
techniques
 by Dov Bulka, published by Addison-Wesley, ISBN 0-201-70429-3

--
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2

-
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: Modern complier is not available

2001-03-11 Thread Adam Fowler

Hi,

If you installed Tomcat from one of Henri's RPM's then this will certainly
be true as the RPM install process is Blackdown specific. It sets paths and
classpaths for blackdown only if not set before install. I am currently
working on a script to automatically detect the JDK installation directory
so all RPM's for all linux systems will work with all JDK's.

Oh, and if its Loughborough, UK which I turned down then you're missing a
'h' there. 8o) No offence.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Tom Albinson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 10, 2001 12:59 PM
To: [EMAIL PROTECTED]
Subject: Re: Modern complier is not available


Hello All

I sorted my problem, there was something wrong with sun jdk, it ran fine
when I used the Blackdown JDK 1.3

Tom Albinson
Computer Science Undergrad
Lougborough University



-
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: HowTo install Package servlet?

2001-03-10 Thread Adam Fowler

If the directory is in your classpath then you can just call it:-

import ChangeRequest.*;

CR myCR = new CR() or whatever.

If thats what you meant anyway(?)

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Quentin Sarafinchan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 10, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: HowTo install Package servlet?


I have created a package called ChangeRequest, with a sincle class called
CR.  Can anyone tell me how to configure TomCat so I can make requests
against this package?

Cheers
Quentin J Sarafinchan







Sent via the WebMail system at mail.polarware.net





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



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




mod_jk builds...

2001-03-04 Thread Adam Fowler

Hi all,

If anyone has mod_jk builds can they supply me the info and the location(or
copy) of the .so/.dll? I'm compiling a list of 'em at
http://willow.cc.edu/docs/adminguide there are already a few there for
various systems.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"




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




RE: Tomcat Mod_jk and NFC Chat

2001-03-03 Thread Adam Fowler

Hi,

Tomcat doesn't need to find mod_jk - Tomcat listens for mod_jk on port
8007(ajp12) or 8009(ajp13). Mod_jk uses the configuration file included in
apache's file (mod_jk.conf.auto) to determine which to use when handed a JSP
file.

Tomcat tends to recreate the mod_jk.conf.auto file on each start. What I did
was copy this file to something like mod_jk.conf.correct and include this
file in apache. This way you can set up tomcat for your own specific needs.

You could simply make a symbolic link from www/tomcat-conf to wherever
tomcat is. E.g.:-

ln -s /web/tomcat-conf /path/to/tomcat/conf

Of course, if you still used the file mod_jk.conf.auto then it would be
overwritten on each start.

I'm not sure about NFC chat server - I've never heard of it, sorry! 8o)

If its an apache program then include it in apaches config file. If its a
Java program then you should be able to add its location to the classpath in
order for tomcat to find it and allow your java programs to use it
functions.

I hope this all helps, keep persevering!

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Juan Alberto Cirez [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 03, 2001 3:46 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Mod_jk and NFC Chat
Importance: High


Hello to all.
I am new to this list and to tomcat as well (I come from an apache
background).
I have the following questions:
I am trying to setup Apache to work with TomCat w/mod_jk to work with
NFC Chat Server.
My apache configuration files are located on /web/apache-conf
I start the server with the following command
/path/to/binary/httpd -f /web/apache-conf/httpd.conf

I have include directive so apache includes the tomcat-apache-conf-auto
file in its configuration.
By the way, how do I tell tomcat to look for mod_jk.so in
/path/to/apache/libexec rather than the server's root?

I want to include the configuration for Tomcat in /web/tomcat-conf
How do I start TomCat so it uses this location for all its configuration
file?

I also wat to include the configuration for the NFC Server in
/web/nfc_chat-conf
How do I start the chat server so it uses this configuration file...?

Help, please

---
Juan Alberto Cirez - Chief Creative Officer
[EMAIL PROTECTED] - [EMAIL PROTECTED]

-- hip2linux Professional Services, Inc.---
- Fortalezza VPN/Firewall
- Commandante Remote Network Management
- Network Security
- Intranet & Extranet Management
---
www.hip2linux.com www.micanno.com
www.dominicanarmy.com www.basementsuite.com
www.micanno.com  www.fortalezza.com
---
 Sunny and Beautiful Vancouver, Canada.
---

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



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




Upcoming Tomcat book...

2001-03-03 Thread Adam Fowler

Hi all,

I will shortly be writing a book for Sams Publishing in a similar format to
the recently released(and well received) book on Python.

I currently have the task of writing a proposal for content of the book. The
book's target audience is web developers who will be using Tomcat. It will
be based on Tomcat 4.0, but will also be useful for Tomcat 3.x.

I am e-mailing this list to ask for serious suggestions for sections of the
book. From installation through configuration to deploying custom
applications.

Any help would be appreciated and would benefit everyone as this book is
meant to be for you people.

If any Tomcat User Group(TUG) members wish to write user documentation for
Tomcat (The 'paths' that have been discussed) then drop me an e-mail and
maybe we can help each other.

Regards,
Adam.

----
Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"




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




RE: help with Tomcat under windows ME...

2001-03-03 Thread Adam Fowler

Hi,

If all goes well then hopefully you should be able to do the following in IE
http://localhost:8080
And a little tomcat will appear with some tomcat info.

Hope that's what you mean(?)

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: dick [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 7:38 PM
To: [EMAIL PROTECTED]
Subject: Re: help with Tomcat under windows ME...


Hi Rob,

I do run Tomcat on Window ME and it runs smooth. So,would you give more
information?
e.g. What do you see when you start Tomcat?


Dick
- Original Message -
From: "Rob Smyth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 02, 2001 11:35 PM
Subject: help with Tomcat under windows ME...


> I can't start Tomcat under windows ME...
>
> Is there a way I can do this?  I've made all the appropriate changes to
the
> classpath in the autoexec.bat, but I keep getting the 'out of environment'
> error.
>
> Thanks for any help.
>
> Rob Smyth
>
>






> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [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: Tomcat on Linux

2001-03-02 Thread Adam Fowler

Hi,

Have you got Sun's JDK, or another JDK, version 1.3??? If not, try
installing that instead.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"

-Original Message-
From: Wang, Yuhui [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 2:55 PM
To: '[EMAIL PROTECTED]'
Subject: Tomcat on Linux


Hello,

I have problem running tomcat on Linux, Red Hat 6.0.  When I try to start
the
tomcat using the script, there is a Java exception of
Can't open config file: /home/tomcat/conf/server.xml due to:
java.io.UnsupportedEncodingException: UTF8

I'm using tomcat 3.2.1

Can someone help me with this.

Yuhui Wang
Software Analyst
[EMAIL PROTECTED]


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




RE: tomcat with Apache

2001-03-02 Thread Adam Fowler

Hi,

You'll need to either download the source and recompile it, or easier -
download the redhat RPM.

They're listed on my site. http://willow.cc.edu/docs/adminguide

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"

-Original Message-
From: Wang, Yuhui [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 5:02 PM
To: '[EMAIL PROTECTED]'
Subject: tomcat with Apache


Hello,
I try to make tomcat working with Apache webserver on a Red Had 6.0 machine.
When I try to restart Apache after the tomcat, it complains about the
mod_jk.so file I downloaded from the website.  Error message is as
API module structure `jk_module` in file /etc/httpd/libexec/mod_jk.so is
garbled - perhaps this is not an Apache moduel DSO?
I tried to download the mod_jk.so file several times.  Same thing happens
everytime.


Yuhui Wang
Software Analyst
[EMAIL PROTECTED]


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




RE: Apache & tomcat problem

2001-03-01 Thread Adam Fowler

Hi,

If you downloaded a binary file then its more than likely it doesn't work
for your configuration. You will either need to install from RPM(in linux)
or recompile it/download it for windoze.

Check out my site for info and builds: http://willow.cc.edu/docs/adminguide

Good luck.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Arun Sivashankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 6:12 PM
To: '[EMAIL PROTECTED]'
Subject: Apache & tomcat problem



Hi-

I am relatively new to tomcat, and I am trying to get it to work properly
with apache and mod_jk.  I'm actually using embedded tomcat with jboss, and
when i hit port 8080 it compiles the jsp's correctly, and executes the
servlets correctly.  However, when I run apache in front of it, with mod_jk,
and with the mod-jk.conf-auto included in the httpd.conf, there is a
problem.

Apache is recognizing the Alias directive (that is, the /examples context is
mapping to the correct folder, specified in mod_jk.conf-auto), and when I
click on a jsp (which I set up a JkMount directive for), it seems to be
recognizing it and associating it with ajp12.  I know this because I turned
on the logging for tomcat, and it tells that it is handling the request with
ajp12.  However, Apache is only spitting back the JSP source in text.  It
doesn't look like it is letting tomcat compile and return the response or
something.  Also, when I send a request for a servlet, apache responds a
404, and not the output of the servlet.  Why is this?  Did i configure
something incorrectly?

If you have and ideas, please let me know.  Also, if you could cc my actual
email ([EMAIL PROTECTED]) that would be most helpful, as I don't check the
list that frequently.

Thanks in advance.

arun

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

2001-02-28 Thread Adam Fowler

Hi,

Try downloading the .tar.gz again (sounds like a bad download) and then run
tar xzvf jakarta-tomcat-3.2.1.tar.gz and It'll work. 8o)

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"

-Original Message-
From: Tan Khim Siang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 9:58 PM
To: Tomcat User Group
Subject: Tomcat Src


Hi I am trying to untar the tomcat src tarball and I always get this error
msg where I do a tar xvf on the tarball:





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



--
Tan Khim Siang
Account Manager
DV9 International Pte Ltd
21A Sembawang Road
Singapore 779076
Tel: 4531435 Fax:4535106
http://www.dv9.com


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




RE: Question about configuration

2001-02-27 Thread Adam Fowler

Hi,

You'll need a little thing called mod_jk to get apache to forward requests
for JSP + servlets to Tomcat.

Try reading the mod_jk faq at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
or my version (Linux specific though ;o( ) at
http://willow.cc.edu/docs/adminguide

Hope that helps you.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Stote, Robert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 4:47 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Question about configuration


so far I'm with you...

I have both apache...and tomcat up and running I can see each of there home
pages...where I getting stuck is the ability to configure apache or tomcat
(I'm not sure which one) to forward the requests that come in from apache to
tomcat to get tomcat to run the servlet.

right now I'm reading a good article from java world..but it seams to
concentrate on running tomcat as a stand alone...
good article though...

http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-servletweblogic.html

Rob



-Original Message-
From: Web master [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about configuration


I never used Win2K, but let us see, if i can help.

First you down load everything  fresh.(Tomcat and JDK)
you have update two variable in your environment
JAVA_HOME=c:\jdk1.3
TOMCAT_HOME=c:\jakarta-tomcat-3.2.1 (or what ever directory you have)
You can set it through the control panel.

Now go to tomcat bin directory

in my example it would be
c:\jakarta-tomcat-3.2.1\bin\
and execute startup.bat ie

c:\>cd c:\jakarta-tomcat-3.2.1\bin\
c:\jakarta-tomcat-3.2.1\bin>startup

Now this should bring in another ms dos prompt. that will be java
console. You need not worry about it at this time

Now lanch your browser and put the following url and it should show the
tomcat home page.
http://localhost:8080/

If you can see the tomcat home, then you are ready to make change to
lanch your application. If you can not see tomcat homebase, we have to
fix your configuration before continuing...



Robert Keddie wrote:

> HI Unni...can u helpme out too?
>
> I have Apache 1.3.14/Tomcat 1.1.2
>
>  both running...
>
> i can call up the helloworld example through the local host
>
> but i cant call up my own jsp's! i get a 404
>
>
>
> im on a win nt
>
>
>
> Robert Keddie
> web development
> Marion County, FL
>
>  >>> [EMAIL PROTECTED] 02/27/01 04:45PM >>>
> unni
>
> I'm on Win2k
>
> sorry I should have provided that
>
> thnx
>
> Rob
>
> -Original Message-
> From: Web master [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 4:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Question about configuration
>
>
> Hi Stote,
>
> What OS are u using? If you are using Win'98 or Win NT, please let me
> know, I will try my level best to help you.
>
> -Unni
>
>
>
> Stote, Robert wrote:
>
>  > Hello:
>  >
>  > I was wondering...after I get apache and Tomcat installed where do I go
> from
>  > there...I've read all the documentation (users guide, developing
>  > applications, howto etc..)...and feeling over whelmed. I would like to
> have
>  > my servlets reside on Tomcat, the requests would be coming from
> html pages
>  > from apache...worded poorly sorry...but the long and the short of
> it is I
>  > have no idea what I should or shouldn't be changing...on the config
> files
>  > for example...are the pound signs..section that are commented
> out...where
> do
>  > I add the included statments..and when I did follow the users guide and
>  > edited the sever.xml file the whole thin (Tomcat) stopped
> working...I hope
>  > some one can help me..all I want to have happen is have an html, or jsp
>  > forward a request to a servlet which resides on Tomcat, have the
> servlet
> do
>  > what it has to do...then stream back the html, or xml back to the
> browser.
>  >
>  > I am completely lost..is there a book or something I should be
> reading ? I
>  > am a java programmer, and used to using javawebserver...
>  >
>  > Rob (total newbie)
>  > I guess there is a reason I only program in java ;)
>  >
>  >
>  >
>  >
>  > -
>  > To unsubscribe, e-m

RE: mod_jk installation

2001-02-26 Thread Adam Fowler

Hi,

Usually local strings are used to internationalise an application.

You may want to try your contexts using windoze paths e:\dir\dir2\file
instead of forward slashes which are UNIX/Linux file separators.

Regards,
Adam.

-Original Message-
From: Chris Andreou [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 5:21 PM
To: '[EMAIL PROTECTED]'
Subject: mod_jk installation


I have installed (migrated)  from  jser_mod to jk_mod. I installed and I was
able to run the examples. My problems is when I registered a new 
within Tomcat and try to run a simple sevlet then I get the exception
handling errors.

The steps i followed were:
Server xml:




httpd.conf :
Alias /examplesb "E:/Tomcat/webapps/examplesb"

Options Indexes FollowSymLinks

DirectoryIndex index.html

#Configuration for examplesb
JkMount /examplesb/servlet/* ajp12
JkMount /examplesb/*.jsp ajp12

3. Create an examples directory under webapps
Create an Web-Inf directory under examplesb
Create a web.xml file with the following info:


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



HelloWorld


HelloWorldExample




-> Create a classes directory the Web-inf
Copy HelloWorldExample.class

Sometimes I get a response and sometimes I don't when I remove the following
files
LocalString.properties


What is the usage of files?  What process and steps should I follow once I
want to register a servlet into Tomcat?

Thanks in advance




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




RE: Starting Tomcat

2001-02-26 Thread Adam Fowler

Hi,

I have a very basic Mandrake startup script available in the downloads
section at http://willow.cc.edu/docs/adminguide

You may need to edit a few paths, though, as I stupidly put tomcat in the
wrong place. 8o)

I'd be interested in exactly how you end up configuring the startup.

If you don't know how to create a symbolic link then:-
ln -s /etc/rc.d/init.d/tomcat /etc/rc5.d/Sxxtomcat

Where tomcat is the tomcat script and xx is the number directly before
apache's (don't worry about another startup script having the same number)

Sorry if the above was basic, but you said you were a newbie. 8o)

Good luck, keep me posted?

Regards,
Adam.

-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 10:20 PM
To: [EMAIL PROTECTED]
Subject: Re: Starting Tomcat


On Mon, 26 Feb 2001, Ferdinand Enario wrote:

> I am new to tomcat. I have just installed tomcat on Linux Mandrake 7.1
with
> Apache on it. I was able to configure this:
> http://localhost/examples/jsp/index.html My problem now is how do I start
> tomcat automatically before Apache starts (auto load on machine boot).
> Please help.

You should look under /etc/rc.d/init.d and take a look at the startup
scripts used for starting the various daemons used on your system.  You
will find directories under /etc/rc.d with names like rc1.d, rc2.d, rc3.d
, where the number indicates the runlevel you are running Linux under --
probably runlevel 5, if you boot directly into X rather than the console,
so you would want to use /etc/rc.d/rc5.d.

You will want to create a script that starts up tomcat -- use the apache
script as a template.  Place this script in /etc/rc.d/init.d, and make a
symbolic link under /etc/rc5.d, but the link has a special form of
S##, where ## is a number in sequence for start up.  So if
apache starts up as S75httpd, you will want to make tomcat start up as
S74tomcat, to insure tomcat starts up before Apache.

Please see the man page for init for more information pointing to startup
scripts and runlevels.

-- Brett
 http://www.chapelperilous.net/~bmccoy/
---
Do you know Montana?


-
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 running inprocess with Netscape 3.62 webserver.

2001-02-26 Thread Adam Fowler

Hi,

Should it be looking under the d:\struts directory? I thought struts was
another jakarta project?

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 4:31 PM
To: [EMAIL PROTECTED]
Subject: Tomcat running inprocess with Netscape 3.62 webserver.


Hi guys,

I am trying to set up tomcat to run inside the Netscape's webserver process.
Using Netscape Enterprise Server 3.62

I followed all the steps mentioned in the documentation to run tomcat inside
the webserver
process. Downloaded the jni_connect.dll, changed the server.xml and
worker.properties file
as mentioned.

But when I try to start tomcat using the command "tomcat run" from the bin
dir,
it gives a null pointer exception.


***
2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /examples )
2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /firstJSP.jsp )
2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /Hello.class )
2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /Hello.java )
2001-02-26 02:29:52 - ContextManager: Adding context Ctx(  )
2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /test )
Failed to loadLibrary()
d:/struts/tomcat/jakarta-tomcat-3.2.1/bin/win32/i386/jni
_connect.dll
Library d:/struts/tomcat/jakarta-tomcat-3.2.1/bin/win32/i386/jni_connect.dll
loa
ded
FATAL:java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.tomcat.service.JNIEndpointConnector.start(JNIEndpointConne
ctor.java:110)
at org.apache.tomcat.core.ContextManager.start(ContextManager.java,
Comp
iled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)



*

I searched the archive, but still couldn't find any answer to this.
Am I missing something here? Many thanks for any feedback on this


Thanks,
Prasad M



-
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: JServ -> mod_jk

2001-02-26 Thread Adam Fowler

Hi,

Mod_jk has its own config file called mod_jk.conf.auto you'll need to caopy
this to something like mod_jk.conf.correct and edit it for your paths etc.
After this make sure apache is including it.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 3:49 PM
To: [EMAIL PROTECTED]
Subject: JServ -> mod_jk


I am trying to migrate some applications from Apache/JServ to Tomcat using
mod_jk, and I am having trouble getting Tomcat to find servlets that are
in my classpath.

The web application is really just a presentation layer on top of a
proprietary application server built with Java.  Many of the various
packages that the application server is built from have servlets
associated with them.  Right now, these classes are not archived but are
under a development directory which is in the classpath.  Here is the
basic structure of the entire system (this is on Windows 2000):

\dev\src --> has all of the Java packages, unarchived, including servlet
 classes.  This is in the CLASSPATH

\dev\public_html --> document root (JSPs)  Apache is pointing here and a
 Context also exists in server.xml

\3rdpart\jakarta --> TOMCAT_HOME
\3rdparty\apache --> APACHE_HOME

Tomcat and Apache work fine using the default contexts (i.e., everything
under /examples works just fine).

Now, when I start up the servers, the index.jsp under the document root
loads, runs some JavaScript to see if cookies are enabled:

if (document.cookie.indexOf("acceptCookies=") < 0)
  {
top.location.replace("/Error/Cookie/");
  }
  else
  {

top.location.replace("/servlets/com.appserver.servlets.Login");
  }

When the redirect occurs, I get

Not Found (404)

Original request: /servlets/com.appserver.servlets.Login

Not found request: /servlets/com.appserver.servlets.Login

in the browser.

The JSPs are building and compiling just fine (the compiled classes are
showing up under %TOMCAT_HOME%\work), but the servlet classes are just not
being seen.

What am I missing?

-- Brett
 http://www.chapelperilous.net/~bmccoy/
---
You will receive a legacy which will place you above want.




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



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




E-mail guidelines...

2001-02-26 Thread Adam Fowler

Hi all,

Could everyone please make sure that the to: address when they send e-mail
to this list is [EMAIL PROTECTED] and not "tomcat user"
"tomcat" or "< ". It's a pain to sort through 50 unknown e-mails to put them
in the right place.

Also, the e-mail guidelines request that people use plain text messages. Not
RTF, HTML or any other pretty styling that Microsoft has come up with. This
is to allow people who read e-mail using a plain text editor (pine, elm etc.
on Unix/Linux) to actually read it. Otherwise they just get told the e-mail
has an attachment and probably don't ever bother reading it. (I know I don't
when I'm in Unix 8o) )

The above are only little things, but helps a lot in reply times.

Thanks,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"




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




RE: reloading of changed servlets fails

2001-02-25 Thread Adam Fowler

Hi,

Did you guys try using c:\blah\blah instead of the unix '/' file seperator?

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Ashant Chalasani [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: reloading of changed servlets fails


Hi,

This happens with me too, could never figure out for about a month why. But
the problem gets solved when I restart Tomcat service.

Is this a bug?

AC.

>From: "C _" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: reloading of changed servlets fails
>Date: Sun, 25 Feb 2001 18:09:09 +0100
>
>hi all,
>
>i'm using tomcat on win98 in standalone mode. I defined a context like
> docBase="C:/mydata/code/JAVA/foo/servlets"
> crossContext="false"
> debug="0"
> reloadable="true" >
>
>everytime i recompile a servlet's classfile in
>directory foo\servlets\Web-inf\classes
>i get a error like
>"java.lang.IllegalStateException: Can't happen - classname is null, who
>added this ?
>   at
>org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:261)"
>
>anybody knows?
>
>thanx - carl
>
>
>_
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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: webapps/ROOT/index.html

2001-02-25 Thread Adam Fowler

Hi,

You could always try replacing the directory with a symbolic link to your
directory as a workaround. Make sure no files are deleted, though. 8o)

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Batara Kesuma [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 2:44 PM
To: [EMAIL PROTECTED]
Subject: webapps/ROOT/index.html


Hi,

I just installed Tomcat 3.21. I installed it to the directory, say:
/home/bk/tomcat

And then I set:
TOMCAT_HOME=/home/bk/tomcat
JAVA_HOME=/usr/java/jdk1.3

Then I run tomcat with:
/home/bk/tomcat/bin/startup.sh

I can go to:
http://localhost:8080/index.html

And seems like it is the default page from Tomcat.

My question is, the main page is pointing to /home/bk/tomcat/webapps/ROOT.
I wonder how can you change this? I have edited server.xml and web.xml,
but there was no 'webapps/ROOT' word there. Please help, and thank you so
much :)

-bk-

-
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 with Tomcat - Red Hat 7

2001-02-25 Thread Adam Fowler

Hi,

Which/who's JDK are you using? Sun/IBM/Blackdown??? And is it Java 2 SDK
v.1.3???

Also, If you installed from Henri's RPM's then they assume IBM's JDK.

I'm currently working on a bit of c that will do a locate for the JDK on an
RPM install so it _always_ get set right, but it'll take a while (pipe's n
stuff)

You can't use the java files that come with Redhat(or Mandrake) you'll need
Sun's JDK 1.3 or IBM's.

Make sure these are installed then check all classpaths to see they are
finding the right one.

Also, if upgrading then make sure the config files are accurate for the new
release. You may want to make backups of your current config files then
overwrite the originals with the 4.0 files. If the default 4.0 setup works
then add your extra info from your 3.2 files.

Good luck.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Nauman Rafique [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem with Tomcat - Red Hat 7


I am having the same problem but here the problem is with jdk( not with
tomcat)
Its giving segmentation error...
nebody having any idea???

Thank you
- Original Message -
From: "niv the tool" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 25, 2001 8:45 PM
Subject: RE: Problem with Tomcat - Red Hat 7


> i also have prb. running tomcat 4 on redhat 7 i get these error
> ( BTW tomcat 3.2 works fine )
>
> 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.(StandardClassLoader.ja
> va:166)
> at
>
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106)
> 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.(StandardClassLoader.ja
> va:166)
> at
>
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106)
> 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.(StandardClassLoader.ja
> va:166)
> at
>
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106)
> 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.(StandardClassLoader.ja
> va:166)
> at
>
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106)
>
> any idea>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [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: Handling query strings

2001-02-24 Thread Adam Fowler

Hi,

There should either be a way to iterate over the parameters(and thus know if
there are any by testing the iterator) or a method to return the number of
querystrings.

Or at least that's standard Java.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Venkat [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 7:41 PM
To: [EMAIL PROTECTED]
Subject: Handling query strings


Hi All

When we more than one querystring in JSP, how do we
read then in the next page, because if we use
request.getQueryString(), it returns the whole string
after '?'

and if we use request.getParameter("parameterName"),
it works fine, but when requests come from different
pages and they do not contain this parameter, it
throws nullpointer exception.

In detail:

abc.jsp?id=123, in abc.jsp we can read id by using
request.getParameter("id"), but if a request comes
from another page, say, xyz.jsp to abc.jsp without any
parameter, abc.jsp throws expection

Is there any better way of dealing with these
querystrings/parameters.  any examples/links are
highly appreciated

Regards

Venkat



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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 with SSL

2001-02-24 Thread Adam Fowler

cancel that last one, was assuming you were using apache for some bizarre
brain-lack-of sleep reason.

8o)

Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Mandar Joshi [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 6:27 PM
To: [EMAIL PROTECTED]
Subject: tomcat with SSL


Hi,

I am using tomcat V3.2. I am trying to configure SSL for stand alone tomcat.
I have following entry in the server.xml file






 


When I start tomcat it shows me that it has started listening to port 8443
however When I type https://myserv:8443/, it gives me 'The page cannot be
displayed' error

Tomcat consol dumps following lines
2001-02-24 04:18:13 - Ctx(  ): 400 R( /) null
2001-02-24 04:18:13 - Ctx(  ): IOException in: R( /) Socket closed

Any ideas why is this happening ?

Thanks in advance
Mandar


-
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 with SSL

2001-02-24 Thread Adam Fowler

Hi,

I thought SSL listener on port 443, not 8443? If so then does SSL know that
you're using 8443 instead?

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Mandar Joshi [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 6:27 PM
To: [EMAIL PROTECTED]
Subject: tomcat with SSL


Hi,

I am using tomcat V3.2. I am trying to configure SSL for stand alone tomcat.
I have following entry in the server.xml file






 


When I start tomcat it shows me that it has started listening to port 8443
however When I type https://myserv:8443/, it gives me 'The page cannot be
displayed' error

Tomcat consol dumps following lines
2001-02-24 04:18:13 - Ctx(  ): 400 R( /) null
2001-02-24 04:18:13 - Ctx(  ): IOException in: R( /) Socket closed

Any ideas why is this happening ?

Thanks in advance
Mandar


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



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




Tomcat success stories [was Basic Question]

2001-02-24 Thread Adam Fowler

Glad to hear it! 8o)

Mine works too, but its only on a research machine! Although a group of
malicious programmers may be using it soon and trying to take it down.
(read: students learning jsp!)

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Karl Martino [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 3:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Basic Question


We have been running Tomcat, with Apache as it's web
server, in production mode now for almost a year.
Over 20 million hits monthly from 7 tomcat servers and
6 apache servers, serving over 15 newspapers,
including the Philadelphia Inquirer.

We may just be the biggest Tomcat users out here :)
It works.  It's good.  We've been happy.

BTW - I'm the lead programmer of KnightRidder.com's
Cofax project.  java.sun.com recently wrote an article
about us.

We faced very tough money constraints and fought for
the project.  Tomcat was a huge part in it's success.

-Karl

--- "Ansgar W. Konermann"
<[EMAIL PROTECTED]> wrote:
> Ashant Chalasani wrote:
> >
> > Hello all!
> >
> > A very basic question - Can Tomcat be run as a
> standalone
> > production-strength webserver (along with being a
> servlet engine and JSP
> > processor), or Apache is required/recommended as
> well.
>
> Standalone: yes
> Production: I'm not sure, maybe.
> Apache recommended as well: yes, at least for static
> content, since
> apache is faster here.
>
> You can put tomcat behind apache so that tomcat
> handles some urls/paths,
> forwards its answers to apache and apache delivers
> the content to the
> client. For the remaining urls (which were not
> mapped to tomcat), apache
> itself processes the whole request.
>
> --
> Best regards,
>
> Ansgar W. Konermann
>
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.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: Newbies UNITE!

2001-02-24 Thread Adam Fowler

Hi,

Oh believe me, people would use them. The docs need updating _badly_. They
have a lot of content but not too much information as an AI guy would say.

Just a _really_ basic intro set of docs would half the posts to this group.
All they need to do is cover different platforms and web-servers. For
example, there should be a doc for getting tomcat installed on each
platform, then one for the different web servers. Then one for the modules
and configuration changes for each web server - tomcat version
configuration. They exist now but aren't at all useful. Too complex. If they
were broken down it would help.

The main problem seems to be with the linking module(mod_jk) and access to
binary builds for a variety of platforms.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Kyle Burke [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 3:01 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbies UNITE!


Judging by some of the posts, who would use the docs anyway?

They are supplied for other api's, yet questions that are explained clearly
in them still get asked here.



-Original Message-
From: Adam Fowler [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 3:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbies UNITE!


Hi,

Maybe it would be better and a hell of a lot simpler to form a
"documentation group" to get the docs done. Then everyone could use them and
live happily ever after.

Come to think of it, who is responsible for the tomcat/mod_jk docs atm?

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of aras
Sent: Friday, February 23, 2001 4:40 PM
To: [EMAIL PROTECTED]
Subject: Newbies UNITE!


I admit it, I'm a ... newbie.  It makes me ill having to admit that
considering
I've been coding for almost twenty years.  Old dogs new tricks.

Here's the deal.

I've been trying to use TomCat for about a month.  That time isn't work
hours
because I'm doing this at night (2-3 hours per).  Anyway, I've been on this
list for all that time and have seen literally thousands of emails.  Most of
them being in the newbie variety.

Here's what I'm thinking.  If there are ten to fifteen newbies out there who
are in somewhat of my situation, let's join forces and kick this thing in
the
butt.  Now, I would imagine if your using TomCat 8 HR/Day (meaning "it's
your
job"), you'll be going too fast for us.  You might want to stick to this
list.

We need the ability to exchange massive amount of information.  Everything
from
e-mail to chat.  In fact, if you have any communications ideas I'm willing
to
listen.  I guess it would be almost like a TUG (TomCat User Group) except we
won't have any experts.  We'll be able to use tomcat-user list for the
"expert"
type questions.  I'd like us to develop "our own" How-To's and eventually ,
if
they turn out correct, submit them to the project.

Reply directly to me and include to this list if you'd like


The time is now.


Steve

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



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



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




Mod_jk.so binary builds...

2001-02-24 Thread Adam Fowler

Hi all,

I've decided I may as well compile a collection of binaries for mod_jk.so
(extra credit for this research topic!?!)

If anyone who has compiled mod_jk for any platform please send me a copy
plus the following info:-

Processor
Operating System
tomcat version
Web server

That's all. They'll be up on willow at http://willow.cc.edu/docs/adminguide

Thanks everyone.

Regards,
Adam.

----
Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"




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




RE: Newbies UNITE!

2001-02-24 Thread Adam Fowler

Hi,

Maybe it would be better and a hell of a lot simpler to form a
"documentation group" to get the docs done. Then everyone could use them and
live happily ever after.

Come to think of it, who is responsible for the tomcat/mod_jk docs atm?

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of aras
Sent: Friday, February 23, 2001 4:40 PM
To: [EMAIL PROTECTED]
Subject: Newbies UNITE!


I admit it, I'm a ... newbie.  It makes me ill having to admit that
considering
I've been coding for almost twenty years.  Old dogs new tricks.

Here's the deal.

I've been trying to use TomCat for about a month.  That time isn't work
hours
because I'm doing this at night (2-3 hours per).  Anyway, I've been on this
list for all that time and have seen literally thousands of emails.  Most of
them being in the newbie variety.

Here's what I'm thinking.  If there are ten to fifteen newbies out there who
are in somewhat of my situation, let's join forces and kick this thing in
the
butt.  Now, I would imagine if your using TomCat 8 HR/Day (meaning "it's
your
job"), you'll be going too fast for us.  You might want to stick to this
list.

We need the ability to exchange massive amount of information.  Everything
from
e-mail to chat.  In fact, if you have any communications ideas I'm willing
to
listen.  I guess it would be almost like a TUG (TomCat User Group) except we
won't have any experts.  We'll be able to use tomcat-user list for the
"expert"
type questions.  I'd like us to develop "our own" How-To's and eventually ,
if
they turn out correct, submit them to the project.

Reply directly to me and include to this list if you'd like


The time is now.


Steve

[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: First time user - gripe!

2001-02-24 Thread Adam Fowler




-Original Message-

>... Nine hours of time later,
>I've got the darn thing running - but I could have saved those
>nine hours of time if somebody would just update the file...


That's nothing,

My Professor was staring at the config files for 16 hours before his worked!

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"








tomcat-iis-howto.html

so that Step 8 in the section "Configuring the ISAPI Redirector"
is more clear and concise and actually says:

"add/edit the 'Filter DLLs' STRING VALUE"

instead of :

"add/edit the 'Filter DLLs' KEY"

After going through all the FAQs and troubleshooting steps, I
finally got on the mailing list archive and found a recent message
stating that "Filter DLLs" should be a string value.

Think of how much time and anguish you Tomcat developers could
save us users if you'd just change that one word and produce some
accurate documentation!

For lack of a nail...


Mike Caprio
Software Engineer Microwave Radio Corporation
[EMAIL PROTECTED]101 Billerica Avenue, Building 6
978-671-5770North Billerica, MA  01862-1256

-
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 and apache not happening

2001-02-24 Thread Adam Fowler

Hi,

I have 'A' binary for solaris, not sure whether its intel or not. Try it and
e-mail me [EMAIL PROTECTED] if it works or not. Unfortunately this year I'm in
the USA and only have access to Win2k/NT/Mandrake machines instead of my
dept's lovely solaris collection in Wales.

RPM for mandrake is en-route btw.

http://willow.cc.edu/docs/adminguide goto jakarta/tomcat section / download
etc. etc.

If the binary doesn't work and you like reading then try out the howto I
have there.

Any solaris developers/wannabe developers want to make a binary and send
them to me with info on your platform?

Good luck.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Jennifer Dyess [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 2:03 PM
To: [EMAIL PROTECTED]
Subject: RE: tomcat and apache not happening


well, I think it definitely is my mod_jk.so.
When I use the old plugin, mod_jserv.so, everything works fine.

Does anyone have a compiled mod_jk.so for apache 1.3/Solaris/intel that I
could use?

-Original Message-
From: Jennifer Dyess [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: tomcat and apache not happening


Hi-
Thanks for the info.
As far as I can tell, I've configured everything correctly.  Could it be a
problem with the mod_jk.so? I wouldn't think so, because it compiled fine
and apache doesn't croak when trying to load it.  The mod_jk.log doesn't
indicate any type of errors.

Is there anyway to verify that apache and tomcat are talking?


 On Sat, Feb 24, 2001 at 04:38:22PM +, Ratnakar Malla wrote:
> Hi,
> i made up a list of instructions,as to howto install
> Tomcat and Apache, and how to  make them talk with
> each other. Please look at it, and see if it is
> useful.
> here is the URL:
>
> http://www.geocities.com/donmalla/ATS/apache-tomcat-install.html
>
> Thanx,
> Ratnakar
> --- Jennifer Dyess <[EMAIL PROTECTED]> wrote: >
> Any suggestions would be appreciated.  I've been
> > working on this for a while
> > now.
> >
> > -Original Message-
> > From: Jennifer Dyess
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 23, 2001 6:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: tomcat and apache not happening
> >
> >
> > here are my config files
> >
> >
> > -Original Message-
> > From: Jennifer Dyess
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 23, 2001 6:01 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: tomcat and apache not happening
> >
> >
> > the server.xml has the following:
> >
> >  >  docBase="webapps/examples"
> >  crossContext="false"
> >  debug="0"
> >  reloadable="true" >
> > 
> >
> > -Original Message-
> > From: Ryan [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 23, 2001 5:13 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: tomcat and apache not happening
> >
> >
> > make sure that server.xml has a context manager.
> >
> > -ryu
> >
> >
> > - Original Message -
> > From: "Jennifer Dyess" <[EMAIL PROTECTED]>
> > To: "Tomcat-User@Jakarta. Apache. Org"
> > <[EMAIL PROTECTED]>
> > Sent: Friday, February 23, 2001 5:06 PM
> > Subject: tomcat and apache not happening
> >
> >
> > > I'm running solaris 8 intel
> > > tomcat 3.2
> > > apache 1.3.14
> > >
> > > So, i thought i had all this configured properly.
> > But, it doesn't look
> > like
> > > apache is sending jspservlet requests to tomcat.
> > My mod_jk.so seems to
> > have
> > > compiled correctly (finally) and apache doesn't
> > give any errors when it
> > > starts.
> > > I've tried a couple of different configs in my
> > httpd.conf.
> > >
> > > first I addded the following to the http.conf:
> > > Include /usr/tomcat/conf/mod_jk.conf-auto
> > >
> > > I get a "page cannot be displayed" when I try
> > http://localhost/examples
> > > this is what it logs in the access log: "GET
> > /examples HTTP/1.1" 301 336
> > >
> > >

RE: Problems with gabled mod_jk

2001-02-23 Thread Adam Fowler

Hi,

It's EEAASSYY...kind of. *memories of 5 days of
reading/e-mailing*

You need to recompile it else it'll never work! Have a look at my exhaustive
howto for mod_jk at http://willow.cc.edu/docs/adminguide . You can find the
source from there too.

A few of us are working on getting RPM's made for Redhat(done)
Mandrake(gimme time!) and SUSE(anyone?) ao it'll be really easy soon.

Redhat RPMs can be found at
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/rpms/

Hope this works.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Peter Andersén [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 8:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems with gabled mod_jk


Thanks
But im  not using the mod_jk that ships with rpm, i have downloaded the
precompiled version that exists on jakartas homepage.
But do you think this is a version that is compiled for RPM or?
I could compile it , but im not that keen to spend another 4 hours to
compile this and end up with the same results.
Since im pretty new to this evry step takes loong time to conclude.

Regards
Peter A
- Original Message -
From: "John Towell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 3:02 PM
Subject: RE: Problems with gabled mod_jk


This one should be on an FAQ somewhere.  I experienced the same message.  It
resulted from using a mod_jk.so that was packed in an RPM.  The solution was
to get the source from the tomcat site and build a new mod_jk.so by
following the directions in the mod_jk howto that comes with tomcat
documents. Good luck!



-Original Message-
From: Peter Andersén
To: [EMAIL PROTECTED]
Sent: 2/23/01 8:03 AM
Subject: Problems with gabled mod_jk

Hi have installed and tested with both apache 1.3.17 and 1.3.14 and
1.3.12 same result.

I have compiled my apache to support DSO.
./configure --prefix=/usr/local/apache --enable-module=so
i have checked with httpd -l and seen that the dso support is their.

But when i try to execute the mod_jk.conf-auto that tomcat creates i get
an error on the LoadModule jk_module libexec/mod_jk.so
I have used the precompiled version form tomcats homepage.
The error is saying that this module is garbeld.
complete error messages API module structure 'jk_module' in file
/usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an
apache module DSO.
Any out there having suggestion what to do, im pretty new to linux so it
should not be to advanced and if you suggest any advance step it would
be extremly helpful to get a step by step instruction.

If i try on the same machine where i have apache installed with shipment
thru RPM and it is version 1.3.12 this is working but it also only have
core.c and mod_so.c compiled into the apache kernel. The other version
is downloads from Apache and it seems to be something im missing when
compiling or im not sure

Looking forward to see if somebody can help me.
Regards
Peter Andersen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [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: need help,please, second time to post it.

2001-02-23 Thread Adam Fowler

Hi,

Did you change the IP address in tomcat.properties or workers.properties?

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: sun [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 11:32 AM
To: [EMAIL PROTECTED]
Subject: need help,please, second time to post it.


hi, there,
when I start tomcat with apache, I got error below:

[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 145
[jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno
= 145
[jk_ajp13_worker.c (584)]: Error connecting to the Tomcat process.

how come to this?
it happened after I changed ip address of my solaris.

rgds
sun


-
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, apache, and mod_jk

2001-02-23 Thread Adam Fowler

Hi,

I think they're just .so files so the default config files are portable. You
can tell M$ Developer studio to call the files whatever you like really. The
default apache ones are always .so's though. Probably just a wierd exception
to the rule!

Glad to hear it's working.

Regards,
Adam.

----
Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Steve Buroff [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 5:27 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Buroff, Steven
Subject: RE: tomcat, apache, and mod_jk


Thanks much, that worked fine.
The reason I thought I needed a .so
(even though I realize that's a Unix "shared object"
and windows use dll's (dynamic linked objects) is
that all of the files in Apaches modules directory
were .so. I turned a couple on (uncommented the
LoadModules's) just to see and apache started with
no problems. Do you happen to understand that?
Everything is working now. I'm just asking this for
my own edification. Thanks very much for your help.

Steve

-Original Message-
From: Adam Fowler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 9:09 PM
To: [EMAIL PROTECTED]
Subject: RE: tomcat, apache, and mod_jk


Hi,

Nah, you don't need the .so, just mod_jk.dll.

You can get it from:-
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38
6/mod_jk.dll

Read the documentation at:-
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html

And where it mentions mod_jk.so just replace with mod_jk.dll and it'll work
fine. *cringe*

Hope that helps+works. The documentation is a bit misleading on the subject
of win32 platforms.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"


-Original Message-
From: Steve Buroff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 1:11 PM
To: tomcatUser
Cc: Buroff, Steven
Subject: tomcat, apache, and mod_jk


I'm running Apache 1.3.17 and tomcat 3.2.1 on NT 4.0
I'm trying to use mod_jk. Apparently I need a mod_jk.so
even though this is NT. At least, all the files in apache's
modules directory are xxx.so. Does anyone know where
I can get the correct mod_jk.so for this combination of
Apache and tomcat? I need the binary, I'm not set up to
build it. Thanks much.

Steve Buroff


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [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: mod_jk.so installation tar.gz...

2001-02-22 Thread Adam Fowler

Hi,

I could do a "locate jre/bin/java" and grep the string to get the home
directory. As each distribution has a jre this should work.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 3:43 AM
To: [EMAIL PROTECTED]
Subject: RE: mod_jk.so installation tar.gz...


>I picked up the source RPM for tomcat3.2.1.
>
>I've been checking in the startup script and I saw that
>JAVA_HOME is being
>set to /usr/IBMJava2-13. I was wondering if there is any
>particular reason
>for this or if it is fine to change it to the standard path
>for Sun's JDK
>1.3 for Mandrake? (/usr/java/jdk1.3)

You could use any JDK you want

>I'll setup a dependency for sun's jdk1.3 too.

Put a dependency for Java or JVM but not Sun specific.
Don't forget that users must have the choice and there is
at least 3 JDK publishers on Linux : Blackdown, IBM, Sun.
And there is also support for both JDK 1.1.8 and 1.3

>I also noticed that in tomcat.logrotate the name of the
>logfile has jserv in it, not jk.


Not really important since logrotate is not yet used.
We need to have a way to send a signal (ie via kill)
to the tomcat server, which will release it's hand
on the log file.

>
>If the above are stupid things then send me a e-slap.
>
>I found the updated RPM-HOWTO at http://www.oswg.org/oswg so I
>should be ok
>making them.

Thanks for the URL.

>Gimme a week (don't you DARE update the source! 8o) )

I'll release a new SRPMS from your updates ;-)

-
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, apache, and mod_jk

2001-02-22 Thread Adam Fowler

Hi,

Nah, you don't need the .so, just mod_jk.dll.

You can get it from:-
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38
6/mod_jk.dll

Read the documentation at:-
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html

And where it mentions mod_jk.so just replace with mod_jk.dll and it'll work
fine. *cringe*

Hope that helps+works. The documentation is a bit misleading on the subject
of win32 platforms.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"


-Original Message-
From: Steve Buroff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 1:11 PM
To: tomcatUser
Cc: Buroff, Steven
Subject: tomcat, apache, and mod_jk


I'm running Apache 1.3.17 and tomcat 3.2.1 on NT 4.0
I'm trying to use mod_jk. Apparently I need a mod_jk.so
even though this is NT. At least, all the files in apache's
modules directory are xxx.so. Does anyone know where
I can get the correct mod_jk.so for this combination of
Apache and tomcat? I need the binary, I'm not set up to
build it. Thanks much.

Steve Buroff


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




  1   2   >