- Original Message -
From: "Scott Dunbar" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, September 30, 2008 10:22 PM
Subject: Dynamically adding a resource to a context
Hi all,
I'm honestly not positive that what I want to do is a good idea but the
basic concept is that I want to dynamical
John5342 wrote:
> I am pretty sure there are jsp features to do this but if not it would be
> quite simple to create a new tag that checks the locale of the request and
> adjust the time returned to reflect the locale. Then just use that tag
> anywhere the time is needed.
>
Thanks John
It's what
Caldarale, Charles R wrote:
>> From: John Gardner [mailto:[EMAIL PROTECTED]
>> Subject: Multiple Time Zones on one Tomcat instance?
>>
>> Is there any way we can serve mutliple webapps from a single Tomcat
>> instance, with mutliple timezones?
>
> Tomcat itself doesn't care about time zones, and a
2008/9/30 Bai Shen <[EMAIL PROTECTED]>:
> Okay, if I keep this up I'll be able to fit both feet in my mouth.
>
> Apparently setclasspath.bat does see the variables set in setenv.bat It was
> my troubleshooting method that was faulty.
>
> Basically, the problem boils down to the fact that right aft
How did you install your PHP 5.2.6?
Following the instructions from that "blog.taragana.com" page that
you mentioned, I should have found php5servlet.dll and phpsrvlt.jar
in pecl-5.2.6-Win32.zip.
Those files were there in 5.0.2, but they are absent in 5.2.6.
Also, I cannot find the sources for t
Thanks guys.
That is not what I understand when I read the manual, but I guess it
is what it is :-)
Erwin
On Sep 30, 2008, at 6:40 AM, Mark Thomas wrote:
André Warnier wrote:
Mark Thomas wrote:
Erwin Hogeweg wrote:
Hi,
I am trying to re-deploy a war file on a RHES 5.2/Tomcat 6.0.16
> From: Maurizio Lotauro
> [mailto:[EMAIL PROTECTED]
> Subject: Authentication behaviour
>
> The server answers with 401 before it has received the
> whole content send from client. In fact it seems that
> the answer become right after the server has received
> the http header.
Looks proper to me
Hello,
I'm writing an http client application. When on the server Tomcat is configured
to require an
authentication (basic) my client raise a strange error. If authentication is
disabled then it
works fine.
I analyzed the communication using WireShark and I noticed a strange behaviour.
The
s
Dear all,
I am experiencing a weird problem happening between IIS and Tomcat: it seems
that the JK connector is hanging IIS.
A badly behaving Tomcat app is filling up AJP connections due to some DB
connection problems. Nothing strange so far, we had these kinds of problems
already, but this tim
Mohit Anchlia wrote:
> But if I do it in ROOT.war then how would it be forwarded to B.war?
Can you make B.war ROOT.war? If not, this isn't going to work and you are
going to have to use a redirect.
Mark
>
> On Tue, Sep 30, 2008 at 1:52 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
>> Ken Bowen wro
But if I do it in ROOT.war then how would it be forwarded to B.war?
On Tue, Sep 30, 2008 at 1:52 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Ken Bowen wrote:
>> Yes. I assumed you were putting the rewrite in A.war.
>
> Since A.war probably doesn't exist, you should put it in ROOT.war which
> han
Hi,
I know this problem was raised million times but so far I haven't found
any good solution for that.
Basically the problem is: how can webAppA share the session object with
webAppB. Both apps are deployed within the same instance of Tomact.
A simple example of how I want it to work is:
Ken Bowen wrote:
> Yes. I assumed you were putting the rewrite in A.war.
Since A.war probably doesn't exist, you should put it in ROOT.war which
handles all requests that don't match any other context.
Mark
-
To start a new to
Yes. I assumed you were putting the rewrite in A.war.
On Sep 30, 2008, at 3:41 PM, Mohit Anchlia wrote:
So does it mean even if the URL is abc/a it will still be routed to
the abc/b servlet even though Urlrewrite.xml rule is inside B.war. I
am confused in the sense that for tomcat to know if i
Hi all,
I'm honestly not positive that what I want to do is a good idea but the
basic concept is that I want to dynamically add a Resource (a JNDI JDBC
DataSource) to a Context. The idea is that I will be dynamically
creating databases for new users and want to have a database connection
pool
We are happy to announce the public availability of Mobicents Sip
Servlets v0.6 !
Mobicents Sip Servlets extends Tomcat to provide converged SIP
capabilities as defined per Sip Servlets 1.1 specification.
The Mobicents Team (http://www.mobicents.org) would like to give
special thanks to the Tomca
Stephen Nelson-Smith wrote:
> On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith
> <[EMAIL PROTECTED]> wrote:
>
>> Testing:
>>
>> * Submitting straight to one of the new tomcat 6.0.16 machines, over
>> http, works without fail - the XML is parsed.
>
> Ok so now it transpires that actually
Hi
> The method yielding the problem is the following one:
>
> private static PageLifecycleFactory getDefaultInstance()
>{
> if (defaultInstance == null)
> {
> defaultInstance = new DefaultStrutsPageLifecycleFactory();
> }
>
> return defaultInstance;
>
On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith
<[EMAIL PROTECTED]> wrote:
> Testing:
>
> * Submitting straight to one of the new tomcat 6.0.16 machines, over
> http, works without fail - the XML is parsed.
Ok so now it transpires that actually direct http to Tomcat never
worked more th
So does it mean even if the URL is abc/a it will still be routed to
the abc/b servlet even though Urlrewrite.xml rule is inside B.war. I
am confused in the sense that for tomcat to know if it has to route
that request to abc/b wouldn't the URLrewrite need to occur somewhere
outside of B.war?
On Tu
Hi
> Good afternoon. My company, Centocor, is in the process of upgrading its
> operating System from Windows 2000 to XP/Vista and its Office 2000 to
> Office 2007. They have installed on, I'm not sure how many, some computers
> Apache Tomcat, version 5.5. Please answer the following questions
I have an application that parses xml. I send it xml using another
little app, which makes an http post. The averge size of a post is
about 3000 characters. Here is the significant information:
* I have a system which is being replaced, which consists of RHEL3,
httpd 2.0, mod_jk and Tomcat 6.0.
I am pretty sure there are jsp features to do this but if not it would be
quite simple to create a new tag that checks the locale of the request and
adjust the time returned to reflect the locale. Then just use that tag
anywhere the time is needed.
2008/9/30 Caldarale, Charles R <[EMAIL PROTECTED]
Below...
On Sep 30, 2008, at 1:58 PM, Mohit Anchlia wrote:
I think I don't really understand how it works. So if my request
abc.com/a doesn't even get to B.war i.e abc.com/b then how would
having filters in web.xml help.
request abc.com/a "doesn't get to B.war" BECAUSE it is changed to
abc.
I think I don't really understand how it works. So if my request
abc.com/a doesn't even get to B.war i.e abc.com/b then how would
having filters in web.xml help.
Also, is adding just not enough? Why do we also need to add a filter.
On Tue, Sep 30, 2008 at 10:48 AM, Ken Bowen <[EMAIL PROTECTED]>
Frank Uccello wrote:
Tomcat redirector for iss not working
I can http://localhost:8080/app/servlet but not
http://localhost/app/servlet -- error page could not be found
I have no errors in the event viewer or tomcat logs
Is /app included in the uriworkermap.properties.
Also in the redirec
Okay, if I keep this up I'll be able to fit both feet in my mouth.
Apparently setclasspath.bat does see the variables set in setenv.bat It was
my troubleshooting method that was faulty.
Basically, the problem boils down to the fact that right after
setclasspath.bat is call, there's the following
Something like the following might be helpful for your web.xml:
UrlRewriteFilter
org.tuckey.web.filters.urlrewrite.UrlRewriteFilterfilter-class>
UrlRewriteFilter
/*
FORWARD
REQUEST
If you uncomment the "init-param" items above, youll get debug output.
And
Okay, I feel silly now. I jus realized that XP returns Windows_NT from the
OS variable. And my Tomcat install works fine in XP. So it's apparently
something besides the setlocal. Which leaves me back at square one. :(
Any suggestions?
On Tue, Sep 30, 2008 at 1:10 PM, Bai Shen <[EMAIL PROTECT
I am using Tomcat 5.5 and I need to change the URL for eg: abc.com/A
to abc.com/B. I read about UrlRewrite at tuckey.org as suggested by
this user group. So as I understand I need to do
the following:
1. In my servlet B.war file I need to edit web.xml and add the
following at the top:
- Original Message -
From: "Johnny Kewl" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, September 30, 2008 6:56 PM
Subject: Re: Tomcat outputs php to stderr
- Original Message -
From: "Serge Fonville" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday,
I use setenv.bat to point tomcat to my JRE and set some other options.
However, when running on an OS that returns Windows_NT from the OS
environment variable, Tomcat sets all of the batch files to setlocal.
Therefore, when setclasspath.bat is run, it doesn't see any of the variables
that were set
- Original Message -
From: "Serge Fonville" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, September 30, 2008 1:08 PM
Subject: Re: Tomcat outputs php to stderr
Thank you so far, I will definitely look into Quercus.
Still, I would like to understand why output is sent to
> From: John Gardner [mailto:[EMAIL PROTECTED]
> Subject: Multiple Time Zones on one Tomcat instance?
>
> Is there any way we can serve mutliple webapps from a single Tomcat
> instance, with mutliple timezones?
Tomcat itself doesn't care about time zones, and a single JVM instance will
only use o
Frank Uccello wrote:
Tomcat redirector for iss not working
That is quite unlikely, because there must be at least 10,000
installations out there where it is working.
I can http://localhost:8080/app/servlet but not
http://localhost/app/servlet -- error page could not be found
So, the proble
Mohit Anchlia wrote:
> That's just for the logging from my application.
You'll need to set the log level for your application loggers as well.
org.apache.catalina.core.ContainerBase.[Catalina].[localhost] is the logger
that catches any exceptions etc that your application doesn't.
Mark
---
We currently have two webapps located on a single instance of Tomcat
5.5.25 for one of our International customers. The host OS is set as
GMT, and they are happy about this as users access the site from all
over the world. However, they want us to host another webapp
specifically for French users
Is there a way to dynamically change the logging level of log4j.xml in tomcat?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That's just for the logging from my application.
On Tue, Sep 30, 2008 at 8:57 AM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Mohit Anchlia wrote:
>> Tomcat version is 5.5 and I changed
> That helps a little, but there are 28 different Tomcat 5.5 versions.
> http://tomcat.apache.org/tomcat-5.5-doc/lo
Hi,
Just a thought, but you might want to check the permissions on the jar
files. I've gotten errors like that when I lacked permission to read.
Regards,
Dave
On Sep 30, 2008, at 6:54 AM, AlexM3 wrote:
Hello,
Firt of all thanks for your fast answer.
- My Java versión is jdk1.5.0_06, it'
Tomcat redirector for iss not working
I can http://localhost:8080/app/servlet but not
http://localhost/app/servlet -- error page could not be found
I have no errors in the event viewer or tomcat logs
Thanks
Frank
Mohit Anchlia wrote:
> Tomcat version is 5.5 and I changed
That helps a little, but there are 28 different Tomcat 5.5 versions.
http://tomcat.apache.org/tomcat-5.5-doc/logging.html should help
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level to
> ALL
That won't show you any in
Quoting AlexM3 <[EMAIL PROTECTED]>:
Hello,
Here is the result of a find in the tomcat5.5 directory
#> find /usr/local/tomcat5.5_svh/ -name "*mail*"
/usr/local/tomcat5.5_svh/common/lib/mail.jar
#>
Is there any path that Tomcat could be loading?
Check for smtp.jar too (i don't know if you use
- Original Message -
From: "AlexM3" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, September 30, 2008 12:53 PM
Subject: Tomcat migration from T5 to T5.5 mail
Hello,
I'm migrating a Tomcat Cluster, when I thought everything was working
fine,
session cluster, balancing,etc, I noticed that
Sorry the second error was obviosly without activation.jar, no mail.jar
again.
AlexM3 wrote:
>
> Hello,
>
> Here is the result of a find in the tomcat5.5 directory
> #> find /usr/local/tomcat5.5_svh/ -name "*mail*"
> /usr/local/tomcat5.5_svh/common/lib/mail.jar
> #>
>
> Is there any path that
I have installed tomcat and works localhost:8080
I have the redirector for IIS and it does not seem to do it.
The tomcat errors are as follows:
[174 javajni.c] [error] The specified module could not be found.
[[994 prunsrv.c] [error] Failed creating java C:\Program
Files\Java\jre1.6.0_07\bin
Tomcat version is 5.5 and I changed
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level to
ALL
On Tue, Sep 30, 2008 at 1:52 AM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Mohit Anchlia wrote:
>> Is it possible to rewrite URL in tomcat like apache web server. I need
>> to convert abc.
I have installed tomcat and works localhost:8080
I have the redirector for IIS and it does not seem to do it.
The tomcat errors are as follows:
[174 javajni.c] [error] The specified module could not be found.
[[994 prunsrv.c] [error] Failed creating java C:\Program
Files\Java\jre1.6.0_07\bin\
Hello,
Here is the result of a find in the tomcat5.5 directory
#> find /usr/local/tomcat5.5_svh/ -name "*mail*"
/usr/local/tomcat5.5_svh/common/lib/mail.jar
#>
Is there any path that Tomcat could be loading?
If I move mail.jar out of $CATALINA_HOME it says the same:
javax.mail.NoSuchProviderExc
No idea. Use netstat to find out what port it is using and then talk to
your network support folks.
>> When the Tomcat server has started with the JMX agent attched to the
JVM( Which I suppose it does) , I did a netstat at the server machine and
nowhere I saw any entries with the port that I ment
[EMAIL PROTECTED] wrote:
Is "too much time" a configurable parameter and what constitutes a
normal request. Our application can take anything from 250ms to 2seconds
to return an reply. I am guessing that requests that takes 2 seconds
will probably be orphaned when the apache_httpd server is shut
>
> > Would the same hold true for requests that is currently being
> > processed by the tomcat. Would apache wait for the tomcat
> threads send
> > via modjk to complete before terminating them?
> >
>
> Nope. mod_jk has no clue about Tomcat's threads.
> Httpd will unload (any) mod_jk module
Any idea?
Your configuration all looks good. Which version of Tomcat are you running?
Are you sure there isn't another copy of mail.jar hanging around? What
happens if you remove the one you are using?
Mark
It sounds right, Mark.
Although i have said that it wasn't "double mail.jar error", it
Hi,
I have an application which parses XML. It sits behind an Apache
Httpd 2.2 server using mod_proxy_ajp. I am finding that if I POST
more than about 1600 chars, the POST gets truncated, and I get an XML
parse error.
Httpd logs show:
[Tue Sep 30 19:40:27 2008] [debug] mod_proxy_ajp.c(206): pr
AlexM3 wrote:
> Hello,
>
> Firt of all thanks for your fast answer.
>
> - My Java versión is jdk1.5.0_06, it's the same that is using the old Tomcat
> 5 and it works. Anyway I've tried to remove aplication.jar and an error asks
> for him.
You'll need that file, it is only included in 1.6 JDKs
>
[EMAIL PROTECTED] wrote:
> Have a look at this thread:
> http://markmail.org/message/r4lwb4ipa6ssaawy
>
> The second port is probably blocked by a firewall.
>>> I am not a system guy and have no idea about firewalls..It is a default
> Windows 2003 Server set up .So I am assuming that whatever is
Have a look at this thread:
http://markmail.org/message/r4lwb4ipa6ssaawy
The second port is probably blocked by a firewall.
>> I am not a system guy and have no idea about firewalls..It is a default
Windows 2003 Server set up .So I am assuming that whatever is there is
there by default and no fu
Hello,
Firt of all thanks for your fast answer.
- My Java versión is jdk1.5.0_06, it's the same that is using the old Tomcat
5 and it works. Anyway I've tried to remove aplication.jar and an error asks
for him.
- I've tested my linux system "mail" function and it works, the aplication
deployed
Martin,
3) If the software is not independent of Office 2007, is it
compatible
with it? If not, what is the compatible version and what are the
costs
involved in upgrading?
MG>the way TC handles Microsoft Compound Documents such as XLS and
DOC files are thru POI Apache interface
MG>http:/
AlexM3 wrote:
> Hello,
>
> I'm migrating a Tomcat Cluster, when I thought everything was working fine,
> session cluster, balancing,etc, I noticed that the mails were not send by
> the java aplication.
>
> I installed the library mail.jar and activation.jar and configured the
> web.xml and the c
I've written this step by step recipe, tested with my tomcat 5.5. You
could follow up these instructions and mail sending should work.
http://haveacafe.wordpress.com/2008/09/26/113/
Otherwise, can you post your context.xml ?
Btw, according SUN's informations, activation.jar is part of the jdk
Thank you so far, I will definitely look into Quercus.
Still, I would like to understand why output is sent to stderr and if it can
be solved (I recall running PHP and tomcat in the past) without problems
On Tue, Sep 30, 2008 at 12:04 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
> - Origina
[EMAIL PROTECTED] wrote:
> Guys,
>I am facing problem in running Jconsole remotely . In my
> machine from where I am running Jconsole I have jdk1.6...I am trying to
> connect to TOmcat6.0.18 running on a windows 2003 server machine(with JDK
> 1,5) ...I have a batch file with the foll
Hello,
I'm migrating a Tomcat Cluster, when I thought everything was working fine,
session cluster, balancing,etc, I noticed that the mails were not send by
the java aplication.
I installed the library mail.jar and activation.jar and configured the
web.xml and the context.xml as the Official To
Guys,
I am facing problem in running Jconsole remotely . In my
machine from where I am running Jconsole I have jdk1.6...I am trying to
connect to TOmcat6.0.18 running on a windows 2003 server machine(with JDK
1,5) ...I have a batch file with the following contents : When I execute
th
[EMAIL PROTECTED] wrote:
I was under the impression that when apache is orderly shutdown it will
finish processing existing requests not excepting new ones and exit when
having done so.
This is correct.
Would the same hold true for requests that is currently
being processed by the tomcat. Wo
André Warnier wrote:
> Mark Thomas wrote:
>> Erwin Hogeweg wrote:
>>> Hi,
>>>
>>> I am trying to re-deploy a war file on a RHES 5.2/Tomcat 6.0.16 server,
>>> but the war file does not expand when Tomcat is restarted.
>>>
>>> I have set the host variable deployOnStartup to "true", but even though
>>
Hi
I am trying to understand the behavior of our application stack during
an apache shutdown. This question might not a 100% to this list but is a
good place to start.
I am trying to understand what the behaviour would be when I shutdown an
apache that is connected via modjk to a cluster of tomcat
Mark Thomas wrote:
Erwin Hogeweg wrote:
Hi,
I am trying to re-deploy a war file on a RHES 5.2/Tomcat 6.0.16 server,
but the war file does not expand when Tomcat is restarted.
I have set the host variable deployOnStartup to "true", but even though
the war file has a newer timestamp that the dep
Sorry,
forgot to translate a couple of lines of the stack trace:
2008-09-29 17:57:12 StandardWrapperValve[action]: Excepción de reserva
de espacio para servlet action
means
2008-09-29 17:57:12 StandardWrapperValve[action]: Exception in memory
space reserve for servlet action
javax.servlet.Se
Mohit Anchlia wrote:
> Is it possible to rewrite URL in tomcat like apache web server. I need
> to convert abc.com/A to abc.com/B.
http://tuckey.org/urlrewrite/
> Also catalina.out is just writing infomation at level INFO. I changed
> the level to ALL in logging.properties but still I don't see D
Erwin Hogeweg wrote:
> Hi,
>
> I am trying to re-deploy a war file on a RHES 5.2/Tomcat 6.0.16 server,
> but the war file does not expand when Tomcat is restarted.
>
> I have set the host variable deployOnStartup to "true", but even though
> the war file has a newer timestamp that the deployed fo
72 matches
Mail list logo