Hi Everyone,
I have a web-service that I've developed using Tomcat7/MySQL5 using
NetBeans 7. In the IDE it all works fine. For testing however, I need
to get it onto an EC2 instance so users other than me can access it. I
have created an EC2 micro-instance, installed Tomcat 7 and MySQL 5 (the
Thank you Rainer,
Now Apache is working with disable mode. Maybe later it changed again.
:)
2011/6/12 Rainer Jung rainer.j...@kippdata.de
On 12.06.2011 09:30, Manuel Fernández Panzuela wrote:
Is possible to combine both attributes distance - activation ?
Distance looks like a very
Honestly, I was simply curious why the cryptographically secure generation
of random unique ids (through java.security.SecureRandom API) is disabled
by default.
And It was unclear to me if it is at all possible to change the default
behavior.
Thanks,
Franckie14
2011/6/14 Mark Thomas
ranckie frank francki...@gmail.com wrote:
Honestly, I was simply curious why the cryptographically secure
generation
of random unique ids (through java.security.SecureRandom API) is
disabled
by default.
Because it is more expensive. I can't think of a reason why you would need
SecureRandom
Hi,
I see the issue if solved in an upcoming version of Tomcat. Thank you very much
for that. But can I expect an upcoming version of Tomcat 6.0 in the not too
distant future?
At the tomcat-dev list I only see recent votings for 7.0.x.
Who normally is the initiator of the 6.x release cycle?
Thanks Mark. :)
My comments inlined...
Over and above, the underlined network pipeline system also seems to be
fine. Still dont understand what is wrong. After enabling the logs to FINE
level, i could see following...
Jun 14, 2011 10:26:38 AM org.apache.catalina.tribes.transport.ReceiverBase
On 14/06/2011 05:14, Fraser, James wrote:
UNCLASSIFIED
Hi,
I am trying to embed Tomcat 7.0.11 into my standard web application.
This web application defines some Resource elements in
META-INF/context.xml - yet, Tomcat is not loading this file.
addWebapp should return a Context object.
Hello All,
I am using apache and tomcat with mod_jk.
apache version : 2.2.19
tomcat version : 6.0
mod_jk version : 1.2.30
My web runs through servlet.
http://domainname:8080/contact.shtml - is working
http://domainname/contact.shtml - is not working
mod_jk log :
[debug]
On 14 June 2011 12:07, Orgil Tulga orgio...@yahoo.com wrote:
Hello All,
I am using apache and tomcat with mod_jk.
apache version : 2.2.19
tomcat version : 6.0
mod_jk version : 1.2.30
My web runs through servlet.
http://domainname:8080/contact.shtml - is working
My jk connector config is below.
Below is jk.conf:
JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel trace
JkLogStampFormat [%a %b %d %H:%M:%S %Y]
JkOptions +ForwardKeySize +ForwardURICompat
On 14 June 2011 12:28, Orgil Tulga orgio...@yahoo.com wrote:
My jk connector config is below.
Below is jk.conf:
JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties
Can we see this?
-
To
No. I am testing on local domain.
--- On Tue, 6/14/11, Calum cal...@gmail.com wrote:
From: Calum cal...@gmail.com
Subject: Re: mod_jk problem
To: Tomcat Users List users@tomcat.apache.org
Date: Tuesday, June 14, 2011, 4:35 AM
On 14 June 2011 12:28, Orgil Tulga orgio...@yahoo.com wrote:
My jk
On 14 June 2011 12:49, Orgil Tulga orgio...@yahoo.com wrote:
No. I am testing on local domain.
I don't understand this. The ajp13 bit in your jkmount.conf needs to
refer to a worker in workers.properties.
We would need to see it to understand what's happening.
This might help you a little?
On 14/06/2011 08:03, Lisa and Terence Davis wrote:
Hi Everyone,
I have a web-service that I've developed using Tomcat7/MySQL5 using
NetBeans 7. In the IDE it all works fine. For testing however, I need
to get it onto an EC2 instance so users other than me can access it. I
have created
On Tue, Jun 14, 2011 at 12:03 AM, Lisa and Terence Davis
lisn...@verizon.net wrote:
OT: Dear Lisa and Terence -- It's 2011, and while togetherness is
wonderful, it's hard to take someone seriously who can't figure out
how to get at least their own free gmail account :-)
I have a web-service
On 13/06/2011 22:53, Christopher Schultz wrote:
Gili,
On 6/13/2011 1:07 PM, cowwoc wrote:
I posted a RFE at https://issues.apache.org/bugzilla/show_bug.cgi?id=51366
asking for the ability to seamlessly deploy webapps into separate JVMs.
So you want Tomcat to have an option to run as a
Hi all,
I am running Tomcat embedded and just can't figure out how to
programmatically configure the logging of the engine itself.
Ideally I would redirect logging to a custom implementation, but
changing the log level (to off) would already help.
The LogFactory doesn't seem to offer such
On 14/06/2011 16:24, Rüdiger Herrmann wrote:
Hi all,
I am running Tomcat embedded and just can't figure out how to
programmatically configure the logging of the engine itself.
Ideally I would redirect logging to a custom implementation, but
changing the log level (to off) would already
ups, sorry. I am using version 7.
On Tue, Jun 14, 2011 at 18:03, Mark Thomas ma...@apache.org wrote:
On 14/06/2011 16:24, Rüdiger Herrmann wrote:
Hi all,
I am running Tomcat embedded and just can't figure out how to
programmatically configure the logging of the engine itself.
Ideally I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gili,
On 6/13/2011 9:26 PM, cowwoc wrote:
Assuming we simply use one webapp per Tomcat instance I'm still looking
for two changes:
* Restart the entire JVM on webapp redeploy (to avoid JNI and ClassLoader
problems)
Why bother redeploying,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 6/14/2011 9:34 AM, Pid wrote:
On 13/06/2011 22:53, Christopher Schultz wrote:
What single management interface are you describing in your
enhancement comments? The Tomcat manager webapp? It's trivial to run a
manager in each JVM and use
Christopher Schultz-2 wrote:
Why bother redeploying, then? Instead of doing ant redeploy, just do
ant bounce or something similar.
I am running inside Netbeans (remember the focus here is on improving
development productivity, less so on improving production deployments).
Modifying what
Pid * wrote:
You can, right now, start blank Tomcat instances and deploy apps to them
- managing the instance using JMX.
Granted I can do a lot of this myself, but it's a lot of work for every user
to reinvent this wheel. This kind of feature needs to be improved in the
official release.
1. Always bounce Tomcat directly instead of re-loading the webapp
This is too slow (10-15 seconds) in its current form. If you use the
mechanism I'm proposing restart time is instant (you have a blank Tomcat
instance waiting to pick up a new webapp).
2. Fix the webapp so it doesn't bomb
I am experiencing an issue with my cluster I have been unable to figure out.
My cluster contains 4 servers each with 4 instances of Tomcat segregated by
mod_jk directives.
Server1 Directives:
/ - tomcat.server1
/app1 - tomcat-app1.server1
/app2 - tomcat-app2.server1
/app3 - tomcat-app3.server1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gili,
On 6/14/2011 3:28 PM, cowwoc wrote:
Christopher Schultz-2 wrote:
Why bother redeploying, then? Instead of doing ant redeploy, just do
ant bounce or something similar.
I am running inside Netbeans (remember the focus here is on improving
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gili,
On 6/14/2011 3:54 PM, cowwoc wrote:
1. Always bounce Tomcat directly instead of re-loading the webapp
This is too slow (10-15 seconds) in its current form. If you use the
mechanism I'm proposing restart time is instant (you have a blank
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gili,
(Sorry, your message was structured in a way I didn't expect, so I
didn't see the lower portion).
On 6/14/2011 3:54 PM, cowwoc wrote:
Chris, I'm asking for a lot more sophistication than simply restarting the
JVM. I'm talking about sticking
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 6/14/2011 6:23 AM, Ronald Klop wrote:
I see the issue if solved in an upcoming version of Tomcat. Thank you
very much for that. But can I expect an upcoming version of Tomcat 6.0
in the not too distant future?
At the tomcat-dev list I
Christopher Schultz-2 wrote:
Can't Netbeans bounce the Tomcat JVM for you?
Sure, but if we use the existing mechanism of waiting for for the existing
instance to shut down before restarting it then it takes at least 20 seconds
each time. I'm looking for a second or less.
Christopher
Christopher Schultz-2 wrote:
So, now you want Tomcat to launch multiple copies of itself as hot
standbys for /potential future webapp deployments/? We'll never do this.
The exact mechanism is not fixed in stone (I'm sure we could improve on the
initial idea). One approach is that
UNCLASSIFIED
Great, thankyou.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Tuesday, 14 June 2011 8:38 PM
To: Tomcat Users List
Subject: Re: Tomcat 7.0.11 embedded does not load context.xml
[SEC=UNCLASSIFIED]
On 14/06/2011 05:14, Fraser, James wrote:
UNCLASSIFIED
Hi,
I have the following in my unit test.
@BeforeClass
public static void setUpClass() throws ServletException,
LifecycleException, MalformedURLException {
tomcat = new Tomcat();
tomcat.setBaseDir(.);
tomcat.setPort(8084);
Context ctx =
From: Fraser, James [mailto:james.fra...@dsto.defence.gov.au]
Subject: Embedded tomcat and unit testing.. Tomcat either stops
or my unit tests don't execute? [SEC=UNCLASSIFIED]
tomcat.enableNaming();
tomcat.start();
tomcat.getServer().await();
Without the
UNCLASSIFIED
I read that Apache use embedded Tomcat for unit testing. Are there any
examples floating around?
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, 15 June 2011 10:01 AM
To: Tomcat Users List
Subject: RE: Embedded tomcat and
From: Fraser, James [mailto:james.fra...@dsto.defence.gov.au]
Subject: RE: Embedded tomcat and unit testing.. Tomcat either
stops or my unit tests don't execute? [SEC=UNCLASSIFIED]
I read that Apache use embedded Tomcat for unit testing. Are there any
examples floating around?
Good
UNCLASSIFIED
Hi Chuck,
Thanks for your help. I got it working in the end. I suspect the main
problem had to do with not terminating the running instance of Tomcat
correctly in a tear-down method. I solved this using the example in the
Tomcat unit tests; i.e.
@AfterClass
public static void
37 matches
Mail list logo