Re: Problems accessing the admin app

2005-07-13 Thread Erik Weibust
Stephen,

The admin app is no longer a part of the standard Tomcat download.

You need to go download and install it.  Obviously, you need to make
the appropriate changes to conf/tomcat-users.xml

erik

--- Stephen Caine <[EMAIL PROTECTED]> wrote:

> All,
> 
> What 'used' to work is no longer working.  Now when I attempt to  
> access Tomcat (v5.5.7) admin app, I get the following message:
> 
> "Tomcat's administration web application is no longer installed by  
> default. Download and install the "admin" package to use it."
> 
> Attempting to access 'status', returns the following message:
> 
> "The requested resource (/manager/status) is not available."
> 
> Can someone please offer some suggestions as to where and what to  
> check.  Does the home directory have to be named, "Tomcat"?  If this 
> 
> is changed, where else does this change need to be made.
> 
> Thank you,
> 
> Stephen Caine
> Soft Breeze Systems, LLC
> 
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

Erik Weibust
developer and blogger - http://erik.weibust.net
leader J2EE SIG - Dallas, TX - http://j2eesig.org

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



Re: Tomcat Book

2005-07-12 Thread Erik Weibust
You can also see a nice list of Tomcat titles on the tomcat wiki.

http://wiki.apache.org/jakarta-tomcat/Tomcat/Books

erik

--- Alon Belman <[EMAIL PROTECTED]> wrote:

> oreilly's tomcat the definitive guide is a little old now, but still
> useful, and the next edition is due out soon
> 
> additionally, one of its authors hangs out in irc.freenode.net's
> #tomcat channel and is very good about answering direct questions.
> 
> On 7/12/05, Adi Gati <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > 
> > 
> > Can anyone recommend on a good Tomcat Book?
> > 
> > 
> > 
> > Thanks.
> > 
> > 
> >
> 
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


Erik Weibust
developer and blogger - http://erik.weibust.net
leader J2EE SIG - Dallas, TX - http://j2eesig.org

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



Re: web app url config question

2005-07-12 Thread Erik Weibust
Thanks for the quick response Rob.

I saw that but was afraid that was violating some tomcat best practice.

If that is indeed the best way of configing my url then I'll roll with
it.

thx...
erik

--- Rob Hills <[EMAIL PROTECTED]> wrote:

> HI Erik,
> 
> On 11 Jul 2005 at 19:34, Erik Weibust wrote:
> 
> > i have a question that after reading the majority of the online
> docs is
> > still unanswered.
> > 
> > how can i set my tomcat url to default to a specific page in a
> webapp?
> > 
> > i.e. i would like http://localhost:8080 to load
> > http://localhost:8080/testwebapp/home.jsp.
> 
> There are a number of ways to do this.  One is listed at the bottom
> of the 
> wiki howto page:
> 
> http://wiki.apache.org/jakarta-tomcat/HowTo
> 
> HTH,
> 
> Rob Hills
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


Erik Weibust
developer and blogger - http://erik.weibust.net
leader J2EE SIG - Dallas, TX - http://j2eesig.org

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



web app url config question

2005-07-11 Thread Erik Weibust
i have a question that after reading the majority of the online docs is
still unanswered.

how can i set my tomcat url to default to a specific page in a webapp?

i.e. i would like http://localhost:8080 to load
http://localhost:8080/testwebapp/home.jsp.

is this possible?

thx...
erik

Erik Weibust
developer and blogger - http://erik.weibust.net
leader J2EE SIG - Dallas, TX - http://j2eesig.org

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



Re: issue config'ing a webapp

2005-01-05 Thread Erik Weibust
Dwayne,

Where do I set the allowLinking attribute?

Erik

--- Dwayne Ghant <[EMAIL PROTECTED]> wrote:

> Hope this helps.
> --
> Server Configuration Reference
> The Context Container
> 
> --allowLinking--
> 
> If the value of this flag is true, symlinks will be allowed inside
> the 
> web application,
> pointing to resources outside the web application base path. If not 
> specified,
> the default value of the flag is false.
> 
>  
> Erik Weibust wrote:
> 
> >I'm having a problem getting a webapp running in my instance of
> tomcat.
> > I have attached all the relevant info below.
> >
> >What I'm trying to do is use a sym link in a dir that points to a
> >"generic" version of my app.  That way I can have numerous versions
> of
> >that app on my machine and instead of having to edit the server.xml
> >every time I want to switch from one version of the app to another I
> >can just change my sym link.  When I do this I get a "Resources
> start
> >failed" error in my log files.
> >
> >Any ideas?  Do I need to provide more info?  Will Tomcat not allow a
> >sym link in the docBase of a Context element?
> >
> >Thanks...
> >Erik
> >
> >
> >from catalina.out
> >StandardContext[/mondev_ng]: Resources start failed:
> >java.lang.IllegalArgumentException: Document base
> >C:\cygwin\home\efw\cvs\MonDev_NG does not exist or is not a readable
> >directory at
>
>org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:193)
> >
> >from server.xml
> > >docBase="C:\cygwin\home\efw\cvs\MonDev_NG">
> >   
> >
> >
> >[EMAIL PROTECTED] ~/cvs$ ls -l
> >total 1
> >lrwxrwxrwx   1 efw mkgroup-l-d 18 Jan  5 12:02 MonDev_NG ->
> >MonDev_NG_20050105/
> >drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:57 MonDev_NG_20050103/
> >drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:32 MonDev_NG_20050105/
> >
> >=
> >Erik Weibust
> >http://erik.weibust.net
> >
>
>-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >  
> >
> 
> 
> -- 
> 
> Dwayne A. Ghant
> Application Developer
> Temple University
> 215.204.
> [EMAIL PROTECTED]
> 
>  
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


