Hi
I want to change the shared classloader of Embedded Tomact ,so that
some of the jar file required for my Application will be loaded
from a separeate directory..I am using a *URLClassLoader *.and using
org.apache.catalina.startup.Catalina to start the tomcat using
conf/server.xml file.I m
Hi
Thanks for your help. I uninstalled j2sdk1.4 and installed it again. Now
tomcat is working.
veena
On 6/26/06, Sanjeev Kumar Bhat, Noida <[EMAIL PROTECTED]> wrote:
What all environment variables does it show?
Check JAVA_HOME variable and make sure it exists and points to the right
versio
Giovane Moura wrote:
Hello,
I'm using Muse/Tomcat/Apache on a Linux box (slackware 10.2) in order to
run my Web service.
And now I need to do a performance test on my Web Service and find out
some
things:
1. How much memory does my web service consume?Can I measure it with
Tomcat
Manager?
Hello,
I'm using Muse/Tomcat/Apache on a Linux box (slackware 10.2) in order to
run my Web service.
And now I need to do a performance test on my Web Service and find out some
things:
1. How much memory does my web service consume?Can I measure it with Tomcat
Manager? Or Via JMX? What's the be
I have a problem with a tomcat cluster and a Linux Virtual Server based load
balancer. I beleive the problem is with my load balancer, but I'm not
completely sure.
Does anyone know if there is any interaction between tomcat and IPVS in LVS?
Here is a link to the full details of my problem if it
Good Evening All-
The best way is to put up a Jsp / servlet which itself has the
username/password information to let you behind the firewall
There are a ton of https and firewalls you can install and configure to your
hearts content
But none would be more secure and safe than controlling authe
I need to implement fine-grained security access, so it looks to me like
"Programmatic Security" (Servlet spec 12.3) is called for. I want to recieve
the request in my servlet, then decide what access rights are needed for it.
In this case, if I understand correctly, the "user must already be
Hello,
I have seen a few references to this problem but have not seen any known
solution. I have a scenario where I want to create a mock request/response
and forward that on using
servletContext.getRequestDispatcher(myJspPath).forward(req,
resp); I have created FakeRequest and FakeResponse whic
Paul,
I can understand the reluctance to create and deploy the war just to change
a configuration setting - it seems so "heavyweight".
You could try a variation and have an ant target (or a shell script for that
matter) update the properties under WEB-INF from a know location that is
custom for e
Thanks a bunch, Pid; your first suggestion did the trick!
Regards,
Bob Wyatt
-Original Message-
From: Pid [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 17:16
To: Tomcat Users List
Subject: Re: Graphics Display
CATALINA_OPTS=" -Djava.awt.headless=true"
^
If I deploy a war file named by the project-version it will name the
application instance by the filename not the actual name of the
application supplied in the META-INF/context.xml file.
Why is this. My development ide knows the difference.
- Lou Caudell
sweng
CATALINA_OPTS=" -Djava.awt.headless=true"
^
^
If that doesn't work, set it as a JVM option.
I set it in my /etc/profile on Linux, don't know if AIX is the same.
JAVA_OPTS="-server -verbosegc -Djava.awt.headless=true"
Bob Wyatt wrote:
> I have Tomcat 5.0.28 on AIX 5.2.
I have Tomcat 5.0.28 on AIX 5.2.
My application provides the user the capability to graph data displayed,
such as graphing monthly sales, or orders, etc..
This is not working for me; see the log below.
The system does not have a graphics console; the application provider had me
insert 'CATALI
Bernadel-
Have you looked at aggregating all of the items into either a SortedMap (sorted
on the natural order of the keys)
or perhaps a SortedSet (sorted according to natural ordering of its elements)??
http://java.sun.com/j2se/1.5.0/docs/api/
Saludos!
M-
***
Hi again Tim :D
My servlet works fine now thanks a lot for your help!
Andrea
2006/6/26, Tim Lucia <[EMAIL PROTECTED]>:
The servlet looks OK -- I didn't compile or run it or anything. When you
say a blank image -- are you requesting the servlet URL directly from the
browser? I'd snoop
Richard,
Thanks for the suggestion. I appreciate the elegance of your ant
targets to create war files targeted for each runtime environment.
The reason that I am looking for a different approach is this approach
would require me to create a new war file if the managers of the runtime
environment
Perhaps all the data items stored in the three arrays could be put into a
single new class so that, by definition, all the data would be sorted
together. At that point, you might not need three separate arrays.
If you need to sort the data in different ways, you can avoid making copies
of the Lis
This is just basic Java coding. Search on google for an example. I am sure
there are tons out there.
On 6/27/06, password password <[EMAIL PROTECTED]> wrote:
>Yes, you need to create an array of a data bean/value bean/private class
>(whatever buzz word you want to give) and then sort that arra
wolverine my wrote:
Hi!
The Tomcat's MySQL DBCP example mentioned that we have to copy the
JDBC Driver's jar $CATALINA_HOME/common/lib. Do we allowed to copy the
jar to WEB-INF/lib? And how can we do that?
-
To start a new topi
Thanks for the quick reply. Sorry - typo in previous email (name/path
should have read path/docBase!).
I actually did try renaming mywebapp.xml to differentName.xml, but got
errors saying it couldn't find ...\webapps\differentName.
So now I have differentName.xml, containing
but I get t
>Yes, you need to create an array of a data bean/value bean/private class
>(whatever buzz word you want to give) and then sort that array. So you
>would have an array of arrays and then sort the array of arrays.
Can you put an example of this (array of arrays)? How can I do the order with
this
Hi Everybody
I’m trying to find a free tomcat SNMP agent for the
Windows Operating System.
Does anyone know were I can find it?
Regards,
Florentino
---
Florentino Gameiro
Departamento Ténico
Extensive experience with SSL and virtualhost setup
required. Please respond to [EMAIL PROTECTED]
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
Yes, you need to create an array of a data bean/value bean/private class
(whatever buzz word you want to give) and then sort that array. So you
would have an array of arrays and then sort the array of arrays.
On 6/27/06, Robert Harper <[EMAIL PROTECTED]> wrote:
If you need to keep one array in
Hi,
is it possible to set a system property like
"javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"; =
"org.apache.xerces.jaxp.validation.XMLSchemaFactory"
in a web.xml?
Cheers,
Ingo
-
To start a new to
[EMAIL PROTECTED] wrote:
> Hi,
>
> We install a webapp under tomcat\webapps\mywebapp by exploding the
> appropriately named war file.
>
> However, we need users to be able to reference it by typing in
> http://myserver/differentName.
>
> I tried adding a mywebapp.xml file under C:\jakarta-tomc
Hi,
We install a webapp under tomcat\webapps\mywebapp by exploding the
appropriately named war file.
However, we need users to be able to reference it by typing in
http://myserver/differentName.
I tried adding a mywebapp.xml file under C:\jakarta-tomcat-5.5.12
\conf\Catalina\localhost with the c
If you need to keep one array in a certain order, why not add the references
to another sorted array. Then you could have a primary array and a sorted
array. They would both hold references to the same objects. The down side is
that when you remove an element from one array, you will have to also r
password password:
Maybe it would be easier if you used some kind of collection, or created
your own object(s) that contained some kinds of collections...
Thanks,
Johnny
password password <[EMAIL PROTECTED]>
06/27/2006 10:56 AM
Please respond to
"Tomcat Users List"
To
Tomcat Users List
Hi,
Arrays.sort(astrName);
I can not use the sort method because I have the arrays have an relation. I
mean, the first element of astrName have relation with first element of
adblBackground1, adblBackground2, adblItensity1 and
adblItensity2.
Then I can sort each array indepe
This first class should be you domain object.
You should add all related data here.
public class ExampleClass implements Comparable {
public String astrName;
/*
* All other members you need here
*
*/
public ExampleClass(String astrName) {
this.astrName = astrName;
a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROT
>HOOGHE Gilles wrote:
>> Hi,
>> I have several small websites/virtual hosts in Apache.
>> For each virtual host I want to map the root folder "/" to
>its own webapp in
>> Tomcat using mod_jk.
>> The Tomcat documentation describe this using virtual host on
>both sides Apache and
>> Tomcat, this is
Search on Interface of Collections (specifically the comparable method).
This should allow you to write your own way to compare objects and thus the
Java engine will sort based upon your comparable method.
On 6/27/06, password password <[EMAIL PROTECTED]> wrote:
Hi,
Arrays.sort(astrName);
Hi,
Arrays.sort(astrName);
I can not use the sort method because I have the arrays have an relation. I
mean, the first element of astrName have relation with first element of
adblBackground1, adblBackground2, adblItensity1 and
adblItensity2.
Then I can sort each array indepe
HOOGHE Gilles wrote:
> Hi,
> I have several small websites/virtual hosts in Apache.
> For each virtual host I want to map the root folder "/" to its own webapp in
> Tomcat using mod_jk.
> The Tomcat documentation describe this using virtual host on both sides
> Apache and
> Tomcat, this is a set
i had something similar and the reason then was that i had duplicate context
definition files. it seems that your context definition is not in server.xml,
so you might check whether there are duplicate context files somewhere in
tomcat/conf/...
dirk
On Tuesday 27 June 2006 13:43, Mark Benussi
Hi,
I have several small websites/virtual hosts in Apache.
For each virtual host I want to map the root folder "/" to its own webapp in
Tomcat using mod_jk.
The Tomcat documentation describe this using virtual host on both sides Apache
and
Tomcat, this is a setup that is well documented.
However,
We have a webapp running within Tomcat 5.0.28 on Linux.
The message log indicates that any classes are loaded
twice. Also, any singleton objects created by these load-on-startup classes
are created twice. This has been confirmed by stepping through the code via
a debugger.
From what I have g
You can if you like. Just implement a ServletContextListener to setup a
DBCP pool for your webapp and store the resulting DataSource in the
ServletContext. Servlets and JSPs can pull it out of the ServletContext
later for use. Then have both the DBCP jar and the MySQL jar in your
WEB-INF/lib
Looks like you are using 2 order N loops. why not use quicksort ? Tomcat
may have nothing to do with it.
Thanks
- Rajeev.
password password wrote:
Please, can you put an example? I don't know how put the compareTo Method in my
servlet.
Sérgio Costa <[EMAIL PROTECTED]> escribió: Put them in
You put the compareTo object on the object to be compared.
You could also try:
java.utils.Arrays.sort(Object[] array, Comparator comp)
There are plenty of tutorials to be found via Google on the use of both
this and Collections.sort().
password password wrote:
> Please, can you put an example?
There is a known problem with SUNs compiler "javac" and Tomcat. If you
are using the standard configuration javac and Tomcat uses the same
JVM. Soon or later this will produce an "out of memory".
To prevent this, you can either update your JRE to Java 5 or set
fork=true in your standard deployment
Please, can you put an example? I don't know how put the compareTo Method in my
servlet.
Sérgio Costa <[EMAIL PROTECTED]> escribió: Put them in a list and
Collections.sort() them.
All you'll need to do is create a Class with all those fields implementing
Comparable, and implement the compareTo
wolverine my wrote:
Hi!
The Tomcat's MySQL DBCP example mentioned that we have to copy the
JDBC Driver's jar $CATALINA_HOME/common/lib. Do we allowed to copy the
jar to WEB-INF/lib? And how can we do that?
-
To start a new topi
45 matches
Mail list logo