Re: tomcat 5.0.19 randomly stops taking http requests

2005-08-15 Thread Josh Wilson
I am seeing some thing very similar with tomcat 5.0.25.  I have 2
connectors configured and one will mysterious stop handling requests
in the same way you mentioned below.  Any help would be greatly
appreciated.

On 8/15/05, Tim Lam [EMAIL PROTECTED] wrote:
 
Tomcat 5.0.19 is actually still running, but stops taking http requests
randomly. It will run just fine for one or two weeks, then in the middles
of the night, or over the weekend when no one is using tomcat at all, it
stops taking requests (I know when it happens because I have a standalone
application that tries retrieving a webpage from Tomcat every half hour to
check if it's still up).
The catalina.out log file doesn't show anything unusual, it's actually
still running, so is the Tomcat process. But trying to reach a web page
will show a timeout error on any browser. And sometimes trying to shutdown
tomcat after it's hung doesn't work, I have to manually kill the tomcat
process.
I am using JVM 1.4.2_02.
Any help would be appreciated, Thanks.
ps. I am new to using this mailing list, and have a question, is it
required to subscribe to the tomcat-user list in order to ask questions?
or can I just send emails to the list and replies will get sent back
directly to my email address?
 
 -
 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]



Connection Reset Problem

2005-08-10 Thread Josh Wilson
I recently upgraded from tomcat 4.1 to tomcat 5.0.25 and I am seeing
the following in the stdout.log:

Aug 8, 2005 11:50:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /XX.XXX.X.XXX SocketException: Connection reset
Aug 8, 2005 11:50:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /XX.XXX.X.XXX SocketException: Connection reset
Aug 8, 2005 11:50:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /XX.XXX.X.XXX SocketException: Connection reset
Aug 8, 2005 11:50:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /XX.XXX.X.XXX SocketException: Connection reset
Aug 8, 2005 11:50:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /XX.XXX.X.XXX SocketException: Connection reset

there are many of these in the log. Any help would be greatly appreciated.

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



setting application variables

2005-07-29 Thread Josh Howe
 

Hi,

 

I'm very new to Tomcat and JSP. Can anybody tell me how I can initialize
some application variables from a file so that they are available to all
of the asp pages in my application as soon as it starts? Thanks! 



RE: setting application variables

2005-07-29 Thread Josh Howe

I'll look into ContextListeners. Thanks! 

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 29, 2005 4:16 PM
To: Tomcat Users List
Subject: RE: setting application variables

You could have a ContextListener for your web application. You could
then read the properties from your property file and put them in the
application context so that all your JSP pages have access to them.

In order to implement a ContextListener you need to write a class that
implements the ServletContextListener interface.

You will have to make an entry in your web.xml about the same.

Hope this helps,
Mufaddal.
-Original Message-
From: Josh Howe [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 29, 2005 1:14 PM
To: tomcat-user@jakarta.apache.org
Subject: setting application variables

 

Hi,

 

I'm very new to Tomcat and JSP. Can anybody tell me how I can initialize
some application variables from a file so that they are available to all
of the asp pages in my application as soon as it starts? Thanks! 



--
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 the system manager. Please
note that any views or opinions presented in this email 
are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient
should check this email and any attachments for the 
presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email.
Consult your physician prior to the use of any medical
supplies or product.

--


-
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: [OT] RE: development environment

2005-04-26 Thread Josh McDonald
At home:

P4 2.8HT, 1.25Gb, ~200gb in various drives, 1x17 LCD, 1x19 Trinitron @
1280x1024(colour palettes on the Sony), leaning required to watch the
Simpsons, close to beer supply in kitchen (small apartment). Nice view of
the Story Bridge. Lousy Dodo 1/2 meg ADSL :) Big mofo Sony stereo for mp3
goodness, and a tablet for photoshop.

At the office:

Celery (non D) 2.6, 512mb, 40gb, 17 Samsung LCD (12ms, but nice
nonetheless). Enough for work (and quake 3 on Fridays) but nothing to write
home about.

Various servers ranging from gutless old p2s, to the mighty Darwin (assloads
of ram, a couple of xeons, you can hear the fans spool up from the other
side of town)

IntelliJ, MySQL (lousy opensource zealots ;-)), CVS *shudder*

-Josh

--

Until a man is twenty-five, he still thinks, every so often, that under the
right circumstances he could be the baddest mother in the world.

Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane

07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED]

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 26 April 2005 6:20 PM
To: Tomcat Users List
Subject: [OT] RE: development environment

 From: Patrick Lacson [mailto:[EMAIL PROTECTED] 
 I'm curious to what everyone's dev environment looks like.  

Dev: Athlon XP2200, 1Gbyte RAM, 80G hardware-mirrored HDDs*, Win2K
server, dual 1280x1024 TFTs.  Netbeans (when I have to), Ant, JUnit,
vim, CVSNT, putty.  Coffee machine next door - an important piece of
most developers' environments.

Test: 8-CPU Xeon 900, 2G RAM, 18G mirrored HDDs, Gentoo Linux, headless.
Ant, JUnit, vi, cvs, ssh.  In a secured machine room.  We're hacking
with a virtual file system and Tomcat internals, and we wanted a machine
where we could do some serious thread and load testing.  This came off
ebay for about $3k.

- Peter

* Yes, it's a workstation.  No, that's not an excuse for a developer to
have the HDD as a single point of failure :-).  These HDDs are
deliberately from different batches and different sources, so that it's
less likely they'll fail at close to the same time.

-
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]



Defining DBCP resources in web.xml?

2005-04-26 Thread Josh McDonald
The heading says it all - can it be done? If so, how do I go about it? I'd
rather not have a dozen different references in the server.xml if I can
avoid it, tho it's looking like I'll have to :-(

 

Anyway, any pointers much appreciated.

-Josh

--

Until a man is twenty-five, he still thinks, every so often, that under the
right circumstances he could be the baddest mother in the world.

Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane

07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED]

 



Premature EOF exception.

2005-04-06 Thread Josh Berry
I apologize if this is addressed elsewhere, I have been unable to find
any answers, though.  Hopefully, I am just investigating the wrong
question.

We are currently running some applications that hit a web application
being served by Tomcat and under heavy load we are receiving a
Premature EOF in responses from the server.  It is as if the server
just gives up on the socket under heavy use.  I have found that
changing to a 4.x version of Tomcat instead of a 5.x will cause the
problem to go away.  Unfortunately, I do not know if we can enforce
this in all environments our application will be run in.

If there is any other information I need to supply, please let me
know.  Thanks for any help,

-
Josh Berry

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



Re: Deployment problem

2004-12-02 Thread josh cronemeyer
Sounds to me like this is a bug in tomcat 5.  Are you running a stable 
version of tomcat 5?  It seems odd that what worked in tomcat 4 wouldn't 
work in 5.  I've had some complaints about transitioning between various 
versions of tomcat.  Every version has it's own quirks.  I've been exploring 
Jboss recently, maybe you should too.

In tomcat 4, I first created the following folder:
$CATALINA_HOME/work/Standalone/${hostname}/manager/srv
This folder is where the war and context file for the
application will be placed when deploying via ant or
maven using the manager.
Now, in the application's context.xml file, I set the
path to '/srv/stuff' and the docBase to the same.
Once deployed, the war and context files will be named
stuff.war and stuff.xml in the above directory.
Tomcat 5 works a bit differently. When the app is
deployed with the srv prefix, the war and context file
are renamed to srv#stuff.war and srv#stuff.xml after
deployment via maven (haven't tested ant yet, but
we're trying to phase it out as a deployment tool
anyway). Here is the problem:
2004-11-22 09:47:38 StandardContext[/manager]Manager:
install: Installing context configuration at
'file:$CATALINA_HOME/conf/Catalina/${hostname}/srv#stuff.xml'
from 'jar:file:$CATALINA_HOME/webapps/srv#stuff.war!/'
2004-11-22 09:47:38 StandardContext[/manager]Manager:
ManagerServlet.configure[file:$CATALINA_HOME/conf/Catalina/${hostname}/srv#stuff.xml]
java.net.MalformedURLException: no !/ in spec
   at java.net.URL.init(URL.java:571)
   at java.net.URL.init(URL.java:434)
   at java.net.URL.init(URL.java:383)
...
I am assuming the problem is the # in the filename,
but I'm not sure.
I thought I found a workaround the other day. If I
just had maven build the war and then use the manager
html interface to deploy the war, it worked fine. The
files were in their place as stuff.xml and stuff.war.
But once I restarted tomcat, the manager list showed 2
apps deployed; /stuff and /srv/stuff, neither of which
worked.
I've tried several other configurations all with
varying levels of failure.
Any ideas?
Dustin
--- QM [EMAIL PROTECTED] wrote:
On Wed, Dec 01, 2004 at 09:36:28AM -0800, Dustin
wrote:
: For example, an app that
: had a path of /stuff now has a path of /srv/stuff.
: : I was able to get it working in tomcat 4 (the
solution
: seemed like a hack to me tho), but I am having
: problems getting it to work in tomcat 5.
Perhaps you could share what you did in Tomcat 4,
and what you've
tried in v5..?  That might give the rest of us a
head start.
I don't have the time to try it here, but I suppose
you've already
tried a context path of /srv/stuff and that
failed?
-QM
--
software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com

__
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]


environment values in server.xml

2004-06-30 Thread Josh G
Where should I put environment values in server.xml? And more importantly, how on 
earth do I retrieve them programmatically? The documentation on this sort of stuff is 
either unbelievably inadequate or incredibly hard to find.

Or c) I'm a dickhead. Either way, I could really use a hand. I'm just trying to get a 
string out of server.xml - not web.xml.

Cheers,
-Josh

--

Max Power, he's the man who's name you'd love to touch! But you mustn't touch!
His name sounds good in your ear, but when you say it, you mustn't fear!
'Cause his name can be said by anyone! 

  [ Josh 'G-Funk' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ]


Re: environment values in server.xml -Answered, for the archives

2004-06-30 Thread Josh G
In server.xml, under DefaultContext:
   Environment name=foo type=java.lang.String value=bar/
And in web.xml:
   env-entry
 env-entry-namefoo/env-entry-name
 env-entry-typejava.lang.String/env-entry-type
   /env-entry
And the code to get it back (include javax.naming.*):
   Context initCtx = new InitialContext();
   Context envCtx = (Context) initCtx.lookup(java:comp/env);
   String jndiFoo = (String)envCtx.lookup(foo);