=
Erik Weibust
http://erik.weibust.net

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



issue config'ing a webapp

2005-01-05 Thread Erik Weibust
I'm having a problem getting a webapp running in my instance of tomcat.
 I have attached all the relevant info below.

What I'm trying to do is use a sym link in a dir that points to a
"generic" version of my app.  That way I can have numerous versions of
that app on my machine and instead of having to edit the server.xml
every time I want to switch from one version of the app to another I
can just change my sym link.  When I do this I get a "Resources start
failed" error in my log files.

Any ideas?  Do I need to provide more info?  Will Tomcat not allow a
sym link in the docBase of a Context element?

Thanks...
Erik


from catalina.out
StandardContext[/mondev_ng]: Resources start failed:
java.lang.IllegalArgumentException: Document base
C:\cygwin\home\efw\cvs\MonDev_NG does not exist or is not a readable
directory at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:193)

from server.xml

   


[EMAIL PROTECTED] ~/cvs$ ls -l
total 1
lrwxrwxrwx   1 efw mkgroup-l-d 18 Jan  5 12:02 MonDev_NG ->
MonDev_NG_20050105/
drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:57 MonDev_NG_20050103/
drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:32 MonDev_NG_20050105/

=
Erik Weibust
http://erik.weibust.net

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



RE: deploy question/problem

2003-10-30 Thread Erik Weibust
My bad.  My web.xml was in my root dir not the WEB-INF
dir.

Thanks.
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> 
> Howdy,
> Your web.xml looks fine.  What's in the tomcat error
> logs?
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-Original Message-
> >From: Erik Weibust [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, October 30, 2003 10:13 AM
> >To: [EMAIL PROTECTED]
> >Subject: deploy question/problem
> >
> >I am having a problem deploying/installing (I think
> >these words can be used interchangeably) my war
> file.
> >I am copying my war to the webapps directory of my
> >Tomcat installation (Apache Tomcat/4.1.27).  When I
> >try to access my simple servlet I get a "The
> requested
> >resource (/quiz_servlet/quizpage.html) is not
> >available." error message.  My war is named
> >quiz_servlet.war.  I am also including my web.xml.
> >
> >Thanks,
> >Erik
> >
> >
> >
> > >PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> >Application 2.3//EN"
> >"http://java.sun.com/dtd/web-app_2_3.dtd";>
> >
> >
> >  Welcome to Tomcat
> >  Here is my quiz
> servlet.
> >
> >
> >   
> > quiz
> >   
> >   
> > QuizServlet
> >   
> >   
> > question
> > What is the best
> >sport?
> >   
> >   
> > answerA
> > baseball
> >   
> >   
> > answerB
> > football
> >   
> >   
> > answerC
> > basketball
> >   
> >   
> > answerD
> >   hockey
> >   
> >   
> > correct
> > A
> >   
> > 
> >
> >
> > quiz
> > /quizpage.html
> >
> >
> >
> >
> >__
> >Do you Yahoo!?
> >Exclusive Video Premiere - Britney Spears
> >http://launch.yahoo.com/promos/britneyspears/
> >
>
>-
> >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]
> 


__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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



deploy question/problem

2003-10-30 Thread Erik Weibust
I am having a problem deploying/installing (I think
these words can be used interchangeably) my war file. 
I am copying my war to the webapps directory of my
Tomcat installation (Apache Tomcat/4.1.27).  When I
try to access my simple servlet I get a "The requested
resource (/quiz_servlet/quizpage.html) is not
available." error message.  My war is named
quiz_servlet.war.  I am also including my web.xml.

Thanks,
Erik



http://java.sun.com/dtd/web-app_2_3.dtd";>


  Welcome to Tomcat
  Here is my quiz servlet.


   
 quiz
   
   
 QuizServlet
   
   
 question
 What is the best
sport?
   
   
 answerA
 baseball
   
   
 answerB
 football
   
   
 answerC
 basketball
   
   
 answerD
  hockey
   
   
 correct
 A
   
 


quiz
/quizpage.html




__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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



Re: tomcat manager app

