Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-06 Thread Nikola Milutinovic

 Works for me... I have about 10 virtual hosts sharing the same
 connection. 

That's a good thing to know, I'll modify my HOW-TO. Thanks.

Nix.



AW: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Ralph Einfeldt

Date deprecated ? Until 1.4 this class is not
deptrecated (and I guess it will not be in future 
versions).

Only all constructors and methods that try
to treat the Date as an calendar are deprecated.

It still valid to use Date with time in ms and
to do math with that.

 -Ursprüngliche Nachricht-
 Von: Phillip Morelock [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 5. Juni 2002 23:09
 An: Tomcat Users List
 Betreff: Re: Improper timing using Calendar class (JSP/servlet)
snip/
 Also, the Date class is deprecated, and the Calendar class 
 should be used
 via the concrete culture-specific subclass, in Western society this is
 GregorianCalendar.
snip/

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




Re: AW: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Phillip Morelock

 Only all constructors and methods that try
 to treat the Date as an calendar are deprecated.
 
 It still valid to use Date with time in ms and
 to do math with that.

Sorry, my mistake.  That's what I get for shooting off the old mouth without
a full understanding.

I learned long ago this class was deprecated from some guy who told me
that -- but I never read the documentation thoroughly enough, I guess.  I
saw about 90% deprecation of methods and made the wrong assumption -- that
the class was being deprecated.  The documentation for Date is very
interesting, BTW.  Just read it myself ;)

cheers
fillup


On 6/5/02 11:59 PM, Ralph Einfeldt [EMAIL PROTECTED] wrote:

 Date deprecated ? Until 1.4 this class is not
 deptrecated (and I guess it will not be in future
 versions).
 
 Only all constructors and methods that try
 to treat the Date as an calendar are deprecated.
 
 It still valid to use Date with time in ms and
 to do math with that.
 
 -Ursprüngliche Nachricht-
 Von: Phillip Morelock [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 5. Juni 2002 23:09
 An: Tomcat Users List
 Betreff: Re: Improper timing using Calendar class (JSP/servlet)
 snip/
 Also, the Date class is deprecated, and the Calendar class
 should be used
 via the concrete culture-specific subclass, in Western society this is
 GregorianCalendar.
 snip/
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




Active Directory

2002-06-06 Thread Chris Shen

i know this is kind of off the topic, but i am trying to write to an Active Directory 
using jndi in jsp. However, i have no idea how the active directory schema works. i am 
just trying to look up users. does anyone have any idea on things such as what the 
base DN should be, objectClass, and so on? thanks!

Chris


AW: Socrates (slightly off topic)

2002-06-06 Thread Ralph Einfeldt

Some open + free solutions:
- ab
  a part of the apeche web server
  http://httpd.apache.org/docs/programs/ab.html
  the best result you get with the version that is delivered with apache
2.*
- jMeter
  a part of the jakarta project
  http://jakarta.apache.org/jmeter/index.html

Just free: (No money needed)
- http://webtool.rte.microsoft.com/ (Windows)

Not free, but a 30 day evaluation copy
- http://www.paessler.com/WebStress/webstress.htm (Windows)

Or have a look at 
http://www.softwareqatest.com/qatweb1.html#LOAD
for further references

 -Ursprüngliche Nachricht-
 Von: Trenton D. Adams [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 07:53
 An: 'Tomcat Users List'
 Betreff: Socrates (slightly off topic)
 
 
 I've heard of a program called socrates that was posted to this list
 back in 2000.  It was used for testing the performance of Resin and
 Tomcat.  I would like to use it myself for testing.  Anyone here might
 know where it is?
 
 If not, anyone know of any good testing programs that access web pages
 very quickly over and over for testing purposes?
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 

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




Re: catalina-ant ReloadTask fails

2002-06-06 Thread Alexander ten Bruggencate

On Thu, 2002-06-06 at 05:36, Remy Maucherat wrote:
  As I understand thing, the reload task just tells TomCat to reload the
  war file that is in the webapp directory.
 
  It is still your responsiblity to get the WAR file to the webapp
 directory.
 
  It's a shame it doesn't support a file upload as part of the TomCat
  task, but when I get annoyed enough I guess I'll write it! (I use samba
  shares at the moment to copy to the webapp directory).
 
 The deploy task does just that (upload the WAR to the server, which then
 installs it).
 
 Of course, if you find improvements you could make, don't hesitate to
 contribute them. I suppose some documentation could be useful ;-)
 
 Remy

Is it just me or is DeployTask 100% the same as IntallTask? (I get the
same results)

right now if a web application has changed i have to do a RemoveTask and
after that a IntallTask.

I would rather have a ReloadTask that checks if the webapp is running,
removes it if so and installs the war that came with the URL.

-Alexander.



signature.asc
Description: This is a digitally signed message part


RE: using tomcat with IIS

2002-06-06 Thread Steven Sporen

Hi,
 
Apparently the answer to this is to install an ISAPI filter into IIS
which routes the requests through to Tomcat on port 8080.
 
Sounds like a hack to me, the .jsp compiler should to flexible enough to
be compiled on win32 as an ISAPI filter then it would function the same
as any other plug-in for IIS.
 
If you're really planning on running Tomcat in a production environment
I would consider putting down a *nix box - along the lines of what
tomcat is developed on.
 
Regards.
-Original Message-
From: Michael Allen [mailto:[EMAIL PROTECTED]] 
Sent: 05 June 2002 10:28
To: [EMAIL PROTECTED]
Subject: using tomcat with IIS


Gentlefolk,
 
I am sure this has been asked a million times, but...
 
I am trying to run IIS together with tomcat, and get IIS to forward .jsp
and servlet requests to tomcat.  I can get tomcat running, so that
http://localhost:8080/index.html works correctly; but I don't think that
means that IIS is forwarding, does it?  I am also having trouble
figuring out where to be servlets and whatnot once IIS *does* start
forwarding (this is surely related to my question...).  Can anyone help
me and/or point me to a clear set of instructions?
 
Thanks,
Michael
 

Michael E. Allen, Ph.D. (847)965-2932
Senior Research Scientist [EMAIL PROTECTED]
Compuational Research Group
Integrated DNA Technologies
Suite 700
8930 Gross Point Rd.
Skokie, IL 60077
 



need X running tomcat

2002-06-06 Thread Michael Reutter

Hi!

I'm running tomcat 3.3.1 on a linux box!

my servlets need some fonts to generate some images.
Now I have to do the following to start tomcat:

(no X is running)
login as root
startx 
export DISPLAY=myserver:0
tomcat.sh start

or

start xdm
login as root
tomcat.sh start

1. Am I on the right way???

2. How to automate this, so my tomcat runs after a reboot ...


thanks
michi

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




Re: catalina-ant ReloadTask fails

2002-06-06 Thread Alexander ten Bruggencate

On Thu, 2002-06-06 at 09:14, Alexander ten Bruggencate wrote:
 Is it just me or is DeployTask 100% the same as IntallTask? (I get the
 same results)
 
 right now if a web application has changed i have to do a RemoveTask and
 after that a IntallTask.
 
 I would rather have a ReloadTask that checks if the webapp is running,
 removes it if so and installs the war that came with the URL.
 
 -Alexander.

Excuse me, it was 9:00am here and I hadn't had much coffee...
the deploytask differs from installtask in the way you can deploy
remotely.

My enhancement request for reloadtask still stand...

-Alexander.



signature.asc
Description: This is a digitally signed message part


Re: Popular question

2002-06-06 Thread @Basebeans.com

Subject: Re: Popular question
From: Bruno V [EMAIL PROTECTED]
 ===
I know what you mean ...
a start point could be 
http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html

I would like to do more, but I have little time and I guess Tomcat 
peoples too.

PS: if someone know where to find the Nikola Milutinovic's howto, please 
send the URL to me, I would like to add it to my references !

Hope it helps


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




Re: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread James Williamson



Trenton D. Adams wrote:
 
 IMNSHO?
 
 In My N?? S?? Honest Opinion
 
 -Original Message-
 From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
 Sent: June 5, 2002 11:38 PM
 To: Tomcat Users List
 Subject: Re: Improper timing using Calendar class (JSP/servlet)
 
 This is the right way to go, IMNSHO.
 
 fillup

I'm sorry Fillup, this is what raised my earlier (trollish) post, you 
often seem to be feeding this list with invalid information or from what
I can gather your highly personal perspective on what's right or wrong. 

Regards, 

James

 
 On 6/5/02 5:20 PM, thorsten frank [EMAIL PROTECTED] wrote:
 
  why not use
  code
 
  long start = System.currentTimeMillis();
  // your code here
  long end = System.currentTimeMillis();
  long theTimeItTookInMillis = end - start;
 
  /code
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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




AW: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Ralph Einfeldt

Although it might be a personal view I thing this is a valid 
opinion. Listening to this list for a while I got the impression
that using declarations inside %! % is a thing, that can lead
to much trouble. Most people that are new to multithreaded 
programming or the architecture of a servlet container get
problems if they use this construct.

On the other side if you and your team knows what you do,
it's a quite legal action. But if you have a team where some 
people do the mainly html and little scripting, that don't have 
the technical background it better to avoid this as much as 
possible.

 -Ursprüngliche Nachricht-
 Von: James Williamson [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 09:55
 An: Tomcat Users List
 Betreff: Re: Improper timing using Calendar class (JSP/servlet)
 
 I'm sorry Fillup, this is what raised my earlier (trollish) post, you 
 often seem to be feeding this list with invalid information 
 or from what
 I can gather your highly personal perspective on what's right 
 or wrong. 

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




Re: Problem in Thai language

2002-06-06 Thread tom themust


 Thanks Barker, It's work now.
 
Tom.
  Bill Barker [EMAIL PROTECTED] wrote: Try request.setContentType(text/html; 
charset=UTF-8). Substitute
/UTF-8/thai-char-set/ as necessary.

- Original Message -
From: tom themust 
To: 
Sent: Wednesday, June 05, 2002 9:55 PM
Subject: Problem in Thai language



 Dear Sir,

 I write the simple Java class (compile with J2SDK 1.4.0) and running in
the command line mode it can display Thai character properly like this :-

 System.out.println(ÀÒÉÒä·Â); // in the double qoute is thai characters,
it displays thai correctly

 But, when I write the Java SERVLET class (servlet 2.3) and running on
Tomcat 4.0.3 (windowsXP Pro.). The problem is my all thai characters
displayed as ??? (question marks) in the web browser. The code is follow
:-

 out.println(ÀÒÉÒä·Â); // in the double qoute is thai characters), it
displays that character as ??



 How can I fix this problem ?

 Thanks in advance,

 Tom.



 -
 Do You Yahoo!?
 Sign-up for Video Highlights of 2002 FIFA World Cup


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



-
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup


Re: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread Phillip Morelock

On 6/6/02 12:55 AM, James Williamson [EMAIL PROTECTED] wrote:
 I'm sorry Fillup, this is what raised my earlier (trollish) post, you
 often seem to be feeding this list with invalid information or from what
 I can gather your highly personal perspective on what's right or wrong.

Fair enough!

I guess when people who are unfamiliar with the architecture ask questions
that are not Tomcat-related but jsp/servlet questions -- I opine freely,
trying to save people (perceived?) troubles that I have faced, since I have
been doing this for a while.  Perhaps I should not.  I voice no irony in
saying thisyou make a fair point.

And, FWIW, I did not take your comment as a troll.

Troll:
- 1. v   To utter a posting on Usenet designed to attract predictable
responses or flames; or, the post itself.
- 2. n   An individual who chronically trolls in sense 1; regularly posts
specious arguments, flames or personal attacks to a newsgroup, discussion
list, or in email for no other purpose than to annoy someone or disrupt a
discussion. Trolls are recognizable by the fact that they have no real
interest in learning about the topic at hand - they simply want to utter
flame bait

You are no troll, good sir.  You engage in valid discussion without fire.

In fact, I only subscribed to this list around a month or two ago, so that I
could give back to this community -- I have learned a lot from mentors
throughout my career, and I am looking for a way to give back that does not
impede my progress on my current projects that put food on the table, so to
speak.  If my opinions seem strong and (occasionally) fixed, I apologize.  I
have formed some pretty strong opinions about the architecture and about
things that tend to work and not work in Tomcat, and things that tend to
work and not work in Servlet/JSP applications.  Some of this information is
probably outdated or perhaps tied to a particular erroneously-identified
issue I have faced -- in other words I thought it was problem A but in fact
it was a hidden problem B that my workaround for A happened to luckily fix.
This happens.  I think I have been helpful, if only to some, and if only
sometimes.  Such is the best I can do.

In particular -- the issue of %! declarations at hand: in my dealings with
folks (previous to my time with this list), I found that so-called newbies
who are really quite good and experienced in other environments tend to
really want to use %! declarations all over the place.  They like this
feature, and several of the intro to jsp type of books seem to encourage
the practice.  Fair enough.  9 times out of 10 -- or maybe 6, 7 or 8 I
suppose -- the reasoning that was provided to me indicated a
misunderstanding of the JSP architectural foundation.   There probably are
many situations that I have not seen where the usage is appropriate, but it
demands a higher degree of understanding of the architecture than one would
be led to believe by its apparent simplicity.

If / when I give invalid information, or perhaps information that is more
applicable only to my personal situations and opinions, please feel free to
correct me in public, for that is what such presumptuousness deserves.  This
is within the bounds of fair play on a technical list, and certainly not
trollish.  I take your comments as completely fair.

I just wanted to stick up for myself a bit, and apologize at the same time.
A paradox.  If anyone would like to respond, let's please take this off-list
to save the inboxes and ISP's of others.

respectfully,
fillup


On 6/6/02 12:55 AM, James Williamson [EMAIL PROTECTED] wrote:

 
 
 Trenton D. Adams wrote:
 
 IMNSHO?
 
 In My N?? S?? Honest Opinion
 
 -Original Message-
 From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
 Sent: June 5, 2002 11:38 PM
 To: Tomcat Users List
 Subject: Re: Improper timing using Calendar class (JSP/servlet)
 
 This is the right way to go, IMNSHO.
 
 fillup
 
 I'm sorry Fillup, this is what raised my earlier (trollish) post, you
 often seem to be feeding this list with invalid information or from what
 I can gather your highly personal perspective on what's right or wrong.
 
 Regards, 
 
 James
 
 
 On 6/5/02 5:20 PM, thorsten frank [EMAIL PROTECTED] wrote:
 
 why not use
 code
 
 long start = System.currentTimeMillis();
 // your code here
 long end = System.currentTimeMillis();
 long theTimeItTookInMillis = end - start;
 
 /code
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




about session

2002-06-06 Thread Anibal Constante Brito

I have code in login.jsp.

jsp:useBean id=login scope=session class=jsptutorial.Login /

I thing that this object keep in memory to session remain(I have some doubt
in this things), but how can I in login.java put some object in the memory
for all session like above.

Best Regards.
Owen.

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




AW: need X running tomcat

2002-06-06 Thread Ralph Einfeldt

Better user Xvfb.

Depending on the distribution you use you can
place a start script like this in /etc/init.d or 
/etc/rc.d/init.d to start xvfb.

XVFB=/usr/X11R6/bin/Xvfb
XVFBARGS=:99 -screen 0 1024x768x24 -fbdir /var/run -ac
PIDFILE=/var/run/xvfb.pid
case $1 in
  start)