Cheers,
-Josh
--
Max Power, he's the man who's name you'd love to touch! But you mustn't 
touch!
His name sounds good in your ear, but when you say it, you mustn't fear!
'Cause his name can be said by anyone!

 [ Josh 'G-Funk' McDonald ]  --  [ Pirion Systems, Brisbane]
[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ]
- Original Message - 
From: Josh G [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 4:22 PM
Subject: environment values in server.xml

Where should I put environment values in server.xml? And more importantly, 
how on earth do I retrieve them programmatically? The documentation on this 
sort of stuff is either unbelievably inadequate or incredibly hard to find.

Or c) I'm a dickhead. Either way, I could really use a hand. I'm just trying 
to get a string out of server.xml - not web.xml.

Cheers,
-Josh
--
Max Power, he's the man who's name you'd love to touch! But you mustn't 
touch!
His name sounds good in your ear, but when you say it, you mustn't fear!
'Cause his name can be said by anyone!

 [ Josh 'G-Funk' McDonald ]  --  [ Pirion Systems, Brisbane]
[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat book

2004-05-21 Thread Josh Harahap

I've read both Wrox' Professional Apache Tomcat and O'Reilly's TOmcat: The 
Definitive Guide. Both are good but I think Wrox's book has more meat. Unfortunately, 
the information in both books can be found on Tomcas's website.
THere is a new book called How Tomcat Works (BrainySoftware.com) that explains 
everything you need to know about TOmcat 4 and 5. It is more a programming book, 
teaching you how to develop Tomcat modules. However, there is a lot of inside secrets 
useful for configuration as well. For example, after reading the book I managed to 
figure out how to change the checkInterval of the loader, from the default 15 to any 
integer. That is Tomcat will check if a class or web.xml has been modified and reload 
the application. What I mean is you use:

Context path=/app docBase=app debug=8 reloadable=true
  Loader className=org.apache.catalina.loader.WebappLoader reloadable=true 
checkInterval=7/
/Context

This is what I call valuable information because you can't even find this on Tomcat's 
website or anywhere else. Sample chapters are from brainysoftware.com. Cover is ugly, 
I think the author, who self-published his book, did it himself:)

Josh Harahap,
J2EE developer



Hi,

I can recommend 'Professional Apache Tomcat' published by WROX (ISBN:
0764543725). It does not cover Tomcat 5 though. A new book about Tomcat 5 is gonna be 
released in June I think (ISBN: 0764559028). So I'd say just wait for that...

Thomas

