Thank you Christ
For instance, I usually see "oracle.jdbc.driver.OracleDriver" instead of
what you have above.
It's as you stated above. But with Oracle 9i and onwards, the driver must be
oracle.jdbc.OracleDriver, anyways,
i am looking for a solution, and I am sure that i'll find one, thank you
Actually, it did look like that, the "\r\n" codes were removed for some reason
when I sent the email.
- Original Message
From: Bill Barker <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Friday, May 25, 2007 8:12:04 PM
Subject: Re: Erratic HTTP response behavior
"Christopher Schu
Hi.
I have a group of developers that are experiencing an intermitent problem with
some of the their JSP pages when concurrent users are using the application.
They have had a hard time reproducing the issue in the development environement
so the details are still sketchy. I wanted to post this a
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Matt,
>
> You're right, this /is/ erratic behavior. I think something is going
> wrong with your headers or something:
>
> Matt Cosentino wrote:
>> 0 HTTP/1.1 20
I used your config file verbatim and it worked. I can tell you it is not
your config file. Is there any hint at all in the tomcat/logs directory?
Tim
From: Rob Tanner [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 7:40 PM
To: Tomcat Users List
Sub
"Herman Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> My understanding is tomcat will spawn a thread for each request to my
> servlet.
> How can I limit the number of thread that tomcat spawn for my servlet
> simultaneously?
>
> And let say if I limit the simulate
On 5/25/07, lightbulb432 <[EMAIL PROTECTED]> wrote:
The JSP spec says that if you precompile JSPs you can reduce the JSP
container footprint by excluding the JSP compiler. How can this be done in
Tomcat?
I know of 2 ways to pre-compile JSPs
1) http://tomcat.apache.org/tomcat-4.1-doc/jasper-ho
On 5/25/07, Mark H. Wood <[EMAIL PROTECTED]> wrote:
> Say your apps are named app1, app2, app3 etc and if you access them as
>
> http://localhost:8080/app1 http://localhost:8080/app2
> http://localhost:8080/app3 , then
>
> you would define the Context for each app under
>
> Tomcat's /conf/Catali
Tim,
Right now I'm running Tomcat as root so that it can grab ports 80 and
443 (I understand there is a work around for that, but I'm not there
yet) and so permissions is not an issue. I also wondered whether the
file had to already exist before it could log to it. So I touched the
file and that m
Your configuration file is valid. Does the user Tomcat runs as have write
permission along the output path? You could try using /tmp as a test. If
it is not permissions, then it could be a classpath issue, but your notes
lead me to believe that not to be the case (i.e., you put them where they
s
Hi,
I was originally planning to move to Tomcat 6 but backed off for a
number of reasons. Now I have Tomcat 5.5.9 installed an working, except
for logging (and one other problem that I might be able to resolve on my
own if only I could get logging to work).
I have never configured Tomcat to log
we'll see how this goes.
It's been relatively stable to this point. And further, this user can log on to
certain sections, but not a certain path of the URL.
In other words, I have certain files that are protected. Then I have a
completely separate directory that's protected.
This person can a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
Propes, Barry L wrote:
> They oddly enough can access certain pages within the directory of
> this application, by logging in appropriately through the form.
> However, another file in the same directory gives them this error -
> "Invalid Di
No I am on intending on using chunked responses. Is there a way to disable it?
- Original Message
From: Christopher Schultz <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Friday, May 25, 2007 4:02:58 PM
Subject: Re: Erratic HTTP response behavior
-BEGIN PGP SIGNED MESSAGE-
Has
on that note, it's also showing "The request sent by the client was
syntactically incorrect."
My web.xml is correct and I haven't changed it recently.
I'm almost thinking that the Tomcat server could use a restart, but hopefully
that's all there is to it.
-Original Message-
From: Prope
Hi,
I'm having some users get this error reaching a portion of the secured section
of my app.
They oddly enough can access certain pages within the directory of this
application, by logging in appropriately through the form. However, another
file in the same directory gives them this error -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
You're right, this /is/ erratic behavior. I think something is going
wrong with your headers or something:
Matt Cosentino wrote:
> 0 HTTP/1.1 200 OKServer: Apache-Coyote/1.1Transfer-Encoding:
> chunkedDate: Fri, 18 May 2007 22:35:13 GMT
Your
> From: Matt Cosentino [mailto:[EMAIL PROTECTED]
> Subject: Erratic HTTP response behavior
>
> If anyone has even a hint of what could be
> wrong, I would be very grateful.
Sounds a lot like a flaky network component. If you're running the
browser on the same machine as the server, it could als
I’m experiencing some very erratic behavior in my local
development installation of Tomcat. Here
is my setup:
Windows XP SP2
Tomcat 6.0.13 (had been using Tomcat 5.5.20 and was
experiencing the same behavior)
Struts Web Application (I’ve had similar issues with the
manager app, so I’m
> From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED]
> Subject: RE: Accessing a class file under WEB-INF/classes from JSP
>
> I don't know if the package name is part of the compiled class, and
> whether the classload checks it.
It is, and it does. The fully qualified class name is typically also
| From: Rajiv M [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, 23 May, 2007 13:41
|
| Of course, adding package solves all the problems. But what can be
| done to modify 3rd party classes already in WEB-INF/classes prior to
| this Sun restriction...
This is probably too simple, but can you simply c
I am a Tomcat newbie. We use Tomcat 5.5.23, *Nix and Windows.
My recent experience was that in my development environment, if I had
the application web.xml
(as opposed to global web.xml under conf directory)
with the mappings as specified below, then Tomcat refused to compile and
was looking for
In your production environment have you "disabled" or "excluded" the actual
Tomcat piece that does the JSP compilation, to decrease the size and memory
usage (no matter how small) of the production Tomcat install? The part of
the JSP spec that I referred to in my original post seemed to indicate t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Herman,
Herman Schultz wrote:
> My understanding is tomcat will spawn a thread for each request to my
> servlet.
I think you might be misinterpreting this part of the spec. It just says
that each request will be handled by a separate thread. That doe
In our development environment we compile JSPs on the fly.
In our production environment we have precompiled JSP classes.
In the PRODUCTION environment, webapps/WEB-INF/web.xml have
and defined for every JSP page.
For example:
MyAppJsp1
jsp.myAppJsp1
MyAppJsp1
Hi,
My understanding is tomcat will spawn a thread for each request to my
servlet.
How can I limit the number of thread that tomcat spawn for my servlet
simultaneously?
And let say if I limit the simulateous thread for my servlet to 10, what
happens to the 11th request? Will it get dropped? Or W
The JSP spec says that if you precompile JSPs you can reduce the JSP
container footprint by excluding the JSP compiler. How can this be done in
Tomcat?
Thanks.
--
View this message in context:
http://www.nabble.com/Excluding-JSP-compiler-from-Tomcat-tf3817429.html#a10807251
Sent from the Tomcat
Fabbris Pierluigi wrote:
I've configure the Tomcat 6 and Apache 2.2.4 with module_jk2.2.4 how
must I, but I've a error:
Thu May 24 23:27:13 2007] [notice] Apache/2.2.4 (Win32) mod_jk/1.2.23
PHP/5.2.2 configured -- resuming normal operations
[Thu May 24 23:27:13 2007] [notice] Server built: Jan
Mohammed Zabin wrote:
Thank you Pid
Yeah, where exactly in the server.xml did you put this?
I put it in tag in server.xml
Then, assuming that you've taken all of the other excellent advice
you've been offered, you may wish to consider adding the following to
your application Context defi
Hi Mohammed
1. There should only be one copy of the driver jar file and it's only
home should be CATALINA_HOME/lib if you are implementing the tomcat
managed database pool (and you are).
2. If you define your datasource in in the
server.xml, you'll need to put a element in your
context.xm
Hello, I just upgraded to Tomcat 6.0.13 from 5.5.9 (no particular reason for
the upgrade, just keeping up to date). I am running Java 1.6. However,
instantly I'm having trouble that I cannot resolve regardless of endless hours
of searching for and trying to apply answers to previous similar pr
I've configure the Tomcat 6 and Apache 2.2.4 with module_jk2.2.4 how
must I, but I've a error:
Thu May 24 23:27:13 2007] [notice] Apache/2.2.4 (Win32) mod_jk/1.2.23
PHP/5.2.2 configured -- resuming normal operations
[Thu May 24 23:27:13 2007] [notice] Server built: Jan 9 2007 23:17:20
[Thu May
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Subject: RE: DBCP
>
> And does he need the jar in three different places?
Definitely not - doing so can only cause weird & wonderful classloader
problems.
> I was thinking just in the CATALINA_HOME/lib
That's the correct spot.
- Chuck
THI
actually, Oracle stated on their site that oracle.jdbc.driver.OracleDriver is
deprecated and from versions 9i and on it's preferred to use
oracle.jdbc.OracleDriver instead, but if Mohammed's truly relying on his
localhost (127.0.0.1) for the Oracle connection, unless that's where his Oracle
ins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohammed,
Mohammed Zabin wrote:
> I put the jar file in my WEB-INF/lib and CATALINA_HOME/lib and CLASSPATH,
> but nothing changed, I got the same error
No, you are getting a different error. The first one was
ClassNotFoundException. Now, you are gett
I put the jar file in my WEB-INF/lib and CATALINA_HOME/lib and CLASSPATH,
but nothing changed, I got the same error
On 5/25/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote:
Thank you Pid
> Yeah, where exactly in the server.xml did you put this?
I put it in tag in server.xml
On 5/25/07, Pid <
Thank you Pid
Yeah, where exactly in the server.xml did you put this?
I put it in tag in server.xml
On 5/25/07, Pid <[EMAIL PROTECTED]> wrote:
Mohammed Zabin wrote:
> Hello Geeks
I'm not sure what the appropriate response is but I'll try to sneak
something passed my language filter:
Hel
Mohammed Zabin wrote:
Hello Geeks
I'm not sure what the appropriate response is but I'll try to sneak
something passed my language filter:
Hello X,
Following is my problem, I am trying to configure my Tomcat 6 to connect to
my localhost Oracle 10g Database, following is my server.xml f
I did, in Tomcat 6 documentation, it's mentioned that classes12.jar must be
placed in CATALINA_HOME/lib, and i put the jar file there, but still, it's
don't work
On 5/25/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Mohammed Zabin [mailto:[EMAIL PROTECTED]
> Subject: Re: DBCP
>
>
> From: Mohammed Zabin [mailto:[EMAIL PROTECTED]
> Subject: Re: DBCP
>
> i have downloaded JDBC driver from otn.oracle classes12.zip and i
> changed it to classes12.jar, and put it in CLASSPATH.
The CLASSPATH environment variable should not be used for Tomcat (or for
any other Java application,
anyways, i put the jar file in my classpath, and this will override the lib
folder i think, isn't it?
On 5/25/07, Javier Ortiz <[EMAIL PROTECTED]> wrote:
Yes but not in the same path as in previous versions.
On 5/25/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote:
>
> Thank you
> Lib folder in CA
Yes but not in the same path as in previous versions.
On 5/25/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote:
Thank you
Lib folder in CATALINA_HOME, as mentioned in Tomact 6, isn't it?
On 5/25/07, Javier Ortiz <[EMAIL PROTECTED]> wrote:
>
> Are you aware of the new placing of files in 6.x? Ther
Thank you
Lib folder in CATALINA_HOME, as mentioned in Tomact 6, isn't it?
On 5/25/07, Javier Ortiz <[EMAIL PROTECTED]> wrote:
Are you aware of the new placing of files in 6.x? There's a new lib
folder.
Put the file there and try again.
On 5/25/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote:
>
Are you aware of the new placing of files in 6.x? There's a new lib folder.
Put the file there and try again.
On 5/25/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote:
Hello Geeks
Following is my problem, I am trying to configure my Tomcat 6 to connect
to
my localhost Oracle 10g Database, followin
Hello Geeks
Following is my problem, I am trying to configure my Tomcat 6 to connect to
my localhost Oracle 10g Database, following is my server.xml file :
and i put the following in web.xml:
Oracle Datasource example
jdbc/myoracle
javax.sql.DataSource
Container
and the following is code is
Hello,
I have installed the latest Tomcat (6.0.13) right out of the box (using
the Windows Installer) on a Windows 2003 server. I deploy a web app and
everything works perfectly fine. I have done essentially no
configuration other than deploying the web app. However, when I right
click on the Tomca
I have a working application that uses Tomcat and web services on
5.5.20server (works on previous versions also). I wanted to try it on
the new
6.X series and all the web service related classes fire a not serializable
error and shuts down the server.
I checked the new implemented specs but didn'
At a guess i would say that if your jsp's compiled ok then all should be good.
Sorry to the tomcat guys for this post being a bit off topic.
On 5/25/07, Rogerio Baldini das Neves <[EMAIL PROTECTED]> wrote:
Hi Bem,
It worked...
I was using jstl 1.2 and everything worked when I changed to 1.1.2
Hi Bem,
It worked...
I was using jstl 1.2 and everything worked when I changed to 1.1.2.
Thanks a lot.
Now, I need to monitor if this change won't bring me some side effect.
-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de ben
short
Enviada em: quinta-
On Thu, May 24, 2007 at 07:37:25PM -0700, Kyle B wrote:
[snip]
> In regards to Mark's statement. I'm not opposed to writing some XML parsing
> tools to play nice with Tomcat. However, I'm still left trying to figure out
> how Tomcat sorts that HashMap it creates for all elements. I've
> looked for
I never use SSL with Tomcat, but do you really want to load 4k rows a
time?
-Original Message-
From: Hoa Doan [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 24, 2007 5:11 PM
To: users@tomcat.apache.org
Subject: Possible bug?
I am accessing a page on my server that outputs about 4000+ rec
On Thu, May 24, 2007 at 09:01:13PM -0400, Rashmi Rubdi wrote:
> On 5/23/07, Roger Tismeer <[EMAIL PROTECTED]> wrote:
> >It takes about 4 minutes or so to (re)start Tomcat granted I have
> >30 webapps loaded, but isn't there a switch somewhere that I can toggle
> >to not auto-start any non-Tomc
Ok My problem is solved.
After reading some more documentation on commons-logging.
The trick is in $TOMCAT_HOME\bin\commons-logging-api.jar. It doesn't contain
the
Adapters for Log4j. Because it's on the container class path, it is always
used, even if you put newer version
into webapp\WEB-INF\lib
Hi,
today i played around with tomcat 6 (latest).
I have an old webapp wich used Xerces 2.0.0. The Webapp deploys fine and
runs without Problems until i try to reload the Context.
In this case i get a NullpointerException fro xerces when it tries to
load web.xml via JNDI.
I played around with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
Pid wrote:
> Mohammed Zabin wrote:
>> java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSourceFactory
>>
>> [snip]
>>
>> is there any jar file that should be in lib???
>
> Yes, I think someone already pointed out that you'll need an O
Mohammed Zabin wrote:
It didn't work, I put the following in Context.xml:
and i got the following exception:
javax.servlet.ServletException: javax.naming.NamingException: Could
not load resource factory class [Root exception is
java.lang.ClassNotFoundException:
oracle.jdbc.pool.OracleDataSourc
Hi david,
the web app do the call to this url itself and not upon a client request.
It's the axis2 web app that reads a policy file by reference.
Regards,
Nencho
2007/5/25, David Delbecq <[EMAIL PROTECTED]>:
Or you can delay your intialization code to the first hit to
webapplication (if fais
Or you can delay your intialization code to the first hit to
webapplication (if faisable, using a requestfilter for example). At
startup, tomcat won't respond to any request until all webapps have been
started, so if filter code is reached, all webapps have been started.
En l'instant précis du 25/
Hi Tim,
That's a pretty good idea,
Thanks.
2007/5/25, Tim Lucia <[EMAIL PROTECTED]>:
> -Original Message-
> From: Nencho Lupanov [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 25, 2007 7:22 AM
> To: Tomcat Users List
> Subject: tomcat webapp startup order
>
> Hi all,
>
> I have vanil
> -Original Message-
> From: Nencho Lupanov [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 25, 2007 7:22 AM
> To: Tomcat Users List
> Subject: tomcat webapp startup order
>
> Hi all,
>
> I have vanilla tomcat 5.5 installed.
> I also have axis2 web application deploying on every startup.
Hi all,
I have vanilla tomcat 5.5 installed.
I also have axis2 web application deploying on every startup.
the problem is that the axis2 web app needs to read a url from the same
tomcat server, only that the server is not yet started
because in the same moment is yet deploying the axis2 web app.
It didn't work, I put the following in Context.xml:
and i got the following exception:
javax.servlet.ServletException: javax.naming.NamingException: Could
not load resource factory class [Root exception is
java.lang.ClassNotFoundException:
oracle.jdbc.pool.OracleDataSourceFactory]
org.
Marc,
What jar are you talking about? I have a similar problem. Got log4j working
with my application based on spring running on tomcat 5.5.17
but have troubles to set up logging for Spring/Whatever is using commons
logging in my log4j xml.
Searching on the net reveals that this might be tomcat/
Hi,
I have opencms and jforum installed on tomcat 5.0. Im using mod_jk for
connection with Apache 2.0. When i try to upload a file with opencms or
jforum through port 8080(pure tomcat) the upload happens fast. When i do the
same thing through apache(port 80) the upload takes a long time. Sometime
Thanks a lot! I will try out the procedure you described.
Anyone knows a similiar procedure for a linux based
installer.
Regards
René
On Fri, 25 May 2007 11:54:49 +0200
"Gregor Schneider" <[EMAIL PROTECTED]> wrote:
I just did exactly the same for some of our
international clients,
that do no
I just did exactly the same for some of our international clients,
that do not have internet-access / slow internet-connections.
However, I did that for windows only.
The procedure as follows:
- I used a free installer (google for InnoSetup), you can also choose
your preferred cross-platform-in
Search google for webapp lifecycle listeners :)
Reading spec also helps ... I know it is long but it helps ...
One of them which tells well is
http://download-west.oracle.com/docs/cd/B32110_01/web.1013/b28959/listen
er.htm
Reagards
Guru
-Original Message-
From: oj [mailto:[EMAIL
Hello,
we recently purchased JIRA, which is offering a standalone
version for windows and for linux which already includes a
tomcat server. Can anyone give me hint where to find
informations to do something similiar with my web
application? Maybe also a mysql server can be included?
Thanks
Ok thanks,
that is what I think.
Bye
- Original Message -
From: "David Delbecq" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, May 24, 2007 4:27 PM
Subject: Re: How can I make the classes of one app be in the classpath of
another app?
You simply can't.
See classload
P.S. You work for Sun and you're using Windows?
Ouch, that hurt :-D . Funny you should ask though. I'm actually a
NetBeans technical writer and I'm trying to understand what the IDE does
specifically when it uses the embedded Tomcat. I figured trying to set
up Apache Tomcat on its own w
70 matches
Mail list logo