There was a thread on this
"http://www.nabble.com/Context-starts-twice-t1351694.html";. But my
configuration is a bit different.
this is my configuration:
server.xml doesn't have context definition.
context.xml is empty except this line
WEB-INF/web.xml
under $CATALINA_HOME/Catalina/localhos
> Why did you think they would? Only .jsp files can be updated
> on the fly without restarting the application.
oh no, I didnt mean "on the fly"? I restart the Tomcat but it still remain
intact.
this happens for static methods and static instance variables.
--
View this message in context:
h
Hi Josh,
During development ~only~ you can pass the following system property to the
jvm running your web app and the templates will automatically pick up
changes for you:
-Dorg.apache.tapestry.disable-caching=true
Don't leave it on in production but it should be fine for development.
http://t
Evening All
Anyone know where I can a working java.policy file for JBoss?
(No domains configured yet)
Thanks
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received th
The above test was conducted on the Tomcat version I have which is not 5.0.
If you check your code throughly and the problem still occurs in 5.0,
you may want to file a bug --- only if you're sure it's a bug ---
otherwise it will not be resolved , if it's not a bug :-)
-Regards
Rashmi
-
On 4/28/07, David <[EMAIL PROTECTED]> wrote:
I've tried forcing the url rewriting behavior by deploying the following
snippet in a context.xml file in my webapp's META-INF directory.
WEB-INF/web.xml
This provides a work-around under Tomcat 5.5, but does not change the
be
I've tried forcing the url rewriting behavior by deploying the following
snippet in a context.xml file in my webapp's META-INF directory.
WEB-INF/web.xml
This provides a work-around under Tomcat 5.5, but does not change the
behavior seen under Tomcat 5.0. And of course, Tomc
On 4/28/07, Josh Joy <[EMAIL PROTECTED]> wrote:
Thanks for the info.
For my application, I am using Tapestry which uses
html templates which
I was having trouble to be reloaded by tomcat.
I don't know Tapestry, but when I write a normal JSP or HTML file, all
I have to do is press the browsers
Thanks for the info.
For my application, I am using Tapestry which uses
html templates which
I was having trouble to be reloaded by tomcat.
What I ended up doing was to write an ant hotdeploy
script to copy the
files to my tomcat installation then have ant invoke
the "reload"
command on tomcat.
On 4/28/07, David <[EMAIL PROTECTED]> wrote:
Rashmi,
Thanks for your initial response. I guess I wasn't clear on a few things.
The behavior I'm seeing is the same in both Tomcat 5.0 and 5.5, and they are
both configured the same -- using default behavior for cookies.
Sorry for repeating this,
Rashmi,
Thanks for your initial response. I guess I wasn't clear on a few things.
The behavior I'm seeing is the same in both Tomcat 5.0 and 5.5, and they are
both configured the same -- using default behavior for cookies.
I should elaborate further and mention that the urlEncode method causes
On 4/28/07, David <[EMAIL PROTECTED]> wrote:
I'm hoping someone can shed light on some session anomalies I'm seeing with
Tomcat 5.0.2.8 and Tomcat 5.5.23.
I have a web application containing FacesServlet (
javax.faces.webapp.FacesServlet) as well as some additional servlets that
also make use of
I'm hoping someone can shed light on some session anomalies I'm seeing with
Tomcat 5.0.2.8 and Tomcat 5.5.23.
I have a web application containing FacesServlet (
javax.faces.webapp.FacesServlet) as well as some additional servlets that
also make use of the Faces Context.
The normal flow is:
1)
On 4/28/07, lightbulb432 <[EMAIL PROTECTED]> wrote:
What would the cookie store?
A Cookie stores name, value pairs just like the Session. So you can
store anything in a Cookie.
But I think it may be a security concern to store the password in a Cookie.
Username and password, just username,
What would the cookie store? Username and password, just username, or
something else? How can this be done in such a way as to prevent the user
from changing the value within the cookie?
Could you elaborate on what you meant by sessions not working when the
browser caches a page? If a user submit
On 4/28/07, lightbulb432 <[EMAIL PROTECTED]> wrote:
Is it possible for a Tomcat session keep the session alive for a certain
period of time (say, 2 hours),
The session timeout interval is adjustable, see under
conf/web.xml
Max inactive interval can also be specified in HttpSession object,
wi
Is it possible for a Tomcat session keep the session alive for a certain
period of time (say, 2 hours), but remove all objects within it after a
default period of time (like half an hour)? This way the user doesn't have
to re-login as per your usual session timeout but their session state
doesn't
Hi all.
This may have been asked before, but I couldn't find the answer. Perhaps it
should be in the FAQ.
I have installed TC 5.5 as Windows service. Tomcat Monitor application (the one
that sits among tray icons) that is used to start, stop and configure service,
also features a command "Thre
It was implemented starting with versions 1.4.2_12, 1.5.0_07 and 1.6.0 FCS.
[EMAIL PROTECTED] wrote:
Hello,
i'm experiencing memory issues on the heap space.
The guy that handle the server can't set the -XX:+HeapDumpOnOutOfMemoryError
option in JAVA_OPTS of the catalina.sh file, since he get th
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: problem when changing code and deploying
>
> Why did you think they would? Only .jsp files can be updated
> on the fly without restarting the application.
I should have mentioned that if you want Tomcat to do the restart
aut
Hi,
In the tomcat clustering documentation it's not even mentioned the problems
concerning applications with the usage of critical sessions/semaphores
(concurrency) and in-memory caching of data.
Has anybody any suggestion of reading about how to deal with this?
Thanks in advanc
> From: is_maximum [mailto:[EMAIL PROTECTED]
> Subject: problem when changing code and deploying
>
> I have a big problem, when I change some classes specially
> classes with static methods and also Context Listener classes
> of my appllication and the deploy new changes in already
> installed
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
>
> The guy that handle the server can't set the
> -XX:+HeapDumpOnOutOfMemoryError option in JAVA_OPTS of the
> catalina.sh file, since he get the error in the topic.
Install a m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jan,
Jan Strauch wrote:
> It still doesn´t work.
> this is what Catalina.out sais:
[snip]
> and are different. Also, if you are using a
JDBCRealm, you should disable the UserDatabaseRealm.
> Why "ajp13 listening on /0.0.0.0:8009" ? Is this norma
Hello,
i'm experiencing memory issues on the heap space.
The guy that handle the server can't set the -XX:+HeapDumpOnOutOfMemoryError
option in JAVA_OPTS of the catalina.sh file, since he get the error in the
topic.
Is there any thing i should tell him to do please?
---
Seriously, David's recommendation is the way forwards.
When he said, 'read the spec', he was indicating that you should at
least have a basic familiarity with what a Servlet is.
There are *extensive* and complete tutorials from basic to advanced to
found for free online. Search Google (other
On 4/28/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hi,
>> The request, wait, async response + close pattern seems to be a
>> pretty common use case though, especially with server side push
>> (AJAX), so it would still be good to have a solution that works well
>> allways.
> Yes, and for t
Hi,
The request, wait, async response + close pattern seems to be a
pretty common use case though, especially with server side push
(AJAX), so it would still be good to have a solution that works well
allways.
Yes, and for this you don't need Comet, you need "Asynchronous
Servlets" they are so
Hi all
I have a big problem, when I change some classes specially classes with
static methods and also Context Listener classes of my appllication and the
deploy new changes in already installed application, neither of my changes
will apply!!!
even if I put some new log they wont appear in the T
29 matches
Mail list logo