RE: tomcat error

2002-06-20 Thread Turner, John


Have you restarted or otherwise executed your autoexec.bat file?  What
platform are you using?  The best way to set environment variables is to do
so through the Control Panel.  On Windows 2000, Control
Panel-System-Advanced-Environment Variables.

Have you verified that TOMCAT_HOME has a value?

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 12:05 PM
To: Tomcat Users List
Subject: tomcat error


Hi all,

I'm installed my computer jakarta-tomcat-3.3.1 and changed my
Autoexec.bat file (set java_home and tomcat_home). When I want to start
tomcat, I receive following error message

\lib\tomcat.jar not found. Unable to locate \lib\tomcat.jar,
check the value of TOMCAT_HOME and/or TOMCAT_INSTALL.

What can I do?

thanks... 
   
   
 
 
 




calling servlets from jsp

2002-06-20 Thread Alex

Hello,

 I want to call a servlet from a jsp ( i mean, when i press a button
 in the html file generated by the jsp, i want to call a servlet).
 for ex: document.location.href = SERVLET;
 How can i do this ?

 Thanks in advance...
 Alex.



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




Re: Tomcat 4.0.3 performance

2002-06-20 Thread Remy Maucherat

William Au wrote:
 I did some performance benchmarks of Tomcat 4.0.3 against two other appservers.
 Tomcat's performance is even worse that what I has expected.  Tomcat was at
 least still in the ball park when serving simple JSP pages.  However, database
 access (I am using Jakarta Commons collection, pool, and dbcp) does not scale
 for medium and heavy load. 

You should be able to plug a different connection pool if you need to.

 JSP taglib performance is plain terrible and
 unacceptable.

This is because of a Sun JVM performance bug (don't know if IBM VM would 
perform better). A workaround for it got added in Jasper 2, so I 
recommend trying Tomcat 4.1.3 Beta to see the actual performance.

For more details, see:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8290

Remy


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




RE: JasperException: Unable to compile class for JSP

2002-06-20 Thread Pearsall, Kyle

I'm not convinced yet that I've done everything I can with Tomcat yet to get my JSPs 
to work properly.  The error below (and others like it from different JSP pages) don't 
appear in other web servers, such as Weblogic 5.1.  The same JSPs compile properly on 
these other web servers.  I've made no modifications to the code.  I'm sure numerous 
exceptions will appear over many JSP pages on Tomcat as it is now.  What I am 
wondering is whether there may be a way to customize tomcat with a different JSP 
compiler.

I do admit I am a newbie at this...there is alot to Tomcat and JSP I don't understand 
yet.

Your help is most appreciated.

Thank you,

Kyle P.

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 5:27 PM
To: 'Tomcat Users List'
Subject: RE: JasperException: Unable to compile class for JSP


I think your answer is right in the output:

Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception

instead of:
--
if (pageContext != null) pageContext.handlePageException(t);
--

Try this:
--
if (pageContext != null) pageContext.handlePageException((Exception) t);
--


-Andrew Conrad



-Original Message-
From: Pearsall, Kyle [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, June 19, 2002 8:00 PM
To: Tomcat (E-mail)
Subject: JasperException: Unable to compile class for JSP

Thank you for the help with Tomcat and SQL server 2000.

Now I get a different problem.  The jsp files can't compile correctly at
runtime.  This code works properly on Weblogic 5.1.  Do I need to fix
something in Tomcat?  Any suggestions?

Thank you,

Kyle P.

org.apache.jasper.JasperException: Unable to compile class for JSP
D:\TOMCAT\work\Standalone\localhost\dhimaging\jsp\Albums$jsp.java:689:
Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
 ^
1 error


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


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




Re: Relative redirection to another port

2002-06-20 Thread Brendan . Richards


If you are sending the redirect to a different server (apache on port 80
rather than tomcat on 8080) then the url to redirect to can't be
relative...
A relative URL must be on the same server.

Brendan

-

Hi,

I have an Apache HTTP server (2.0.36) running on port 80, which sends
incoming request to Tomcat (4.0.3) on port 8080.
When I perform a relative redirect (like /context-path/servletpath ) in my
webapplication, the redirect is send to port 8080. The redirect is
performed
by calling response.sendRedirect.

However, I would like to have these requests send to port 80, instead of
8080. Is it possible to configure this somehow in such a combination of the
Apache webserver and Tomcat?

Thanks in advace for any help,

Martijn



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




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




RE: tomcat crash

2002-06-20 Thread Shapira, Yoav

Howdy,
Did you build tomcat yourself?  What platform are you running?

If the JVM ran out of memory, you would see a java.lang.OutOfMemoryError
in your logs.  You can set the max heap size using ths -Xmx parameter to
java.

A segmentation fault is more serious than that, though.  What version of
tomcat?  With/without Apache or another server?  What hardware?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Guillaume Mignot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 11:49 AM
To: Tomcat Users List
Subject: Re: tomcat crash

ok
if tomcat crash (segfault) is it possible that it is because of the
stack
size of the JVM?
how can i change that?


Regards
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 4:44 PM
Subject: Re: tomcat crash




 put an infinate, non terminating loop into your servlet doGet() or
doPost()
 method and the servlet will hang.

 Other issues such as running out of JVM memory won't do it any good
either.

 I'm sure there are plenty of other ways to cause mischief if you are
that
 way inclined


 Brendan

 ---

 Hello
 is it possible that a servlet  make tomcat crash?
 domeone has already see that?

 Txs

 Guillaume



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


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


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




Re: tomcat crash

2002-06-20 Thread Brendan . Richards



If all you are doing is starting tomcat and then trying to run a servlet
this is unlikely.

More probably there is something wrong with your servlet / jsp.

You could try...

First try running the tomcat examples and see if tomcat runs these okay.
If they don't re-install tomcat - something is seriously amiss.

If the examples work okay, fill your servlet / jsp with System.out calls
(or better still write messages to your own log file) to try to find the
line of code that causes tomcat to crash.

Brendan



ok
if tomcat crash (segfault) is it possible that it is because of the stack
size of the JVM?
how can i change that?


Regards
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 4:44 PM
Subject: Re: tomcat crash




 put an infinate, non terminating loop into your servlet doGet() or
doPost()
 method and the servlet will hang.

 Other issues such as running out of JVM memory won't do it any good
either.

 I'm sure there are plenty of other ways to cause mischief if you are that
 way inclined


 Brendan

 ---

 Hello
 is it possible that a servlet  make tomcat crash?
 domeone has already see that?

 Txs

 Guillaume



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


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




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




Re: calling servlets from jsp

2002-06-20 Thread chad kellerman

I have been working on this same thing for the past couple of days.

THe people on the list have been a great help.  While looking I came across a 
great article that shows step by step how to do this.

http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html?page=1

hope this helps.

--chad


On Thu June 20 2002 12:16 pm, Alex wrote:
 Hello,

  I want to call a servlet from a jsp ( i mean, when i press a button
  in the html file generated by the jsp, i want to call a servlet).
  for ex: document.location.href = SERVLET;
  How can i do this ?

  Thanks in advance...
  Alex.

-- 
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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




Re: calling servlets from jsp

2002-06-20 Thread Brendan . Richards



Can you run the servlet in the first place?

for example using a URL such as this:

http://localhost:8080/webapp/servlet/ServletName

see the tomcat servlet examples (linked from the default home page)

if you can run the servlet just link to the servlet's URL like any other
URL.

If you haven't got a servlet running yet, read this:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html


Brendan



-

Hello,

 I want to call a servlet from a jsp ( i mean, when i press a button
 in the html file generated by the jsp, i want to call a servlet).
 for ex: document.location.href = SERVLET;
 How can i do this ?

 Thanks in advance...
 Alex.



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




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




RE: calling servlets from jsp

2002-06-20 Thread Mike Jackson

You need to do a number of things, assuming that I understand the question.

1) create your servlet (duh)

2) create jsp (duh also)

3) modify WEB-INF/web.xml

add servlet entry for the servlet, should look something like this:

servlet
servlet-namefoo/servlet-name
servlet-classorg.somewhere.Bar/servlet-class
/servlet

add a mapping for a file extension to the servlet, looks like this:

servlet-mapping
servlet-namefoo/servlet-name
url-pattern*.form/url-pattern
/servlet-mapping

Note: the name of the servlet should be the same in both places and in
order to have tomcat auto-magically map the request to the servlet you
need have the link or action have the extension that you specify in the
url-pattern.

Now there's an added complication if you're not running tomcat stand alone
(ie
using mod_jk and apache or something) in that you'll need to also tell the
front end web server to pass the requests for your mapping through to tomcat
as well (this is the part that I *always* forget about).

If you have any problems setting this up email and I'll try to answer
questions
or provide examples.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Alex [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 9:17 AM
 To: [EMAIL PROTECTED]
 Subject: calling servlets from jsp


 Hello,

  I want to call a servlet from a jsp ( i mean, when i press a button
  in the html file generated by the jsp, i want to call a servlet).
  for ex: document.location.href = SERVLET;
  How can i do this ?

  Thanks in advance...
  Alex.



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




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




Re: webapp coredump

2002-06-20 Thread Sebastien Reboux

Re-Hi !

Finally it works :)

I dont know the reason but I can give you my solution in case you
encounter the same troubles : do not use Tomcat version 4.0.4 nor 4.0.3,
it works with the 4.0.1 and the associated connectors.
Of course if anyone can give me an explanation...

Bye.


On Thu, 20 Jun 2002, Sebastien Reboux wrote:

 Hi !

 I try to connect apache 1.3.24 running under solaris 2.7 with Tomcat 4.0.4
 using mod_webapp 1.2.0-dev ; I would also use mod_ssl (2.8.8) to secure
 everything.
 I'm able to run apache standalone with both http and https, I compiled the
 appropriate mod_webapp.so (with -DEAPI to fit with the Apache compil
 options) and I can see the webapp-info page in http and https. Of course
 Tomcat runs Standalone.
 The problem comes when I try to run a jsp from apache via webapp : the url
 http(s)://myhost:myapacheport/examples/ produces a webapp 404 error and my
 apache error_log looks like this :

 [Thu Jun 20 14:58:55 2002] [notice] Apache/1.3.24 (Unix)
 mod_webapp/1.2.0-dev mod_ssl/2.8.8 OpenSSL/0.9.6c configured -- resuming
 normal operations
 [Thu Jun 20 14:58:55 2002] [notice] Accept mutex: fcntl (Default: fcntl)
 [Thu Jun 20 14:59:01 2002] [notice] child pid 18767 exit signal
 Segmentation Fault (11), possible coredump in /usr/local/genoplante/apache_1.3.24

 The core is created each time I try to access a Deployed directory.

 However I sometimes find a deploy application /examples error in my
 apache logs either at startup and at runtime...

 Sometimes Netscape shows a dialog box with an I/O error or a Document
 contains no data error.

 Can anyone help me ?

 ...I already tried tomcat 4.0.3, pre compiled and self
 compiled mod_webapp/jk...


 --
 Sebastien Reboux
 BioInformaticien
 Genoplante-Info


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



-- 
Sebastien Reboux
BioInformaticien
Genoplante-Info


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




minimal config files for mod_jk2 request....

2002-06-20 Thread Jacob Kjome

Hi,

There seems to be sparse documentation on how to configure mod_jk2.
Does anyone have some example configuration files and instructions on
use?  I'll keep searching and post the example myself if I find it.

thanks,

Jake


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




Re[2]: calling servlets from jsp

2002-06-20 Thread Alex

Hello Brendan,

The path to my servlet is: C:\tomcat401\webapps\ROOT\WEB-INF\classes\qc\achizitii
My servlet is called Tiparire.class
The path for my jsp pages is: C:\tomcat401\webapps\ROOT\qc\achizitii
My tomcat server is running on port 80
My servlet is working, i'm sure.
How can i call my servlet from a jsp page ?

Alex.

Thursday, June 20, 2002, 7:29:42 PM, you wrote:



BRlc Can you run the servlet in the first place?

BRlc for example using a URL such as this:

BRlc http://localhost:8080/webapp/servlet/ServletName

BRlc see the tomcat servlet examples (linked from the default home page)

BRlc if you can run the servlet just link to the servlet's URL like any other
BRlc URL.

BRlc If you haven't got a servlet running yet, read this:
BRlc http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html


BRlc Brendan



BRlc -

BRlc Hello,

BRlc  I want to call a servlet from a jsp ( i mean, when i press a button
BRlc  in the html file generated by the jsp, i want to call a servlet).
BRlc  for ex: document.location.href = SERVLET;
BRlc  How can i do this ?

BRlc  Thanks in advance...
BRlc  Alex.



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




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



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




good profiler software for Java apps ??

2002-06-20 Thread Bing Zhang

Hi:  

Just wondering if someone could recommend any good open source
profiler software to monitor/analyze performance and track down memory leaks
in Java applications.  

Also, is there any open source testing-automation software/tool
equivalent to WinRunner/LoadRunner  ??

Appreciate your help. 

Bing

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




HELP! login-config problems

2002-06-20 Thread njgreen

Hi,
I've posted this a few times and am trying one last time. When I run my .war file in a 
regular 4.0.3 server, using an auth-method of either BASIC or FORM, it works fine. 
However, if I run it in an embedded version of the same server, I get errors. With 
BASIC, the browser never shows the dialog, but just fails the login immediately. That 
is, it calls the Principal authenticate (String username, String credentials) right 
away, without even putting up the dialog. It then prints the following error to the 
log:
HttpProcessor[8080][4] process.invokeInvalid user ID

With the FORM login, a successful login caused the browser to redirect to one of the 
image files on the login page, rather than to the welcome page. An unsuccessful login 
fails to bring up the specified form-error-page. 

Either I'm misconfiguring something, or embedded Tomcat is EXTREMELY buggy when it 
comes to login-config implementation. BTW I did upgrade to 4.0.4 and the same 
problems happened. I'm using the o.a.c.startup.Embedded class, and am following the 
directions described in James Goodwill's Apache Jakarta-Tomcat book (with the correct 
.jar files that he lists in his article.)

Has anyone had any experience with this?  I really do need some help here, I'm on a 
pretty scary deadline.

Thanks!
Noah

p.s. I will my web.xml file to anyone who asks, just didn't want to clutter up your 
mailbox right away.

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




Re: Re[2]: calling servlets from jsp

2002-06-20 Thread Brendan . Richards



You need to setup C:\tomcat401\webapps\ROOT\WEB-INF\web.xml to map a url to
the servlet class.

look at webapps\examples\WEB-INF\web.xml for examples.

Once you can actually view the servlet's output in a browser, through the
mapped url you can link to it like any other web file.

ie
onclick=window.location='http://localhost:8080/ServletName'




---


Hello Brendan,

The path to my servlet is: C:
\tomcat401\webapps\ROOT\WEB-INF\classes\qc\achizitii
My servlet is called Tiparire.class
The path for my jsp pages is: C:\tomcat401\webapps\ROOT\qc\achizitii
My tomcat server is running on port 80
My servlet is working, i'm sure.
How can i call my servlet from a jsp page ?

Alex.

Thursday, June 20, 2002, 7:29:42 PM, you wrote:



BRlc Can you run the servlet in the first place?

BRlc for example using a URL such as this:

BRlc http://localhost:8080/webapp/servlet/ServletName

BRlc see the tomcat servlet examples (linked from the default home page)

BRlc if you can run the servlet just link to the servlet's URL like any
other
BRlc URL.

BRlc If you haven't got a servlet running yet, read this:
BRlc
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html


BRlc Brendan



BRlc -

BRlc Hello,

BRlc  I want to call a servlet from a jsp ( i mean, when i press a button
BRlc  in the html file generated by the jsp, i want to call a servlet).
BRlc  for ex: document.location.href = SERVLET;
BRlc  How can i do this ?

BRlc  Thanks in advance...
BRlc  Alex.



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




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



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




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




Re[2]: calling servlets from jsp

2002-06-20 Thread Alex

Hello Mike,

As i said:
The path to my servlet is: C:\tomcat401\webapps\ROOT\WEB-INF\classes\qc\achizitii
My servlet is called Tiparire.class
The path for my jsp pages is: C:\tomcat401\webapps\ROOT\qc\achizitii
Can you help me set up my server ?

Thanks in advance...
Alex

Thursday, June 20, 2002, 7:41:03 PM, you wrote:

