Hi,
>
This is fine. You probably don't need to specify workDir explicitly
since you're just using the default anyways.
>I thought that leaving the path empty and removing the ROOT application
was
>enough to install the application att root level so I can use
>http://localhost to reach the appl
Hi,
>I'm using Tomcat 5.0.28 on Win98. I've created a very
>simple web app consists of just two java files:
Does your webapp have a web.xml? Where are HelloServlet and Biz
located?
> writer.close();
This is an aside, and irrelevant to this thread, but you shouldn't close
the wri
Hi,
>It sure looks like ApplicationHttpRequest.getRequest() returned itself
a
>copy of itself...
If you really want to track this down, you can prove (or disprove) the
above by building your own tomcat that does a toString() call on the
request of AppliationHttpRequest.getRequest. You'll see fr
Hi,
One question that's good to ask if whether you need Apache, or whether Tomcat by
itself can meet your requirements. Tomcat can serve static content such as HTML and
images. So on this list, we frequently suggest that new Tomcat users first try Tomcat
by itself. You can always add Apache
dont work on my system,
>whom could I anounce the prevent others from serching to long:
>Perhaps with a little comment in the Readme.
>
>Or should I see it as it is: a special case.
>
>Bye
>Christian
>
>
>On Mon, 4 Oct 2004 12:19:54 -0400, Shapira, Yoav <[EMAIL PROTEC
Hi,
>Actually i used the launcher, 'cause the .bat script has some errors
>while calling javac (I haven't tried to fix this yet).
Address those before going further. You should be able to launch Tomcat
using startup.bat on Windows out of the box. If not, something serious
is wrong.
>There is,
Hi,
How about starting with the simplest approach: forget the manager,
forget Ant. Do a clean Tomcat installation. Copy your webapp into the
webapps folder (not as a WAR file, just the unpacked directory
structure). Start the server. That's it.
Your web.xml looks fine. It's always a good ide
Hi,
There IS an Apache mailing list: httpd-user, as described on
http://httpd.apache.org/userslist.html. Since your question has more to
do with the httpd component and not as much with Tomcat or the
connectors, I'd ask there first if I were you ;)
Yoav Shapira
Millennium Research Informatics
Hi,
Use ServletContext#getResource(AsStream) or Class#getResource(AsStream),
as described in the Tomcat FAQ.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: dmu2201 [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 04, 2004 9:34 AM
>To: [EMAIL PROTECTED]
>Subject:
Hi,
Does 4.1.30 behave better? Or 5.0.27?
(5.0.28 has http://issues.apache.org/bugzilla/show_bug.cgi?id=31372
which might affect this use-case)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Stephen Charles Huey [mailto:[EMAIL PROTECTED]
>Sent: Monday, October
Hi,
>My reason for preferring the installer over the zip is that - when it
>works - I can do a faily painless upgrade by uninstalling leaving the
>webapps etc alone and reinstalling an upgrade version to the same
>directory. This is not so easy using the zip distribution.
>
>Any help would be app
Hi,
You can also do this with one (or more, if you want, depending on the
exact requirements) Filters. That prevents the need for a separate
servlet and any associated session overhead, so the performance argument
is even more moot.
Yoav Shapira
Millennium Research Informatics
>-Original M
Hi,
Comment out the RequestDumperValve (in $CATALINA_HOME/conf/server.xml)
altogether: it's output is not errors, as you noted. However, it's also
not a Logger per-se and so the Logger congifuration doesn't apply to it.
It's commented out by default, so go back to the default ;)
Yoav Shapira
Mi
Hi,
99.9% of the time, it's your fault, with a large majority of these cases
being infinite recursion. How does the CPU behave when leading up to
this error?
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Cott Lang [mailto:[EMAIL PROTECTED]
>Sent: Monday, Octob
Hi,
>BTW Yoav, I wanted to thank you for the information you provided. This
>helped to steer me down the right road to discovering a solution.
No problem, glad to help.
>discovered that all I had to do to overcome the Read only issue of
>Tomcat's JDNI instance was to change the name of my init
Hi,
Be careful with your syntax, use ?param1=param1¶m2=param2, not
?param1=param1?param2=param2. The ? indicates the beginning of the
query string and is expected once per URL, & is a parameter separator in
the query string is can be there zero or more times.
Yoav Shapira
Millennium Research I
;> First of all, let me tell you that I am not a big fan of tomcat and
>second
>> if you just want to annoy me, don't even reply to my question.
>> Be professional man. I am soliciting for clue on where else to look.
I
>am
>> a Unix admin and not a an app admin. I al
Hi,
No, don't run Tomcat as root. Create a special user called whatever you
want with only the bare minimum permissions for running Tomcat. If
you're running with a port number under 1024, use commons-daemon to
invoke Tomcat, otherwise just run Tomcat normally with this user.
Details on commons-
Hi,
>> http://wiki.apache.org/jakarta/TomcatProjectPages
>
>Thanks, though it does look quite confusing on the first view.
>It seems as if there is not much content yet related to tomcat.
There isn't that much content on the wiki: mostly links to connector
configuration examples provided by othe
Hi,
So something went wrong, you looked at the logs and didn't see anything
to help you debug the problem, restarted the server, now it's all fine,
and you expect someone else to have a clue as to what went wrong? Come
on ;) Post the log if still have it, otherwise have a good weekend ;)
Yoav S
Hi,
Your web.xml is invalid: you can't have both 2.2 and 2.4 DTD/schema declarations.
Pick one, probably 2.4.
Your app structure is invalid. Classes and libs go under [webapp]/WEB-INF, not just
[webapp].
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Christ
L PROTECTED]
Sent: Friday, October 01, 2004 12:06 PM
To: Tomcat Users List; Shapira, Yoav
Subject: Re: JNDI binding a new resource
So, is there not any other open source JNDI projects which have already
written an InitialContextFactory class I can use? Ideally I would like
to just replac
Hi,
>There seems to be no Wiki for the Tomcat project page. Is there a
>tomcat wiki where we could collect information?
http://wiki.apache.org/jakarta/TomcatProjectPages
>P.S. Where can I find more information about the balancer?
In the Tomcat docs there's one devoted to Balancer. It's not a
Hi,
>
>
>Which I'm guessing is picked up by Tomcat,
>though I don't know how to 'add checking to it'?
>Any advice appreciated, since I'd prefer java to jscript!
If you're trusting the container, trust it ;) You're depending on the
container to auth for you, so you can't do server-side checks he
Hi,
>You are really lucky not to offer your service to thousands of
>customers. From what I can see in the sales figures, those customers
>never sleep! And so do the product managers: the best downtime is no
>downtime :-) Thus I want to keep the version cycle as small as
>possible.
Yes, it's tru
Hi,
I think what he's saying is that he has request parameters AFTER path
parameters, and that Tomcat stops evaluating the URL after encountering
the special ; delimiter ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Ben Souther [mailto:[EMAIL PROTECTED]
>Sen
Hi,
I just installed 5.0.28.exe on Win2K the other day, using both JDK
1.4.2_04 and 1.5 RC2 (the last beta before the final customer shipment
went out yesterday): in either case it worked fine, no freezing.
Installation, running as a service, running from the command line, and
de-installation all
Hi,
>I'm using mySQL for login name, password validation.
>This from a standard html static page.
>
>I can't see how I can get to this data to validate it?
>Is it possible?
On a standard HTML static page you can use JavaScript for form field
validation and not even submit the form if the inputs
Hi,
You have a couple of options within Tomcat: use a custom JNDI resource
factory (this is covered in the JNDI how-to) which would allow you to
control JNDI resource creation and stuff, but only for that factory and
type, so it's limited. Alternatively, extend and/or customize the
org.apache.nam
Hi,
You need a Context with path="". Not sure what this means? RTFM and
search the archives of this list.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: didik [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 30, 2004 11:52 PM
>To: [EMAIL PROTECTED]
>Subje
Hi,
I'd say it's easier to expose security flaws with CGI scripts than it is with
Servlets, and vice versa it's easier to configure a secure environment for Servlets
than it is for CGI scripts.
That's not the same as saying "Servlets are more secure than CGI." I don't think such
a categorical
Hi,
>I can run the same JSP files from both TOMCAT and Apache
>with DB connection pool for Oracle.
>But I have difficult in Servlet. I cannot run servlet from Tomcat.
You realize the JSPs are servlets, right? ;)
>In webapps/www/WEB-INF/web.xml, I registered the Servlet:
>
> ServletTes
Hi,
Then put the singleton in the shared repository, not in ROOT.
In general, what you're trying to do is inadvisable and against the
spirit of the Servlet Specification: web applications are supposed to be
self-contained. Features like a shared classloader repository are not
mandated by the Spe
Hi,
Your web.xml is syntactically fine, although I suggest you change to the 2.3 DTD.
Take a look at the top of $CATALINA_HOME/conf/web.xml to see the DTD declaration and
copy it instead of your current 2.2 delcaration.
For this servlet to be available at http://localhost:8080/locasugeGSM, you
Hi,
We're gradually transitioning to 2.4. It's certainly not a bug, as
either DTD is valid and both are supported by Tomcat. If anything, it's
kind of nice to have examples of both.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Steve Kirk [mailto:[EMAIL PROTE
Hi,
For those of us who really like Tomcat (or have friends who really like
Tomcat): http://www.cafepress.com/meepzor/386851.
I'm not sure if the proceeds go to anything good, but I think at least
some go to the ASF, which is a good thing ;)
Yoav Shapira
Millennium Research Informatics
This
Hi,
If you hit it when it didn't work over the past 24 hours, you may have
simply had bad timing, as they were updating everything from 5.0 RC2 to
5.0 FCS. And now they're experiencing a huge load because the FCS is
available. But it does work, I just did it a couple of hours ago ;)
Yoav Shapir
Hi,
As the SSO docs say, it's designed to work over a set of web
applications in a *particular virtual host*. Enhancing it to work
across a cluster would be nice, but it would be exactly that: an
enhancement. What you're reporting isn't a bug, it's a limitation, and
you're free to submit enhance
Hi,
As the error says pretty clearly, you can't put before
using your DTD. So the same web.xml doesn't work on Windows
or any other platform.
Go validate your web.xml (using a tool like XMLSpy or one of the free
online validators) to see for yourself. You can simply fix the element
order and
Hi,
As you know signal 11 crashes are internal to the JVM usually at a
native level. A corrupt or incomplete JVM installation, or missing OS
patches for your JVM version, are the two most common causes for this.
Can you post the Java code for your error JSP? That'll make helping you
a bit easie
Hi,
When people make this choice it's usually for features: a full J2EE app
server has EJBs, JMS, JTA and other services all built-in. Tomcat
doesn't, as it's not a full J2EE server and doesn't want to be.
Tomcat scales well. On our Wiki (linked also from the Misc. FAQ page)
we have references
shutdown feature disabled on my setup because I didn't like
the
>possible security hole. However I suggested it because I imagined you
had
>already secured the shutdown port using firewalling but were looking
for a
>way to stop each instance from the localhost.
>
>> -
Hi,
Of course, you can only do this telnet from the local machine ;)
Otherwise we'd have a nice security hole ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Steve Kirk [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 29, 2004 4:10 PM
>To: 'Tomcat Users L
.
Yoav Shapira
Millennium Research Informatics
>-Original Message-----
>From: Shapira, Yoav
>Sent: Wednesday, September 29, 2004 12:40 PM
>To: Tomcat Users List
>Subject: RE: Alternate class and lib directories
>
>
>Hi,
>In Tomcat, the location of the classes and
Hi,
In Tomcat, the location of the classes and libraries for your web
application is not configurable. You have a choice of several
repositories, as explained in the Classloader How-To
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
). These are not limited to WEB-INF/cl
. This filter is the only filter that exists in the
>application. Even if another filter is added it can be put as he last
>filter in web.xml. Please comment on this.
>
>rgds
>Anto Paul
>
>
>On Wed, 29 Sep 2004 09:04:32 -0400, Shapira, Yoav
<[EMAIL PROTECTED]>
Hi,
>However, I am sure about the fact, that you cannot map a single url
such as
>"/".
>(Yes, you can define a mapping of "/", but that maps to EVERY request,
NOT
>to the root url only.)
No. You're mistaking the default configuration for something that's
hard-coded. Out of the box, "/" is mapp
Hi,
>You cannot map a single url. Tomcat only maps prefixes. So, you cannot
map
Really? Where did this nugget come from? ;) I nearly choked on my
(otherwise fabulous) croissant. Your assertion above is wrong. Tomcat
implements servlet mapping exactly as required by the Servlet
Specification
pache.jk.server.JkCoyoteHandler", as the
>problem disappears commenting
>that connector? In that case I'guessing, should the JMX API not be included
>by tomcat self?
>
>Thanks a lot for your help
>
>regards
>
>Markus
>
>
>Shapira, Yoav wrote:
>
>>
Hi,
When you do the download, are you streaming it yourself from a servlet, or asking for
it as a static resource? If the former, you should use the http-equiv
content-disposition header.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Václavík Radek [mailto:[
ke(ContainerBase.java:929)
> at
>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:7
99)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Conn
>e
Hi,
Please make sure that gets in the changelog for 5.0.29, which I'm
itching to release soon ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Mark Thomas [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 28, 2004 6:24 PM
>To: 'Tomcat Users List'
>Subject: RE
Hi,
Your analogy is interesting but warped.
Apache httpd is a web server not written in Java that's very mature,
stable, fast, configurable, and you will get very little contention if
you claim it's the best in the world at serving static content, CGI
scripts, PHP code, handling SSL transactions,
Hi,
>Even though this resource is not in "Global" scope?
Yeah. What I said applies to any and all container-managed resources.
Yoav
>
>-Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: September 28, 2004 1:55 PM
>To: Tomcat Users L
member reporting the
>bug back in 99 and the support rep said something like, "yeah, lots of
>people have been reporting the bug."
>
>peter
>
>
>
>On Tue, 28 Sep 2004 14:16:43 -0400, Shapira, Yoav
<[EMAIL PROTECTED]>
>wrote:
>>
>> Hi,
with connection pooling. If you're using classes111.zip driver from
>oracle, you should update your driver to the latest.
>
>just in case no one else mentioned it.
>
>peter
>
>
>On Tue, 28 Sep 2004 13:55:18 -0400, Shapira, Yoav
<[EMAIL PROTECTED]>
>wrote:
>&g
ctory.makeObject(PoolableCo
nnec
>t
>ionFactory.java:300)
>at
>org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObje
ctPo
>o
>l.java:816)
>at
>org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjec
tPoo
>l
>.java:119)
>at
>or
7;ll do that, but what exactly you mean by
>"Tomcat tries to accommodate clueless users.", i did not quite
understand..
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 28, 2004 1:01 PM
>To: Tomcat Users List
>S
Hi,
And is /c/shared within the docBase of your webapp? ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 28, 2004 1:06 PM
>To: Tomcat Users List
>Subject: Re: forward to a form with enctype="mu
maxWait
>-1
>
>
>maxActive
>20
>
>
>password
>temp
>
>
>url
>jdbc:oracle:thin:@chd4.sbc.com:1521:ostl411
>
>at
>org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjec
tPoo
>l
>.java:119)
>at
>org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSour
ce.j
>a
>va:140)
>at
>org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.j
ava:
>5
>18)
>
s.dbcp.SQLNestedException: Cannot get a connection,
pool
>exhausted, cause:
>java.util.NoSuchElementException: Timeout waiting for idle object
>at
>org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericOb..
>
>So can you send me ur config and code snippet to get da
at I am missing to change.
>
> Thanks
> Amar
>
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 28, 2004 10:17 AM
>To: Tomcat Users List
>Subject: RE: Problems with tomcat on UNIX
>
>
>
>Hi,
>Well, how is the
Hi,
Well, how is the local machine configuration different the unix one? Is
the driver jar in the same directory? Is the server.xml the same? Is
your context definition, if you have one, the same? When you say you're
running fine locally, is that from within an IDE, or on the command
line?
Ou
Hi,
I think in Tomcat 3.x the variable to set is TOMCAT_OPTS, not JAVA_OPTS
(Tomcat 4.x and 5.x) or CATALINA_OPTS (Tomcat 4.x and 5.x). This is
covered in the documentation
(http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#env_setu
p) which you should have read by now. If you haven
Hi,
Probably with a sleep or delay command in there to allow tomcat time to
start up ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Steffen Heil [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 28, 2004 8:40 AM
>To: 'Tomcat Users List'
>Subject: AW: start
Hi,
Update your web.xml DTD to 2.3 or 2.4 in order to run your app on Tomcat
5. If you REALLY want a 2.2 DTD then at least validate your web.xml.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Shaun Campbell [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 2
Hi,
If you look at the mailing list threads for tomcat-dev and Geronimo-dev
regarding Tomcat integration, you'd see me getting on their case ;)
They being the Geronimo dev team. They've been very responsive and
helpful now that the 1.0 release is nearing.
So we're working on it, and have made si
Hi,
I've used javamail-crypto, it's cool. It worked fine. The environment
was very low stress as far as usage goes, something like one message
every couple of days.
I wish I had a link to an old post on this mailing list, not my post but
one of the old timers (maybe Craig or Bill Barker). It d
Hi,
Are you launching Tomcat from Ant? Looks that from your output. You
need the JMX API on the bootstrap classpath.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Markus Brigl [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 28, 2004 6:48 AM
>To: [EMAIL PR
Hi,
The Manager How-To:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Execu
ting%20Manager%20Commands%20With%20Ant. The command to the Manager are
the same whether issued via Ant or via the HTML interface.
Yoav Shapira
Millennium Research Informatics
>-Original Message
Hi,
>Is something wrong with my logger declaration? It does not seem to be
>creating the logs that I specified.
Ahh, I didn't even look at that. I think it looks fine. Try specifying
a known absolute directory rather than a relative one ("logs") to see if
that makes a difference.
Heads-up --
Hi,
Is the DigesterFactory class on the classpath for the validator-task?
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Mikko Hämäläinen [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 24, 2004 5:24 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat Deployer throws
Hi,
You might also want to ask this on the Apache httpd user list.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Steve Forsyth [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 23, 2004 6:11 PM
>To: [EMAIL PROTECTED]
>Subject: Very slow response times w/non-
Hi,
This message seems to originate from your JDBC driver.
"sql_env_t::get_connection_handle acquire" is the giveaway. Are you
using a type 4 driver?
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Radek Liebzeit [mailto:[EMAIL PROTECTED]
>Sent: Friday, Septembe
Hi,
>It was the laster. The connectors have changed from 4 to 5 and
therefore
>the custmised solution does not work for 5. There are not obstacles
>stopping myself from trying to reimplement the solution but the fact
that
>GSI delegation is complicated and it would need to be very secure in a
w
l Message-
>From: Dave Dribin [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 23, 2004 5:05 PM
>To: Tomcat Users List
>Subject: Re: getParameter() should be case insensitive?
>
>On Sep 23, 2004, at 3:34 PM, Shapira, Yoav wrote:
>> Hi,
>> I guess the part wh
erstand why
>there
>has to be a difference between /myapp/servlet/myservlet and
>/MYAPP/SERVLET/MYSERVLET.
>
>Robert S. Harper
>801.265.8800 ex. 255
>
>> -Original Message-
>> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, Septembe
Hi,
Tomcat 5.0 supports putting Contexts in server.xml just like Tomcat 4.x
did. In addition, you can put them in the $CATALINA_HOME/conf/[engine
name]/[host name] directory for the engine and host where you want your
app deployed. You can also put a META-INF/context.xml file in a WAR and
deploy
Hi,
>This is, however, contrary to other APIs and even the HTML spec (I
>believe). For example, Apache::Request treats parameter names as case
>insensitive:
As you noted, the HTML spec doesn't apply to servlet containers, only
user agents. What ASP/ASP.NET do is also irrelevant. The Servlet S
Hi,
>Randomly, and very very frequently, tomcat becomes unresponse and had
to be
>killed with kill -9. I have other web apps running on the same tomcat
>installations that do not behave this way.
So it's clear from the above Tomcat's not as fault, and the fault most
likely lies with the one app
Hi,
Are you saying Tomcat 5 removed something that Tomcat 4 had? Or that
your custom solution worked in Tomcat 4 but doesn't work in Tomcat 5?
I'm guessing it's the latter. If so, what obstacles have stopped you in
Tomcat 5?
Yoav Shapira
Millennium Research Informatics
>-Original Message-
Hi,
You're doing great work on this. I hope you come up with additional
findings.
The guideline remains to use in-memory reloading judiciously in
production applications. Frequently the time to restart Tomcat with a
new version of the app is only marginally more than the time to reload
the app
Hi,
>Instead of requiring the web app to call flushCaches, could Tomcat do
it
>when it shutsdown the webapp and discards the classloader?
It could. I was considering that when I attached the info you posted to
the relevant Bugzilla issues yesterday. But it's not trivial, because
Tomcat might b
Hi,
Please mark your questions as [OFF-TOPIC] in the subject line if they
have nothing to do with Tomcat. Thanks,
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Chuck Carson [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 23, 2004 10:49 AM
>To: LIST: Tomca
s approach or invent it: there's an ample body
of both theoretical SD research and practical experience that suggest
waiting for QA to conduct all integration testing results in
significantly worse product quality and delayed shipping. Tools like
Cactus are priceless to quality-oriented shops.
Y
;rgds
>Anto Paul
>
>
>On Thu, 23 Sep 2004 09:02:06 -0400, Shapira, Yoav
<[EMAIL PROTECTED]>
>wrote:
>>
>> Hi,
>>
>> >Cactus is in-container testing(I assume). Takes time. I want to test
>> code
>> >as
>> >I write it. Already the
Hi,
>My suggestion: package your application the J2EE way. Create a .war
file
>with in it a WEB-INF directory. Put your web.xml under WEB-INF, your
>classes in WEB-INF\classes (including the package structure) and your
>jars (driver classes) under WEB-INF\lib
That, of course, is impossible if yo
Hi,
>Cactus is in-container testing(I assume). Takes time. I want to test
code
>as
>I write it. Already the development time for deploying an application
is
>high because of having a different source directory than web
application
>directory and of Ant.
Good luck. If you want to have tests tha
Hi,
You're approaching this from a perspective that's fundamentally wrong.
Design patterns are not holy grails. They're more like useful tools in
your toolbox. With the right tool, you can usually do a better job and
do it more efficiently.
Don't fall into the buzzword trap. Just because you h
Hi,
My suggestions: pretend DefaultContext doesn't exist. Put the Resource
definition in an explicit Context tag for your webapp. Your web.xml is
fine, and your code is fine.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
Hi,
>I feel JTA is the solution. JOTM have a documentation on how to use it
in
>Tomcat. But requiring to use JNDI is a problem because Tomcat JNDI is
not
>available outside Tomcat and I cannot run unit tests. Thanks for the
help.
Cactus (as in the Jakarta in-container testing project) is good fo
ny JAAS...
>
>On Wed, Sep 22, 2004 at 03:16:17PM -0400, Shapira, Yoav wrote:
>>
>> Hi,
>> Can you put the login module in common/lib as well, to see if it
being
>> loaded by the common classloader makes a difference?
>
>first: thanks a lot for your efforts.
>
>
2004 3:15 PM
>To: Tomcat Users List
>Subject: Re: RE : too many JAAS...
>
>On Wed, Sep 22, 2004 at 02:28:59PM -0400, Shapira, Yoav wrote:
>>
>> Hi,
>> I didn't follow the rest of your thread. Your callback handler is
>> loaded from common/lib, not WEB-I
04 2:25 PM
>To: Tomcat Users List
>Subject: Re: RE : too many JAAS...
>
>On Wed, Sep 22, 2004 at 11:01:28AM -0400, Shapira, Yoav wrote:
>>
>> Hi,
>> I just committed a fairly big patch from Andrew Jaquith last night
that
>> addresses numerous issues encountered whe
Hi,
>3) Here is the server.xml file, I put this section between the Host
tags in
>the xml file:
This is the part you missed: you need to put the resource declaration
inside the Context where you will be using it, not inside the Host.
Alternatively, put the resource declaration inside a
GlobalNam
Hi,
>Well, having given my opinion I feel better ;)
I'm glad you feel better ;) I haven't disagreed more with an opinion in
a long time ;)
Check out http://jakarta.apache.org/tomcat/faq/logging.html.
Yoav
This e-mail, including any attachments, is a confidential business communication, and
at
>org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericOb..
>
>So can you send me ur config and code snippet to get datasource if
>possible...
>
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, Septem
Hi,
Bugzilla ticket opened,
http://issues.apache.org/bugzilla/show_bug.cgi?id=31364, fixing now ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Shapira, Yoav
>Sent: Wednesday, September 22, 2004 11:08 AM
>To: Tomcat Users List
>Subject: RE: D
Hi,
>One of our web applications has context reload="true" set so that we
can
>deploy single class patches (side question: is there a better way of
hot-
>deploying single-class patching?)
You could turn off reloadable and instead use the Manager app to reload
your webapps. It's not necessarily
701 - 800 of 5240 matches
Mail list logo