RE: Upgrading tomcat

2001-07-26 Thread Tia Haenni

Exactly! I know I need to upgrade from 3.2.1. I heard 3.3.2 fixed some
security issues. Just when I got things running smoothly with 3.2.1.here
we go again! Maybe 3.3 or 4.0 will go smoother.

-Original Message-
From: Charles Baker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 6:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading tomcat


Another question, do apps developed under the 3.2.x (
jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
the newer servlet/jsp specs?

--- John Hebert [EMAIL PROTECTED] wrote:
 Tia Haenni wrote:

  Has anyone gone from 3.2.1 up to 3.3? Does it
 require a complete uninstall
  of previous versions? Is it best to go with 3.3 or
 wait for 4.0? Thanks,


 On a Linux box, an uninstall is not needed. I assume
 it is the same on
 an MS-Windows box. The different versions of Tomcat
 are simply installed
 parallel to each other. You do have to shutdown the
 old install, as the
 new install will try to use the same port numbers
 (8007, 8009, 8080, etc).


 --
 John Alex Hebert
 [EMAIL PROTECTED]
 System Engineer


=
-
[EMAIL PROTECTED]
Hacking is a Good Thing!
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/




RE: Query

2001-07-26 Thread Gautam Sinha
Title: Query









Since you
have posted this to the tomcat-user mailing list, I assume you have a copy of
tomcat.

The class
that you mention (it is not a package) is contained in servlet.jar contained in
tomcat_home/lib.



Gautam





-Original
Message-
From: Swapan Kumar Chakraborty
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001
9:02 PM
To: [EMAIL PROTECTED]
Subject: Query



Can u please help me to
know from where do I download the following package 
javax.servlet.jsp.tagext.Tag 

Regards, 
Ravinder Kaur 

___NOTICE

This electronic mail transmission contains
confidential information intended only for the person(s) named. Any use,
distribution, copying or disclosure by any other person is strictly prohibited.
If you received this transmission in error, please notify the sender by reply
e-mail and then destroy the message. Opinions, conclusions, and other
information in this message that do not relate to the official business of NIIT
shall be understood to be neither given nor endorsed by NIIT When addressed to
NIIT clients, any information contained in this e-mail is subject to the terms
and conditions in the governing client contract.








Re: Can Tomcat Host EAR Files and update them automatically whenthey are changed ?

2001-07-26 Thread Dmitri Colebatch

Tomcat does support reloading of JSPs.  It does not (AFAIK) support
reloading of beans and other support classes.  

However, having said that I see the subject as EAR files, which would be
handled by an EJB container (JBoss?).  In that situation it would be up to
the container I think as to how to deal with it...???  JBoss watches the
.ear/.war file for updates, I'm not sure what happens when you point its
deployer at an existing directory structure - my understanding was it
watched ejb-jar.xml files, which obviously isn't directly relevant to
servlets and tomcat, although I'm guessing it can also watch an
web.xml.  Anyway, this is all getting off topic, if this is what you're
interested in it might be better handled on the jboss (or relevant app
server) list.

cheers
dim

On Thu, 26 Jul 2001, Henry Yeh wrote:

 
 Since tomcat doesn't support auto-reloading of non-servlet 
 files (e.g. JSP files), I am finding it hard to just have
 the servlets updated but not the jsp files in the application
 that I developed. I would always get Classcast exceptions.
 Anyone has any inputs !? I really appreciate it. Thanks.
 
 -- Auri
 




Re: Upgrading tomcat

2001-07-26 Thread Craig R. McClanahan



On Thu, 26 Jul 2001, Charles Baker wrote:

 Another question, do apps developed under the 3.2.x (
 jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
 the newer servlet/jsp specs?
 

The servlet 2.3 and JSP 1.2 specs *require* backwards compatibility, even
to the point of requiring 2.3/1.2 containers to recognize valid 2.2/1.1
deployment descriptors and tag libraries.  In addition, no
non-backwards-compatible API changes were made.

Therefore, as long as your app does not rely on:

* Non-spec features of Tomcat 3.2 that are different in
  Tomcat 4.0.

* Areas where the 2.2/1.1 specs were silent and the 2.3/1.2
  specs have created some specific behavior that is different
  than what Tomcat 3.2 did.

* Bugs in Tomcat 3.2.

then you should be fine.  In practice, I have found *very* few cases where
I bumped into any of these issues.  Just as one simple example of this,
all of the web applications shipped with Struts
http://jakarta.apache.org/struts/ run just fine under both 3.2 and 4.0.

Craig McClanahan




Re: Can Tomcat Host EAR Files and update them automatically whenthey are changed ?

2001-07-26 Thread Craig R. McClanahan



On Thu, 26 Jul 2001, Henry Yeh wrote:

 
 Since tomcat doesn't support auto-reloading of non-servlet 
 files (e.g. JSP files), I am finding it hard to just have
 the servlets updated but not the jsp files in the application
 that I developed. I would always get Classcast exceptions.
 Anyone has any inputs !? I really appreciate it. Thanks.
 

Which version of Tomcat are you speaking of?  Tomcat 4.0-b6 supports both
auto-reloading on changes to non-servlet classes *and* recognizes JSP file
changes as well.  If you still encounter ClassCastException errors with
4.0-b6, please report them to the bug tracking system (with a test case if
possible):

  http://nagoya.apache.org/bugzilla/

 -- Auri
 

Craig McClanahan





RE: Upgrading tomcat

2001-07-26 Thread Tia Haenni

Well, then, what am I waiting for? Thanks for the input.

Tia

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 6:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading tomcat




On Thu, 26 Jul 2001, Charles Baker wrote:

 Another question, do apps developed under the 3.2.x (
 jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
 the newer servlet/jsp specs?
 

The servlet 2.3 and JSP 1.2 specs *require* backwards compatibility, even
to the point of requiring 2.3/1.2 containers to recognize valid 2.2/1.1
deployment descriptors and tag libraries.  In addition, no
non-backwards-compatible API changes were made.

Therefore, as long as your app does not rely on:

* Non-spec features of Tomcat 3.2 that are different in
  Tomcat 4.0.

* Areas where the 2.2/1.1 specs were silent and the 2.3/1.2
  specs have created some specific behavior that is different
  than what Tomcat 3.2 did.

* Bugs in Tomcat 3.2.

then you should be fine.  In practice, I have found *very* few cases where
I bumped into any of these issues.  Just as one simple example of this,
all of the web applications shipped with Struts
http://jakarta.apache.org/struts/ run just fine under both 3.2 and 4.0.

Craig McClanahan




tomcat try to connect sun's website

2001-07-26 Thread Leigh Wanstead

Version: JBoss 2.2.2  Tomcat 3.2.2
JDK: 1.3.1

I found that Tomcat tried to connect to sun's website. Anyone have any
ideas?

Thanks in advance.

Best Regards
Leigh





Re: tomcat try to connect sun's website

2001-07-26 Thread Pier P. Fumagalli

Leigh Wanstead at [EMAIL PROTECTED] wrote:

 Version: JBoss 2.2.2  Tomcat 3.2.2
 JDK: 1.3.1
 
 I found that Tomcat tried to connect to sun's website. Anyone have any
 ideas?
 
 Thanks in advance.

 What kind of connection? Got any record of anything?

Pier




RE: tomcat try to connect sun's website

2001-07-26 Thread Leigh Wanstead

Connection around 2M bytes/second.

I found this by Internet broke down, and JBoss seems start up tried to
connect sun's website. I reverse back both one version JBoss 2.2.1  Tomcat
3.2.1, and everything work fine, my colleague tried JBoss with Jetty, still
fine. So I guess that Tomcat is the cause.

Because now internet is working, so I can not duplicate the situation.

Best Regards
Leigh

-Original Message-
From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]]
Sent: Friday, 27 July 2001 2:36 p.m.
To: [EMAIL PROTECTED]
Subject: Re: tomcat try to connect sun's website


Leigh Wanstead at [EMAIL PROTECTED] wrote:

 Version: JBoss 2.2.2  Tomcat 3.2.2
 JDK: 1.3.1

 I found that Tomcat tried to connect to sun's website. Anyone have any
 ideas?

 Thanks in advance.

 What kind of connection? Got any record of anything?

Pier





Re: tomcat try to connect sun's website

2001-07-26 Thread Pier P. Fumagalli

Leigh Wanstead at [EMAIL PROTECTED] wrote:

 Connection around 2M bytes/second.
 
 I found this by Internet broke down, and JBoss seems start up tried to
 connect sun's website. I reverse back both one version JBoss 2.2.1  Tomcat
 3.2.1, and everything work fine, my colleague tried JBoss with Jetty, still
 fine. So I guess that Tomcat is the cause.
 
 Because now internet is working, so I can not duplicate the situation.

Could it be just a DNS query? Or is it more likely a TCP connection?

Pier




Re: tomcat try to connect sun's website

2001-07-26 Thread Dmitri Colebatch

The most likely culprit is a DTD... look at the web.xml files and their
DTD references.

cheers
dim

On Fri, 27 Jul 2001, Leigh Wanstead wrote:

 Version: JBoss 2.2.2  Tomcat 3.2.2
 JDK: 1.3.1
 
 I found that Tomcat tried to connect to sun's website. Anyone have any
 ideas?
 
 Thanks in advance.
 
 Best Regards
 Leigh
 
 
 




Re: tomcat try to connect sun's website

2001-07-26 Thread Pier P. Fumagalli

Yeah... That was what I thought too... But I don't quite get why, if the
PUBLIC ID of the DTD is known, there is a connection to sun, where the DTD
resides (it's SYSTEM ID)...

Pier


Dmitri Colebatch at [EMAIL PROTECTED] wrote:
 
 The most likely culprit is a DTD... look at the web.xml files and their
 DTD references.
 
 cheers
 dim
 
 On Fri, 27 Jul 2001, Leigh Wanstead wrote:
 
 Version: JBoss 2.2.2  Tomcat 3.2.2
 JDK: 1.3.1
 
 I found that Tomcat tried to connect to sun's website. Anyone have any
 ideas?
 
 Thanks in advance.
 
 Best Regards
 Leigh
 
 
 




jakarta-IIS-how to question

2001-07-26 Thread Charlie French



I've been looking through all the 
documentation and pretty much have IIS working with tomcat. The ISAPI 
redirector works, but I'm confused about one thing..

if IIS is sending only .JSP files to 
tomcat, does tomcat still use the same directories to look for java files? 
(ie WEB-INF/classes), and should that directory be a branch-out from where my 
JSP file is or should it be in tomcat.. ?

what I have now is
C:\Server\something.jsp
C:\Server\WEB-INF\classes\MyJavaClass.class

but the JSP can't find it.. any 
suggestions?.. I saw a lot of info in the docs on topics near this, but nothing 
specifically on this.. I'd assume lots of people would want to set it up where 
they have C:\Server and C:\Server\classes as the class directory.. I wasn't sure 
exactly how to get there.

any help greatly 
appreciated

Thanks,
Charlie



Re: tomcat try to connect sun's website

2001-07-26 Thread Dmitri Colebatch

Pier,

I'm not quite sure I understand your query.  Leigh's first query was
asking why Tomcat is trying to connect to Sun.  As you say, its because
the web.xml DOCTYPE uses a PUBLIC reference (as opposed to a SYSTEM
ref).  So Tomcat (or more specifically the XML parser) is connecting to
Sun to get the DTD?

I suppose what you're asking is more focussed on the PUBLIC ID... all that
is (as I understand it) is a key for a cache of DTDs.  So the first time
the parser needs the DTD it connects to the system location of the dtd and
downloads it...

am I dribbling on for no good reason (o:  From what you said you seemed to
have a pretty good grasp on it... anyway, 

cheesr
dim

On Fri, 27 Jul 2001, Pier P. Fumagalli wrote:

 Yeah... That was what I thought too... But I don't quite get why, if the
 PUBLIC ID of the DTD is known, there is a connection to sun, where the DTD
 resides (it's SYSTEM ID)...
 
 Pier
 
 
 Dmitri Colebatch at [EMAIL PROTECTED] wrote:
  
  The most likely culprit is a DTD... look at the web.xml files and their
  DTD references.
  
  cheers
  dim
  
  On Fri, 27 Jul 2001, Leigh Wanstead wrote:
  
  Version: JBoss 2.2.2  Tomcat 3.2.2
  JDK: 1.3.1
  
  I found that Tomcat tried to connect to sun's website. Anyone have any
  ideas?
  
  Thanks in advance.
  
  Best Regards
  Leigh
  
  
  
 
 




Forbidden error, you are unable to access /examples from this server: please help, very urgent

2001-07-26 Thread raghu




black holes are,
when GOD is dividing by zero
- Original Message -
From: raghu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 6:45 PM
Subject: Re: Forbidden error, you are unable to access /examples from this
server: please help, very urgent


 Hi all,
 I checked my apache htdocs and saw that all files do have the readme
 permissions.
 My mod_jk.log looks like this,  i think the error lies here.  Please check
 and suggest some solutions.

 --
--
 


  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter
  [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL parameter


 black holes are,
 when GOD is dividing by zero
 - Original Message -
 From: David Smith [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, July 26, 2001 6:37 PM
 Subject: Re: Forbidden error, you are unable to access /examples from this
 server: please help, very urgent


 Just a thought on this thread and I've been guilty of this one as well,
but
 you might also want to check directory and file permissions.  If the user
 apache is running under does not have at least read permissions, the whole
 thing will fail regardless of settings in any .conf file.

 On Thursday 26 July 2001 01:28 am, you wrote:
  hey,
  can anyone give nme their compiled binary of mod_jk.so for apache
1.3.11.
  I am running tomcat 3.2.2
 
 
  black holes are,
  when GOD is dividing by zero
- Original Message -
From: Senthil Kumar Rajamanickam
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 6:11 PM
Subject: RE: Forbidden error, you are unable to access /examples from
  this server: please help, very urgent
 
 
With the info.. I could not think of any specific reasons which might
  stop you to set this up..
 
just try going through following tasks..
 
1. ref. to mod_jk how to manual which you have got along with tomcat,
 and
  set up your mod_jk with apache ( you have to mount mod_jk in apache like
  this (hey, are u doing your own mod_jk .dll file from source?if that is
 the
  case check your source for any possible error which can be induced in
the
  source??)
 
include  /jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto
( I would recommend using conf-auto file, so that your tomcat will
give
  all the details)
 
2.check your apache and tomcat. (just test run your example servlet
via
  apache) If your example application works fine..
 
Go ahead and mount a alias directory and try calling jet speed.
in case you get some error, check them in apache log and tomcat log
for
  error details, (I think that should help you solve the error)
 
let me know what is the error you are getting...So that I can try to
get
  to the core issue.
 
Also note, if you are using winNT, check for environment variables
  setting too for tomcat_home, Apache_home and java_home settings, since
in
  your tomcat configuration files, it picks up directory details calling
 this
  environment variables.
 
Note, check if your tools.jar file is accessible by your system(it
 should
  be in system path)
 
Hope this helps..
Cheers
Senthil Kumar.R
 
 
  -Original Message-
  From: raghu [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 25, 2001 5:27 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Forbidden error, you are unable to access /examples
from
  this server: please help, veryurgent
 
 
  i did as u said, but still i am getting the same error.  I now doubt
 if
  

Re: tomcat try to connect sun's website

2001-07-26 Thread leigh

Thanks for your hint.

I checked my web.xml inside war file, and found that token. I changed 
that to some other not existing address. And JBoss deploy that ear error. 
I can not simulate internet down. But by this way, I learn something 
which I should backup.

Best Regards
Leigh



-Original Message-
From: Pier P. Fumagalli [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 27 Jul 2001 04:10:59 +0100
Subject: Re: tomcat try to connect sun's website

 Yeah... That was what I thought too... But I don't quite get why, if
 the
 PUBLIC ID of the DTD is known, there is a connection to sun, where the
 DTD
 resides (it's SYSTEM ID)...
 
 Pier
 
 
 Dmitri Colebatch at [EMAIL PROTECTED] wrote:
  
  The most likely culprit is a DTD... look at the web.xml files and
 their
  DTD references.
  
  cheers
  dim
  
  On Fri, 27 Jul 2001, Leigh Wanstead wrote:
  
  Version: JBoss 2.2.2  Tomcat 3.2.2
  JDK: 1.3.1
  
  I found that Tomcat tried to connect to sun's website. Anyone have
 any
  ideas?
  
  Thanks in advance.
  
  Best Regards
  Leigh
  
  
  
 





Patch for Jakarta-Tomcat 3.2.3 - please send me

2001-07-26 Thread Henry Yeh


hi does anyone have this patch ? I can't seem
to find this in the archives. Can someone please
send it to me ? Thanks !

Henry



Re: tomcat try to connect sun's website

2001-07-26 Thread Gregor Kovaè

Hi!

I got the same problem while working with NetBeans. NEtBeans uses XML a lot 
and also had DTD references to other sites on the Internet. Every time I 
wanted to start NetBeans up it wanted to connect to some internet site.
You are probably using IBM's JDK, right?
Just rename or delete %JAVA_HOME%/jre/lib/ext directory. It worked for me.
IBM's JDK has an XML parser integrated into JDK and this parser is the 
problem.

I hope this helps.
Best regards,
 Kovi


Yeah... That was what I thought too... But I don't quite get why, if the
PUBLIC ID of the DTD is known, there is a connection to sun, where the DTD
resides (it's SYSTEM ID)...

 Pier


Dmitri Colebatch at [EMAIL PROTECTED] wrote:
 
  The most likely culprit is a DTD... look at the web.xml files and their
  DTD references.
 
  cheers
  dim
 
  On Fri, 27 Jul 2001, Leigh Wanstead wrote:
 
  Version: JBoss 2.2.2  Tomcat 3.2.2
  JDK: 1.3.1
 
  I found that Tomcat tried to connect to sun's website. Anyone have any
  ideas?
 
  Thanks in advance.
 
  Best Regards
  Leigh
 
 
 




<    1   2