MJ You need to do a number of things, assuming that I understand the question.

MJ 1) create your servlet (duh)

MJ 2) create jsp (duh also)

MJ 3) modify WEB-INF/web.xml

MJ add servlet entry for the servlet, should look something like this:

MJ servlet
MJ servlet-namefoo/servlet-name
MJ servlet-classorg.somewhere.Bar/servlet-class
MJ /servlet

MJ add a mapping for a file extension to the servlet, looks like this:

MJ servlet-mapping
MJ servlet-namefoo/servlet-name
MJ url-pattern*.form/url-pattern
MJ /servlet-mapping

MJ Note: the name of the servlet should be the same in both places and in
MJ order to have tomcat auto-magically map the request to the servlet you
MJ need have the link or action have the extension that you specify in the
MJ url-pattern.

MJ Now there's an added complication if you're not running tomcat stand alone
MJ (ie
MJ using mod_jk and apache or something) in that you'll need to also tell the
MJ front end web server to pass the requests for your mapping through to tomcat
MJ as well (this is the part that I *always* forget about).

MJ If you have any problems setting this up email and I'll try to answer
MJ questions
MJ or provide examples.

MJ --mikej
MJ -=-
MJ mike jackson
MJ [EMAIL PROTECTED]

 -Original Message-
 From: Alex [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 9:17 AM
 To: [EMAIL PROTECTED]
 Subject: calling servlets from jsp


 Hello,

  I want to call a servlet from a jsp ( i mean, when i press a button
  in the html file generated by the jsp, i want to call a servlet).
  for ex: document.location.href = SERVLET;
  How can i do this ?

  Thanks in advance...
  Alex.



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




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



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




Re: calling servlets from jsp

2002-06-20 Thread chad kellerman

Mike,
 You said:
Now there's an added complication if you're not running tomcat stand alone
 (ie
 using mod_jk and apache or something) in that you'll need to also tell the
 front end web server to pass the requests for your mapping through to
 tomcat as well (this is the part that I *always* forget about).

what other config lines do you need?

-chad


On Thu June 20 2002 12:41 pm, Mike Jackson wrote:
 You need to do a number of things, assuming that I understand the question.

 1) create your servlet (duh)

 2) create jsp (duh also)

 3) modify WEB-INF/web.xml

   add servlet entry for the servlet, should look something like this:

   servlet
   servlet-namefoo/servlet-name
   servlet-classorg.somewhere.Bar/servlet-class
   /servlet

   add a mapping for a file extension to the servlet, looks like this:

   servlet-mapping
   servlet-namefoo/servlet-name
   url-pattern*.form/url-pattern
   /servlet-mapping

   Note: the name of the servlet should be the same in both places and in
   order to have tomcat auto-magically map the request to the servlet you
   need have the link or action have the extension that you specify in the
   url-pattern.

 Now there's an added complication if you're not running tomcat stand alone
 (ie
 using mod_jk and apache or something) in that you'll need to also tell the
 front end web server to pass the requests for your mapping through to
 tomcat as well (this is the part that I *always* forget about).

 If you have any problems setting this up email and I'll try to answer
 questions
 or provide examples.

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]

  -Original Message-
  From: Alex [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 20, 2002 9:17 AM
  To: [EMAIL PROTECTED]
  Subject: calling servlets from jsp
 
 
  Hello,
 
   I want to call a servlet from a jsp ( i mean, when i press a button
   in the html file generated by the jsp, i want to call a servlet).
   for ex: document.location.href = SERVLET;
   How can i do this ?
 
   Thanks in advance...
   Alex.
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]

-- 
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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




Tomat Weblogic

2002-06-20 Thread Chen, Dean (Zhun)

Has anyone had success developing the application in Tomcat and having it
run in production in Weblogic?

I'm trying to figure out what are the common files and what are the
app-specific files.

So far, I have a build.xml script that puts the files in the correct places.
However, Tomcat specifies   resource-ref to be placed in web.xml, but
weblogic requires a weblogic.xml file. I'm trying to minimize the # of files
to change. 

Any suggestions?

Thanks,

Dean Chen

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




RE: which apache connector for tomcat 4.0?

2002-06-20 Thread Turner, John


mod_jk seems to be the most stable at this point in time.  mod_webapp is OK,
but it does not distinguish between static and dynamic content.  If you're
using apache, the goal would be to have apache serve static content and
tomcat serve servlet and JSP content.  Right now, mod_webapp sends ALL
content to tomcat, making apache redundant.  This may change in the future.

I haven't been working with mod_jk2, so I can't help you there.

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 6:50 PM
To: [EMAIL PROTECTED]
Subject: which apache connector for tomcat 4.0?



I searched the list archives, but I'm still not clear on this, so I
thought I'd ask.

I'm going to be using Tomcat 4.0.x with Apache, and I'm trying to
decide which connector to use.  I found installing Tomcat 4.0.x itself
quite straightforward, the documenation for that was sufficient.  But
it's been a much tougher go regarding the connectors.

This is going to be for a production environment that sometimes sees
high loads (e.g. 100+ concurrent users), so performance and robustness
is a concern.  We're upgrading from Tomcat 3.2.X and mod_jserv.  The
platform is AIX, and I couldn't find AIX binaries on the jakarta site,
so looks like I'm going to have to compile from source.

I thought the choice was between mod_jk and mod_webapp, but when I
downloaded the jakarta-tomcat-connectors source and looked through it,
there's a lot of other stuff in there.  (I'm not sure I even want to
ask what coyote is :-).  I've also heard about mod_jk2, but there
wasn't anything separate in that distribution (perhaps the mod_jk
there is itself mod_jk2).

mod_webapp looks very straightforward to use, but I read some comments
on it from several months back that suggested it might not be quite
ready for prime time.  Any info on whether that's still the case would
also be appreciated.

Thanks!

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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



RE: good profiler software for Java apps ??

2002-06-20 Thread Chris Bailey

Check out JUnitPerf, HttpUnit, and JMeter for some of the below needs.

Memory leaks?  In a Java app?!  How can that be ;)

-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 9:45 AM
To: 'Tomcat Users List'
Subject: good profiler software for Java apps ??


Hi:

Just wondering if someone could recommend any good open source
profiler software to monitor/analyze performance and track down memory leaks
in Java applications.

Also, is there any open source testing-automation software/tool
equivalent to WinRunner/LoadRunner  ??

Appreciate your help.

Bing

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



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




Re: good profiler software for Java apps ??

2002-06-20 Thread Denis Haskin

I agree with Chris' recommendations for testing automation.

For profiling, I've had best luck with the IBM alphaworks jinsight:
http://www.alphaworks.ibm.com/tech/jinsight.  Not quite as easy to use as
commercial products, but a good bargain for the money...

dwh