echo -n Starting virtual X frame buffer: Xvfb
start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile
--background --exec $XVFB -- $XVFBARGS
echo .
;;
  stop)
echo -n Stopping virtual X frame buffer: Xvfb
start-stop-daemon --stop --quiet --pidfile $PIDFILE
echo .
;;
  restart)
$0 stop
$0 start
;;
  *)
echo Usage: /etc/init.d/xvfb {start|stop|restart}
exit 1
esac

exit 0

This is what we use for debian.
:99 is the value for the xserver id that must be set 
in the DISPLAY env.

DISPLAY=localhost:99.0

Additionaly you have to define a link in /etc/rc?.d to this file
for the run levels where you need the Xvfb. (This is for debian,
other distributions 

For tomcat you can do the same.

 -Ursprüngliche Nachricht-
 Von: Michael Reutter [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 09:52
 An: Tomcat Users List
 Betreff: need X running tomcat
 
 
 Hi!
 
 I'm running tomcat 3.3.1 on a linux box!
 
 my servlets need some fonts to generate some images.
 Now I have to do the following to start tomcat:
 
 (no X is running)
 login as root
 startx 
 export DISPLAY=myserver:0
 tomcat.sh start
 
 or
 
 start xdm
 login as root
 tomcat.sh start
 
 1. Am I on the right way???
 
 2. How to automate this, so my tomcat runs after a reboot ...
 
 
 thanks
 michi
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 

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




AW: need X running tomcat

2002-06-06 Thread Ralph Einfeldt

Alternativly use JDK 1.4 with the headless option 
to create the images.

 -Ursprüngliche Nachricht-
 Von: Michael Reutter [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 09:52
 An: Tomcat Users List
 Betreff: need X running tomcat
 
 
 my servlets need some fonts to generate some images.
 Now I have to do the following to start tomcat:
 

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




RE: need X running tomcat

2002-06-06 Thread Wouter Boers List

Which JVM do you use? If I'm correct, this bug in the JVM is supposed to
be fixed in JVM 1.4.

Wouter

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] 
Sent: donderdag 6 juni 2002 10:47
To: Tomcat Users List
Subject: AW: need X running tomcat


Better user Xvfb.

Depending on the distribution you use you can
place a start script like this in /etc/init.d or 
/etc/rc.d/init.d to start xvfb.

XVFB=/usr/X11R6/bin/Xvfb
XVFBARGS=:99 -screen 0 1024x768x24 -fbdir /var/run -ac
PIDFILE=/var/run/xvfb.pid case $1 in
  start)
echo -n Starting virtual X frame buffer: Xvfb
start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile
--background --exec $XVFB -- $XVFBARGS
echo .
;;
  stop)
echo -n Stopping virtual X frame buffer: Xvfb
start-stop-daemon --stop --quiet --pidfile $PIDFILE
echo .
;;
  restart)
$0 stop
$0 start
;;
  *)
echo Usage: /etc/init.d/xvfb {start|stop|restart}
exit 1
esac

exit 0

This is what we use for debian.
:99 is the value for the xserver id that must be set 
in the DISPLAY env.

DISPLAY=localhost:99.0

Additionaly you have to define a link in /etc/rc?.d to this file for the
run levels where you need the Xvfb. (This is for debian, other
distributions 

For tomcat you can do the same.

 -Ursprüngliche Nachricht-
 Von: Michael Reutter [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 09:52
 An: Tomcat Users List
 Betreff: need X running tomcat
 
 
 Hi!
 
 I'm running tomcat 3.3.1 on a linux box!
 
 my servlets need some fonts to generate some images.
 Now I have to do the following to start tomcat:
 
 (no X is running)
 login as root
 startx 
 export DISPLAY=myserver:0
 tomcat.sh start
 
 or
 
 start xdm
 login as root
 tomcat.sh start
 
 1. Am I on the right way???
 
 2. How to automate this, so my tomcat runs after a reboot ...
 
 
 thanks
 michi
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 

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


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




Restricting Access to Web Resources

2002-06-06 Thread Urtzi Larrazabal



Hi friends,

I am trying to protect my application with an authentification but I don't know why my 
security constraint is ignored. When I access to the application I'm not prompted for 
a user and a password. Does anyone know what am I doing wrong?


#cd webapps/Myaplicaion/WEB-INF
#more web.xml
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;


web-app

security-constraint
web-resource-collection
web-resource-name
Restricted Area
/web-resource-name
url-pattern/Myaplication/*/url-pattern
/web-resource-collection
auth-constraint
role-nametomcat/role-name
/auth-constraint
/security-constraint


login-config
auth-methodBASIC/auth-method
realm-nameMy Secure Test Area/realm-name
/login-config

/web-app


regards,

Urtzi Larrazabal

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




RE: about session

2002-06-06 Thread chris . karema

something like 
HttpSession session = request.getSession();
session.setAttribute(login,new jsptutorial.Login())

-Original Message-
From: Anibal Constante Brito [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 09:51
To: Tomcat
Subject: about session


I have code in login.jsp.

jsp:useBean id=login scope=session class=jsptutorial.Login /

I thing that this object keep in memory to session remain(I have some doubt
in this things), but how can I in login.java put some object in the memory
for all session like above.

Best Regards.
Owen.

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


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**



AW: need X running tomcat

2002-06-06 Thread Ralph Einfeldt

It was not a bug, but a missing feature.

Yes it is solved from 1.4 on, if you use an 
additional headless option.

 -Ursprüngliche Nachricht-
 Von: Wouter Boers List [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 10:54
 An: 'Tomcat Users List'
 Betreff: RE: need X running tomcat
 
 Which JVM do you use? If I'm correct, this bug in the JVM is 
 supposed to be fixed in JVM 1.4.
 
 Wouter

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




Init object in contextServlet

2002-06-06 Thread Aline

Hi,

Can anyone tell me how to create an object instance and put it in the
servlet context at the beginning of a web application.

Is it in the web.xml that I must declare it?

thanks.
Aline
Webcaster
T +33 (0)3 28 36 25 23
F +33 (0)3 20 13 06 04
http://www.oeilpouroeil.fr
http://www.visiodrome.com


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




Re: Init object in contextServlet

2002-06-06 Thread Phillip Morelock

Hey,

Write a servlet that does this.

Extend
javax.servlet.http.HttpServlet

override the init method.

in this init method, do whatever it is you're doing.

In web.xml, declare this servlet like usual and put in a load-on-startup
tag.  

servlet
servlet-nameDataInitServlet/servlet-name
 servlet-classcom.xxx.memphis.util.DataInitServlet/servlet-class
load-on-startup5/load-on-startup
   /servlet

The number in load on startup indicates in what order to load them -- if I
recall correctly, lower numbers go first.

cheers
fillup


On 6/6/02 2:53 AM, Aline [EMAIL PROTECTED] wrote:

 Hi,
 
 Can anyone tell me how to create an object instance and put it in the
 servlet context at the beginning of a web application.
 
 Is it in the web.xml that I must declare it?
 
 thanks.
 Aline
 Webcaster
 T +33 (0)3 28 36 25 23
 F +33 (0)3 20 13 06 04
 http://www.oeilpouroeil.fr
 http://www.visiodrome.com
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET

Hi all,

Using SOLARIS 2.8, Tomcat 4.0.2 on a SUN 220R Server

Well my Tomcat engine is runnin' under a special user, let's say
wildcat.

I'm  looking for a way to automatically start this engine at system
boot, like i do with Apache.

Apache has a special way - start by root and change user to handle the
processes - to do the trick, but not Tomcat.

Does any one knows about a restriction to use smth like su wildtiger -c
'$TOMCAT_HOME/bin/startup.sh'...

Any suggestions welcome.

Jean-Luc :O)



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




Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Phillip Morelock

su -c

see
man su

Oh, wait, I see that you know that already --

For me I had to symlink to tomcat.sh and init will automatically call it
with start and stop arguments:

tomcat.sh start
and on shutdown:
tomcat.sh stop

which is essentially what startup.sh and shutdown.sh do.

This worked for me on Linux, don't know Sun, sorry.

cheers
fillup

On 6/6/02 3:05 AM, Jean-Luc BEAUDET [EMAIL PROTECTED]
wrote:

 Hi all,
 
 Using SOLARIS 2.8, Tomcat 4.0.2 on a SUN 220R Server
 
 Well my Tomcat engine is runnin' under a special user, let's say
 wildcat.
 
 I'm  looking for a way to automatically start this engine at system
 boot, like i do with Apache.
 
 Apache has a special way - start by root and change user to handle the
 processes - to do the trick, but not Tomcat.
 
 Does any one knows about a restriction to use smth like su wildtiger -c
 '$TOMCAT_HOME/bin/startup.sh'...
 
 Any suggestions welcome.
 
 Jean-Luc :O)
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Phillip Morelock

Oh and you'll probably want to define:

JAVA_HOME
CATALINA_HOME
(or TOMCAT_HOME as appropriate)

directly inside of tomcat.sh or catalina.sh

cheers
fillup


On 6/6/02 3:17 AM, Phillip Morelock [EMAIL PROTECTED]
wrote:

 su -c
 
 see
 man su
 
 Oh, wait, I see that you know that already --
 
 For me I had to symlink to tomcat.sh and init will automatically call it
 with start and stop arguments:
 
 tomcat.sh start
 and on shutdown:
 tomcat.sh stop
 
 which is essentially what startup.sh and shutdown.sh do.
 
 This worked for me on Linux, don't know Sun, sorry.
 
 cheers
 fillup
 
 On 6/6/02 3:05 AM, Jean-Luc BEAUDET [EMAIL PROTECTED]
 wrote:
 
 Hi all,
 
 Using SOLARIS 2.8, Tomcat 4.0.2 on a SUN 220R Server
 
 Well my Tomcat engine is runnin' under a special user, let's say
 wildcat.
 
 I'm  looking for a way to automatically start this engine at system
 boot, like i do with Apache.
 
 Apache has a special way - start by root and change user to handle the
 processes - to do the trick, but not Tomcat.
 
 Does any one knows about a restriction to use smth like su wildtiger -c
 '$TOMCAT_HOME/bin/startup.sh'...
 
 Any suggestions welcome.
 
 Jean-Luc :O)
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Alexander ten Bruggencate

On Thu, 2002-06-06 at 12:05, Jean-Luc BEAUDET wrote:
 Hi all,

 Well my Tomcat engine is runnin' under a special user, let's say
 wildcat.
 
 I'm  looking for a way to automatically start this engine at system
 boot, like i do with Apache.
 
 Jean-Luc :O)

here's my /etc/rc.d/initd/tomcat script.

to start oracle / tomcat / apache (in that order) with linux i just make
symbollic links like:

[/etc/rc.d/rc5.d] S82tomcat - ../init.d/tomcat 

hope that helps...
-Alexander.

#!/bin/sh
#

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

TOMCAT_HOME=/home/bruggenc/tomcat
TOMCAT_OWNER=bruggenc
export JAVA_HOME=/usr/java/j2sdk1.4.0

if [ ! -f $TOMCAT_HOME/bin/startup.sh -o ! -d $TOMCAT_HOME ]; then
echo Tomcat startup: cannot start
exit
fi

# See how we were called.
case $1 in
  start)
echo -n Starting Tomcat: 
su - $TOMCAT_OWNER -c $TOMCAT_HOME/bin/startup.sh
echo
touch /var/lock/subsys/tomcat
;;
  stop)
# Stop daemons.
echo -n Shutting down Tomcat: 
su - $TOMCAT_OWNER -c $TOMCAT_HOME/bin/shutdown.sh
echo
rm -f /var/lock/subsys/tomcat
;;
  restart)
$0 stop
$0 start
;;
  status)
;;
  *)
echo Usage: tomcat {start|stop|restart|status}
exit 1
esac

exit 0




signature.asc
Description: This is a digitally signed message part


CrossContext. Is there a easier solution?

2002-06-06 Thread Christian J. Dechery

As I can see, 
 
and for what I've tried to acomplish, this CrossContext thing is no picnic. It isn't 
easy to apply or use.
Isn't there a easier of doing this?
 
For instance, if I have a webserver and I want all the webapps to look in only one dir 
for images... how would I do that?
 
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332




Re: CrossContext. Is there a easier solution?

2002-06-06 Thread Phillip Morelock

 For instance, if I have a webserver and I want all the webapps to look in only
 one dir for images... how would I do that?

Actually, in this case at least, it should not matter.

The browser downloads the html page, and then sends subsequent requests back
to the server for images.  You could even put all your images in one context
and have all your other contexts use that for images.  There is no
connection (usually) between the request sent for the page and the requests
sent for each of the images.

The only difference would be if you need to control access to these images,
which it doesn't sound like you need to do.

I would just set up one context for images.  Turn off cookies and such for
this context, so there's absolutely no possibility of collision in terms of
session ID's, etc.  (I don't know if tomcat would send a cookie for a
static request anyhow...).

Hope this helps
fillup


On 6/6/02 5:18 AM, Christian J. Dechery [EMAIL PROTECTED] wrote:

 As I can see, 
 
 and for what I've tried to acomplish, this CrossContext thing is no picnic. It
 isn't easy to apply or use.
 Isn't there a easier of doing this?
 
 For instance, if I have a webserver and I want all the webapps to look in only
 one dir for images... how would I do that?
 
 .:| Christian J. Dechery
 .:| FINEP - Depto. de Sistemas
 .:| [EMAIL PROTECTED]
 .:| (21) 2555-0332
 
 


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




run as tomcat user

2002-06-06 Thread Urtzi Larrazabal


Hi friends !

I have installed Tomcat 3.3 on a Solaris 8 and I would like to know what sould I do to 
run as Tomcat user. If I run as root all works well but if I run as another user it 
doesn't work.
Does anyone know the permisions that I must apply?

Regards,

Urtzi Larrazabal

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




Re: run as tomcat user

2002-06-06 Thread Phillip Morelock

What port are you running the service on?

binding to ports (  1024 ) require root access, meaning port 80 if that's
what you're using.  Tomcat defaults to 8080, which a normal user can bind
to.

maybe you already knew this?  in which case, please describe your
environment a little better.

cheers,
fillup


On 6/6/02 5:39 AM, Urtzi Larrazabal [EMAIL PROTECTED] wrote:

 
 Hi friends !
 
 I have installed Tomcat 3.3 on a Solaris 8 and I would like to know what sould
 I do to run as Tomcat user. If I run as root all works well but if I run as
 another user it doesn't work.
 Does anyone know the permisions that I must apply?
 
 Regards,
 
 Urtzi Larrazabal
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




RE: Restricting Access to Web Resources

2002-06-06 Thread John Burgess

I believe the URL you want is /* 
i.e. the /MyApp is assumed since you are defining the constraint in the
MyApp context

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: Restricting Access to Web Resources




Hi friends,

I am trying to protect my application with an authentification but I don't
know why my security constraint is ignored. When I access to the application
I'm not prompted for a user and a password. Does anyone know what am I doing
wrong?


#cd webapps/Myaplicaion/WEB-INF
#more web.xml
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;


web-app

security-constraint
web-resource-collection
web-resource-name
Restricted Area
/web-resource-name
url-pattern/Myaplication/*/url-pattern
/web-resource-collection
auth-constraint
role-nametomcat/role-name
/auth-constraint
/security-constraint


login-config
auth-methodBASIC/auth-method
realm-nameMy Secure Test Area/realm-name
/login-config

/web-app


regards,

Urtzi Larrazabal

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

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




RE: new tomcat user: migrating app from resin

2002-06-06 Thread John Burgess

It would seem as if you don't have a 

web-app

/web-app

wrapping all the entries in you web.xml.  If so it should be  trivial to put
it in

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Scott Dudley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 5:00 PM
To: Tomcat Users List
Subject: Re: new tomcat user: migrating app from resin




Shapira, Yoav wrote:

Howdy,
Some more information would be nice ;)

1) Did you verify that tomcat installed correctly, e.g. by running the
examples?