-Ursprüngliche Nachricht-
Von: wsedio [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. Mai 2004 11:38
An: Tomcat Users List
Betreff: tomcat book


Hi all,
what is the best Tomcat book around?

It would be great if it also covers Tomcat 5 ...

Thanks.

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

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




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



Re: Prevent context startup on servlet init failure?

2004-04-13 Thread Josh Rehman
Shapira, Yoav wrote:

Hi,
You can't do it from a servlet's init method.  System.exit is an ugly
solution: what if there are other webapps on the container?
 

Yes, very ugly.

Two options come to mind:
- Move this init code to a ServletContextListener's contextInitialized
method.  If an error occurs, throw a RuntimeException (or any subclass
thereof).  The container will mark the context as unavailable and
requests will be rejected with a 500-level response.
 

That sounds like the best/simplest option. We'll try it, thanks!

- Have the init servlet set some sort of marker variable in a singleton,
making the app unavailable.  Have a filter mapped to /* check this
marker variable for every request, and reject the request in whatever
way you see fit if the app is marked as unavailable.
Whatever you do, remember to handle the case of a webapp reload
appropriately.  (This is one reason why the ContextListener approach is
good).
 

That sounds good, too. There is one important benefit to this approach - 
the context could display something about why it's not available or some 
other nice thing rather than providing a generic 500 response.

I'm not sure what you mean about handling webapp reload. Is your concern 
that the singleton static field marker could still be hanging around 
in a possibly invalid state? Or is there something more to your words of 
caution?

Thanks again, Yoav.

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


Prevent context startup on servlet init failure?

2004-04-12 Thread Josh Rehman
Is there a way to prevent the context from starting up if a servlet 
init() call throws an exception or otherwise fails?

Here's the situation: we have a utility servlet that loads first (using 
load-on-startup) and accesses some external resources, checks database 
connections, etc. Then our main application servlet loads. In the case 
where the external dependancy fails, the context still comes up and 
fails at a later point. It would be better practice to have the context 
load fail when our utility servlet init() method throws it's exception.

I was thinking that there might be something in ServletContext that 
would allow the servlet to force the context to dump out. Or perhaps a 
call to System.exit(1) would be appropriate.

I'd really appreciate some advice. Thanks.

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


JNDI/MYSQL - Too many connections

2004-04-09 Thread Josh G
Hi, I'm getting this error after a while from tomcat, even though we're 
running removeAbandoned, and every connection opened is explicitly closed:

Unrecoverable exception. Reason: 
org.apache.commons.dbcp.SQLNestedException: Cannot create 
PoolableConnectionFactory, cause: Server connection failure during 
transaction. Due to underlying exception: 'java.sql.SQLException: Data 
source rejected establishment of connection,  message from server: Too 
many connections'.
Attempted reconnect 3 times. Giving up.
com.pirionsystems.he.sql.MySQLIndex.getSiteIdByAlias(MySQLIndex.java:46)
com.pirionsystems.he.businessobjects.HeDBDocumentManager.getSiteIdByAlias(HeDBDocumentManager.java:310)
com.pirionsystems.he.servlet.HeServletBase.setSite(HeServletBase.java:101)
com.pirionsystems.he.servlet.HeServletBase.startupRequest(HeServletBase.java:85)
com.pirionsystems.he.servlet.HeServlet.doGet(HeServlet.java:22)
com.pirionsystems.he.servlet.HeServlet.doPost(HeServlet.java:37)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Anybody know what I should be looking for?

Cheers,
-Josh
Your headgear seems to be emitting a buzzing noise, sir.
Perhaps you have a bee in your bonnet?
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Josh Rehman
Daniel Gibby wrote:
If only tomcat had the mod_rewrite capabilities that apache does, and 
strong perl and php performance, I would be glad to trash mod_jk (thus 
getting rid of apache as well).
Would this work for you as a mod_rewrite replacement?

	http://noodle.tigris.org/

(perl  php support in any servlet container seems...unlikely :)

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


Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Josh Rehman
Shapira, Yoav wrote:
Hi,

(perl  php support in any servlet container seems...unlikely :)
PHP, not so unlikely ;)
http://wiki.apache.org/jakarta-tomcat/UsingPhp
Fascinating - I'd love to know what the web.xml looks like and what the 
server looks like. I'd guess the php servlet is a very simple JNI bridge 
to the PHP native libraries. Maybe I'll try it out!

http://marc.theaimsgroup.com/?l=tomcat-devm=108099227127507w=2
http://www.jcp.org/en/jsr/detail?id=223
Didn't know about this. Also fascinating.

As for perl, you can do it through CGI.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat 5 vs. Resin?

2004-04-02 Thread Josh Rehman
Has anyone compared Tomcat 5 and Resin?

Resin has a huge drawback of being closed-source, but it has a great 
reputation for being small, fast, and easy to configure. Tomcat is 
working for us, but has been something of a bear WRT learning curves and 
gotchas, so I'm interested in learning more about the alternatives.

Thanks.

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


Re: Installation Help Needed

2004-03-31 Thread Josh Rehman
This is almost certainly because you're running a firewall. It's kind of 
an involved topic, and not one I'm an expert on anyway, so you should 
check out this:

http://www.tldp.org/HOWTO/Firewall-HOWTO.html

Beware: many distros have customized firewall software. Anyway, this 
isn't a tomcat problem.

Stormblade wrote:

Hey all,
Having trouble installing Tomcat 5 on my Linux box. I've installed the
Windows version without any trouble but the Linux one seems not to be
working and I'm not sure why.
I downloaded and installed the JRE and J2SDK. I've set the JAVA_HOME
variable. I installed Tomcat and ran the startup.sh. Everything seemed to
be going fine. Then I tried to access my box from another machine and there
is no answer. www.mymachinedomain:8080 doesn't even give me the default
page.
Can someone walk me through this or something? All the installation notes
I've seen weren't very detailed. Any help would be appreciated.
 



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


How to get Tomcat 5 back to original state?

2004-03-31 Thread Josh Rehman
Hi,

I'd like to figure out how to finagle Tomcat into a pristine state 
without having to reinstall binaries. This is because, once again, I've 
somehow managed to get Tomcat into a wierd state where Manager doesn't 
want to work, I'm getting some wierd messages in the logs, and things 
are just generally bad. (I've put the trace at the end of the message, 
although that's not the central point to this message).

So what do I need to do to get Tomcat into a pristine state, assuming 
I've not touched any binaries? Here's what I *think* I should do:
1 - Replace conf/server.xml with a simple one.
2 - rm -rf conf/Catalina
3 - (Optionally) Revert tomcat-users.xml to original

Am I missing anything? Thanks!


Here's catalina.out, for the curious:
INFO: Installing web application at context path /balancer from URL 
file:C:\java
\tomcat5.0.18\webapps\balancer
Mar 31, 2004 11:15:57 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Mar 31, 2004 11:15:57 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Mar 31, 2004 11:15:57 PM org.apache.catalina.core.StandardHostDeployer 
install

Here is my localhost log, for the curious:

2004-03-31 23:08:46 StandardContext[/balancer]Exception starting filter 
BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
   at 
org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:107)
   at org.apache.webapp.balancer.RulesParser.init(RulesParser.java:85)
   at 
org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:121)
   at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:272)
   at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:355)
   at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:126)
   at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3646)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4275)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
   at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
   at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
   at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:598)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

2004-03-31 23:08:46 StandardContext[/jsp-examples]ContextListener: 
contextInitialized()
2004-03-31 23:08:46 StandardContext[/jsp-examples]SessionListener: 
contextInitialized()
2004-03-31 23:08:47 StandardContext[/servlets-examples]ContextListener: 
contextInitialized()
2004-03-31 23:08:47 StandardContext[/servlets-examples]SessionListener: 
contextInitialized()
...

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


jndi without a context??

2004-03-25 Thread Josh G
Hi, I don't have a context element in my server.xml or my web xml, and as 
such I can't seem to make dbcp work...

I know that in tomcat5 you can put this information in the web.xml, but I 
sure as hell can't find out how, anybody can point me in the right direction?

Cheers,
-Josh
 My Ferrari! I had to do awful things to pay for her!

   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Re: jndi without a context??

2004-03-25 Thread Josh G
At 12:41 PM 26/03/2004, you wrote:


Josh,

Got you covered.

Warning this  email may be long winded, so take breaks often.

First, unless there is a reason for you NOT to have a context then this will
get you going.
Snip...

Good luck and let us know.

Doug


Thanks for that! Of course it turns up 15 minutes after I accidently 
stumble upon the DefaultContext element which seems to have made it all 
work. I'm interested in the context.xml you had in the META-INF directory, 
what's that for?

Oh, and let's have three cheers for the _wonderful_ tomcat documentation... 
*grumble grumble*

:-)

-Josh

 My Ferrari! I had to do awful things to pay for her!

   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Re: Running seperate apps with shared components - the best way forward

2004-03-01 Thread Josh Rehman
This would require pointing to static resources in the new static 
context in both applications, right? Or is there a way (or a reason) to 
have tomcat serve up those resources as appearing under the same context?

Shapira, Yoav wrote:
Howdy,
You can have a context for common static resources, or you could have
copies of these static resources with every webapp (on the assumption
that disk space is cheap and you're not working on some mobile/j2me
platform).  If you see a need in the future to independently
upgrade/restart/maintain the applications, then it's probably better to
do one of the above instead of putting them all in one tomcat context.
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Waters
Sent: Monday, March 01, 2004 12:54 PM
To: [EMAIL PROTECTED]
Subject: Running seperate apps with shared components - the best way
forward
Hi,

We have a 'suite' of applications that are all deployed under one
context in Tomcat.  They are related applications, and share some
common

java code, the odd jpeg/gif, css files and (external) configuration
files.  However, as running applications, they do not interact with
each

other in any way - no one application relies on the existence of any
other.

My first thought was that these applications should have all been
deployed under separate tomcat contexts, so that they could be deployed
independently and using the application manager, could be brought up
and

down independently for maintenance and upgrades etc.  BUT as they do
share non-java files as described above, is this the right approach?
Should we leave things as they are or is there a better way to organise
them as separate tomcat contexts??
Thanks for any pointers.

Andrew Waters.



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




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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Does the isThreadSafe page directive work in Tomcat 5.0.18?

2004-02-22 Thread Josh Rehman
Hi,

I changed this directive to false and looked at the generated servlet. 
I was expecting to see that it implements SingleThreadModel but there 
was no change to the generated servlet code. Have I missed something? 
Here is my JSP:

%@ page language=java %
!DOCTYPE HTML PUBLIC -//w3c//dtd html 4.0 transitional//en
html
head
titleSwitch2 JSP/title
/head
body bgcolor=#FF
%-- Interestingly, include occurs before translation. you can easily 
get stack overflow by including self. :)
   request time include uses jsp:include page=
--%
%@ include file=static_page1.html %
%@ page import =java.util.Calendar isThreadSafe=no session=true %

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


Re: Does the isThreadSafe page directive work in Tomcat 5.0.18?

2004-02-22 Thread Josh Rehman
Damn, I've been reading the JSP 1.2 spec for some reason. Thanks.

Would it be a good idea for Tomcat to print out a warning about this 
deprecation?

QM wrote:

On Sun, Feb 22, 2004 at 12:57:26PM -0800, Josh Rehman wrote:
: I changed this directive to false and looked at the generated servlet. 
: I was expecting to see that it implements SingleThreadModel but there 
: was no change to the generated servlet code. Have I missed something? 

Tomcat5 is a servlet spec 2.4 / JSP spec 2.0 container.  Those specs
deprecate SingleThreadModel and isThreadSafe, respectively.
-QM

 



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


Re: Best practice question: where to place project libraries

2004-02-11 Thread Josh Rehman
Justin Ruthenbeck wrote:
Although I haven't personally ever needed functionality like this, 
there's no argument it'd be useful in some situations.  Wanna implement 
it for everyone?  ;)  Like John Holman mentioned, however, there will be 
(practically insurmountable?) problems making the Tomcat container 
classloader update with new libraries included in the app's WAR.  
That'll get really messy really quick.
I'm advocating something more radical: *copy* libraries in said 
directories into the containers common and shared directories. Someone 
else mentioned that this would alter the environement for other webapps, 
which is an important drawback. Another drawback is the restart requirement.

But the fact remains that the developer should have some easy way to 
indicate to the deployer what dependancies need to be met esp WRT JNDI 
resources, and an easy (for the deployer) way to satisfy these 
dependancies. AFAIk there is no good way to do this. 
META-INF/context.xml does this in a small way, and it would be nice to 
generalize to libraries and drivers. I'm not yet in a position to do 
this development, although I might soon be.

--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Best practice question: where to place project libraries

2004-02-11 Thread Josh Rehman
Shapira, Yoav wrote:
Yes, there's an excellent way to do this: documentation.  End of story
That is not the end of story, of course, or else you wouldn't support 
META-INF/context.xml.

--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Multiple instances of Tomcat - why would you do it ?

2004-02-11 Thread Josh Rehman
If the instances talk to each other via RMI, it's likely that the 
original developers intended each instance to be run on a different box. 
They may have thought this would positively affect scalability.

It may also be that they partitioned the app such that each container 
has different priveledges and responsibilities, and therefore it made 
sense to seperate them and configure them seperately.

It may also be that the original developer was testing a theory and so 
did it that way.

It may also be that the developers were being paid per CPU.

It may also be that one of the architects was driven mad by alien space 
bats, and so designed this system to prepare himself for leaving this 
planet.

The last one seems most likely to me. However, I could be wrong, so I'd 
ask the original developer.

Derek Clarkson wrote:
Hello everyone,
	I've just started a new job where I've been asked to be the tech
lead on a project. The software originated from an external company who
designed it to run on 3 instances of tomcat. There is an instance for
the
main applications for our customers, an instance for the admin section
and
another for secure transactions. All running on the same PC. These
instances
also communicate between each other in order to pass information from
one to
the other via RMI. 

I've never worked on a mulit instance installation before and no-one
here
knows why it was done this way (it's not documented). Can you guys give
me
any thoughts on why a multi-instance might be setup like this ? What are
the
advantages over a single tomcat instance, etc ? 

Essentially I'm trying to understand whether this was a good solution
for
our use. Understanding the sorts of reasons for doing it will help me to
work out any possible future changes. 

Ciao
Derek.
__
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright.  If you
have received this email in error, please advise the sender and delete
it.  If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone.  You must not copy or 
communicate to others content that is confidential or subject to 
copyright, unless you have the consent of the content owner.

--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Best practice question: where to place project libraries

2004-02-10 Thread Josh Rehman
I need servlet-api.jar to compile my project. I may need some of the 
commons-beans stuff in the future. Should I put these libs in my 
projects lib folder (and then in the war) or should I rely on the tomcat 
versions? If the latter, which jar will be used, and what should I do if 
I deploy to a different container?

I'm leaning toward duplicating the libraries (this removes an 
environment dependancy, too), but I'd like some advice.
--
Josh Rehman
citysearch.com
213.739.3559

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


Re: Best practice question: where to place project libraries

2004-02-10 Thread Josh Rehman


Justin Ruthenbeck wrote:
As a general rule, strive to keep your webapp self-contained and 
autonomous with only J2EE-standard dependencies (things like JNDI 
objects that are configurable in every container).  Unless there's a 
reason not to (JDBC drivers is one common one), package your own 
dependent libraries with your app -- it frees you from versioning 
problems (maintaining the correct library versions for your app over 
time) and makes migration between containers much easier.
Thanks. You bring up an interesting aspect of container configuration: 
database drivers. It would be interesting to extend the 
META-INF/context.xml tomcat convention to include support for the 
installation of 3rd party libraries. E.g., libraries placed in 
META-INF/server/lib will be placed into the similiar tomcat directory on 
deployment. Same thing for common/lib.

--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Best practice question: where to place project libraries

2004-02-10 Thread Josh Rehman
Justin Ruthenbeck wrote:
I haven't used the META-INF/context.xml convention, so I'm not too 
familiar with it.  Conceptually, it's questionable whether a webapp 
should be able to modify container configuration ... even if it's just 
configuration for that one app.  Practically it may be useful, but it's 
a bluring of the lines of responsibility between the development and 
deployment -- two things which really should be separate.
The question has been answered (yes, a webapp can alter the 
container), and yes, the container should be modifiable by the 
developer, but only under certain circumstances. I would not allow even 
the META-INF/context.xml convention on a production server, for example. 
However it's quite handy during development, and extending the 
convention would be handier still.

I am not aware of a way to prevent Tomcat from respecting the 
META-INF/context.xml convention, but if there was a way I'd expect it to 
be mentioned here:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/deployer-howto.html

And if it existed it could apply to deployment of shared libraries, too.

--
Josh Rehman
citysearch.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat Loads Deleted Context?

2004-02-09 Thread Josh Rehman
Remy Maucherat wrote:

What I recommend with TC 5 is put your context declarations in 
/META-INF/context.xml, and use the manager to manage your webapps. If 
using external contexts, then it's the similar: either use the manager 
webapp or drop your context file in the right subdir of conf (and 
use the manager to undeploy).

I've been playing with tomcat and the new way of doing things isn't all 
bad. In some ways its nice to have one file per context. Certainly its 
nice not having to restart tomcat for context changes. I still believe 
there is something to be said for everything in one place but for now 
I don't think this scheme is so bad as I did a few days ago. Could've 
been documented better but Yoav has addressed that to some degree.

Thanks.

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


Java(TM) Boutique - The Power of Three - Eclipse, Tomcat, and Struts

2004-02-09 Thread Josh Rehman
This is a really good article about how to integrate tomcat with eclipse 
(using the sysdeo plugin), as well as some struts information. I found 
it helpful, and I hope you do, too:

http://javaboutique.internet.com/tutorials/three/

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


Re: manager app No context exists for path /

2004-02-09 Thread Josh Rehman
Anthony Gray wrote:
Hi All,

I'm trying to use the manager app (via /manager/html) so that I can 
restart/stop/start apps, however I'm getting the message No context 
exists for path / when I try to stop/restart the app.  I'm using linux, 
tomcat 5.0.16, apache 2.0.47 and jk2 2.0.2, and My directory structure 
is like the following :

jsp files : /home/user/www/
classes : /home/user/www/WEB-INF/classes/myjsp/
The web.xml in /home/user/www/WEB-INF/ doesn't have anything defined 
within the web-app directives, the app does not seem to require it for 
running.  I have tried inserting the class names in here but it didn't 
seem to help (also I'm a newbie and I didn't really know what I was doing).

The app runs fine and the jakarta help for the error message is There 
is no deployed application on the context path that you specified..

How can I make the manager app see my application ?
I've not seen this exact error, but I have seen some no contexts exist 
messages (and general broken-ness) after mucking about with server.xml. 
I would suggest deploying with the manager, to make sure the app config 
is correct, and trying again.

--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat question

2004-02-09 Thread Josh Rehman


Bliesner, Christopher P wrote:
Hello,

I have setup Tomcat 4.12 in conjunction with Apache 2.0.43 on a Solaris UNIX box.  My question is specific to Tomcat.  I know that I can modify the server.xml to include individual logfiles under the webapps directory, both Local logs and (I believe) Catalina logfiles.  However, these logfiles are all inclusive of everything that goes on in Tomcat.  Is there a way where I could set up individual logs for my developers that are their own personal logfiles.  Does Tomcat allow for that?  Thanks.
You can certianly set a log file per Context. If you can live with a 
Context per developer, then your problem is solved. It is odd that your 
specific logs are getting extraneous (global tomcat) bits - normally 
that stuff is consumed by the top level logger and doesn't pass down to 
the overriding loggers.

--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Image download?

2004-02-09 Thread Josh G
Hi, I have a servlet that's trying to send image files instead of a html 
response that doesn't seem to be working. Here's the code in question:

//Set content-type
ServletContext context = getServletContext();
response.setContentType(context.getMimeType(media.getLocation()));
//Open file
try {
FileReader in = new FileReader(new 
File(media.getLocation()));

char[] buffer = new char[4096];
int rc;
PrintWriter out = response.getWriter();
//dump contents
for 
(rc=in.read(buffer,0,buffer.length);rc0;rc=in.read(buffer,0,buffer.length))
out.write(buffer,0,rc);

//Close file, and finish.

in.close();
return;
} catch (IOException e) {
Logger.debug(this,IOException on media read/dump 
:();
e.printStackTrace();
return;
}

Anybody out there know where I'm going wrong? Is it some sort of 
text-binary thing in the java.io functions I didn't take into account?

Any help much appreciated!

Cheers,
-Josh
 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Re: Image download? - FIX

2004-02-09 Thread Josh G
At 09:58 AM 10/02/2004, you wrote:

Fix0r3d. For the archives, here's the fix:

//Set content-type
ServletContext context = getServletContext();
response.setContentType(context.getMimeType(media.getLocation()));
//Open file
try {
FileInputStream in = new 
FileInputStream(media.getLocation());

byte[] buffer = new byte[4096];
int rc;
ServletOutputStream out = response.getOutputStream();
//dump contents
for 
(rc=in.read(buffer,0,buffer.length);rc0;rc=in.read(buffer,0,buffer.length))
out.write(buffer,0,rc);

//Close file, and fuck off.

in.close();
return;
} catch (IOException e) {
Logger.debug(this,IOException on media read/dump 
:();
e.printStackTrace();
return;
}

God I loathe java's IO

 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Re: second perf article

2004-02-09 Thread Josh Rehman
Thanks for the article. I haven't yet installed JMeter but will let you 
kno when I do.

Note: Tomcat also has access logging turned off by default, not just Resin.

Peter Lin wrote:
 
for those who aren't familiar, the first article is on the tomcat
resources page.
 
 
peter lin

Peter Lin [EMAIL PROTECTED] wrote:

http://tao.altern8.net:8080/perf_article_two.zip

Here is a rough draft of my second performance article. It mainly talks
about how to create test plans and uses JMeter. the zip file contains a
jmeter test plan, open office and pdf document.
please send comments directly to me at [EMAIL PROTECTED]

once I get the feedback, I will revise it and post it on JMeter's wiki.

peter lin



-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat 5.0.16 running out of resources

2004-02-08 Thread Josh Rehman
Sun's javac that comes with the 1.3 sdk leaks memory. This is a known 
issue. 1.4+ and jikes can fix it.

To my mind the (much) better way is to precompile your JSPs. Check out:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
This has the added benefit of avoiding that annoying stuttering when 
your application is first accessed.

HTH

Jake Alley wrote:

Hi, I'm running Tomcat 5.0.16 and I'm getting the following error 
peiiodically:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

It happens when certain jsp forms are compiled.  Is there a way to 
increase the amount of system resources?  Sometimes the server just 
stops working and leaves no log traces as well.  Could these be 
related?  This is with code that worked fine in version 4.

Thanks.

_
Optimize your Internet experience to the max with the new MSN Premium 
Internet Software. 
http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/

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


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


Re: preloading JSPs

2004-02-08 Thread Josh Rehman
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html

Merrill Cornish wrote:

I'm running Tomcat 5.0.18 under Windows and I don't see a jspc script in the Tomcat bin directory.

Merrill

-
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: TC 5 production use

2004-02-07 Thread Josh Rehman
David Wall wrote:

We run Tomcat on 8080 using Cisco Routers for port redirection.
Nobody has to type in a port number.
   

And the best part is that we're happy to know that some more heavily used
production sites are using TC 5, which was the original question and
interest!
 

Interesting how people read things differently; I thought David is 
running Tomcat 4 and is just illustrating one way to do port 
redirection. Of course, I could be wrong.

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


Re: Tomcat Loads Deleted Context?

2004-02-06 Thread Josh Rehman
Thanks a bunch for the response. Comments below.

Shapira, Yoav wrote:

Howdy,

 

Thanks. BTW, why can't server.xml be reloaded?  Here's part of your
   

commit:

Because many of the components defined/declared in server.xml don't have
restart support.  There'd be significant code changes to support this.
And the downtime would be equivalent to a normal server restart, so
there's no advantage to reloading server.xml.
 

I would not expect that all parts of server.xml be restartable, just the 
Contexts.

 

note that directory is should be directly. It might also be clearer
about *where* context elts should be placed.
   

Corrected/enhanced, thanks.
 

Glad to help!

 

Again, I think this is a bad way to configure software. Everything in
one place is the quite reasonable mantra espoused in _The Practical
   

I agree: that one place for your web application is your WAR.  It should
be completely self-contained.  I dislike putting anything in server.xml
for my webapp.  It's not server.xml for all your webapp.  But obviously
we disagree on that, and this is fine because tomcat is flexible enough
to support either way.
 

Is META-INF/context.xml a standard way to provide a default context in a 
war? Or is it tomcat specific?

 

Perhaps there is some technical limitation to reloading server.xml. but
I can't see it. Remy has said it's a hack but of course that doesn't
really say anything. You are just trading one hierarchical data
structure for another (directories for nested XML elts).
   

No, you're doing a lot more.

 

(I am looking into this but I can't get tomcat built, and no-one on the
dev list has replied to my build questions yet. When I have more time
tonight I'll try again.)
   

Building tomcat 5 is trivial.  Just checkout the source and run the ant
file (default target).  It will download all dependencies and build
everything for you.  I do it routinely from a scratch, completely clean
environment, without any problems (it takes about 3-4 minutes on my
box).  If you have problems post them here (in another thread).
 

I won't bother posting in another thread; essentially, I set base.path 
to a relative directory, and the build broke rather badly. That script 
is really cool otherwise.

Yoav Shapira



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

Is this for real? :)

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


Re: Tomcat Loads Deleted Context?

2004-02-05 Thread Josh Rehman
Remy Maucherat wrote:

Josh Rehman wrote:

This TC5 feature concerns me so much I've written up a bug. Please 
feel free to comment on it and/or vote for it.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26676


It's closed now ;)
Well, that's a quick response, although not the one I had hoped for.

This is obviously a problem, and deserves more attention than a quick 
closure. If 3 people here have the problem, then at least 100 people out 
there have the problem, and haven't bothered to say anything about it. 
This is especially true for those coming from 4.x where this did not 
happen. There is certainly nothing in the documentation warning against 
Context modifications in server.xml.

Indeed, even if there was that would be a bad idea. Apache works that 
way, and people are used to it. Why not just have Tomcat reload 
server.xml if you want to support context parm changes without  a 
restart? That would be a great feature! If the concern is reloading in 
the middle of an incomplete edit, there are ways around that. And 
besides, that would seem to be a problem no matter what. Come to think 
of it, I don't see why you can't reload server.xml.

You write in the bug:

You are not supposed to add Context declarations to server.xml, because the
contexts then become impossile to manage. This works as designed, but it is
obviously different from Tomcat 4.1.x.
How exactly do Contexts become impossible to manage? They seemed to work 
fine under all previous versions of Tomcat.

Josh



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


Re: Tomcat Loads Deleted Context?

2004-02-05 Thread Josh Rehman
Remy Maucherat wrote:

Josh Rehman wrote:

Amen to that brother. I wasted a lot of time having an old context 
load up on me with TC5 when I had removed it from server.xml.

Very, very bad idea tomcat developers!


Glad you like it :)
BTW, it's not going to change. Just stop using server.xml for your 
context declarations and you'll be fine.
If you're really in love with this idea, then why not, at the very 
least, comment out the server.xml Context for the poor, unsuspecting 
users, and include a note saying, By the way, you shouldn't edit 
contexts here. Edit them at x/y/z/mycontext.xml. Then at least people 
will be merely annoyed rather than actively frustrated trying to figure 
out why their contexts aren't going away.

Just a suggestion.

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


Re: Tomcat Loads Deleted Context?

2004-02-05 Thread Josh Rehman
Shapira, Yoav wrote:

Howdy,

 

I don't think Remy's suggestion above is unreasonable -- AS LONG AS
IT'S DOCUMENTED (sorry for shouting).  Especially if it's as simple as
adding a few lines in server.xml.  (Well, it would be nice if it were
added to the server configuration documentation as well.)
   

Added to Context configuration documentation.  Added to Tomcat FAQ
(deployment page).  And Remy just beat me to removing the Context
example altogether (as opposed to commenting it out as it has been) from
server.xml.
 

Thanks. BTW, why can't server.xml be reloaded?  Here's part of your commit:

pYou may define as many strongContext/strong elements as you
 -  wish, nested within a a href=host.htmlHost/a element in
 -  codeconf/server.xml/code.  Each such Context MUST have a unique
 +  wish.  Each such Context MUST have a unique
context path, which is defined by the codepath/code attribute.
In addition, you MUST define a Context with a context path equal to
a zero-length string.  This Context becomes the emdefault/em
 @@ -53,7 +52,9 @@
Application Deployment/a for more information. This method allows dynamic
reconfiguration of the web application, since the main 
codeconf/server.xml/code file cannot be reloaded without restarting
 -  Tomcat./p
 +  Tomcat. bPlease note that for tomcat 5.x, unlike tomcat 4.x, it is NOT
 +  recommended to place Context elements directory in the server.xml file./b
 +  /p

note that directory is should be directly. It might also be clearer 
about *where* context elts should be placed.

Again, I think this is a bad way to configure software. Everything in 
one place is the quite reasonable mantra espoused in _The Practical 
Programmer_ among other places, not to mention I've had success with it 
as a rule of thumb. Logically, I want to see all contexts in one place. 
Moving that responsibility to the manager app doesn't count as one 
place because then I have to be pointing and clicking everywhere. I 
should be able to use vi to manage my server with one file. The apache 
web server has been doing it this way for a long, long time and it seems 
to work pretty well. I work alongside Perl and Apache folk, and I can 
hear their sniggers when I tell them I have to navigate a directory tree 
to modify a context...and they'd be right!

Perhaps there is some technical limitation to reloading server.xml. but 
I can't see it. Remy has said it's a hack but of course that doesn't 
really say anything. You are just trading one hierarchical data 
structure for another (directories for nested XML elts).

(I am looking into this but I can't get tomcat built, and no-one on the 
dev list has replied to my build questions yet. When I have more time 
tonight I'll try again.)

Thanks

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


Re: failure notice

2004-02-05 Thread Josh Rehman
There's a really easy way to stop this problem, and it's through a 
slight modification of the subscription protocol. Simply require that 
the body of the confirmation email be a single word, like confirmed. 
That way autoresponders won't be able to confirm themselves.

Very easy to do, and effective. Who owns the list? Is such a change in 
protocol possible?

Mike Curwen wrote:

This is an age-old argument, and besides that, I don't enjoy talking
religion.  But the advice to create a client filter really grates
sometimes.
It is *still* a waste of bandwidth. The client can't filter until I
download the 200 odd messages every morning. 

Aside from the annoyance factor, I think it's only being a good
'internet citizen' to actively and aggresively manage these unnecessary
emails.  Let's clear the pipes for those important things like streaming
radio. ;)


 

-Original Message-
From: Graham Reeds [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 10:00 AM
To: Tomcat Users List
Subject: Re: failure notice

I'm getting loads of people complaining about a stupid 
responder.  Is that normal?

:-)

Seriously though, there's not a lot that anyone can do.  I 
would guess that some one on this list has opened the 
document.zip.scr and it has infected his/her machine and has 
started spamming the known world, even if him/her has left 
the list it still could be in his address book.

The spamming could be any of us.  Company policy here is to 
have Sophos running constantly which sucks resources and 
is/was effective as a chocolate fireguard when MSBlast went 
around as every machine in the building (except our Linux boxes).

I suggest you get used to creating rules in your favourite 
email client.

G.

-
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, e-mail: [EMAIL PROTECTED]


Re: JNDI datasource lost on redeploy

2004-02-05 Thread Josh Rehman
Can't solve your problem, but two things:first, try posting a war that 
reproduces the bug. In this case it might be an ant script that 
undeploys and redeploys a trivial war. Second, it has recently come to 
light that you aren't supposed to mess with server.xml Contexts anymore 
with TC5. You should modify the context xml fragment in 
conf/Catalina/localhost/ (or something like that). The fragment will be 
named after the context.

todd runstein wrote:
problems..
--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JNDI datasource lost on redeploy

2004-02-05 Thread Josh Rehman
-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Josh Rehman
I was under the impression that the start script first checks for 
another Tomcat instance, and bails if it finds one. Is that not true?

Sam Seaver wrote:
I have discovered something that may be in effect linked to my previous 
email, regard catalina.sh:

I use `catalina.sh stop` and `catalina.sh start -security` to restart 
the tomcat web server.

However, I have come to realise that on occaison, the 'stop' command 
does not work, and when I restart, I thereafter create two copies of the 
original tomcat. this should not be possible because the first tomcat 
should be using the same port, and thus blocking the restart, but 
somehow, the restart does happen??

When I stop the second process, then tomcat officially stops working, 
even though the original process is still runnning.

Has this happened to anyone else?
Thanks
Sam Seaver
 Original Message 
Subject: Catalina suspends for no reason?!?
Date: Wed, 04 Feb 2004 10:38:16 -0600
From: Sam Seaver [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9.

It seems every now and then, tomat just simply hangs.  When I try to 
shutdown the Catalina process via catalina.sh, it doesnt remove the 
process?! So I have to 'kill -15' it, then start up catalina again.

I get very little information as to what happened, but checking jkstatus 
I can see where the requests stopped in the scoreboard. It's hard to 
tell sometimes, because httpd serves up the html pages just fine, but 
its only when I try to access a *.jsp page that i realise catalina is 
hanging again.

The only errors I get are from httpd as listed below:

[Wed Feb 04 09:37:47 2004] [error] msgAjp.receive(): Bad signature 00
[Wed Feb 04 09:37:47 2004] [error] channelSocket.receive(): Bad header
[Wed Feb 04 09:37:47 2004] [error] workerEnv.processCallbacks() Error 
reading reply
[Wed Feb 04 09:37:47 2004] [error] ajp13.service() ajpGetReply 
recoverable error 12
[Wed Feb 04 09:37:47 2004] [error] channelSocket.open() connect failed 
127.0.0.1:8009 111 Connection refused
[Wed Feb 04 09:37:47 2004] [error] ajp13.connect() failed 
ajp13:localhost:8009
[Wed Feb 04 09:37:47 2004] [error] ajp13.service() failed to connect 
endpoint errno=111 Connection refused

all these lines are repeated numerous times but at the exact same time, 
to the second, when i tried accessing the JSP page.

Previously, tomcat would hang on a sunday morning, and I disabled the 
jk2 logging feature and it seems to fix this, but it has now since 
hanged again.

Does anyone have any idea what is happening?
thanks
Sam
-
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]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat Loads Deleted Context?

2004-02-04 Thread Josh Rehman
Amen to that brother. I wasted a lot of time having an old context load 
up on me with TC5 when I had removed it from server.xml.

Very, very bad idea tomcat developers!

Note that they *can't* delete that directory because you might have 
modified something by hand, and presumably that would be even worse. (Of 
course, you could check to see if anything had changed before deleting, 
this safer deletion is possible.)

Bottom line is that any piece of server software should have 
reversable behavior - if I make a change to a config file, and change 
it back, then the server should act the same way before the change was 
made at all. Tomcat doesn't do this, and that's very bad.

Now, if I am wrong about this, please correct me. I'm all ears!

Milt Epstein wrote:

I amend what I said before .  And I agree with you -- it should be
Tomcat's responsibility to delete the context configuration file it is
creating.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat Loads Deleted Context?

2004-02-04 Thread Josh Rehman
This TC5 feature concerns me so much I've written up a bug. Please 
feel free to comment on it and/or vote for it.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26676

Milt Epstein wrote:
On Wed, 4 Feb 2004, Hernani Mourao wrote:


Hi,
Where can I find  the Senor Epstein's description of
what constitutes a deleted webapp?
I looked everywhere I remembered and I could not find.


I believe he's referring (somewhat facetiously :-) to what I wrote in
an earlier post in this thread.  To find it, you can check the list
archives.  There's one at http://marc.theaimsgroup.com/.


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 4 de Fevereiro de 2004 20:47
To: Tomcat Users List
Subject: RE: Tomcat Loads Deleted Context?


Howdy,
This is new functionality to tomcat5.  Senor Epstein's description of
what constitutes a deleted webapp is accurate and well-written.
If you happen to think tomcat should refresh its conf directory
periodically or upon some trigger, please feel free to contribute a
patch ;)
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 3:20 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat Loads Deleted Context?
Hi,

No, I didn't create the context configuration file under
/conf/[enginename]/[hostname]/.  It was created by Tomcat on the fly.
And

my
webapp wasn't starting up twice, which is good.  Also I can delete that
dir, but
it would be recreated next time when I restart Tomcat5.  I think the
confusion
lies on whether it's user's responsibily or the container's to clean up
the

configuration file after user deleting a context element in server.xml.

In tomcat user-guide:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html,
there

is
nothing about when a context descriptor is created, and what happens if
you

decide to delete a context in your server.xml. It would be nice if the
container
refreshes that directory/recreates all the context descriptors when
server.xml
is modified.  But maybe there is some other setting I don't know of in
5. I

didnt' have this problem with tomcat 4 before.

Thanks!

-Yan

-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 12:12 PM
To: Tomcat Users List
Subject: RE: Tomcat Loads Deleted Context?

  I removed the Context for that webapp in
conf/server.xml.
Hmmm -- you had a Context element for this webapp in server.xml
*and* a separate context configuration file?  That's redundant,
because they serve the same purpose.  I'm not sure what would happen
in that case -- were you per chance seeing your webapp starting up
twice?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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


Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Do the tomcat developers use bugzilla?

2004-02-04 Thread Josh Rehman
At first I was shocked that TC5 has only 15 bugs registered. Then I 
looked at the TC4 bugs: only 647, and almost all of them new.

Should I bother filing any more bugs? Are the TC developers using 
another bug system? Are they using any bug system? Speaking of which, 
who *is* developing Tomcat these days?

--
Thanks,
Josh Rehman
Citysearch
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache2, Mod_jk2 and Tomcat 4 on Linux - Help

2004-02-03 Thread Josh Rehman
There are lots of resources on the net. Do a search. I don't have any 
links handy or I'd post 'em.

One word of advice: avoid installing a unique tomcat user. Just install 
it as your user name and not as root. As you develop and start/stop 
tomcat, log files and other things are generated with your UID. This 
essentially prevents you from using that special tomcat user anyway, so 
may as well avoid it.

chown -R user:user $CATALINA_HOME
chmod -R g+rwx user:user $CATALINA_HOME
is your friend. :)

(In production, having a tomcat user is a Good Idea - but not for 
development IMHO)

I don't know about the connector stuff. However, I do know that it is 
hard to integrate tomcat with the whole runlevel service thing while 
having it integrated with Apache. But then, I haven't spent serious time 
on that. I run tomcat stand-alone mostly. I would consider running with 
apache and a connector to be an advanced topic and I am certainly not 
advanced. Yet.

Apahce Tomact wrote:

Hi,

I want to configure Apache2, Mod_jk2 and Tomcat 4 on Linux. If any body
has any procedure, Please send me.
I have done this in Windows environment successfully and Struggling to
configure on Linux.
Your help is greatly appreciated.

Regards,
Rama.
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
 



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


Simple security - or Why is HttpJspBase.service final?

2004-02-03 Thread Josh G
Is there any reason that HttpJspBase.service() is final, apart from to make 
my life hard?

I'm trying to implement a _simple_ security system that intercepts requests 
before they get to _jspService() so that if certain conditions aren't met, 
a redirect occours instead. I don't want to use filters or anything like 
that if I can avoid it because I want it to be simple to use and I want the 
restrictions to be set in the page itself with the @page info= directive

Another thing that comes to mind, is that I assume that since service() 
simply calls _jspService(), can a browser not perform a HEAD request to a 
jsp page?

I don't particularly want to use a customised version of tomcat, even if 
the only difference is removing one final... is there another way to get 
around this limitation?

Cheers,
-Josh
 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Re: Simple security - or Why is HttpJspBase.service final?

2004-02-03 Thread Josh G
At 11:27 AM 4/02/2004, you wrote:

why dont you use filters (standard) or valves (tomcat specific)

filip
It's looking like I'm going to have no choice, but I don't want to because 
I want the security simple, and I want to keep the security settings for a 
page in the page itself.

-Josh

 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Josh Rehman
Maybe the best thing to do is to try to bulk unsubscribe everyone on the 
list. All the autoresponders will go away. Normal people will stay.

My recommendation is to require subscribers to do something in the 
reply, like type a word.

Filip Hanik (lists) wrote:
yes,
but the user will not get unsubscribed unless he replies, so you could not
unsubscribe me for example
Filip

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 10:11 AM
To: 'Tomcat Users List'
Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache
Tomcat/4.1.29 URGENT
so can anyone do this?


-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 12:08 PM
To: Tomcat Users List
Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn /
Apache Tomcat/4.1.29 URGENT
and here is the syntax to unsubscribe an auto replyer

[EMAIL PROTECTED]

this would unsubscribe [EMAIL PROTECTED] if he autoreplies

Filip

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:52 AM
To: Tomcat Users List
Subject: RE: AUTO 'Getty=001-016-162'Error in JDBC conn /
Apache Tomcat/4.1.29 URGENT


Howdy,


writing rules will still take up our bandwidth, so it is in
everyones

interestest to get these off the list as opposed to filtering them
Of course.  I just said that people can't count on IMMEDIATE
removal of the offending user.  I left unsaid my wish that
people wouldn't complain when the offender isn't removed
within a couple of hours because, well, people will always complain ;)
Yoav Shapira



This e-mail, including any attachments, is a confidential
business communication, and may contain information that is
confidential, proprietary and/or privileged.  This e-mail is
intended only for the individual(s) to whom it is addressed,
and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient,
please immediately delete this e-mail from your computer
system and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
-
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]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: About_tomcat5_manager_and_status_application

2004-02-02 Thread Josh Rehman
I think the answer was, You can't. Not, if you change some libraries 
it might work.

Ingmars Rubenis wrote:
Do You know what libraries Should I change like common.jar
May be I should change all server/lib libraries and also common?
Yoav Howdy,


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


Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Josh Rehman


David Rees wrote:
1. Recompile Tomcat 5, lowering the hard-coded minimum.
2. Implement a filter or some other type of synchronization in your
servlet which keeps track of the number of currently executing requests
and redirects the user to a different page with a meta refresh letting
them know that their request is being queued until the other outstanding
requests finish.
This brings up an interesting point. I'm too lazy to test it, but what 
happens if you tomcat needs more threads than it is allowed? Does the 
user get a 404?

--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Redeployment of War over and over Supported?

2004-01-30 Thread Josh Rehman
Actually, that's not quite correct. From $CATALINA_HOME/RELEASE_NOTES:


JAVAC leaking memory:

The Java compiler leaks memory each time a class is compiled. Web 
applications
containing hundreds of JSP files may as a result trigger out of memory 
errors
once a significant number of pages have been accessed. The memory can 
only be
freed by stopping Tomcat and then restarting it.

The JSP command line compiler (JSPC) can also be used to precompile the 
JSPs.

Note: This issue has been fixed in Sun JDK 1.4.x.



Seth Ladd wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philipp Taprogge wrote:
| Hi!
|
| I don't know if this applies to your webapp, but there is an issue with
| the java compiler having a memory leak which can lead to OOM errors when
| tomcat has to compile many jsps over and over. A remidy for this is
| either to use jikes instead of javac entirely or to set the fork
| attribute of the default servlet to true, thus loosing some speed but
| preventing the leak.
|
Thanks very much!  This very well could be it.  I'll look into how to
set fork to true.
I'll let you know what we experience,
Seth
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAGsIG5EIB1scRes8RAtUaAJ94S8TtbEMr8jL8vmOAlad49T3jkgCeItTR
ObMFHEF5DecxpuslZb/I/KM=
=r7zn
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Autoresponers getting subscribed to the list AUTO 'Getty=987-032'Tomcat 5 jpda debugging

2004-01-30 Thread Josh Rehman
A simple requirement that the user type something specific would be enough.

Vitor Buitoni wrote:
Yes, surely it's a vulnerability in this system.

Perhaps the subscription confirmation should include something else 
besides just a single reply...
Is it possible to use the system that sends the user an image containing 
some text, and to confirm the user have to type what he sees in the 
image? Or some kind of control like this, that would make it difficult 
for machines to confirm the subscription automatically.

Thanks!

Vitor

Giuliano Gavazzi wrote:

At 9:37 am -0800 2004/01/30, David Rees wrote:

Vitor Buitoni wrote, On 1/30/2004 3:50 AM:

Maybe some admin could unsubscribe this annoying guy?


The real question is how are these guys getting subscribed?  It 
appears that someone has figured out a way to subscribe random 
addresses to the list without validation.

I'm guessing that it works because someone spoofs a subscribe 
request, and ezmlm responds to the spoofed address with the 
confirmation.  These autoresponders which include the whole message 
reply, and voila, they have been subscribed to the list.


well, but this also means that ezmlm sucks, or that it should be 
configured in a different way. I guess that during this storm 
subscriptions, (but not un-subscriptions please!) should be stopped. I 
not want to check my mail the morning after some virus manage to 
subscribe a few autoresponders to the list.

Giuliano




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Applet class files' location

2004-01-30 Thread Josh Rehman
Any resource that needs to be accessed by the browser directly should be 
outside of the WEB-INF directory. An applet is exactly the same as an 
image file in this way. The classes in WEB-INF are accessed by the 
container only, and only their results are presented to client browser.

That said, you could write a simple servlet that returns contents of a 
file in this directory. After all, one trivial result of a servlet is 
a file that's read off the disk! However, you would have difficulty 
making the browser interpret this as an applet, although I'm sure it's 
possible. This would make an interesting exercise for an advanced user, 
I think. But bottom line you want to avoid this!

Teja Jo wrote:
Hello everyone ,
 
There r some jsp files in the root directory of the web application.They
display some applets.If the applet class files are placed in a package
structure inside WEB-INF/classes - then I get a ClassNotFoundException
for the applet.The applet files have to be compulsorily kept in the
directory which has the jsp files,but I want the applet class files
inside WEB-INF/classes.Could u tell me a way to do it?
 
Regards,
Teja.
 

-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do you configure Standard Error Log?

2004-01-30 Thread Josh Rehman
Tomcat logging is quite interesting once you get to know it. By default, 
all webapp logging goes to the same place, catalina.out (this is defined 
in server.xml/service/engine/logger). Of course, that file can get quite 
large, and you might want to seperate out certain webabbs from others.

You can define a logger per host and per context. I've only seen 
org.apache.catalina.logger.FileLogger used for this purpose.

I would make sure your app is logging at all into catalina.out first, 
then I would try overriding the log destination with a FileLogger, and 
then finally changing the Logger type.

tom ly wrote:
sorry, i meant in the server.xml file

tom ly [EMAIL PROTECTED] wrote:I've got this is my web.xml, but
tomcat won't run with it:


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Redeployment of War over and over Supported?

2004-01-30 Thread Josh Rehman
Seth Ladd wrote:

Wow, OK, thanks for the great insight.  In other words, it's safe to
assume to always restart Tomcat when deploying webapps.  That, of
course, is less than ideal.  For testing, that just makes the
development time longer (and more complicated, since now we have to
remember to restart Tomcat every X deployment times).  And for
production, of course we don't want to take anything down.
That's unfortunate to hear. However, one can make the impact somewhat 
less by automating the tomcat restart. Apache folks have figured out all 
kinds of ways to make this happen. SSH and shell scripting is your friend.

--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


TC5 Problems SEVERE: Error filterStart and webapps won't load

2004-01-29 Thread Josh Rehman
Hi all,

I'm new to the list and sort of new to Tomcat. Good to be on the list.

I'm having a wierd problem. A fresh install of TC5 worked fine. I 
manually removed some wars and xml files from webapps to test a clean 
deployment. Destroyed conf/Catalina too for good measure, as well as 
work/my_project and temp. We are deploying on dev boxes by
copying wars into webapps/ FYI. Upon restart several things occured:


  1 conf/Catalina/localhost/ is empty. Normally this populates with
server.xml fragments for each project.
  2 catalina.out (attached) reports
SEVERE: Error filterStart
Jan 29, 2004 7:59:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
...
  3 catalina.DATE.log (attached) reports
StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
...
  4 None of my projects want to load - war deployment doesn't seem to work.

Nothing in server/lib has changed, and commons-digester.jar is there as
always. I have not modified startup.sh or shutdown.sh in any way.
Obviously I've done something wrong. Thanks for any advice on how to
correct this. (I saw another related post in the archive but that never
seemed to come to a conclusion).
(BTW, is there an easy way to get TC runtime info in file form? The only 
way I know to get runtime info is from the Manager app, and that seems 
like rather a lot of work to get info that is darn useful in a forum 
like this.)



System info:

[EMAIL PROTECTED] sumstruts]$ uname -a
Linux tigris.cs.tmcs 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686
i686 i386 GNU/Linux
[EMAIL PROTECTED] sumstruts]$ java -version
java version 1.4.1_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02)
Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed mode)
--
Thanks,
Josh Rehman
Citysearch Toolsdev
StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:107)
at org.apache.webapp.balancer.RulesParser.init(RulesParser.java:85)
at org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:121)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:272)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:355)
at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:126)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3646)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4275)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:598)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

StandardContext[/jsp-examples]ContextListener: contextInitialized()
StandardContext[/jsp-examples]SessionListener: contextInitialized()
StandardContext[/servlets-examples]ContextListener: contextInitialized()
StandardContext[/servlets-examples]SessionListener: contextInitialized()
StandardContext[/servlets-examples

Re: TC5 Problems SEVERE: Error filterStart and webapps won't load

2004-01-29 Thread Josh Rehman
I have fixed the problem by copying commmons-digester and 
commons-beanutils (a dependancy of digester) from server/lib/ to 
common/lib. I swear I didn't touch common/lib when I was deleting 
things. I have no idea where they went or indeed if the libraries went 
anywhere. I'd have to do a clean install to figure that out, and I'm too 
lazy. :)

Josh Rehman wrote:
This is wierd. Fresh install of TC5 worked fine. Manually removed some 
wars and xml files from webapps to test a clean deployment (I'm tweaking 
the project build file). Destroyed conf/Catalina too for good measure, 
as well as work/my_project and temp. We are deploying on dev boxes by 
copying wars into webapps/ FYI. Upon restart several things occured:

 1 conf/Catalina/localhost/ is empty. Normally this populates with 
server.xml fragments for each project.

 2 catalina.out (attached) reports
SEVERE: Error filterStart
Jan 29, 2004 7:59:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
...
 3 catalina.DATE.log (attached) reports
StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
...


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


Re: TC5 Problems SEVERE: Error filterStart and webapps won't load

2004-01-29 Thread Josh Rehman
Hmm. Looks like I was too hasty to declare victory. /manager/status, 
/manager/html, and /admin still give a 404 (a symptom I failed to 
mention) and conf/Catalina/localhost remains empty (a bad sign).

Furthermore my deployment seems to work, but gives me missing message 
errors. The log files have changed significantly, though, so I'll 
attache them.

Josh Rehman wrote:
I have fixed the problem by copying commmons-digester and 
commons-beanutils (a dependancy of digester) from server/lib/ to 
common/lib. I swear I didn't touch common/lib when I was deleting 
things. I have no idea where they went or indeed if the libraries went 
anywhere. I'd have to do a clean install to figure that out, and I'm too 
lazy. :)

Josh Rehman wrote:

This is wierd. Fresh install of TC5 worked fine. Manually removed some 
wars and xml files from webapps to test a clean deployment (I'm 
tweaking the project build file). Destroyed conf/Catalina too for good 
measure, as well as work/my_project and temp. We are deploying on dev 
boxes by copying wars into webapps/ FYI. Upon restart several things 
occured:

 1 conf/Catalina/localhost/ is empty. Normally this populates with 
server.xml fragments for each project.

 2 catalina.out (attached) reports
SEVERE: Error filterStart
Jan 29, 2004 7:59:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
...
 3 catalina.DATE.log (attached) reports
StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): 
ruleChain: [org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect 
URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: 
Target param name: paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: 
Redirect URL: http://jakarta.apache.org]]
StandardContext[/jsp-examples]ContextListener: contextInitialized()
StandardContext[/jsp-examples]SessionListener: contextInitialized()
StandardContext[/servlets-examples]ContextListener: contextInitialized()
StandardContext[/servlets-examples]SessionListener: contextInitialized()
ApplicationDispatcher[/sum_struts] Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Missing message for key app.title
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:297)
at 
org.apache.jsp.pages.header_jsp._jspx_meth_bean_message_0(header_jsp.java:104)
at org.apache.jsp.pages.header_jsp._jspService(header_jsp.java:66)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)
at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1002)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:626)
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
at 
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
at 
org.apache.jsp.pages.vertical_005flayout_jsp._jspx_meth_tiles_insert_0(vertical_005flayout_jsp.java:137)
at 
org.apache.jsp.pages.vertical_005flayout_jsp._jspx_meth_html_html_0(vertical_005flayout_jsp.java:99)
at 
org.apache.jsp.pages.vertical_005flayout_jsp._jspService(vertical_005flayout_jsp.java:69)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133

Re: TC5 Problems SEVERE: Error filterStart and webapps won't load

2004-01-29 Thread Josh Rehman
Well, to be honest I've had to do that before, and no doubt that would 
be the quickest and easiest fix. However, I would like to know what I'm 
doing to mess up my installation because frankly, I don't want to have 
to reinstall every time something goes wrong. I'd rather just undo some 
small thing.

Filip Hanik (lists) wrote:
get another fresh copy and start from the beginning :)

Filip

-Original Message-
From: Josh Rehman [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 8:38 PM
To: [EMAIL PROTECTED]
Subject: TC5 Problems SEVERE: Error filterStart and webapps won't load
Hi all,

I'm new to the list and sort of new to Tomcat. Good to be on the list.

I'm having a wierd problem. A fresh install of TC5 worked fine. I
manually removed some wars and xml files from webapps to test a clean
deployment. Destroyed conf/Catalina too for good measure, as well as
work/my_project and temp. We are deploying on dev boxes by
copying wars into webapps/ FYI. Upon restart several things occured:

   1 conf/Catalina/localhost/ is empty. Normally this populates with
server.xml fragments for each project.
   2 catalina.out (attached) reports
SEVERE: Error filterStart
Jan 29, 2004 7:59:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
...
   3 catalina.DATE.log (attached) reports
StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
...
   4 None of my projects want to load - war deployment doesn't seem to work.

Nothing in server/lib has changed, and commons-digester.jar is there as
always. I have not modified startup.sh or shutdown.sh in any way.
Obviously I've done something wrong. Thanks for any advice on how to
correct this. (I saw another related post in the archive but that never
seemed to come to a conclusion).
(BTW, is there an easy way to get TC runtime info in file form? The only
way I know to get runtime info is from the Manager app, and that seems
like rather a lot of work to get info that is darn useful in a forum
like this.)


System info:

[EMAIL PROTECTED] sumstruts]$ uname -a
Linux tigris.cs.tmcs 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686
i686 i386 GNU/Linux
[EMAIL PROTECTED] sumstruts]$ java -version
java version 1.4.1_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02)
Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed mode)
--
Thanks,
Josh Rehman
Citysearch Toolsdev
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: jsp.error.attribute.unterminated -- WTF?

2003-12-18 Thread Josh G
At 12:40 AM 19/12/2003, you wrote:

in the image: / tag that your using you have to make sure that its
descriptor in the tld has rtexprvalue equal to true. for example:
attribute
namerowsPerPage/name
rtexprvaluetrue/rtexprvalue
/attribute
and even if it is, i think you may not be able to concatinate with text
the way you are. try this:
% String temp = sectionNames[i] + _off.gif; %
image:local file=%= temp  % /
that is i think the attribute has to be either text or an expression,
not both.
dave
Tried that already, getting the same flamin error, and checking the tld was 
the first thing that sprang to mind. Unfiortunately, it's correct, and the 
first occurence (where is shows the error) isn't inside a taglib tag at all :(

This is really killing me, _anyone_ out there suffered something similar?

-Josh



 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


rtexprvalue ignored?

2003-12-18 Thread Josh G
Hi All,
I've tracked down my problem, and despite tomcat's bogus error reporting 
the problem is this code:

image:local file=%= tmp %_off.gif /

Which should work as far as I can tell, since I have rtexprvalue set to 
true in the .tld file. Is this just being ignored for some reason?

Also, is it correct for tomcat to 500 if I move the rtexprvalue element 
in the xml above the required or name elements?

Cheers,
-Josh
 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Re: rtexprvalue ignored? - fixed

2003-12-18 Thread Josh G
At 11:47 AM 19/12/2003, you wrote:
This is what i was telling you before, the attribute has to be either a
expression or a constant, not both. so add the _off.gif part to the
tmp variable before you put it in the tags attribute.
like this:
% String temp = sectionNames[i] + _off.gif; %
image:local file=%= temp  % /
thats what i've done before to fix the problem.

dave
Ah, gotcha... Now I see. I misread it, and thought you meant that my 
problem was within the %= %, not in the tag attribute. Cheers mate.

If it helps you any, I also got

image:local file=%= tmp + off.gif % /

to work, since I'm doing a lot of these lines and assigning tmp to 
sectionNames[i] above the block.

(sent this back to the list so it turns up in the archive, sorry if this 
pisses anyone off).

Again, thanks, have a beer on me.

-Josh



 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


jsp.error.attribute.unterminated -- WTF?

2003-12-17 Thread Josh G
Hi All, pulling out copious amounts of hair for this one... here's the code:

%
for (int i = 0; i  sectionNames.length; i++ )  {
%
%= sectionNames[i]  %_off = new Image();
%= sectionNames[i]  %_off.src = image:local file=%= 
sectionNames[i]   %_off.gif /;
%= sectionNames[i]  %_on = new Image();
%= sectionNames[i]  %_on.src = image:local file=%= 
sectionNames[i] %_on.gif /;
%= sectionNames[i]  %_hover = new Image();
%= sectionNames[i]  %_hover.src = image:local file=%= 
sectionNames[i] %_hover.gif /;

% } %

It is in some client-side javascript, and I get a 
jsp.error.attribute.unterminated error on a out-of-line-range character on 
the first line inside the loop. Uncle google has nothing to say about this, 
and I can't even figure out what the error means, let alone trying to 
decipher the problem. If I remove the lines inside the loop it works as 
expected.

This is driving me totally nuts, any help here _much_ appreciated.

Cheers,
-Josh
 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Default 404 page source?

2003-12-14 Thread Josh G
Hi, I'm trying to find the source for the default 404 not found page that 
tomcat uses, so I can add more functionality to ours. Anybody know where in 
the tomcat source I should look, or its class name?

Cheers,
-Josh
 He likes to run, And then the thing with the.. person..
   ... Oh boy, that monkey is going to pay.
   [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 

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


Resolving an object for a jsp?

2003-11-12 Thread Josh G
Hi I'm wondering if there's an easy way to pass information to jsp pages 
you're inlining with a context.include? Or is it possible to get a 
Servlet instance for the jsp page and make a call to it yourself in lieu 
of tomcat? I'm just looking for a more elegant solution than simply 
tacking things onto the request object. I don't mind if this requires 
tomcat-specific tomfoolery, as the code will be in a taglib.

Any pointers much appreciated.

Cheers,
-Josh
--

I'm sick of the Internet. I want a yabby net.

[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



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


Re: Resolving an object for a jsp?

2003-11-12 Thread Josh G
Tim Funk wrote:

jsp:include ...
 jsp:param name=p1 value=val1 /
 jsp:param name=p2 value=val2 /
/jsp:include
-Tim

The code will be in a taglib, so I can't do that, i'm trying to find the 
java equivalent of that jsp code.

--

I'm sick of the Internet. I want a yabby net.

[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



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


JSP pages and interfaces

2003-10-20 Thread Josh G
I know I can use the [EMAIL PROTECTED] extends= % to set the base class of a 
jsp page, but is there a similar thing for interfaces?

I'm just rambling at the moment, trying to think up an easily 
implementable security scheme for our system.

--

I'm sick of the Internet. I want a yabby net.

[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



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


Start tomcat with a different server.xml?

2003-10-06 Thread Josh G
Hi, I know it can be done, I just can't remember how to do it - how do I 
make tomcat use a different server.xml file on startup?

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Catch thread death?

2003-10-06 Thread Josh G
Is there a way to catch thread death in tomcat/java? We have a 
threadlocal database connection and obviously we don't want to leak 
connections when threads die / tomcat is stopped. Any pointers?

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: Catch thread death?

2003-10-06 Thread Josh G
Josh G wrote:

Is there a way to catch thread death in tomcat/java? We have a 
threadlocal database connection and obviously we don't want to leak 
connections when threads die / tomcat is stopped. Any pointers?

Cheers,
-Josh
Never mind, I'm a spastic.

--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: JNDI+dbcp Can't find my jdbc driver

2003-10-05 Thread Josh G
Adam Hardy wrote:

Josh,
try
jdbc:mysql://localhost:3306/docomatic

Tried that, still nothing. And there's nothing showing up in 
var/mysql.log either. Is there any way to dig up where exactly the 
problem is between tomcat and mysql?

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: JNDI+dbcp Can't find my jdbc driver

2003-10-05 Thread Josh G
Peter Harrison wrote:

A known issue was with putting the resources under either the default context 
or the global resources. If you do thins you end up with various errors. This 
might not be the same issue of course. To fix it place the resources in a 
Context you intend to run under.
 

Unfortunately it's already in a specific context as far as I can tell :( 
I've downloaded the source to dbcp and it seems it's throwing a 
SQLException on DriverManager.getDriver(url) but there's no reason I can 
see that it should, as the url it returns worked just fine when we were 
doing it the old fashioned way, the only difference is we called 
getConnection instead of calling getdriver and doing things seperately 
like dbcp does. Anybody know why getDriver would throw a SQLException 
where getConnection would not?

This is really starting to get ridiculous, I've spent way too long 
trying to make this work, and I'm pulling my hair out so to speak.

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


ant and JNDI questions

2003-10-02 Thread Josh G
Does ant remove kill JNDI resources in the context you're rebuilding? 
If not, is there any reason I can't have a resource of the same name in 
two different contexts?

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


JNDI+dbcp Can't find my jdbc driver

2003-10-02 Thread Josh G
Hi, I switched to jndi+dbcp for my database connection, and now it can't 
find the driver. It seems like this is a common problem on the list, but 
if an answer's been posted I can't find it. Any pointers much appreciated!

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: JNDI+dbcp Can't find my jdbc driver

2003-10-02 Thread Josh G
Filip Hanik wrote:

where are your driver classes located? common/lib?

Filip
 

They're in shared/lib - should I add a symlink / copy it to common/lib?

--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: JNDI+dbcp Can't find my jdbc driver

2003-10-02 Thread Josh G
Filip Hanik wrote:

put it in the same place as your DBCP jar files are 
 

Ok done that, now I'm getting a new error that I can't find an 
explanation of on google :(

java.sql.SQLException: Cannot create JDBC driver of class 
'com.mysql.jdbc.Driver' for connect URL 'jdbc:mysql:localhost/docomatic'

What's this exception actually mean?

-Josh

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


DBCP API reference

2003-10-01 Thread Josh G
Can somebody point me to a mirror of the DBCP API javadocs? All I get 
when looking through the jakarta site are links to a 404 :(

--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


JNDI resources in web.xml

2003-10-01 Thread Josh G
How can I specify jndi resources in web.xml for an application rather 
than server.xml for all applications. Is it even possible?

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Strange error message

2003-09-29 Thread Josh G
What does this mean?

javax.servlet.ServletException: org/mozilla/javascript/Scriptable

It's somehow getting out of a block of code encased in a try-catch of Exception, but of course doesn't give me a line number or any actual information, and com.mozilla.javascript.Scriptable isn't even a class, it's an interface.

Anyway, I've got no idea what's going on, and in a fair hurry to get it fixed. Any pointers much appreciated.

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: Strange error message

2003-09-29 Thread Josh G
Jon Wingfield wrote:

Are you using Batik?

If so:
org.mozilla.javascript.Scriptable.class is found in the js.jar of the 
Batik 1.5 distribution. Have you deployed that jar?

HTH,

Jon
Yeah we eventually figured out it was a noclassdeffound error, of course 
if tomcat had actually told me it could have saved me half a day of 
tracking down queer errors (well there's one i tracked down, the other 
is too strange and I'm working around it).

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


requestdispatcher question

2003-09-29 Thread Josh G
I have a quick question, how do I set up my system so that I can return 
some pages through a requestdispatcher that can't be requested by the 
user direct from the browser?

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: java.util.logging and tomcat

2003-09-28 Thread Josh G
Adam Hardy wrote:

Statements should go to $CATALINA_HOME/logs/ if you have set up your 
JDK logging.properties not to filter them out.
How do I make that change?

--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


java.util.logging and tomcat

2003-09-26 Thread Josh G
Just wondering if anybody here has any experience on using 
java.util.logging with tomcat? I was under the impression that logged 
lines (and System.out) would go to the tomcat_localhost log, but it 
seems I am mistaken. Is there something I should adjust in my web.xml or 
server.xml?

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Threads and tomcat

2003-09-24 Thread Josh G
Hi, I'm trying to get some info on the lifespan of a thread in tomcat 
(4), can somebody point me to some documentation or help me out?

Cheers,
Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



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


Re: Threads and tomcat

2003-09-24 Thread Josh G
Tim Funk wrote:

The lifespan of a thread or request?

-Tim
A thread. Like when does tomcat decide to create them, and when they're 
done servicing a request are they killed or simply put on hold back in 
the pool to wait for the next request? And if they're kept alive, how 
long before thet're cleaned up to avoid leaks?

That sort of thing.

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


RE: Apache, JK2, SSL and channel.jni:jni: Wrong request scheme

2002-12-04 Thread Fenlason, Josh
This has been fixed after the release of 4.1.12.  Grab version 1.12 of 
org.apache.coyote.tomcat4.CoyoteAdapter.java out of cvs, compile it, and put it in 
server/lib/tomcat-coyote.jar.  That should fix the scheme problem.

-Original Message-
From: Slava Kudinov [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 10:52 AM
To: Tomcat Users List
Subject: Apache, JK2, SSL and channel.jni:jni: Wrong request scheme


Hello,

I use Apache 2.0, Tomcat 4.1.12 with JK2 connector configured on
channel.jni:jni mode. Regardless of which scheme used in web-browser
http or https, request.getScheme() always returns http. Of course, I
can perform secure context check based on request.getServerPort() but
this solution requires server ports to be specified somewhere inside
application. I think, it would be more correct if JK2 or Coyote
connector does not corrupt request scheme.

-- 
Best regards,
 Slava  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: Need help with Tomcat!

2002-12-03 Thread Fenlason, Josh
Try changing the docBase attribute to the full path to the test directory.

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




RE: Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000

2002-12-02 Thread Fenlason, Josh
There is no AddModule in Apache2.  All you have to do is LoadModule.

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




Tomcat 3.3.1 vs Tomcat 4.0.x vs Tomcat 4.1.x

2002-11-27 Thread Fenlason, Josh
I'm investigating the different versions of Tomcat to see which will better suit our 
needs.  Which ever version we go with, we will be committed to for a while, so I want 
to make an educated decision.  Since we will make a long term commitment to the 
version, I would be inclined to go with the latest Tomcat possible.  I had heard that 
Tomcat 4.x is not as quick as 3.3.1.  Does anyone know if that is the case?  I have 
used all three versions in my single user environment and not noticed a performance 
difference.  Has anyone used any in a multi user environment?  Any input on the pluses 
and/or minuses of various Tomcat versions would be greatly appreciated.  Thanks in 
advance.
,
Josh.

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




RE: Tomcat 3.3.1 vs Tomcat 4.0.x vs Tomcat 4.1.x

2002-11-27 Thread Fenlason, Josh
Thanks for the advice.  I was reading the Tomcat 4.x release notes and the javac 
memory leak concerns me because we use a lot of jsp pages.  Is that not a problem in 
Tomcat 3.3.1?  I didn't see it mentioned, but maybe I just missed it.

 Simple advice #3 -- if you need features defined in servlet 2.3 and JSP
 1.2, you'll need to use Tomcat 4.0.x or 4.1.x to get them.  If your app
 runs on servlet 2.2 / JSP 1.1, it will run on any of the servers you
 propose to look at.
The features are not a huge factor.  We have to support other servlet engines besides 
Tomcat, not all of which support the new specs yet.  As a result, we can't take full 
advantage of those features until all the servlet engines we support comply.  

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




RE: Tomcat 3.3.1 vs Tomcat 4.0.x vs Tomcat 4.1.x

2002-11-27 Thread Fenlason, Josh
Thanks a lot.  I appriciate your help.  Have a nice day.
,
Josh.

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




Listener Object

2002-11-17 Thread josh
Hi

i have a HttpSessionListener object that is deployed in the web.xml file. At
Tomcat startup two instances of that listener class are created. Is it
normal that two instances of the listener class are created? Why? If not,
where could the second instance come from?

Thanks for your answers.
Josh



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




AW: System.out.println not working on servlets initialized when Tomcat starts

2002-11-15 Thread josh
I have almost the same problem in Tomcat 4.1.12 - in my case tomcat just
doesn't print out the System.out.prinln in the servlet init() methode, the
System.out.prinln in the service methode works. In Tomcat 4.0.4 it worked
without problem. I think it has something to do with the new loggin/debug
parameter, but i couldn't find a setting that enables System.out.prinln for
the init() methode until now.

-Ursprüngliche Nachricht-
Von: Travis Shook [mailto:travis.shook;verizon.net]
Gesendet: Freitag, 15. November 2002 22:03
An: [EMAIL PROTECTED]
Betreff: System.out.println not working on servlets initialized when
Tomcat starts


Hi,


For some reason, for any servlets that are initialized via the web.xml
(load-on-startup), Tomcat is not printing out to my DOS screen any of my
error messages or System.out.prinln in the code, although these are printing
out fine for any other Servlets or JavaBeans, etc.

Is there a setting in Tomcat that can change this?  Or a bug?  Or am I the
bug? :)

Thanks for any help,


Travis






Like jazz?
http://www.travisshook.com/
http://www.veronicanunn.com/


--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org




--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




  1   2   3   >