Chris Bailey wrote:

 Check out JUnitPerf, HttpUnit, and JMeter for some of the below needs.

 Memory leaks?  In a Java app?!  How can that be ;)

 -Original Message-
 From: Bing Zhang [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 9:45 AM
 To: 'Tomcat Users List'
 Subject: good profiler software for Java apps ??

 Hi:

 Just wondering if someone could recommend any good open source
 profiler software to monitor/analyze performance and track down memory leaks
 in Java applications.

 Also, is there any open source testing-automation software/tool
 equivalent to WinRunner/LoadRunner  ??

 Appreciate your help.

 Bing

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

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


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




Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT

2002-06-20 Thread Michael Timpe

I gave up. I am using Apache 1.3.x with mod_jk and TC4.0.3 and it works
really fine. I will wait a little bit until the new versions are more
stable.

Greetings

Michael



- Original Message -
From: Charles Sanders [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 11:54 PM
Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT


 Per NT event viewer log this is the details: The Apache2 service
terminated
 with service-specific error 1.

 Not much.


 -Original Message-
 From: Stimac, Chris [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 18, 2002 4:43 PM
 To: Tomcat Users List
 Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT


 I have tried (unsuccessfully) to get Apache 2.0.36 to work with TC 3.3 on
 Win2k,
 with roughly the same problem.  I am curious, though, have you checked the
 (Windows) application event log?
 I found that Apache was tripping over the LoadModule statement and it was
 reporting to Windows that it could not find the module.  It would also
 screwup the path statement (combining /'s and \'s) and I wonder if that
was
 the real problem.

 Anyhow, sorry I can't offer any help, but if more than one of us is having
 the same problem w/Apache 2.0.36 and the mod_jk.dll connector, we might be
 looking at a bug somewhere.

 On another note, I have been able to get Apache 1.3.24 to work
successfully.

 -CRS

  -Original Message-
  From: Charles Sanders [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 18, 2002 5:40 PM
  To: 'Tomcat Users List'
  Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
 
 
  That is one of the sources among others that I have used.
  Still not working
  with the LoadModule and after adding in this it does not
  allow apache to
  start(yes the mod_jk.dll file is in the modules dir).
 
  Any further information or sources would be great.
 
  thanks
 
  -Original Message-
  From: Turner, John [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 18, 2002 3:52 PM
  To: 'Tomcat Users List'
  Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
 
 
 
  According to this guide:
  http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml
 
  for apache 2, it should be:
 
  IfModule !mod_jk.c
LoadModule jk_module modules/mod_jk.dll
  /IfModule
 
  Granted, this is for mod_jk and not mod_jk2, but I believe the two are
  similar.  I missed the apache 2 on the first time around, I am using
  apache 1.3 on Windows and the AddModule directive is required.
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 18, 2002 4:34 PM
  To: Tomcat Users List
  Subject: Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
 
 
  Sorry, but a similiar result
 
  Invalid command 'AddModule', perhaps mis-spelled or defined
  by a module not
  included in the server configuration
 
 
  - Original Message -
  From: Turner, John [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Sent: Tuesday, June 18, 2002 10:16 PM
  Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
 
 
  
   Off the top of my head you need the AddModule directive
  in addition to
   LoadModule:
  
   AddModule mod_jk2.c
  
   John Turner
   [EMAIL PROTECTED]
   http://www.aas.com
  
  
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 

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







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


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




outsiders cannot brows my site in tomcat

2002-06-20 Thread Yu Ye Zhou

I have three computers connected to each other as LAN.
I use DSL and a router to have all of them connected
to internet. I have tomcat install in one of the
computer as stand alone. I can see the index pages by
using name of the computer using
http://NameOfComputer:8080 within my LAN. However, if
I try to see the same page from a computer outside of
my own network, page is not found. It also says server
is not found. It seems to me more like a network
problem than problem with tomcat. I didn't intergrate
apache web server with tomcat. Do I need apache to see
the page? Can I use tomcat only? Anybody also have
idea of why outsiders cannot brows my pages? 
Thanks a lot. 
Yu Ye Zhou

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




No more RPM distributions?

2002-06-20 Thread Eddie Bush

Hi - just curious if there would be no more RPM distributions past 4.0.3.  That's the 
last version I see one for.  I rather like the RPMs myself and would like to see them 
continue.  Did someone accidentally comment out that part of the Ant script? =)

Thanks!

Eddie




RE: HELP! login-config problems

2002-06-20 Thread BBui

It is a bug in tomcat 4.0.3.  I had the same problem until using 4.0.4.

Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 20, 2002 11:49 AM
To: [EMAIL PROTECTED]
Subject: HELP! login-config problems

Hi,
I've posted this a few times and am trying one last time. When I run my .war
file in a regular 4.0.3 server, using an auth-method of either BASIC or
FORM, it works fine. However, if I run it in an embedded version of the same
server, I get errors. With BASIC, the browser never shows the dialog, but
just fails the login immediately. That is, it calls the Principal
authenticate (String username, String credentials) right away, without even
putting up the dialog. It then prints the following error to the log:
HttpProcessor[8080][4] process.invokeInvalid user ID

With the FORM login, a successful login caused the browser to redirect to
one of the image files on the login page, rather than to the welcome page.
An unsuccessful login fails to bring up the specified form-error-page. 

Either I'm misconfiguring something, or embedded Tomcat is EXTREMELY buggy
when it comes to login-config implementation. BTW I did upgrade to 4.0.4
and the same problems happened. I'm using the o.a.c.startup.Embedded class,
and am following the directions described in James Goodwill's Apache
Jakarta-Tomcat book (with the correct .jar files that he lists in his
article.)

Has anyone had any experience with this?  I really do need some help here,
I'm on a pretty scary deadline.

Thanks!
Noah

p.s. I will my web.xml file to anyone who asks, just didn't want to clutter
up your mailbox right away.

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



Re: tomcat error

2002-06-20 Thread Yu Ye Zhou

After you change the autoexec.bat files, did you
execute it before you start tomcat? If you didn't,
your change won't take any effect.
 
--- Halil AKINCI [EMAIL PROTECTED] wrote:
 Hi all,
 
 I'm installed my computer
 jakarta-tomcat-3.3.1 and changed my Autoexec.bat
 file (set java_home and tomcat_home). When I want to
 start tomcat, I receive following error message
 
 \lib\tomcat.jar not found. Unable to
 locate \lib\tomcat.jar, check the value of
 TOMCAT_HOME and/or TOMCAT_INSTALL.
 
 What can I do?
 
 thanks... 


  
  
  
 
 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




RE: outsiders cannot brows my site in tomcat

2002-06-20 Thread Brandon Cruz

You need to use a router and have it forward the requests on port :8080 to
the computer running tomcat.  Otherwise, you can use your router to put the
computer with Tomcat into the DMZ if you're not worried about security.



-Original Message-
From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:02 PM
To: Tomcat Users List
Subject: outsiders cannot brows my site in tomcat


I have three computers connected to each other as LAN.
I use DSL and a router to have all of them connected
to internet. I have tomcat install in one of the
computer as stand alone. I can see the index pages by
using name of the computer using
http://NameOfComputer:8080 within my LAN. However, if
I try to see the same page from a computer outside of
my own network, page is not found. It also says server
is not found. It seems to me more like a network
problem than problem with tomcat. I didn't intergrate
apache web server with tomcat. Do I need apache to see
the page? Can I use tomcat only? Anybody also have
idea of why outsiders cannot brows my pages?
Thanks a lot.
Yu Ye Zhou

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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



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




servlet-uri-alias

2002-06-20 Thread Ewert, Sven

hi,
today ive switched from tomcat 3.2.4 to 3.3.1.
ther was no prob and the ajp13 works great with.
my question is how to set an uri-alias for e.g 
http://foo.bar.com/servlet/myservlet to 
http://foo.bar.com/something/myservlet
?

thanks for help

sven



Best Regards

Sven Ewert
Mobile Applications

e-mail: [EMAIL PROTECTED]
phone : +49 (0) 211 60 188 163  
mobile: +49 (0) 172 21 730 69
··
Satama Deutschland GmbH
Zollhof 2
40221 Duesseldorf
Germany
http://www.satama.com


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




Building mod_jk.so question...

2002-06-20 Thread Sean M Alderman

Hi all, I'm attempting to build mod_jk.so for my system.  I have been
running with the downloadable Solaris 8 binary version of mod_jk.so, but
apache (1.3.26) complains about needing to compile with a -DEAPI flag -

# bin/apachectl start
[Thu Jun 20 11:57:24 2002] [warn] Loaded DSO libexec/mod_jk.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI)
bin/apachectl start: httpd started

So, I've grabbed the source for mod_jk and I'm building it like so -
$ cd
/usr/appl/src/sma/apachebuild/jakarta/jakarta-tomcat-connectors-4.0.2-01-src/jk
$ ant native
snip

   [so] StdErr:
   [so] In file included from
/usr/appl/src/sma/apachebuild/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common/jk_jni_worker.c:69:
/usr/appl/java/j2sdk1_3_1_03/jre/../include/jni.h:25: jni_md.h: No such
file or directory

http://java.sun.com says I need to modify my include path to contain
$JAVA_HOME/inlcude/solaris in order to find jni_md.h.  I have tried
changing the CFLAGS variable within the Makefile.am, and in
configure.in, but I've had no luck.  I also attempted setting my shell's
CFLAGS environment variable to have a -I/$JAVA_HOME/include/solaris
but that didn't work.  Does anyone know what I should do to fix this?

In addition, with the first error from apache, would the place to fix
the above question be the same place to add the -DEAPI ?

Thanks!

-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.

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




Re: outsiders cannot brows my site in tomcat

2002-06-20 Thread Eddie Bush

Do you have a static IP address? =)

Most DSL services give you 'communal' IP addresses.  You don't have a
'unique' one for each of your machines - and they change every time you
connect.  My guess is that this is most likely your problem.  To rectify it,
check on getting your own IP address/pool through your DSL provider.
Another thing too - if you want to be able to access your computer by name -
you'll need a domain if you don't have one.

Additionally, you will need to ensure that you have the domain set up to
point to the correct IP Address.  Also, I'm not entirely sure how your LAN
is configured - but if all of your machines are sharing one IP Address
you'll need to check into configuring your router to direct all http/https
traffic to the specific machine that has Tomcat installed on it.

*looks around* Did I miss anything guys?

I hope that answers your question.  If I totally misjudged your perdicament,
please feel free to repost =)

Eddie

- Original Message -
From: Yu Ye Zhou [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 1:01 PM
Subject: outsiders cannot brows my site in tomcat


 I have three computers connected to each other as LAN.
 I use DSL and a router to have all of them connected
 to internet. I have tomcat install in one of the
 computer as stand alone. I can see the index pages by
 using name of the computer using
 http://NameOfComputer:8080 within my LAN. However, if
 I try to see the same page from a computer outside of
 my own network, page is not found. It also says server
 is not found. It seems to me more like a network
 problem than problem with tomcat. I didn't intergrate
 apache web server with tomcat. Do I need apache to see
 the page? Can I use tomcat only? Anybody also have
 idea of why outsiders cannot brows my pages?
 Thanks a lot.
 Yu Ye Zhou

 __
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com

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



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




Re: outsiders cannot brows my site in tomcat

2002-06-20 Thread Sean M Alderman

If he's stuck with a dynamic IP he could look into using a Dynamic DNS
client to register his hostname.  I've had this setup before and it
works rather nicely, even for dial-up connections.

On Thu, 2002-06-20 at 14:05, Eddie Bush wrote:
 Do you have a static IP address? =)
 
 Most DSL services give you 'communal' IP addresses.  You don't have a
 'unique' one for each of your machines - and they change every time you
 connect.  My guess is that this is most likely your problem.  To rectify it,
 check on getting your own IP address/pool through your DSL provider.
 Another thing too - if you want to be able to access your computer by name -
 you'll need a domain if you don't have one.
 
 Additionally, you will need to ensure that you have the domain set up to
 point to the correct IP Address.  Also, I'm not entirely sure how your LAN
 is configured - but if all of your machines are sharing one IP Address
 you'll need to check into configuring your router to direct all http/https
 traffic to the specific machine that has Tomcat installed on it.
 
 *looks around* Did I miss anything guys?
 
 I hope that answers your question.  If I totally misjudged your perdicament,
 please feel free to repost =)
 
 Eddie
 
 - Original Message -
 From: Yu Ye Zhou [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Thursday, June 20, 2002 1:01 PM
 Subject: outsiders cannot brows my site in tomcat
 
 
  I have three computers connected to each other as LAN.
  I use DSL and a router to have all of them connected
  to internet. I have tomcat install in one of the
  computer as stand alone. I can see the index pages by
  using name of the computer using
  http://NameOfComputer:8080 within my LAN. However, if
  I try to see the same page from a computer outside of
  my own network, page is not found. It also says server
  is not found. It seems to me more like a network
  problem than problem with tomcat. I didn't intergrate
  apache web server with tomcat. Do I need apache to see
  the page? Can I use tomcat only? Anybody also have
  idea of why outsiders cannot brows my pages?
  Thanks a lot.
  Yu Ye Zhou
 
  __
  Do You Yahoo!?
  Yahoo! - Official partner of 2002 FIFA World Cup
  http://fifaworldcup.yahoo.com
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.

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




Re: webapp coredump

2002-06-20 Thread Eddie Bush

I believe you should probably be using one of the http connectors if you're
running Tomcat stand-alone.  Unless I am mistaken, the mod_webapp connector
is for integration with Apache.

HTH,

Eddie

- Original Message -
From: Sebastien Reboux [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 11:42 AM
Subject: Re: webapp coredump


 Re-Hi !

 Finally it works :)

 I dont know the reason but I can give you my solution in case you
 encounter the same troubles : do not use Tomcat version 4.0.4 nor 4.0.3,
 it works with the 4.0.1 and the associated connectors.
 Of course if anyone can give me an explanation...

 Bye.


 On Thu, 20 Jun 2002, Sebastien Reboux wrote:

  Hi !
 
  I try to connect apache 1.3.24 running under solaris 2.7 with Tomcat
4.0.4
  using mod_webapp 1.2.0-dev ; I would also use mod_ssl (2.8.8) to secure
  everything.
  I'm able to run apache standalone with both http and https, I compiled
the
  appropriate mod_webapp.so (with -DEAPI to fit with the Apache compil
  options) and I can see the webapp-info page in http and https. Of course
  Tomcat runs Standalone.
  The problem comes when I try to run a jsp from apache via webapp : the
url
  http(s)://myhost:myapacheport/examples/ produces a webapp 404 error and
my
  apache error_log looks like this :
 
  [Thu Jun 20 14:58:55 2002] [notice] Apache/1.3.24 (Unix)
  mod_webapp/1.2.0-dev mod_ssl/2.8.8 OpenSSL/0.9.6c configured -- resuming
  normal operations
  [Thu Jun 20 14:58:55 2002] [notice] Accept mutex: fcntl (Default: fcntl)
  [Thu Jun 20 14:59:01 2002] [notice] child pid 18767 exit signal
  Segmentation Fault (11), possible coredump in
/usr/local/genoplante/apache_1.3.24
 
  The core is created each time I try to access a Deployed directory.
 
  However I sometimes find a deploy application /examples error in my
  apache logs either at startup and at runtime...
 
  Sometimes Netscape shows a dialog box with an I/O error or a Document
  contains no data error.
 
  Can anyone help me ?
 
  ...I already tried tomcat 4.0.3, pre compiled and self
  compiled mod_webapp/jk...
 
 
  --
  Sebastien Reboux
  BioInformaticien
  Genoplante-Info
 
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
 

 --
 Sebastien Reboux
 BioInformaticien
 Genoplante-Info


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



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




RE: No more RPM distributions?

2002-06-20 Thread Chris Bailey

I agree, the RPM's are nice.  Makes upgrading and tracking what you have
installed a tad easier (assuming the RPM update doesn't blow away your
webapps or modified server.xml, etc.).

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 10:57 AM
To: Tomcat Users Mailing List
Subject: No more RPM distributions?


Hi - just curious if there would be no more RPM distributions past 4.0.3.
That's the last version I see one for.  I rather like the RPMs myself and
would like to see them continue.  Did someone accidentally comment out that
part of the Ant script? =)

Thanks!

Eddie



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




Re: outsiders cannot brows my site in tomcat

2002-06-20 Thread Yu Ye Zhou

Thanks both for the info. I'm going to try both way.
But, Alderman, do you know of any site that I can use
to register my hostname?
Thanks


--- Sean M Alderman [EMAIL PROTECTED]
wrote:
 If he's stuck with a dynamic IP he could look into
 using a Dynamic DNS
 client to register his hostname.  I've had this
 setup before and it
 works rather nicely, even for dial-up connections.
 
 On Thu, 2002-06-20 at 14:05, Eddie Bush wrote:
  Do you have a static IP address? =)
  
  Most DSL services give you 'communal' IP
 addresses.  You don't have a
  'unique' one for each of your machines - and they
 change every time you
  connect.  My guess is that this is most likely
 your problem.  To rectify it,
  check on getting your own IP address/pool through
 your DSL provider.
  Another thing too - if you want to be able to
 access your computer by name -
  you'll need a domain if you don't have one.
  
  Additionally, you will need to ensure that you
 have the domain set up to
  point to the correct IP Address.  Also, I'm not
 entirely sure how your LAN
  is configured - but if all of your machines are
 sharing one IP Address
  you'll need to check into configuring your router
 to direct all http/https
  traffic to the specific machine that has Tomcat
 installed on it.
  
  *looks around* Did I miss anything guys?
  
  I hope that answers your question.  If I totally
 misjudged your perdicament,
  please feel free to repost =)
  
  Eddie
  
  - Original Message -
  From: Yu Ye Zhou [EMAIL PROTECTED]
  To: Tomcat Users List
 [EMAIL PROTECTED]
  Sent: Thursday, June 20, 2002 1:01 PM
  Subject: outsiders cannot brows my site in tomcat
  
  
   I have three computers connected to each other
 as LAN.
   I use DSL and a router to have all of them
 connected
   to internet. I have tomcat install in one of the
   computer as stand alone. I can see the index
 pages by
   using name of the computer using
   http://NameOfComputer:8080 within my LAN.
 However, if
   I try to see the same page from a computer
 outside of
   my own network, page is not found. It also says
 server
   is not found. It seems to me more like a network
   problem than problem with tomcat. I didn't
 intergrate
   apache web server with tomcat. Do I need apache
 to see
   the page? Can I use tomcat only? Anybody also
 have
   idea of why outsiders cannot brows my pages?
   Thanks a lot.
   Yu Ye Zhou
  
  
 __
   Do You Yahoo!?
   Yahoo! - Official partner of 2002 FIFA World Cup
   http://fifaworldcup.yahoo.com
  
   --
   To unsubscribe, e-mail:
 
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  
  
  --
  To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
  
 -- 
 Sean M. Alderman
 ITRACK Systems Analyst
 PACE/NCI - NASA Glenn Research Center
 (216) 433-2795
 
 Calling a windowed operating system Windows is
 like naming an
 automobile Wheels.
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Jerry Jalenak

Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential and is 
intended solely for the use of the individual or entity to which it is addressed. If 
you are not the intended recipient or the person responsible for delivering the 
transmission to the intended recipient, be advised that you have received this 
transmission in error and that any use, dissemination, forwarding, printing, or 
copying of this information is strictly prohibited. If you have received this 
transmission in error, please immediately notify LabOne at (800)388-4675.



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




Re: outsiders cannot brows my site in tomcat

2002-06-20 Thread Sean M Alderman

Do you mean for Dynamic DNS?  Try http://www.dyndns.org for starters. 
There are others -
http://www.google.com/search?hl=enq=dynamic+dns

On Thu, 2002-06-20 at 14:36, Yu Ye Zhou wrote:
 Thanks both for the info. I'm going to try both way.
 But, Alderman, do you know of any site that I can use
 to register my hostname?
 Thanks
 
 
 --- Sean M Alderman [EMAIL PROTECTED]
 wrote:
  If he's stuck with a dynamic IP he could look into
  using a Dynamic DNS
  client to register his hostname.  I've had this
  setup before and it
  works rather nicely, even for dial-up connections.
  
  On Thu, 2002-06-20 at 14:05, Eddie Bush wrote:
   Do you have a static IP address? =)
   
   Most DSL services give you 'communal' IP
  addresses.  You don't have a
   'unique' one for each of your machines - and they
  change every time you
   connect.  My guess is that this is most likely
  your problem.  To rectify it,
   check on getting your own IP address/pool through
  your DSL provider.
   Another thing too - if you want to be able to
  access your computer by name -
   you'll need a domain if you don't have one.
   
   Additionally, you will need to ensure that you
  have the domain set up to
   point to the correct IP Address.  Also, I'm not
  entirely sure how your LAN
   is configured - but if all of your machines are
  sharing one IP Address
   you'll need to check into configuring your router
  to direct all http/https
   traffic to the specific machine that has Tomcat
  installed on it.
   
   *looks around* Did I miss anything guys?
   
   I hope that answers your question.  If I totally
  misjudged your perdicament,
   please feel free to repost =)
   
   Eddie
   
   - Original Message -
   From: Yu Ye Zhou [EMAIL PROTECTED]
   To: Tomcat Users List
  [EMAIL PROTECTED]
   Sent: Thursday, June 20, 2002 1:01 PM
   Subject: outsiders cannot brows my site in tomcat
   
   
I have three computers connected to each other
  as LAN.
I use DSL and a router to have all of them
  connected
to internet. I have tomcat install in one of the
computer as stand alone. I can see the index
  pages by
using name of the computer using
http://NameOfComputer:8080 within my LAN.
  However, if
I try to see the same page from a computer
  outside of
my own network, page is not found. It also says
  server
is not found. It seems to me more like a network
problem than problem with tomcat. I didn't
  intergrate
apache web server with tomcat. Do I need apache
  to see
the page? Can I use tomcat only? Anybody also
  have
idea of why outsiders cannot brows my pages?
Thanks a lot.
Yu Ye Zhou
   
   
  __
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
   
--
To unsubscribe, e-mail:
  
  mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
   
   
   
   --
   To unsubscribe, e-mail:  
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
   
   
  -- 
  Sean M. Alderman
  ITRACK Systems Analyst
  PACE/NCI - NASA Glenn Research Center
  (216) 433-2795
  
  Calling a windowed operating system Windows is
  like naming an
  automobile Wheels.
  
  --
  To unsubscribe, e-mail:  
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.

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




mod_webapp

2002-06-20 Thread chad kellerman

If you are using mod webapp  do you need?

 Connector className=org.apache.catalina.connector.http.HttpConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=6/

to be able to connect to port 8080.

Can't you do it this way?

Connector className = org.apache.catalina.connector.warp.WarpConnector
  port=8080
  minProcessors=2
  maxProcessors=10
  scheme=http
  secure=false
  enableLookups=true
  acceptCount=10
  debug=0/


   If my server.xml file does not have any reference to HttpConnector I can't 
seem to connect to port 8080.

-- chad

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




RE: JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Turner, John


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.

OK, I have to ask...do you have the tomcat-coyote.jar file in that location?

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: JK Connectors for Tomcat 4.1.3 beta


Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



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



Re: mod_webapp

2002-06-20 Thread Milt Epstein

On Thu, 20 Jun 2002, chad kellerman wrote:

 If you are using mod webapp  do you need?

  Connector className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=false redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=6/

 to be able to connect to port 8080.

 Can't you do it this way?

 Connector className = org.apache.catalina.connector.warp.WarpConnector
   port=8080
   minProcessors=2
   maxProcessors=10
   scheme=http
   secure=false
   enableLookups=true
   acceptCount=10
   debug=0/


If my server.xml file does not have any reference to
 HttpConnector I can't seem to connect to port 8080.

HttpConnector is for using Tomcat standalone (i.e. without a web
server), WarpConnector is for using Tomcat with mod_webapp to connect
to the web server.  You can use both.  But if you do make sure you use
different ports -- the shipped default for HttpConnector is 8080, for
WarpConnector I think it's 8009.  (Either way, I'd suggest not using
8080 for WarpConnector, because it'd be confusing.)

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Re: outsiders cannot brows my site in tomcat

2002-06-20 Thread Eddie Bush

I think he means to register the domain:

http://www.eyeondomain.com/ -- This is probably where I'll go soon
http://www.register.com/ -- I use this one - I am changing because of price
http://www.networksolutions.com/ -- STAY AWAY FROM THIS ONE!

... and there are many many many others.

http://www.google.com/search?hl=enq=domain+registrars

Anyone have one they prefer?  Reasons for your preference?  URLs? =)

HTH,

Eddie

- Original Message - 
From: Sean M Alderman [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 1:42 PM
Subject: Re: outsiders cannot brows my site in tomcat


 Do you mean for Dynamic DNS?  Try http://www.dyndns.org for starters. 
 There are others -
 http://www.google.com/search?hl=enq=dynamic+dns
 



RE: good profiler software for Java apps ??

2002-06-20 Thread Bing Zhang

Chris:

Thanks a lot.   Here is an article about possible Memory leaks in
Java programming.  

http://www-106.ibm.com/developerworks/java/library/j-leaks/?dwzone=java 

Appreciate the links you just gave me in your email. 

Bing

-Original Message-
From: Chris Bailey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:32 PM
To: Tomcat Users List
Subject: RE: good profiler software for Java apps ??


Check out JUnitPerf, HttpUnit, and JMeter for some of the below needs.

Memory leaks?  In a Java app?!  How can that be ;)

-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 9:45 AM
To: 'Tomcat Users List'
Subject: good profiler software for Java apps ??


Hi:

Just wondering if someone could recommend any good open source
profiler software to monitor/analyze performance and track down memory leaks
in Java applications.

Also, is there any open source testing-automation software/tool
equivalent to WinRunner/LoadRunner  ??

