Hi Kevin,
including a context.xml file in META-INF could cure the "disappearing context
file" issue, although it would rather be some kind of workaround: The file
would still be deleted but eventually restored. Any idea how I could configure
tomcat 5.5 to stop from deleting that file?
The othe
Xin Herbert Wu wrote:
(1) Assume I have a web app called mywebapp.war and I deployed it to the
jboss server(http1.1 connector listens on port 8080). I can access this web
app with the URL http://localhost:8080/mywebapp/index.html (easy for
development)
(2) Now I want to add the apache server(ass
Good Morning,
> Von: Sven Schliesing <[EMAIL PROTECTED]>
>
> The webapp runs under Tomcat 5.5.15. I would expect this config-file to
> litter my console with tons of log messages. But it only displays the
> messages from my webapp. None of the 3rd-party-tool-messages, like from
> hibernate or
: From: "David Rees" <[EMAIL PROTECTED]>
:
: On 3/21/06, Chris Fong <[EMAIL PROTECTED]> wrote:
: > Let me rephrase original my question.
: >
: > Is it an abnormal configuration to have roughly 20 connectors all
: > listening on different ports for 5.5.15? Have anyone had similar
: > configuration
Further to my email earlier I've discovered I can either have the truncation
on or the reconnect on, but I can't include both in the url otherwise Tomcat
doesn't start up. Also, if I take off the autoreconnect I get a null
pointer error on my connection class.
I'm getting desperate so does an
"ngolehung84" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
> I have read the source of Tomcat 5 but I can't find where the code
> implementing some algorithms( RSA, RC4, .).
> Where can I get the algorithm list and the implementation of above
> algorithms.
Tomcat d
Hi,
this doesn't help either. I'm pretty sure now that it has to do with the
standard-logging-mechanism of tomcat.
On the console I see log-messages like these:
22.03.2006 02:26:18 com.opensymphony.oscache.base.Config loadProps
INFO: Properties {cache.path=c:\temp\cache}
and
INFO: Hibernate
Generated servlet error:
Only a type can be imported. x.y.MyClass resolves to a package
This happens for every class used in the jsp page. It is a very strange
occurence and appears to have happened after upgrading to Tomcat 5.5.16 and
JDK 1.5.0_06 .
Has anyone else come across these issues lat
I use the following, notice the Threshold setting, maybe that can help
(I'm not sure how "log4j.appender.stdout.Target=System.out" affects
logging) :
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Threshold=DEBUG
log4j.appender.stdout.layout=org.apache.log4j.Pa
I wrote an ant task (see below) that re-deploys a warfile to the tomcat
server prior to kicking off a set of integration tests. I was suprised to
see the following two messages in the ant log:
[undeploy] OK - Undeployed application at context path /voipSupport
[deploy] FAIL - Application already
On 3/21/06, Chris Fong <[EMAIL PROTECTED]> wrote:
> Let me rephrase original my question.
>
> Is it an abnormal configuration to have roughly 20 connectors all
> listening on different ports for 5.5.15? Have anyone had similar
> configuration for their production environment with heavy traffic?
Y
Let me rephrase original my question.
Is it an abnormal configuration to have roughly 20 connectors all
listening on different ports for 5.5.15? Have anyone had similar
configuration for their production environment with heavy traffic?
Thanks,
--Chris
> -Original Message-
> From: Chris
Hi,
I already posted this to the log4j-list but got no response. Maybe
someone of you can help me.
I have this log4j.properties-file within my webapp:
---
log4j.rootLogger=DEBUG,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target
Never think about filter forwarding. It definitely should work.
Thanks!!
-Xin
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 4:52 PM
To: Tomcat Users List
Subject: RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp:
context
> From: Xin Herbert Wu [mailto:[EMAIL PROTECTED]
> Subject: RE: apache(v2.0) front-end to
> jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?
>
> Oh, I do not think so. Public request must come from apache.
> We run Jboss cluster and mod_jk is the load balancer.
O.k., that's a very valid
Oh, I do not think so. Public request must come from apache. We run Jboss
cluster and mod_jk is the load balancer.
For each node in the cluster, there will be several webapps deployed.
The typical request flow would be apache-1 server is response for
www.web1.com and routes traffic to webapp1.wa
Hello all,
I am using a MySQL 5.0.18 server with the mysql-connector-java-3.1.12-bin
Connector/J driver to connect to it on a Tomcat 5.5.15 server. The connection
works fine but occasionally when I try to add a Java double value to the
database (a row set to DECIMAL(10,2))I get the following e
Would including the myapp.xml in your META-INF/ be an option? I read here
that that should work:
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#A%20word%20on%20Contexts
-Kevin
On 3/21/06, Aust, Christian <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm using Tomcat 5.5.15 on Windows 2003
Hi,
I'm using Tomcat 5.5.15 on Windows 2003 w/ SUN JDK 1.5. Inside a virtual host,
I've configured a context to define some JNDI datasources. Therefore I've
written a context XML file in CATALINA_BASE/conf/Catalina/host/myapp.xml
The app is deployed using a war file HOST_BASE/myapp.war and expa
ngolehung84 wrote:
> Hi,
> I have read the source of Tomcat 5 but I can't find where the code
> implementing some algorithms( RSA, RC4, .).
> Where can I get the algorithm list and the implementation of above
> algorithms.
> thanks,
> Hung.
When starting a new thread (ie sending a message
Lahiff, Lorinda wrote:
> 1. How do I set up rewrite rules in Tomcat?
This is not supported directly. You would need to write a filter (or
find one on the net that does what you want).
Mark
-
To unsubscribe, e-mail: [EMAIL PROTE
hung ngole wrote:
Hi,
I have read the source of Tomcat 5 but I can't find where the code implementing some algorithms( RSA, RC4, .).
Where can I get the algorithm list and the implementation of above algorithms.
thanks,
Hung.
You are really boring.
You have posted the same question t
> From: Xin Herbert Wu [mailto:[EMAIL PROTECTED]
> Subject: RE: apache(v2.0) front-end to
> jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?
>
> Do you mean I comment out
> ...
> Entry in tomcat server.xml?
No, you change the port number to 80. Just eliminate httpd from the
environment
Hi,
I have read the source of Tomcat 5 but I can't find where the code
implementing some algorithms( RSA, RC4, .).
Where can I get the algorithm list and the implementation of above
algorithms.
thanks,
Hung.
--
View this message in context: http://www.nabble.com/SSL-t1318762.html#a3516951
Hi:
I am using Tomcat 5.5.16 on Windows XP with JDK 5.0. This is what I am
trying to do:
Set up a virtual host with two contexts. The first context is my root
application and the second context is the manager for this virtual host.
The application and manager are working fine. The only problem i
I am using Tomcat 5.5.12 on Windows XP. In my application I am
experiencing performance problems for WebDAV uploads. It seems like I
get a dramatic decrease in transfer speed if I try to upload several
large files simultaneous.
If I upload one file I get normal or expected upload speed. But if try
Right, the correct syntax is to replace 'balancer' with the worker name.
In my 5.5.12 configuration I use 3 workers, 1, 2 and 3 and a balancer
worker, 0.
#
worker.worker0.balance_workers=worker1,worker2,worker3
worker.worker0.sticky_session=true #may be default
In conf/server.xml I have different
Do you mean I comment out
...
Entry in tomcat server.xml?
Basically I want it for a bit convenience in development without using
apache. I could remove if it is only way to do it.
If I do remove it, do I have to use virtual host if the tomcat container
contains multiple webapps so that each of
Hi,
I have read the source of Tomcat 5 but I can't find where the code implementing
some algorithms( RSA, RC4, .).
Where can I get the algorithm list and the implementation of above algorithms.
thanks,
Hung.
-
Relax. Yahoo! Mail virus scann
Hi,
I have read the source of Tomcat 5 but I can't find where the code implementing
some algorithms( RSA, RC4, .).
Where can I get the algorithm list and the implementation of above algorithms.
thanks,
Hung.
-
Relax. Yahoo! Mail virus
Hi,
I got 2 questions about Rewrite Rule.
1. How do I set up rewrite rules in Tomcat?
2. What entries do I need in the rewrite file to replace strings in the
URL? In my case, I need to change the URL from:
http://jamba/testapp/definitions/20060201%20gmet%20service.txt
to
http://ja
> From: Xin Herbert Wu [mailto:[EMAIL PROTECTED]
> Subject: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5
> webapp: context path prepend ?
>
> What's the proper way to configure apache and/or mod_jk so
> that both (1) and (2) are valid ways to access the given webapp?
The easiest way is ju
Hi, All,
I am new to Apache2.0/Jboss4.0.3-Tomcat5.5 integration. After looking over
apache/tomcat docs, I am still stuck with this problem:
(1) Assume I have a web app called mywebapp.war and I deployed it to the
jboss server(http1.1 connector listens on port 8080). I can access this web
app with
only one server should have (watchEnabled="true"), this is the location
where you deploy all your files.
if you enable it on all servers, then just be careful so that you don't
deploy the same file in two locations and end up with a deployment
collission.
tempDir="/tmp/war-temp/" --> The direc
Vahid Hedayati wrote:
Nah no good
I added in 3 lines after trying the first one and none of it does anything
different as in it still keeps changing session ID's :(
worker.balancer.sticky_session=true
This is by default.
worker.worker1.balancer.sticky_session=true
worker.worker2.balancer.st
Nah no good
I added in 3 lines after trying the first one and none of it does anything
different as in it still keeps changing session ID's :(
grep balancer /etc/apache2/workers.properties
worker.balancer.sticky_session=true
worker.worker1.balancer.sticky_session=true
worker.worker2.balancer.stic
Thank you so much for coming back to this! I just
fixed this and I was coming back here to report my
goof.
If you notice, in the command line that I used
> ant -v jspc -Dtomcat.home=C:/Dola/tomcat
> -Dwebapp.path=C:/Dola/tomcat/webbapps/projecta
the word "webbapps" is misspelled.
Now the error
Hello list,
I've managed to get a test cluster working. ATM all cluster members have their
own copy of deployed servlets and jsp pages. as well as the apache httpd
frontend that contains an unpacked copy of the war file for static file
serving.
The current config is awkward to maintain but appar
Yes thank you I am trying to work with this one right now. We have a
valve that generates a log file with the necessary information. I didn't
know if there were other ones that might have some more reports. Our
company used to use Web Trends, but it got too expensive so we are
looking for a replace
In workers.properties
If you do use a balancer in workers.properties, there is an option to
set "sticky" session when the balancer routes request to/from a worker.
#
worker.balancer.sticky_session=true | false
Not sure if the option can be use for regular workers as well, but might
worth a try.
Hi
Yep i know these was all for the purpose of testing
Now that all virtual hosts are under 1 engine both sites shows the correct
servlets but both still keep changing session ID the PersistentManager has
been off for a long time too..
http://www.greenlightproductions.co.uk/servlets/SessionExam
Hi Vahid,
there some things in your configuration, which are at least problematic, maybe
even faulty:
- One would be quite enough and your config would be much simpler
simply put your 2 hosts into it
- The
could also create problems if configured incorrectly.
Try simply removing it,
hi Markus,
1)The page is displayed if i access it via
http://172.25.16.2:localhost:8080/els but cannot when i use
https://172.25.16.2:localhost:8070/els.
2) the default page is the login(start) page of the application deployed in
webapps.But i am not able to access the Tomcat s main page al
Is it possible to remove the line that includes the date/time that appears in
the localhost- log file?
This information is written every other line, and in our software, it just
gets in the way. Here is an example of the line I am referring to:
Mar 21, 2006 3:08:08 AM org.apache.catalina.core.A
anil abraham wrote:
> I have made the changes to the server.xml.(secure="true" and
> scheme="https") but still
> the default web page is not displayed. When i use the same server.xml
> config under windows tomcat installation i am able to access the deployed
> application and tomcat
Use
http://java.sun.com/dtd/web-app_2_3.dtd";>
This header is mandatory in j2ee specs for servlets 2.3.
Pham Anh Tuan a écrit :
>hi all,
>
>I have a trouble in setting web-app_2_3.dtd for running on local, don't
>connect to internet, I use Tomcat 5.5.9 I did like below:
>
>I lay web-app_2_3.dt
The servlet context is not replicated, but it will be in near future
with the new clustering engine that we are putting in.
If you want to jump start that, you can build Apache Tribes (the new
tomcat clustering engine) (svn location:
tc5.5.x/container/modules/groupcom),
its got a couple of diffe
George Azzopardi ha scritto:
What do you mean by context-relative URLs?
Usually, I use relative paths (../page1.jsp) for example. I confirmed that
both applications do not have any page with the same filename.
(a) Are you forwarding to a JSP page from a servlet?
(b) Or redirecting?
(c) Or is
anil abraham wrote:
> hi Markus,
> 1)The page is displayed if i access it via
> http://172.25.16.2:localhost:8080/els but cannot when i use
> https://172.25.16.2:localhost:8070/els.
These are not really the URLs you use, are they?
So, chances are, the HTTPS configuration of the Connector did some
What do you mean by context-relative URLs?
Usually, I use relative paths (../page1.jsp) for example. I confirmed that
both applications do not have any page with the same filename.
Thanks
Regards,
George Azzopardi
You might consider also AWStats: http://awstats.sourceforge.net/
I use it in an Apache+Tomcat application, is pretty good.
Cheers,
Ovidiu
Steele, Aaron wrote:
Yes thank you I am trying to work with this one right now. We have a
valve that generates a log file with the necessary information.
Hello,
I'm running a 4 node cluster of 5.5.15. The session replication works ok.
I am looking for a distributed way of sharing global data (non-session) between
the nodes.
Is the ServletContext clustered? Is there another good clustering method for
global data in my application?
If the Servlet
We faced the same thing about six months ago & chose to do Urchin over
webalizer. It's not free, but it did everything we wanted it to...now
owned by Google. www.urchin.com
> -Original Message-
> From: Steele, Aaron [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 21, 2006 9:27 AM
> To
hi all,
I have a trouble in setting web-app_2_3.dtd for running on local, don't connect
to internet, I use Tomcat 5.5.9 I did like below:
I lay web-app_2_3.dtd in WEB-INF
I set in web.xml:
but when I run my web app, error occurs :
Unable to initialize TldLocationsCache: XML parsing error
ok
this is where it starts to get bizzare...
http://www.greenlightproductions.co.uk/servlets/SessionExample
This now works (as in it is keeping the same session ID )
but it is showing the wrong servlets folder (as in for wrong virtual host
and showing the tomcatid of that virtual host)
Since b
Pham Anh Tuan wrote:
> I have a trouble in setting web-app_2_3.dtd for running on local, don't
> connect to internet, I use Tomcat 5.5.9 I did like below:
>
> I lay web-app_2_3.dtd in WEB-INF
>
> I set in web.xml:
>
>
> but when I run my web app, error occurs :
>
> Unable to initialize TldLocation
Hi Markus,
I have made the changes to the server.xml.(secure="true" and
scheme="https") but still
the default web page is not displayed. When i use the same server.xml
config under windows tomcat installation i am able to access the deployed
application and tomcat on port 8443 an
Ronald Klop wrote:
> Please explain your problem better. I don't understand it.
There is some kind of corruption in the official Tomcat 5.5.16 .exe
distribution. The developers are aware of this and Chuck Caldarale has filed
a bug report wrt this issue.
AFAIK the .zip distribution is OK.
Regard
Please explain your problem better. I don't understand it.
On Mon Mar 20 07:08:31 CET 2006 Tomcat Users List
wrote:
I have confirmed this error on a clean XP install (completely virgin,
nothing but up to date patches installed) with clean JDK 1.5_06 setup.
The installer ID'ed the JRE correc
Isn't this the difference between daemon-threads and non-daemon-threads?
The JVM waits on exit until all non-daemon-threads are finished (or was is for
daemon-threads, see the docs).
Ronald.
On Mon Mar 20 08:37:52 CET 2006 Tomcat Users List
wrote:
Hello,
I had the same question in my mi
George Azzopardi ha scritto:
Hi people,
I have two separate web applications, appA and appB, running on Tomcat. The
problem is that sometimes appA loads a page of appB instead of the actual
page.
Do you have any ideas?
It is nearly impossible if you use context-relative URLs (maybe using
anil abraham wrote:
> I have been trying to configure SSL on Tomcat 5.0.28 on IBM AIX5.2 OS on
> port
> 8070 .(I also tried with port 8443 but i dont get the tomcat default web
> page even though
> catalina.out shows Tomcat and my deployed application as started.).
> After making changes to confi
Hi people,
I have two separate web applications, appA and appB, running on Tomcat. The
problem is that sometimes appA loads a page of appB instead of the actual
page.
Do you have any ideas?
Regards,
George Azzopardi
*** Internet Email Notice ***
The i
Hi,
I have been trying to configure SSL on Tomcat 5.0.28 on IBM AIX5.2 OS on
port
8070 .(I also tried with port 8443 but i dont get the tomcat default web
page even though
catalina.out shows Tomcat and my deployed application as started.).
After making changes to configure SSL on AIX my serv
try
http://manageengine.adventnet.com/products/applications_manager/
On 3/20/06, Wick, Daniel <[EMAIL PROTECTED]> wrote:
>
> Did you try webalizer?
> http://www.mrunix.net/webalizer/
>
>
> > -Original Message-
> > From: Steele, Aaron [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 20, 2
Hello
I think that your problem is with Eclipse and not with Tomcat
How have you configured Tomcat in Eclipse
(Windows=>Preferences=>Tomcat=>Advanced Parameters=>Tomcat Base )?
sorry for the path under Eclipse : i try to translate my Eclipse which is in
french ;-)
I am using JNDI data source with
Hi,
please check your browser. I think you have cookies disabled for any reason.
(or cookies are disabled in your tomcat app)
yould check with ethereal or try using cookie-less mode with
response.encodeURL(hyperlink)
hope this helps
R.
Am Freitag, 17. März 2006 13:35 schrieb Vahid Hedayati:
>
Hi,
On 3/20/06, David Kerber <[EMAIL PROTECTED]> wrote:
> Caldarale, Charles R wrote:
>
> >>From: David Kerber [mailto:[EMAIL PROTECTED]
> >>Subject: Re: [OT] How does Synchronized code interact with
> >>other applications
> >>
> >>Ok. So if I were to port the Delphi app to java and run it
> >>as
Has anyone done this yet, I have a client that has an application that
requires tomcat 5.5 to run on their Cobalt RAQ4r
can anyone help me.
Tony Iversen
[EMAIL PROTECTED]
951.541.2685
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
69 matches
Mail list logo