Hi All,
I noticed with Jersey 1.5 that whenever I execute a Jersey client side request
it creates a new servlet rather than reuse the existing servlet. I know this
because in my constructor for my servlet I send out a message and it is going
to
the Tomcat command console.
In my Web.xml I have
Thanks, that did the trick! :)
Actually I tried "manager/text" before, but as I was using the role
"manager" (as the documentation suggested) I got 403 for response.
Aivar
It should be [...]/manager/text
>
> Note, that your user should have the role of "manager-script" to be
> able to access tha
Thanks Martin Grotzke for the answer.
"Its's not possible with PersistentManager. PersistentManagerBase
backups all sessions in batches (processMaxIdleSwaps(),
processMaxIdleBackups() are called by the background thread). You
might try to set maxIdleBackup and maxIdleSwap to 0. But even then
sess
2011/1/16 Aivar Annamaa :
> Hi
>
> I'm trying to get started with Tomcat 7.0.6 on Win7. I'm able to deploy
> using WAR upload form in Manager, but deploying using ant (1.8.2) "deploy"
> task fails -- it just lists a bunch of html (without an error message) and
> then says that BUILD FAILED.
>
> I w
Hi
I'm trying to get started with Tomcat 7.0.6 on Win7. I'm able to deploy
using WAR upload form in Manager, but deploying using ant (1.8.2) "deploy"
task fails -- it just lists a bunch of html (without an error message) and
then says that BUILD FAILED.
I wrote my build.xml according to sample fr
> From: Jany Jose [mailto:jany.j...@gmail.com]
> Subject: Tomcat 6.0.26 startup issue
> In our application we are starting tomcat as a thread by calling the
> bootstrap class.
> Please find the code used: *String[] mArgs = {"start"};
> Bootstrap.main(mArgs);
And a thread dump shows what?
- Chu
> From: Len Popp [mailto:len.p...@gmail.com]
> Subject: Re: [OT] Setting HTTP response headers caching for 1 year doesn't
> work
> > I suppose that there must be some implacable logic in the way it's done now,
> > other than the evil intention to fool the unsuspecting programmer, but I
> > hones
On Sun, Jan 16, 2011 at 08:41, André Warnier wrote:
> Ran Berenfeld wrote:
>>
>> well ...no... first evaluate, then assign. and constants are int by
>> default.
>> I think C/C++ would have the same problem...
>>
> Maybe. But then why does the fact of specifying just the first right-hand
> side co
Hi,
In our application we are starting tomcat as a thread by calling the
bootstrap class.
Please find the code used: *String[] mArgs = {"start"};
Bootstrap.main(mArgs);
*After starting the tomcat we are only getting the following message in *
catalina.out* file and after that nothing is happening
Ran Berenfeld wrote:
well ...no... first evaluate, then assign. and constants are int by default.
I think C/C++ would have the same problem...
Maybe. But then why does the fact of specifying just the first right-hand side constant
in the calculation as a long, magically change the whole result
well ...no... first evaluate, then assign. and constants are int by default.
I think C/C++ would have the same problem...
On Sun, Jan 16, 2011 at 1:25 PM, André Warnier wrote:
> Ran Berenfeld wrote:
>
>> thanks :) silly me. problem solved
>>
>
> It's more silly Java. It could figure out tha
Okay it is fixed. I did not have the @XmlRootElement on my POJO on my client
side but did on my server side.
Thanks,
-Tony
- Original Message
From: Konstantin Kolinko
To: Tomcat Users List
Sent: Sun, January 16, 2011 3:30:37 AM
Subject: Re: Jersey & Tomcat...
2011/1/16 Tony Anecito
Ran Berenfeld wrote:
thanks :) silly me. problem solved
It's more silly Java. It could figure out that the left side wants a long,
couldn't it ?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additiona
thanks :) silly me. problem solved
On Sun, Jan 16, 2011 at 12:21 PM, Konstantin Kolinko wrote:
> 2011/1/16 Ran Berenfeld :
> >// cache for 1 year
> >private static final long _cacheTime = (1000 * 60 * 60 * 24 * 365);
>
> With this sample program:
> public class foo{
> public static v
2011/1/16 Tony Anecito :
> Hi All,
>
> I am a newby to Jersey (1.5) but not Tomcat (6.0.20). I am at a point where
> when
> I send a complex object from my client program to Tomcat I get this error
> about
> when reading the Message body a reader is not found.
"this error" = what error? Please p
2011/1/16 Ran Berenfeld :
> // cache for 1 year
> private static final long _cacheTime = (1000 * 60 * 60 * 24 * 365);
With this sample program:
public class foo{
public static void main(String[] a){
long _cacheTime = (1000 * 60 * 60 * 24 * 365);
System.out.println("_cacheTime: " + _cacheTime
Hi All,
I am a newby to Jersey (1.5) but not Tomcat (6.0.20). I am at a point where
when
I send a complex object from my client program to Tomcat I get this error about
when reading the Message body a reader is not found. The odd thing is I can get
the same complex object just fine back from t
Hello
I'm trying to set caching for 1 year for my static context (js,css and
images)
however seems like caching is only done for 2-3 weeks. below I put my
caching filter
and a response for some js file request.
I've added this code in a special "catch-all" filter and verified that all
resources
a
18 matches
Mail list logo