Appreciate your help.

Bing

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



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

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




Re: mod_webapp

2002-06-20 Thread chad kellerman

So you are saying if I am trying to use tomcat with Virtual Hosts,

I can connect to the host box with HttpConnector through port 8080

but at the same time use Warp to serve up servlets and jsp pages  (in a 
specified dsrectory) through 8009 with the Warp Connector then normal html 
pages through apache?

--chad


On Thu June 20 2002 2:51 pm, Milt Epstein wrote:
 On Thu, 20 Jun 2002, chad kellerman wrote:
  If you are using mod webapp  do you need?
 
   Connector className=org.apache.catalina.connector.http.HttpConnector
 port=8080 minProcessors=5 maxProcessors=75
 enableLookups=false redirectPort=8443
 acceptCount=10 debug=0 connectionTimeout=6/
 
  to be able to connect to port 8080.
 
  Can't you do it this way?
 
  Connector className = org.apache.catalina.connector.warp.WarpConnector
port=8080
minProcessors=2
maxProcessors=10
scheme=http
secure=false
enableLookups=true
acceptCount=10
debug=0/
 
 
 If my server.xml file does not have any reference to
  HttpConnector I can't seem to connect to port 8080.

 HttpConnector is for using Tomcat standalone (i.e. without a web
 server), WarpConnector is for using Tomcat with mod_webapp to connect
 to the web server.  You can use both.  But if you do make sure you use
 different ports -- the shipped default for HttpConnector is 8080, for
 WarpConnector I think it's 8009.  (Either way, I'd suggest not using
 8080 for WarpConnector, because it'd be confusing.)

 Milt Epstein
 Research Programmer
 Systems and Technology Services (STS)
 Campus Information Technologies and Educational Services (CITES)
 University of Illinois at Urbana-Champaign (UIUC)
 [EMAIL PROTECTED]

-- 
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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




[Off-topic] RE: outsiders cannot brows my site in tomcat

2002-06-20 Thread Turner, John


http://www.namecheap.com (can't beat $8.88/yr)
http://www.godaddy.com (almost beats namecheap at $8.95)

I also like Dotster (excellent management utilities): http://www.dotster.com

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:50 PM
To: Tomcat Users List
Subject: Re: outsiders cannot brows my site in tomcat


I think he means to register the domain:

http://www.eyeondomain.com/ -- This is probably where I'll go soon
http://www.register.com/ -- I use this one - I am changing because of price
http://www.networksolutions.com/ -- STAY AWAY FROM THIS ONE!

... and there are many many many others.

http://www.google.com/search?hl=enq=domain+registrars

Anyone have one they prefer?  Reasons for your preference?  URLs? =)

HTH,

Eddie




RE: JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Jerry Jalenak

No, it's not.  I would have assumed that all of the files necessary to build
the connectors would have come down in the .zip file.  There is a
tomcat-coyote.jar in tomcat/server/lib

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:45 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.

OK, I have to ask...do you have the tomcat-coyote.jar file in that location?

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: JK Connectors for Tomcat 4.1.3 beta


Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



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


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




RE: JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Turner, John


OK, what happens if you copy the tomcat-coyote.jar file from
tomcat/server/lib to
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib??

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:12 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


No, it's not.  I would have assumed that all of the files necessary to build
the connectors would have come down in the .zip file.  There is a
tomcat-coyote.jar in tomcat/server/lib

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:45 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.

OK, I have to ask...do you have the tomcat-coyote.jar file in that location?

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: JK Connectors for Tomcat 4.1.3 beta


Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



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


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



getSession always returns null

2002-06-20 Thread Jerry Jennings

I have setup Apache with Tomcat on my NetWare 6.0 server.  Everything is working fine 
(so far) except for getSession always returns null.  The Session example servlet as 
well as every test I have tried has had the same result.  Has anyone else experience 
this problem?  Any suggestions?  Thanks





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


Re: mod_webapp

2002-06-20 Thread Milt Epstein

On Thu, 20 Jun 2002, chad kellerman wrote:

 So you are saying if I am trying to use tomcat with Virtual Hosts,

 I can connect to the host box with HttpConnector through port 8080

 but at the same time use Warp to serve up servlets and jsp pages (in
 a specified dsrectory) through 8009 with the Warp Connector then
 normal html pages through apache?

I'm not too familiar with Virtual Hosts, but I believe that's correct
(i.e. I think it's true regardless of whether you're using Virtual
Hosts; it might be that the required setup/directives is somewhat
different with Virtual Hosts).

Caveat: I've heard that the way WARP/mod_webapp works in terms of
passing requests to Tomcat it doesn't distinguish between
static/dynamic content, so that anything under a tomcat context/web
application will be handled by tomcat; supposedly if you use mod_jk
you can have apache handle such static content.


 On Thu June 20 2002 2:51 pm, Milt Epstein wrote:
  On Thu, 20 Jun 2002, chad kellerman wrote:
   If you are using mod webapp  do you need?
  
Connector className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5 maxProcessors=75
  enableLookups=false redirectPort=8443
  acceptCount=10 debug=0 connectionTimeout=6/
  
   to be able to connect to port 8080.
  
   Can't you do it this way?
  
   Connector className = org.apache.catalina.connector.warp.WarpConnector
 port=8080
 minProcessors=2
 maxProcessors=10
 scheme=http
 secure=false
 enableLookups=true
 acceptCount=10
 debug=0/
  
  
  If my server.xml file does not have any reference to
   HttpConnector I can't seem to connect to port 8080.
 
  HttpConnector is for using Tomcat standalone (i.e. without a web
  server), WarpConnector is for using Tomcat with mod_webapp to connect
  to the web server.  You can use both.  But if you do make sure you use
  different ports -- the shipped default for HttpConnector is 8080, for
  WarpConnector I think it's 8009.  (Either way, I'd suggest not using
  8080 for WarpConnector, because it'd be confusing.)
 
  Milt Epstein
  Research Programmer
  Systems and Technology Services (STS)
  Campus Information Technologies and Educational Services (CITES)
  University of Illinois at Urbana-Champaign (UIUC)
  [EMAIL PROTECTED]

 --
 Chad Kellerman
 Alabanza Inc.
 Jr. Systems Administrator
 10 E. Baltimore Street
 Baltimore, Md 21202

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



Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




RE: Strange: Tomcat4.0.4 can't find apps!!!

2002-06-20 Thread Paul Kofon

Hi Vikramjit,

Phew! Thanks. I looked at the logs and somewhere at the bottom it showed a 
filter class hadn't been found! That stopped Tomcat dead in it's tracks. 
Actually I had deleted one filter class but it was still referred to in my 
web.xml file! After I removed the filter entry, Tomcat started working. 
Thanks.

Regards,

Paul

From: Vikramjit Singh [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Strange: Tomcat4.0.4 can't find apps!!!
Date: Thu, 20 Jun 2002 09:43:38 +0530

check the logs for errors. in my case, the manager was not working, when i
checked the logs there was some configuration in jdbc realm, due to which 
it
was giving error. hence the manager was not working.

Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1031


-Original Message-
From: Paul Kofon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 10:46 AM
To: [EMAIL PROTECTED]
Subject: Strange: Tomcat4.0.4 can't find apps!!!


HI,
I just installed Tomcat 4.0.4. The examples are working well but each time 
I

create a new directory in the webapps directory and create a test html
file, it says the requested resource is not available. Even after a 
Tomcat

restart, I still get the above error message.
I thought I had a peculiar problem on my machine so I installed Tomcat on
another one. However, I still got the same error messages. This isn't the
first time I've used Tomcat so I'm truly puzzled!
As far as I know, I don't have to do anything special for Tomcat to
recognise my own applications. I even tried deploying a .war file. The file
was unpacked but Tomcat would still complain.
I've got JDK1.4, the examples run, so everything seems fine; but I can't
deploy a new app, even a simlpe html page! What could be wrong?

Paul




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

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



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




RE: mod_webapp

2002-06-20 Thread Turner, John


This is correct, for the current incarnation of mod_webapp.

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:22 PM
To: Tomcat Users List
Subject: Re: mod_webapp

Caveat: I've heard that the way WARP/mod_webapp works in terms of
passing requests to Tomcat it doesn't distinguish between
static/dynamic content, so that anything under a tomcat context/web
application will be handled by tomcat; supposedly if you use mod_jk
you can have apache handle such static content.




RE: JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Jerry Jalenak

Well, now that's a stumper.  There isn't a
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib directory.
The structure that was expanded from the .zip file looks like this:

jakarta-tomcat-connectors-4.1.3-src
   common
 build
   coyote
 src
   conf
   java
   test
   http11
 src
   conf
   java
   test
   jk
 build
   classes
   conf
   lib
 conf
 doc
   jk2
 java
 jkant
 native
 native2
 support
 test
 xdocs
   lib
   scandoc
   util
 java
   webapp
 apache-1.3
 apache-2.0
 docs
 include
 java
 lib
 support

Could the overall structure have changed from Tomcat 4.0.x to 4.1.x?

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:15 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



OK, what happens if you copy the tomcat-coyote.jar file from
tomcat/server/lib to
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib??

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:12 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


No, it's not.  I would have assumed that all of the files necessary to build
the connectors would have come down in the .zip file.  There is a
tomcat-coyote.jar in tomcat/server/lib

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:45 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.

OK, I have to ask...do you have the tomcat-coyote.jar file in that location?

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: JK Connectors for Tomcat 4.1.3 beta


Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



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


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


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




RE: HELP! login-config problems

2002-06-20 Thread njgreen


Thanks for the reply!  Unfortunately I did upgrade to 4.0.4 and I'm still having the 
same problem.  Maybe I don't have all the .jar files I need in my CLASSPATH?  (Which 
.jars to use was always unclear.)  Here are the ones I am using:

bootstrap.jar
catalina.jar
jakarta-regexp-1.2.jar
jasper-compiler.jar
jasper-runtime.jar
jndi.jar
naming-common.jar
naming-factory.jar
naming-resources.jar
servlet.jar
servlets-cgi.jar
servlets-common.jar
servlets-default.jar
servlets-invoker.jar
servlets-manager.jar
servlets-ssi.jar
servlets-webdav.jar
tomcat-http11.jar
tomcat-util.jar
xerces.jar

Also, here is my web.xml file:

web-app
servlet
servlet-nameController/servlet-name 
servlet-classcom.acme.admin.web.Controller/servlet-class
/servlet

servlet-mapping
servlet-nameController/servlet-name
url-pattern*.ctrl/url-pattern
/servlet-mapping

session-config
session-timeout15/session-timeout
/session-config

welcome-file-list
welcome-filemain.html/welcome-file
/welcome-file-list

security-constraint
web-resource-collection
web-resource-nameAdmin App/web-resource-name
url-pattern/*/url-pattern
/web-resource-collection
auth-constraint
role-nameAdmin/role-name
/auth-constraint
/security-constraint
login-config
auth-methodBASIC/auth-method
realm-nameAdmin App/realm-name
/login-config
/web-app

In addition to this I also have the standard default web.xml file the /conf 
subdirectory. I'd also put in the code snippet where I set up the Embedded but I don't 
want to inundate you with stuff :-) 

So as I said it's still not working. If you see anything missing from the jars, 
anything wrong with my web.xml file, or have any other ideas, any help is much 
appreciated!

Thanks again!
noah



On 20 Jun 2002, [EMAIL PROTECTED] wrote:

 It is a bug in tomcat 4.0.3. I had the same
 problem until using 4.0.4.

 Bao-Ha Dam Bui [EMAIL PROTECTED]
 S. Jude Medical, Inc
 651.765.1018


 -Original Message- From:
 [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] Sent: Thursday,
 June 20, 2002 11:49 AM To:
 [EMAIL PROTECTED] Subject: HELP!
 login-config problems

 Hi, I've posted this a few times and am
 trying one last time. When I run my .war
 file in a regular 4.0.3 server, using an
 auth-method of either BASIC or FORM, it
 works fine. However, if I run it in an
 embedded version of the same server, I get
 errors. With BASIC, the browser never shows
 the dialog, but just fails the login
 immediately. That is, it calls the
 Principal authenticate (String username,
 String credentials) right away, without
 even putting up the dialog. It then prints
 the following error to the log:
 HttpProcessor[8080][4]
 process.invokeInvalid user ID

 With the FORM login, a successful login caused
 the browser to redirect to one of the image
 files on the login page, rather than to the
 welcome page. An unsuccessful login fails to
 bring up the specified form-error-page.

 Either I'm misconfiguring something, or
 embedded Tomcat is EXTREMELY buggy when it
 comes to login-config implementation. BTW I
 did upgrade to 4.0.4 and the same problems
 happened. I'm using the o.a.c.startup.Embedded
 class, and am following the directions
 described in James Goodwill's Apache
 Jakarta-Tomcat book (with the correct .jar
 files that he lists in his article.)

 Has anyone had any experience with this? I
 really do need some help here, I'm on a pretty
 scary deadline.

 Thanks! Noah

 p.s. I will my web.xml file to anyone who
  asks, just didn't want to clutter up your
  mailbox right away.

 --
 To unsubscribe, e-mail: mailto:tomcat-user-u-
 [EMAIL PROTECTED] For additional
 commands, e-mail:
 mailto:[EMAIL PROTECTED]

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




Re: getSession always returns null

2002-06-20 Thread Jacob Kjome

Hello Jerry,

don't you need to do getSession(true) in order for getSession to
return a non-null session whether one exists currently or not?

If you just call getSession(), it will return null if the current
session is null (not created yet).

Jake

Thursday, June 20, 2002, 2:17:45 PM, you wrote:

JJ I have setup Apache with Tomcat on my NetWare 6.0 server.  Everything is working 
fine (so far) except for getSession always returns null.  The Session example servlet 
as well as every test I have
JJ tried has had the same result.  Has anyone else experience this problem?  Any 
suggestions?  Thanks






-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED]


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




RE: JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Turner, John


OK, it's beta.  What happens if you create the directory that's missing and
copy the jar file to it?

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:31 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


Well, now that's a stumper.  There isn't a
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib directory.
The structure that was expanded from the .zip file looks like this:

jakarta-tomcat-connectors-4.1.3-src
   common
 build
   coyote
 src
   conf
   java
   test
   http11
 src
   conf
   java
   test
   jk
 build
   classes
   conf
   lib
 conf
 doc
   jk2
 java
 jkant
 native
 native2
 support
 test
 xdocs
   lib
   scandoc
   util
 java
   webapp
 apache-1.3
 apache-2.0
 docs
 include
 java
 lib
 support

Could the overall structure have changed from Tomcat 4.0.x to 4.1.x?

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:15 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



OK, what happens if you copy the tomcat-coyote.jar file from
tomcat/server/lib to
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib??

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:12 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


No, it's not.  I would have assumed that all of the files necessary to build
the connectors would have come down in the .zip file.  There is a
tomcat-coyote.jar in tomcat/server/lib

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:45 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.

OK, I have to ask...do you have the tomcat-coyote.jar file in that location?

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: JK Connectors for Tomcat 4.1.3 beta


Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



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


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


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



Re: mod_webapp

2002-06-20 Thread chad kellerman

THanks everyone.

  I thought this might be the reason I can't get any servlets to work from my 
virtual host. I can call it by
host.domain.com:8080/examples/servlet/servletname

but not,
virtualhost.com/webapps/appname/servlets/servletname

O well,
back to the drawing board.

thanks again

chad



On Thu June 20 2002 3:24 pm, Turner, John wrote:
 This is correct, for the current incarnation of mod_webapp.

 John Turner
 [EMAIL PROTECTED]
 http://www.aas.com

 -Original Message-
 From: Milt Epstein [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 3:22 PM
 To: Tomcat Users List
 Subject: Re: mod_webapp

 Caveat: I've heard that the way WARP/mod_webapp works in terms of
 passing requests to Tomcat it doesn't distinguish between
 static/dynamic content, so that anything under a tomcat context/web
 application will be handled by tomcat; supposedly if you use mod_jk
 you can have apache handle such static content.

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




Re: mod_webapp

2002-06-20 Thread Milt Epstein

On Thu, 20 Jun 2002, chad kellerman wrote:

 THanks everyone.

   I thought this might be the reason I can't get any servlets to
 work from my virtual host. I can call it by
 host.domain.com:8080/examples/servlet/servletname

 but not,
 virtualhost.com/webapps/appname/servlets/servletname

 O well,
 back to the drawing board.

Well, again, I'm not an expert on Virtual Hosts, but I'd think you can
set something up so that www.virtualhost.com ends up going to
www.host.domain.com:8080.  But that might involve Apache more than
Tomcat (as well as some DNS settings).


 On Thu June 20 2002 3:24 pm, Turner, John wrote:
  This is correct, for the current incarnation of mod_webapp.
 
  John Turner
  [EMAIL PROTECTED]
  http://www.aas.com
 
  -Original Message-
  From: Milt Epstein [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 20, 2002 3:22 PM
  To: Tomcat Users List
  Subject: Re: mod_webapp
 
  Caveat: I've heard that the way WARP/mod_webapp works in terms of
  passing requests to Tomcat it doesn't distinguish between
  static/dynamic content, so that anything under a tomcat context/web
  application will be handled by tomcat; supposedly if you use mod_jk
  you can have apache handle such static content.

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Sending url in querystring

2002-06-20 Thread Brian Freeman

I have an application written on tomcat 3.2.3.  A majority of the pages pass fully 
qualified url's as parameter values on the querystring (ex. 
testpage.jsp?pageName=http://www.someserver.com/test.jsp).  This all worked fine in 
tomcat 3.2.3.  However, since I've upgraded to tomcat 4.0.3, this no longer works.  I 
have read some posts in various newsgroups suggesting methods such as URLEncoding the 
pagename, and although this may work, it would consist of a sizable effort (there are 
around 70 pages that would have to be updated).  Before I tackle this, I was hoping 
somebody might know of a way to get tomcat 4.0.3 to allow urls's (particularly the 
// portion of the string) to pass through a querystring without having to urlencode 
or any other method that would alter the text.  Are there any special server settings 
or propery files I could alter?  Any java files from the tomcat source I could mofify?


Brian Freeman



war file deploys but can't reach any urls

2002-06-20 Thread Koes, Derrick

 

 

I dropped my war file in the webapps directory in a tomcat 4.0.4 install.

I started tomcat, and a directory is created with the contents of my war
file.

However, I cannot hit the expected url with any success.  I always get a 404
error.

Can anyone help?

 

Thanks.

 

/**

 * Contact information.

 */

