AW: possibly stupid question

2005-03-30 Thread Bernhard Slominski
Hi,

we use this instructions to log to a file. Sounds a bit complicated, but
should work:

Follow the following steps to setup a file named tomcat.log that has
internal Tomcat logging output to it:
   1. Create a file called log4j.properties with the following content and
save it into common/classes.
   2.
log4j.rootLogger=warn, R 
log4j.appender.R=org.apache.log4j.RollingFileAppender 
log4j.appender.R.File=${catalina.home}/logs/tomcat.log 
log4j.appender.R.MaxFileSize=10MB 
log4j.appender.R.MaxBackupIndex=10 
log4j.appender.R.layout=org.apache.log4j.PatternLayout 
log4j.appender.R.layout.ConversionPattern= ?p  ?t  ?c -  ?m?n 
log4j.logger.org.apache.catalina=DEBUG, R
   3. The log4j.jar and commons-loggin.jar will be put into your
$CATALINA_HOME/common/lib when you get the latest version of the
website_config libs (towards the end of this setup).
   4. Install Commons Logging and place the commons-logging.jar (not
commons-logging-api.jar) in $CATALINA_HOME/common/lib with the log4j jar.
   5. Start Tomcat
This log4j configuration sets up a file called tomcat.log in your Tomcat
logs folder with a maximum file size of 10MB and up to 10 backups. DEBUG
level is specified which will result in the most verbose output from Tomcat.