yes.


2) Are there any errors in the tomcat logs relevant to parsing /
deploying / starting your web-app?

yes.

2002-06-04 16:20:52 ContextConfig[/accountaccess-4-3] Parse error in 
application web.xml
org.xml.sax.SAXParseException: Element type web-app must be declared.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java)
at 
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(X
MLValidator.java)
at 
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttribute
s(XMLValidator.java)
at 
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java)
at 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java)
at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java)
at javax.xml.parsers.SAXParser.parse(SAXParser.java)
at javax.xml.parsers.SAXParser.parse(SAXParser.java)
at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
at 
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:256)
at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
224)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

2002-06-04 16:20:52 ContextConfig[/accountaccess-4-3]: Occurred at line 
7 column 10
2002-06-04 16:20:52 ContextConfig[/accountaccess-4-3]: Marking this 
application unavailable due to previous error(s)
2002-06-04 16:20:52 StandardContext[/accountaccess-4-3]: Error 
initializing naming context for context /accountaccess-4-3
2002-06-04 16:20:52 StandardContext[/accountaccess-4-3]: Context startup 
failed due to previous errors


3) What do you mean when you say you couldn't create a context in
server.xml?

not that i couldn't create a context but that it had no affect. 
 ignorant as i am :-)  , i think the parse error above indicates the 
problem and that it will not be trivial to get out app running under 
tomcat which is unfortunate.  i really wanted to test tomcat and to 
compare performance of the two servers.



Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Scott Dudley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: new tomcat user: migrating app from resin


i've installed tomcat 4.0.3-1 from rpm and am attempting to migrate an
app that's currently running under resin.  i copied the app tree to
$CATALINA_HOME/webapps and restarted tomcat but when i attempt to

access

the app, i get a 404.  i also tried to create a context in
$CATALINA_HOME/conf/server.xml to 

Re: CrossContext. Is there a easier solution?

2002-06-06 Thread James Williamson

Christian,

If you're on a Un*x platform why not just create sym. links?

Regards,

James Williamson
www.nameonthe.net

Christian J. Dechery wrote:

 As I can see,

 and for what I've tried to acomplish, this CrossContext thing is no picnic. It isn't 
easy to apply or use.
 Isn't there a easier of doing this?

 For instance, if I have a webserver and I want all the webapps to look in only one 
dir for images... how would I do that?

 .:| Christian J. Dechery
 .:| FINEP - Depto. de Sistemas
 .:| [EMAIL PROTECTED]
 .:| (21) 2555-0332


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




AW: CrossContext. Is there a easier solution?

2002-06-06 Thread Ralph Einfeldt

There are serveral options:

- Define a context with the name images and use something 
  like /images/common/img1.gif to reference them from the 
  other contexts.

- The dirty solution for linux:

  mkdir -p /webcommon/images

  ln -s /webcommon/images /webapp1/images
  ln -s /webcommon/images /webapp2/images
  ln -s /webcommon/images /webappn/images

The first options make sense if you use tomcat stand 
alone, or want to use tomcats authorisation to access the 
images. Normally you wouldn't want to serve images from 
tomcat if you run behind a 'real' webserver.)

- If you run tomcat behind a webserver
  you can solve that by using the same document root
  for all web applications.

 -Ursprüngliche Nachricht-
 Von: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 14:19
 An: [EMAIL PROTECTED]
 Betreff: CrossContext. Is there a easier solution?
  
 For instance, if I have a webserver and I want all the 
 webapps to look in only one dir for images... how would I do that?
  

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




RE: Restricting Access to Web Resources

2002-06-06 Thread Urtzi Larrazabal

ohh!! you are right !

But now, when I try to access to my aplication I am prompted for a user and a 
password,and if I introduce tomcat user and tomcat password I can't access. Where must 
be defined the users with access permisions, I mean where must I especify the 
role-nametomcat/role-name ??
In the directory /conf/users there are some files:admin-users.xmlexample-users.xml 
 global-users.xml   tomcat-users.xml


thanks a lot !

-Original Message-
From: John Burgess [mailto:[EMAIL PROTECTED]]
Sent: jueves 6 de junio de 2002 14:54
To: Tomcat Users List
Subject: RE: Restricting Access to Web Resources


I believe the URL you want is /* 
i.e. the /MyApp is assumed since you are defining the constraint in the
MyApp context

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: Restricting Access to Web Resources




Hi friends,

I am trying to protect my application with an authentification but I don't
know why my security constraint is ignored. When I access to the application
I'm not prompted for a user and a password. Does anyone know what am I doing
wrong?


#cd webapps/Myaplicaion/WEB-INF
#more web.xml
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;


web-app

security-constraint
web-resource-collection
web-resource-name
Restricted Area
/web-resource-name
url-pattern/Myaplication/*/url-pattern
/web-resource-collection
auth-constraint
role-nametomcat/role-name
/auth-constraint
/security-constraint


login-config
auth-methodBASIC/auth-method
realm-nameMy Secure Test Area/realm-name
/login-config

/web-app


regards,

Urtzi Larrazabal

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

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

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




Re: Active Directory

2002-06-06 Thread Markus Kirsten

Check with your Active Directory documentation how to make AD accessible 
from a LDAP client. Then just access the AD tree as a normal LDAP tree.

Good hunting!


Markus

On torsdag, juni 6, 2002, at 09:17 , Chris Shen wrote:

 i know this is kind of off the topic, but i am trying to write to an 
 Active Directory using jndi in jsp. However, i have no idea how the 
 active directory schema works. i am just trying to look up users. does 
 anyone have any idea on things such as what the base DN should be, 
 objectClass, and so on? thanks!

 Chris


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




RE: Active Directory

2002-06-06 Thread Douglas, Rory

You should have a look at how your specific AD setup using ADSIEdit, it
comes with Win2K Support Tools.

Generally though, it will be something like:

Base/Root DN is: dc=mycompany,dc=com

below that there will be a Container (cn) called Users. You can place/lookup
users in there. Note that your company might also create Organizational
Units (ou) under the root DN. Users can then also be placed under there.

One way to look up Users is to search from the Root DN, using a search
filter like (objectClass=User) and a sub-tree scope SearchControls.

-Original Message-
From: Chris Shen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 3:17 AM
To: Tomcat Users List
Subject: Active Directory


i know this is kind of off the topic, but i am trying to write to an Active
Directory using jndi in jsp. However, i have no idea how the active
directory schema works. i am just trying to look up users. does anyone have
any idea on things such as what the base DN should be, objectClass, and so
on? thanks!

Chris



web application outside tomcat/webapps dir

2002-06-06 Thread D Bamud

My Platform Tomcat 4.0.3/Windows2000/JDK1.3.1.
I am new to Tomcat4.0.3

%CATALINA_HOME%\webapps is the base directory for containing web
applications. Is it mandatory to put my web applications in this directory?
Can I put my web application in say C:\mydir and configure Tomcat so that it
could pick this application. How to do it if it is possible?

Regards


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




RE: Servlet / Tomcat question

2002-06-06 Thread Shapira, Yoav

Howdy,
If your web-application is called MyApp, and your servlet class is
com.mycompany.myclass, you'd access it as
http://myserver.mydomain:myport/MyApp/servlet/com.mycompany.myclass

If you deployed to the ROOT web app, so that your context is the root
context, you would remove the /MyApp/ part from the above URL.

If you have a web.xml file (a Deployment Descriptor is a good thing to
have -- it'll become a good friend of yours ;)), you can alias the
servlet like

servlet
  servlet-nameMyServlet/servlet-name
  servlet-classcom.mycompany.myclass/servlet-class
/servlet
servlet-mapping
  servlet-nameMyServlet/servlet-name
  url-pattern/MyServlet/url-pattern
/servlet-mapping

And then you could access it as
http://myserver.mydomain:myport/MyApp/MyServlet

See the Servlet Spec (v2.3 if you're using tomcat v4.x) for what goes in
the Deployment Descriptor etc.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Scott Seidl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 9:19 PM
To: [EMAIL PROTECTED]
Subject: Servlet / Tomcat question

I'm stumped.  I have a web application (term used loosely) which was
created using Borland's JBuilder.  The servlets in this application
worked fine when I ran them in JBuilder and accessed them locally.  I
now want to place them on an Apache Tomcat web server.  I can compile
and deploy the code using ant and Tomcats manager (which also show that
the web-app is running).  The problem I have is that I don't know how
to
correctly call these servlets from the html.  With JBuilder we called
them with the following type of command:
http://localhost:8080/servlet/ltshoppingcart.cart.

Can someone give me some idea on how to call these servlets with
tomcat?
I do not have a web.xml file within my WEB-INF.  I do not quite
understand the role of this file, and how to configure it.  Any help
with either of these topics is welcome :-).

Thanks
Scot

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




Error-Handling

2002-06-06 Thread Jens Thielen

Hi,
is is possible to show the user an error/info-page while tomcat is starting?
I'm using tomcat 3.3 with Apache/1.3.22 (Unix)

Jens

 dmc news 
Sie wollen wissen wie gut Ihr Multimedia-Dienstleister ist?
dmc belegt unter den größten 50 Dienstleistern Platz 3, in der
Empfehlbarkeit Platz 2 und im Preis-Leistungs-Verhältnis
sogar Platz 1. Alle Rankings unter - http://www.benchpark.de
--
jens thielen [ mailto:[EMAIL PROTECTED]] [ http://www.dmc.de]
digital media center gmbh
marienstrasse 41 
d-70178 stuttgart (germany)
fon [49].[711].601747-50
fax [49].[711].601747-77


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




RE: web application outside tomcat/webapps dir

2002-06-06 Thread chris . karema

in server.xml, add element - where appropriate

Context path=/myapp docBase=C:/mydir debug=0 privileged=false/

the 'docBase' attribute is key

-Original Message-
From: D Bamud [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 14:34
To: [EMAIL PROTECTED]
Subject: web application outside tomcat/webapps dir


My Platform Tomcat 4.0.3/Windows2000/JDK1.3.1.
I am new to Tomcat4.0.3

%CATALINA_HOME%\webapps is the base directory for containing web
applications. Is it mandatory to put my web applications in this directory?
Can I put my web application in say C:\mydir and configure Tomcat so that it
could pick this application. How to do it if it is possible?

Regards


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


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**



Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET

Phillip Morelock a Ýcrit :

 su -c

 see
 man su

 Oh, wait, I see that you know that already --

 For me I had to symlink to tomcat.sh and init will automatically call it
 with start and stop arguments:

 tomcat.sh start
 and on shutdown:
 tomcat.sh stop

 which is essentially what startup.sh and shutdown.sh do.

 This worked for me on Linux, don't know Sun, sorry.

 cheers
 fillup

 On 6/6/02 3:05 AM, Jean-Luc BEAUDET [EMAIL PROTECTED]
 wrote:

  Hi all,
 
  Using SOLARIS 2.8, Tomcat 4.0.2 on a SUN 220R Server
 
  Well my Tomcat engine is runnin' under a special user, let's say
  wildcat.
 
  I'm  looking for a way to automatically start this engine at system
  boot, like i do with Apache.
 
  Apache has a special way - start by root and change user to handle the
  processes - to do the trick, but not Tomcat.
 
  Does any one knows about a restriction to use smth like su wildtiger -c
  '$TOMCAT_HOME/bin/startup.sh'...
 
  Any suggestions welcome.
 
  Jean-Luc :O)
 
 
 
  --
  To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 

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

Thanks for yur help.

JL :O)



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




Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET

Alexander ten Bruggencate a Ýcrit :

 On Thu, 2002-06-06 at 12:05, Jean-Luc BEAUDET wrote:
  Hi all,

  Well my Tomcat engine is runnin' under a special user, let's say
  wildcat.
 
  I'm  looking for a way to automatically start this engine at system
  boot, like i do with Apache.
 
  Jean-Luc :O)

 here's my /etc/rc.d/initd/tomcat script.

 to start oracle / tomcat / apache (in that order) with linux i just make
 symbollic links like:

 [/etc/rc.d/rc5.d] S82tomcat - ../init.d/tomcat

 hope that helps...
 -Alexander.

 #!/bin/sh
 #

 # Source function library.
 . /etc/rc.d/init.d/functions

 # Source networking configuration.
 . /etc/sysconfig/network

 TOMCAT_HOME=/home/bruggenc/tomcat
 TOMCAT_OWNER=bruggenc
 export JAVA_HOME=/usr/java/j2sdk1.4.0

 if [ ! -f $TOMCAT_HOME/bin/startup.sh -o ! -d $TOMCAT_HOME ]; then
 echo Tomcat startup: cannot start
 exit
 fi

 # See how we were called.
 case $1 in
   start)
 echo -n Starting Tomcat: 
 su - $TOMCAT_OWNER -c $TOMCAT_HOME/bin/startup.sh
 echo
 touch /var/lock/subsys/tomcat
 ;;
   stop)
 # Stop daemons.
 echo -n Shutting down Tomcat: 
 su - $TOMCAT_OWNER -c $TOMCAT_HOME/bin/shutdown.sh
 echo
 rm -f /var/lock/subsys/tomcat
 ;;
   restart)
 $0 stop
 $0 start
 ;;
   status)
 ;;
   *)
 echo Usage: tomcat {start|stop|restart|status}
 exit 1
 esac

 exit 0

   
Name: signature.asc
signature.asc   Type: application/pgp-signature
 Description: This is a digitally signed message part

Alexander,

It looks like exactly what i need.

Thank for all.

JL :O)



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




Re: AW: need X running tomcat

2002-06-06 Thread Michael Reutter

Am Donnerstag,  6. Juni 2002 11:05 schrieben Sie:
 It was not a bug, but a missing feature.

 Yes it is solved from 1.4 on, if you use an
 additional headless option.


thanks - works great!!!

michi

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




Re: run as tomcat user

2002-06-06 Thread Edam Cheeseman

just checking - are you sure Tomcat is running as root?

with 3.3 on linux the tomcat.sh script automatically calls the su command to 
change the user to tomcat before starting - is this not the same on solaris?