public interface INFO

{

static final String NAME = Derrick Koes;

String title = Senior Software Engineer;

String company = Smith + Nephew Endoscopy;

URL companyURL = new URL(

http://www.smith-nephew.com/index-flash.html
http://www.smith-nephew.com/index-flash.html );

String aolIM = codeauthor2001;

String EMAIL = [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]@smith-nephew.com ;

String PHONE = (978) 749-1288;

String FAX = (978) 749-1487;

}

 




RE: war file deploys but can't reach any urls

2002-06-20 Thread Koes, Derrick


I should add that I had no problem with this in tomcat 3.2.3.
What has changed?

-Original Message-
From: Koes, Derrick 
Sent: Thursday, June 20, 2002 3:57 PM
To: '[EMAIL PROTECTED]'
Subject: war file deploys but can't reach any urls

 

 

I dropped my war file in the webapps directory in a tomcat 4.0.4 install.

I started tomcat, and a directory is created with the contents of my war
file.

However, I cannot hit the expected url with any success.  I always get a 404
error.

Can anyone help?

 

Thanks.

 

/**

 * Contact information.

 */

public interface INFO

{

static final String NAME = Derrick Koes;

String title = Senior Software Engineer;

String company = Smith + Nephew Endoscopy;

URL companyURL = new URL(

http://www.smith-nephew.com/index-flash.html
http://www.smith-nephew.com/index-flash.html );

String aolIM = codeauthor2001;

String EMAIL = [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]@smith-nephew.com ;

String PHONE = (978) 749-1288;

String FAX = (978) 749-1487;

}

 



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




Re: war file deploys but can't reach any urls

2002-06-20 Thread chad kellerman

How is the 404 error displayed?

Is it displayed as actual html code in the browser or an actual blue 
backgrounded 404 error?

  If you are using mod_webapp you need:

#WebAppDeploy name.war  conn1/webapps/name


--chad


On Thu June 20 2002 4:00 pm, Koes, Derrick wrote:
 I dropped my war file in the webapps directory in a tomcat 4.0.4 install.

 I started tomcat, and a directory is created with the contents of my war
 file.

 However, I cannot hit the expected url with any success.  I always get a
 404 error.

 Can anyone help?



 Thanks.



 /**

  * Contact information.

  */

 public interface INFO

 {

 static final String NAME = Derrick Koes;

 String title = Senior Software Engineer;

 String company = Smith + Nephew Endoscopy;

 URL companyURL = new URL(

 http://www.smith-nephew.com/index-flash.html
 http://www.smith-nephew.com/index-flash.html );

 String aolIM = codeauthor2001;

 String EMAIL = [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]@smith-nephew.com ;

 String PHONE = (978) 749-1288;

 String FAX = (978) 749-1487;

 }

-- 
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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




Java 1.4 io classes

2002-06-20 Thread TMotte


I am wondering if Tomcat soon will make (or already has made) use of new io
classes in Java 1.4 such as java.nio.channels.SelectableChannel? Supposedly
all this gives you non-blocking i/o that will be much more scalable than
old thread-oriented blocking i/o, but I dunno if it's truly applicable to
servlets. Can anybody shed some light on this?


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




configuring auto loading webapps (tomcat 4.0.3)

2002-06-20 Thread Dan Diodati



Is there a way to 
configure each autoloading webapp without having to add an entry to the 
server.xml?
I know that webapps 
are autoloaded from the webapps directory, the problem is that I need to 
configure a
custom loader for 
each webapp and I don't want to change the server.xml for each new webapp(we 
will have 
lots of them). The 
older tomcat had support to configure different context's in different files, 
which would get added to
the server.xml 
during runtime. With tomcat 4.0.3 they seem to have lost this feature.I 
tried to use the DefaultContext
configuration but it 
does not seem to accept a Loader setting.Anyone know of a way around 
this?

 



