Hi,
Was curious what event.setTimeOut(timeOutValue) means on a comet event.
1. Does it mean that the request will timeout after timeOutValue and the
server will close the connection and call the END event.
I am trying to establish a persistent connection for asynchronous message
delivery using co
On Thursday 04 March 2010 17:41:17 Christopher Schultz wrote:
> It does: calling request.getParameter will consume the request body if
> the following are true:
>
> 1. The protocol is HTTP or HTTPS
> 2. The method is POST
> 3. The Content-Type is application/x-www-form-urlencoded
> [4. A call to r
On Wed, Mar 3, 2010 at 9:22 PM, Gurkan Erdogdu wrote:
> I wonder whether you have looked at
> http://tomcat.apache.org/tomcat-6.0-doc/index.html or not
>
> 2010/3/3 Kaushal Shriyan
>
>> On Wed, Mar 3, 2010 at 4:50 PM, André Warnier wrote:
>> > Pid wrote:
>> >>
>> >> On 03/03/2010 09:52, André Wa
I have a POST I need to a do to a url ( through Apache Jmeter and in fact any
descent programmatic HTTP request libraries)
I have my servlet is a war ( test.war ) with the web.xml having the correct
url mapping
test
com.company.TestServlet
test
Hi
I believe what u said is correct, but if u have seen this thread as I have
already said
>>I could have used JBOSS or OC4j, but it does not make sense to use these J2EE
>>containers for the simple 1 or 2 requirements
My applications are restricted infrastructure to only WEB based and are mad
> From: Logan Scott [mailto:lo...@sqlist.com]
> Subject: Tomcat 6 NoClassDefFoundError:
> oracle/jdbc/pool/OracleDataSource
>
> I have verified that the only change is Tomcat -- all other server
> config details remain unchanged from tomcat 5.5, including a minimalist
> server.xml file.
If you us
Hello.
I am a new subscriber.
I have used Tomcat 5.5 without errors for almost two years, but I am still a
novice at modifying the default configuration.
I have twenty servers with an identical configuration.
I have just upgraded one of my servers to Tomcat 6.
I have verified that the only ch
Hi,
I am having an application which is based on comet and dojo. The application
uses ActiveMQ to publish messages.I am using firebug to see the
request/response of the XMLHttprrequests. I see a difference in behaviour in
tomcat 6.0.18 where for every request there is a response. However in case
o
Ok, it works, thanks for all of you . :)
2010/3/5 Caldarale, Charles R
> > From: maven apache [mailto:apachemav...@gmail.com]
> > Subject: Re: can not start tomcat and the jre_home var error
> >
> > > Did you remove the XML comment markers from around the list?
> >
> > Yes , I did .
>
> Clearly,
> From: maven apache [mailto:apachemav...@gmail.com]
> Subject: Re: can not start tomcat and the jre_home var error
>
> > Did you remove the XML comment markers from around the list?
>
> Yes , I did .
Clearly, you did not remove them.
> This is the file:
> tomcat-user.xml
2010/3/4 Caldarale, Charles R
> > From: maven apache [mailto:apachemav...@gmail.com]
> > Subject: Re: can not start tomcat and the jre_home var error
> >
> > I have config the manager by adding "
> >
>
> Did you remove the XML comment markers from around the list?
>
Yes , I did .
This is the f
Hi guys,
I have an issue here. I have Tomcat ISAPI filter(AMD64/1.2.28) set up
with IIS 7 on windows 2008. Due to the backward compatibility, the
Tomcat has to run as 32-bit mode. The ISAPI filter is 64-bit version and
IIS 7 is also running 64-bit version. Everything work ok, including the
On 04/03/2010 21:59, David Bolsover wrote:
I'm having a problem with the latest isapi_redirect-1.2.30.
The problem is one of rendering some images generated dynamically (sequences of images
loaded from database) using the RichFaces supported
by tags to trigger image change and reload every 1
I'm having a problem with the latest isapi_redirect-1.2.30.
The problem is one of rendering some images generated dynamically (sequences of
images loaded from database) using the RichFaces supported by
tags to trigger image change and reload every 10 seconds.
Platform: Windows 7 (32bit) IIS 7
Ah, well I have to apologize, it looks like my IDE was culprit.
IDEA deploys Tomcat from a newly created directory at each deploy (i.e. it
copies some known files from CATALINA_BASE).
Well of course it doesn't copy /lib since we created that directory - it's
not part of the "standard" CATALINA_BA
> From: Rob S. [mailto:r...@tintri.com]
> Subject: Re: [6.0.20] Using -Dcatalina.config breaks our databases
> resources
>
> I've been following the 6.0 "monitoring" guide although jconsole
> says it can't connect
What JVM version are you using? What's your platform? (If you're running
Tomcat
>
> 1) getting JMX running on Tomcat so I can connect w/jconsole. I've been
> following the 6.0 "monitoring" guide although jconsole says it can't connect
> and netstat doesn't report anyone listening on the port I specified.
>
This is working and I can see the ServerClassLoader MBean inside of
j
Hi Chuck,
That means the applies to all your webapps; is that what you
> want?
>
Yep, we only have one webapp and it's deployed to our appliance :)
> > DataSource ds = (DataSource) new
> > InitialContext().lookup("java:comp/env/jdbc/postgres");
> > ds.getConnection();
> >
> > org.apache.tomca
> From: Rob S. [mailto:r...@tintri.com]
> Subject: Re: [6.0.20] Using -Dcatalina.config breaks our databases
> resources
>
> The global one in the conf directory.
That means the applies to all your webapps; is that what you want?
> DataSource ds = (DataSource) new
> InitialContext().lookup("jav
Hi Chuck,
> Which context.xml? The global one in the conf directory, or an
> app-specific one in its META-INF directory?
>
The global one in the conf directory.
> > we modified this line in catalina.config
>
> I presume you mean catalina.properties in the above statment.
>
Yep, typo, sorry
Hi Konstantin,
The quote I'm seeing in your response isn't the line that was in my previous
message, perhaps something is coming across scrambled?
Those extra "*" characters aren't in our catalina.properties.
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.base}/lib,${ca
> From: Rob S. [mailto:r...@tintri.com]
> Subject: [6.0.20] Using -Dcatalina.config breaks our databases
> resources
>
> We have a custom resource defined in context.xml:
Which context.xml? The global one in the conf directory, or an app-specific
one in its META-INF directory?
> we modified th
2010/3/4 Rob S. :
>
> common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,*
> ${catalina.base}/lib,${catalina.base}/lib/*.jar*
>
The above is wrong. The only mask that is recognized there is "*.jar"
and only when used as a suffix. There are too many extra "*"s in your
value.
You can lo
Hi everyone,
We have a custom resource defined in context.xml:
We prefer to locate the postgres jar file in CATALINA_BASE, so we modified
this line in catalina.config
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,*
${catalina.base}/lib,${catalina.base}/lib/*.jar*
We made this
If you're still getting the error:
"Could not create resource factory instance [Root exception is
java.lang.InstantiationException :
org.apache.tomcat.dbcp.dbcp.DataSourceConnectionFactory"
Make sure you have tomcat-dbcp.jar in your tomcat/lib. The .dbcp.dbcp.
factory comes from that jar (versus j
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Antonio,
On 3/4/2010 10:58 AM, PAROLINI Antonio wrote:
> We are using a custom valve that scan the request parameters (POST
> AND GET) . If it find a parameter called "secuId" with a valide value
> , it set the session principals ( a kind of SSO).When
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Aryeh,
On 3/2/2010 7:12 PM, Aryeh M. Friedman wrote:
> Christopher Schultz wrote:
>>
>> If that string above is your entire POST request body, then it's not
>> properly formatted. Instead, it should be:
>>
>> call=8347812459870132405987234985023450987
Hello,
We are using a custom valve that scan the request parameters (POST AND GET) .
If it find a parameter called "secuId" with a valide value , it set the session
principals ( a kind of SSO).When this work most of the times, we have somes
cases where calling the HttpServletRequest .getParamet
On 4 March 2010 15:43, Florent Georges wrote:
> In the meantime, using strace, I figured out what the problem
> was: as simple as a wrong owner of one of the parent directories.
> I must admit I am not really proud of this, but well, there is no
> diagnostic at all with mkdir() :-(
>
> Glad you f
Konstantin Kolinko wrote:
> At least, you can replace your catalina.policy with
> grant {
> permission java.security.AllPermission;
> };
Good to know, thanks for the hint!
In the meantime, using strace, I figured out what the problem
was: as simple as a wrong owner of one of the parent dir
2010/3/4 Florent Georges :
> Is there a simple way to disable the security manager in order to be sure
> this is such an issue?
There is a setting somewhere. I do not run Ubuntu and thus do not know
exactly, but it was mentioned several times in the archives of this
list.
At least, you can repl
> From: maven apache [mailto:apachemav...@gmail.com]
> Subject: Re: can not start tomcat and the jre_home var error
>
> I have config the manager by adding "
>
Did you remove the XML comment markers from around the list?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
Konstantin Kolinko wrote:
>> Is there anything else I could check out? I cannot find any
>> clue of what I did wrong.
>> File.mkdir()
> Try with File.mkdirs()
Thanks. But the parent dir does exists and yes, I've tried that without
success ;-)
> Note, that catalina.policy is only used whe
2010/3/3 Stuart Grace :
> logging.properties
> handlers = 6IBINET.org.apache.juli.FileHandler,
> 7IBMIN.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
>
You have not defined ".handlers" property in your logging.properties.
If I understand the o.a.juli.ClassLoaderLogManager code cor
04.03.2010 15:13, maven apache:
> Now I found there is something wrong with the apr component because I got
> the info:
>
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /home/kk/ProgramF
On 4 March 2010 14:13, maven apache wrote:
> 2010/3/4 Markus Schönhaber
>
>> 04.03.2010 15:01, maven apache:
>>
>> > 2010/3/4 Caldarale, Charles R
>> >
>> >>> From: maven apache [mailto:apachemav...@gmail.com]
>> >>> Subject: Re: can not start tomcat and the jre_home var error
>> >>>
>> >>> In t
I have config the manager by adding "
Then I found that I can not enter the manager page by a 403 error. I restart
the tomcat many times, and I am sure I enter the correct username and
password. However I always got the 403 error page.
2010/3/4 Markus Schönhaber
> 04.03.2010 15:01, maven apache:
>
> > 2010/3/4 Caldarale, Charles R
> >
> >>> From: maven apache [mailto:apachemav...@gmail.com]
> >>> Subject: Re: can not start tomcat and the jre_home var error
> >>>
> >>> In the terminal , I enter this the bin directory and run "
04.03.2010 15:01, maven apache:
> 2010/3/4 Caldarale, Charles R
>
>>> From: maven apache [mailto:apachemav...@gmail.com]
>>> Subject: Re: can not start tomcat and the jre_home var error
>>>
>>> In the terminal , I enter this the bin directory and run " sudo
>>> ./startup.sh"
>>
>> Try it without
> From: martin [mailto:mrt...@googlemail.com]
> Subject: RE: RE: problems with welcome files
>
> Ok, httpd is not running anymore
You didn't have to shut off httpd, just use the HTTP port. But if
you're not using httpd for anything else, they you should get rid of it.
> Added this Alias
> 12
2010/3/4 Caldarale, Charles R
> > From: maven apache [mailto:apachemav...@gmail.com]
> > Subject: Re: can not start tomcat and the jre_home var error
> >
> > In the terminal , I enter this the bin directory and run " sudo
> > ./startup.sh"
>
> Try it without the sudo. You should never run Tomcat
04.03.2010 14:56, maven apache:
> 2010/3/4 Markus Schönhaber
>> Why do you start Tomcat as root?
>>
> Ok, I tried it again.
?
--
Regards
mks
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional comm
2010/3/4 Markus Schönhaber
> 04.03.2010 14:44, maven apache:
>
> > The tomcat directory is " /home/kk/ProgramFiles/apache-tomcat-6.0.24'
> > In the terminal , I enter this the bin directory and run " sudo
> > ./startup.sh"
>
> Why do you start Tomcat as root?
>
Ok, I tried it again.
>
> --
> Reg
> From: maven apache [mailto:apachemav...@gmail.com]
> Subject: Re: can not start tomcat and the jre_home var error
>
> In the terminal , I enter this the bin directory and run " sudo
> ./startup.sh"
Try it without the sudo. You should never run Tomcat as root.
- Chuck
THIS COMMUNICATION MAY
04.03.2010 14:44, maven apache:
> The tomcat directory is " /home/kk/ProgramFiles/apache-tomcat-6.0.24'
> In the terminal , I enter this the bin directory and run " sudo
> ./startup.sh"
Why do you start Tomcat as root?
--
Regards
mks
--
> From: David Smith [mailto:d...@cornell.edu]
> Subject: Re: can not start tomcat and the jre_home var error
>
> > It seems that tomcat did not identify the JAVA_HOME var, so how to do
> > next in my case?
>
> How exactly are you starting tomcat? It's important to understand
> where tomcat is get
04.03.2010 14:00, maven apache:
> I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6
> , also I have set up a permanent environment variable JAVA_HOME which link
> to the jdk directory.
> I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to
> "/home/kk/ProgramFi
2010/3/4 David Smith
> On 3/4/2010 8:00 AM, maven apache wrote:
> > Hi:
> > I am using Ubuntu9.10. I have install jdk1.6 in
> /home/kk/ProgramFiles/jdk1.6
> > , also I have set up a permanent environment variable JAVA_HOME which
> link
> > to the jdk directory.
> > I just downloaded apache-tomcat
On 3/4/2010 8:00 AM, maven apache wrote:
> Hi:
> I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6
> , also I have set up a permanent environment variable JAVA_HOME which link
> to the jdk directory.
> I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to
> "/hom
04.03.2010 13:50, Petr Hracek:
> from the documention I have read that tomcat5.5 (
> http://tomcat.apache.org/tomcat-5.5-doc/setup.html)
> can be started with the help of command jsvc.
>
> Is there any other possibility how to start up tomcat with java?
> I wouldn't start tomcat 5.5 over rcScript
On Thu, Mar 04, 2010 at 06:26:50PM +0530, Chinmoy Chakraborty wrote:
> Actually I want to update the jar with the latest one inside 'lib'...and
> want to make our app hot-updatable. what would be a good idea for that?
Hello,
See:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
i
On 04/03/2010 12:56, Chinmoy Chakraborty wrote:
> Actually I want to update the jar with the latest one inside 'lib'...and
> want to make our app hot-updatable. what would be a good idea for that?
Replace the WAR file with the a new version. Tomcat (with default
settings) will take care fo the res
2010/3/4 Florent Georges :
> Is there anything else I could check out? I cannot find any
> clue of what I did wrong.
> File.mkdir()
Try with File.mkdirs()
Note, that catalina.policy is only used when you are running with a
SecurityManager enabled. (Many people run without it).
Best regards,
Ko
Hi:
I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6
, also I have set up a permanent environment variable JAVA_HOME which link
to the jdk directory.
I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to
"/home/kk/ProgramFiles/apache-tomcat-6.0.24", since the JA
Actually I want to update the jar with the latest one inside 'lib'...and
want to make our app hot-updatable. what would be a good idea for that?
On Thu, Mar 4, 2010 at 5:23 PM, Pid wrote:
> On 04/03/2010 10:53, Chinmoy Chakraborty wrote:
>
>> Hi All,
>>
>> Is it possible to delete a jar file f
Hello *,
from the documention I have read that tomcat5.5 (
http://tomcat.apache.org/tomcat-5.5-doc/setup.html)
can be started with the help of command jsvc.
Is there any other possibility how to start up tomcat with java?
I wouldn't start tomcat 5.5 over rcScript stored in /etc/init.d/
Thank you
On 04/03/2010 10:53, Chinmoy Chakraborty wrote:
Hi All,
Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is
running? I tried to delete the jar from 'lib' after putting following entry
in catalina.policy:
It might be possible, but it would be a *very* bad idea.
grant codeBa
Hi All,
Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is
running? I tried to delete the jar from 'lib' after putting following entry
in catalina.policy:
grant codeBase "file:${catalina.home}/webapps/abcd/WEB-INF/lib" {
permission java.io.FilePermission "read, write, delete";
On 4 March 2010 10:40, Florent Georges wrote:
> Hi,
>
> Within my webapp, I try to create a new directory on the file
> system by using File.mkdir(). This webapp has the permissions
> read & write on the parent directory:
>
>grant codeBase "file:${catalina.base}/webapps/myapp/-" {
> p
Hi,
Within my webapp, I try to create a new directory on the file
system by using File.mkdir(). This webapp has the permissions
read & write on the parent directory:
grant codeBase "file:${catalina.base}/webapps/myapp/-" {
permission java.io.FilePermission "/somewhere/-", "read,wri
>> From: martin [mailto:mrt...@googlemail.com]
>> Subject: problems with welcome files
>>
>> i have installed apache http 2.2.14 and tomcat 6.0.24.
>Step 1: Get httpd out of the game; test with Tomcat's HTTP
first. When that works, add httpd back in.
Ok, httpd is not running anymore
>> I added
On 04/03/2010 05:34, jkv wrote:
Thanks for the reply Ster,
But we don't have the privilege to upgrade Apache,
Find someone who does.
because we are using Red
Had Enterprise Linux and we have to go with the default httpd installation
in it, i.e., 2.2.3,
Why? RHEL has a built-in updater ap
On 04/03/2010 04:01, chenll wrote:
>
> Note: both a.university.com and b.university.com are built on Apache instead
> of Tomcat, so they are not in the directory of webapps. just
> "a.university.com/webap" is pointed to the web application which is built on
> Tomcat.
Please start a new thread.
63 matches
Mail list logo