> On 1/13/2011 7:27 AM, durbans wrote:
>> awarnier wrote:
>>>
>>> Since this is XML, could you not also reference "entities" defined in a
>>> separate file ?
+1.
>>
>> How ?
>
> http://lmgtfy.com/?q=creating+xml+entities
>
A Tomcat-related example exists here:
http://wiki.apache.org/tomcat/FAQ/P
2011/1/13 Ran Berenfeld :
> Hello
> I'm using tomcat 6 for a deployed website (http://www.ichess.co.il)
> and since the beginning, GZIP compression did not work for part of the
> files.
> the amazing thing is that the website have several javascript files, some
> quite small
> and some large, and t
2011/1/14 Mark Thomas :
> On 13/01/2011 21:41, verlag.preis...@t-online.de wrote:
>> Does anybody know why Tomcat uses chunked encoding instead of content-length
>> header (output buffering)?
>
> Chunked encoding does not mean that the output is unbuffered. If a
> client declares support for HTTP/
Obviously there is something about the SSH shell I don't fully
understand in terms of why the tomcat server doesn't background itself
over SSH but does when executed from the bash shell. Perhaps
backgrounding isn't the right term for what is happening.
Actually, my mistake was using the '
man nohup?
You were right -- nohup solved the issue. I did also notice that the
environment variables were quite different so thanks to the user who
suggested I try doing a "ssh user@server env" command. I experimented
with doing "source /etc/profile" as the first ssh command, but the re
> From: Alec Swan [mailto:alecs...@gmail.com]
> Subject: Dedicated thread for Tomcat Manager
> Is there a way to assign a dedicated thread to Tomcat Manager so
> that it will never be used to process any other client requests?
Not directly - threads are associated with a or , not a
webapp. Yo
On 13/01/2011 23:05, Alec Swan wrote:
> Hello,
>
> Our webapp gets periodically hammered by our client applications causing
> Tomcat to run out of threads. This prevents us from being able to use Tomcat
> Manager and check the server status.
>
> Is there a way to assign a dedicated thread to Tomc
Hello,
Our webapp gets periodically hammered by our client applications causing
Tomcat to run out of threads. This prevents us from being able to use Tomcat
Manager and check the server status.
Is there a way to assign a dedicated thread to Tomcat Manager so that it
will never be used to process
On 13/01/2011 21:41, verlag.preis...@t-online.de wrote:
> Does anybody know why Tomcat uses chunked encoding instead of content-length
> header (output buffering)?
Chunked encoding does not mean that the output is unbuffered. If a
client declares support for HTTP/1.1 then web servers are free to
Good afternoon,
some weeks ago, I posted a question about the ISAPI redirector using chunked
encoding for 304 responses (Topic:
Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with
HTTP 304 Status) which created invalid responses. These issues were fixed in
Tomcat 7.0.6
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ran,
On 1/13/2011 3:04 PM, Ran Berenfeld wrote:
> I'm using tomcat 6 for a deployed website (http://www.ichess.co.il)
> and since the beginning, GZIP compression did not work for part of the
> files.
:(
What specific version of Tomcat 6?
> the amaz
Hello
I'm using tomcat 6 for a deployed website (http://www.ichess.co.il)
and since the beginning, GZIP compression did not work for part of the
files.
the amazing thing is that the website have several javascript files, some
quite small
and some large, and the HTTP headers (for example when viewed
> From: Johannes Stein [mailto:johannes.st...@googlemail.com]
> Subject: Re: vhost - servlets not available
> Is it regular that i will need a ROOT-directory in my app-base?
Yes - you always need to have a default webapp to handle requests that do not
match other webapp paths.
- Chuck
THIS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johannes,
On 1/13/2011 2:55 PM, Johannes Stein wrote:
> i got it working... i changed the host-entry and set the correct
> CATALINA_HOME and CATALINA_BASE.
> Both were not set correctly.
That'll get you.
> Now i set the following in server.xml:
>
>
Hey Christopher,
i got it working... i changed the host-entry and set the correct
CATALINA_HOME and CATALINA_BASE.
Both were not set correctly.
Now i set the following in server.xml:
for localhost
appBase="webapps/localhost/"
for srv2.tudom.de
appBase="webapps/tudom/"
after that i saw in the l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
On 1/13/2011 12:18 PM, Tony Anecito wrote:
> Does Tomcat come with JAX-RS?
$ ls lib/
catalina-ant.jar
catalina-ha.jar
catalina-tribes.jar
catalina.jar
ecj-3.6.jar
el-api.jar
jasper-el.jar
jasper.jar
jsp-api.jar
servlet-api.jar
tomcat-api.jar
to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 1/13/2011 11:45 AM, Chris Beckey wrote:
> Unfortunately this is a non-negotiable issue with the client, I have to run
> in FIPS mode.
Gotcha. Can you run in JSSE FIPS mode until Tomcat supports the
configuration directly?
> Yes, I would be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lava,
On 1/13/2011 1:35 PM, Lava Saleem wrote:
> Thanks for the feedback, what I have is a apache tomcat that is set
> to default I haven't changed any configuration.
Okay. Default Tomcat configuration does not involve Apache httpd. Tomcat
does not d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johannes,
On 1/13/2011 2:20 PM, Johannes Stein wrote:
> Now $CATALINA_HOME is setted to "/usr/share/tomcat6".
Was that set to something else, earlier? /usr/share/tomcat6 looks like
the CATALINA_HOME for a package-managed version of Tomcat. If that's
Have you compared the output from the 'env' command
run on the Tomcat server and run remotely from the system
you're ssh'ing from ( ssh [tomcat server] env )?
On 1/13/2011 2:01 PM, George Sexton wrote:
You can troubleshoot scripts by adding -x to the first line.
For example, the first line in
Sorry for my stupidity.
Now $CATALINA_HOME is setted to "/usr/share/tomcat6".
There i can find "bin, lib, webapps". But now srv2.tudom.de is not
resolvable.
Any ideas?
2011/1/13 Johannes Stein :
> When i am entering the $CATALINA_HOME directory in the shell with cd
> $CATALINA_HOME
> There is
You can troubleshoot scripts by adding -x to the first line.
For example, the first line in unix shell scripts is usually:
#/bin/sh
Change that to
#/bin/sh -x
That turns on echo so you can see each statement executed.
You may have to edit multiple scripts if one calls another.
George Sexton
When i am entering the $CATALINA_HOME directory in the shell with cd
$CATALINA_HOME
There is nothing else then there is nothing. cd $CATALINA_HOME/bin
redirects me into the bin folder.
2011/1/13 Johannes Stein :
> 2011/1/13 Christopher Schultz :
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
Chris,
Thanks for the feedback, what I have is a apache tomcat that is set to
default I haven't changed any configuration,I have uploaded html webpage
that has embedded java script, the web page suppose to send json data to
another server and return json data back, the problem is the other server
2011/1/13 Christopher Schultz :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Johannes,
>
> On 1/13/2011 11:34 AM, Johannes Stein wrote:
>>
>>
>>
>> > type="org.apache.catalina.UserDatabase"
>> description="User database that can be updated and saved"
>>
We copy using cp...
I'll try some of the ideas you guys mentioned and reply sometime next week
after I have some results.
Thanks for the great ideas !
-Sam
Hi All,
Does Tomcat come with JAX-RS?
Thanks,
-Tony
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Given that Jconsole can connect to the Tomcat JMX without any user
credentials (locally), i am guessing that i dont need to supply these
credentials but how do i connect to the JMX server without supplying the
port number? (by specifying the port number it means i am allowing remote
authentication
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jamie,
Technically speaking, this is a discussion best left to the user list.
I'm cross-posting. Please consider subscribing to the user list and
continuing the discussion there.
On 1/13/2011 7:27 AM, Jamie wrote:
> This works, but is not persistent.
Thanks for your help Chris.
Unfortunately this is a non-negotiable issue with the client, I have to run
in FIPS mode.
Yes, I would be willing to test the addition of a FIPS mode switch to
Tomcat. The other option is for myself to make the change. It has been a
while since I touched JNI so it wo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lava,
On 1/13/2011 11:32 AM, Lava Saleem wrote:
> I have read the following website and to be honest I'm a bit confused
> about configuring a rule?
One opint of confusion may be that the configuration for a reverse proxy
must be at the /web server/ l
Using JRE_HOME: /usr
Looks like you haven't set JAVA_HOME or JRE_HOME properly. At least one of
those must be set to a JDK or JRE (respectively) location.
However it starts on the local host with the save java environment
variables and uses the same JRE_HOME. This was one of the things
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johannes,
On 1/13/2011 11:34 AM, Johannes Stein wrote:
>
>
>
>type="org.apache.catalina.UserDatabase"
> description="User database that can be updated and saved"
> factory="org.apache.catalina.users.M
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Durbans,
On 1/13/2011 7:27 AM, durbans wrote:
> awarnier wrote:
>>
>> Since this is XML, could you not also reference "entities" defined in a
>> separate file ?
>
> How ?
http://lmgtfy.com/?q=creating+xml+entities
- -chris
-BEGIN PGP SIGNATURE-
Tomcat version?
Did you know there's some memory leak detection and prevention in
recent versions of 6.0?
Apache Tomcat Version 6.0.18
If you have a memory leak, why not fix it rather than ignoring it?
I'm not the programmer, just the administrator. Others have chosen to
ignore it for whatev
Enclosed the server.xml, hope this helps!
srv2.tudom.de
2011/1/13 Caldarale, Charles R :
>> From: Johannes Stein [mailto:johannes.st...@googlemail.com]
>> Subject: Re: vhost - servlets not available
>
>> But
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 1/13/2011 6:47 AM, André Warnier wrote:
> Konstantin Kolinko wrote:
>> 2011/1/13 durbans :
>>> Is it possible ?
>>>
>>
>> No, not possible.
>>
>> You can reference any system properties, though (as mentioned in [1]).
>> E.g. ${catalina.base}
Hi everyone,
I have a web page html embedded with java script deployed in the apache,
this webpage is suppose to retrieve data from different server, for some
reason this is not happening cause Iam violating java script same origin
policy and I have been told that what I need to do is set up a re
> From: Johannes Stein [mailto:johannes.st...@googlemail.com]
> Subject: Re: vhost - servlets not available
> But it isnt still reachable. Do you have any idea?
Post your complete server.xml, with comments removed and passwords obfuscated.
There's a strong possibility you've broken it.
- Chu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johannes,
On 1/13/2011 10:44 AM, Johannes Stein wrote:
> 2011/1/13 Christopher Schultz :
>> What is your default host? It's specified in the "defaultHost"
>> attribute.
>
> As default host is set:
>
>
Okay, that can certainly cause problems if yo
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: app throws java.lang.NoClassDefFoundError sometimes, and
> sometimes it doesnt
> I can think of a few ways around this:
> 1. Upgrade. It's possible issues with auto-deploy and/or manager have
> been resolved. Read
On 1/13/11 3:15 PM, Ziggy wrote:
> Aha... i didnt realise that i needed to supply the credentials from the
> client. I thought Tomcat would get those from the password files. Ok im off
> to the documentation now. :)
It could do, but you'd have to point the client at those files and read
their cont
Firebug says that the call is going to: /tudom.start.Start/StartService
And thats correct. Its also mapped correctly
StartService
tudom.start.server.StartServiceImpl
StartService
/tudom.start.Start/StartService
But it isnt still reachable. Do you have any idea?
2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sam,
On 1/13/2011 8:47 AM, Sam Zilverberg wrote:
> I'm running a wicket app on tomcat 6.0.20.
Upgrade!
> Once in a while I need to redeploy it (after fixing some stuff, adding
> features and so on).
> This is how I redeploy:
> 1.Use tomcat manager t
2011/1/13 Christopher Schultz :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Johannes,
>
> On 1/13/2011 10:01 AM, Johannes Stein wrote:
>> i deployed a gwt-application in tomcat 6.0.18 without any problems. I
>> pointed a url to the ip-adress and deployed the application unter
>> webapps/m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johannes,
On 1/13/2011 10:01 AM, Johannes Stein wrote:
> i deployed a gwt-application in tomcat 6.0.18 without any problems. I
> pointed a url to the ip-adress and deployed the application unter
> webapps/myfolder, so that the app was reachable unter
Ziggy wrote:
Aha... i didnt realise that i needed to supply the credentials from the
client. I thought Tomcat would get those from the password files.
Purely from an intellectual curiosity point of view, it would be interesting if you could
explain what you thought that this server-side passw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Achal,
On 1/13/2011 2:27 AM, Achal Patel wrote:
> Attaching the Web.xml from Tomcat. I have tried everything posted on
> http://tomcat.apache.org/tomcat-6.0-doc/index.html.
This looks like the system-wide web.xml, not the web.xml from your web
applic
Aha... i didnt realise that i needed to supply the credentials from the
client. I thought Tomcat would get those from the password files. Ok im off
to the documentation now. :)
On Thu, Jan 13, 2011 at 1:31 PM, André Warnier wrote:
> Ok, what I was trying to say is this :
>
> By using the jmxremo
Hey,
i deployed a gwt-application in tomcat 6.0.18 without any problems. I
pointed a url to the ip-adress and deployed the application unter
webapps/myfolder, so that the app was reachable unter http://mydomain/myfolder.
It worked fine.
But since im using a vhost in tomcat i got a problem.
Every ti
user080701 wrote:
How to unsubscribe this email ?
Scroll to the end (all thr way down there), and follow the instructions.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h.
ing this or what I can do to diagnose
this problem?
I'm clueless at the moment :(
Thanks
-Sam
__ Information from ESET NOD32 Antivirus, version of virus
signature database 5783 (20110113) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 6.0.30 stable. This release includes bug-fixes over Apache
Tomcat 6.0.29.
Note that is version has 4 zip binaries: a generic one and three
bundled with Tomcat native binaries for different CPU architectures.
Apache Tomc
Hi,
I'm running a wicket app on tomcat 6.0.20.
Once in a while I need to redeploy it (after fixing some stuff, adding
features and so on).
This is how I redeploy:
1.Use tomcat manager to undeploy the running app.
2.Deploy the new app by copying the new WAR file to a library inside tomcat.
Everyth
Ok, what I was trying to say is this :
By using the jmxremote.password.file etc.. on the JVM which runs Tomcat, you let this JVM
know which remote user-id's can connect, and what password they should use.
Now, from the client side, when you connect, you have to provide such a valid user-id and
Ok i am stuck now - here is the full configuration
$CATALINA_BASE/setenv.sh
---
CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=18070
-Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password
-Dcom.sun.management.jmxremote.ssl=false
-Dco
Ziggy wrote:
Tomcat JMX connection - Authentication failed.
I am having some problems setting up Tomcat for JMX. I added the following
properties to CATALINA_OPTS
CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=18070
-Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.
awarnier wrote:
>
> Since this is XML, could you not also reference "entities" defined in a
> separate file ?
>
How ?
My problem is that i have a resource:
and I need to get the attributes value in Java code.
I am able to get the values (context.getInitParameters()) but
not the values.
Tomcat JMX connection - Authentication failed.
I am having some problems setting up Tomcat for JMX. I added the following
properties to CATALINA_OPTS
CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=18070
-Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password
-Dcom.
Konstantin Kolinko wrote:
2011/1/13 durbans :
Is it possible ?
No, not possible.
You can reference any system properties, though (as mentioned in [1]).
E.g. ${catalina.base} or ${java.io.tmpdir}
[1] http://tomcat.apache.org/tomcat-6.0-doc/config/index.html
Since this is XML, could you no
2011/1/13 durbans :
> Is it possible ?
>
No, not possible.
You can reference any system properties, though (as mentioned in [1]).
E.g. ${catalina.base} or ${java.io.tmpdir}
[1] http://tomcat.apache.org/tomcat-6.0-doc/config/index.html
Best regards,
Konstantin Kolinko
-
I'd like to create a context.xml where I have:
[...]
[...]
where parameter1, parameter2 and parameter3 use the values of the parameters
tag defined previously.
Is it possible ?
I didn't find any way or syntax to set name1, name2 and name3 as reference .
It seems that it accepts only stri
62 matches
Mail list logo