 Dan 
Diodati [EMAIL PROTECTED] Senior Software Engineer 
NightFire Software   


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


Re: outsiders cannot brows my site in tomcat

2002-06-20 Thread Yu Ye Zhou

I've found http://dns2go.deerfield.com. I registered a
domain with them for free and also downloaded their
software that can point to my current IP address to
that domain name. I can brow my computer with that
domain name now. I think I should be able to browse it
from any other computers, after I readjust my router
setting. 
Thanks for all your helps. Very appreciate. 

Yuye 

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




RE: war file deploys but can't reach any urls

2002-06-20 Thread Koes, Derrick


I was under the impression that I did not need mod_webapp unless I was using
Apache as the web server.  Anyway, isn't mod_jk more stable/robust than
mod_webapp?



-Original Message-
From: chad kellerman [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 20, 2002 4:01 PM
To: Tomcat Users List
Subject: Re: war file deploys but can't reach any urls

How is the 404 error displayed?

Is it displayed as actual html code in the browser or an actual blue 
backgrounded 404 error?

  If you are using mod_webapp you need:

#WebAppDeploy name.war  conn1/webapps/name


--chad


On Thu June 20 2002 4:00 pm, Koes, Derrick wrote:
 I dropped my war file in the webapps directory in a tomcat 4.0.4 install.

 I started tomcat, and a directory is created with the contents of my war
 file.

 However, I cannot hit the expected url with any success.  I always get a
 404 error.

 Can anyone help?



 Thanks.



 /**

  * Contact information.

  */

 public interface INFO

 {

 static final String NAME = Derrick Koes;

 String title = Senior Software Engineer;

 String company = Smith + Nephew Endoscopy;

 URL companyURL = new URL(

 http://www.smith-nephew.com/index-flash.html
 http://www.smith-nephew.com/index-flash.html );

 String aolIM = codeauthor2001;

 String EMAIL = [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]@smith-nephew.com ;

 String PHONE = (978) 749-1288;

 String FAX = (978) 749-1487;

 }

-- 
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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



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




RE: war file deploys but can't reach any urls

2002-06-20 Thread Koes, Derrick

Apache Tomcat/4.0.3 - HTTP Status 404 - /dora




type Status report

message /dora

description The requested resource (/dora) is not available.


With a blue background.


-Original Message-
From: chad kellerman [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 20, 2002 4:01 PM
To: Tomcat Users List
Subject: Re: war file deploys but can't reach any urls

How is the 404 error displayed?

Is it displayed as actual html code in the browser or an actual blue 
backgrounded 404 error?

  If you are using mod_webapp you need:

#WebAppDeploy name.war  conn1/webapps/name


--chad


On Thu June 20 2002 4:00 pm, Koes, Derrick wrote:
 I dropped my war file in the webapps directory in a tomcat 4.0.4 install.

 I started tomcat, and a directory is created with the contents of my war
 file.

 However, I cannot hit the expected url with any success.  I always get a
 404 error.

 Can anyone help?



 Thanks.



 /**

  * Contact information.

  */

 public interface INFO

 {

 static final String NAME = Derrick Koes;

 String title = Senior Software Engineer;

 String company = Smith + Nephew Endoscopy;

 URL companyURL = new URL(

 http://www.smith-nephew.com/index-flash.html
 http://www.smith-nephew.com/index-flash.html );

 String aolIM = codeauthor2001;

 String EMAIL = [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]@smith-nephew.com ;

 String PHONE = (978) 749-1288;

 String FAX = (978) 749-1487;

 }

-- 
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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



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




Using JkMount with mod_jk question...

2002-06-20 Thread Sean M Alderman

Hi again,

  Is there a good source to read for understanding how the JkMount
path relates to $TOMCAT_HOME/webapps ?

Everytime I put a url in that works for the standalone server, I get a
404 when I try it via the AJP connector.
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.

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




RE: war file deploys but can't reach any urls

2002-06-20 Thread Turner, John


Mod_jk seems to be the preferred connector over mod_webapp at the moment.

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Koes, Derrick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 4:14 PM
To: 'Tomcat Users List'
Subject: RE: war file deploys but can't reach any urls



I was under the impression that I did not need mod_webapp unless I was using
Apache as the web server.  Anyway, isn't mod_jk more stable/robust than
mod_webapp?



-Original Message-
From: chad kellerman [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 20, 2002 4:01 PM
To: Tomcat Users List
Subject: Re: war file deploys but can't reach any urls

How is the 404 error displayed?

Is it displayed as actual html code in the browser or an actual blue 
backgrounded 404 error?

  If you are using mod_webapp you need:

#WebAppDeploy name.war  conn1/webapps/name


--chad


On Thu June 20 2002 4:00 pm, Koes, Derrick wrote:
 I dropped my war file in the webapps directory in a tomcat 4.0.4 install.

 I started tomcat, and a directory is created with the contents of my war
 file.

 However, I cannot hit the expected url with any success.  I always get a
 404 error.

 Can anyone help?



 Thanks.



 /**

  * Contact information.

  */

 public interface INFO

 {

 static final String NAME = Derrick Koes;

 String title = Senior Software Engineer;

 String company = Smith + Nephew Endoscopy;

 URL companyURL = new URL(

 http://www.smith-nephew.com/index-flash.html
 http://www.smith-nephew.com/index-flash.html );

 String aolIM = codeauthor2001;

 String EMAIL = [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]@smith-nephew.com ;

 String PHONE = (978) 749-1288;

 String FAX = (978) 749-1487;

 }

-- 
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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



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



RE: Using JkMount with mod_jk question...

2002-06-20 Thread Turner, John


If you were using mod_jk, apache, and tomcat, and wanted to reach the tomcat
examples (default install) on port 80 (instead of 8080 or whatever), this
would work:

JkMount /examples ajp13
JkMount /examples/* ajp13

Season to taste, that is, you could easily put /path/*.jsp or some other
expression...it doesn't have to be /*.

HTH

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 4:38 PM
To: Tomcat Users List
Subject: Using JkMount with mod_jk question...


Hi again,

  Is there a good source to read for understanding how the JkMount
path relates to $TOMCAT_HOME/webapps ?

Everytime I put a url in that works for the standalone server, I get a
404 when I try it via the AJP connector.
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.

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



RE: JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Jerry Jalenak

Following this line of reasoning, I also ended up creating ../util/build/lib
and copying tomcat-util.jar.  Everything seemed to build correctly this
time, anyway.

Thanks for the suggestions.

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



OK, it's beta.  What happens if you create the directory that's missing and
copy the jar file to it?

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:31 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


Well, now that's a stumper.  There isn't a
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib directory.
The structure that was expanded from the .zip file looks like this:

jakarta-tomcat-connectors-4.1.3-src
   common
 build
   coyote
 src
   conf
   java
   test
   http11
 src
   conf
   java
   test
   jk
 build
   classes
   conf
   lib
 conf
 doc
   jk2
 java
 jkant
 native
 native2
 support
 test
 xdocs
   lib
   scandoc
   util
 java
   webapp
 apache-1.3
 apache-2.0
 docs
 include
 java
 lib
 support

Could the overall structure have changed from Tomcat 4.0.x to 4.1.x?

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:15 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



OK, what happens if you copy the tomcat-coyote.jar file from
tomcat/server/lib to
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib??

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:12 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


No, it's not.  I would have assumed that all of the files necessary to build
the connectors would have come down in the .zip file.  There is a
tomcat-coyote.jar in tomcat/server/lib

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:45 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.

OK, I have to ask...do you have the tomcat-coyote.jar file in that location?

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: JK Connectors for Tomcat 4.1.3 beta


Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



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


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


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


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




Testing non-visual JavaBeans?

2002-06-20 Thread Rob Reis

Is there a way to test a non-visual bean which I
intend to use for JSP, Servlets, etc.? Do I have to
use the BeanBox? Can I use something like JUnit? I
want to make sure my bean works correctly before
trying to call it from JSP.

Thanks,

Rob 

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




What Happen HERE?

2002-06-20 Thread Fred Lankovic

When startup tomcat this message appears

Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
ERROR reading java.io.ByteArrayInputStream@5bdc50
At Line 21 /web-app/security-constraint/

Starting service Tomcat-Apache
Apache Tomcat/4.0.3

I've been trying to protect a directory with memory
realms, here is mi web.xml, thanks for any help`

web.xml

web-app
display-nameLibreria PDF/display-name
descriptionDeveloped by Fred Lankovich
/description
session-config
   session-timeout30/session-timeout
/session-config
security-constraint
   web-resource-collection
   web-resource-nameLibreria
PDF/web-resource-name
   url-patternadmin/*/url-pattern
   /web-resource-collection
   auth-constraint
   role-namepdfuser/role-name
   /auth-constraint
/security-constraint
login-config
  auth-methodBASIC/auth-method
  real-nameLibreria PDF/realm-name
/login-config
/web-app

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com

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




RE: Using JkMount with mod_jk question...

2002-06-20 Thread Sean M Alderman

So I need to shut apache down, change the config and restart everytime I
deploy a new webapp?

OK...so I did what you said, and now I can point my browser to
http://host/examples/ and it shows me a directory listing like
page...which is better than I saw before.  If I do
http://host/examples/jsp/ I get the index.html page I expect to get. 
Great!

so I put a JkMount /myApp ajp13 in httpd.conf and if I have
$TOMCAT_HOME/webapps/myApp.war the app will deploy and I should be able
to visit http://host/myApp and run the app.  

One last stupid question... So what's JkMount /servlet ajp13 for in the
examples?...I mean is /servlet specific or should there be an additional
note for stupid guys like me who don't get that /servlet should be
replaced with actual real servlets on your system?

On Thu, 2002-06-20 at 16:44, Turner, John wrote:
 
 If you were using mod_jk, apache, and tomcat, and wanted to reach the tomcat
 examples (default install) on port 80 (instead of 8080 or whatever), this
 would work:
 
 JkMount /examples ajp13
 JkMount /examples/* ajp13
 
 Season to taste, that is, you could easily put /path/*.jsp or some other
 expression...it doesn't have to be /*.
 
 HTH
 
 John Turner
 [EMAIL PROTECTED]
 http://www.aas.com
 
 -Original Message-
 From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 4:38 PM
 To: Tomcat Users List
 Subject: Using JkMount with mod_jk question...
 
 
 Hi again,
 
   Is there a good source to read for understanding how the JkMount
 path relates to $TOMCAT_HOME/webapps ?
 
 Everytime I put a url in that works for the standalone server, I get a
 404 when I try it via the AJP connector.
 -- 
 Sean M. Alderman
 ITRACK Systems Analyst
 PACE/NCI - NASA Glenn Research Center
 (216) 433-2795
 
 Calling a windowed operating system Windows is like naming an
 automobile Wheels.
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.

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




Re: Testing non-visual JavaBeans?

2002-06-20 Thread Eric Everman

For testing beans, I use JUnit.  It makes things fairly simple.

It can get complex if your 'beans' actually have Servlet ties-ins such as 
references to httpSessions, contexts, etc.  But if you've got functionality 
that can be tested without any sort of dependence on a web container, JUnit 
is the way to go.

Eric Everman

At 03:54 PM 6/20/2002, you wrote:
Is there a way to test a non-visual bean which I
intend to use for JSP, Servlets, etc.? Do I have to
use the BeanBox? Can I use something like JUnit? I
want to make sure my bean works correctly before
trying to call it from JSP.

Thanks,

Rob

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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


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




RE: Using JkMount with mod_jk question...

2002-06-20 Thread Turner, John


Good questions, all.  It doesn't matter to me if servlet shows up in the
URL (it matters to some people/projects) so I haven't worried about it.  I
think using servlet is just a convention...in my projects, I usually
prepend the application name to it.  For example, if the application is XYZ,
then I use XYZServlet to denote that application's servlet directory, not
servlet.  Same goes for company names...if you have company ABC using a
particular app, you might say ABCServlet.

I think, if you tell apache that index.jsp is a valid starting page, you
can just call /mydir instead of /mydir/ and have that JSP page redirect
wherever you want.

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 5:00 PM
To: Tomcat Users List
Subject: RE: Using JkMount with mod_jk question...


So I need to shut apache down, change the config and restart everytime I
deploy a new webapp?

OK...so I did what you said, and now I can point my browser to
http://host/examples/ and it shows me a directory listing like
page...which is better than I saw before.  If I do
http://host/examples/jsp/ I get the index.html page I expect to get. 
Great!

so I put a JkMount /myApp ajp13 in httpd.conf and if I have
$TOMCAT_HOME/webapps/myApp.war the app will deploy and I should be able
to visit http://host/myApp and run the app.  

One last stupid question... So what's JkMount /servlet ajp13 for in the
examples?...I mean is /servlet specific or should there be an additional
note for stupid guys like me who don't get that /servlet should be
replaced with actual real servlets on your system?

On Thu, 2002-06-20 at 16:44, Turner, John wrote:
 
 If you were using mod_jk, apache, and tomcat, and wanted to reach the
tomcat
 examples (default install) on port 80 (instead of 8080 or whatever), this
 would work:
 
 JkMount /examples ajp13
 JkMount /examples/* ajp13
 
 Season to taste, that is, you could easily put /path/*.jsp or some other
 expression...it doesn't have to be /*.
 
 HTH
 
 John Turner
 [EMAIL PROTECTED]
 http://www.aas.com
 
 -Original Message-
 From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 4:38 PM
 To: Tomcat Users List
 Subject: Using JkMount with mod_jk question...
 
 
 Hi again,
 
   Is there a good source to read for understanding how the JkMount
 path relates to $TOMCAT_HOME/webapps ?
 
 Everytime I put a url in that works for the standalone server, I get a
 404 when I try it via the AJP connector.
 -- 
 Sean M. Alderman
 ITRACK Systems Analyst
 PACE/NCI - NASA Glenn Research Center
 (216) 433-2795
 
 Calling a windowed operating system Windows is like naming an
 automobile Wheels.
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system Windows is like naming an
automobile Wheels.

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



RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?

2002-06-20 Thread Short, Dave

The following message is written to the event log on my W2K machine when
trying to start Apache 2.0.39 with mod_jk2.dll.

This is the same mod_jk.conf that works with Apache 2.0.36 and mod_jk.dll.

Any ideas?

The Apache service named  reported the following error:
 Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server configuration . 

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: June 19, 2002 3:34 PM
To: 'Tomcat Users List'; 'Jacob Kjome'
Subject: RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?


 De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
 Enviado el: 19 de junio de 2002 21:53

 So, I figured.  Well, that must mean that I just need to upgrade to
 mod_jk2.  I downloaded mod_jk2.dll from
 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
/nightly/win32/ .

Just upgraded the nightly binaries for jk2 , built with 2.0.39

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 Para: Tomcat Users List
 Asunto: Apache 2.0.39 and mod_jk2.dll nightly incompatible?
 
 
 Hi,
 
 I figured I should upgrade to Apache 2.0.39 because of the security
 alert.  However, now that I have, the mod_jk.dll (version 1.2, I
 believe) that I downloaded from http://www.acg-gmbh.de/mod_jk/ which
 worked fine with Apache 2.0.36 doesn't work.  Apache won't even start.
 Here's the info from the NT Event Viewer log:
 
 The Apache service named  reported the following error:
 Apache.exe: module
 C:\jakarta-tomcat-connectors-4.0.4-b3-src\jk\native\apache-2.
 0\mod_jk.c
 is not compatible with this version of Apache.
 
 
I removed mod_jk.dll from Apache2/modules and and added mod_jk2.dll
and tried starting Apache expecting no problems.  I got another error.
The event log now has:

The Apache service named  reported the following error:
Apache.exe: module
E:\tomcat\jakarta-tomcat-connectors\jk\native2\server\apache2\mod_jk2.c

is not compatible with this version of Apache.
Please contact the vendor for the correct version.


So, is there a problem with Apache 2.0.39 or are the jk modules out of
step with current Apache development?  If anyone has a mod_jk.dll that
works with Apache 2.0.39, could you please send it to me or let me
know where to download it?

Thanks,

Jake


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


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

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




Trouble loading properties file

2002-06-20 Thread Kiev Gama

Hello all,

I have the Tomcat 4.0.3 installed, and I am trying to load a .properties 
file necessary to my application(which has its classes and packages in the 
WEB-INF/classes) but I haven't got any success in doing this.

I'v already tried to put the file in the WEB-INF/classes directory of my 
application, also tried to jar it and put the jarred file in the 
WEB-INF/lib.
None of the above worked.

I wanted to make it easy to transport the whole application without having 
to save that .properties in a directory outside the application's 
subdirectories.

Does anybody know what I have to do in order to get that to work?

Thanks,

Kiev Gama

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




war file deployment problem with tomcat 4.0.3

2002-06-20 Thread Koes, Derrick

I have dropped the war file into the %CATALINA_HOME%/webapps directory.

I run startup.bat.

Tomcat expands my war file, but I always get:

 


Apache Tomcat/4.0.3 - HTTP Status 404 - /dora

  _  


type Status report

message /dora

description The requested resource (/dora) is not available.

 

 

Why is this happening?

 

 

 

/**

 * Contact information.

 */

public interface INFO

{

static final String NAME = Derrick Koes;

String title = Senior Software Engineer;

String company = Smith + Nephew Endoscopy;

URL companyURL = new URL(

http://www.smith-nephew.com/index-flash.html
http://www.smith-nephew.com/index-flash.html );

String aolIM = codeauthor2001;

String EMAIL = [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]@smith-nephew.com ;

String PHONE = (978) 749-1288;

String FAX = (978) 749-1487;

}

 




RE: JK Connectors for Tomcat 4.1.3 beta

2002-06-20 Thread Jerry Jalenak

Ok, I've rebuilt my connectors, stopped and restarted both Apache and
Tomcat.  I can get to Apache with out problems, but the only way I can get
to my JSP pages is by specifying port 8080 on the URL - which is going
directly to Tomcat.  What config changes need to be made so that Apache will
forward these requests to Tomcat?  I've made this work with Apache 1.3.x and
Tomcat 3.3.1, but these newer releases are just confusing the h*** out of
me!

TIA

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



OK, it's beta.  What happens if you create the directory that's missing and
copy the jar file to it?

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:31 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


Well, now that's a stumper.  There isn't a
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib directory.
The structure that was expanded from the .zip file looks like this:

jakarta-tomcat-connectors-4.1.3-src
   common
 build
   coyote
 src
   conf
   java
   test
   http11
 src
   conf
   java
   test
   jk
 build
   classes
   conf
   lib
 conf
 doc
   jk2
 java
 jkant
 native
 native2
 support
 test
 xdocs
   lib
   scandoc
   util
 java
   webapp
 apache-1.3
 apache-2.0
 docs
 include
 java
 lib
 support

Could the overall structure have changed from Tomcat 4.0.x to 4.1.x?

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:15 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



OK, what happens if you copy the tomcat-coyote.jar file from
tomcat/server/lib to
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib??

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 3:12 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta


No, it's not.  I would have assumed that all of the files necessary to build
the connectors would have come down in the .zip file.  There is a
tomcat-coyote.jar in tomcat/server/lib

Jerry

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:45 PM
To: 'Tomcat Users List'
Subject: RE: JK Connectors for Tomcat 4.1.3 beta



BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.

OK, I have to ask...do you have the tomcat-coyote.jar file in that location?

John Turner
[EMAIL PROTECTED]
http://www.aas.com

-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: JK Connectors for Tomcat 4.1.3 beta


Hi,

I'm trying to get Tomcat 4.1.3 beta running with Apache 2.0.39 under Windows
NT, but cannot seem to get the JK connectors to compile correctly with Ant.
I've downloaded the source file for the connectors from the jakarta site,
modified the build.properties, and tried to run Ant.  I get the following
messages:

Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

guess_catalina40:

guess_catalina41:

cpath:

prepare:
 [copy] Could not find file
D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\coyote\build\lib\tomcat-coyote
.jar to copy.


BUILD FAILED

D:\DevSys\jakarta-tomcat-connectors-4.1.3-src\jk\build.xml:110: Could not
find file D:\DevSys\jakarta-tomcat-connectors-4
.1.3-src\coyote\build\lib\tomcat-coyote.jar to copy.

Total time: 1 second

Does anyone have a procedure that works?  Better yet, does any have the JK
connectors already built for this configuration that you could send me?

Thanks!

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.

This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



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


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


--
To unsubscribe, 

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-20 Thread Victor Popiol

Hi Yoav. I tried that during troubleshooting and didn't help because of the userid 
issue. I will comply.

Thanks
Victor

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 10:08 AM
To: Tomcat Users List
Subject: RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta


Howdy,
I know you already solved the problem (was userid).

As an aside, it's a bad idea to unpack 3rd party jars.  You probably
want to rename classes12.zip to classes12.jar so tomcat will pick it up.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Victor Popiol [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 4:24 AM
To: Tomcat Users List
Subject: RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

Hi. I installed Tomcat 4.1.3 and deployed my application. But I
consistently get en error trying to connect to our database. This error
only happens in Tomcat 4.1.3.

The database is Oracle 8.1.7 and I expanded the classes from the
classes12.zip JDBC distributable (as I had done on Tomcat 4.03).

The error happens when trying to open the connection. To isolate the
issue,
I wrote a small jsp page that exercise the data source to get the
conection. Here it is:

%@ page contentType=text/html
import=javax.naming.*,java.sql.*,javax.sql.* %
html
body
%
   System.out.println(StartingBR);
   Context initCtx = new InitialContext();
   Context envCtx = (Context) initCtx.lookup(java:comp/env);
   DataSource ds = (DataSource)
 envCtx.lookup(jdbc/duwi);
   if (ds != null) {
   System.out.println(Data Source is not nullBR);
   Connection conn = ds.getConnection();
   conn.close();
   }
%
Ready!
/body
/html

The execution of this jsp throwas the following exception:

org.apache.jasper.JasperException
   at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
232)
   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289
)
   at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
nFilterChain.java:247)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
hain.java:193)
   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
ava:260)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
ava:191)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
49)
   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
0)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
.java:170)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:644)
   at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
1)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:644)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
a:174)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
   at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:4
05)
   at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Conn
ection(Http11Protocol.java:376)
   at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
08)
   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l.ja
va:518)
   at java.lang.Thread.run(Thread.java:479)


root cause

java.lang.NullPointerException
   at 

Re: Trouble loading properties file

2002-06-20 Thread Milt Epstein

On Thu, 20 Jun 2002, Kiev Gama wrote:

 Hello all,

 I have the Tomcat 4.0.3 installed, and I am trying to load a .properties
 file necessary to my application(which has its classes and packages in the
 WEB-INF/classes) but I haven't got any success in doing this.

 I'v already tried to put the file in the WEB-INF/classes directory of my
 application, also tried to jar it and put the jarred file in the
 WEB-INF/lib.
 None of the above worked.

 I wanted to make it easy to transport the whole application without having
 to save that .properties in a directory outside the application's
 subdirectories.

 Does anybody know what I have to do in order to get that to work?

Well, you don't give too much info, like where you tried putting it
(other than that one location), and how you tried loading it.  But my
understanding is that if you put a file, say, called filename,
immediately under WEB-INF/, you can get to it by doing
getServletContext().getResource(filename).

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




mod_jk for Windows

2002-06-20 Thread Koes, Derrick

I cannot seem to find a combination of apache httpd and tomcat that will
work together.

 

I've tried:

 

Apache 1.3.26 + Tomcat 3.3.1  -- Doesn't understand any of the Jk
configuration...Invalid command 'JkWorkersFile'...

Apache 1.3.26 + Tomcat 4.0.3  -- same

Apache 2.0.39 + Tomcat 4.0.3  -- Can't get to webapp's through tomcat let
alone apache (Yes, of course I can get to the examples through tomcat, but
still not through apache)

Apache 2.0.39 + Tomcat 4.0.4  -- same

 

/**

 * Contact information.

 */

public interface INFO

{

static final String NAME = Derrick Koes;

String title = Senior Software Engineer;

String company = Smith + Nephew Endoscopy;

URL companyURL = new URL(

http://www.smith-nephew.com/index-flash.html
http://www.smith-nephew.com/index-flash.html );

String aolIM = codeauthor2001;

String EMAIL = [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]@smith-nephew.com ;

String PHONE = (978) 749-1288;

String FAX = (978) 749-1487;

}

 




RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?

2002-06-20 Thread Short, Dave

The mod_jk2 documentation on the Jakarta site is the same documentation as
the mod_jk documentation.  Could someone please provide a working
mod_jk.conf file for mod_jk2?

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: June 19, 2002 3:34 PM
To: 'Tomcat Users List'; 'Jacob Kjome'
Subject: RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?


 De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
 Enviado el: 19 de junio de 2002 21:53

 So, I figured.  Well, that must mean that I just need to upgrade to
 mod_jk2.  I downloaded mod_jk2.dll from
 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
/nightly/win32/ .

Just upgraded the nightly binaries for jk2 , built with 2.0.39

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 Para: Tomcat Users List
 Asunto: Apache 2.0.39 and mod_jk2.dll nightly incompatible?
 
 
 Hi,
 
 I figured I should upgrade to Apache 2.0.39 because of the security
 alert.  However, now that I have, the mod_jk.dll (version 1.2, I
 believe) that I downloaded from http://www.acg-gmbh.de/mod_jk/ which
 worked fine with Apache 2.0.36 doesn't work.  Apache won't even start.
 Here's the info from the NT Event Viewer log:
 
