I am using Tomcat6 but i could not find any thing to put in Connector
configuration of tomcat file. Can you please help?
- When i said "working fine" .. i meant that JSP pages are viewable if i
browse at 8009 (the path i mentioned earlier) but if i don't mention the
port then it's not working (jsp
Hi guys,
In my webap I am using a library that depends on datasources being
mapped to:
java:MyDS and not java:comp/env/jdbc/MyDS
When I define datasources in Tomcat, they end in java:comp/env.
What can I do to remap the datasources - make them available as
java:MyDS?
One of the strategies would
Hi ,
When I update my code for embedding tomcat 5.x to embedding 6.x, a null
pointer exception blocks me .
I dug the code , I found it cause by the
org.apache.catalina.connector.MapperListener difference :
Tomcat5.x
---
/**
* Register host.
*/
private void regist
Thanks for the info
turns out one instance belonged to the other when shown in parent/child
relationship.
fyi I am going to post my findings in the thread called "Logging of memory /
thread activity" instead of keeping two around :)
lucas
On Mon, Jul 13, 2009 at 3:14 PM, Christopher Schultz <
c
> From: uma...@comcast.net [mailto:uma...@comcast.net]
> Subject: Include directories outside WEB-INF/ in CLASSPATH?
>
> I am using Tomcat 6.0.14.
>
> Is there a way to include a directory outside WEB-INF/ into
> the classpath of the WebappClassLoader?
I just realized you been asking the same qu
> From: uma...@comcast.net [mailto:uma...@comcast.net]
> Subject: Include directories outside WEB-INF/ in CLASSPATH?
>
> I am using Tomcat 6.0.14.
You should move up, just on general principles - as well as for the bunch of
fixes that have gone in over the last two years.
> Is there a way to in
Thanks a lot. This is very useful information. I will soon post my complete
config.
Thanks,
Madhuri
--- On Tue, 7/14/09, Rainer Jung wrote:
> From: Rainer Jung
> Subject: Re: reply timeout, connect_timeout and preprost_timeout values
> To: "Tomcat Users List"
> Date: Tuesday, July 14, 2009,
> Again, wrong. allowLinking applies to any web-app resources. Only internal
> Tomcat file access (bin, lib, logs etc) goes directly to the file system.
And for what it's worth, allowLinking appears to have fixed it :)
It manifested itself really silently and I didn't see anything about it in
Web
Hello
have you found any solution for this problem, because we are facing exactly
with the same problem?
For every user with small group membership the redirector works fine but for
heavy users not. We got http 413 in IIS log. If we use Jakarta 2.x then we
step a little bit further because we go
I am using Tomcat 6.0.14.
Is there a way to include a directory outside WEB-INF/ into
the classpath of the WebappClassLoader?
Specifically, I am trying to load a certain resource which is
located outside WEB-INF/ via WebappClassLoader.
Is it possible to accomplish this using symlinks?
Tx,
/U
Christopher Schultz wrote:
> Konstantin,
>
> On 7/13/2009 10:06 PM, Konstantin Kolinko wrote:
>> See how allowLinking and caseSensitive options are implemented in
>> StandardContext.
>
> They are not implemented in StandardContext: they are implemented in
> FileDirContext and therefore should onl
I found the cause of the issue. A call was being made to a jsp that opened a
connection to another application sitting on the same server (via orbd.exe).
This jsp is being called approx 10 times a second (as it is a monitor jsp) and
the majority of requests are being served but on occasion it w
Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Neil,
>
> Just a few comments on your connection acquisition code:
>
> On 7/14/2009 12:45 PM, Neil Youngman wrote:
>> private static final String CONTEXT_NAME = "java:/comp/env";
>> private static final String
On 14.07.2009 10:41, Madhuri Patwardhan wrote:
> As I was reading the timeout howto once again, one question came to
> my mind. What is the difference between socket_timeout and
> socket_connect_timeout? socket_timeout is used for TCP send/receive
> timeouts. Does socket_connect_timeout indicate fa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yves,
On 7/14/2009 2:33 PM, Yves Glodt wrote:
> The reason I wanted to manipulate one HttpSession from another is
> since in this case, I have an external entity (and thus in another
> HttpSession) making a POST request to my servlet, posting informa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neil,
Just a few comments on your connection acquisition code:
On 7/14/2009 12:45 PM, Neil Youngman wrote:
> private static final String CONTEXT_NAME = "java:/comp/env";
> private static final String DB_NAME = "jdbc/AppDatabase";
If you have
2009/7/13 Christopher Schultz :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Daniel,
>
> On 7/13/2009 12:16 PM, Daniel Henrique Alves Lima wrote:
>> I don't know if you can/should change other HttpSession directly.
>
> You might be able to on an older servlet container, but this port
On 14/7/09 16:59, Achal Patel wrote:
Thanks for the inputs.
We hv traced this problem to a bug with Tomcat server.
Have you filed a bug report? I'd be curious to see both the bug and
your solution. You can file a patch along with the bug.
https://issues.apache.org/bugzilla/
p
Basical
Caldarale, Charles R wrote:
>> From: Neil Youngman [mailto:neil.young...@wirefast.com]
>> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
>> URL 'null'
>>
>> private static final String DB_NAME = "jdbc/InterceptDatabase";
>
> But your has:
>
>
--
> From: Neil Youngman [mailto:neil.young...@wirefast.com]
> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
> URL 'null'
>
> private static final String DB_NAME = "jdbc/InterceptDatabase";
But your has:
Christopher Schultz wrote:
>> Either way, it's
>> typically a disconnect between the and it's use in the
>> jsp/servlet code.
>
> He didn't post his code. It would be good to see what is on line 208 in
> com.wirefast.wsam.service.WMSSubmissionService.getConnection.
Oops. I meant to include that.
Thanks for the inputs.
We hv traced this problem to a bug with Tomcat server.
Basically the tomcat server is sending the response before the
context/session is set.
Since it is open source, we modified the code and that change has resolved
this 500 error.
The change we hv made is not the best poss
charliehnabble wrote:
Maybe it is connection:close
that makes Tomcat not send a chunk length. I don't know why Tomcat doesn't
put a content-length header in that case.
Now that I believe is normal. As I recall the HTTP RFC (2616?), that is
the only case where the server does not have t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 7/14/2009 11:29 AM, David Smith wrote:
> In the past, it's typically been caused by some misspell of the JNDI
> name between the element and the
> ... in the WEB-INF/web.xml.
I've never had to use a element in web.xml for a
defined in M
Sigh,
Actually - there was no problem.
The line
boolean exist = (null == ds);
should have been
boolean exist = (null != ds);
Silly me.
Sorry guys.
Kind regards:
al_shopov
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alee,
On 7/14/2009 10:44 AM, alee amin wrote:
> I am trying to configuring apache webserver with tomcat using AJP but i am
> not sure am i doing it right or not.
[snip]
>
> ProxyPass / ajp://localhost:8009/
> ProxyPassMatch ^(/photos/.*\.jpg)$!
>
Caldarale, Charles R wrote:
>
>> From: charliehnabble [mailto:nab...@hand-family.org]
>> Subject: Re: chunked encoding
>>
>> Excuse me, by "packet" I meant IP datagram.
>
> Just a terminology nit: "datagram" normally refers to a UDP packet, and
> we're using TCP here.
>
>
http://en.wikipedi
awarnier wrote:
>
> Caldarale, Charles R wrote:
>>> From: charliehnabble [mailto:nab...@hand-family.org]
>>> Subject: Re: chunked encoding
>>>
>>> Excuse me, by "packet" I meant IP datagram.
>>
>> Just a terminology nit: "datagram" normally refers to a UDP packet, and
>> we're using TCP here.
>
In the past, it's typically been caused by some misspell of the JNDI
name between the element and the
... in the WEB-INF/web.xml. I'd have to go
back to the original post to tell if that's the case here or not.
Either that or the resource was declared as a global resource without
the requisite
It is still working sometime and sometime not.
Today itself out of 10 instance it worked in 7 instances when I run
application on Tomcat.
This is not possible currently to upgrade to 1.5
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> To whom it may concern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 7/14/2009 8:31 AM, Caldarale, Charles R wrote:
> The fact that the JDBC-ODBC bridge shows up in the stack trace says
> that your published config is not the one being used.
Actually, I think it's the driver registration that's failing. Sin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charlie,
On 7/14/2009 9:11 AM, charliehnabble wrote:
> See, there's a router in the
> path that splits my POST into two IP datagrams, one containing the http
> header and one contining the http payload (an xml message). It also adds
> a "connection:cl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 7/14/2009 3:15 AM, nitingautam wrote:
> I ran the program that Chris shown above following is the output:
> Provider: SUN version 1.42
I don't see anything about supported modes or padding. I have a 1.4.2
JVM lying around a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
On 7/14/2009 12:14 AM, Daniel Henrique Alves Lima wrote:
> On Mon, 2009-07-13 at 13:00 -0400, Christopher Schultz wrote:
>>> As
>>> Mikolaj Rydzewski said, you could perform a HTTP request using a
>>> different JSESSIONID cookie or a ;jsession
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 7/13/2009 10:06 PM, Konstantin Kolinko wrote:
> See how allowLinking and caseSensitive options are implemented in
> StandardContext.
They are not implemented in StandardContext: they are implemented in
FileDirContext and therefore shou
Caldarale, Charles R wrote:
From: charliehnabble [mailto:nab...@hand-family.org]
Subject: Re: chunked encoding
Excuse me, by "packet" I meant IP datagram.
Just a terminology nit: "datagram" normally refers to a UDP packet, and we're
using TCP here.
I'll add another nit: if the "router" is sm
I am trying to configuring apache webserver with tomcat using AJP but i am
not sure am i doing it right or not.
Here are the steps that i followed
- Enabled required module in httpd.conf file
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module
modules/mod_proxy_ajp.so
- Ad
> From: Rainer Frey [mailto:rainer.f...@inxmail.de]
> Subject: Re: [ERROR] Cannot create JDBC driver of class '' for connect
> URL 'null'
>
> > Tomcat won't create the [engine]/[host] directory until it
> > needs to, such as when copying a element from a
> > META-INF/context.xml file.
>
> Has
> From: Mark Shifman [mailto:mark.shif...@yale.edu]
> Subject: Re: [ERROR] Cannot create JDBC driver of class '' for connect
> URL'null'
>
> My tomcat6/lib contains tomcat-dbcp.jar and I don't have
> commons-dbcp-1.1.jar in my webapp at all.
The OP is attempting to use his own DBCP pooling facto
I wonder if somehow the factory classes are confused.
My tomcat6/lib contains tomcat-dbcp.jar and I don't have commons-dbcp-1.1.jar
in my webapp at all.
I also don't have a factory attribute in my resource definition since the right
one is picked up by default.
(I think this changed in tomcat6)
On Tuesday 14 July 2009 15:56:07 Caldarale, Charles R wrote:
> > From: Neil Youngman [mailto:neil.young...@wirefast.com]
> > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
> > URL 'null'
> >
> > As an experiment I removed the WSAM directory and several restarts have
> > not
> From: Neil Youngman [mailto:neil.young...@wirefast.com]
> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
> URL 'null'
>
> As an experiment I removed the WSAM directory and several restarts have
> not recreated it.
Tomcat won't create the [engine]/[host] directory until i
Caldarale, Charles R wrote:
>> From: Neil Youngman [mailto:neil.young...@wirefast.com]
>> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
>> URL 'null'
>>
>> I should have realised that WSAM is the engine name from server.xml
>
> So what's under the WSAM directory?
There was
Rainer Frey (Inxmail GmbH) wrote:
> On Tuesday 14 July 2009 10:42:19 Neil Youngman wrote:
>> I'm having trouble getting Oracle access from Axis2 to work under
>> Tomcat 6. I've spent a lot of time Googling and prodding and poking
>> the application and I haven't found a solution that works for me.
> From: charliehnabble [mailto:nab...@hand-family.org]
> Subject: Re: chunked encoding
>
> Excuse me, by "packet" I meant IP datagram.
Just a terminology nit: "datagram" normally refers to a UDP packet, and we're
using TCP here.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHE
awarnier wrote:
>
> charliehnabble wrote:
>> What if I WANT chunked?
>>
>> I have a device that sends http POST header and xml request payload in
>> one
>> packet. Tomcat responds chunked. However when an intervening router
>> decides
>> to split the http POST header and xml request into two p
> From: Neil Youngman [mailto:neil.young...@wirefast.com]
> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
> URL 'null'
>
> I should have realised that WSAM is the engine name from server.xml
So what's under the WSAM directory?
- Chuck
THIS COMMUNICATION MAY CONTAIN CO
On Tuesday 14 July 2009 10:42:19 Neil Youngman wrote:
> I'm having trouble getting Oracle access from Axis2 to work under
> Tomcat 6. I've spent a lot of time Googling and prodding and poking
> the application and I haven't found a solution that works for me.
>
> Oddly the configuration I'm using s
Rainer Frey wrote:
> Maybe 'WSAM' is the engine name. Maybe the OP should post his complete
> server.xml.
Rainer is of course right. I should have realised that WSAM is the engine name
from server.xml
The server.xml is quite simple.
$ cat /home/tomcat6/wsam/conf/server.xml
On Tuesday 14 July 2009 14:31:06 Caldarale, Charles R wrote:
> > From: Neil Youngman [mailto:neil.young...@wirefast.com]
> > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
> > URL 'null'
> >
> > That's $CATALINA_BASE/conf, not $CATALINA_HOME/conf
>
> Regardless, the lack of
Caldarale, Charles R wrote:
>> From: Neil Youngman [mailto:neil.young...@wirefast.com]
>> That's $CATALINA_BASE/conf, not $CATALINA_HOME/conf
>
> Regardless, the lack of an [engine] subdirectory is an indication that you
> may not be running Tomcat from where you think you are.
>
> 1) What's in $C
> From: Александър Шопов [mailto:a...@contact.bg]
> Subject: Problems with data sources
>
>
The path attribute is illegal - remove it. (That's not the cause of the
problem, however.)
Make sure you don't have another element in
conf/Catalina/[host]/[appName].xml - that will override the one
> From: Neil Youngman [mailto:neil.young...@wirefast.com]
> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
> URL 'null'
>
> That's $CATALINA_BASE/conf, not $CATALINA_HOME/conf
Regardless, the lack of an [engine] subdirectory is an indication that you may
not be running To
I don't see anything immediately. The driver is in the right place,
you've not made any errors in character case that I can see. Is there
anything in your logs from the either the moment your webapp deployed or
the moment you loaded your page?
--David
Александър Шопов wrote:
> Hi guys,
> After
Caldarale, Charles R wrote:
>> From: Neil Youngman [mailto:neil.young...@wirefast.com]
>> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
>> URL 'null'
>>
>> Using CATALINA_BASE: /home/tomcat6/wsam
>>
>> $ ls -l /home/tomcat6/wsam/conf/
>> total 28
>> -rw-r--r--1 tomcat
> From: Neil Youngman [mailto:neil.young...@wirefast.com]
> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect
> URL 'null'
>
> Using CATALINA_BASE: /home/tomcat6/wsam
>
> $ ls -l /home/tomcat6/wsam/conf/
> total 28
> -rw-r--r-- 1 tomcat6 tomcat6 426 Jul 10 13:45 s
> From: Rahman Akhlaqur [mailto:aki...@yahoo.co.uk]
> Subject: Re: Tomcat 5.5.23 keeps starting threads until OS runs out of
> memory
>
> I have some more info about the issue that I think is related. I found
> our Tomcat executable is also establishing a lot of TCP connections.
Tomcat isn't, you
I have some more info about the issue that I think is related. I found our
Tomcat executable is also establishing a lot of TCP connections. just doing a
simple netstat just after I start tomcat and comparing it to when thread count
for tomcat reaches 2000, I found a lot more lines like
TCP
Hi guys,
After reading
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
and
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
I am still trying to configure tomcat 6.0.20 to use datasources.
I could be doing something very wrong and silly but cannot realize wh
Konstantin Kolinko wrote:
> Look at $CATALINA_BASE/conf/Catalina/localhost/.xml
>
> That is a copy of your context.xml file that Tomcat creates when the
> app is deployed. This copy takes precedence over its original. Maybe
> your Resource isn't defined there.
I can't see any sign that tomcat is c
2009/7/14 Neil Youngman :
> I'm having trouble getting Oracle access from Axis2 to work under
> Tomcat 6. I've spent a lot of time Googling and prodding and poking
> the application and I haven't found a solution that works for me.
>
> Oddly the configuration I'm using seems to work for another
> a
> Perhaps you should try the Tomcat configuration method then:
>
> http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
Oddly enough, my configuration matches the Oracle example in that document, as
far as I can see, possibly because I've read that document half a dozen tim
On 14/7/09 09:42, Neil Youngman wrote:
I'm having trouble getting Oracle access from Axis2 to work under
Tomcat 6. I've spent a lot of time Googling and prodding and poking
the application and I haven't found a solution that works for me.
>
Oddly the configuration I'm using seems to work for an
I'm having trouble getting Oracle access from Axis2 to work under
Tomcat 6. I've spent a lot of time Googling and prodding and poking
the application and I haven't found a solution that works for me.
Oddly the configuration I'm using seems to work for another
application.
Let's start with the co
Thanks for the prompt reply.
Yes. I did read the following howto document on timeout and also the mail
thread http://www.mailinglistarchive.com/users@tomcat.apache.org/msg28345.html
After reading the timeout howto once again, many things are becoming clear.
Thanks for such a good document.
As
Hello,
Thanks for your answer.
I have finally found a solution to this problem.
In the Application pools in the advanced settings is an option
'Enable 32-Bit Applications' which was set to TRUE.
After disabling this option the IIS was able to load the dll.
The reason that the webapp was not fo
I ran the program that Chris shown above following is the output:
Provider: SUN version 1.42
===
provider properties:
Alg.Alias.AlgorithmParameters.1.2.840.10040.4.1=DSA
Alg.Alias.AlgorithmParameters.1.3.14.3.2.12=DSA
Alg.Alias.CertificateFactory.X509=X.509
Alg.Alias.Ke
67 matches
Mail list logo