2003-07-09 Thread Erik Weibust
I've closed and restarted a number of times and still
no luck.  Odd that it works with two of my three
browsers.  I'd love to know if anybody else is having
this problem with Mozilla Firebird 0.6.

Thanks


--- Martin Jacobson <[EMAIL PROTECTED]> wrote:
> Erik Weibust wrote:
> > Well, I have no problem using the admin tool. 
> Could
> > there be anything else causing this?
> > 
> 
> The manager app uses BASIC authentication, rather
> than FORM (per the 
> admin app) - what happens if you close Netscape &
> re-start it? FYI 
> Netscape 7 does not show this behaviour (on Mac OS
> X).
> 
> Martin
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Re: tomcat manager app

2003-07-08 Thread Erik Weibust
Well, I have no problem using the admin tool.  Could
there be anything else causing this?

Erik
--- sander-martijn <[EMAIL PROTECTED]> wrote:
> my guess is that your browser isn't accepting the
> cookie - either 
> because of how your cookie settings are set or
> because of a bug in the 
> browser. 
> 
> I use Mozilla 1.4 and can log into the manager and
> admin apps on my 
> server without a problem.
> 
> .sander
> 
> {  Erik Weibust was saying  }:
> 
> >I sent this email about 4 hours ago and never got a
> >response.  Is this covered in a FAQ somewhere?
> >
> >Erik
> >---
> >I am unable to login to the tomcat manager app with
> >MozFirebird browser.  I added a user with the
> manager
> >role to tomcat-users.xml.  And the what really
> bothers
> >me is I CAN login with IE.  Any ideas?  Here is the
> >error I get:
> >
> > Access to the requested resource has been denied
> >
> >Thanks,
> >Erik
> >
> >__
> >Do you Yahoo!?
> >SBC Yahoo! DSL - Now only $29.95 per month!
> >http://sbc.yahoo.com
> >
>
>-
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> >  
> >
> 
> -- 
>

> I know not with what weapons World War III will be
> fought, but World War 
> IV will be fought with sticks and stones.
> - Einstein
> 
> sander-martijn <mailto:[EMAIL PROTECTED]>
> interface developer | architect
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> www.sander-martijn.com
> <http://www.sander-martijn.com>
> 
>

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


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



tomcat manager app

2003-07-08 Thread Erik Weibust
I sent this email about 4 hours ago and never got a
response.  Is this covered in a FAQ somewhere?

Erik
---
I am unable to login to the tomcat manager app with
MozFirebird browser.  I added a user with the manager
role to tomcat-users.xml.  And the what really bothers
me is I CAN login with IE.  Any ideas?  Here is the
error I get:

 Access to the requested resource has been denied

Thanks,
Erik

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



problem with tomcat manager app

2003-07-08 Thread Erik Weibust
I am unable to login to the tomcat manager app with
MozFirebird browser.  I added a user with the manager
role to tomcat-users.xml.  And the what really bothers
me is I CAN login with IE.  Any ideas?  Here is the
error I get:

 Access to the requested resource has been denied

Thanks,
Erik

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



tomcat example servlets question

2003-07-02 Thread Erik Weibust
I am looking through an old book I have titled, "JSP,
Servlets, and MySQL" that references SnoopServlet that
should be in examples.  Has this been removed?  What
was the logic?

Erik

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Re: tomcat manager servlet

2003-01-07 Thread Erik Weibust
a few more questions.  what about when i restart
tomacat, will the app i installed be present?  or will
i have to re-install it?  if i use deploy instead of
install will this eliminate the problem of
re-installing my app?

erik
--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> 
> 
> On Tue, 7 Jan 2003, Erik Weibust wrote:
> 
> > Date: Tue, 7 Jan 2003 13:05:47 -0800 (PST)
> > From: Erik Weibust <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List
> <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: tomcat manager servlet
> >
> > i am having problems grasping the differences
> between
> > the manager functions install, deploy, remove, and
> > undeploy.  when would someone use install over
> deploy?
> >  is the only difference between remove and
> undeploy
> > the fact that your files will be removed from the
> > system with undeploy?
> >
> 
> DEPLOY -- uploads a WAR to a (possibly remote)
> Tomcat installation.  With
> recent 4.1 releases, you can include a
> "META-INF/context.xml" file
> containing the  element (from server.xml)
> if you need to override
> the defaults.
> 
> INSTALL -- immediately deploys a local WAR or
> directory.  Will generally
> be faster, but must be on the same server.  I tend
> to use this for
> development because I run Tomcat on my desktop PC.
> 
> UNDEPLOY -- Use if you did a DEPLOY.
> 
> REMOVE -- Use if you did an INSTALL.
> 
> 
> > thanks,
> > erik
> >
> 
> Craig
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




tomcat manager servlet

2003-01-07 Thread Erik Weibust
i am having problems grasping the differences between
the manager functions install, deploy, remove, and
undeploy.  when would someone use install over deploy?
 is the only difference between remove and undeploy
the fact that your files will be removed from the
system with undeploy?

thanks,
erik

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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