 The Apache service named  reported the following error:
 Apache.exe: module
 C:\jakarta-tomcat-connectors-4.0.4-b3-src\jk\native\apache-2.
 0\mod_jk.c
 is not compatible with this version of Apache.
 
 
I removed mod_jk.dll from Apache2/modules and and added mod_jk2.dll
and tried starting Apache expecting no problems.  I got another error.
The event log now has:

The Apache service named  reported the following error:
Apache.exe: module
E:\tomcat\jakarta-tomcat-connectors\jk\native2\server\apache2\mod_jk2.c

is not compatible with this version of Apache.
Please contact the vendor for the correct version.


So, is there a problem with Apache 2.0.39 or are the jk modules out of
step with current Apache development?  If anyone has a mod_jk.dll that
works with Apache 2.0.39, could you please send it to me or let me
know where to download it?

Thanks,

Jake


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


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

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




RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-20 Thread Victor Popiol

I installed Tomcat 4.1.3 beta. Took a while to configure because the hidden issue with 
the user vs username parameter in the datasource definition.

After it has been running for a day, it died. Looking at the logs I found the 
following:

java.lang.OutOfMemoryError
no stack trace available
java.lang.OutOfMemoryError
no stack trace available
java.lang.OutOfMemoryError
no stack trace available
java.lang.OutOfMemoryError
no stack trace available

Any idea of components leaking memory?

Thanks
Victor

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 10:08 AM
To: Tomcat Users List
Subject: RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta


Howdy,
I know you already solved the problem (was userid).

As an aside, it's a bad idea to unpack 3rd party jars.  You probably
want to rename classes12.zip to classes12.jar so tomcat will pick it up.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Victor Popiol [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 4:24 AM
To: Tomcat Users List
Subject: RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

Hi. I installed Tomcat 4.1.3 and deployed my application. But I
consistently get en error trying to connect to our database. This error
only happens in Tomcat 4.1.3.

The database is Oracle 8.1.7 and I expanded the classes from the
classes12.zip JDBC distributable (as I had done on Tomcat 4.03).

The error happens when trying to open the connection. To isolate the
issue,
I wrote a small jsp page that exercise the data source to get the
conection. Here it is:

%@ page contentType=text/html
import=javax.naming.*,java.sql.*,javax.sql.* %
html
body
%
   System.out.println(StartingBR);
   Context initCtx = new InitialContext();
   Context envCtx = (Context) initCtx.lookup(java:comp/env);
   DataSource ds = (DataSource)
 envCtx.lookup(jdbc/duwi);
   if (ds != null) {
   System.out.println(Data Source is not nullBR);
   Connection conn = ds.getConnection();
   conn.close();
   }
%
Ready!
/body
/html

The execution of this jsp throwas the following exception:

org.apache.jasper.JasperException
   at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
232)
   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289
)
   at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
nFilterChain.java:247)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
hain.java:193)
   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
ava:260)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
ava:191)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
49)
   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
0)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
.java:170)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:644)
   at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
1)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:644)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
a:174)
   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
   at

RE: Using JkMount with mod_jk question...

2002-06-20 Thread Milt Epstein

On Thu, 20 Jun 2002, Turner, John wrote:

 If you were using mod_jk, apache, and tomcat, and wanted to reach
 the tomcat examples (default install) on port 80 (instead of 8080 or
 whatever), this would work:

 JkMount /examples ajp13
 JkMount /examples/* ajp13

Can you explain why you have the two of those there?  Do they do
something different?  Are they both necessary?  From what I can
discern from the FD (fine documentation), the first argument to
JkMount is the URL prefix* to match against when passing things to the
named worker (the second argument).  It seems the above two are (at
least somewhat) redundant.

*The FD says prefix, but that can't be literally true, because, as
 you show below with *.jsp, it can specify suffixes as well.  So
 perhaps pattern is more accurate.


 Season to taste, that is, you could easily put /path/*.jsp or some
 other expression...it doesn't have to be /*.

 HTH

 John Turner
 [EMAIL PROTECTED]
 http://www.aas.com

 -Original Message-
 From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 4:38 PM
 To: Tomcat Users List
 Subject: Using JkMount with mod_jk question...

 Hi again,

   Is there a good source to read for understanding how the JkMount
 path relates to $TOMCAT_HOME/webapps ?

 Everytime I put a url in that works for the standalone server, I get a
 404 when I try it via the AJP connector.

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




RE: Using JkMount with mod_jk question...

2002-06-20 Thread Milt Epstein

On Thu, 20 Jun 2002, Turner, John wrote:

 Good questions, all.  It doesn't matter to me if servlet shows up
 in the URL (it matters to some people/projects) so I haven't worried
 about it.  I think using servlet is just a convention...in my
 projects, I usually prepend the application name to it.  For
 example, if the application is XYZ, then I use XYZServlet to denote
 that application's servlet directory, not servlet.  Same goes for
 company names...if you have company ABC using a particular app, you
 might say ABCServlet.

Maybe I can add a little here.  A long time ago in a galaxy far away,
servlets used to be called with URL's like
http://www.domain.com/servlet/ServletName;, where ServletName was the
actual name of the servlet class.  servlet/ was a virtual directory
that told the servlet container (servlet engine back then) to find the
named servlet.  Of course, the web server had to be told to pass URL's
with servlet/ in them to the servlet container.

That was before they came up with the idea of defining servlets in the
web.xml file, and specifying servlet-mapping's to allow url-pattern's
to point to these defined servlets.  Then you could define a servlet
dothis that was actually ServletName, and with the appropriate
mappings, you could use a URL like http://www.domain.com/dothis;.

Now, I don't recall what the spec has to say about this, that is,
whether it requires/allows/disallows using the old style URL's with
servlet/ and the actual servlet class name.  But some people think
it's a good idea not to use them, in fact, even to disable it, such
that you can only reach servlets that have been defined in web.xml.
In some ways, it allows more control and greater security.

Anyway, the

JkMount /servlet ajp13

in the examples is a vestige of all this.


 I think, if you tell apache that index.jsp is a valid starting
 page, you can just call /mydir instead of /mydir/ and have that
 JSP page redirect wherever you want.

Wouldn't specifying index.jps as a welcome-file in web.xml be a better
way of doing this?


 -Original Message-
 From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 5:00 PM
 To: Tomcat Users List
 Subject: RE: Using JkMount with mod_jk question...


 So I need to shut apache down, change the config and restart everytime I
 deploy a new webapp?

 OK...so I did what you said, and now I can point my browser to
 http://host/examples/ and it shows me a directory listing like
 page...which is better than I saw before.  If I do
 http://host/examples/jsp/ I get the index.html page I expect to get.
 Great!

 so I put a JkMount /myApp ajp13 in httpd.conf and if I have
 $TOMCAT_HOME/webapps/myApp.war the app will deploy and I should be able
 to visit http://host/myApp and run the app.

 One last stupid question... So what's JkMount /servlet ajp13 for in the
 examples?...I mean is /servlet specific or should there be an additional
 note for stupid guys like me who don't get that /servlet should be
 replaced with actual real servlets on your system?

 On Thu, 2002-06-20 at 16:44, Turner, John wrote:
 
  If you were using mod_jk, apache, and tomcat, and wanted to reach the
 tomcat
  examples (default install) on port 80 (instead of 8080 or whatever), this
  would work:
 
  JkMount /examples ajp13
  JkMount /examples/* ajp13
 
  Season to taste, that is, you could easily put /path/*.jsp or some other
  expression...it doesn't have to be /*.
 
  HTH
 
  John Turner
  [EMAIL PROTECTED]
  http://www.aas.com
 
  -Original Message-
  From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 20, 2002 4:38 PM
  To: Tomcat Users List
  Subject: Using JkMount with mod_jk question...
 
 
  Hi again,
 
Is there a good source to read for understanding how the JkMount
  path relates to $TOMCAT_HOME/webapps ?
 
  Everytime I put a url in that works for the standalone server, I get a
  404 when I try it via the AJP connector.

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Software caused connection abort

2002-06-20 Thread Dennis Doubleday

Environment: Windows 2000, Tomcat 4.0.3 standalone, JDK 1.4.0

I get this message to stdout every time I load a certain page. The page
still loads properly, and Tomcat doesn't seem to have been negatively
affected. But it is worrisome. Is it harmless?


StandardWrapperValve[default]: Servlet.service() for servlet default
threw exception java.net.SocketException: Software caused connection
abort: socket write error java.net.SocketException: Software caused
connection abort: socket write errorat
java.net.SocketOutputStream.socketWrite0(Native Method) at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:126)
at
org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java
:679)   at
org.apache.catalina.connector.HttpResponseBase.flushBuffer(HttpResponseB
ase.java:757)   at
org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:652)
at
org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:3
12) at
org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponse
Stream.java:189)at
org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.jav
a:1903) at
org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:165
2)  at
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet
.java:1197) at
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:51
9)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1012)   at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1107)   at java.lang.Thread.run(Thread.java:536)


Dennis Doubleday  email: [EMAIL PROTECTED]
Right Hand Manager Software   web: http://www.righthandmanager.com


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




Re: What Happen HERE?

2002-06-20 Thread Neale Rudd

Hi Fred,

This error is caused by a problem in the web.xml file and
the full error can be seen in the webapp loader log files.
If you have not overridden this with a Logger tag, then
the file will be named catalina_somedate.log in your
CATALINA_HOME/logs folder.  That error will tell you
exactly what is going wrong.

Best Regards,
Neale Rudd
metawerx
http://www.metawerx.net

- Original Message -
From: Fred Lankovic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, 21 June 2002 6:58
Subject: What Happen HERE?


 When startup tomcat this message appears

 Starting service Tomcat-Standalone
 Apache Tomcat/4.0.3
 ERROR reading java.io.ByteArrayInputStream@5bdc50
 At Line 21 /web-app/security-constraint/

 Starting service Tomcat-Apache
 Apache Tomcat/4.0.3

 I've been trying to protect a directory with memory
 realms, here is mi web.xml, thanks for any help`

 web.xml

 web-app
 display-nameLibreria PDF/display-name
 descriptionDeveloped by Fred Lankovich
 /description
 session-config
session-timeout30/session-timeout
 /session-config
 security-constraint
web-resource-collection
web-resource-nameLibreria
 PDF/web-resource-name
url-patternadmin/*/url-pattern
/web-resource-collection
auth-constraint
role-namepdfuser/role-name
/auth-constraint
 /security-constraint
 login-config
   auth-methodBASIC/auth-method
   real-nameLibreria PDF/realm-name
 /login-config
 /web-app

 _
 Do You Yahoo!?
 Información de Estados Unidos y América Latina, en Yahoo! Noticias.
 Visítanos en http://noticias.espanol.yahoo.com

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




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




RE: mod_jk and mod_jk2 HELP

2002-06-20 Thread Mark Pelillo

John,
When you include the LoadModule line in the httpd.conf, the mod_jk2.so
automatically looks for a file called workers2.properties.  It if
doesn't find it, it pukes.  Under the site I have now (Apache1.3 with
mod_jk) I have put the JkMounts in a seperate file and in the httpd.conf
I have a line Include /usr/local/tomcat/conf/mod_jk.conf.  The workers
file is the same thing.  You have a Uri mount instead of a JkMount
which tells tomcat what content to mount.

To mount an application you need five lines