From: Urtzi Larrazabal [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: run as tomcat user
Date: Thu, 6 Jun 2002 14:39:10 +0200


Hi friends !

I have installed Tomcat 3.3 on a Solaris 8 and I would like to know what 
sould I do to run as Tomcat user. If I run as root all works well but if I 
run as another user it doesn't work.
Does anyone know the permisions that I must apply?

Regards,

Urtzi Larrazabal

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



_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Mod_jk Configuration

2002-06-06 Thread pjcrump

Mandrake 7.2

I want to compile mod_jk to hook Apache  tomcat together and I'm having no 
luck.  Anybody have any good URL's with instructions on how to Compile mod_jk?

Thanks


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




RE: Restricting Access to Web Resources

2002-06-06 Thread John Burgess

In the default tomcat setup (I'm assuming you're using 4.0.3) the memory
realm is declared in server.xml.  This reads users, passwords and roles from
tomcat-users.xml also in the conf directory.

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 2:12 PM
To: 'Tomcat Users List'
Subject: RE: Restricting Access to Web Resources


ohh!! you are right !

But now, when I try to access to my aplication I am prompted for a user and
a password,and if I introduce tomcat user and tomcat password I can't
access. Where must be defined the users with access permisions, I mean where
must I especify the role-nametomcat/role-name ??
In the directory /conf/users there are some files:admin-users.xml
example-users.xml  global-users.xml   tomcat-users.xml


thanks a lot !

-Original Message-
From: John Burgess [mailto:[EMAIL PROTECTED]]
Sent: jueves 6 de junio de 2002 14:54
To: Tomcat Users List
Subject: RE: Restricting Access to Web Resources


I believe the URL you want is /* 
i.e. the /MyApp is assumed since you are defining the constraint in the
MyApp context

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: Restricting Access to Web Resources




Hi friends,

I am trying to protect my application with an authentification but I don't
know why my security constraint is ignored. When I access to the application
I'm not prompted for a user and a password. Does anyone know what am I doing
wrong?


#cd webapps/Myaplicaion/WEB-INF
#more web.xml
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;


web-app

security-constraint
web-resource-collection
web-resource-name
Restricted Area
/web-resource-name
url-pattern/Myaplication/*/url-pattern
/web-resource-collection
auth-constraint
role-nametomcat/role-name
/auth-constraint
/security-constraint


login-config
auth-methodBASIC/auth-method
realm-nameMy Secure Test Area/realm-name
/login-config

/web-app


regards,

Urtzi Larrazabal

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

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

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02
 

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




can't build jakarta-tomcat-4.0/webapps/tomcat-docs/

2002-06-06 Thread Robert Priest

I guess i need to specify to use trax or xalan, and not the xslp stuff.
where?
I did not see an entry in the j-t-4.0/build.properties (.sample) file?

build-main:
[style] DEPRECATED - xslp processor is deprecated. Use trax or xalan
instead
.
[style] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor
[style] at
org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(Xsl
pLiaison.java:80)
[style] at java.lang.Class.newInstance0(Native Method)
[style] at java.lang.Class.newInstance(Class.java:237)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XS
LTProcess.java:367)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProc
ess.java:546)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess
.java:192)
[style] at org.apache.tools.ant.Task.perform(Task.java:313)
[style] at org.apache.tools.ant.Target.execute(Target.java:309)
[style] at org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)

[style] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357)
[style] at org.apache.tools.ant.Task.perform(Task.java:313)
[style] at org.apache.tools.ant.Target.execute(Target.java:309)
[style] at org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)

[style] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357)
[style] at org.apache.tools.ant.Task.perform(Task.java:313)
[style] at org.apache.tools.ant.Target.execute(Target.java:309)
[style] at org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)

[style] at
org.apache.tools.ant.Project.executeTargets(Project.java:1160
)
[style] at org.apache.tools.ant.Main.runBuild(Main.java:605)
[style] at org.apache.tools.ant.Main.start(Main.java:195)
[style] at org.apache.tools.ant.Main.main(Main.java:234)
[style] java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/XSLTProcessorF
actory
[style] at
org.apache.tools.ant.taskdefs.optional.XalanLiaison.init(Xa
lanLiaison.java:84)
[style] at java.lang.Class.newInstance0(Native Method)
[style] at java.lang.Class.newInstance(Class.java:237)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XS
LTProcess.java:370)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProc
ess.java:543)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess
.java:192)
[style] at org.apache.tools.ant.Task.perform(Task.java:313)
[style] at org.apache.tools.ant.Target.execute(Target.java:309)
[style] at org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)

[style] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357)
[style] at org.apache.tools.ant.Task.perform(Task.java:313)
[style] at org.apache.tools.ant.Target.execute(Target.java:309)
[style] at org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)

[style] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357)
[style] at org.apache.tools.ant.Task.perform(Task.java:313)
[style] at org.apache.tools.ant.Target.execute(Target.java:309)
[style] at org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)

[style] at
org.apache.tools.ant.Project.executeTargets(Project.java:1160
)
[style] at org.apache.tools.ant.Main.runBuild(Main.java:605)
[style] at org.apache.tools.ant.Main.start(Main.java:195)
[style] at org.apache.tools.ant.Main.main(Main.java:234)

BUILD FAILED
D:\Test\jakarta\cvs\jakarta-tomcat-4.0\webapps\tomcat-docs\build.xml:80:
java.la
ng.NoClassDefFoundError: javax/xml/transform/ErrorListener

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




RE: Mod_jk Configuration

2002-06-06 Thread Cameron Purdy

Try this article for help with mod_jk:
http://www.ubeans.com/tomcat/index.html

BTW - Now Tangosol Coherence 1.1.3 includes out-of-the-box support for
HTTP session replication for Tomcat 4. Drop in two JAR files, change one
line of configuration
(http://www.tangosol.com/faq-coherence.jsp#tomcat4), and Tomcat 4 is
clustered! It supports both sticky and stateless load balancing and is
compatible with Apache load balancing (mod_jk). Download a free eval
from http://www.tangosol.com/products-clustering.jsp. Development
licenses are free, and come with full source for the Tomcat 4 module.

Peace,

-
Cameron Purdy
Tangosol Inc.
http://www.tangosol.com/
-
Tangosol Coherence: Clustered Coherent Cache for J2EE
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Mod_jk Configuration

Mandrake 7.2

I want to compile mod_jk to hook Apache  tomcat together and I'm having
no 
luck.  Anybody have any good URL's with instructions on how to Compile
mod_jk?

Thanks



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




Tomcat 3.3 and LDAP

2002-06-06 Thread Urtzi Larrazabal



I would like to know if Tomcat 3.3 has the JNDIRealm feature to authentificate users 
with LDAP.


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




Re: Tomcat 3.3 and LDAP

2002-06-06 Thread Ryan

Urtzi,
Yes it does, after you set up tomcat look at
http://localhost/tomcat-docs/realm-howto.html towards
the bottom are really good instructions on how to set
up a JNDI Realm.
Ryan

--- Urtzi Larrazabal [EMAIL PROTECTED] wrote:
 
 
 I would like to know if Tomcat 3.3 has the JNDIRealm
 feature to authentificate users with LDAP.
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

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

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




Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Bührle, Martin, FCI1

Hi List,


we have built up a closed Intranet for our employees with an TOmcat (4.0.1),
Apache and WARP-Connector - Configuration 
and Apache access-control, using the LOCATION - directive from Apache.

Our Intranet - Content is served by a Tomcat-servlet.


The only problem we have, is that you can still reach the content of the
CMS-servlet under port 8080 from outside our business unit, because this
port is the standard-tomcat HTTP-Server and the apache-access-control doesnt
work in this case.

Within the closed intranet we need this tomcat-http-server for testing, so I
need an access-control feature like the Location-directive in apache,
closing the port 8080 is not a solution so far.

Does anybody know what to to?

Thanks for Your help!




Gruesse
 Martin Buehrle

_
Martin Buehrle, FCI1
EADS - European Aeronautic Defence and Space Company
Postfach 1661
85705 UNTERSCHLEISSHEIM
Telefax: +49 89 3179-8927
eMail: [EMAIL PROTECTED]
_




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




RE: Url rewrite

2002-06-06 Thread Shapira, Yoav

Howdy,
You can map servlets in your web.xml to almost any URL pattern you want.

If your webapp is installed under the ROOT context, add the following
into your web.xml:
servlet
  servlet-namefooServlet/servlet-name
  servlet-classfooName/servlet-class
/servlet
servlet-mapping
  servlet-namefooServlet/servlet-name
  url-pattern/foo/url-pattern
/servlet-mapping

See the Servlet Spec, section 11 Mapping Requests To Servlets, for
full details.

If after reading the spec you conclude it's insufficient, you can always
place simple HTML forwarding files, e.g.
html
head
meta http-equiv=REFRESH content=0; URL=/servlet/fooName
/head
/html
where you need them.

And if all the above doesn't meet your needs, you're probably better off
adding apache or another server that does fancier URL-rewriting for you
;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Colin Chalmers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 11:43 AM
To: [EMAIL PROTECTED]
Subject: Url rewrite

Hi,

I've been searching for info concerning url rewriting/mapping with
Catalina
but can't seem to find a definitive answer (except to use Apache with
mod-rewrite).

Problem

I would like to access a servlet
(http://localhost:8080/fooDir/servlet/fooName) with a *nice* name such
as
http://localhost:8080/foo

I've found info whereby server.xml can be changed to map foo to fooDir
and
something similiar in the web.xml but I have to say that I got lost in
the
mountain of answer attempts, each time proposing a (slightly) different
solution.

Can it be done? If so who can show me the light?

Thx in advance

/Colin


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


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




HELP : WebappLoader and URL.setURLStreamHandlerFactory

2002-06-06 Thread Mike Niemaz

Hi,
Is there a way not to set the stream handler factory
in Tomcat4.x?
I'm using the ibm webdav package which does it
as well and, as you probably know, only one
factory handler is allowed (true?) per JVM so 
I thought of recompiling Tomcat but first I'm having
difficulties to compile jasper and second it's a bit
dirty.
So. if you have another solution, I'd be very
grateful.

Thanx,

--mike


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




RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark

Since you are using WARP exclusively, you can remove the Tomcat-Standalone
service from your server.xml file.  After you restart Tomcat, it will no
longer be listening for HTTP requests.

-Original Message-
From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:01 PM
To: '[EMAIL PROTECTED]'
Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)


Hi List,


we have built up a closed Intranet for our employees with an TOmcat (4.0.1),
Apache and WARP-Connector - Configuration 
and Apache access-control, using the LOCATION - directive from Apache.

Our Intranet - Content is served by a Tomcat-servlet.


The only problem we have, is that you can still reach the content of the
CMS-servlet under port 8080 from outside our business unit, because this
port is the standard-tomcat HTTP-Server and the apache-access-control doesnt
work in this case.

Within the closed intranet we need this tomcat-http-server for testing, so I
need an access-control feature like the Location-directive in apache,
closing the port 8080 is not a solution so far.

Does anybody know what to to?

Thanks for Your help!




Gruesse
 Martin Buehrle

_
Martin Buehrle, FCI1
EADS - European Aeronautic Defence and Space Company
Postfach 1661
85705 UNTERSCHLEISSHEIM
Telefax: +49 89 3179-8927
eMail: [EMAIL PROTECTED]
_




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

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




Apache 1.3, Tomcat 3.2.3 SSL woes

2002-06-06 Thread Noyce, Ben W.

Greetings everyone,

We are running into some interesting scenarios with Apache 1.3, Tomcat 3.2.3, and SSL. 
 Hoping for some insight, we turn to you...

Setting:
We are running Apache 1.3 with mod_ssl on top of Linux Red Hat 7.+.  Tomcat 3.2.3 is 
configured without SSL support.  Our mod_jk.so has been compiled without EAPI.

Problem:
Intermittently during an Internet Explorer session, an SSL request will return a 'Page 
not found' error.  During a Netscape session, some SSL form posts will result in the 
printing of an HTTP header on the web page along with Hex displaced at certain points 
within the page.

Question:
What the heck is happening here?  Everything was extremely happy until the 
implementation of SSL.  Since however, SSL requests randomly get dropped or garbled - 
leading us to believe that this is a server configuration issue.  Are we correct in 
this belief?  Anywhere that we can turn?  Any ideas?

Humbly yours,

BWN

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




RE: Socrates (slightly off topic)

2002-06-06 Thread Trenton D. Adams

Great, thanks.  I'll try those out as well.

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] 
Sent: June 6, 2002 1:19 AM
To: Tomcat Users List
Subject: AW: Socrates (slightly off topic)


Some open + free solutions:
- ab
  a part of the apeche web server
  http://httpd.apache.org/docs/programs/ab.html
  the best result you get with the version that is delivered with apache
2.*
- jMeter
  a part of the jakarta project
  http://jakarta.apache.org/jmeter/index.html

Just free: (No money needed)
- http://webtool.rte.microsoft.com/ (Windows)

Not free, but a 30 day evaluation copy
- http://www.paessler.com/WebStress/webstress.htm (Windows)

Or have a look at 
http://www.softwareqatest.com/qatweb1.html#LOAD
for further references

 -Ursprüngliche Nachricht-
 Von: Trenton D. Adams [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 6. Juni 2002 07:53
 An: 'Tomcat Users List'
 Betreff: Socrates (slightly off topic)
 
 
 I've heard of a program called socrates that was posted to this list 
 back in 2000.  It was used for testing the performance of Resin and 
 Tomcat.  I would like to use it myself for testing.  Anyone here might

 know where it is?
 
 If not, anyone know of any good testing programs that access web pages

 very quickly over and over for testing purposes?
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 

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


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




RE: Socrates (slightly off topic)

2002-06-06 Thread Trenton D. Adams

Great, thanks.  Didn't even know about wget or curl.  I'll try them out.

-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]] 
Sent: June 6, 2002 12:03 AM
To: Tomcat Users List
Subject: Re: Socrates (slightly off topic)


 If not, anyone know of any good testing programs that access web pages

 very quickly over and over for testing purposes?

wget - _F_ree
curl - free
perl - _F_ree

There are commercial tools, but I haven't used one.

fillup


On 6/5/02 10:52 PM, Trenton D. Adams [EMAIL PROTECTED]
wrote:

 I've heard of a program called socrates that was posted to this list 
 back in 2000.  It was used for testing the performance of Resin and 
 Tomcat.  I would like to use it myself for testing.  Anyone here might

 know where it is?
 
 If not, anyone know of any good testing programs that access web pages

 very quickly over and over for testing purposes?
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 


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


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




AW: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Bührle, Martin, FCI1

Hi Mark,

I cannot remove the standalone-service, because I need it for testing. Due
to a bug I am not able to see changes out of my CMS-Servlet via
WARP-Connector and Apache immediately. I just can see it under Port 8080 /
Tomcat-Standalone-Server until I restart Tomcat in the night.

We will work on this bug and in the meantime we need another
access-control-solution.

Thanks for reply.


Gruesse
 Martin Buehrle

