[OT]:Re: Problems with jakarta-tomcat-5.0.28 and Slackware 10.0

2004-10-17 Thread Kevin Offet
Bart,
that box is running the stock 2.4.26 kernel without any patches. we've 
put lots of java onto it. and it all operates without problem.
** it is a small box, one cpu and one GB ram.

we've also got mandrake and suse ditros with 2.6 kernels on various 
machines. all running lots of java. all have performed wonderfully.

please remember to mark your messages as off topic when their subjects 
move away from tomcat. this is a very busy list and it is just a nice 
courtesy.

if you are having problems with sun's jre and jdk then your first 
problems (most important?) are not with tomcat.

Kevin
Bart Seresia wrote:
Hello Kevin,
Thanks for your reaction,
May i ask what kernel version you are using / including any patches you
might have added.
Best Regards,
Bart Seresia
Waasland Service Netwerk
-Original Message-
From: Kevin Offet [mailto:[EMAIL PROTECTED] 
Sent: zaterdag 16 oktober 2004 17:01
To: Tomcat Users List
Subject: Re: Problems with jakarta-tomcat-5.0.28 and Slackware 10.0

Hello Bart,
just to let you know it can be done - we have a slackware 10.0 box that 
currently has sun's SDK-java 1.4.2_05 and tomcat 5.0.28 installed, and 
working without problem. it was straight forward and easy to setup as 
per each's install instructions. no additional settings were required.

if your java setup is not correct and functioning properly that would 
have to be resolved first.

Kevin
Bart Seresia wrote:
Hello list,
I have a problem regarding tomcat-5.0.28 on my slackware 10.0 machine.
I'm working on it now for more then 2 full day's and it is getting
really fristrating. So any help would be welcome.
Here is a stat of events:
*Because the need arrose to support jsp pages i dessided to install
tomcat on my server (running apache 2.0.50)
*I downloaded the latest version of tomcat (5.0.28) and used this
howto
as guideline for the installation.
(http://www.linux.com/howtos/Apache-Compile-HOWTO/tomcat.shtml)
*After unpacking and installing tomcat in my /usr/local/ directory i
tried to start it and check it is running (like said in the howto)
*Startup seemed to work (no error output) yet i could not connect.
*After a few look for what could be the cause of this i noticed the
tomcat was not running. When looking for the cause of this I noticed
it
started up, to crach and exit just about e second later.
*After googling some time i tried several options;
*ulimit -s 2048
*export JIT_OPTIONS=-nojit
*install latest J2RE 

all of them without succes.
With the dowloads from java.sun i have even more problems. As it
appears
that those builds are broking for slackware. (Every program from the
J2RE and J2SDK gives a segmetation Fault)
I really don't know what could be the cause of this... Does anybody
have
any suggestions?
Look below for some output
Bart Seresia
Waasland Service Netwerk
[catalina.out]
[EMAIL PROTECTED]:~/jakarta-tomcat-5.0.28# cat logs/catalina.out
Oct 16, 2004 3:31:54 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 16, 2004 3:31:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1098 ms
Oct 16, 2004 3:31:54 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 16, 2004 3:31:54 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Oct 16, 2004 3:31:55 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 16, 2004 3:31:55 PM org.apache.catalina.core.StandardHost
getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Oct 16, 2004 3:31:55 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/admin.xml
[startup.sh]
[EMAIL PROTECTED]:~/jakarta-tomcat-5.0.28# ./bin/startup.sh
Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME:   /usr/lib/java
[catalina.sh debug] 
[EMAIL PROTECTED]:~/jakarta-tomcat-5.0.28# ./bin/catalina.sh debug
Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME:   /usr/lib/java
Initializing jdb ...


run
run org.apache.catalina.startup.Bootstrap start
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
VM Started:
The application has been disconnected



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

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

RE: Error Building Tomct 5.0.28 with JDK 1.5

2004-10-17 Thread Caldarale, Charles R
 From: Joe Krause [mailto:[EMAIL PROTECTED]
 Subject: Re: Error Building Tomct 5.0.28 with JDK 1.5
 
 I'm currently running/compiling Tomcat 5.0.28 against 
 the 1.4.2 JDK in our production environment.

For curiousity's sake, why are you compiling Tomcat at all?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and 
is thus for use only by the intended recipient. If you received this in error, please 
contact the sender and delete the e-mail and its attachments from all computers.

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



RE: disable Restart Persistence using the standard Manager implementation

2004-10-17 Thread Sun House
10x man! it works. u r the king!
BTW good luck with your studies 
Sun House


Shapira, Yoav [EMAIL PROTECTED] wrote:

Hi,
Case is significant. 

-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

RE: Problems with jakarta-tomcat-5.0.28 and Slackware 10.0

2004-10-17 Thread Bart Seresia
Hello Kevin,

Thanks for your reaction,

May i ask what kernel version you are using / including any patches you
might have added.

Best Regards,

Bart Seresia
Waasland Service Netwerk


-Original Message-
From: Kevin Offet [mailto:[EMAIL PROTECTED] 
Sent: zaterdag 16 oktober 2004 17:01
To: Tomcat Users List
Subject: Re: Problems with jakarta-tomcat-5.0.28 and Slackware 10.0

Hello Bart,

just to let you know it can be done - we have a slackware 10.0 box that 
currently has sun's SDK-java 1.4.2_05 and tomcat 5.0.28 installed, and 
working without problem. it was straight forward and easy to setup as 
per each's install instructions. no additional settings were required.

if your java setup is not correct and functioning properly that would 
have to be resolved first.

Kevin

Bart Seresia wrote:
 Hello list,
  
 I have a problem regarding tomcat-5.0.28 on my slackware 10.0 machine.
 I'm working on it now for more then 2 full day's and it is getting
 really fristrating. So any help would be welcome.
  
 Here is a stat of events:
  
 *Because the need arrose to support jsp pages i dessided to install
 tomcat on my server (running apache 2.0.50)
 *I downloaded the latest version of tomcat (5.0.28) and used this
howto
 as guideline for the installation.
 (http://www.linux.com/howtos/Apache-Compile-HOWTO/tomcat.shtml)
 *After unpacking and installing tomcat in my /usr/local/ directory i
 tried to start it and check it is running (like said in the howto)
 *Startup seemed to work (no error output) yet i could not connect.
 *After a few look for what could be the cause of this i noticed the
 tomcat was not running. When looking for the cause of this I noticed
it
 started up, to crach and exit just about e second later.
 *After googling some time i tried several options;
 *ulimit -s 2048
 *export JIT_OPTIONS=-nojit
 *install latest J2RE 
  
 all of them without succes.
  
 With the dowloads from java.sun i have even more problems. As it
appears
 that those builds are broking for slackware. (Every program from the
 J2RE and J2SDK gives a segmetation Fault)
  
 I really don't know what could be the cause of this... Does anybody
have
 any suggestions?
  
 Look below for some output
  
 Bart Seresia
 Waasland Service Netwerk
  
  
 [catalina.out]
 [EMAIL PROTECTED]:~/jakarta-tomcat-5.0.28# cat logs/catalina.out
 Oct 16, 2004 3:31:54 PM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8080
 Oct 16, 2004 3:31:54 PM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 1098 ms
 Oct 16, 2004 3:31:54 PM org.apache.catalina.core.StandardService start
 INFO: Starting service Catalina
 Oct 16, 2004 3:31:54 PM org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
 Oct 16, 2004 3:31:55 PM org.apache.catalina.core.StandardHost start
 INFO: XML validation disabled
 Oct 16, 2004 3:31:55 PM org.apache.catalina.core.StandardHost
 getDeployer
 INFO: Create Host deployer for direct deployment ( non-jmx )
 Oct 16, 2004 3:31:55 PM org.apache.catalina.core.StandardHostDeployer
 install
 INFO: Processing Context configuration file URL
 file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/admin.xml
  
 [startup.sh]
 [EMAIL PROTECTED]:~/jakarta-tomcat-5.0.28# ./bin/startup.sh
 Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
 Using JAVA_HOME:   /usr/lib/java
  
 [catalina.sh debug] 
 [EMAIL PROTECTED]:~/jakarta-tomcat-5.0.28# ./bin/catalina.sh debug
 Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
 Using JAVA_HOME:   /usr/lib/java
 Initializing jdb ...
 
run
 
 run org.apache.catalina.startup.Bootstrap start
 Set uncaught java.lang.Throwable
 Set deferred uncaught java.lang.Throwable
 
 VM Started:
 The application has been disconnected
  
  
  
  
 

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



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



trouble with static html using 5.5.2

2004-10-17 Thread andy davidson
Hi

I just installed the binary release of 5.5.2. do I
have to change something in a config file to so that
tomcat can server up html?

Here is my test. I created servlet foo.bar.bazServlet.
I installed it under webapps/baz. I created servlet
tags in webapps/baz/WEB-INF/web.xml

http://localhost:8080/baz works as expected.

I have a file webapps/bas/test.html

http://localhost:8080/baz/test.html causes my servlet
to run? Do I have to create some sort of mapping entry
in webapps/bas/WEB-INF/web.xml for html to work?

my servlet generates a image tag as follows
img src=images/baz.gif

i have webapps/bas/images/baz.gif installed how ever
this image is never loaded into my browser? Do I have
to create some sort of mapping entry in
webapps/bas/WEB-INF/web.xml for html to work?
 
thanks in advance

andy



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: trouble with static html using 5.5.2

2004-10-17 Thread QM
On Sun, Oct 17, 2004 at 09:23:09AM -0700, andy davidson wrote:
: I just installed the binary release of 5.5.2. do I
: have to change something in a config file to so that
: tomcat can server up html?

Not at all, as long as the context (webapp) has properly deployed.


: Here is my test. I created servlet foo.bar.bazServlet.
: I installed it under webapps/baz. I created servlet
: tags in webapps/baz/WEB-INF/web.xml

What about servlet-mapping tags?  Those are required to map the
servlet class to a (context-relative) URI.


: http://localhost:8080/baz/test.html causes my servlet
: to run? Do I have to create some sort of mapping entry
: in webapps/bas/WEB-INF/web.xml for html to work?

See above.


: my servlet generates a image tag as follows
: img src=images/baz.gif
: i have webapps/bas/images/baz.gif installed how ever
: this image is never loaded into my browser? Do I have
: to create some sort of mapping entry in
: webapps/bas/WEB-INF/web.xml for html to work?

Avoid using relative paths from a servlet.  The spec doesn't mandate how
a servlet's relative path is handled, since a servlet is a virtual
entity.


A thorough review of the servlet spec (available at java.sun.com) will
provide more insight, as should several introductory J2EE/servlet texts.

If you use JSPs instead of servlets for your presentation content, you
can use a special JSTL tag to reference context-relative links, images,
and other static content.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Error Building Tomct 5.0.28 with JDK 1.5

2004-10-17 Thread QM
On Sat, Oct 16, 2004 at 06:17:25PM -0700, Joe Krause wrote:
: I'm trying to compile Tomcat 5.0.28 from source using Sun's new JDK 1.5.

I recall seeing something along this line a few weeks (months?) ago.

I may be wrong on this -- OK, there's a good chance I'm wrong here ;) --
but I think JDK 1.5 and Tomcat 5.0.x don't get along well.  Did you
search the archives?  

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: trouble with static html using 5.5.2

2004-10-17 Thread andy davidson
please see my comments bellow

thanks

andy

--- QM [EMAIL PROTECTED] wrote:

 On Sun, Oct 17, 2004 at 09:23:09AM -0700, andy
 davidson wrote:


 
 : Here is my test. I created servlet
 foo.bar.bazServlet.
 : I installed it under webapps/baz. I created
 servlet
 : tags in webapps/baz/WEB-INF/web.xml
 

http://localhost:8080/baz works as expected

 What about servlet-mapping tags?  Those are
 required to map the
 servlet class to a (context-relative) URI.
 
 
 : http://localhost:8080/baz/test.html causes my
 servlet
 : to run? Do I have to create some sort of mapping
 entry
 : in webapps/bas/WEB-INF/web.xml for html to work?
 



here is my web.xml file. What am I missing?

web-app
servlet
servlet-namebaz/servlet-name
   
servlet-classfoo.bar.bazServlet/servlet-class
/servlet

servlet-mapping
servlet-namebaz/servlet-name
 url-pattern//url-pattern
/servlet-mapping

/web-app

My guess is I need some sort of url-pattern that maps
/baz/* to /baz/*. What would the syntax be? this is
not a servlet thing? where can I find a dtd for
web.xml?

thanks andy









__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



Tomcat 5.0.27 with JAVA 1_4_2_05 - Can you automate JAVA install ?

2004-10-17 Thread Hensley, Doug
I have a vendor's app on its own server hosted by Tomcat 5.0.27 with JAVA 1_4_2_05.  
The app will not run if JAVA is not on the login person's machine.  

Can anyone share a standard script for the home page which will check to see if the 
client's machine has JAVA and if not, autoinstall it (prompting them for permission of 
course).

Thanks in advance for any suggestions.  Please feel free to email me in private if 
that is your preference.

Doug



Disclaimer:
This electronic message, including any attachments, is confidential and intended 
solely for use of the intended recipient(s). This message may contain information that 
is privileged or otherwise protected from disclosure by applicable law. Any 
unauthorized disclosure, dissemination, use or reproduction is strictly prohibited. If 
you have received this message in error, please delete it and notify the sender 
immediately. 




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



how to get relative URL to work with 5.5.2?

2004-10-17 Thread andy davidson
Hi

I have a simple sevlet that generates img. I can not
get the images to load? I read the servlet essential
tutorial at sun.com, but that did not help. To try to
figure what was going on I turned on the dumper. Here
is my file layout

webapps/MyBookmarks/images/*.gif
webapps/MyBookmarks/WEB-INF/web.xml
webapps/MyBookmarks/WEB-INF/classes/com/.../MyBookmarks/MyBookmarksServlet.class

http://localhost:8080/MyBookmarks runs my servlet as
expected

looking at the output of the dump, I see
request URI = /MyBookmarks
servletPath=/
status=200

my servlet generates two tags as follows neither of
these work. (I have tried many other ways)

img src=MyBookmarks/images/close.gif

dump output
request URI=/MyBookmarks/images/close.gif
contextpath=/MyBookmarks
header=refer=http://localhost:8080/MyBookmarks
servletPath=/images/close.gif
status=200
method=get
pathinfo=null

status=200?? the image did not load! I even hit the
reload button on my web browser

img src=/images/open.gif
dump output
request URI=/images/openFolder.gif
contextPath=
servletpath=/images/close.gif
status=400


here is my web.xml file

web-app
servlet
servlet-nameMyBookmarks/servlet-name
   
servlet-classcom.sharkBiteRight.MyBookmarks.MyBookmarksServlet/servlet-class
/servlet

servlet-mapping
servlet-nameMyBookmarks/servlet-name
!--
http://localhost:8080/MyBookmarks/MyBookmarks works
 url-pattern/MyBookmarks/url-pattern
--

!-- http://localhost:8080/MyBookmarks works
--
 url-pattern//url-pattern
/servlet-mapping
/web-app

thanks in advance

andy




__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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



Re: trouble with static html using 5.5.2

2004-10-17 Thread QM
On Sun, Oct 17, 2004 at 12:22:39PM -0700, andy davidson wrote:
: http://localhost:8080/baz works as expected

Probably not.  Read on:


: servlet-mapping
: servlet-namebaz/servlet-name
:  url-pattern//url-pattern
: /servlet-mapping

That's probably not the pattern you meant; it will fire the baz
servlet for *any* request to your webapp that isn't otherwise mapped.
It's known as the default servlet.

Try it: request
http://{your server}/baz/something
http://{your server}/baz/something/else

... ad infinitum (and ad nauseam)...


: My guess is I need some sort of url-pattern that maps
: /baz/* to /baz/*. What would the syntax be? this is
: not a servlet thing? where can I find a dtd for
: web.xml?

There's no need to guess: all of this and more is explained in the
servlet spec (and any worthwhile servlet text), as I mentioned in my
previous message. ;)  For example, your mapping question is explained in
SRV.11.2 Specification of Mappings.

Here's a hint: your web.xml should at least include a prologue, which
specifies the servlet spec 2.3 DTD (for Tomcat 4.x and earlier) or the
2.4 schema (for Tomcat 5.x and later).


-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Tomcat 5.0.27 with JAVA 1_4_2_05 - Can you automate JAVA install ?

2004-10-17 Thread QM
On Sun, Oct 17, 2004 at 03:57:16PM -0500, Hensley, Doug wrote:
: I have a vendor's app on its own server hosted by Tomcat 5.0.27 with JAVA
: 1_4_2_05.  The app will not run if JAVA is not on the login person's machine.

So this is a two-piece app: one part runs inside Tomcat on your server,
the other in an applet on the end-user's machine?

If not, then the rest of my message is complete rubbish. ;)


: Can anyone share a standard script for the home page which will check to see
: if the client's machine has JAVA and if not, autoinstall it (prompting them
: for permission of course).

I believe there's a way to specify an applet setting in a webpage to
tell the user where to download the JRE. -but I may be thinking of other
plugin style content, e.g. QuickTime movies or Flash data.  

Skim a page or two on applet setup for details.


: Thanks in advance for any suggestions.  Please feel free to email me in
: private if that is your preference.

We usually encourage conversations to remain on-list when the solution
is both Tomcat-related and may be of use to those who follow the list
(or search the archives).

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: how to get relative URL to work with 5.5.2?

2004-10-17 Thread Ben Souther
try just:
img src=images/close.gif




On Sun, 2004-10-17 at 20:49, andy davidson wrote:
 Hi
 
 I have a simple sevlet that generates img. I can not
 get the images to load? I read the servlet essential
 tutorial at sun.com, but that did not help. To try to
 figure what was going on I turned on the dumper. Here
 is my file layout
 
 webapps/MyBookmarks/images/*.gif
 webapps/MyBookmarks/WEB-INF/web.xml
 webapps/MyBookmarks/WEB-INF/classes/com/.../MyBookmarks/MyBookmarksServlet.class
 
 http://localhost:8080/MyBookmarks runs my servlet as
 expected
 
 looking at the output of the dump, I see
 request URI = /MyBookmarks
 servletPath=/
 status=200
 
 my servlet generates two tags as follows neither of
 these work. (I have tried many other ways)
 
 img src=MyBookmarks/images/close.gif
 
 dump output
 request URI=/MyBookmarks/images/close.gif
 contextpath=/MyBookmarks
 header=refer=http://localhost:8080/MyBookmarks
 servletPath=/images/close.gif
 status=200
 method=get
 pathinfo=null
 
 status=200?? the image did not load! I even hit the
 reload button on my web browser
 
 img src=/images/open.gif
 dump output
 request URI=/images/openFolder.gif
 contextPath=
 servletpath=/images/close.gif
 status=400
 
 
 here is my web.xml file
 
 web-app
 servlet
 servlet-nameMyBookmarks/servlet-name

 servlet-classcom.sharkBiteRight.MyBookmarks.MyBookmarksServlet/servlet-class
 /servlet
 
 servlet-mapping
 servlet-nameMyBookmarks/servlet-name
 !--
 http://localhost:8080/MyBookmarks/MyBookmarks works
  url-pattern/MyBookmarks/url-pattern
 --
 
 !-- http://localhost:8080/MyBookmarks works
 --
  url-pattern//url-pattern
 /servlet-mapping
 /web-app
 
 thanks in advance
 
 andy
 
 
 
   
 __
 Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.
 http://promotions.yahoo.com/new_mail
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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



Re: DataSourceRealm + DIGEST authentication

2004-10-17 Thread Shinobu Kawai

Hi all,

 Has anyone created a DataSourceRealm that works with DIGEST
 authentication?  I'm planning to make one, but only if I'm not
 reinventing the wheel.
If anyone's interested, here's what I have so far:
http://sylow.no-ip.com/pub/apache/jakarta/tomcat/DigestableDataSourceRealm.java

Any comments welcome.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai [EMAIL PROTECTED]


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



stop task do not release jar files

2004-10-17 Thread Antony Paul
Hi all,
   I use Anto stop task to stop the context and delete the files in
the application context folder. But it is unable to delete the jar
files.

Tomcat 4.1.30

rgds
Antony Paul

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



[tomcat] tomcat not running

2004-10-17 Thread George A
hello all,
i hope i have posted to the correct lists : ( . i am first time user to 
tdk. my tomcat is not running. i am using tdk 2.3. my question is:
 
when all applications from webapps folder are deleted following messages come when i 
click on startup.bat
 
Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27-LE-jdk14
Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Oct 18, 2004 10:33:43 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Oct 18, 2004 10:33:43 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=E:\software\TDK_2.3\conf\jk2.properties

and in the browser when i type http://localhost:8080 then Http Status 500 error comes.
 
 
and when i shut it down and create an application then following error comes on 
clicking startup :
WebappClassLoader: 
validateJarFile(E:\software\TDK_2.3\webapps\appl1\WEB-INF\lib\servlet.jar) - jar not 
loaded. 
See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: \logs\turbine.log (The system cannot find the path 
specified)
.and a big list of errors and exceptions 
 
[INFO] Turbine - -Turbine: init() Ready to Rumble!
Oct 18, 2004 10:45:34 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Oct 18, 2004 10:45:34 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Oct 18, 2004 10:45:34 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=E:\software\TDK_2.3\conf\jk2.proper
 
and in browser again i get : Http Status 500 error .
 
my directory structure is:
 
webapps
-appl1
-WEB-INF
-build
-classes
-conf
-db
-lib
-src
ummm, this can be a very primary question to most of you over there. so it might sound 
silly to you : ) .but i just joined this mailing list with a hope to get some answer. 
any answers are welcome : ) .
thanks a lot,
bye,
george.
 


-
  Yahoo! Messenger - Communicate instantly...Ping your friends today! Download 
Messenger Now