[uri:examples]
content=/examples
[uri:examples/*.jsp]
[uri:/examples/servlet/*]
[uri:examples/*]

The first two tell Apache/Tomcat about the application and where the
file are.  The next two tell Apache/Tomcat what tomcat should be
serving. and the last one I am not sure. (I do know that if it is not
there, then it doesn't work)

I have checked the log file for both apache and tomcat and I can see
that apache serves the .html etc, which tomcat is serving the servlets
and jsp's only.

Hope this helps.




On Thu, 2002-06-20 at 07:41, Turner, John wrote:
 
 That's what the JkMount directive does, it tells apache which requests to
 send to tomcat.  Without it, AFAIK, every request is sent to tomcat.
 
 Can anyone clear up how you can use mod_jk/mod_jk2 without the JkMount
 directive?  Does mod_jk2 do away with JkMount? The goal being to use tomcat
 only for servlet and JSP requests.
 
 John Turner
 [EMAIL PROTECTED]
 http://www.aas.com
 
 -Original Message-
 From: Mark Pelillo [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 19, 2002 6:35 PM
 To: Tomcat Users List
 Subject: RE: mod_jk and mod_jk2 HELP
 
 
 I can't answer whether mod_jk is involved in every request, because it
 really depend on the inner workings of Apache and mod_jk.  The
 httpd.conf tells apache to server .html files and the like, while the
 workers2.properties tell tomcat to server .jsp and sevlet.  Depending on
 which is processed, says who get involved.
 
 
 On Wed, 2002-06-19 at 07:51, Turner, John wrote:
  
  Thanks for the reply, but that doesn't answer my question.  Apache doesn't
  know anything about workers.properties, only mod_jk2 does.  
  
  So, if I understand your answer, it seems that mod_jk2 has to get involved
  in every HTTP request?  Then it filters that request through
  workers.properties?  That's not desired behavior, is it?  My point was
 that
  mod_jk2 and tomcat should only be involved in requests where they're
  required.  Requests for images, HTML pages, etc should all be handled by
  apache without any intervention from mod_jk2 or tomcat.
  
  Or are those options you listed in your httpd.conf file?
  
  John Turner
  [EMAIL PROTECTED]
  http://www.aas.com



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




MOD_JK Problem ?

2002-06-20 Thread Jerry Jalenak

All,

I've been trying to get the following configuration to work.

Windows NT
Apache 2.0.39
Tomcat 4.1.3 beta

Separately, I can see the Apache default 'Welcome' by going to
http://localhost; in a similar vein I can see Tomcat's default 'Welcome' by
going to http://localhost:8080/index.jsp.  What I can't make work is seeing
Tomcat's 'Welcome' page by going to http://localhost/index.jsp (or any other
path for that matter!).  I've rebuilt the connectors for Tomcat, download
the mod_jk.dll from www.acg-gmbh.de/mod_jk, and set up my workers.properties
and mod_jk.conf files (similar to what I used under Tomcat 3.3.1 - maybe the
problem?)  Does anyone have any ideas why I can't see my JSP pages without
needing to specify the port?

Thanks in advance!

Jerry

This transmission (and any information attached to it) may be confidential and is 
intended solely for the use of the individual or entity to which it is addressed. If 
you are not the intended recipient or the person responsible for delivering the 
transmission to the intended recipient, be advised that you have received this 
transmission in error and that any use, dissemination, forwarding, printing, or 
copying of this information is strictly prohibited. If you have received this 
transmission in error, please immediately notify LabOne at (800)388-4675.



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




Re: Trouble loading properties file

2002-06-20 Thread Kiev Gama

Milt,

I was using the following:

Properties p = new Properties();
p.load(new FileInputStream(filename));

but I'll try the getServletContext().getResource(filename)

Thanks a lot!

Kiev Gama

From: Milt Epstein [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Trouble loading properties file
Date: Thu, 20 Jun 2002 16:46:24 -0500 (CDT)

On Thu, 20 Jun 2002, Kiev Gama wrote:

  Hello all,
 
  I have the Tomcat 4.0.3 installed, and I am trying to load a .properties
  file necessary to my application(which has its classes and packages in 
the
  WEB-INF/classes) but I haven't got any success in doing this.
 
  I'v already tried to put the file in the WEB-INF/classes directory of my
  application, also tried to jar it and put the jarred file in the
  WEB-INF/lib.
  None of the above worked.
 
  I wanted to make it easy to transport the whole application without 
having
  to save that .properties in a directory outside the application's
  subdirectories.
 
  Does anybody know what I have to do in order to get that to work?

Well, you don't give too much info, like where you tried putting it
(other than that one location), and how you tried loading it.  But my
understanding is that if you put a file, say, called filename,
immediately under WEB-INF/, you can get to it by doing
getServletContext().getResource(filename).

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: getSession always returns null

2002-06-20 Thread Jerry Jennings

The default behavior is to create an session if it doesn't already exist.  I tried 
both with and without the true argument with the same effect.

 [EMAIL PROTECTED] 06/20/02 12:35PM 
Hello Jerry,

don't you need to do getSession(true) in order for getSession to
return a non-null session whether one exists currently or not?

If you just call getSession(), it will return null if the current
session is null (not created yet).

Jake

Thursday, June 20, 2002, 2:17:45 PM, you wrote:

JJ I have setup Apache with Tomcat on my NetWare 6.0 server.  Everything is working 
fine (so far) except for getSession always returns null.  The Session example servlet 
as well as every test I have
JJ tried has had the same result.  Has anyone else experience this problem?  Any 
suggestions?  Thanks






-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED] 


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





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


RE: Trouble loading properties file

2002-06-20 Thread Yung, Nimchi A, ALCAS

probably you should try this:

InputStream is = getServletContext().getResourceAsStream(/WEB-INF/ +
filename);

assuming your file is put under /WEB-INF/ directory.

--Nimchi

-Original Message-
From: Kiev Gama [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 5:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Trouble loading properties file


Milt,

I was using the following:

Properties p = new Properties();
p.load(new FileInputStream(filename));

but I'll try the getServletContext().getResource(filename)

Thanks a lot!

Kiev Gama

From: Milt Epstein [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Trouble loading properties file
Date: Thu, 20 Jun 2002 16:46:24 -0500 (CDT)

On Thu, 20 Jun 2002, Kiev Gama wrote:

  Hello all,
 
  I have the Tomcat 4.0.3 installed, and I am trying to load a
.properties
  file necessary to my application(which has its classes and packages
in 
the
  WEB-INF/classes) but I haven't got any success in doing this.
 
  I'v already tried to put the file in the WEB-INF/classes directory
of my
  application, also tried to jar it and put the jarred file in the
  WEB-INF/lib.
  None of the above worked.
 
  I wanted to make it easy to transport the whole application without 
having
  to save that .properties in a directory outside the application's
  subdirectories.
 
  Does anybody know what I have to do in order to get that to work?

Well, you don't give too much info, like where you tried putting it
(other than that one location), and how you tried loading it.  But my
understanding is that if you put a file, say, called filename,
immediately under WEB-INF/, you can get to it by doing
getServletContext().getResource(filename).

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

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




Re: war file deployment problem with tomcat 4.0.3

2002-06-20 Thread anette mysel

Dear Derrick
   I am not a member of tomcat, nor do I know anything about it. I have
recieved many emails from tomcat members that have a virus attached to them.
Please do not email me again. I have emailed for them to unsubscribe me
several times, but to no avail.
 Thank you!
- Original Message -
From: Koes, Derrick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 4:26 PM
Subject: war file deployment problem with tomcat 4.0.3


 I have dropped the war file into the %CATALINA_HOME%/webapps directory.

 I run startup.bat.

 Tomcat expands my war file, but I always get:




 Apache Tomcat/4.0.3 - HTTP Status 404 - /dora

   _


 type Status report

 message /dora

 description The requested resource (/dora) is not available.





 Why is this happening?







 /**

  * Contact information.

  */

 public interface INFO

 {

 static final String NAME = Derrick Koes;

 String title = Senior Software Engineer;

 String company = Smith + Nephew Endoscopy;

 URL companyURL = new URL(

 http://www.smith-nephew.com/index-flash.html
 http://www.smith-nephew.com/index-flash.html );

 String aolIM = codeauthor2001;

 String EMAIL = [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]@smith-nephew.com ;

 String PHONE = (978) 749-1288;

 String FAX = (978) 749-1487;

 }






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




Re: war file deploys but can't reach any urls

2002-06-20 Thread anette mysel

John Turner,
I am asking you not to email me again. I am not a member of Tomcat, nor
do I know anything about it. I have recieved many emails that have a virus
attached to them. I have also emailed Tomcat to unsubscribe me to this, to
which I have never been a member.
Thank you!!
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 3:40 PM
Subject: RE: war file deploys but can't reach any urls



 Mod_jk seems to be the preferred connector over mod_webapp at the moment.

 John Turner
 [EMAIL PROTECTED]
 http://www.aas.com


 -Original Message-
 From: Koes, Derrick [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 4:14 PM
 To: 'Tomcat Users List'
 Subject: RE: war file deploys but can't reach any urls



 I was under the impression that I did not need mod_webapp unless I was
using
 Apache as the web server.  Anyway, isn't mod_jk more stable/robust than
 mod_webapp?



 -Original Message-
 From: chad kellerman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 4:01 PM
 To: Tomcat Users List
 Subject: Re: war file deploys but can't reach any urls

 How is the 404 error displayed?

 Is it displayed as actual html code in the browser or an actual blue
 backgrounded 404 error?

   If you are using mod_webapp you need:

 #WebAppDeploy name.war  conn1/webapps/name


 --chad


 On Thu June 20 2002 4:00 pm, Koes, Derrick wrote:
  I dropped my war file in the webapps directory in a tomcat 4.0.4
install.
 
  I started tomcat, and a directory is created with the contents of my war
  file.
 
  However, I cannot hit the expected url with any success.  I always get a
  404 error.
 
  Can anyone help?
 
 
 
  Thanks.
 
 
 
  /**
 
   * Contact information.
 
   */
 
  public interface INFO
 
  {
 
  static final String NAME = Derrick Koes;
 
  String title = Senior Software Engineer;
 
  String company = Smith + Nephew Endoscopy;
 
  URL companyURL = new URL(
 
  http://www.smith-nephew.com/index-flash.html
  http://www.smith-nephew.com/index-flash.html );
 
  String aolIM = codeauthor2001;
 
  String EMAIL = [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]@smith-nephew.com ;
 
  String PHONE = (978) 749-1288;
 
  String FAX = (978) 749-1487;
 
  }

 --
 Chad Kellerman
 Alabanza Inc.
 Jr. Systems Administrator
 10 E. Baltimore Street
 Baltimore, Md 21202

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



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



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




Re: war file deploys but can't reach any urls

2002-06-20 Thread anette mysel

Derrick Koes,
I am asking you not to email me again. I am not a memeber of Tomcat, nor
do I know anything about it. I have recived many emails from memebers of
Tomcat that have a virus attached to them. I have emailed Tomcat several
times to put a stop to this, but to no avail.
 Thank you!
- Original Message -
From: Koes, Derrick [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 3:20 PM
Subject: RE: war file deploys but can't reach any urls


 Apache Tomcat/4.0.3 - HTTP Status 404 - /dora

 --
--
 

 type Status report

 message /dora

 description The requested resource (/dora) is not available.


 With a blue background.


 -Original Message-
 From: chad kellerman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 4:01 PM
 To: Tomcat Users List
 Subject: Re: war file deploys but can't reach any urls

 How is the 404 error displayed?

 Is it displayed as actual html code in the browser or an actual blue
 backgrounded 404 error?

   If you are using mod_webapp you need:

 #WebAppDeploy name.war  conn1/webapps/name


 --chad


 On Thu June 20 2002 4:00 pm, Koes, Derrick wrote:
  I dropped my war file in the webapps directory in a tomcat 4.0.4
install.
 
  I started tomcat, and a directory is created with the contents of my war
  file.
 
  However, I cannot hit the expected url with any success.  I always get a
  404 error.
 
  Can anyone help?
 
 
 
  Thanks.
 
 
 
  /**
 
   * Contact information.
 
   */
 
  public interface INFO
 
  {
 
  static final String NAME = Derrick Koes;
 
  String title = Senior Software Engineer;
 
  String company = Smith + Nephew Endoscopy;
 
  URL companyURL = new URL(
 
  http://www.smith-nephew.com/index-flash.html
  http://www.smith-nephew.com/index-flash.html );
 
  String aolIM = codeauthor2001;
 
  String EMAIL = [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]@smith-nephew.com ;
 
  String PHONE = (978) 749-1288;
 
  String FAX = (978) 749-1487;
 
  }

 --
 Chad Kellerman
 Alabanza Inc.
 Jr. Systems Administrator
 10 E. Baltimore Street
 Baltimore, Md 21202

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



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




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




Re: war file deploys but can't reach any urls

2002-06-20 Thread anette mysel

Dear Chad Kellerman,
 I am not a member of Tomcat, nor do I know anything about it. I have
recieved many emails from members of Tomcat that have a virus attached to
it. I have emailed Tomcat to unsubscribed many times, to no avail. Please
stop emailing me.
 Thank you!
- Original Message -
From: chad kellerman [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 2:59 PM
Subject: Re: war file deploys but can't reach any urls


How is the 404 error displayed?

Is it displayed as actual html code in the browser or an actual blue
backgrounded 404 error?

  If you are using mod_webapp you need:

#WebAppDeploy name.war  conn1/webapps/name


--chad


On Thu June 20 2002 4:00 pm, Koes, Derrick wrote:
 I dropped my war file in the webapps directory in a tomcat 4.0.4 install.

 I started tomcat, and a directory is created with the contents of my war
 file.

 However, I cannot hit the expected url with any success.  I always get a
 404 error.

 Can anyone help?



 Thanks.



 /**

  * Contact information.

  */

 public interface INFO

 {

 static final String NAME = Derrick Koes;

 String title = Senior Software Engineer;

 String company = Smith + Nephew Endoscopy;

 URL companyURL = new URL(

 http://www.smith-nephew.com/index-flash.html
 http://www.smith-nephew.com/index-flash.html );

 String aolIM = codeauthor2001;

 String EMAIL = [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]@smith-nephew.com ;

 String PHONE = (978) 749-1288;

 String FAX = (978) 749-1487;

 }

--
Chad Kellerman
Alabanza Inc.
Jr. Systems Administrator
10 E. Baltimore Street
Baltimore, Md 21202

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



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




Re: Using JkMount with mod_jk question...

2002-06-20 Thread anette mysel

PLEASE do not email me any more. I am not a member of Tomcat,  never have
been. I have emailed them several times  asked them to remove me from their
members email list, but they have failed to do so, that is why I am asking
you to do so.
  Thank you!
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 4:16 PM
Subject: RE: Using JkMount with mod_jk question...



 Good questions, all.  It doesn't matter to me if servlet shows up in the
 URL (it matters to some people/projects) so I haven't worried about it.  I
 think using servlet is just a convention...in my projects, I usually
 prepend the application name to it.  For example, if the application is
XYZ,
 then I use XYZServlet to denote that application's servlet directory, not
 servlet.  Same goes for company names...if you have company ABC using a
 particular app, you might say ABCServlet.

 I think, if you tell apache that index.jsp is a valid starting page, you
 can just call /mydir instead of /mydir/ and have that JSP page
redirect
 wherever you want.

 John Turner
 [EMAIL PROTECTED]
 http://www.aas.com


 -Original Message-
 From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 20, 2002 5:00 PM
 To: Tomcat Users List
 Subject: RE: Using JkMount with mod_jk question...


 So I need to shut apache down, change the config and restart everytime I
 deploy a new webapp?

 OK...so I did what you said, and now I can point my browser to
 http://host/examples/ and it shows me a directory listing like
 page...which is better than I saw before.  If I do
 http://host/examples/jsp/ I get the index.html page I expect to get.
 Great!

 so I put a JkMount /myApp ajp13 in httpd.conf and if I have
 $TOMCAT_HOME/webapps/myApp.war the app will deploy and I should be able
 to visit http://host/myApp and run the app.

 One last stupid question... So what's JkMount /servlet ajp13 for in the
 examples?...I mean is /servlet specific or should there be an additional
 note for stupid guys like me who don't get that /servlet should be
 replaced with actual real servlets on your system?

 On Thu, 2002-06-20 at 16:44, Turner, John wrote:
 
  If you were using mod_jk, apache, and tomcat, and wanted to reach the
 tomcat
  examples (default install) on port 80 (instead of 8080 or whatever),
this
  would work:
 
  JkMount /examples ajp13
  JkMount /examples/* ajp13
 
  Season to taste, that is, you could easily put /path/*.jsp or some
other
  expression...it doesn't have to be /*.
 
  HTH
 
  John Turner
  [EMAIL PROTECTED]
  http://www.aas.com
 
  -Original Message-
  From: Sean M Alderman [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 20, 2002 4:38 PM
  To: Tomcat Users List
  Subject: Using JkMount with mod_jk question...
 
 
  Hi again,
 
Is there a good source to read for understanding how the JkMount
  path relates to $TOMCAT_HOME/webapps ?
 
  Everytime I put a url in that works for the standalone server, I get a
  404 when I try it via the AJP connector.
  --
  Sean M. Alderman
  ITRACK Systems Analyst
  PACE/NCI - NASA Glenn Research Center
  (216) 433-2795
 
  Calling a windowed operating system Windows is like naming an
  automobile Wheels.
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 --
 Sean M. Alderman
 ITRACK Systems Analyst
 PACE/NCI - NASA Glenn Research Center
 (216) 433-2795

 Calling a windowed operating system Windows is like naming an
 automobile Wheels.

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



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




Re: Trouble loading properties file

2002-06-20 Thread anette mysel

Please stop emailing me. I am not a member of Tomcat, nor do I know anything
about it. I have never been a member of them I have emailed them several
times asking them to remove me from their member email member list, but they
have failed to do so. I am asking you to stop. Some of the emails I have
recived have had a virus attached to them.
 Thank you!
- Original Message -
From: Kiev Gama [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 4:27 PM
Subject: Trouble loading properties file


 Hello all,

 I have the Tomcat 4.0.3 installed, and I am trying to load a .properties
 file necessary to my application(which has its classes and packages in the
 WEB-INF/classes) but I haven't got any success in doing this.

 I'v already tried to put the file in the WEB-INF/classes directory of my
 application, also tried to jar it and put the jarred file in the
 WEB-INF/lib.
 None of the above worked.

 I wanted to make it easy to transport the whole application without having
 to save that .properties in a directory outside the application's
 subdirectories.

 Does anybody know what I have to do in order to get that to work?

 Thanks,

 Kiev Gama

 _
 Join the world's largest e-mail service with MSN Hotmail.
 http://www.hotmail.com


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



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




Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-20 Thread anette mysel

Dear Victor,
   I am not a member of Tomcat, nor do I know anything about them. I have
emailed them several times to remove me from their member mailing list, but
they have failed to do so. I have recieved many emails that have a virus
attached to them. Please stop emailing me.
  Thank you!
- Original Message -
From: Victor Popiol [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 5:19 PM
Subject: RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta


I installed Tomcat 4.1.3 beta. Took a while to configure because the hidden
issue with the user vs username parameter in the datasource definition.

After it has been running for a day, it died. Looking at the logs I found
the following:

java.lang.OutOfMemoryError
no stack trace available
java.lang.OutOfMemoryError
no stack trace available
java.lang.OutOfMemoryError
no stack trace available
java.lang.OutOfMemoryError
no stack trace available

Any idea of components leaking memory?

Thanks
Victor

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 10:08 AM
To: Tomcat Users List
Subject: RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta


Howdy,
I know you already solved the problem (was userid).

As an aside, it's a bad idea to unpack 3rd party jars.  You probably
want to rename classes12.zip to classes12.jar so tomcat will pick it up.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Victor Popiol [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 4:24 AM
To: Tomcat Users List
Subject: RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

Hi. I installed Tomcat 4.1.3 and deployed my application. But I
consistently get en error trying to connect to our database. This error
only happens in Tomcat 4.1.3.

The database is Oracle 8.1.7 and I expanded the classes from the
classes12.zip JDBC distributable (as I had done on Tomcat 4.03).

The error happens when trying to open the connection. To isolate the
issue,
I wrote a small jsp page that exercise the data source to get the
conection. Here it is:

%@ page contentType=text/html
import=javax.naming.*,java.sql.*,javax.sql.* %
html
body
%
 System.out.println(StartingBR);
 Context initCtx = new InitialContext();
 Context envCtx = (Context) initCtx.lookup(java:comp/env);
 DataSource ds = (DataSource)
   envCtx.lookup(jdbc/duwi);
 if (ds != null) {
 System.out.println(Data Source is not nullBR);
 Connection conn = ds.getConnection();
 conn.close();
 }
%
Ready!
/body
/html

The execution of this jsp throwas the following exception:

org.apache.jasper.JasperException
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
232)
 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289
)
 at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
nFilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
hain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
ava:260)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
ava:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
49)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
0)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
.java:170)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:644)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
1)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:644)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
a:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:646)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
483)
 at

Re: Sending url in querystring

2002-06-20 Thread anette mysel

Please stop emailing me. i am not a member of tomcat, nor do I know anything
about them. I have emailed them several time to ask them to remove me from
their member mailing list, but they have failed to do so. I have recieved
many emails from tomcat members that have had a virus attached to them.
Please stop emailing me.
   Thank you!
- Original Message -
From: Brian Freeman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 2:49 PM
Subject: Sending url in querystring


I have an application written on tomcat 3.2.3.  A majority of the pages pass
fully qualified url's as parameter values on the querystring (ex.
testpage.jsp?pageName=http://www.someserver.com/test.jsp).  This all worked
fine in tomcat 3.2.3.  However, since I've upgraded to tomcat 4.0.3, this no
longer works.  I have read some posts in various newsgroups suggesting
methods such as URLEncoding the pagename, and although this may work, it
would consist of a sizable effort (there are around 70 pages that would have
to be updated).  Before I tackle this, I was hoping somebody might know of a
way to get tomcat 4.0.3 to allow urls's (particularly the // portion of
the string) to pass through a querystring without having to urlencode or any
other method that would alter the text.  Are there any special server
settings or propery files I could alter?  Any java files from the tomcat
source I could mofify?


Brian Freeman



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




  1   2   >