_
Martin Buehrle, FCI1
EADS - European Aeronautic Defence and Space Company
Postfach 1661
85705 UNTERSCHLEISSHEIM
Telefax: +49 89 3179-8927
eMail: [EMAIL PROTECTED]
_



 -Ursprüngliche Nachricht-
 Von:  Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Donnerstag, 6. Juni 2002 18:13
 An:   'Tomcat Users List'
 Betreff:  RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Since you are using WARP exclusively, you can remove the
 Tomcat-Standalone
 service from your server.xml file.  After you restart Tomcat, it will no
 longer be listening for HTTP requests.
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:01 PM
 To: '[EMAIL PROTECTED]'
 Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi List,
 
 
 we have built up a closed Intranet for our employees with an TOmcat
 (4.0.1),
 Apache and WARP-Connector - Configuration 
 and Apache access-control, using the LOCATION - directive from Apache.
 
 Our Intranet - Content is served by a Tomcat-servlet.
 
 
 The only problem we have, is that you can still reach the content of the
 CMS-servlet under port 8080 from outside our business unit, because this
 port is the standard-tomcat HTTP-Server and the apache-access-control
 doesnt
 work in this case.
 
 Within the closed intranet we need this tomcat-http-server for testing, so
 I
 need an access-control feature like the Location-directive in apache,
 closing the port 8080 is not a solution so far.
 
 Does anybody know what to to?
 
 Thanks for Your help!
 
 
 
 
 Gruesse
  Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

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




RE: Tomcat 3.3 and LDAP

2002-06-06 Thread Larry Isaacs

No.  Only Tomcat 4 provides JNDIRealm support.

Cheers,
Larry

 -Original Message-
 From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, June 06, 2002 11:56 AM
 To: Tomcat Users List (E-mail)
 Subject: Tomcat 3.3 and LDAP
 
 
 
 
 I would like to know if Tomcat 3.3 has the JNDIRealm feature 
 to authentificate users with LDAP.
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 

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




Urgent : Pl help : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the specified 
resource is denied.

The jakarta virtual directory has read and execute premission and the anonymous acces 
is enabled.

What should I do to get this working

Thanx
Ganesh

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




Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread BBui

Hi all,
 
When Tomcat is installed on W2K, what NT Security Role does it use to access
files?  How can I tell Tomcat4 to use NT Security?  
 
Thanks very much.
 
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
 



RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters

You can either use the tomcat-users.xml file to define users, passwords and roles 
(located in the conf folder in the root of Tomcat), or use a realm to authenticate to 
a database, either way there is really good documentation on it at the jakarta tomcat 
site, it took me about 15 min to have an authentication set up against an Access 
database, really straightforward...

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html

Geoff

Geoff Peters, BScFE, AIT  Phone  : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications  E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road  WWW: http://www.logic.bm
Hamilton, Bermuda  HM JX



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 6, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Help! I am so stuck. Tomcat NT credential


Hi all,
 
When Tomcat is installed on W2K, what NT Security Role does it use to access
files?  How can I tell Tomcat4 to use NT Security?  
 
Thanks very much.
 
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
 

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




RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread BBui

Hi,

Thanks for responding so quickly.

How about using NT User Group to authenticate access to JSP files inside a
secured directory?  (I will read the paper now but I thought I should ask.)

Thanks again.

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


-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 11:46 AM
To: Tomcat Users List
Subject: RE: Help! I am so stuck. Tomcat NT credential

You can either use the tomcat-users.xml file to define users, passwords and
roles (located in the conf folder in the root of Tomcat), or use a realm to
authenticate to a database, either way there is really good documentation on
it at the jakarta tomcat site, it took me about 15 min to have an
authentication set up against an Access database, really
straightforward...

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html

Geoff

Geoff Peters, BScFE, AIT  Phone  : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications  E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road  WWW: http://www.logic.bm
Hamilton, Bermuda  HM JX



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 6, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Help! I am so stuck. Tomcat NT credential


Hi all,
 
When Tomcat is installed on W2K, what NT Security Role does it use to access
files?  How can I tell Tomcat4 to use NT Security?  
 
Thanks very much.
 
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
 

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



Urgent : Pl help : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Can somebody help, I am clueless as to how fix it, I have searched the net 
exhaustively!

Has any one got this to work?


Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the specified 
resource is denied.

The jakarta virtual directory has read and execute premission and the anonymous acces 
is enabled.

What should I do to get this working

Thanx
Ganesh

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


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




Switching isapi configuration from jk to jk2

2002-06-06 Thread Robert Priest

Switching isapi configuration: jk to jk2?


Using: 

tc 4.0.3
IIS 5.0
W2k Server



Hello, I was wondering if you guys can help me to configure my tomcat
installation to use jk2 vs jk.


Can you tell me if the following steps are complete and correct, and fill in
any missing info?

1. copy isapi_redirector2.dll into TOMCAT_HOME/bin.

2. change ISAPI Filter in IIS Default Web Site to point from
isapi_redirect.dll to isapi_redirector2.dll

3. Modify ISAPI Filter Registry entries

-- what are the new keys and values?
-- can I use a properties file (instead of registry) yet?

4. create a  workers2.properties in TOMCAT_HOME/conf/ dir. that looks
similar to this:


logger.level=DEBUG
# That's created by default if no other channel is definedc
channel.socket.DEFAULT.port=8009
channel.socket.local_9009.port=9009
# that defines automatically a worker named
# 'tomcat1' and an 'engine' named tomcat1
channel.socket.tomcat1.host=host1.my.com
channel.socket.tomcat1.lbfactor=0.5
[uri:/examples/*]
# Automatically define the lb worker and sets balanced_workers
# for this particular uri.
engine=DEFAULT,tomcat1
[uri:/examples2/*]
# the /examples2 is only available on tomcat2
engine=tomcat1

   adding additional [uri:/WEBAPP/] entries for your wep application (under
TOMCAT_HOME/webapps).



Anything else? Do I need to make any changes to server.xml?

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




RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters

Not sure (haven't done it) - but that sounds like standard folder security issue, just 
set up a user or user group with the User Manager in windows, and change folder 
permissions on the server, but as far as making NT security mesh with Tomcat, I am 
unfamiliar with that - Tomcat uses the windows authentication in its own way (to 
authenticate against the tomcat-users.xml or the database defined in the realm), but 
integrating it with folder permissions - maybe someone else has done this?

Geoff

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 6, 2002 1:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Help! I am so stuck. Tomcat NT credential


Hi,

Thanks for responding so quickly.

How about using NT User Group to authenticate access to JSP files inside a
secured directory?  (I will read the paper now but I thought I should ask.)

Thanks again.

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


-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 11:46 AM
To: Tomcat Users List
Subject: RE: Help! I am so stuck. Tomcat NT credential

You can either use the tomcat-users.xml file to define users, passwords and
roles (located in the conf folder in the root of Tomcat), or use a realm to
authenticate to a database, either way there is really good documentation on
it at the jakarta tomcat site, it took me about 15 min to have an
authentication set up against an Access database, really
straightforward...

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html

Geoff

Geoff Peters, BScFE, AIT  Phone  : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications  E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road  WWW: http://www.logic.bm
Hamilton, Bermuda  HM JX



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 6, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Help! I am so stuck. Tomcat NT credential


Hi all,
 
When Tomcat is installed on W2K, what NT Security Role does it use to access
files?  How can I tell Tomcat4 to use NT Security?  
 
Thanks very much.
 
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
 

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

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




RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread TMotte


I think you most likely will need a COM-Java bridge. For example:
http://www.linar.com/jintegra/doc/jsp2com/





   

  [EMAIL PROTECTED] 

   To:  [EMAIL PROTECTED] 

  06/06/2002 11:56 cc: 

  AM   Subject: RE: Help!  I am so stuck.  
Tomcat NT credential
  Please respond   

  to Tomcat Users 

  List

   

   





Hi,

Thanks for responding so quickly.

How about using NT User Group to authenticate access to JSP files inside a
secured directory?  (I will read the paper now but I thought I should ask.)

Thanks again.

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


-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 11:46 AM
To: Tomcat Users List
Subject: RE: Help! I am so stuck. Tomcat NT credential

You can either use the tomcat-users.xml file to define users, passwords and
roles (located in the conf folder in the root of Tomcat), or use a realm to
authenticate to a database, either way there is really good documentation
on
it at the jakarta tomcat site, it took me about 15 min to have an
authentication set up against an Access database, really
straightforward...

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html

Geoff

Geoff Peters, BScFE, AIT  Phone  : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications  E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road  WWW: http://www.logic.bm
Hamilton, Bermuda  HM JX



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 6, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Help! I am so stuck. Tomcat NT credential


Hi all,

When Tomcat is installed on W2K, what NT Security Role does it use to
access
files?  How can I tell Tomcat4 to use NT Security?

Thanks very much.

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


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





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




RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Geoff Peters

DO you have a database with users and passwords? Or if you simply have a couple of 
users and won't need to add / remove lots of users frequently I would recommend using 
the tomcat-users.xml file, it does the job easily..

Geoff

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 6, 2002 1:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Help! I am so stuck. Tomcat NT credential


Hi,

Thanks for responding so quickly.

How about using NT User Group to authenticate access to JSP files inside a
secured directory?  (I will read the paper now but I thought I should ask.)

Thanks again.

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


-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 11:46 AM
To: Tomcat Users List
Subject: RE: Help! I am so stuck. Tomcat NT credential

You can either use the tomcat-users.xml file to define users, passwords and
roles (located in the conf folder in the root of Tomcat), or use a realm to
authenticate to a database, either way there is really good documentation on
it at the jakarta tomcat site, it took me about 15 min to have an
authentication set up against an Access database, really
straightforward...

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html

Geoff

Geoff Peters, BScFE, AIT  Phone  : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications  E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road  WWW: http://www.logic.bm
Hamilton, Bermuda  HM JX



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 6, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Help! I am so stuck. Tomcat NT credential


Hi all,
 
When Tomcat is installed on W2K, what NT Security Role does it use to access
files?  How can I tell Tomcat4 to use NT Security?  
 
Thanks very much.
 
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
 

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

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




RE: Help! I am so stuck. Tomcat NT credential

2002-06-06 Thread Reynir Hübner

Hi, 

It's possible to understand your question in two different ways, so I answer in two 
different ways.

First answer : 
  If you are running tomcat as a service you should be able to see which user it is 
that runs it (from the services dialog). If you are not running it as service it is 
using the nt user that starts it.

Second answer : 
I dont know if there is any NT-authentication realm with tomcat, but still, it's 
always possible to implement one, by implementing the interface   
org.apache.catalina.realm.RealmBase. I guess I would use JAAS to access the 
user-accounts in NT. 
http://java.sun.com/j2se/1.4/docs/guide/security/jaas/tutorials/index.html
If you are using ADSI-userbase (or Exchange 5.5 or newer) you might want to check out 
JNDI access over LDAP to ADSI. In that context you might want to take a look at 
JNDIRealm.

I suggest you read http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html


hope it helps 
-reynir


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 6. júní 2002 16:49
 To: [EMAIL PROTECTED]
 Subject: Help! I am so stuck. Tomcat NT credential
 
 
 Hi all,
  
 When Tomcat is installed on W2K, what NT Security Role does 
 it use to access
 files?  How can I tell Tomcat4 to use NT Security?  
  
 Thanks very much.
  
 Bao-Ha Dam Bui
 [EMAIL PROTECTED]
 S. Jude Medical, Inc
 651.765.1018
  
 

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




RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark

Sorry, I guess I should have read your question more closely.  :o/

If you are on Linux you can block the request using IPTables when the source
is outside your intranet.

Otherwise, you may have to write a filter that examines the server port and
requesting IP address.


-Original Message-
From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:38 PM
To: 'Tomcat Users List'
Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)


Hi Mark,

I cannot remove the standalone-service, because I need it for testing. Due
to a bug I am not able to see changes out of my CMS-Servlet via
WARP-Connector and Apache immediately. I just can see it under Port 8080 /
Tomcat-Standalone-Server until I restart Tomcat in the night.

We will work on this bug and in the meantime we need another
access-control-solution.

Thanks for reply.


Gruesse
 Martin Buehrle

_
Martin Buehrle, FCI1
EADS - European Aeronautic Defence and Space Company
Postfach 1661
85705 UNTERSCHLEISSHEIM
Telefax: +49 89 3179-8927
eMail: [EMAIL PROTECTED]
_



 -Ursprüngliche Nachricht-
 Von:  Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Donnerstag, 6. Juni 2002 18:13
 An:   'Tomcat Users List'
 Betreff:  RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Since you are using WARP exclusively, you can remove the
 Tomcat-Standalone
 service from your server.xml file.  After you restart Tomcat, it will no
 longer be listening for HTTP requests.
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:01 PM
 To: '[EMAIL PROTECTED]'
 Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi List,
 
 
 we have built up a closed Intranet for our employees with an TOmcat
 (4.0.1),
 Apache and WARP-Connector - Configuration 
 and Apache access-control, using the LOCATION - directive from Apache.
 
 Our Intranet - Content is served by a Tomcat-servlet.
 
 
 The only problem we have, is that you can still reach the content of the
 CMS-servlet under port 8080 from outside our business unit, because this
 port is the standard-tomcat HTTP-Server and the apache-access-control
 doesnt
 work in this case.
 
 Within the closed intranet we need this tomcat-http-server for testing, so
 I
 need an access-control feature like the Location-directive in apache,
 closing the port 8080 is not a solution so far.
 
 Does anybody know what to to?
 
 Thanks for Your help!
 
 
 
 
 Gruesse
  Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

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

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




4.0.1 - 4.0.3 class not found

2002-06-06 Thread Shapira, Yoav

Hi,
I have a webapp that works in Tomcat v4.0.1.  It uses JAXP, Crimson,
Xalan, so all those jars are in WEB-INF/lib.  I left the Xerces.jar as
some parts of the webapp use Xerces.

I just installed Tomcat v4.0.3 in a separate directory.  I copied my
web-app into it, same jars into WEB-INF/lib, and configured the server
as I need (basically just changed the port numbers).  Now I get the
following:
java.lang.ClassNotFoundException:
org.apache.crimson.parser.XMLReaderImpl

But the jar is in WEB-INF/lib. The class is in the jar. The jar is
readable by everyone.  The context log has a line like:
2002-06-06 12:59:00 WebappLoader[/MyApp]: Deploy JAR
/WEB-INF/lib/crimson.jar to
/home/myhome/myserverroot/webapps/MyApp/WEB-INF/lib/crimson.jar

Neither the context log nor any tomcat logs have any errors.  What's up
with this? ;)  Any help appreciated,

Yoav Shapira
Millennium ChemInformatics



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




Re: no notification when incorrect classes are specified in web.xml

2002-06-06 Thread Craig R. McClanahan



On Thu, 6 Jun 2002, tek1 wrote:

 Date: Thu, 06 Jun 2002 01:56:55 -0400
 From: tek1 [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: no notification when incorrect classes are specified in web.xml

 does anyone know which catalina class is responsible for loading the
 servlet and filter classes specified in the web.xml file?


The loading class depends on which application class you're talking about:
* Servlets - org.apache.catalina.core.StandardWrapper
* Filters - org.apache.catalina.core.ApplicationFilterConfig
* Listeners - org.apache.catalina.core.StandardContext

 i've noticed that when i start tomcat that tomcat gives no notification
 when the classes, specified in web.xml (i.e. filter-class or
 servlet-class), are not valid.

 if possible, i would like to fix this problem, i feel that it would be
 better if the class loader printed out a message when tomcat starts that
 the specified servlet/filter could not be found.


To do these checks at startup time, you'd probably want to add the
additional logic to the start() method in
org.apache.catalina.core.StandardContext - this is called as an
application is being started up, and would be the right time to log the
messages you are talking about.  From here you also have access to all of
the configuration information you need, via the
findApplicationListeners(), findFilterDefs(), and findChildren() methods.
The latter one gives you a Wrapper for each servlet definition.

If you come up with a patch that adds this functionality, could you please
post it as an attachment to an Enhancement Request in the bug tracking
system?  That way, a Tomcat committer can evaluate and apply it.

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

Craig McClanahan



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




AW: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Bührle, Martin, FCI1

Can You give me an hint how to configure the IPTables or where to read about
this?
Thanks.


Gruesse
 Martin Buehrle

_
Martin Buehrle, FCI1
EADS - European Aeronautic Defence and Space Company
LFK-Lenkflugkoerpersysteme GmbH
Postfach 1661
85705 UNTERSCHLEISSHEIM
Telefon: +49 89 3179-8460
Telefax: +49 89 3179-8927
eMail: [EMAIL PROTECTED]
_



 -Ursprüngliche Nachricht-
 Von:  Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Donnerstag, 6. Juni 2002 19:17
 An:   'Tomcat Users List'
 Betreff:  RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Sorry, I guess I should have read your question more closely.  :o/
 
 If you are on Linux you can block the request using IPTables when the
 source
 is outside your intranet.
 
 Otherwise, you may have to write a filter that examines the server port
 and
 requesting IP address.
 
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:38 PM
 To: 'Tomcat Users List'
 Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi Mark,
 
 I cannot remove the standalone-service, because I need it for testing. Due
 to a bug I am not able to see changes out of my CMS-Servlet via
 WARP-Connector and Apache immediately. I just can see it under Port 8080 /
 Tomcat-Standalone-Server until I restart Tomcat in the night.
 
 We will work on this bug and in the meantime we need another
 access-control-solution.
 
 Thanks for reply.
 
 
 Gruesse
  Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
  -Ursprüngliche Nachricht-
  Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
  Gesendet am:Donnerstag, 6. Juni 2002 18:13
  An: 'Tomcat Users List'
  Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
  
  Since you are using WARP exclusively, you can remove the
  Tomcat-Standalone
  service from your server.xml file.  After you restart Tomcat, it will no
  longer be listening for HTTP requests.
  
  -Original Message-
  From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 06, 2002 12:01 PM
  To: '[EMAIL PROTECTED]'
  Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)
  
  
  Hi List,
  
  
  we have built up a closed Intranet for our employees with an TOmcat
  (4.0.1),
  Apache and WARP-Connector - Configuration 
  and Apache access-control, using the LOCATION - directive from Apache.
  
  Our Intranet - Content is served by a Tomcat-servlet.
  
  
  The only problem we have, is that you can still reach the content of the
  CMS-servlet under port 8080 from outside our business unit, because this
  port is the standard-tomcat HTTP-Server and the apache-access-control
  doesnt
  work in this case.
  
  Within the closed intranet we need this tomcat-http-server for testing,
 so
  I
  need an access-control feature like the Location-directive in apache,
  closing the port 8080 is not a solution so far.
  
  Does anybody know what to to?
  
  Thanks for Your help!
  
  
  
  
  Gruesse
   Martin Buehrle
  
 
 _
  Martin Buehrle, FCI1
  EADS - European Aeronautic Defence and Space Company
  Postfach 1661
  85705 UNTERSCHLEISSHEIM
  Telefax: +49 89 3179-8927
  eMail: [EMAIL PROTECTED]
 
 _
  
  
  
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

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




apache 1.3.24 + mod_webapp + tomcat 4 gives me Document contains noData.

2002-06-06 Thread Kfir Ozer

I have Linux debian with apache 1.3.24 installed. i have mod_webapp
plugin cvs compiled and tomcat4 debian package installed. now tomcat4
itself works. my httpd.conf file includes: 
VirtualHost *:80
  ServerName ufk.2y.net
  WebAppConnection warpConnection warp localhost:8008
  WebAppDeploy ROOT warpConnection /

  IfModule mod_dir.c
   DirectoryIndex index.html
  /IfModule
/VirtualHost

now when i try to load jsp files i get
Document contains no data.
any ideas why?
thanks
-- 
Kfir Ozer
  ICQ: 1416041


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




RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark

Here are a couple:

http://netfilter.samba.org/documentation/

http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html


Note that IPTables is for kernel version 2.4.x, 2.2.x used IPChains (you can
find documentation on IPChains at these sites also).

HTH

-Original Message-
From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 1:43 PM
To: 'Tomcat Users List'
Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)


Can You give me an hint how to configure the IPTables or where to read about
this?
Thanks.


Gruesse
 Martin Buehrle

_
Martin Buehrle, FCI1
EADS - European Aeronautic Defence and Space Company
LFK-Lenkflugkoerpersysteme GmbH
Postfach 1661
85705 UNTERSCHLEISSHEIM
Telefon: +49 89 3179-8460
Telefax: +49 89 3179-8927
eMail: [EMAIL PROTECTED]
_



 -Ursprüngliche Nachricht-
 Von:  Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Donnerstag, 6. Juni 2002 19:17
 An:   'Tomcat Users List'
 Betreff:  RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Sorry, I guess I should have read your question more closely.  :o/
 
 If you are on Linux you can block the request using IPTables when the
 source
 is outside your intranet.
 
 Otherwise, you may have to write a filter that examines the server port
 and
 requesting IP address.
 
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:38 PM
 To: 'Tomcat Users List'
 Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi Mark,
 
 I cannot remove the standalone-service, because I need it for testing. Due
 to a bug I am not able to see changes out of my CMS-Servlet via
 WARP-Connector and Apache immediately. I just can see it under Port 8080 /
 Tomcat-Standalone-Server until I restart Tomcat in the night.
 
 We will work on this bug and in the meantime we need another
 access-control-solution.
 
 Thanks for reply.
 
 
 Gruesse
  Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
  -Ursprüngliche Nachricht-
  Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
  Gesendet am:Donnerstag, 6. Juni 2002 18:13
  An: 'Tomcat Users List'
  Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
  
  Since you are using WARP exclusively, you can remove the
  Tomcat-Standalone
  service from your server.xml file.  After you restart Tomcat, it will no
  longer be listening for HTTP requests.
  
  -Original Message-
  From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 06, 2002 12:01 PM
  To: '[EMAIL PROTECTED]'
  Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)
  
  
  Hi List,
  
  
  we have built up a closed Intranet for our employees with an TOmcat
  (4.0.1),
  Apache and WARP-Connector - Configuration 
  and Apache access-control, using the LOCATION - directive from Apache.
  
  Our Intranet - Content is served by a Tomcat-servlet.
  
  
  The only problem we have, is that you can still reach the content of the
  CMS-servlet under port 8080 from outside our business unit, because this
  port is the standard-tomcat HTTP-Server and the apache-access-control
  doesnt
  work in this case.
  
  Within the closed intranet we need this tomcat-http-server for testing,
 so
  I
  need an access-control feature like the Location-directive in apache,
  closing the port 8080 is not a solution so far.
  
  Does anybody know what to to?
  
  Thanks for Your help!
  
  
  
  
  Gruesse
   Martin Buehrle
  
 
 _
  Martin Buehrle, FCI1
  EADS - European Aeronautic Defence and Space Company
  Postfach 1661
  85705 UNTERSCHLEISSHEIM
  Telefax: +49 89 3179-8927
  eMail: [EMAIL PROTECTED]
 
 _
  
  
  
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

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

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

Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Can somebody help, I am clueless as to how fix it, I have searched the net 
exhaustively!

Has any one got this to work?


Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the specified 
resource is denied.

The jakarta virtual directory has read and execute premission and the anonymous acces 
is enabled.

What should I do to get this working

Thanx
Ganesh

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


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




RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread BBui

Have you looked in the Catalina.policy file?  I think somewhere in there you
should have a grant statement to that manager directory.

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


-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 1:06 PM
To: Tomcat Users List
Subject: Pl help : I am stuck : Getting the manager app to work with tomcat
4.0.3 and IIS 5.0

Can somebody help, I am clueless as to how fix it, I have searched the net
exhaustively!

Has any one got this to work?


Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the
specified resource is denied.

The jakarta virtual directory has read and execute premission and the
anonymous acces is enabled.

What should I do to get this working

Thanx
Ganesh

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


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



Re: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Phillip Morelock

and while you're at it, you should block 8005 as someone else pointed out
very intelligently the other day.

8005 is tomcat's control port (i don't know the official name).  If you
type:

telnet nameoftomcatserver 8005

Once you connect, type
SHUTDOWN
and hit return.

Tomcat will shut down.

So you need to block this port as well, probably from every machine except
localhost (it needs to be accessible from localhost if you want tomcat's
shutdown script to be able to shut it down!).

fillup



On 6/6/02 11:04 AM, Wagoner, Mark [EMAIL PROTECTED] wrote:

 Here are a couple:
 
 http://netfilter.samba.org/documentation/
 
 http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html
 
 
 Note that IPTables is for kernel version 2.4.x, 2.2.x used IPChains (you can
 find documentation on IPChains at these sites also).
 
 HTH
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 1:43 PM
 To: 'Tomcat Users List'
 Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Can You give me an hint how to configure the IPTables or where to read about
 this?
 Thanks.
 
 
 Gruesse
 Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 LFK-Lenkflugkoerpersysteme GmbH
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefon: +49 89 3179-8460
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
 -Ursprüngliche Nachricht-
 Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:Donnerstag, 6. Juni 2002 19:17
 An:'Tomcat Users List'
 Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Sorry, I guess I should have read your question more closely.  :o/
 
 If you are on Linux you can block the request using IPTables when the
 source
 is outside your intranet.
 
 Otherwise, you may have to write a filter that examines the server port
 and
 requesting IP address.
 
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:38 PM
 To: 'Tomcat Users List'
 Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi Mark,
 
 I cannot remove the standalone-service, because I need it for testing. Due
 to a bug I am not able to see changes out of my CMS-Servlet via
 WARP-Connector and Apache immediately. I just can see it under Port 8080 /
 Tomcat-Standalone-Server until I restart Tomcat in the night.
 
 We will work on this bug and in the meantime we need another
 access-control-solution.
 
 Thanks for reply.
 
 
 Gruesse
  Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
 -Ursprüngliche Nachricht-
 Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:Donnerstag, 6. Juni 2002 18:13
 An:'Tomcat Users List'
 Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Since you are using WARP exclusively, you can remove the
 Tomcat-Standalone
 service from your server.xml file.  After you restart Tomcat, it will no
 longer be listening for HTTP requests.
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:01 PM
 To: '[EMAIL PROTECTED]'
 Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi List,
 
 
 we have built up a closed Intranet for our employees with an TOmcat
 (4.0.1),
 Apache and WARP-Connector - Configuration
 and Apache access-control, using the LOCATION - directive from Apache.
 
 Our Intranet - Content is served by a Tomcat-servlet.
 
 
 The only problem we have, is that you can still reach the content of the
 CMS-servlet under port 8080 from outside our business unit, because this
 port is the standard-tomcat HTTP-Server and the apache-access-control
 doesnt
 work in this case.
 
 Within the closed intranet we need this tomcat-http-server for testing,
 so
 I
 need an access-control feature like the Location-directive in apache,
 closing the port 8080 is not a solution so far.
 
 Does anybody know what to to?
 
 Thanks for Your help!
 
 
 
 
 Gruesse
  Martin Buehrle
 
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 
 _
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL 

Re: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread James Williamson

Actually, you shouldn't need to, on my box it only binds itself itself to the
loopback
interface. If you're on a Un*x box try a netstat -lp -t to see the interface(s)
it's listening
on, hopefully you should see something like this:

tcp0  0 localhost:8005  *:* LISTEN
21700/java


 and while you're at it, you should block 8005 as someone else pointed out
 very intelligently the other day.

 8005 is tomcat's control port (i don't know the official name).  If you
 type:

 telnet nameoftomcatserver 8005

 Once you connect, type
 SHUTDOWN
 and hit return.

 Tomcat will shut down.

 So you need to block this port as well, probably from every machine except
 localhost (it needs to be accessible from localhost if you want tomcat's
 shutdown script to be able to shut it down!).

 fillup

 On 6/6/02 11:04 AM, Wagoner, Mark [EMAIL PROTECTED] wrote:

  Here are a couple:
 
  http://netfilter.samba.org/documentation/
 
  http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html
 
 
  Note that IPTables is for kernel version 2.4.x, 2.2.x used IPChains (you can
  find documentation on IPChains at these sites also).
 
  HTH
 
  -Original Message-
  From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 06, 2002 1:43 PM
  To: 'Tomcat Users List'
  Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
  Can You give me an hint how to configure the IPTables or where to read about
  this?
  Thanks.
 
 
  Gruesse
  Martin Buehrle
 
  _
  Martin Buehrle, FCI1
  EADS - European Aeronautic Defence and Space Company
  LFK-Lenkflugkoerpersysteme GmbH
  Postfach 1661
  85705 UNTERSCHLEISSHEIM
  Telefon: +49 89 3179-8460
  Telefax: +49 89 3179-8927
  eMail: [EMAIL PROTECTED]
  _
 
 
 
  -Ursprüngliche Nachricht-
  Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
  Gesendet am:Donnerstag, 6. Juni 2002 19:17
  An:'Tomcat Users List'
  Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
  Sorry, I guess I should have read your question more closely.  :o/
 
  If you are on Linux you can block the request using IPTables when the
  source
  is outside your intranet.
 
  Otherwise, you may have to write a filter that examines the server port
  and
  requesting IP address.
 
 
  -Original Message-
  From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 06, 2002 12:38 PM
  To: 'Tomcat Users List'
  Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
  Hi Mark,
 
  I cannot remove the standalone-service, because I need it for testing. Due
  to a bug I am not able to see changes out of my CMS-Servlet via
  WARP-Connector and Apache immediately. I just can see it under Port 8080 /
  Tomcat-Standalone-Server until I restart Tomcat in the night.
 
  We will work on this bug and in the meantime we need another
  access-control-solution.
 
  Thanks for reply.
 
 
  Gruesse
   Martin Buehrle
 
  _
  Martin Buehrle, FCI1
  EADS - European Aeronautic Defence and Space Company
  Postfach 1661
  85705 UNTERSCHLEISSHEIM
  Telefax: +49 89 3179-8927
  eMail: [EMAIL PROTECTED]
  _
 
 
 
  -Ursprüngliche Nachricht-
  Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
  Gesendet am:Donnerstag, 6. Juni 2002 18:13
  An:'Tomcat Users List'
  Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
  Since you are using WARP exclusively, you can remove the
  Tomcat-Standalone
  service from your server.xml file.  After you restart Tomcat, it will no
  longer be listening for HTTP requests.
 
  -Original Message-
  From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 06, 2002 12:01 PM
  To: '[EMAIL PROTECTED]'
  Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
  Hi List,
 
 
  we have built up a closed Intranet for our employees with an TOmcat
  (4.0.1),
  Apache and WARP-Connector - Configuration
  and Apache access-control, using the LOCATION - directive from Apache.
 
  Our Intranet - Content is served by a Tomcat-servlet.
 
 
  The only problem we have, is that you can still reach the content of the
  CMS-servlet under port 8080 from outside our business unit, because this
  port is the standard-tomcat HTTP-Server and the apache-access-control
  doesnt
  work in this case.
 
  Within the closed intranet we need this tomcat-http-server for testing,
  so
  I
  need an access-control feature like the Location-directive in apache,
  closing the port 8080 is not a solution so far.
 
  Does anybody know what to to?
 
  Thanks for Your help!
 
 
 
 
  Gruesse
   Martin Buehrle
 
 
  

file upload using POST

2002-06-06 Thread Ushakov, Sergey N

Sorry, I'm sure my question is a FAQ, but I still can't find an answer.

Does Jakarta/Tomcat have a standard facility for file upload processing
using POST?

I have searched the Tomcat 4 docs, but did not find any trace.

JGuru mentions the org.apache.tomcat.request.ParseMime class, but it seems
to be absent from present Tomcat release. And from CVS tree also.

Seems that most people use Jason Hunter's MultipartRequest . Is it the best
choice for Tomcat?

Regards,
Sergey Ushakov


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




RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Thanx for the response. The manager app does work with tomcat in standalone mode.

IT doesnt work only when I have tomcat talking to IIS.

The example app does work in this mode, only the manager app that is configured to do 
basic authentication doesnt work. 

IIS does seem to forward the request to the AJP Connector in Tomcat - but the request 
seems to be immediately rejected with the 'access to the specified resource is 
denied'. I was expecting tomcat to put the challenge/reponse box like in the regular 
case.

In the case of the Tomcat working with external webserver, is there anything extra 
that I need to do to get its basic authentication to work?

Has any one got the manager app working with Tomcat and IIS? If so can you help?

--Ganesh



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: RE: Pl help : I am stuck : Getting the manager app to work with
tomcat 4.0.3 and IIS 5.0


Have you looked in the Catalina.policy file?  I think somewhere in there you
should have a grant statement to that manager directory.

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


-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 1:06 PM
To: Tomcat Users List
Subject: Pl help : I am stuck : Getting the manager app to work with tomcat
4.0.3 and IIS 5.0

Can somebody help, I am clueless as to how fix it, I have searched the net
exhaustively!

Has any one got this to work?


Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the
specified resource is denied.

The jakarta virtual directory has read and execute premission and the
anonymous acces is enabled.

What should I do to get this working

Thanx
Ganesh

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


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

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




Re: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Phillip Morelock

good to know!

fillup


On 6/6/02 11:17 AM, James Williamson [EMAIL PROTECTED] wrote:

 Actually, you shouldn't need to, on my box it only binds itself itself to the
 loopback
 interface. If you're on a Un*x box try a netstat -lp -t to see the
 interface(s)
 it's listening
 on, hopefully you should see something like this:
 
 tcp0  0 localhost:8005  *:* LISTEN
 21700/java
 
 
 and while you're at it, you should block 8005 as someone else pointed out
 very intelligently the other day.
 
 8005 is tomcat's control port (i don't know the official name).  If you
 type:
 
 telnet nameoftomcatserver 8005
 
 Once you connect, type
 SHUTDOWN
 and hit return.
 
 Tomcat will shut down.
 
 So you need to block this port as well, probably from every machine except
 localhost (it needs to be accessible from localhost if you want tomcat's
 shutdown script to be able to shut it down!).
 
 fillup
 
 On 6/6/02 11:04 AM, Wagoner, Mark [EMAIL PROTECTED] wrote:
 
 Here are a couple:
 
 http://netfilter.samba.org/documentation/
 
 http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html
 
 
 Note that IPTables is for kernel version 2.4.x, 2.2.x used IPChains (you can
 find documentation on IPChains at these sites also).
 
 HTH
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 1:43 PM
 To: 'Tomcat Users List'
 Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Can You give me an hint how to configure the IPTables or where to read about
 this?
 Thanks.
 
 
 Gruesse
 Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 LFK-Lenkflugkoerpersysteme GmbH
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefon: +49 89 3179-8460
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
 -Ursprüngliche Nachricht-
 Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:Donnerstag, 6. Juni 2002 19:17
 An:'Tomcat Users List'
 Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Sorry, I guess I should have read your question more closely.  :o/
 
 If you are on Linux you can block the request using IPTables when the
 source
 is outside your intranet.
 
 Otherwise, you may have to write a filter that examines the server port
 and
 requesting IP address.
 
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:38 PM
 To: 'Tomcat Users List'
 Subject: AW: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi Mark,
 
 I cannot remove the standalone-service, because I need it for testing. Due
 to a bug I am not able to see changes out of my CMS-Servlet via
 WARP-Connector and Apache immediately. I just can see it under Port 8080 /
 Tomcat-Standalone-Server until I restart Tomcat in the night.
 
 We will work on this bug and in the meantime we need another
 access-control-solution.
 
 Thanks for reply.
 
 
 Gruesse
  Martin Buehrle
 
 _
 Martin Buehrle, FCI1
 EADS - European Aeronautic Defence and Space Company
 Postfach 1661
 85705 UNTERSCHLEISSHEIM
 Telefax: +49 89 3179-8927
 eMail: [EMAIL PROTECTED]
 _
 
 
 
 -Ursprüngliche Nachricht-
 Von:Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
 Gesendet am:Donnerstag, 6. Juni 2002 18:13
 An:'Tomcat Users List'
 Betreff:RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 Since you are using WARP exclusively, you can remove the
 Tomcat-Standalone
 service from your server.xml file.  After you restart Tomcat, it will no
 longer be listening for HTTP requests.
 
 -Original Message-
 From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 12:01 PM
 To: '[EMAIL PROTECTED]'
 Subject: Access-Control for Tomcat-Webserver (Version 4.0.1)
 
 
 Hi List,
 
 
 we have built up a closed Intranet for our employees with an TOmcat
 (4.0.1),
 Apache and WARP-Connector - Configuration
 and Apache access-control, using the LOCATION - directive from Apache.
 
 Our Intranet - Content is served by a Tomcat-servlet.
 
 
 The only problem we have, is that you can still reach the content of the
 CMS-servlet under port 8080 from outside our business unit, because this
 port is the standard-tomcat HTTP-Server and the apache-access-control
 doesnt
 work in this case.
 
 Within the closed intranet we need this tomcat-http-server for testing,
 so
 I
 need an access-control feature like the Location-directive in apache,
 closing the port 8080 is not a solution so far.
 
 Does anybody know what to to?
 
 Thanks for Your help!
 
 
 
 
 Gruesse
  Martin Buehrle
 
 
 

RE: file upload using POST

2002-06-06 Thread Reynir Hubner

hi, 

Tomcat does not have any standard facility for fileuploads (at least not last time I 
looked).

You need a multipart request parser. As you mentioned O'reilly provides something 
called MultiPartRequest or something like that.
You should be able to download it from their site.

I dont know if it is the best but it's free and it seems many people like using 
it. 
There are serveral others though, for my self, I thought the license to use oreilly's 
classes was not what I wanted so I implemented my own requestparser, that's not so 
complicated anyways.

hope it helps
-reynir


 -Original Message-
 From: Ushakov, Sergey N [mailto:[EMAIL PROTECTED]]
 Sent: 6. juni 2002 18:26
 To: [EMAIL PROTECTED]
 Subject: file upload using POST
 
 
 Sorry, I'm sure my question is a FAQ, but I still can't find 
 an answer.
 
 Does Jakarta/Tomcat have a standard facility for file upload 
 processing
 using POST?
 
 I have searched the Tomcat 4 docs, but did not find any trace.
 
 JGuru mentions the org.apache.tomcat.request.ParseMime class, 
 but it seems
 to be absent from present Tomcat release. And from CVS tree also.
 
 Seems that most people use Jason Hunter's MultipartRequest . 
 Is it the best
 choice for Tomcat?
 
 Regards,
 Sergey Ushakov
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 

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




Re: file upload using POST

2002-06-06 Thread Phillip Morelock

 Seems that most people use Jason Hunter's MultipartRequest . Is it the best
 choice for Tomcat?

That's what I personally use.

fillup


On 6/6/02 11:26 AM, Ushakov, Sergey N [EMAIL PROTECTED] wrote:

 Sorry, I'm sure my question is a FAQ, but I still can't find an answer.
 
 Does Jakarta/Tomcat have a standard facility for file upload processing
 using POST?
 
 I have searched the Tomcat 4 docs, but did not find any trace.
 
 JGuru mentions the org.apache.tomcat.request.ParseMime class, but it seems
 to be absent from present Tomcat release. And from CVS tree also.
 
 Seems that most people use Jason Hunter's MultipartRequest . Is it the best
 choice for Tomcat?
 
 Regards,
 Sergey Ushakov
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




New User Needs Help! java.lang.NoClassDefFoundError

2002-06-06 Thread bob McLaughlin


I have a apache (1.3.24) and tomcat(3.3.1) on Win2K.  I have Apache and
tomcat installed, and configured (i think) to the instructions in the docs.
The servlet examples work fine, however I can not run the jsp examples.
Enclosed is the error I'm seeing.  
Any Ideas?
Bob
Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:
java.lang.NoClassDefFoundError: org/apache/tomcat/logging/LogHelper
at org.apache.jasper.compiler.JspReader.(JspReader.java:96)
at
org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:288)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:159)
at
org.apache.tomcat.facade.JasperLiaison.jsp2java(JspInterceptor.java:790)
at
org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:73
1)
at
org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968
)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:87
5)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Int
erceptor.java:341)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Unknown Source)




winmail.dat
Description: application/ms-tnef

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


tomact not staring

2002-06-06 Thread puneet sachar

what ever is neede ...i have set all java homes and
catalina home..

and its picking it up also
but when it is abt to satrt the tomcat
amessage come..
bad command of file name

seriously is tomcat 4.0.4 is for Nt users
cos its written in startup.bat file ..

NT users...

plz help me
Puneet

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

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




RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Cox, Charlie

You need to define the manager app under the 'Tomcat-Apache' service as well
as under 'Tomcat-Standalone'

Charlie

 -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy 
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 2:27 PM
 To: Tomcat Users List
 Subject: RE: Pl help : I am stuck : Getting the manager app 
 to work with
 tomcat 4.0.3 and IIS 5.0
 
 
 Thanx for the response. The manager app does work with tomcat 
 in standalone mode.
 
 IT doesnt work only when I have tomcat talking to IIS.
 
 The example app does work in this mode, only the manager app 
 that is configured to do basic authentication doesnt work. 
 
 IIS does seem to forward the request to the AJP Connector in 
 Tomcat - but the request seems to be immediately rejected 
 with the 'access to the specified resource is denied'. I was 
 expecting tomcat to put the challenge/reponse box like in the 
 regular case.
 
 In the case of the Tomcat working with external webserver, is 
 there anything extra that I need to do to get its basic 
 authentication to work?
 
 Has any one got the manager app working with Tomcat and IIS? 
 If so can you help?
 
 --Ganesh
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 11:15 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Pl help : I am stuck : Getting the manager app 
 to work with
 tomcat 4.0.3 and IIS 5.0
 
 
 Have you looked in the Catalina.policy file?  I think 
 somewhere in there you
 should have a grant statement to that manager directory.
 
 Bao-Ha Dam Bui
 [EMAIL PROTECTED]
 S. Jude Medical, Inc
 651.765.1018
 
 
 -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy 
 [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, June 06, 2002 1:06 PM
 To: Tomcat Users List
 Subject: Pl help : I am stuck : Getting the manager app to 
 work with tomcat
 4.0.3 and IIS 5.0
 
 Can somebody help, I am clueless as to how fix it, I have 
 searched the net
 exhaustively!
 
 Has any one got this to work?
 
 
 Hi All, 
 
 I have setup IIS and tomcat successfully - I can get to the 
 example webapps.
 
 But when I try to access the manager app I get the message - 
 Access to the
 specified resource is denied.
 
 The jakarta virtual directory has read and execute premission and the
 anonymous acces is enabled.
 
 What should I do to get this working
 
 Thanx
 Ganesh
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: tomact not staring

2002-06-06 Thread Shapira, Yoav

Howdy,
We're going to need a bit more than that to help you ;)

1) How do you know the tomcat script is picking up your environment
variable settings?

2) 4.0.4 is beta.  I'd suggest starting out with a stable release, e.g.
4.0.3.

3) Is there any output at all to the tomcat logs, e.g. Catalina.out?  If
so, what's the output?

4) Are you trying to run it as a service, or from the command-line?

Post a big more info (and maybe spell-check ;)), and I'm sure the list
will solve your problem in no time,

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: puneet sachar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 2:56 PM
To: Tomcat Users List
Subject: tomact not staring

what ever is neede ...i have set all java homes and
catalina home..

and its picking it up also
but when it is abt to satrt the tomcat
amessage come..
bad command of file name

seriously is tomcat 4.0.4 is for Nt users
cos its written in startup.bat file ..

NT users...

plz help me
Puneet

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

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


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




Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Kevin HaleBoyes

The original message is at the end...

I'm using RedHat linux but I suspect the solution is very similar.

I've created a user tomcat4 in the already existing apache group.
Login is disabled for this user for security reasons.  The
jakarta-tomcat-4.0.3 directory is owned by root with 777 perms
on the work and logs subdirectories.  On further thought I suppose
I could have chown'd those directories to tomcat4.apache with 755
perms.

I've created a file /etc/sysconfig/tomcat4 as follows:

-%--
export JAVA_HOME=/usr/java/j2sdk1.4.0

export CATALINA_BASE=/usr/local/jakarta/jakarta-tomcat-4.0.3
export CATALINA_HOME=$CATALINA_BASE
-%--

This gets referenced/sourced in the init script which is
named /etc/rc.d/init.d/tomcat4.  It is heavily based on
the httpd init script.  It doesn't do status yet and the locking
hasn't been tested but it seems to work ok otherwise.

I then run 'chkconfig --add tomcat4' to install it in the proper
runlevel directories.  There may also be a problem with the
order on shutdown but I'm not sure.  I think I might be trying
to shutdown postgresql before tomcat which ends up blocking, so
the shutdown fails.  At least, I think that is what happens.  YMMV.

I ask one favour.  If you improve upon this script then please post
your changes as there has been a real lack of this sort of tomcat
infrastructure postings.  Now, I'm just as guilty since I meant to
post this long ago but ended up forgetting...

Kevin

-%--
#!/bin/bash
#
# Startup script for the Apache Tomcat JSP/Servlet Container
#
# chkconfig: 345 85 15
# description: Apache Tomcat is a JSP/Servlet container.  It is used to serve \
#  JSP pages and execute servlets.
# processname: XXX - fixme - XXX
# pidfile: none
# lockfile: /var/lock/subsys/tomcat4
# config: $CATALINA_HOME/conf/server.xml
# config: /etc/sysconfig/tomcat4

# Source function library.
. /etc/rc.d/init.d/functions

# Source additional OPTIONS if we have them.
if [ -f /etc/sysconfig/tomcat4 ] ; then
. /etc/sysconfig/tomcat4
fi

prog=tomcat4

start() {
echo -n $Starting $prog: 
#daemon $httpd `moduleargs` $OPTIONS
su tomcat4 ${CATALINA_HOME}/bin/catalina.sh start $21
RETVAL=$?
echo
[ $RETVAL = 0 ]  touch /var/lock/subsys/tomcat4
return $RETVAL
}
stop() {
echo -n $Stopping $prog: 
#killproc $httpd
su tomcat4 ${CATALINA_HOME}/bin/catalina.sh stop $21
RETVAL=$?
echo
[ $RETVAL = 0 ]  rm -f /var/lock/subsys/tomcat4 /var/run/tomcat4.pid
}
status() {
echo -n $Status $prog: not implemented yet!
echo
RETVAL=1
}

case $1 in
  start)
start
;;
  stop)
stop
;;
  restart)
stop
sleep 20
start
;;
  *)
echo $Usage: $prog {start|stop|restart}
exit 1
esac

exit $RETVAL

-%--



Original message follows:

Hi all,

Using SOLARIS 2.8, Tomcat 4.0.2 on a SUN 220R Server

Well my Tomcat engine is runnin' under a special user, let's say
wildcat.

I'm  looking for a way to automatically start this engine at system
boot, like i do with Apache.

Apache has a special way - start by root and change user to handle the
processes - to do the trick, but not Tomcat.

Does any one knows about a restriction to use smth like su wildtiger -c
'$TOMCAT_HOME/bin/startup.sh'...

Any suggestions welcome.

Jean-Luc :O)




__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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




Re: file upload using POST

2002-06-06 Thread Dennis Muhlestein

jakarta struts project has file upload capability but I haven't ever
looked at it.  They have an example war file too.

-Dennis

On Thu, 2002-06-06 at 12:26, Ushakov, Sergey N wrote:
 Sorry, I'm sure my question is a FAQ, but I still can't find an answer.
 
 Does Jakarta/Tomcat have a standard facility for file upload processing
 using POST?
 
 I have searched the Tomcat 4 docs, but did not find any trace.
 
 JGuru mentions the org.apache.tomcat.request.ParseMime class, but it seems
 to be absent from present Tomcat release. And from CVS tree also.
 
 Seems that most people use Jason Hunter's MultipartRequest . Is it the best
 choice for Tomcat?
 
 Regards,
 Sergey Ushakov
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



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




RE: Switching isapi configuration from jk to jk2

2002-06-06 Thread Robert Priest

Besides my other questions, does the registry entry still remain the same?

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0]

-Original Message-
From: Robert Priest [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 1:12 PM
To: 'Tomcat Users List'
Subject: Switching isapi configuration from jk to jk2


Switching isapi configuration: jk to jk2?


Using: 

tc 4.0.3
IIS 5.0
W2k Server



Hello, I was wondering if you guys can help me to configure my tomcat
installation to use jk2 vs jk.


Can you tell me if the following steps are complete and correct, and fill in
any missing info?

1. copy isapi_redirector2.dll into TOMCAT_HOME/bin.

2. change ISAPI Filter in IIS Default Web Site to point from
isapi_redirect.dll to isapi_redirector2.dll

3. Modify ISAPI Filter Registry entries

-- what are the new keys and values?
-- can I use a properties file (instead of registry) yet?

4. create a  workers2.properties in TOMCAT_HOME/conf/ dir. that looks
similar to this:


logger.level=DEBUG
# That's created by default if no other channel is definedc
channel.socket.DEFAULT.port=8009
channel.socket.local_9009.port=9009
# that defines automatically a worker named
# 'tomcat1' and an 'engine' named tomcat1
channel.socket.tomcat1.host=host1.my.com
channel.socket.tomcat1.lbfactor=0.5
[uri:/examples/*]
# Automatically define the lb worker and sets balanced_workers
# for this particular uri.
engine=DEFAULT,tomcat1
[uri:/examples2/*]
# the /examples2 is only available on tomcat2
engine=tomcat1

   adding additional [uri:/WEBAPP/] entries for your wep application (under
TOMCAT_HOME/webapps).



Anything else? Do I need to make any changes to server.xml?

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

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




Tomcat 4.0 keeps shutting itself down

2002-06-06 Thread Antoine Fagan

Tomcat 4 works fine when the service is running, but will time out at
random during the day or night when not in use.  If there is a timeout
setting for this installation please let us know.  

We have the following environment: 
Solaris 8 OS, Oracle 8i Database Server, Tomcat
4.0.

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




Help: Tomcat 4.0.3 with Windows 2000

2002-06-06 Thread Young-Jin Lee

Hi, I have a problem using Tomcat 4.0.3.
I started using Tomcat 4.0.3 as a standalone web server on my windows2000
machine, but I'm experiencing an odd problem.
I modified server.xml very little. All I did was (1) to use port 80 instead
of 8080, and (2) to turn on the servlet reloading by including
DefaultContext reloadable=true/. Then I change the content of the
content of ROOT with mine. At first, it worked. I was able to use Tomcat
4.0.3 as a web server as I wanted and I was able to test my servlet code.
So far so good, but all of a sudden, Tomcat 4.0.3 does not work. When I
tried to load my web page, I got the following error message.

Apach Tomcat/4.0.3-HTTP Status 500 -No Context configured to process this
request
type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context configured
to process this request) that prevented it from fulfilling this request

But when I switch the content of ROOT back to its original, bundled with
Tomcat distribution, it started working again.
What did I wrong with it?
It seems like that switching the content of ROOT is not the right way to use
Tomcat as a personal web server. Then what is the right way of doing it?

Thanks in advance and I'm looking forward to some solutions.

Young-Jin Lee


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




RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

I am using the AJP connector. I dont have the 'Tomcat-Apache' service at all as I dont 
connect thru WARP.

Has anybody got this working at all? Somebody should know this, pl help!

Thanx
Ganesh

-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:07 PM
To: 'Tomcat Users List'
Subject: RE: Pl help : I am stuck : Getting the manager app to work with
tomcat 4.0.3 and IIS 5.0


You need to define the manager app under the 'Tomcat-Apache' service as well
as under 'Tomcat-Standalone'

Charlie

 -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy 
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 2:27 PM
 To: Tomcat Users List
 Subject: RE: Pl help : I am stuck : Getting the manager app 
 to work with
 tomcat 4.0.3 and IIS 5.0
 
 
 Thanx for the response. The manager app does work with tomcat 
 in standalone mode.
 
 IT doesnt work only when I have tomcat talking to IIS.
 
 The example app does work in this mode, only the manager app 
 that is configured to do basic authentication doesnt work. 
 
 IIS does seem to forward the request to the AJP Connector in 
 Tomcat - but the request seems to be immediately rejected 
 with the 'access to the specified resource is denied'. I was 
 expecting tomcat to put the challenge/reponse box like in the 
 regular case.
 
 In the case of the Tomcat working with external webserver, is 
 there anything extra that I need to do to get its basic 
 authentication to work?
 
 Has any one got the manager app working with Tomcat and IIS? 
 If so can you help?
 
 --Ganesh
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 11:15 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Pl help : I am stuck : Getting the manager app 
 to work with
 tomcat 4.0.3 and IIS 5.0
 
 
 Have you looked in the Catalina.policy file?  I think 
 somewhere in there you
 should have a grant statement to that manager directory.
 
 Bao-Ha Dam Bui
 [EMAIL PROTECTED]
 S. Jude Medical, Inc
 651.765.1018
 
 
 -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy 
 [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, June 06, 2002 1:06 PM
 To: Tomcat Users List
 Subject: Pl help : I am stuck : Getting the manager app to 
 work with tomcat
 4.0.3 and IIS 5.0
 
 Can somebody help, I am clueless as to how fix it, I have 
 searched the net
 exhaustively!
 
 Has any one got this to work?
 
 
 Hi All, 
 
 I have setup IIS and tomcat successfully - I can get to the 
 example webapps.
 
 But when I try to access the manager app I get the message - 
 Access to the
 specified resource is denied.
 
 The jakarta virtual directory has read and execute premission and the
 anonymous acces is enabled.
 
 What should I do to get this working
 
 Thanx
 Ganesh
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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


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




Classpaths

2002-06-06 Thread Muñoz Ordenes Andrés (Casa Matriz)

Hi...
 
How can i do for add classes to Tomcat Classpath?... i have an application
with a X class that isn't linked cause i can't move it into lib's
directory... :(
 
Regards
 
Atte.
Andrés Muñoz O.
Fono: 690 3155

  
  _  

Andrés Muñoz Ordenes
Ingeniero de Software 
CODELCO  Jazz Fortuna Signature
http://200.72.7.181/~andmunoz/images/signature_jf!.gif 
Jazz Fortuna(c) 2001
Oficina 224 - Fono 690 3155 - Web:  http://cyber.itgo.com
http://cyber.itgo.com/



  _  


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




Re: Tomcat 4.0.3 Apache 1.3.x and Mod_WebApp on MacOSX

2002-06-06 Thread Alexander Hartner

Apologies. I have added the following to httpd.conf

#Adding Web application in Tomcat 4.0.3
WebAppConnection conn  warp  localhost:8008
WebAppDeploy ROOT  conn  /tomcat
WebAppDeploy examples  conn  /tomcat/examples
WebAppDeploy manager  conn  /tomcat/manager
WebAppDeploy webdav  conn  /tomcat/webdav
WebAppDeploy tomcat-docs  conn  /tomcat/tomcat-docs
WebAppDeploy XyloWeb conn /XyloWeb
WebAppInfo /webapp-info

as well as

LoadModule webapp_module libexec/httpd/mod_webapp.so

my server.xml file is : (I made my modifications bold)

Server port=8005 shutdown=SHUTDOWN debug=0

   Service name=Tomcat-Standalone


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

 Engine name=Standalone defaultHost=localhost debug=0

   Logger className=org.apache.catalina.logger.FileLogger
   prefix=catalina_log. suffix=.txt
   timestamp=true/

   Realm className=org.apache.catalina.realm.MemoryRealm /

   Host name=localhost debug=0 appBase=webapps 
unpackWARs=false


 Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs  prefix=localhost_access_log. 
suffix=.txt
  pattern=common/

 Logger className=org.apache.catalina.logger.FileLogger
  directory=logs  prefix=localhost_log. suffix=.txt
timestamp=true/

 Context path=/ docBase=ROOT debug=0 reloadable=true/

 Context path=/XyloWeb docBase=XyloWeb.war debug=0 
reloadable=true/

 Context path=/manager docBase=manager
  debug=0 privileged=true/

 Context path=/examples docBase=examples debug=0
  reloadable=true
   Logger className=org.apache.catalina.logger.FileLogger
  prefix=localhost_examples_log. suffix=.txt
  timestamp=true/
   Ejb   name=ejb/EmplRecord type=Entity
  home=com.wombat.empl.EmployeeRecordHome
remote=com.wombat.empl.EmployeeRecord/
   Environment name=maxExemptions type=java.lang.Integer
   value=15/
   Parameter name=context.param.name 
value=context.param.value
  override=false/
   Resource name=jdbc/EmployeeAppDb auth=SERVLET
 type=javax.sql.DataSource/
   ResourceParams name=jdbc/EmployeeAppDb
 parameternameuser/namevaluesa/value/parameter
 parameternamepassword/namevalue/value/parameter
 parameternamedriverClassName/name
   valueorg.hsql.jdbcDriver/value/parameter
 parameternamedriverName/name
   valuejdbc:HypersonicSQL:database/value/parameter
   /ResourceParams
   Resource name=mail/Session auth=Container
 type=javax.mail.Session/
   ResourceParams name=mail/Session
 parameter
   namemail.smtp.host/name
   valuelocalhost/value
 /parameter
   /ResourceParams
 /Context

   /Host

 /Engine

   /Service
   Service name=Tomcat-Apache

 Connector 
className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=75
  enableLookups=true
  acceptCount=10 debug=0/

 Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache debug=0 appBase=webapps

   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt
   timestamp=true/

   Realm className=org.apache.catalina.realm.MemoryRealm /

 /Engine

   /Service

/Server


Again, sorry for not sending all information.

Thanks
Alex


On Wednesday, June 5, 2002, at 09:54 PM, Pier Fumagalli wrote:

 Should I guess your configuration files? (Ok, a SEGV is not good, but 
 at
 least include all relevant data).

 Pier

 Alexander Hartner [EMAIL PROTECTED] wrote:

 I am having such problems running tomcat 4.0.3 on my ibook. I can get
 tomcat started, and I can access it via port 8080. I can also deploy my
 war files by copying them to the webapps directory, but updates are not
 reflected until I have restarted Tomcat. I found some advise to add
 unpackWAR=false in my server.xml file which now allows my to reload my
 application via the manager app (great), but now the mod_web_app
 complains that is cannot deploy my application. In the apache_log file
 in tomcat's log directory the error reported indicates that it cannot
 find the directory of my webapp, which no longer exist since the war
 file does not get extracted.

 Before I added the unpackWAR=false I had to restart tomcat all the 
 time,
 which resulted in a whole list of problems by itself. I keep on getting
 the error that my web app is not 

Re: Tomcat 4.0.3 Apache 1.3.x and Mod_WebApp on MacOSX

2002-06-06 Thread Pier Fumagalli

Alexander Hartner [EMAIL PROTECTED] wrote:

 Apologies. I have added the following to httpd.conf
 
 #Adding Web application in Tomcat 4.0.3
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy ROOT  conn  /tomcat
 WebAppDeploy examples  conn  /tomcat/examples
 WebAppDeploy manager  conn  /tomcat/manager
 WebAppDeploy webdav  conn  /tomcat/webdav
 WebAppDeploy tomcat-docs  conn  /tomcat/tomcat-docs
 WebAppDeploy XyloWeb conn /XyloWeb

This is wrong

WebAppDeploy XyloWeb conn /XyloWeb.war - or wherever this file is...

Pier

--
[Perl] combines all the worst aspects of C and Lisp:  a billion of different
sublanguages in  one monolithic executable.  It combines the power of C with
the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco]


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




running Tomcat on port 80 as non root

2002-06-06 Thread @Basebeans.com

Subject: running Tomcat on port 80 as non root
From: Aymeric Alibert [EMAIL PROTECTED]
 ===
I am trying to find a workaround to the fact that Tomcat cannot run as
non-root on port 80 on UNIX.

It seems that our firewall can redirect the request from port 80 to port
8080. This way, tomcat can run a non-root on port 8080.
Does anybody kows if there are some problems with that configuration?
Could this redirect confuse some proxy servers? (sending a request on 80 and
getting a response from 8080).

Thanks,

Aymeric.








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




  1   2   >