> -Ursprüngliche Nachricht-
> Von: news [mailto:[EMAIL PROTECTED] Auftrag von teknokrat
> Gesendet: Mittwoch, 30. März 2005 11:54
> An: tomcat-user@jakarta.apache.org
> Betreff: possibly stupid question
> 
> 
> I am running tomcat 5.5 on windows XP. There is no catalina.out file 
> being produced. Is this usual? How do i get a file of of everything 
> going to stdout?
> 
> thanks
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



Re: possibly stupid question

2005-03-30 Thread teknokrat
cheers, that clears that up
David Causse wrote:
teknokrat wrote:
No, I am running it using startup.bat though I have tries catalina.bat 
start too. I am not seeing any log file output for anything that 
writes to stdout.

Hi Teknokrat,
it's normal, the stdout is on the win32 console, you have to redirect 
yourself stdout if you want to have a log file or start tomcat as a 
service.

Hope it helps,
David.

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


Re: possibly stupid question

2005-03-30 Thread David Causse
teknokrat wrote:
No, I am running it using startup.bat though I have tries catalina.bat 
start too. I am not seeing any log file output for anything that 
writes to stdout.
Hi Teknokrat,
it's normal, the stdout is on the win32 console, you have to redirect 
yourself stdout if you want to have a log file or start tomcat as a service.

Hope it helps,
David.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: possibly stupid question

2005-03-30 Thread teknokrat
No, I am running it using startup.bat though I have tries catalina.bat 
start too. I am not seeing any log file output for anything that writes 
to stdout.

Dale, Matt wrote:
Are you running it as a service? If so you may find that the output is going to 
stdout.log
Ta
Matt
-Original Message-
From: teknokrat [mailto:[EMAIL PROTECTED]
Sent: 30 March 2005 10:54
To: tomcat-user@jakarta.apache.org
Subject: possibly stupid question
I am running tomcat 5.5 on windows XP. There is no catalina.out file 
being produced. Is this usual? How do i get a file of of everything 
going to stdout?

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

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


RE: possibly stupid question

2005-03-30 Thread Dale, Matt

Are you running it as a service? If so you may find that the output is going to 
stdout.log

Ta
Matt

-Original Message-
From: teknokrat [mailto:[EMAIL PROTECTED]
Sent: 30 March 2005 10:54
To: tomcat-user@jakarta.apache.org
Subject: possibly stupid question


I am running tomcat 5.5 on windows XP. There is no catalina.out file 
being produced. Is this usual? How do i get a file of of everything 
going to stdout?

thanks


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


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



possibly stupid question

2005-03-30 Thread teknokrat
I am running tomcat 5.5 on windows XP. There is no catalina.out file 
being produced. Is this usual? How do i get a file of of everything 
going to stdout?

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


RE: extraordinarily stupid question

2004-10-29 Thread Shapira, Yoav

Hi,
As to the latter part of your question, you can declare any context to
have path="" (the empty string) and it will be served at the root
address.  You would need to remove the ROOT webapp that ships with
tomcat first.

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: joon yoo [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 29, 2004 11:45 AM
>To: [EMAIL PROTECTED]
>Subject: extraordinarily stupid question
>
>After I install tomcat 5.0, the tomcat management page is on
>http://tomcat:8080
>
>How can this management page be obscured/moved to a different url and
>then, how can a redirector to http://tomcat:8080/application be put in
>for that root address?
>
>Thanks for any help,
>
>joon
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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


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



Re: extraordinarily stupid question

2004-10-29 Thread Andrew Miehs
mv $TOMCAT_HOME/server/webapps/manager 
$TOMCAT_HOME/server/webapps/newmanager

On 29.10.2004, at 17:45, joon yoo wrote:
After I install tomcat 5.0, the tomcat management page is on 
http://tomcat:8080

How can this management page be obscured/moved to a different url and
then, how can a redirector to http://tomcat:8080/application be put in
for that root address?
Thanks for any help,
joon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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


extraordinarily stupid question

2004-10-29 Thread joon yoo
After I install tomcat 5.0, the tomcat management page is on http://tomcat:8080

How can this management page be obscured/moved to a different url and
then, how can a redirector to http://tomcat:8080/application be put in
for that root address?

Thanks for any help,

joon

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



Re: I know this is a stupid question

2004-03-31 Thread Douglas Hodgeman
  Please delete my name from your list.  I don't know how you got my email
but I am not part of this group whatever it is


  - Original Message - 
  From: "Donald Lee" <[EMAIL PROTECTED]>
  To: <[EMAIL PROTECTED]>
  Sent: Wednesday, March 31, 2004 7:16 PM
  Subject: RE: I know this is a stupid question


  > yea I thought of this but I really don't have anything going on with
this
  > PC.  I went to work and installed to a freshly installed windows 2000
server
  > with no IIS no nothing.  Still the same behavior.  This is bare bonez
  > install by the book.  Installed version 4 and things work fine.  I can't
  > believe I could be the only one experiencing this, but no big deal I
have
  > things running good on version 4.  I will just wait until ver 5 becomes
more
  > commonplace and enough people have experience with it and can help.
  > Thanks for all the suggestions.
  >
  >
  >
  > >From: "Schalk" <[EMAIL PROTECTED]>
  > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
  > >To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
  > >Subject: RE: I know this is a stupid question
  > >Date: Mon, 29 Mar 2004 12:23:47 +0200
  > >
  > >I am just throwing this idea out there, maybe it helps maybe it does
not.
  > >Have you tried using Windows search and search for all index.jsp files
on
  > >your hard drive? I know this will probably return a lot of results but
  > >perhaps scanning over them you may find an index.jsp that looks
suspicious.
  > >
  > >HTH!
  > >
  > >Kind Regards
  > >Schalk Neethling
  > >Web Developer.Designer.Programmer.President
  > >Volume4.Development.Multimedia.Branding
  > >emotionalize.conceptualize.visualize.realize
  > >Tel: +27125468436
  > >Fax: +27125468436
  > >email:[EMAIL PROTECTED]
  > >web: www.volume4.com
  > >
  > >This message contains information that is considered to be sensitive or
  > >confidential and may not be forwarded or disclosed to any other party
  > >without the permission of the sender. If you received this message in
  > >error,
  > >please notify me immediately so that I can correct and delete the
original
  > >email. Thank you.
  > >
  > >:: -Original Message-
  > >:: From: Donald Lee [mailto:[EMAIL PROTECTED]
  > >:: Sent: Monday, March 29, 2004 4:50 AM
  > >:: To: [EMAIL PROTECTED]
  > >:: Subject: Re: I know this is a stupid question
  > >::
  > >:: Yes I did do all of this ( i may be newbie to tomcat but not that
new to
  > >:: web/application servers).  I tetsted this using both MSIE and
Mozilla
  > >:: Firefox.  I also do not experience the problem with my "test.jsp"
that I
  > >:: placed in the webapps\ROOT folder.  This seems to be isolated to
only
  > >the
  > >:: index.jsp.  I noticed in the WEB_INF\web.xml file designates servlet
  > >:: mappings are being made to match up index_jsp.class with "index.jsp"
  > >Since
  > >:: I am not re-compiling anything I can only assume that no matter what
  > >change
  > >:: I make to index.jsp it will continue to read the index_jsp.class
file
  > >:: instead.  I plan to experiment with the web.xml and see if this
resolves
  > >the
  > >:: issue.  This is version 5 of tomcat I am talking about, more
  > >specifically
  > >:: the windows install version.
  > >:: Thanks
  > >:: Don
  > >::
  > >::
  > >::
  > >:: >From: "Bryan K. Cantwell" <[EMAIL PROTECTED]>
  > >:: >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
  > >:: >To: "Tomcat Users List" <[EMAIL PROTECTED]>
  > >:: >Subject: Re: I know this is a stupid question
  > >:: >Date: Sun, 28 Mar 2004 19:00:12 -0600
  > >:: >
  > >:: >If you are still seeing a page that litterally does not exist, then
you
  > >ARE
  > >:: >looking at a cached version of the page. Stop Tomcat, in Internet
  > >Exploder
  > >:: >click tools->internet options->settings->every visit to the page
and
  > >set
  > >:: >amount os disk space to the min (1MB) and ok. then click delete
files
  > >under
  > >:: >temp internet files... this will clear up the phantom page. then
make
  > >sure
  > >:: >u
  > >:: >go to /work and delete everything inside there. Then
start
  > >:: >tomcat back up ...
  > >:: >
  > >:: >bryancan
  > >:: >
  > >:: >- Original Message -
  > >:: >From: "Donald Lee" <[EMAIL PROT

RE: I know this is a stupid question

2004-03-31 Thread Donald Lee
yea I thought of this but I really don't have anything going on with this 
PC.  I went to work and installed to a freshly installed windows 2000 server 
with no IIS no nothing.  Still the same behavior.  This is bare bonez 
install by the book.  Installed version 4 and things work fine.  I can't 
believe I could be the only one experiencing this, but no big deal I have 
things running good on version 4.  I will just wait until ver 5 becomes more 
commonplace and enough people have experience with it and can help.
Thanks for all the suggestions.



From: "Schalk" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: RE: I know this is a stupid question
Date: Mon, 29 Mar 2004 12:23:47 +0200
I am just throwing this idea out there, maybe it helps maybe it does not.
Have you tried using Windows search and search for all index.jsp files on
your hard drive? I know this will probably return a lot of results but
perhaps scanning over them you may find an index.jsp that looks suspicious.
HTH!

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in 
error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

:: -Original Message-
:: From: Donald Lee [mailto:[EMAIL PROTECTED]
:: Sent: Monday, March 29, 2004 4:50 AM
:: To: [EMAIL PROTECTED]
:: Subject: Re: I know this is a stupid question
::
:: Yes I did do all of this ( i may be newbie to tomcat but not that new to
:: web/application servers).  I tetsted this using both MSIE and Mozilla
:: Firefox.  I also do not experience the problem with my "test.jsp" that I
:: placed in the webapps\ROOT folder.  This seems to be isolated to only 
the
:: index.jsp.  I noticed in the WEB_INF\web.xml file designates servlet
:: mappings are being made to match up index_jsp.class with "index.jsp"
Since
:: I am not re-compiling anything I can only assume that no matter what
change
:: I make to index.jsp it will continue to read the index_jsp.class file
:: instead.  I plan to experiment with the web.xml and see if this resolves
the
:: issue.  This is version 5 of tomcat I am talking about, more 
specifically
:: the windows install version.
:: Thanks
:: Don
::
::
::
:: >From: "Bryan K. Cantwell" <[EMAIL PROTECTED]>
:: >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
:: >To: "Tomcat Users List" <[EMAIL PROTECTED]>
:: >Subject: Re: I know this is a stupid question
:: >Date: Sun, 28 Mar 2004 19:00:12 -0600
:: >
:: >If you are still seeing a page that litterally does not exist, then you
ARE
:: >looking at a cached version of the page. Stop Tomcat, in Internet
Exploder
:: >click tools->internet options->settings->every visit to the page and 
set
:: >amount os disk space to the min (1MB) and ok. then click delete files
under
:: >temp internet files... this will clear up the phantom page. then make
sure
:: >u
:: >go to /work and delete everything inside there. Then start
:: >tomcat back up ...
:: >
:: >bryancan
:: >
:: >- Original Message -
:: >From: "Donald Lee" <[EMAIL PROTECTED]>
:: >To: <[EMAIL PROTECTED]>
:: >Sent: Sunday, March 28, 2004 2:52 PM
:: >Subject: Re: I know this is a stupid question
:: >
:: >
:: > > Yes, I did clear my work directory.  No diff.  The index.jsp just
would
:: >not
:: > > change or even go away despite my deleting it.
:: > >
:: > >
:: > > >From: Antonio Fiol Bonnín <[EMAIL PROTECTED]>
:: > > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
:: > > >To: Tomcat Users List <[EMAIL PROTECTED]>
:: > > >Subject: Re: I know this is a stupid question
:: > > >Date: Sun, 28 Mar 2004 10:19:04 +0200
:: > > >
:: > > >Hi Don,
:: > > >
:: > > >As Bryan already told you, you should clear the work directory of
:: >already
:: > > >compiled versions.
:: > > >
:: > > >Antonio
:: > > >
:: > > >Donald Lee wrote:
:: > > >
:: > > >>I have since downloaded version 4.1.30 and am not experiencing 
this
:: > > >>problem.  I have noticed that there are fewer sub-directories 
under
:: >the
:: > > >>WEB-INF.  This leads me to believe that the jsp's were 
pre-compiled
in
:: > > >>version 5 and runni

AW: I know this is a stupid question

2004-03-29 Thread Torsten Fohrer
Simply look at the ROOT/WEB-INF/web.xml

All webapps are precompiled.

;-)

Cu Fohrer

> -Ursprüngliche Nachricht-
> Von: Donald Lee [mailto:[EMAIL PROTECTED] 
> Gesendet: Sonntag, 28. März 2004 04:59
> An: [EMAIL PROTECTED]
> Betreff: Re: I know this is a stupid question
> 
> 
> Yes I turned off caching I even deleted the index.jsp and stopped and 
> started tomcat.  I still get the "Congratulations!"
> I can do this without specifying the index.jsp and if I 
> specify it.  I know 
> I am looking in the right folder because like I said, I can 
> run a test.jsp 
> just fine and even update it without cycling tomcat.  This is 
> version 5.0.19 
> windows installation.  It runs as a service.  I installed the 
> jk2 connector 
> but right now IIS is turned off and I am not using it.
> Thanks
> Don
> 
> 
> 
> 
> >From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat 
> >Users
> >List" Subject: Re: I know this is a stupid question Date: 
> Sat, 27 Mar 2004 
> >19:34:55 -0600
> >
> >Is your browser chacheing? turn it off. clear the work directory of 
> >already
> >compiled versions too...
> >
> >- Original Message - From: "Donald Lee" To: Sent: Saturday, 
> >March
> >27, 2004 7:31 PM Subject: I know this is a stupid question
> >
> >
> > > Ok, I know this has got to be a stupid newbie question but I have
> >searched > the archives without success.  What is special about the 
> >default
> >tomcat > webapps/ROOT/index.jsp?  I cannot make changes to 
> it.  I tried 
> >making minor > changes to it and expecting the changes to 
> happen on a 
> >refresh; no joy.  I > also shutdown and restarted tomcat to 
> get the changes 
> >to take effect; no > joy.  I eventually created a small 
> test.jsp and copied 
> >the contents to it > and sure enough my changes were there.  
> made some 
> >minor changes to my > test.jsp and sure enough the changes 
> were in effect 
> >without cycling tomcat. > I really would like to use index.jsp as my 
> >default page.  What has this > locked down? > Thanks > Don > > 
> >_
>  > Check 
> >out MSN PC Safety & Security to help ensure your PC is 
> protected and > 
> >safe. http://specials.msn.com/msn/security.asp > > > 
> >-
>  > To 
> >unsubscribe, e-mail: 
> [EMAIL PROTECTED] > For 
> >additional commands, e-mail: [EMAIL PROTECTED] >
> >
> >
> >-
>  
> >To
> >unsubscribe, e-mail: [EMAIL PROTECTED] For 
> >additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> _
> Get reliable access on MSN 9 Dial-up. 3 months for the price of 1! 
> (Limited-time offer) 
> http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/o
nm00200361ave/direct/01/


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


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



RE: I know this is a stupid question

2004-03-29 Thread Schalk
I am just throwing this idea out there, maybe it helps maybe it does not.
Have you tried using Windows search and search for all index.jsp files on
your hard drive? I know this will probably return a lot of results but
perhaps scanning over them you may find an index.jsp that looks suspicious.

HTH!

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Donald Lee [mailto:[EMAIL PROTECTED]
:: Sent: Monday, March 29, 2004 4:50 AM
:: To: [EMAIL PROTECTED]
:: Subject: Re: I know this is a stupid question
:: 
:: Yes I did do all of this ( i may be newbie to tomcat but not that new to
:: web/application servers).  I tetsted this using both MSIE and Mozilla
:: Firefox.  I also do not experience the problem with my "test.jsp" that I
:: placed in the webapps\ROOT folder.  This seems to be isolated to only the
:: index.jsp.  I noticed in the WEB_INF\web.xml file designates servlet
:: mappings are being made to match up index_jsp.class with "index.jsp"
Since
:: I am not re-compiling anything I can only assume that no matter what
change
:: I make to index.jsp it will continue to read the index_jsp.class file
:: instead.  I plan to experiment with the web.xml and see if this resolves
the
:: issue.  This is version 5 of tomcat I am talking about, more specifically
:: the windows install version.
:: Thanks
:: Don
:: 
:: 
:: 
:: >From: "Bryan K. Cantwell" <[EMAIL PROTECTED]>
:: >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
:: >To: "Tomcat Users List" <[EMAIL PROTECTED]>
:: >Subject: Re: I know this is a stupid question
:: >Date: Sun, 28 Mar 2004 19:00:12 -0600
:: >
:: >If you are still seeing a page that litterally does not exist, then you
ARE
:: >looking at a cached version of the page. Stop Tomcat, in Internet
Exploder
:: >click tools->internet options->settings->every visit to the page and set
:: >amount os disk space to the min (1MB) and ok. then click delete files
under
:: >temp internet files... this will clear up the phantom page. then make
sure
:: >u
:: >go to /work and delete everything inside there. Then start
:: >tomcat back up ...
:: >
:: >bryancan
:: >
:: >- Original Message -
:: >From: "Donald Lee" <[EMAIL PROTECTED]>
:: >To: <[EMAIL PROTECTED]>
:: >Sent: Sunday, March 28, 2004 2:52 PM
:: >Subject: Re: I know this is a stupid question
:: >
:: >
:: > > Yes, I did clear my work directory.  No diff.  The index.jsp just
would
:: >not
:: > > change or even go away despite my deleting it.
:: > >
:: > >
:: > > >From: Antonio Fiol Bonnín <[EMAIL PROTECTED]>
:: > > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
:: > > >To: Tomcat Users List <[EMAIL PROTECTED]>
:: > > >Subject: Re: I know this is a stupid question
:: > > >Date: Sun, 28 Mar 2004 10:19:04 +0200
:: > > >
:: > > >Hi Don,
:: > > >
:: > > >As Bryan already told you, you should clear the work directory of
:: >already
:: > > >compiled versions.
:: > > >
:: > > >Antonio
:: > > >
:: > > >Donald Lee wrote:
:: > > >
:: > > >>I have since downloaded version 4.1.30 and am not experiencing this
:: > > >>problem.  I have noticed that there are fewer sub-directories under
:: >the
:: > > >>WEB-INF.  This leads me to believe that the jsp's were pre-compiled
in
:: > > >>version 5 and running more like servlets than a standard jsp.  With
no
:: >way
:: > > >>for me to really understand how I go about pre-compiling and
deploying
:: > > >>jsps in this manner, I guess for now until I learn enough about all
:: >the
:: > > >>changes in version 5, I will continue using version4.
:: > > >>Thanks
:: > > >>Don
:: > > >>
:: > > >>
:: > > >>
:: > > >>>From: "Donald Lee" <[EMAIL PROTECTED]>
:: > > >>>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
:: > > >>>To: [EMAIL PROTECTED]
:: > > >>>Subject: Re: I know this is a stupid question
:: > > >>>Date: Sat, 27 Mar 2

Re: I know this is a stupid question

2004-03-28 Thread Donald Lee
Yes I did do all of this ( i may be newbie to tomcat but not that new to 
web/application servers).  I tetsted this using both MSIE and Mozilla 
Firefox.  I also do not experience the problem with my "test.jsp" that I 
placed in the webapps\ROOT folder.  This seems to be isolated to only the 
index.jsp.  I noticed in the WEB_INF\web.xml file designates servlet 
mappings are being made to match up index_jsp.class with "index.jsp"  Since 
I am not re-compiling anything I can only assume that no matter what change 
I make to index.jsp it will continue to read the index_jsp.class file 
instead.  I plan to experiment with the web.xml and see if this resolves the 
issue.  This is version 5 of tomcat I am talking about, more specifically 
the windows install version.
Thanks
Don



From: "Bryan K. Cantwell" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: I know this is a stupid question
Date: Sun, 28 Mar 2004 19:00:12 -0600
If you are still seeing a page that litterally does not exist, then you ARE
looking at a cached version of the page. Stop Tomcat, in Internet Exploder
click tools->internet options->settings->every visit to the page and set
amount os disk space to the min (1MB) and ok. then click delete files under
temp internet files... this will clear up the phantom page. then make sure 
u
go to /work and delete everything inside there. Then start
tomcat back up ...

bryancan

- Original Message -
From: "Donald Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 28, 2004 2:52 PM
Subject: Re: I know this is a stupid question
> Yes, I did clear my work directory.  No diff.  The index.jsp just would
not
> change or even go away despite my deleting it.
>
>
> >From: Antonio Fiol Bonnín <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: Tomcat Users List <[EMAIL PROTECTED]>
> >Subject: Re: I know this is a stupid question
> >Date: Sun, 28 Mar 2004 10:19:04 +0200
> >
> >Hi Don,
> >
> >As Bryan already told you, you should clear the work directory of 
already
> >compiled versions.
> >
> >Antonio
> >
> >Donald Lee wrote:
> >
> >>I have since downloaded version 4.1.30 and am not experiencing this
> >>problem.  I have noticed that there are fewer sub-directories under 
the
> >>WEB-INF.  This leads me to believe that the jsp's were pre-compiled in
> >>version 5 and running more like servlets than a standard jsp.  With no
way
> >>for me to really understand how I go about pre-compiling and deploying
> >>jsps in this manner, I guess for now until I learn enough about all 
the
> >>changes in version 5, I will continue using version4.
> >>Thanks
> >>Don
> >>
> >>
> >>
> >>>From: "Donald Lee" <[EMAIL PROTECTED]>
> >>>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >>>To: [EMAIL PROTECTED]
> >>>Subject: Re: I know this is a stupid question
> >>>Date: Sat, 27 Mar 2004 21:59:22 -0500
> >>>
> >>>Yes I turned off caching I even deleted the index.jsp and stopped and
> >>>started tomcat.  I still get the "Congratulations!"
> >>>I can do this without specifying the index.jsp and if I specify it.  
I
> >>>know I am looking in the right folder because like I said, I can run 
a
> >>>test.jsp just fine and even update it without cycling tomcat.  This 
is
> >>>version 5.0.19 windows installation.  It runs as a service.  I
installed
> >>>the jk2 connector but right now IIS is turned off and I am not using
it.
> >>>Thanks
> >>>Don
> >>>
> >>>
> >>>
> >>>
> >>>>From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat
> >>>>Users List" Subject: Re: I know this is a stupid question Date: Sat,
27
> >>>>Mar 2004 19:34:55 -0600
> >>>>
> >>>>Is your browser chacheing? turn it off. clear the work directory of
> >>>>already compiled versions too...
> >>>>
> >>>>- Original Message - From: "Donald Lee" To: Sent: Saturday,
> >>>>March 27, 2004 7:31 PM Subject: I know this is a stupid question
> >>>>
> >>>>
> >>>> > Ok, I know this has got to be a stupid newbie question but I have
> >>>>searched > the archives without success.  What is special about the
> &

Re: I know this is a stupid question

2004-03-28 Thread Bryan K. Cantwell
If you are still seeing a page that litterally does not exist, then you ARE
looking at a cached version of the page. Stop Tomcat, in Internet Exploder
click tools->internet options->settings->every visit to the page and set
amount os disk space to the min (1MB) and ok. then click delete files under
temp internet files... this will clear up the phantom page. then make sure u
go to /work and delete everything inside there. Then start
tomcat back up ...

bryancan

- Original Message - 
From: "Donald Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 28, 2004 2:52 PM
Subject: Re: I know this is a stupid question


> Yes, I did clear my work directory.  No diff.  The index.jsp just would
not
> change or even go away despite my deleting it.
>
>
> >From: Antonio Fiol Bonnín <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: Tomcat Users List <[EMAIL PROTECTED]>
> >Subject: Re: I know this is a stupid question
> >Date: Sun, 28 Mar 2004 10:19:04 +0200
> >
> >Hi Don,
> >
> >As Bryan already told you, you should clear the work directory of already
> >compiled versions.
> >
> >Antonio
> >
> >Donald Lee wrote:
> >
> >>I have since downloaded version 4.1.30 and am not experiencing this
> >>problem.  I have noticed that there are fewer sub-directories under the
> >>WEB-INF.  This leads me to believe that the jsp's were pre-compiled in
> >>version 5 and running more like servlets than a standard jsp.  With no
way
> >>for me to really understand how I go about pre-compiling and deploying
> >>jsps in this manner, I guess for now until I learn enough about all the
> >>changes in version 5, I will continue using version4.
> >>Thanks
> >>Don
> >>
> >>
> >>
> >>>From: "Donald Lee" <[EMAIL PROTECTED]>
> >>>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >>>To: [EMAIL PROTECTED]
> >>>Subject: Re: I know this is a stupid question
> >>>Date: Sat, 27 Mar 2004 21:59:22 -0500
> >>>
> >>>Yes I turned off caching I even deleted the index.jsp and stopped and
> >>>started tomcat.  I still get the "Congratulations!"
> >>>I can do this without specifying the index.jsp and if I specify it.  I
> >>>know I am looking in the right folder because like I said, I can run a
> >>>test.jsp just fine and even update it without cycling tomcat.  This is
> >>>version 5.0.19 windows installation.  It runs as a service.  I
installed
> >>>the jk2 connector but right now IIS is turned off and I am not using
it.
> >>>Thanks
> >>>Don
> >>>
> >>>
> >>>
> >>>
> >>>>From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat
> >>>>Users List" Subject: Re: I know this is a stupid question Date: Sat,
27
> >>>>Mar 2004 19:34:55 -0600
> >>>>
> >>>>Is your browser chacheing? turn it off. clear the work directory of
> >>>>already compiled versions too...
> >>>>
> >>>>- Original Message - From: "Donald Lee" To: Sent: Saturday,
> >>>>March 27, 2004 7:31 PM Subject: I know this is a stupid question
> >>>>
> >>>>
> >>>> > Ok, I know this has got to be a stupid newbie question but I have
> >>>>searched > the archives without success.  What is special about the
> >>>>default tomcat > webapps/ROOT/index.jsp?  I cannot make changes to it.
> >>>>I tried making minor > changes to it and expecting the changes to
happen
> >>>>on a refresh; no joy.  I > also shutdown and restarted tomcat to get
the
> >>>>changes to take effect; no > joy.  I eventually created a small
test.jsp
> >>>>and copied the contents to it > and sure enough my changes were there.
> >>>>made some minor changes to my > test.jsp and sure enough the changes
> >>>>were in effect without cycling tomcat. > I really would like to use
> >>>>index.jsp as my default page.
> >>>
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _
> Is your PC infected? Get a FREE online computer virus scan from McAfee®
> Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



Re: Re: I know this is a stupid question

2004-03-28 Thread info
Sehr geehrte Damen und Herren

Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich 
bearbeiten.

Mit "internetten" Grüssen

Ihr Shoppingcity.ch-Team



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



Re: I know this is a stupid question

2004-03-28 Thread Donald Lee
Yes, I did clear my work directory.  No diff.  The index.jsp just would not 
change or even go away despite my deleting it.


From: Antonio Fiol Bonnín <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: I know this is a stupid question
Date: Sun, 28 Mar 2004 10:19:04 +0200
Hi Don,

As Bryan already told you, you should clear the work directory of already 
compiled versions.

Antonio

Donald Lee wrote:

I have since downloaded version 4.1.30 and am not experiencing this 
problem.  I have noticed that there are fewer sub-directories under the 
WEB-INF.  This leads me to believe that the jsp's were pre-compiled in 
version 5 and running more like servlets than a standard jsp.  With no way 
for me to really understand how I go about pre-compiling and deploying 
jsps in this manner, I guess for now until I learn enough about all the 
changes in version 5, I will continue using version4.
Thanks
Don



From: "Donald Lee" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: I know this is a stupid question
Date: Sat, 27 Mar 2004 21:59:22 -0500
Yes I turned off caching I even deleted the index.jsp and stopped and 
started tomcat.  I still get the "Congratulations!"
I can do this without specifying the index.jsp and if I specify it.  I 
know I am looking in the right folder because like I said, I can run a 
test.jsp just fine and even update it without cycling tomcat.  This is 
version 5.0.19 windows installation.  It runs as a service.  I installed 
the jk2 connector but right now IIS is turned off and I am not using it.
Thanks
Don




From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat 
Users List" Subject: Re: I know this is a stupid question Date: Sat, 27 
Mar 2004 19:34:55 -0600

Is your browser chacheing? turn it off. clear the work directory of 
already compiled versions too...

- Original Message - From: "Donald Lee" To: Sent: Saturday, 
March 27, 2004 7:31 PM Subject: I know this is a stupid question

> Ok, I know this has got to be a stupid newbie question but I have 
searched > the archives without success.  What is special about the 
default tomcat > webapps/ROOT/index.jsp?  I cannot make changes to it.  
I tried making minor > changes to it and expecting the changes to happen 
on a refresh; no joy.  I > also shutdown and restarted tomcat to get the 
changes to take effect; no > joy.  I eventually created a small test.jsp 
and copied the contents to it > and sure enough my changes were there.  
made some minor changes to my > test.jsp and sure enough the changes 
were in effect without cycling tomcat. > I really would like to use 
index.jsp as my default page.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Re: I know this is a stupid question

2004-03-28 Thread info
Sehr geehrte Damen und Herren

Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich 
bearbeiten.

Mit "internetten" Grüssen

Ihr Shoppingcity.ch-Team



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



Re: I know this is a stupid question

2004-03-28 Thread Donald Lee
No, it's not that big a deal really.  I just noticed that there are compiled 
class files and a jar file under the ROOT that does not exist in TC4.  I 
came to the conclusion either right or wrong, that it must be the compiled 
class that is actually being loaded not the jsp itself.  Since I am not 
ready to deal with that right now, I am just using TC4.  Thanks



From: "Parsons Technical Services" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: I know this is a stupid question
Date: Sun, 28 Mar 2004 00:30:50 -0500
Donald,

Sorry that you had to give up. I am not sure what was causing you so much
trouble but I know that it can be replaced. I actually moved my index.jsp
and replaced it with a .htm . I then had to edit the index.jsp for it's new
home. If you end up back on TC5 at some point you could copy index.jsp,
rename it and the change the welcome page settings in the web.xml.
Again sorry I didn't respond earlier.

Doug

- Original Message -
From: "Donald Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 27, 2004 11:19 PM
Subject: Re: I know this is a stupid question
> I have since downloaded version 4.1.30 and am not experiencing this
problem.
>   I have noticed that there are fewer sub-directories under the WEB-INF.
> This leads me to believe that the jsp's were pre-compiled in version 5 
and
> running more like servlets than a standard jsp.  With no way for me to
> really understand how I go about pre-compiling and deploying jsps in 
this
> manner, I guess for now until I learn enough about all the changes in
> version 5, I will continue using version4.
> Thanks
> Don
>
>
>
> >From: "Donald Lee" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: I know this is a stupid question
> >Date: Sat, 27 Mar 2004 21:59:22 -0500
> >
> >Yes I turned off caching I even deleted the index.jsp and stopped and
> >started tomcat.  I still get the "Congratulations!"
> >I can do this without specifying the index.jsp and if I specify it.  I
know
> >I am looking in the right folder because like I said, I can run a
test.jsp
> >just fine and even update it without cycling tomcat.  This is version
> >5.0.19 windows installation.  It runs as a service.  I installed the 
jk2
> >connector but right now IIS is turned off and I am not using it.
> >Thanks
> >Don
> >
> >
> >
> >
> >>From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat
Users
> >>List" Subject: Re: I know this is a stupid question Date: Sat, 27 Mar
2004
> >>19:34:55 -0600
> >>
> >>Is your browser chacheing? turn it off. clear the work directory of
> >>already compiled versions too...
> >>
> >>- Original Message - From: "Donald Lee" To: Sent: Saturday,
March
> >>27, 2004 7:31 PM Subject: I know this is a stupid question
> >>
> >>
> >> > Ok, I know this has got to be a stupid newbie question but I have
> >>searched > the archives without success.  What is special about the
> >>default tomcat > webapps/ROOT/index.jsp?  I cannot make changes to it.
I
> >>tried making minor > changes to it and expecting the changes to happen
on
> >>a refresh; no joy.  I > also shutdown and restarted tomcat to get the
> >>changes to take effect; no > joy.  I eventually created a small 
test.jsp
> >>and copied the contents to it > and sure enough my changes were there.
> >>made some minor changes to my > test.jsp and sure enough the changes
were
> >>in effect without cycling tomcat. > I really would like to use 
index.jsp
> >>as my default page.  What has this > locked down? > Thanks > Don > >
> >>_ >
Check
> >>out MSN PC Safety & Security to help ensure your PC is protected and >
> >>safe. http://specials.msn.com/msn/security.asp > > >
> >>- 
>
To
> >>unsubscribe, e-mail: [EMAIL PROTECTED] > For
> >>additional commands, e-mail: [EMAIL PROTECTED] >
> >>
> >>
> >>- 
To
> >>unsubscribe, e-mail: [EMAIL PROTECTED] For
> >>additional commands, e-mail: [EMAIL PROTECTED]
> >>
&g

Re: I know this is a stupid question

2004-03-28 Thread Phillip Rhodes
Dan Agarlita wrote:
Hi all,
how do I catch http errors with tomcat?
404 Error, 403 Error. I put the same question 2 years ago :) but I forgot
I remember that are some tags in config xml, something like  ?
You can put this in your web.xml file:


404
/Error.jsp


403
/Error.jsp

where  can contain any code
you want to handle with your own page.
You can also handle exceptions that propogate all the way
to the container this way:

 java.lang.Exception 
/Error.jsp

You can, of course, have more than one of these tags,
so that different exception types cause different results.
TTYL,

Phillip

--
When the 1st Amendment no longer protects your voice.
And when the 4th Amendment no longer protects your privacy or your stuff.
Thank God we have the 2nd Amendment to tell our elected representatives 
that enough is enough.
It's time to put "... from my cold, dead hands" back where it belongs.

FREE AMERICA
Vote Libertarian
www.lp.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: I know this is a stupid question

2004-03-28 Thread Dan Agarlita
Hi all,
how do I catch http errors with tomcat?
404 Error, 403 Error. I put the same question 2 years ago :) but I forgot
I remember that are some tags in config xml, something like  ?

Thanks,
Dan A.

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



Re: I know this is a stupid question

2004-03-28 Thread Torsten Fohrer

Look at ROOT/WEB-INF/web.xml.

all web-apps in tomcat 4/5 distributions, are precompiled.

cu Fohrer

On Sunday 28 March 2004 03:31, Donald Lee wrote:
> Ok, I know this has got to be a stupid newbie question but I have searched
> the archives without success.  What is special about the default tomcat
> webapps/ROOT/index.jsp?  I cannot make changes to it.  I tried making minor
> changes to it and expecting the changes to happen on a refresh; no joy.  I
> also shutdown and restarted tomcat to get the changes to take effect; no
> joy.  I eventually created a small test.jsp and copied the contents to it
> and sure enough my changes were there.  made some minor changes to my
> test.jsp and sure enough the changes were in effect without cycling tomcat.
> I really would like to use index.jsp as my default page.  What has this
> locked down?
> Thanks
> Don
>
> _
> Check out MSN PC Safety & Security to help ensure your PC is protected and
> safe. http://specials.msn.com/msn/security.asp
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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



Re: I know this is a stupid question

2004-03-28 Thread Antonio Fiol Bonnín
Hi Don,

As Bryan already told you, you should clear the work directory of 
already compiled versions.

Antonio

Donald Lee wrote:

I have since downloaded version 4.1.30 and am not experiencing this 
problem.  I have noticed that there are fewer sub-directories under 
the WEB-INF.  This leads me to believe that the jsp's were 
pre-compiled in version 5 and running more like servlets than a 
standard jsp.  With no way for me to really understand how I go about 
pre-compiling and deploying jsps in this manner, I guess for now until 
I learn enough about all the changes in version 5, I will continue 
using version4.
Thanks
Don



From: "Donald Lee" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: I know this is a stupid question
Date: Sat, 27 Mar 2004 21:59:22 -0500
Yes I turned off caching I even deleted the index.jsp and stopped and 
started tomcat.  I still get the "Congratulations!"
I can do this without specifying the index.jsp and if I specify it.  
I know I am looking in the right folder because like I said, I can 
run a test.jsp just fine and even update it without cycling tomcat.  
This is version 5.0.19 windows installation.  It runs as a service.  
I installed the jk2 connector but right now IIS is turned off and I 
am not using it.
Thanks
Don




From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat 
Users List" Subject: Re: I know this is a stupid question Date: Sat, 
27 Mar 2004 19:34:55 -0600

Is your browser chacheing? turn it off. clear the work directory of 
already compiled versions too...

- Original Message - From: "Donald Lee" To: Sent: Saturday, 
March 27, 2004 7:31 PM Subject: I know this is a stupid question

> Ok, I know this has got to be a stupid newbie question but I have 
searched > the archives without success.  What is special about the 
default tomcat > webapps/ROOT/index.jsp?  I cannot make changes to 
it.  I tried making minor > changes to it and expecting the changes 
to happen on a refresh; no joy.  I > also shutdown and restarted 
tomcat to get the changes to take effect; no > joy.  I eventually 
created a small test.jsp and copied the contents to it > and sure 
enough my changes were there.  made some minor changes to my > 
test.jsp and sure enough the changes were in effect without cycling 
tomcat. > I really would like to use index.jsp as my default page.  



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


Re: I know this is a stupid question

2004-03-27 Thread Parsons Technical Services
Donald,

Sorry that you had to give up. I am not sure what was causing you so much
trouble but I know that it can be replaced. I actually moved my index.jsp
and replaced it with a .htm . I then had to edit the index.jsp for it's new
home. If you end up back on TC5 at some point you could copy index.jsp,
rename it and the change the welcome page settings in the web.xml.

Again sorry I didn't respond earlier.

Doug

- Original Message - 
From: "Donald Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 27, 2004 11:19 PM
Subject: Re: I know this is a stupid question


> I have since downloaded version 4.1.30 and am not experiencing this
problem.
>   I have noticed that there are fewer sub-directories under the WEB-INF.
> This leads me to believe that the jsp's were pre-compiled in version 5 and
> running more like servlets than a standard jsp.  With no way for me to
> really understand how I go about pre-compiling and deploying jsps in this
> manner, I guess for now until I learn enough about all the changes in
> version 5, I will continue using version4.
> Thanks
> Don
>
>
>
> >From: "Donald Lee" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: I know this is a stupid question
> >Date: Sat, 27 Mar 2004 21:59:22 -0500
> >
> >Yes I turned off caching I even deleted the index.jsp and stopped and
> >started tomcat.  I still get the "Congratulations!"
> >I can do this without specifying the index.jsp and if I specify it.  I
know
> >I am looking in the right folder because like I said, I can run a
test.jsp
> >just fine and even update it without cycling tomcat.  This is version
> >5.0.19 windows installation.  It runs as a service.  I installed the jk2
> >connector but right now IIS is turned off and I am not using it.
> >Thanks
> >Don
> >
> >
> >
> >
> >>From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat
Users
> >>List" Subject: Re: I know this is a stupid question Date: Sat, 27 Mar
2004
> >>19:34:55 -0600
> >>
> >>Is your browser chacheing? turn it off. clear the work directory of
> >>already compiled versions too...
> >>
> >>- Original Message - From: "Donald Lee" To: Sent: Saturday,
March
> >>27, 2004 7:31 PM Subject: I know this is a stupid question
> >>
> >>
> >> > Ok, I know this has got to be a stupid newbie question but I have
> >>searched > the archives without success.  What is special about the
> >>default tomcat > webapps/ROOT/index.jsp?  I cannot make changes to it.
I
> >>tried making minor > changes to it and expecting the changes to happen
on
> >>a refresh; no joy.  I > also shutdown and restarted tomcat to get the
> >>changes to take effect; no > joy.  I eventually created a small test.jsp
> >>and copied the contents to it > and sure enough my changes were there.
> >>made some minor changes to my > test.jsp and sure enough the changes
were
> >>in effect without cycling tomcat. > I really would like to use index.jsp
> >>as my default page.  What has this > locked down? > Thanks > Don > >
> >>_ >
Check
> >>out MSN PC Safety & Security to help ensure your PC is protected and >
> >>safe. http://specials.msn.com/msn/security.asp > > >
> >>- >
To
> >>unsubscribe, e-mail: [EMAIL PROTECTED] > For
> >>additional commands, e-mail: [EMAIL PROTECTED] >
> >>
> >>
> >>- To
> >>unsubscribe, e-mail: [EMAIL PROTECTED] For
> >>additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >_
> >Get reliable access on MSN 9 Dial-up. 3 months for the price of 1!
> >(Limited-time offer)
>
>http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave
/direct/01/
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _
> Get reliable access on MSN 9 Dial-up. 3 months for the price of 1!
> (Limited-time offer)
>
http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



Re: I know this is a stupid question

2004-03-27 Thread Donald Lee
I have since downloaded version 4.1.30 and am not experiencing this problem. 
 I have noticed that there are fewer sub-directories under the WEB-INF.  
This leads me to believe that the jsp's were pre-compiled in version 5 and 
running more like servlets than a standard jsp.  With no way for me to 
really understand how I go about pre-compiling and deploying jsps in this 
manner, I guess for now until I learn enough about all the changes in 
version 5, I will continue using version4.
Thanks
Don



From: "Donald Lee" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: I know this is a stupid question
Date: Sat, 27 Mar 2004 21:59:22 -0500
Yes I turned off caching I even deleted the index.jsp and stopped and 
started tomcat.  I still get the "Congratulations!"
I can do this without specifying the index.jsp and if I specify it.  I know 
I am looking in the right folder because like I said, I can run a test.jsp 
just fine and even update it without cycling tomcat.  This is version 
5.0.19 windows installation.  It runs as a service.  I installed the jk2 
connector but right now IIS is turned off and I am not using it.
Thanks
Don




From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat Users 
List" Subject: Re: I know this is a stupid question Date: Sat, 27 Mar 2004 
19:34:55 -0600

Is your browser chacheing? turn it off. clear the work directory of 
already compiled versions too...

- Original Message - From: "Donald Lee" To: Sent: Saturday, March 
27, 2004 7:31 PM Subject: I know this is a stupid question

> Ok, I know this has got to be a stupid newbie question but I have 
searched > the archives without success.  What is special about the 
default tomcat > webapps/ROOT/index.jsp?  I cannot make changes to it.  I 
tried making minor > changes to it and expecting the changes to happen on 
a refresh; no joy.  I > also shutdown and restarted tomcat to get the 
changes to take effect; no > joy.  I eventually created a small test.jsp 
and copied the contents to it > and sure enough my changes were there.  
made some minor changes to my > test.jsp and sure enough the changes were 
in effect without cycling tomcat. > I really would like to use index.jsp 
as my default page.  What has this > locked down? > Thanks > Don > > 
_ > Check 
out MSN PC Safety & Security to help ensure your PC is protected and > 
safe. http://specials.msn.com/msn/security.asp > > > 
- > To 
unsubscribe, e-mail: [EMAIL PROTECTED] > For 
additional commands, e-mail: [EMAIL PROTECTED] >

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

_
Get reliable access on MSN 9 Dial-up. 3 months for the price of 1! 
(Limited-time offer) 
http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Get reliable access on MSN 9 Dial-up. 3 months for the price of 1! 
(Limited-time offer) 
http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/

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


Re: I know this is a stupid question

2004-03-27 Thread Donald Lee
Yes I turned off caching I even deleted the index.jsp and stopped and 
started tomcat.  I still get the "Congratulations!"
I can do this without specifying the index.jsp and if I specify it.  I know 
I am looking in the right folder because like I said, I can run a test.jsp 
just fine and even update it without cycling tomcat.  This is version 5.0.19 
windows installation.  It runs as a service.  I installed the jk2 connector 
but right now IIS is turned off and I am not using it.
Thanks
Don




From: "Bryan K. Cantwell" Reply-To: "Tomcat Users List" To: "Tomcat Users 
List" Subject: Re: I know this is a stupid question Date: Sat, 27 Mar 2004 
19:34:55 -0600

Is your browser chacheing? turn it off. clear the work directory of already 
compiled versions too...

- Original Message - From: "Donald Lee" To: Sent: Saturday, March 
27, 2004 7:31 PM Subject: I know this is a stupid question

> Ok, I know this has got to be a stupid newbie question but I have 
searched > the archives without success.  What is special about the default 
tomcat > webapps/ROOT/index.jsp?  I cannot make changes to it.  I tried 
making minor > changes to it and expecting the changes to happen on a 
refresh; no joy.  I > also shutdown and restarted tomcat to get the changes 
to take effect; no > joy.  I eventually created a small test.jsp and copied 
the contents to it > and sure enough my changes were there.  made some 
minor changes to my > test.jsp and sure enough the changes were in effect 
without cycling tomcat. > I really would like to use index.jsp as my 
default page.  What has this > locked down? > Thanks > Don > > 
_ > Check 
out MSN PC Safety & Security to help ensure your PC is protected and > 
safe. http://specials.msn.com/msn/security.asp > > > 
- > To 
unsubscribe, e-mail: [EMAIL PROTECTED] > For 
additional commands, e-mail: [EMAIL PROTECTED] >

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

_
Get reliable access on MSN 9 Dial-up. 3 months for the price of 1! 
(Limited-time offer) 
http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/

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


Re: I know this is a stupid question

2004-03-27 Thread Bryan K. Cantwell
Is your browser chacheing? turn it off. clear the work directory of already
compiled versions too...

- Original Message - 
From: "Donald Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 27, 2004 7:31 PM
Subject: I know this is a stupid question


> Ok, I know this has got to be a stupid newbie question but I have searched
> the archives without success.  What is special about the default tomcat
> webapps/ROOT/index.jsp?  I cannot make changes to it.  I tried making
minor
> changes to it and expecting the changes to happen on a refresh; no joy.  I
> also shutdown and restarted tomcat to get the changes to take effect; no
> joy.  I eventually created a small test.jsp and copied the contents to it
> and sure enough my changes were there.  made some minor changes to my
> test.jsp and sure enough the changes were in effect without cycling
tomcat.
> I really would like to use index.jsp as my default page.  What has this
> locked down?
> Thanks
> Don
>
> _
> Check out MSN PC Safety & Security to help ensure your PC is protected and
> safe. http://specials.msn.com/msn/security.asp
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



I know this is a stupid question

2004-03-27 Thread Donald Lee
Ok, I know this has got to be a stupid newbie question but I have searched 
the archives without success.  What is special about the default tomcat 
webapps/ROOT/index.jsp?  I cannot make changes to it.  I tried making minor 
changes to it and expecting the changes to happen on a refresh; no joy.  I 
also shutdown and restarted tomcat to get the changes to take effect; no 
joy.  I eventually created a small test.jsp and copied the contents to it 
and sure enough my changes were there.  made some minor changes to my 
test.jsp and sure enough the changes were in effect without cycling tomcat.  
I really would like to use index.jsp as my default page.  What has this 
locked down?
Thanks
Don

_
Check out MSN PC Safety & Security to help ensure your PC is protected and 
safe. http://specials.msn.com/msn/security.asp

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


Re: another newbie stupid question?

2004-02-04 Thread arvind singh
USE mysql;
GRANT ALL PRIVILEGES ON "Your Database".*  TO [EMAIL PROTECTED]
IDENTIFIED BY 'yourpassword";
GRANT ALL PRIVILEGES ON "Your Database".*  TO [EMAIL PROTECTED] IDENTIFIED
BY 'yourpassword";
FLUSH PRIVILEGES;

Connection Parameters for MySQL:

DBServerName=localhost
DBName=/yourdb?autoReconnect=true
DBUserName=youruser
DBPassword=yourpassword
JDBCDriverName=jdbc:mysql://
DBServerPort=3306
DBDriverName=com.mysql.jdbc.Driver



- Original Message -
From: "FRANCOIS Dufour" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 04, 2004 3:09 PM
Subject: another newbie stupid question?


> hi to all sorry to distube you guys again
>
> i have to add java user for a tomcat aplication under mysql from the dos
> shell
> is ther someone that could explain me how to..? please
> thanks in advance
>
>
>
> [EMAIL PROTECTED]
> administrateur http://entre-nous.qc.tc
>
>
>
>
>
> >From: Papillon <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: Tomcat Users List <[EMAIL PROTECTED]>
> >Subject: Re: Is this a Tomcat problem? Someone please point me in
theright
> >direction to solve this problem...
> >Date: Wed, 04 Feb 2004 16:02:17 -0500
> >
> >Try burp proxy (Thanks again Mr Yansheng Lin) to see differences.
> >Your server have only one ip ? No NAT on your network ? WAN adress ?
> >My problem is not the same but perhaps it can help you in research :
> >http://www.mail-archive.com/[EMAIL PROTECTED]/msg117526.html
> >
> >Good luck !
> >
> >
> >
> > > De : "Chugh, Sanjay" <[EMAIL PROTECTED]>
> > > Répondre à : "Tomcat Users List" <[EMAIL PROTECTED]>
> > > Date : Wed, 4 Feb 2004 12:43:40 -0700
> > > À : "Tomcat Users List" <[EMAIL PROTECTED]>
> > > Objet : Is this a Tomcat problem? Someone please point me in the right
> > > direction to solve this problem...
> > >
> > > I am part of a large team working on a java project with Tomcat. We
are
> > > using jdk1.3.1 and Tomcat 4.1.18. The problem is that the latest build
> > > of our application has a problem on my machine. I've tracked it down
to
> > > what seems like a problem with the session. When code that retreives
> > > information from the session is executed, it is not giving a valid
> > > result back. The part that I am having problem with is that it is a
> > > problem only on my machine. In fact if I hit the Tomcat server on my
> > > machine from another machine on the network, then everything works
fine
> > > as well. The same is true if I hit the Tomcat server on my machine
from
> > > a virtual machine running also on my machine. It is only when I run
the
> > > application itself on my machine. I did just check one other thing.
That
> > > is I started IE on my machine but hit the tomcat server on another
> > > physical machine. This time the application worked fine on my machine.
> > > This is all very confusing, and I am at a loss to explain what is is
on
> > > my machine or my tomcat server that is causing a problem.
> > >
> > > I've compared the different machine configuration (they are all pretty
> > > similar). The Internet Explore options on all the machines are
> > > identical.
> > >
> > > I would apreciate any ideas someone might have to offer.
> > >
> > > Thanks,
> > >
> > >
> > > -- Sanjay
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _
> MSN Messenger : discutez en direct avec vos amis !
> http://messenger.fr.msn.ca/
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



another newbie stupid question?

2004-02-04 Thread FRANCOIS Dufour
hi to all sorry to distube you guys again

i have to add java user for a tomcat aplication under mysql from the dos 
shell
is ther someone that could explain me how to..? please
thanks in advance



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: Papillon <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: Is this a Tomcat problem? Someone please point me in theright 
direction to solve this problem...
Date: Wed, 04 Feb 2004 16:02:17 -0500

Try burp proxy (Thanks again Mr Yansheng Lin) to see differences.
Your server have only one ip ? No NAT on your network ? WAN adress ?
My problem is not the same but perhaps it can help you in research :
http://www.mail-archive.com/[EMAIL PROTECTED]/msg117526.html
Good luck !



> De : "Chugh, Sanjay" <[EMAIL PROTECTED]>
> Répondre à : "Tomcat Users List" <[EMAIL PROTECTED]>
> Date : Wed, 4 Feb 2004 12:43:40 -0700
> À : "Tomcat Users List" <[EMAIL PROTECTED]>
> Objet : Is this a Tomcat problem? Someone please point me in the right
> direction to solve this problem...
>
> I am part of a large team working on a java project with Tomcat. We are
> using jdk1.3.1 and Tomcat 4.1.18. The problem is that the latest build
> of our application has a problem on my machine. I've tracked it down to
> what seems like a problem with the session. When code that retreives
> information from the session is executed, it is not giving a valid
> result back. The part that I am having problem with is that it is a
> problem only on my machine. In fact if I hit the Tomcat server on my
> machine from another machine on the network, then everything works fine
> as well. The same is true if I hit the Tomcat server on my machine from
> a virtual machine running also on my machine. It is only when I run the
> application itself on my machine. I did just check one other thing. That
> is I started IE on my machine but hit the tomcat server on another
> physical machine. This time the application worked fine on my machine.
> This is all very confusing, and I am at a loss to explain what is is on
> my machine or my tomcat server that is causing a problem.
>
> I've compared the different machine configuration (they are all pretty
> similar). The Internet Explore options on all the machines are
> identical.
>
> I would apreciate any ideas someone might have to offer.
>
> Thanks,
>
>
> -- Sanjay
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/

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


RE: Is this a stupid question or something? Why no nibbles?

2002-01-30 Thread Anton Brazhnyk

Hi,

> -Original Message-
> From: August Detlefsen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 29, 2002 8:09 PM
> To: Tomcat Users List
> Subject: Re: Is this a stupid question or something? Why no nibbles?
> 
> 
> This is actually the second time I posted this exact same config to the
> list. If someone tells me how to update the docs, I will put it there
> too. 
> 

I'm not sure but assuming you know what file you want to update
you could post new bug at bugzilla (http://nagoya.apache.org/bugzilla) 
with attached patch.

> -August
> 

Anton

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




Re: Is this a stupid question or something? Why no nibbles?

2002-01-29 Thread August Detlefsen

This is actually the second time I posted this exact same config to the
list. If someone tells me how to update the docs, I will put it there
too. 

-August

--- Micael Padraig Og mac Grene <[EMAIL PROTECTED]> wrote:
> Thank you, August.  A couple of these examples (pictures) in the 
> documentation, for me, would have been worth a thousand words.  Had
> my 
> stuff going minutes after you sent this.  I really appreciate it.  If
> I can 
> be of assistance anytime, please let me know.  Micael
> 
> At 03:02 PM 1/27/02 -0800, you wrote:
> >Are you using tomcat standalone or with Apache? With Apache, you can
> >configure them as separate virtual hosts for each of the URLs. As
> long
> >as there is one entry for the domain name in the hosts file it will
> >work:
> >
> >/etc/hosts :
> >
> >12.34.56.78mycompany.com
> >
> >
> >virtual host setup in apache httpd.conf:
> >
> >
> > ServerName dev1.mycompany.com
> > DocumentRoot "/home/dev1/www"
> >
> > # deplay webapps for this site
> > WebAppDeploy ROOT  conn  /
> > # will set the default webapp dir for this virtual host
> > # to: /home/dev1/www/ROOT/
> >
> >
> >
> >
> >virtual host setup in server.xml:
> >
> >   
> >>appBase="/home/dev1/www" unpackWARs="true">
> >
> > 
> > 
> >
> > 
> >  className="org.apache.catalina.valves.AccessLogValve"
> >  directory="logs" 
> prefix="codemagi_com_access_log."
> >suffix=".txt"
> >  pattern="common"/>
> >
> > 
> >  >  directory="logs"  prefix="dev1_log." suffix=".txt"
> > timestamp="true"/>
> >
> > 
> >
> > 
> > 
> >
> > 
> >  >docBase="/usr/local/catalina/webapps/manager" debug="0"
> >privileged="true" />
> >
> >   
> >
> >
> >
> >
> >--- Micael Padraig Og mac Grene <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > At 04:16 AM 1/26/02 -0800, you wrote:
> > >
> > > >--- Micael Padraig Og mac Grene
> > > ><[EMAIL PROTECTED]> wrote:
> > > > > At 01:08 AM 1/25/02 -0800, you wrote:
> > > > > >FIRST
> > > > > >
> > > > > >If I want several development urls, e.g.
> > > > > >
> > > > > > app1.mycompany.com
> > > > > > app2.mycompany.com
> > > > > > app3.mycompany.com
> > > > > >
> > > > > >to be accessed through one registered url, e.g.
> > > > > >
> > > > > > www.mycompany.com
> > > > > >
> > > > > >can I do this with server.xml alone or do I have to
> > > > > also configrue the dns
> > > > > >server to cooperate?
> > > >
> > > >Are you accessing these dev urls from outside your
> > > >local LAN or inside? Do you have an internal DNS
> > > >server? You are going to have to configure DNS for
> > > >machines outside of your LAN to know what IP address
> > > >app1.mycompany.com should resolve to. If you are only
> > > >concerned w/ 1 or 2 internal machines you could set up
> > > >a host file on those machines that maps the different
> > > >name to the same IP address. Of course, if these are
> > > >to be different contexts you will have to edit
> > > >server.xml . I have yet to upgrade to 4.0 so I can't
> > > >answer in detail about that.
> > > >
> > > ><>
> > > >
> > > >=
> > > >[EMAIL PROTECTED]
> > > >Hacking is a "Good Thing!"
> > >
> > > -- Thanks Charles,
> > >
> > > Access is from outside.  I will have an internal dns server in
> about
> > > a
> > > month, but right now it is being served by the company that is
> giving
> > > me
> > > bandwidth and an ip address.  Any further help you can give me
> would
> > > be
> > > greatly appreciated.
> > >
> > > -- micael
> > >
> > >
> > >
> > > --
> > > To unsubscribe:  
> 
> > > For additional commands:
> 
> > > Troubles with the list:
> 
> > >
> >
> >
> >__
> >Do You Yahoo!?
> >Great stuff seeking new owners in Yahoo! Auctions!
> >http://auctions.yahoo.com
> >
> >--
> >To unsubscribe:  
> 
> >For additional commands:
> 
> >Troubles with the list:
> 
> 
> 
> 
=== message truncated ===


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




Re: Is this a stupid question or something? Why no nibbles?

2002-01-27 Thread Micael Padraig Og mac Grene

Thank you, August.  A couple of these examples (pictures) in the 
documentation, for me, would have been worth a thousand words.  Had my 
stuff going minutes after you sent this.  I really appreciate it.  If I can 
be of assistance anytime, please let me know.  Micael

At 03:02 PM 1/27/02 -0800, you wrote:
>Are you using tomcat standalone or with Apache? With Apache, you can
>configure them as separate virtual hosts for each of the URLs. As long
>as there is one entry for the domain name in the hosts file it will
>work:
>
>/etc/hosts :
>
>12.34.56.78mycompany.com
>
>
>virtual host setup in apache httpd.conf:
>
>
> ServerName dev1.mycompany.com
> DocumentRoot "/home/dev1/www"
>
> # deplay webapps for this site
> WebAppDeploy ROOT  conn  /
> # will set the default webapp dir for this virtual host
> # to: /home/dev1/www/ROOT/
>
>
>
>
>virtual host setup in server.xml:
>
>   
>   appBase="/home/dev1/www" unpackWARs="true">
>
> 
> 
>
> 
>   directory="logs"  prefix="codemagi_com_access_log."
>suffix=".txt"
>  pattern="common"/>
>
> 
>   directory="logs"  prefix="dev1_log." suffix=".txt"
> timestamp="true"/>
>
> 
>
> 
> 
>
> 
> docBase="/usr/local/catalina/webapps/manager" debug="0"
>privileged="true" />
>
>   
>
>
>
>
>--- Micael Padraig Og mac Grene <[EMAIL PROTECTED]> wrote:
> >
> >
> > At 04:16 AM 1/26/02 -0800, you wrote:
> >
> > >--- Micael Padraig Og mac Grene
> > ><[EMAIL PROTECTED]> wrote:
> > > > At 01:08 AM 1/25/02 -0800, you wrote:
> > > > >FIRST
> > > > >
> > > > >If I want several development urls, e.g.
> > > > >
> > > > > app1.mycompany.com
> > > > > app2.mycompany.com
> > > > > app3.mycompany.com
> > > > >
> > > > >to be accessed through one registered url, e.g.
> > > > >
> > > > > www.mycompany.com
> > > > >
> > > > >can I do this with server.xml alone or do I have to
> > > > also configrue the dns
> > > > >server to cooperate?
> > >
> > >Are you accessing these dev urls from outside your
> > >local LAN or inside? Do you have an internal DNS
> > >server? You are going to have to configure DNS for
> > >machines outside of your LAN to know what IP address
> > >app1.mycompany.com should resolve to. If you are only
> > >concerned w/ 1 or 2 internal machines you could set up
> > >a host file on those machines that maps the different
> > >name to the same IP address. Of course, if these are
> > >to be different contexts you will have to edit
> > >server.xml . I have yet to upgrade to 4.0 so I can't
> > >answer in detail about that.
> > >
> > ><>
> > >
> > >=
> > >[EMAIL PROTECTED]
> > >Hacking is a "Good Thing!"
> >
> > -- Thanks Charles,
> >
> > Access is from outside.  I will have an internal dns server in about
> > a
> > month, but right now it is being served by the company that is giving
> > me
> > bandwidth and an ip address.  Any further help you can give me would
> > be
> > greatly appreciated.
> >
> > -- micael
> >
> >
> >
> > --
> > To unsubscribe:   
> > For additional commands: 
> > Troubles with the list: 
> >
>
>
>__
>Do You Yahoo!?
>Great stuff seeking new owners in Yahoo! Auctions!
>http://auctions.yahoo.com
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 



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




Re: Is this a stupid question or something? Why no nibbles?

2002-01-27 Thread August Detlefsen

Are you using tomcat standalone or with Apache? With Apache, you can
configure them as separate virtual hosts for each of the URLs. As long
as there is one entry for the domain name in the hosts file it will
work:

/etc/hosts :

12.34.56.78mycompany.com


virtual host setup in apache httpd.conf:


ServerName dev1.mycompany.com
DocumentRoot "/home/dev1/www"

# deplay webapps for this site
WebAppDeploy ROOT  conn  /
# will set the default webapp dir for this virtual host
# to: /home/dev1/www/ROOT/




virtual host setup in server.xml:

  
  


















  




--- Micael Padraig Og mac Grene <[EMAIL PROTECTED]> wrote:
> 
> 
> At 04:16 AM 1/26/02 -0800, you wrote:
> 
> >--- Micael Padraig Og mac Grene
> ><[EMAIL PROTECTED]> wrote:
> > > At 01:08 AM 1/25/02 -0800, you wrote:
> > > >FIRST
> > > >
> > > >If I want several development urls, e.g.
> > > >
> > > > app1.mycompany.com
> > > > app2.mycompany.com
> > > > app3.mycompany.com
> > > >
> > > >to be accessed through one registered url, e.g.
> > > >
> > > > www.mycompany.com
> > > >
> > > >can I do this with server.xml alone or do I have to
> > > also configrue the dns
> > > >server to cooperate?
> >
> >Are you accessing these dev urls from outside your
> >local LAN or inside? Do you have an internal DNS
> >server? You are going to have to configure DNS for
> >machines outside of your LAN to know what IP address
> >app1.mycompany.com should resolve to. If you are only
> >concerned w/ 1 or 2 internal machines you could set up
> >a host file on those machines that maps the different
> >name to the same IP address. Of course, if these are
> >to be different contexts you will have to edit
> >server.xml . I have yet to upgrade to 4.0 so I can't
> >answer in detail about that.
> >
> ><>
> >
> >=
> >[EMAIL PROTECTED]
> >Hacking is a "Good Thing!"
> 
> -- Thanks Charles,
> 
> Access is from outside.  I will have an internal dns server in about
> a 
> month, but right now it is being served by the company that is giving
> me 
> bandwidth and an ip address.  Any further help you can give me would
> be 
> greatly appreciated.
> 
> -- micael
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




Re: Is this a stupid question or something? Why no nibbles?

2002-01-26 Thread Micael Padraig Og mac Grene



At 04:16 AM 1/26/02 -0800, you wrote:

>--- Micael Padraig Og mac Grene
><[EMAIL PROTECTED]> wrote:
> > At 01:08 AM 1/25/02 -0800, you wrote:
> > >FIRST
> > >
> > >If I want several development urls, e.g.
> > >
> > > app1.mycompany.com
> > > app2.mycompany.com
> > > app3.mycompany.com
> > >
> > >to be accessed through one registered url, e.g.
> > >
> > > www.mycompany.com
> > >
> > >can I do this with server.xml alone or do I have to
> > also configrue the dns
> > >server to cooperate?
>
>Are you accessing these dev urls from outside your
>local LAN or inside? Do you have an internal DNS
>server? You are going to have to configure DNS for
>machines outside of your LAN to know what IP address
>app1.mycompany.com should resolve to. If you are only
>concerned w/ 1 or 2 internal machines you could set up
>a host file on those machines that maps the different
>name to the same IP address. Of course, if these are
>to be different contexts you will have to edit
>server.xml . I have yet to upgrade to 4.0 so I can't
>answer in detail about that.
>
><>
>
>=
>[EMAIL PROTECTED]
>Hacking is a "Good Thing!"

-- Thanks Charles,

Access is from outside.  I will have an internal dns server in about a 
month, but right now it is being served by the company that is giving me 
bandwidth and an ip address.  Any further help you can give me would be 
greatly appreciated.

-- micael



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




Re: Is this a stupid question or something? Why no nibbles?

2002-01-26 Thread Charles Baker


--- Micael Padraig Og mac Grene
<[EMAIL PROTECTED]> wrote:
> At 01:08 AM 1/25/02 -0800, you wrote:
> >FIRST
> >
> >If I want several development urls, e.g.
> >
> > app1.mycompany.com
> > app2.mycompany.com
> > app3.mycompany.com
> >
> >to be accessed through one registered url, e.g.
> >
> > www.mycompany.com
> >
> >can I do this with server.xml alone or do I have to
> also configrue the dns 
> >server to cooperate?

Are you accessing these dev urls from outside your
local LAN or inside? Do you have an internal DNS
server? You are going to have to configure DNS for
machines outside of your LAN to know what IP address
app1.mycompany.com should resolve to. If you are only
concerned w/ 1 or 2 internal machines you could set up
a host file on those machines that maps the different
name to the same IP address. Of course, if these are
to be different contexts you will have to edit
server.xml . I have yet to upgrade to 4.0 so I can't
answer in detail about that.

<>

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

__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




Is this a stupid question or something? Why no nibbles?

2002-01-26 Thread Micael Padraig Og mac Grene

At 01:08 AM 1/25/02 -0800, you wrote:
>FIRST
>
>If I want several development urls, e.g.
>
> app1.mycompany.com
> app2.mycompany.com
> app3.mycompany.com
>
>to be accessed through one registered url, e.g.
>
> www.mycompany.com
>
>can I do this with server.xml alone or do I have to also configrue the dns 
>server to cooperate?
>
>SECOND
>
>If the server.xml alone, do I do it the same way we did with Tomcat 
>3.2?  If not, what changes are now in order?
>
>Thanks for any assistance.  I think that if there were a simple sample 
>server.xml to look at, all these things would be immediately resolved.
>
>-- micael
>
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>



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




Re: Context Admin Stupid Question

2001-03-31 Thread Joe Emenaker

> The users were listed in tomcat-users.xml. For some reason there was
no
> user with the admin role.

The reason is security. You don't want a brand-new installation of
Tomcat to have a standard user/password that grants administrator privs.
It should be something that the sysadmin has to explicitly turn on when
they're ready to worry about it.

- Joe




Re: Context Admin Stupid Question

2001-03-31 Thread Joseph A. Noble

Joe,

Thank you, thank you, thank you.

The users were listed in tomcat-users.xml. For some reason there was no
user with the admin role.  I changed the file to add one and it at least
recognized the user.  Then I had to modify the  in the
server.xml to make admin trusted.  For some reason it was false.

It's amazing on another machine I can select the Context Admin link, but
it won't let me view "All Contexts".  Since both these machines have the
same history of tomcat installs, I don't know why the response is not
the same.  Oh well, I'll just make them the same and go on.]

THANKS MUCH

-joe-

Joe Emenaker wrote:
> 
> > it asks me for a username and password. I have no clue what I'm
> > supposed to enter.
> 
> Look in the web.xml file for your admin webapp. You'll find a tag that
> says . Within that, you'll find . This will
> usually be a "role" that is specified in your global Tomcat config files
> (server.xml, probably). In those config files, you'll find a section
> that defines users and grants them certain "roles". You have to make
> sure that there's a user defined that is granted a role that appears in
> the  section of your admin webapp's web.xml.
> 
> - Joe

-- 
[EMAIL PROTECTED] / [EMAIL PROTECTED]
   http://www.flashman.com/ (303) 971-8780
B-24 Crew Registry http://www.flashman.com/cgi-bin/crew-reg.cgi



Re: Context Admin Stupid Question

2001-03-31 Thread Joe Emenaker

> it asks me for a username and password. I have no clue what I'm
> supposed to enter.

Look in the web.xml file for your admin webapp. You'll find a tag that
says . Within that, you'll find . This will
usually be a "role" that is specified in your global Tomcat config files
(server.xml, probably). In those config files, you'll find a section
that defines users and grants them certain "roles". You have to make
sure that there's a user defined that is granted a role that appears in
the  section of your admin webapp's web.xml.

- Joe




Context Admin Stupid Question

2001-03-31 Thread Joseph A. Noble

I've installed Tomcat 3.2.1 Servlet engine on a Win98 box. Whenever I
try to access the Context Admin page (via:
http://localhost:8080/admin/index.html) and try to go into Context
Admin, it asks me for a username and password. I have no clue what I'm
supposed to enter. I had installed an earlier version and installed
3.2.1 over the top of it.  I don't recall ever entering this information
when I installed either version. I grepped all the tomcat directories
looking for any instructions and can't find any. I believe I have found
enough info to configure the contexts manually, but I'd prefer to use
the tool. How can I get into the context admin function? If I did enter
a username and password when I installed the original version, is there
a file I can delete or modify that will allow me to reset the login
credentials?

I'm just beginning to learn JSP/Servlets, so I want to be able to regen
the servlets from the JSP frequently.

THANKS
-joe-



Stupid Question

2001-03-14 Thread Matthias Barmeier

Hi,


I have a stupid question:

What do I have to do to make JSP code work in *.htm files.
I would like to automatically add an authorization prefix to
any *.html and *.htm page of my old web. The java program works
fine but the <% authorize this code %> does not work.

I use IIS and Tomcat 3.1. 

Can anyone help ??

Ciao
Matze

My uriworkermap

#
# Simple worker configuration file
#

# Mount the servlet context to the ajp12 worker
/servlet/*=ajp12

# Mount the examples context to the ajp12 worker
/examples/*=ajp12

# Advanced mount of the examples context
# /examples/*.jsp=ajp12
# /examples/servlet/*=ajp12
/*.jsp=ajp12
/*.htm=ajp12


My web.xml


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

 
 
org.apache.jasper.runtime.JspServlet
htmtojsp
 

 
UploadManager.HttpFileReceiver
upload
 



htmtojsp
*.htm




/*
Dipl.-Inform. Matthias BarmeierTel: +49 (0)30 79 70 72 87
bit-side GmbH  Fax: +49 (0)30 79 70 72 88
Salzufer 14a Aufgang D Email: [EMAIL PROTECTED]
10587 Berlin   WWW: <http://www.bit-side.com>
*/


 

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




RE: Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread Erik LaBianca

Do you perhaps have an older version of the mysql driver in your classpath
before the new ones? Maybe it's sitting in jdk1.3/jre/lib/ext?

I'd try writing a short console program just to open a connection to the db
and get that to run, then at least you you where your problem lies for sure.
Then you can figure out what part of the classpath is getting munged by
tomcat.

Note that I believe the tomcat.sh scripts munge your classpath, so you might
want to try putting mm.mysql.jar in your tomcat/lib folder.

Good luck
--erik


-Original Message-
From: Cato, Christopher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 10:02 AM
To: '[EMAIL PROTECTED]'
Subject: Stupid question - cannot load servlet name - mm.mysql related
??


Hello.

I have two identical linux redhat 6.2 machines, both running TomCat
standalone.
On machine A, I've been testing out a system I'm developing. It runs okay on
that machine. Now I want it on machine B instead. 

So, I move the sources to machine B (together with the build.sh script
(which works fine on machine A) and all the other files). I compile without
errors, Ant moves the classes and web.xml into the correct directories.

BUT, 
when I start TomCat I get a whole bunch of "cannot load servlet name:
" messages. Looking at the other logs, It seems to load and
initialize the servlets okay.

So, I try to connect to TomCat. Every servlet which does not use the
mm.mysql db driver works ok. Those using it wont work. It just states
"cannot load database driver". This message comes from a try clause around
the driver loader in each servlet. 

Now, I've moved the mysql drivers to machine B and added the
mm.mysql-2.0.2.bin.jar to the classpath.

Why does it still fail? Any ideas? I'm stuck. *sigh*

Regards,

Christopher Cato


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

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




RE: Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread GOMEZ Henri

>I have two identical linux redhat 6.2 machines, both running TomCat
>standalone.
>On machine A, I've been testing out a system I'm developing. 
>It runs okay on
>that machine. Now I want it on machine B instead. 

Same config file also ?

>So, I move the sources to machine B (together with the build.sh script
>(which works fine on machine A) and all the other files). I 
>compile without errors, Ant moves the classes and web.xml into the correct
directories.

Ant is a fine stuff.

>BUT, 
>when I start TomCat I get a whole bunch of "cannot load servlet name:
>" messages. Looking at the other logs, It seems 
>to load and initialize the servlets okay.

>So, I try to connect to TomCat. Every servlet which does not use the
>mm.mysql db driver works ok. Those using it wont work. It just states
>"cannot load database driver". This message comes from a try 
>clause around the driver loader in each servlet. 


>Now, I've moved the mysql drivers to machine B and added the
>mm.mysql-2.0.2.bin.jar to the classpath.

mm.mysql is now at 2.0.4
Don't forget also to use a pool like Turbine-Pool on other
like DBConBroker

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




Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread Cato, Christopher

Hello.

I have two identical linux redhat 6.2 machines, both running TomCat
standalone.
On machine A, I've been testing out a system I'm developing. It runs okay on
that machine. Now I want it on machine B instead. 

So, I move the sources to machine B (together with the build.sh script
(which works fine on machine A) and all the other files). I compile without
errors, Ant moves the classes and web.xml into the correct directories.

BUT, 
when I start TomCat I get a whole bunch of "cannot load servlet name:
" messages. Looking at the other logs, It seems to load and
initialize the servlets okay.

So, I try to connect to TomCat. Every servlet which does not use the
mm.mysql db driver works ok. Those using it wont work. It just states
"cannot load database driver". This message comes from a try clause around
the driver loader in each servlet. 

Now, I've moved the mysql drivers to machine B and added the
mm.mysql-2.0.2.bin.jar to the classpath.

Why does it still fail? Any ideas? I'm stuck. *sigh*

Regards,

Christopher Cato


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




Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread Cato, Christopher

Hello.

I have two identical linux redhat 6.2 machines, both running TomCat
standalone.
On machine A, I've been testing out a system I'm developing. It runs okay on
that machine. Now I want it on machine B instead. 

So, I move the sources to machine B (together with the build.sh script
(which works fine on machine A) and all the other files). I compile without
errors, Ant moves the classes and web.xml into the correct directories.

BUT, 
when I start TomCat I get a whole bunch of "cannot load servlet name:
" messages. Looking at the other logs, It seems to load and
initialize the servlets okay.

So, I try to connect to TomCat. Every servlet which does not use the
mm.mysql db driver works ok. Those using it wont work. It just states
"cannot load database driver". This message comes from a try clause around
the driver loader in each servlet. 

Now, I've moved the mysql drivers to machine B and added the
mm.mysql-2.0.2.bin.jar to the classpath.

Why does it still fail? Any ideas? I'm stuck. *sigh*

Regards,

Christopher Cato
Rational Software

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