Thanks Chris,
I have tried this before - with little success. The code does not through
any exception now - but the DirContext object (ctx) is null and by that
unusable:
DirContext ctx = (DirContext)
newCtx.lookup("java:comp/env/blah");
if (ctx !=
On 27/04/2011 21:55, Caldarale, Charles R wrote:
>> From: John Marcinek [mailto:john.marci...@pb.com]
>> Subject: RE: (Issue) Tomcat 7.0.12 silent install
>
>> I've been installing the 32-bit version of Tomcat (sorry, don't
>> think I mentioned that).
>
> There is no 32-bit-only Windows service
> From: John Marcinek [mailto:john.marci...@pb.com]
> Subject: RE: (Issue) Tomcat 7.0.12 silent install
> I've been installing the 32-bit version of Tomcat (sorry, don't
> think I mentioned that).
There is no 32-bit-only Windows service installer, but there are 32- or 64-bit
specific .zip file
Thanks for responding so quickly Chuck. I appreciate it.
> Did you try it from a command window that's started with "Run as
> Administrator"?
No I did not. I have now, but it still did not work. Likely due to your second
question/request, i.e. default 64 bit JVM.
> Also make sure that you ha
Hi,
Adding some -claspath based upon man javac, I reduced the number of errors to
two.
bml0065:classes administrator$ sudo javac -classpath
/usr/local/apache-tomcat-7.0.10/webapps/examples/WEB-INF/classes/util:/usr/local/apache-tomcat-7.0.10/lib/servlet-api.jar
SessionExample.java SessionExamp
All,
So we have various tomcat services setup on windows. When windows updates
are auto installed, sometimes they force a reboot of the server. When this
happens, the tomcats win the race with the database (Oracle) to startup.
Then the connection pool can't start, and then the war file is flagged
On Wed, Apr 27, 2011 at 8:55 PM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:
> Am Mittwoch, den 27.04.2011, 19:20 +0100 schrieb Guillaume Favier:
> > Felix,
> >
> > Dis you check my workaround ?
> >
> >
> > On Wed, Apr 27, 2011 at 7:01 PM, Felix Schumacher <
> > felix.schumac...@i
Hello everybody!
I need to access the Manager from the servlet (or filter) in Tomcat to load
the custom session by custom session ID.
Answering your next question: why do I need it. There's an old bug in Flash
that causes it to send cookies from IE and not from the current browser. So,
if I'm in
Am Mittwoch, den 27.04.2011, 19:20 +0100 schrieb Guillaume Favier:
> Felix,
>
> Dis you check my workaround ?
>
>
> On Wed, Apr 27, 2011 at 7:01 PM, Felix Schumacher <
> felix.schumac...@internetallee.de> wrote:
>
> > Am Mittwoch, den 27.04.2011, 10:21 +0200 schrieb Felix Schumacher:
> > > On W
> From: John Marcinek [mailto:john.marci...@pb.com]
> Subject: (Issue) Tomcat 7.0.12 silent install
> Thanks in advance for help.
Thanks for all the environment info; always good to have.
> Tomcat silent install does not work on Windows 2008 Server.
Did you try it from a command window that's
It may be me, but your question is not very clear.
Let me try again :
Since you seem to have Apache httpd in front of Tomcat, you can try to use the "ab"
program which comes with Apache httpd, to send requests to httpd, and by selecting
appropriate requests, have them forwarded to Tomcat through
It's a catalina.out log. There isn't anything before that.
There is 4 instance running and only with this I have problem. I
discovered that
this problem occurs when logrotate runs, but there isn't tomcat script on
the /etc/logrotate.d/
Alex Carvalho
2011/4/27 Wesley Acheson
> As far as I can se
Thanks for the input people
I have added a soap handler and works well... does require a minor change to
all webservices to specify the annotation HandlerChain... I believe this can be
done in code at start up and not coded in the actual service.
Sincerely,
Robert Jenkin
Surecomp Services,
Thanks in advance for help.
ENVIRONMENT:
Java = JDK1.6 32 bit
Operating System = Microsoft Windows Server 2008 R2 Standard (64 bit system)
Tomcat installation file = apache-tomcat-7.0.12.exe
ISSUE:
-
Tomcat silent install does not work on Windows 2008 Server.
When th
As far as I can see theres's no exception in this log. Is there anything of
intrest a few lines before this? Like a stack trace. What does catalina.out
say?
On Wed, Apr 27, 2011 at 6:36 PM, Alex Carvalho da Silva
wrote:
> Hi everyone,
>
> One tomcat server instance die when the logrotate run ev
Felix,
Dis you check my workaround ?
On Wed, Apr 27, 2011 at 7:01 PM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:
> Am Mittwoch, den 27.04.2011, 10:21 +0200 schrieb Felix Schumacher:
> > On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote:
> > > On Tue, 26 Apr 2011 21:24
Am Mittwoch, den 27.04.2011, 10:21 +0200 schrieb Felix Schumacher:
> On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote:
> > On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote:
> >> Thanks for your answer Felix,
> > Well, after rethinking my original answer, I think you will have to
Hi Robert-
There are a number of "web-service frameworks" you can implement to publish a
service and consume the service with a client stub
starting with the lightly loaded REST webservice (WADL)
http://wikis.sun.com/display/Jersey/WADL
next implementation and most widely used in the non-REST
Hi Taj,
say you have two tomcat servers that you can access at
https://ec2-46-51-148-192.eu-west-1.compute.amazonaws.com:8443
and
https://ec2-47-51-148-192.eu-west-1.compute.amazonaws.com:8443
and on both machines you have installed memcached, running on port 11211,
then you can configure msm in
> From: Calum [mailto:cal...@gmail.com]
> Subject: Re: webapp servlet vers web services
> On 27 April 2011 18:02, wrote:
> >
> > InitServlet
> > /
> >
> >
> If I understand spec correctly and this being the only mapping,
> it will become the default and all requests will be routed to
On 27 April 2011 18:02, wrote:
>
>
> InitServlet
> /
>
>
> If I understand spec correctly and this being the only mapping, it will
> become the default and all requests will be routed to the servlet.
No - I think it would have to be /*
> I also have a bunch of web services which when
Hi Andre
i checked but i want simple steps to test load on my each worker as am doing
first time.Thanks
regards
Harsimran
On Wed, Apr 27, 2011 at 8:57 PM, Harsimranjit singh Kler <
simran...@gmail.com> wrote:
> Hi
>
>
> I need some observations on loadbalancer with mod jk, such as
> How to chec
Hi all,
Not sure where to direct this question.. I thought I try here...
In a webapp you have a servlet where by means of servlet mapping we can direct
all traffic, example
InitServlet
/
If I understand spec correctly and this being the only mapping, it will become
the default a
Are you using JSSE or OpenSSL for your SSL implementation?
On Tue, Apr 26, 2011 at 4:40 PM, Thomas Hill wrote:
> Hi Felix,
>
> thanks for your reply. So does this mean no way on Tomcat 5.5? (as I won't
> switch to a newer version, especially 7.x any time soon)
>
> To your question:
> Primary rea
Hi everyone,
One tomcat server instance die when the logrotate run every week...
The last info I get in the logs are :
Apr 7, 2011 4:03:15 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Apr 7, 2011 4:03:16 AM org.apache.catalina.core.StandardService s
> But when I try to access my resource with the following code:
>
>Context newCtx = null;
>try {
>newCtx = new InitialContext();
>} catch (NamingException e) {
>// TODO Auto-generated catch block
>
Harsimranjit singh Kler wrote:
Hi
I need some observations on loadbalancer with mod jk, such as
How to check utilization of each httpd workers? How to check what is the
number of connections active on the each separate
Tomcats when there is load?.How i can increase response time?AJP port sho
Hi,
I'm trying to create a simple resource for my web-app. My web-app has to
connect to a ldap server to maintain users. I have created a context.xml in
my META-INF folder - with the following content:
ldap://192.168.7.1:389/dc=blah,dc=com";
java.naming.security
Hi
I need some observations on loadbalancer with mod jk, such as
How to check utilization of each httpd workers? How to check what is the
number of connections active on the each separate
Tomcats when there is load?.How i can increase response time?AJP port should
unique in worker.properities?
Hi,
During a good night sleep I realized that I have to compile the modified .java
file :-)
This is my current directory:
bml0065:classes administrator$ pwd
/usr/local/tomcat/webapps/examples/WEB-INF/classes
When I do it I am getting the following errors:
bml0065:classes administrator$ sud
Hello,
The error is due to a missing class "HtmlResponseWriterImpl.class" in
MyFaces JSF "myfaces-impl-1.2.9.jar" (I did not find it any where) in
MyFaces Jars !
Exception sending context initialized event to listener instance of class
org.apache.myfaces.webapp.StartupServletContextListener
java
Hi Felix,
That's strange, it doesn't try to connect to the c1t2 worker, here is the
log file.
[Wed Apr 27 11:45:33 2011] [4129:47406689800960] [info]
jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:9001 failed
(errno=111)
[Wed Apr 27 11:45:33 2011] [4129:47406689800960] [info]
ajp_conne
> From: Gregor Schneider [mailto:rc4...@googlemail.com]
> Subject: How to access session between multiple contexts?
> I have enabled the SingleSignOnValve (although authorization
> is handled via some Spring-stuff) but I thought it is needed
> to share the session among different contexts.
No, t
Hi there,
somehow I'm stuck here:
We do have a pre-packaged Tomcat 6 which contains our new CMS, running
on Gentoo Linux.
The ROOT-app contains the aboved mentioned CMS.
Now I do have to integrate some legacy servlets residing each in it's
own Context, and for aurthorization-issues I have to ac
Hi,
I am looking at the configuration settings needed in context.xml for Memcached
and am unsure as to what to enter in the memcachedNodes setting. Access to one
of the Tomcat instances is :
https://ec2-46-51-148-192.eu-west-1.compute.amazonaws.com:8443
Can you please help in defining what woul
Hi,
Thank you for the suggestions. I will take try it out and let you know how it
goes.
Regards,
Taj
-Original Message-
From: Reinwald Warapen [mailto:reinwal...@directi.com]
Sent: 27 April 2011 10:18
To: Tomcat Users List
Cc: Badh, Tajvinder
Subject: Re: JDBCStore Persistent Manager
I had the same requirement and tried everything possible with the
Persistent Manager. I use the Memcached Session Manager (non-sticky
approach) and it works brilliantly.
Take a look at this which may be of help to you :
http://www.reinwaldwarapen.com/2011/01/storing-and-sharing-sessions-among.
On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote:
On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote:
Thanks for your answer Felix,
Well, after rethinking my original answer, I think you will have to
define two clusters:
worker.list=cluster1,cluster2
...
worker.c2t2.ty
Thanks Felix, that might do the trick. I'll test it and get back to you.
nice hack BTW.
gui
On Wed, Apr 27, 2011 at 8:58 AM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:
> On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote:
>
>> Thanks for your answer Felix,
>>
> Well, aft
On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote:
Thanks for your answer Felix,
Well, after rethinking my original answer, I think you will have to
define two clusters:
worker.list=cluster1,cluster2
where each cluster worker has two distinct members
worker.cluster1.type=lb
wo
40 matches
Mail list logo