Hi,
I am trying to use shared directory for mail api. But when i keep these
jar files ( mail.jar and activation.jar) in shared/lib directory, after
restarting tomcat server when i try to send mail thorugh my jsp page its
give me smtp error.
But when i keep those archives in WEB-INF/lib th
John,
The simple and intuitive solution that Hansen
provided can be used to log when an HttpSession
instance is GC'd since the objects that instance
holds *unique* references to will also be GC'd.
So, the question becomes, which classes are
holding references to HttpSession objects and
preventing
http://localhost:8080/manager/list (no html) give you a simple list, if that
is more to your liking. Not sure if the manager/list comes in an XML
variant, like manager/status?XML=true does - doesn't appear to.
Tim
-Original Message-
From: Farrow, Marc [mailto:[EMAIL PROTECTED]
Sent: Fri
Hi. When I compile some classes using the ant task ReloadTask from the
sample build.xml, it doesn't reload
the new compiled classes in tomcat. The only way that I found it does that
is when I remove and reinstall the app.
Is that the normal behaviour, or am I doing something wrong.
Thanks
i did that and they aren't getting finalized. i made some garbage/tmp
objects and they get finalized when the GC runs.
any ideas how we can know when the session itself is finalized? and/or GC'd?
any way to have tomcat use a custom httpsession subclass? so that i could write
the finalize m
thats not what i'm talking about.
after a session times out... tomcat removes it from its list of sessions. a
session listener will show that it leaves.
however, a GC then needs to see if its available for collection on the next go
around of the GC.if i force the GC, or whenever it decide
Hi all. I have somewhat of a perplexing problem.
My site uses Apache 2.0 with mod_jk1.2 to connect to a Tomcat
application. The Tomcat app uses a session ID on the URL line. Apache
is configured to log in "combined" log format.
In the URL in the POST , I see
/myapplication/page.jsp;jsessioni
If you would like something simple and intuitive, you can create a class
and overwrite the finalized() method to print out simple log. Then,
create a separate object of your class for each httpsession and add it
as an attribute of the httpsession. Of cause you want to make sure that
you do not keep
easiest way to make sure they are GC'd is to set session time-outs.
-Original Message-
From: John Powers [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 6:07 PM
To: Tomcat Users List
Subject: session GC
How do you know when a session is garbage collected?
You can write a sessionli
Hello,
I'm configuring SSL on Tomcat. I would like to use truststore of PKCS type
(it reads in documentation that it is possible), but I don't know how to
generate the Tomcat-compatible truststore using openssl.
So far I have generated the keystore of JKS type using keytool. It works
fine but
How do you know when a session is garbage collected?
You can write a sessionlistener for when it gets deleted out of tomcat,
but after that, when do you know if its garbage collected?
I currently do not think my sessions are being collected. Within a day
500M of memory get eaten up and I can't c
If we have a sessionObject that holds a reference to the httpsession..
that sessionobject is set in the httpsession as an attribute. Would
this effect garbage collection of that session?
Once it times out, it gets marked as invalid, correct?If it gets
collected, then all its attributes woul
If you know the id of a session is there anyway to get it out of the
application?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tim Lucia Wrote:
and a more recent post from Peter Rossbach saying that it SHOULD be the
appBase.
[http://marc.theaimsgroup.com/?l=tomcat-user&m=113828526109819&w=2]
On Thursday 26 Jan 2006 11:33, Peter Rossbach wrote:
Please, set the deployDir to your webapps dir.
Peter
ha ha,
I currently look inside the FarmWarDeployer code and it seems that
the ROOT case is not handle really well.
OK, I have tomorrow time to make a really introspection and a test
the case.
Regards
Peter
Am 31.03.2006 um 23:04 schrieb Filip Hanik - Dev Lists:
two things:
1. I don't see that
Ok, thanks. After re-reading this thread again, I had just figured that
out and was going to post a "Never mind" message, but you beat me to it...
Filip Hanik - Dev Lists wrote:
what you are missing is
the complete file name being ".war"
ie, only a suffix, no actual file name
Filip
David
what you are missing is
the complete file name being ".war"
ie, only a suffix, no actual file name
Filip
David Kerber wrote:
Filip Hanik - Dev Lists wrote:
two things:
1. I don't see that you specified path="" in your element,
I would try that.
2. Deleting a .war deletes webapps directory
Filip Hanik - Dev Lists wrote:
two things:
1. I don't see that you specified path="" in your element, I
would try that.
2. Deleting a .war deletes webapps directory, yeah, you can call that
a pretty big oops! if you open a bugzilla item I will be happy to fix
that, I of course never thought
I saw that one as suggestion (.war) in this group ;-) There was also an
article about the path being ignored. As I understand it, the path should
be ignored for a tim.war, and it should be deployed as /tim.
Adding path="" to the context does not change the behavior.
Tim
-Original Messa
two things:
1. I don't see that you specified path="" in your element, I
would try that.
2. Deleting a .war deletes webapps directory, yeah, you can call that a
pretty big oops! if you open a bugzilla item I will be happy to fix
that, I of course never thought anyone would use .war as an actu
That's what I am saying. I have a context.xml in my META-INF -- it looks
like this:
I forgot to mention - tomcat 5.5.12 / JDK 1.5.0_06 -- I am leery of moving
forward given the recent banter about .16...
Oh, and while I am at it, undeploying the context (empty) created by
de
so you are saying its all working except that on a slave you get two
contexts, "/" and "/ROOT"?
have you tried putting a context.xml inside the META-INF directory?
maybe that will solve the problem?
otherwise, I am sure its a bug and I would have to research it a little
bit further.
Filip
Hi All,
(This one is probably a Filip question...)
I have a 3-node cluster on Red Hat (2.6.9+ kernel) and I wish to use the
FarmWarDeployer. I have (of course!) RTFM and STFW and both have been
extremely helpful. I did note an old (2004-ish) post to this list from
Filip saying that the deployDi
No, I don't have any links, or documentation that states this, only know
that tomcat does run out of recources at times be it memory or other
leaks or problems so in order to not have this happen at "critical"
times, the decision was to bounce it very early every morning for the
least impact on
Hello Mike Sabroff,
Thanks for the information. This seems to be a good option. Any pointers
to Apache Tomcat group documentation that recommends restart of Tomcat
after some time period with recommendations for time periods would be of
great help.
Thanks.
-Original Message-
From: Mike S
You don't want to use JSP for something like this. It be much easier to use
a templating language such as Freemarker or Velocity.
-Tim
Gabriel Belingueres wrote:
Hi,
I'd like to write an application that, instead of deploying .JSP pages
into a context, I could deploy, let's say .xyz pages int
On 3/31/06, Gabriel Belingueres <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'd like to write an application that, instead of deploying .JSP pages
> into a context, I could deploy, let's say .xyz pages into a context
> and add the necessary configuration to Tomcat that, when it receives a
> request for an
Are you wanting to define the jsp page in memory or physically create it on
disk defined in that context?
As a side: you can use the jsp Servlet mapping to map any file with any file
extension to go through the jsp Servlet. Not sure if this is something you
want to do.
-Original Message--
Hi,
I'd like to write an application that, instead of deploying .JSP pages
into a context, I could deploy, let's say .xyz pages into a context
and add the necessary configuration to Tomcat that, when it receives a
request for an .xyz page, it will "compile" it and execute it as any
jsp page.
Howe
I hope that somebody on this list is able to help me with my problem. For a
case study I need Tomcat 5.0.x (in my case x = 30). When I try to run the
tester.xml in eclipse without any change in the original source code all
tests return "Fail".
Regards
André
- Original Message ---
You can do a URL request to tomcat's manager application to get a listing.
To see it in action go to
http://localhost:8080/manager/html
Here is documentation.
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
hth
-Original Message-
From: John Powers [mailto:[EMAIL PROTECTE
The following links are related to the topic:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html
Hansen
-Original Message-
From: Phil Wilson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 7:09 AM
To: Tomcat Us
my guess is that the class webservice.cedarWSImpl does NOT implement the
servlet interface, yet you are trying to declare it as a servlet in web.xml
Filip
colin holloway wrote:
I'm developing a web service to deploy on Tomcat 5.5.X using netbeans
5.0but i get a ClassCastException when i try to
We have a application monitoring page which includes, amongst other
application-specific data, Java memory usage statistics. (To share with the
group I've included the example code below!)
I want to include connection statistics for each connector, in particular
the information that the manager a
I'm developing a web service to deploy on Tomcat 5.5.X using netbeans
5.0but i get a ClassCastException when i try to deploy. I have been
searching
through google for a solution and the only solution i found was removing
the jsp-api.jar file from the projects lib directory but i have no such
.jar
Hello,
I have tomcat setup with a couple applications running in the
server.xml.is there a way to get a list of these from within a
filter or a servlet or a jsp? Is there access to the container higher
then application?
Thanks.
--
We configure datasource in tomcat 5.0 for oracle 9i.
but we stuck hereit is showing error.
we added in server.xml
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
pathname
conf/tomcat-users.xml
I believe that I already know the answer to this. But, if possible,
it would be nice to have some confirmation.
I have an application that uses JAASRealm for authentication. Within
my LoginModule class, is it possible to determine which resource the
user is currently trying to access?
My curren
fraught operation??
A lot of people seem to have problems with this, but I have had few problems
with it.
A bit time consuming to set up initially, but there is enough documentation to
do it fairly easily.
I think that the reason there seems to be so many posts here is because some
people are
I've been using http://tools.herberlin.de/phpservlet/index.shtml with php5,
works okay.
On 3/31/06, Ikonne, Ike <[EMAIL PROTECTED]> wrote:
>
> Hi Bruno,
>
> Thanks, will try it.
>
> Ike
>
> -Original Message-
> From: Bruno Georges [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 31, 2006 10
Hi Bruno,
Thanks, will try it.
Ike
-Original Message-
From: Bruno Georges [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 10:30 AM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: Does Tomcat provide support for PHP scripts
JBossWeb does. Soon to be released.
With Best
On 3/31/06, Bruno Georges <[EMAIL PROTECTED]> wrote:
> JBossWeb does. Soon to be released.
We're distributing a package for Tomcat too, but it's not fully tested yet.
http://labs.jboss.com/portal/index.html?ctrl:id=page.default.downloads&project=jbossweb
--
x
Rémy Mauchera
> From: Ikonne, Ike [mailto:[EMAIL PROTECTED]
> Does Tomcat provide support for php scripting language?
Yes, you could build PHP as a CGI program and run it using Tomcat's CGI
support, but this would be pretty slow. There is no facility that I
know of to integrate PHP with Tomcat. Otherwise, as
We upgraded our internet-facing web server from Tomcat 5.5.9 to 5.5.15 this
weekend and have run into a number of intermittent connectivity problems
which have resulted in rolling back to 5.5.9.
We use the Tomcat HTTPS connector (without an intermediate web server
between the clients and Tomcat)
Ikonne, Ike wrote:
> Does Tomcat provide support for php scripting language? I have not
> seen anything in Tomcat
>
> documentation that indicates that it does, I would appreciate it if I
> could be pointed to
>
> any documentation regarding tomcat support for php.
Not by default. I seem to remem
Thanks for the reply and pointing me in the right direction. I just wanted
to complete the circle regarding the resolution.
I prevented Tomcat from using creating its own JNDI Context (and having new
InitialContext() resolve to a preexisting Context), by setting the
StandardContext.setUseNaming(
JBossWeb does. Soon to be released.
With Best Regards
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
|-+--->
| | "Developer |
| | Developer" |
| | <[EMAIL PROTECTED]
I pretty much use the same configuration. Except that mod_jk doesn't detect a
hung application, but it does recognize a hung tomcat.
The workaround I have for the time being. I have a separate monitor program
which detects the hung application and then it modifies which is the active
node using
I tried it too in the past , but could not get it working.
Here is a link to some documentation -
http://www.alexander-merz.com/print_21.html
Let me know if you can get it working.
On 3/31/06, Ikonne, Ike <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi all,
>
>
>
>
>
> Does Tomcat provide support for php
Hi all,
Does Tomcat provide support for php scripting language? I have not
seen anything in Tomcat
documentation that indicates that it does, I would appreciate it if I
could be pointed to
any documentation regarding tomcat support for php.
Thanks,
Ike
We are trying to send from the client browser a huge xml (105kb) as a
parameter in the request, obviously GET will not work , instead we are
using POST.
But we are using AJAX and we are getting the error Permission Denied in
the Internet Explorer 6, any clue ?
--
Anyone who has developed a secuired web service using
a client certificate over HTTPS?
Appreaciate any development guidelines
Thx
KHL
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Finally figured how to use this:
httpd.conf:
JkMount /jkstatus/* status
worker.properties:
worker.list=loadbalancer,status
worker.status.type=status
URL:
http://localhost/jkstatus/
--
View this message in context:
http://www.nabble.com/mod_jk-disabled-directive---how-to-change-at-run
Hi,
I just installed the Fedora 5 and when I installed the
httpd 2.2.0 with configure ssl, I am also facing the
same problem.
Is it possible to let us know which rpms should be
installed?
For the moment, I take out the ssl and the
installation of httpd continues smoothly.
rgds,
--- Hadraba P
We are writing webapps for a call center based on a propietary framework
that works very good.
We have the case where we need to install in the same tomcat server 2
webapps, WEBAPP1 and WEBAPP2, the core framework is exactly the same,
but some implementation classes ans JSP are different.
After a
Hi,
Check out the META-INF/context.xml method for configuring data sources
for your web app.
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Allistair
-Original Message-
From: slashny [mailto:[EMAIL PROTECTED]
Sent: 31 March 2006 16:26
To: users@tomcat.apache.org
Subject:
My question is similar but slightly different. I am running my own custom
Spring-like container with an embedded version of Tomcat 5.5. I have my own
JNDI Context object configured in my application that I bind objects to.
However all those objects in that Context are not available to my web
ap
It is mentioned here that if you want to use something different, to
create a context.xml file specifying the path and docBase attributes.
What if you want 2 applications to have different docBases?
Ritchie
Programmer Analyst
>>> [EMAIL PROTECTED] 31/03/2006 10:09 am >>>
> see also my o
You need to bounce tomcat occasioally
We server a lot of content and we bounce tomcat every morning. Might not
need it that often, but better safe than sorry.
We use tomcat 4.xx
Ramadhenu, Giridhar (STSD) wrote:
Hello,
I am encountering IOException while getting input stream using
getIn
you're welcome, just doing what I can in the time I have allotted :)
Dean Hiller wrote:
BTW, I was pretty much stuck until you responded to my post like alot
of the others I have seen with a similar post and no answer. If you
had not responded, I would probably still be stuck and still googlin
Steve Ochani wrote:
On 31 Mar 2006 at 19:34, Jay wrote:
I am pretty new to tomcat. I recently read a post
http://marc.theaimsgroup.com/?l=tomcat-user&m=114372017420869&w=2
which solved a problem I have been having for tomcat 5.5 also. I
thank that person for posting the solution. I als
Then you are most definitely one of the better posters to the list. I
hope you don't take my message too personally. I was really responding
to Tim's comments. Overall it looks like logging is an area where
someone might want to volunteer a documentation patch to tomcat.
--David
Dean Hiller wr
Hmmm There must be some special pitfall you folk are hitting that I
don't even see...
I am using log4j in my web app (quite extensively) and see loads of log
messages.
Could this be an odd combination of including log4j and trying to use
java.util.logging? That should work (and the Tom
Hi,
I agree that a lot of people don't make much effort to solve their own
problem before posting; however, there are a few good reasons for it.
First of all, humans are social by nature; and, for most humans a mailing
list or discussion group is first, and foremost, a social activity.
Secondly,
hard to do when the only error in the logs is was two words. not much
to google on.
dean
Steve Ochani wrote:
On 31 Mar 2006 at 19:34, Jay wrote:
I am pretty new to tomcat. I recently read a post
http://marc.theaimsgroup.com/?l=tomcat-user&m=114372017420869&w=2
which solved a problem
BTW, I was pretty much stuck until you responded to my post like alot of
the others I have seen with a similar post and no answer. If you had
not responded, I would probably still be stuck and still googling,
reading, trying to solve it. I really really appreciate your help. I
could not find
this problem didn't have much to do with having servlet knowledge so I
am confused here. It had to do with setting up logging for servlets
which AFAIK, they don't teach in a servlet tutorial, so if you knew
servlets, it was not enough :( just as in my case.
dean
David Delbecq wrote:
Jay a é
On 31 Mar 2006 at 19:34, Jay wrote:
> I am pretty new to tomcat. I recently read a post
> http://marc.theaimsgroup.com/?l=tomcat-user&m=114372017420869&w=2
> which solved a problem I have been having for tomcat 5.5 also. I
> thank that person for posting the solution. I also read some of the
Those things I didyou can read my previous posts. warning though:
newbs have a hard time doing this, so go easy on us. I had no idea what
to include from the beginning. I had to search my way through it.
thanks,
dean
David Smith wrote:
Too true Tim. I've been on this list since the to
I was never mad. sorry to give you that impression. I may have not
come across the right way in my first few posts, but I was just trying
to suggest a usability improvement.
I support 4 open source projects myself. I googled the hell out of
that question without finding an answer startin
see also my other post in "*Setting the context path for expanded WARs* "
On 24/03/06, Wang, Hansen <[EMAIL PROTECTED]> wrote:
The path is ignored when you deploy webapps this way. Tomcat will use
the basename of the war file as the context path. If you want to use
something different than that,
Good Morning Joe-
Im going to take a guess at
To: "Tomcat Users List"
Sent: Thursday, March 30, 2006 3:06 PM
Subject: Tomcat Logging
> Is it possible to turn off Catalina's Commons logging
> (from org.apache.catalina.*) in Tomcat 5.0 without
> changing the debug level in log4j?
>
> Problem is
First off. Since you are catching the error properly and displaying the
message, you are not seeing a stack trace. This is not necessarily "bad
practice". It is just that you cannot see the specifics of your error.
For logging purposes, modify the code as below:
try
{
inStream = httpConnectio
Too true Tim. I've been on this list since the tomcat 3 days and it
never fails to impress me how many questions fall into one of three
categories:
1) Questions easily answerable by reading the docs. These are the RTFM
questions.
2) Repeats of previously posted and answered questions. These are
Thanks Tom... I was way beyond the point of frustration by the time I wrote
this email. Switching out my JDK, AppServer and IDE at once time resulted in
about 25 hours of frustration (sleep is for the weak! Or so I'm told).
It's all good now and thanks for the suggestion about the service, I total
Jay a écrit :
> I am pretty new to tomcat. I recently read a post
> http://marc.theaimsgroup.com/?l=tomcat-user&m=114372017420869&w=2
> which solved a problem I have been having for tomcat 5.5 also. I
> thank that person for posting the solution. I also read some of the
> responses from what a
Yes I am using Tomcat + Apache, using mod_jk module I connected these two
servers. I am able to access the examples folder of tomcat which is having the
jsp and servlet files. I am able to execute these jsp and servlet programes
using localhost/examples.
I dont know to which port my ip i.e
my problem is solved. I was just trying to poke tomcat team in hopes
that could put something in to help the next newb.
later, I think I am jumping off the list nowjust too much email on
this list,
dean
Markus Schönhaber wrote:
Dean Hiller wrote:
wow! you guys sound pretty harsh
Switch places with them for a minute -- They are providing free support and
pretty good support at that. Note that there are many, many basic questions
that could easily be answered by reading the documentation ("RTFM") or by
Googling ("STFW"), but instead posters demand immediate help as their
ho
Dean Hiller wrote:
> wow! you guys sound pretty harsh when it comes to messages to help
> users on simple mistakes then. I recently dropped in someone else's
> example app war file that had the SAME PROBLEM.latest facelets. I
> could not even give back information to help them debug the p
thankyou, that response is much appreciated.
thanks,
dean
Allistair Crossley wrote:
Please don't think it's the whole Tomcat community Dean, there are some really
helpful devs on Tomat, it's just Remy in particular has a problem being
polite/arrogant about Tomcat - I guess from his privileged
We are planning to deploy (in 2 weeks actually) on RHEL 4 with Apache + 3
tomcat servers (4 x Dell 2850s w/ dual-core CPUs). Load testing (JMeter,
HttpUnit playback of actual recorded requests) on this environment has
revealed a marked improvement in throughput (65K request/hour with 100
clients)
Please don't think it's the whole Tomcat community Dean, there are some really
helpful devs on Tomat, it's just Remy in particular has a problem being
polite/arrogant about Tomcat - I guess from his privileged point of view he
understands everything about Tomcat and therefore does not understand
What is listening to port 80 on 192.9.200.62? What error(s) do you get when
you make such a request? Are you using Apache + Tomcat? What connector?
More information is required to answer your question.
Tim
-Original Message-
From: Indraveni [mailto:[EMAIL PROTECTED]
Sent: Friday, Marc
I am pretty new to tomcat. I recently read a post
http://marc.theaimsgroup.com/?l=tomcat-user&m=114372017420869&w=2 which
solved a problem I have been having for tomcat 5.5 also. I thank that
person for posting the solution. I also read some of the responses from
what appear to be the tomca
wow! you guys sound pretty harsh when it comes to messages to help
users on simple mistakes then. I recently dropped in someone else's
example app war file that had the SAME PROBLEM.latest facelets. I
could not even give back information to help them debug the problem. It
was standard
Dear saha
I mentioned it on the mail that load testing is not done. I am working
on actually an application which is having a web based GUI.so for us
the maximum number of users online may be some 10-20 at any single
point of time.but our load comes from the dynamicity of the web
application eg.in
Hi,
I'm using OpenSSL and have no problems...
PETR
On 3/31/06, Indraveni <[EMAIL PROTECTED]> wrote:
> Hi friends,
>
>If we are giving the apcahe configuration command as ./configure
> --enable-ssl then which ssl packages does the system require.
>
> ssl support
>
> since I am facingan er
88 matches
Mail list logo