Thank you all for your help,
The second reason to use more than on tomcat is so i can stop one and the
others still work.
I compiled the mod_jk module on the server.
In catalina.sh i set JAVA_OPTS to "-server -Xms1g -Xmx1g -Xincgc"
I did test for maximum thread by run jsp with this code,
##
Turns out this was related to an unintended use of APR via the
tcnative-1.dll file.
Fixes include:
- removal of the tcnative-1.dll file from the Tomcat bin dir
- using an APR friendly SSL configuration as described under
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
All credit to Chuck Caldar
Hi, here are further information about the environment and answers to the
below question
-Tomcat and apache are on two different servers ( separated by a firewall)
-Tomcat 5.5.23 is running on Sun JDK 1.5.0_12
-Direct connection to tomcat http connector ( 8080 ) works fine.
-Yes, we are able to c
Hi all,
I have problem with my web application which hanges after 2 to 3
transations. I am using JSF for GUI, managed beans, Hibernate and using
Tomcat 6.0.10. I thought it would be session problem so i have changed my
session settings in web.xml, but it didn't work. Later i thought it would
b
That's done it !
Thanks indeed for sharing your knowledge here Chuck.
Here on dev I've done the simple thing of removing the APR .dll but when I
try this on a live-like build next week I can see myself spending some
quality time with that APR section of the manual you've pointed me towards.
Now
> From: Titi Wangsa [mailto:[EMAIL PROTECTED]
> Subject: Re: Advice about Tomcat on x86_64 architecture..
>
> correct me if i'm mistaken, but i've read that
> the more memory you allocate for you Heap, the
> less thread you have,
That's somewhat true with a 32-bit OS, but even then you can still
> From: Ben Iggulden [mailto:[EMAIL PROTECTED]
> Sent: 2007 July 09, Monday 20:12
> keystore..not doing what it should !
>
> I'm trying to verify this as the problem by closing Eclipse
> and running Tomcat directly
Try running it from a command prompt rather than as a service. There
may be som
Hi Chris,
Thanks for the info about the struts 1.3. If you didnt say that, i would pack
everything up and deploy on a school server for my demo next week. So now I
gotta change back to container-managed dataSource. As I said, i did declare the
tomcat dataSource in server.xml and WEB-INF/web.xm
I tried to configure Apache with "ErrorDocument 501 error.html" howewer, it
doesn't seem to take affect. That error message still appears when I try to
connect via telnet and enter some characters. So I suspect that Tomcat
doesn't return 501 error code but return normal "html" signaling the error
"aaime74" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
> Johnny Kewl wrote:
>>
>> This is an interesting question, and I'm going to "guess"...
>> If you in a JSP page, I dont think the error can be trapped.
>>
>> If you in a servlet, yes I think a try catch will detect it, bu
Thanks for explaining how you use it
Think you absolutely right, having a standard in a large institution is
probably the governing concern.
Now that I know what a portlet is, the next time I stick a hidden field in a
form to control the backend logic and flow control, or include one JSP pag
"lior grinfeld" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> i am trying to find out where and which attribute i can use to do transfer
> data as chunk and determined the chunk size of a response.
> i saw it is supported, i read it in the "Apache Tomcat Configuration
> Re
"Joseph S" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 1) What jar files do I need to include in my classpath to compile a Valve?
I'm assuming that this is for 5.5. Usually you just need catalina.jar, but
in some cases you might need tomcat-utils.jar and tomcat-coyote.jar (if
we have 3 instances on the same hardware
we did this due to a memory/thread constraint
correct me if i'm mistaken, but i've read that
the more memory you allocate for you Heap, the less thread you have,
we want a lot of memory
and a lot of threads
so we opted to do 3 instances on the same hardware
Thanks for your responses Chuck & Hassan.
I did have a good look into my use of the keystoreFile attribute and made
sure there was no .keystore sitting in the default location in my home dir
that might be confusing things. I was thinking .keystore on the default
path with "changeit" as the passwo
1) What jar files do I need to include in my classpath to compile a Valve?
2) Where do I put the class file so Tomcat can load it? Under
CATALINA_BASE/common?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubsc
Hi
I have a "worker.jar" in my webapp. User could upload a new "worker.jar"
replacing it. And I don't want to restart the tomcat.
How can I implement this?
Thanks.
I just thought of a very speciffic example that might make what i was
saying clearer. Using the educational field again:
Just say you have a central student enrollment online system. Faculty A
just wants the student to fill out all forms, say Form 1, form 2 and
form 3. However Faculty B says,
Johnny Kewl wrote:
Hi Jacob. thanks
There is tons of literature on it, but boy its like looking for a
needle in a hay stack actually finding one that clearly uses all this
technology
Portal Architecture is heavily used by teaching institutions to solve a
number of speciffic problems (not
Thanks for the reply Filip - I gave your suggestion a try and still no
luck...
Filip Hanik - Dev Lists wrote:
>
> can you explicitly try to define the bind address in the
> element?
> could it be that the default 0.0.0.0 or whatever it's IPv6 counterpart
> is, is not accepted?
>
> Filip
>
can you explicitly try to define the bind address in the
element?
could it be that the default 0.0.0.0 or whatever it's IPv6 counterpart
is, is not accepted?
Filip
John Pederzolli wrote:
I am having issues using APR in an HP-UX environment; Ive successful
built/installed APR in multiple Linu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Pederzolli wrote:
> I am having issues using APR in an HP-UX environment; Ive successful
> built/installed APR in multiple Linux environments so am I bit lost what is
> happening in HP-UX...
I don't have any HP-UX experience, but this erro
I am having issues using APR in an HP-UX environment; Ive successful
built/installed APR in multiple Linux environments so am I bit lost what is
happening in HP-UX...
I get the following error while trying to start Tomcat:
SEVERE: Error initializing endpoint
java.lang.Exception: Socket listen fa
you can point JRE_HOME instead of JAVA_HOME to use a jre,
Filip
Deepa Paranjpe wrote:
Does tomcat 6 only need a jre but not a jdk? If so, what should you point your
JAVA_HOME to?
-
Moody friends. Drama queens. Your life? Nope! - their life, your sto
not really, try to lower your mcastFrequency value, and increase your
mcastDropTime value
Filip
Andrew R Feller wrote:
Filip,
Perhaps you can explain why each of these log messages are happening
every 10 minutes? If this isn't controlled behavior, which I doubt,
then something is going on he
Does tomcat 6 only need a jre but not a jdk? If so, what should you point your
JAVA_HOME to?
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Advice about Tomcat on x86_64 architecture..
>
> > From: prt [mailto:[EMAIL PROTECTED]
> > Subject: Re: Advice about Tomcat on x86_64 architecture..
> >
> > Are you sure about that is no need to compile the Tomcat on 64 Bit ?
johny,
as far as i informed this site uses portal server along with a
classical cms solution: http://www.omv.at
OMV is one of the big players on the european oil market having gas
stations in at least 5 countries (probably more).
However, the project itself was a mess (i've heard :-))
regards
> From: prt [mailto:[EMAIL PROTECTED]
> Subject: Re: Advice about Tomcat on x86_64 architecture..
>
> Are you sure about that is no need to compile the Tomcat on 64 Bit ?
Definitely.
> What about the all application,
> I can develop and compile on 32 bit and then transfer class
> files to the
Hi Jacob. thanks
There is tons of literature on it, but boy its like looking for a needle in
a hay stack actually finding one that clearly uses all this technology
For the interested. I found one
http://www.claudehussenet.com/portal/Welcome.do
I read the complex spec and look at portle
But how about performance..
is it better to have multiple instances of hibernate sessionFactory Objects
(one each web app) or to use an http call for each db query?
Maybe transactions are handled better with a centralized datasource access
throug ws.. what do you think?
Andre Prasetya-2 wrote
Hi Christopher,
Sorry about the double post.
Thank you very much for your help, you very kind.
I installed JVM 64-bit Server, so now the tomcat's work with the JVM.
Are you sure about that is no need to compile the Tomcat on 64 Bit ?
What about the all application,
I can develop and compile on
> -Original Message-
> From: Phi-Long LE [mailto:[EMAIL PROTECTED]
> Subject: Re: JSP precompilation
>
> Probably we gonna keep our previous method to precompile JSPs
> unless I find out an efficient and quick method to set it up.
Have you looked at the Tomcat doc on the subject?
http:
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Hide 501 error message
>
> I'm sure you can turn off this version disclosure within Tomcat, too,
> but I can't remember how to do it. Check the archives, 'cause I'm sure
> this has been asked in the past.
>From the doc for the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
Filip Hanik - Dev Lists wrote:
> The JDBC realm doesn't use the connection pool you've specified below,
> The JDBC realm uses a single connection, never closes it unless an
> exception happens.
Might I suggest using a JNDI Realm so you can sh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Prt,
Please do not post more than once. We forgive spelling and grammar
mistakes. There is no reason to re-post your question with trivial changes.
prt wrote:
> I have Dell PE 2950 with tow Intel xeon dual core 5130 processors.
> I have three tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
> There's no JDBC setting.
Sure there is: Statement.setFetchSize(int size)
"Gives the JDBC driver a hint as to the number of rows that should be
fetched from the database when more rows are needed. The number of rows
specifi
I believe it may be the JVM in question causing this error. A while back, I
tried to bump up my JDK from 1.4.2 to 1.5 and it caused all kinds of
complilation errors, and errors like this as well. And I'm still on the TC
4.1.x series. I had to uninstall that JDK's JVm to get everything to compile
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
climbingrose,
climbingrose wrote:
> I'm configuring Tomcat 6.0.10 behind Apache 2.0 using mod_jk 1.2.3.
> Everything is working beautifully but I want to hide 501 error when
> malicious user try to access the server.
I assume you always want to hide
Hi all,
I was using tomcat's version of 4.1 for a long time and it was working fine.
But then I decided to move to version 6. I kept getting these errors -->
javax.servlet.ServletException: Cannot allocate servlet instance for path
/mystuff/servlet/RelatedQuestions
org.apache.catalina.servle
could it be your provider or network is blocking port 25 connections through
apps other than the standard email app used? i.e. your company might block port
25 if not being accessed by LotusMail or Outlook.
-Original Message-
From: Mike Peremsky [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
lightbulb,
lightbulb432 wrote:
>> POST requests always use the request's "body" encoding, which is
>> specified in the HTTP header (and can be overridden by using
>> request.setCharacterEncoding). Some broken clients don't provide
>> the character e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thai,
Nhut Thai Le wrote:
> Servlet decument says: getDatasource(HTTPServletRequest) is used to
> get the default datasource, getDataSource(HttpServletRequest, String)
> get the selected datasource.
This appears to be a Struts method, not anything f
just do another query -- either in a second servlet to pull back to a JSP page
or (not recommended, but I've done it) put the query in the JSP page itself.
Just write the results right there on the fly to the JSP.
-Original Message-
From: Mohammed Zabin [mailto:[EMAIL PROTECTED]
Sent:
Filip,
Perhaps you can explain why each of these log messages are happening
every 10 minutes? If this isn't controlled behavior, which I doubt,
then something is going on here. =P
Thanks for the help,
Andy
2007-07-09 09:30:09,497 INFO
[org.apache.catalina.cluster.tcp.SimpleTcpCluster] - Replica
The JDBC realm doesn't use the connection pool you've specified below,
The JDBC realm uses a single connection, never closes it unless an
exception happens.
The connection is defined in the section of server.xml
Filip
Gregor Schneider wrote:
Hi list,
we're running Tomcat 5.5 here on Debian
correct, on the multicast IP
Filip
Andrew R Feller wrote:
Is the multicast heartbeat picked up over the multicast IP or the
Receiver address that is broadcasted? I assume it is the multicast IP
as the Receiver is supposedly used for replication only.
Andrew R Feller, Analyst
Subversion Admini
Well... I don't gonna keep in mind the third option... obviously obvious
isn't it ? ;-)
Probably we gonna keep our previous method to precompile JSPs unless I
find out an efficient and quick method to set it up.
Le 09/07/2007 15:54, David Delbecq a écrit :
You can either precompile (eg using s
OR
you could use a small JSP page which goes through all JSP files
of your webapp and include them, which in turn leads to a compilation
of the JSP pages...
call this precomp.jsp after deployment of your webapp, which could be
automated using a deployment script ...
hth, Chris
> -Ursprüng
Where I work, we run a fairly simple Oracle based portal, there are a
large number of people who do this, mainly universities:
https://ceai1.campuseai.org/portal/page?_pageid=933,5339000&_dad=portal&_schema=PORTAL
-jacob
-
To
> From: Ben Iggulden [mailto:[EMAIL PROTECTED]
> Subject: RE: https in Tomcat 5.5 via basic JKS keytool
> keystore..not doing what it should !
>
> Is this keystore password supposed to be changed as I have presumed
> (ensuring the same is used in the server.xml connector's keystorePass
> attribu
Is the multicast heartbeat picked up over the multicast IP or the
Receiver address that is broadcasted? I assume it is the multicast IP
as the Receiver is supposedly used for replication only.
Andrew R Feller, Analyst
Subversion Administrator
University Information Systems
Louisiana State Univers
> From: Artur Rataj [mailto:[EMAIL PROTECTED]
> Subject: Re: Context.xml error
>
> So, if an app has additional context for some directory listing, where
> it should be defined?
Your use of the terminology is in error. An app is a context, and vice
versa; the phrase "app has additional context"
You can either precompile (eg using specific tomcat ant target) and
include the precompiled files in your .war, add with it the mappings in
web.xml for each jsp. (Long and not so easy)
Or,
you can install in tomcat something like lambda-probe, that has an
interface to compile JSP, interface you co
hi there,
currently, the project I work on, we deploy our application simply using
tar file, now testing tomcat, we would use war file... that's ok for
that in a meantime on our current production platform (iplanet) we
precompile JSP and create an other tar file... what is then the best
p
- Which version of Java?
- What does a thread dump of Tomcat give (kill -QUIT, result goes to
catalina.out)
- Does direct connect to Tomcat http connector still work?
- Can you still connect from the Apache server to the Tomcat jk
connector via telnet?
- What's the config of your jk conector (
Hi list,
we're running Tomcat 5.5 here on Debian Edge, MySQL 5 and we've set up
a connectionpool.
Example of context.xml:
Unfortunately, we always get an exception after 8 hours of inactivity like
2007-07-09 02:10:16,739 ERROR [TP-Processor7]:
Exception performing authe
On 7/9/07, Fatima <[EMAIL PROTECTED]> wrote:
I am new to web services. I have installed tomcat version 6.0.13 and
Axis2.war file on Fedora Core 5, they both have passed the validation
test, also, i am using firefox as my web browser. When i run the version
service of Axis2 or any other service,
we have upgraded our environment to following software specs.
on Redhat AS 3.0 (update 8), tomcat 5.5.23, apache 2.0.46 and JK 1.2.23
plugin. intermittently we see the following error in the error log of
tomcat and then the whole site just gets hung. and no users will be to
procede with any
On 7/8/07, Ben Iggulden <[EMAIL PROTECTED]> wrote:
Is this keystore password supposed to be changed as I have presumed
(ensuring the same is used in the server.xml connector's keystorePass
attribute as is used in generation)
Yes, using a different password works for me per the docs on
my exist
Hi to all,
I have Dell PE 2950 with tow Intel xeon dual core 5130 processors.
I use this server to run website.
I have three tomcat work in balance in mod_jk, and one Apache in front on
port 80.
The JVM and the tomcat that i have on the server are 32 bit architecture.
My question is,
Is it good
So guys.. Do you think that this discussion thread is hopeless within
Tomcat?
http://forum.springframework.org/archive/index.php/t-9962.html
axelspin wrote:
>
> Hello,
> I am wondering which is the best way to deploy within Tomcat multiple web
> apps (portlets-web services) that have access
>
Designing specific web services for this purpose.. comunications within the
same appserver..
sounds a bit depressive.But yes.. could be an option.
Maybe I should move to JBoss or Geronimo and use "ears". But it doesn`t
sound good to my "ears" :-)
I have to open my portlets through wsrp (WSRP4J)
A previous user post has got me as curious as anything...
There's a lot of YADA BLAH on the web, but I cant find any live portal sites.
Does anyone know where one can actually go to see this stuff in action live
examples.
Thx
Servlet decument says: getDatasource(HTTPServletRequest) is used to get the
default datasource, getDataSource(HttpServletRequest, String) get the selected
datasource. However, since I am using struts. following instruction in tomcat
documentation on connection pooling and using getDatasource wit
Hi Axel, just out of curiosity, had a look at what you waffling on about,
coz I've never done portlets.
It's interesting but it actually looks like a nightmare
I did find a link that I think will help...
http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3089
Fram
Hi,
case you are going to use stateful session mechanism, be aware that
tomcat opens for each webapp context new httpsession.
axelspin <[EMAIL PROTECTED]>
09.07.2007 12:22
Please respond to
"Tomcat Users List"
To
users@tomcat.apache.org
cc
Subject
Spring+hibernate business logic accro
i think its better if you use web services for that purpose, or rmi,
whichever right to your taste
On 7/9/07, axelspin <[EMAIL PROTECTED]> wrote:
Hello,
I am wondering which is the best way to deploy within Tomcat multiple web
apps (portlets-web services) that have access
to the same business
Hello,
I am wondering which is the best way to deploy within Tomcat multiple web
apps (portlets-web services) that have access
to the same business logic (developed with Spring+Hibernate).
I`ve seen something here
http://springtips.blogspot.com/2007/06/using-shared-parent-application-context.html
On 7/8/07, Mark Thomas <[EMAIL PROTECTED]> wrote:
Because each context.xml file can oly define a single context.
So, if an app has additional context for some directory listing, where
it should be defined?
Artur
-
To start
Not knowing how this code is working:
DataSource ds = this.getDataSource(request,"jdbc/TestDB");
> if(ds == null)
> throw new InternalException("datasource is null");
I'm not sure what to tell you. The method getDataSource( request,
"jdbc/TestDB" ) is not a part of tomcat or the servlet s
Tomcat can act as a client to another tomcat. See
http://jakarta.apache.org/commons/httpclient/ for a library supporting this.
--David
Johnny Kewl wrote:
No, I dont think so, a web server is not a client, and unless you
really have to work on port 80, it would be much easier to just to use
J
There's no JDBC setting. I'd recommend you take a close look at the
SELECT statement for your database for syntax to support paging.
--David
Mohammed Zabin wrote:
Hi All
I want to ask about ResultSet paging. I mean, displaying your records on
multiple of pages instead of dumping them all in
I forgot to mention
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
will tell you wherabouts to put the filter mapping in web.xml
Rgds
Duncan
On 7/9/07, Lyallex <[EMAIL PROTECTED]> wrote:
Hello
You 'put' them somewhere in you package hierarchy, so for example if
you have the package structure
Hello
I am new to web services. I have installed tomcat version 6.0.13 and
Axis2.war file on Fedora Core 5, they both have passed the validation
test, also, i am using firefox as my web browser. When i run the version
service of Axis2 or any other service, it gives me the following error
"
Hello
You 'put' them somewhere in you package hierarchy, so for example if
you have the package structure com.barking.mad with servlets in
com.barking.mad.servlets then you could put them in
com.barking.mad.servlets.filters or wherever and package them up in
your jar or war or whatever it is you
Hi Rainer,
Many thanks for the feedback.
To answer your question on stability, without the connection pooling being
"un disabled" the connector appears stable until placed under load at
which point it starts to flag all tomcat instances as "down", which they
are not. (I don't believe this is
Hi
I'm using Tomcat 5.5.17
To configure Tomcat to serve up a non default http 403 status code page
which is what I think you are talking about you need to add something
like the following to your web.xml
403
/errorcodes/ec403.jsp
You can override all Tomcats default error pa
Hi I am getting the following error when I deploy my war file. Please see the
error messages.
Thanks in advance
Manaa
Jul 9, 2007 7:42:08 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive campaign.war
Jul 9, 2007 7:42:12 AM org.apache.catalina.loader.Web
hapnne -> happening
Rainer Jung wrote:
If this is hapnne during times of increased load, then check
connection_pool_size in
...
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
If this is hapnne during times of increased load, then check
connection_pool_size in
http://tomcat.apache.org/connectors-doc/reference/workers.html
Regards,
Rainer
Rasmus - Next Stay A/S wrote:
Hi
I am seeing this error in my isapi.log, I am running IIS 6.0, tomcat 4.1
and jk 1.2.23
Hi All
I want to ask about ResultSet paging. I mean, displaying your records on
multiple of pages instead of dumping them all in one page.
In ASP using ADO 2, there is a property called page size, when you set the
property, your recordset will determine how many page your recordset will be
displa
Hi,
i am trying to find out where and which attribute i can use to do transfer
data as chunk and determined the chunk size of a response.
i saw it is supported, i read it in the "Apache Tomcat Configuration
Reference - The HTTP Connector", but where can i find more details?
thanks
Lior
Thanks man :)
About the filters, where do you implement them? I see they are in Java but
still don't know where to put them :) And where do you put the filter
mapping?
Thanks!
Lyallex wrote:
>
> Hi
>
> Ah, yes, well I'm not really an 'expert' myself but I have been through
> this
> recently
Thanks :)
Now for some questions.. Didn't you have to configure any filters for this?
I tried using the * but no luck.
Rene Guenther-2 wrote:
>
> Not sure wether this could help:
>
>
>
> all-except-attachments
> *.js
> *.jsp
>
85 matches
Mail list logo