Has the webdav servlet been updated to allow the dav files to be placed
outside of the servlet context?
For example I would like to specify the DAV files be placed on /space/dav.
There was a thread on this about a year ago but i'm not sure if there was
ever closure.
Here is the note..
Mark Thom
The problem you are trying to solve is not propely solved by trying to
limit the container to a single servlet instance (which you probably
cannot control anyway, unless your container allows some sort of
proprietary setting).
The way you should be thinking to solve this problem is a connectio
If you deploy your servlet with an application deployment scope, you will have
just one instance of the server classes instantiated. Multiple clients can
still call into your web service, but you have to make sure that your member
data is thread-safe.
James Black <[EMAIL PROTECTED]> wrote:
Will a Connection.close() close a connection
and decrease the number of connections in connection pool?
Connection con = null;
try {
ds = (DataSource)myContext.lookup("jdbc/oracleServer");
pooledCon = ds.getConnection("scott", "tiger");
pooledCon.setAutoCommit(false);
pooledCon.setTransacti
> From: John Poley [mailto:[EMAIL PROTECTED]
> Subject: Re: Question concerning
> java.lang.NoClassDefFoundError: javax/servlet/ServletContext
>
> I even went so far as to start with a machine with
> no development tools on it, downloading just the
> elements I required, and then trying to red
thanks
On 12/6/05, Varley, Roger <[EMAIL PROTECTED]> wrote:
> > I have classes which deal with tables individually.
> > In each class, it has the following lines to get connection pooling
> > and then commit a single table.
> >
> > Context envCtx = (Context) ctx.lookup("java:comp/env");
> > DataSo
"KARNATI, SRINIVASA R [AG/1000]" <[EMAIL PROTECTED]> wrote in
message
news:[EMAIL PROTECTED]
> Bill: If I make modifications to isapi_redirect.dll and the Java side of
> the
> Connector, what is the possibility of getting them included in the future
> releases of the production code? I asked th
Thank you for your comments thus far.
I have been unable to solve my problem as well. I even went so far as to
start with a machine with no development tools on it, downloading just the
elements I required, and then trying to redeploy. I am fairly certain that
there are no extra servlet jars
I have classes which deal with tables individually.
In each class, it has the following lines to get connection pooling
and then commit a single table.
Context envCtx =3D (Context) ctx.lookup("java:comp/env");
DataSource ds =3D (DataSource) envCtx.lookup("jdbc/myERP");
conn =3D ds.getConnection();
Mukesh,
Did you also edit your httpd.conf file and workers.properties? I've
attached some snippets from mine as text files. Once you've configured
everything, restart the servers first tomcat and then apache.
Regards
Warren
>
> From: "mukesh" <[EMAIL PROTECTED]>
> Date: 2005/12/06 Tue PM
> From: James Black [mailto:[EMAIL PROTECTED]
> Subject: Re: making a singleton servlet
>
> My plan is to try:
> public static class SomeServlet extends HttpServlet { ... }
You can't use the modifier "static" there (only with internal classes).
> That way there should only be one servlet.
Hi guys,
I recently walked few people through the process of compiling the most
recent mod_jk on RedHat 4. Process required few steps that required some
digging,
so I documented them on my blog to be available to others seeking the tips:
http://blogs.ittoolbox.com/eai/software/archives/006805
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: making a singleton servlet
>
> It's my understanding that the container (Tomcat or
> whatever) is free to process as many requests in
> parallel as needed, as well as create multiple
> servlet instances - see the servlet spe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Caldarale, Charles R wrote:
>>From: James Black [mailto:[EMAIL PROTECTED]
>>Subject: re: making a singleton servlet
>>
>>I am going to make my servlet be static, with the hope that
>>it will only have one instance running, regardless of how
>>many c
> From: James Black [mailto:[EMAIL PROTECTED]
> Subject: re: making a singleton servlet
>
> I am going to make my servlet be static, with the hope that
> it will only have one instance running, regardless of how
> many clients connect to it.
What do you mean by "servlet be static"? What synta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am going to make my servlet be static, with the hope that it will only
have one instance running, regardless of how many clients connect to it.
My concern is what happens when two clients try to connect at one time.
Will the second client block, un
I see, thanks a lot again. I'll give it a try.
Thanks
David
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 5:31 PM
To: Tomcat Users List
Subject: RE: What's the difference between .zip and .exe from download site?
> From: David
> From: David Chen [mailto:[EMAIL PROTECTED]
> Subject: RE: What's the difference between .zip and .exe from
> download site?
>
> So, it seems we may need to set those registry keys
> ourselves if using .zip download.
The service.bat script in Tomcat's bin directory should do that.
- Chuck
Thank you very much Caldarale. Normally I just use .zip download for
developing until today I found some applications like Shiftomat installer
checks registry key for Tomcat version, and it seems .exe download set those
registry keys automatically during installing. So, it seems we may need to
set
Hi tim,
Thanks for your help so far.
Finally I've downloaded jakarta-tomcat-connectors-1.2.15-src.tar.gz
and configured installed it using instruction from
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html.
Now when I start the tomcat then mod_jk.conf is being gene
Thank you Carl, because our potential customer is using IIS as their web
server, so, the first thing to persuade them to buy our web applications
built from java servlets is to show them that they can still live with IIS.
Thanks a lot
David
-Original Message-
From: Carl Olivier [mailto:[
> From: David Chen [mailto:[EMAIL PROTECTED]
> Subject: What's the difference between .zip and .exe from
> download site?
>
> So, then what is that .zip download for? In which scenarios
> we should use .zip instead of .exe to install TomCat on
> Windows system?
First off, it's Tomcat, not T
Hi.
My experience - after trying Apache with jk and jk2 - as well as with IIS
with the ISAPI filter - is simply to use Tomcat stand alone! I have had
excellent performance from 5.0.28 for a good couple of months - and am
currently in the process of upgrading to 5.5.x (in testing env's at this
sta
Hi Camilla.
Is there any chance you could zip up your webapp's ROOT folder and send it
over? Would be happy to take a closer look if there isn't anything
sensitive in there!
Regards,
Carl
-Original Message-
From: Camila Kozlowski Della Corte [mailto:[EMAIL PROTECTED]
Sent: 06 Decembe
Hi, there:
I tried to integrate Tomcat 5.0.28 with IIS 5 on my Win2000 box. As JK2 was
deprecated, so, first, I tried to using JK1.2 as connector. I tried it for
last couple days, checked quite a lot of document, forums, however, no luck
at all (it gives me http 500 internal error). Then, I tried
Hi, there:
I tried both .zip and .exe to install tomcat on my Win2000 box. It seems
that for .exe: a. it installed Tomcat as win service; b. it also created
some registry keys about TomCat version, etc. (Which is critical, I guess,
for other applications to check TomCat version, right?). Anything
You have to edit your /conf/tomcat-users.xml so to have an
account with manager and admin rights. At least, I'm using it in localhost
for training and it works fine.
This is nearly how mine looks like:
You might need to setup properly your environment variables, one way is to
edit /etc/profile. Indicate your JAVA_HOME and CATALINA_HOME
On 12/7/05, Mark Thomas <[EMAIL PROTECTED]> wrote:
>
> Mário Gamito wrote:
> > Hi,
> >
> > I've just installed Tomcat 5.5 for Linux following the instructions on
NoClassDefinition errors are normally thrown if the class or JAR isn't
in the classpath, the only other time this happens is when the
ClassLoader isn't able to load the class path because an exception is
thrown on any static initialisers.
(This is conjecture...) It may be the ServletContext ha
I'm just new to HA environments, we were able to do Apache / Tomcat Load
Balancing through AJP13. Though there were few concerns on fail overs and
session information, so we tried clustering tomcat servers. Everything went
well and working as of the moment, I know that clustering is just like
pl
I'm just new to HA environments, we were able to do Apache / Tomcat Load
Balancing through AJP13. Though there were few concerns on fail overs and
session information, so we tried clustering tomcat servers. Everything went
well and working as of the moment, I know that clustering is just like
pl
Hello,
I try to use the APR (1.2.2) in conjunction with tomcat 5.5.12 and
tomcat-native-1.1.0. All works fine except one thing: I can only use it
with root privileges, because the tomcat connector wants to establish
the port 98 for its communication (see stacktrace below).
I have not found a p
You need to add it to the tomcat-users.xml file in conf. You will need
to create a new user and role, both being called admin. Just follow what
should already exist in the existing file and you will be ok.
Joe
Mário Gamito wrote:
Hi,
What is the login password for the administration module ?
Hi,
What is the login password for the administration module ?
I've greped through conf and server, but didn't found :(
Any help would be apreciated.
Warm regards,
Mário Gamito
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Mário Gamito wrote:
> Hi,
>
> I've just installed Tomcat 5.5 for Linux following the instructions on
> its web page:
>
> 1) downloaded and installed apache-ant;
>
> 2) downloaded the Tomcat tarball, uncompressed it and on the top source
> code directory ran "ant".
> I got:
> BUILD SUCCESSFUL
> T
try going to the bin directory in tomcat and executing STARTUP.SH
Mário Gamito <[EMAIL PROTECTED]> wrote: Hi,
I've just installed Tomcat 5.5 for Linux following the instructions on
its web page:
1) downloaded and installed apache-ant;
2) downloaded the Tomcat tarball, uncompressed it and on the
Hi,
I've just installed Tomcat 5.5 for Linux following the instructions on
its web page:
1) downloaded and installed apache-ant;
2) downloaded the Tomcat tarball, uncompressed it and on the top source
code directory ran "ant".
I got:
BUILD SUCCESSFUL
Total time: 1 minute 11 seconds.
My question
Ahoj,
Tomcat user mailing list me zacal odmitat jako spam,
a primo vam na mail taky nemuzu napsat. Takze jsem si zalozil
novou adresu. Zkuste mi napsat sem.
S pozdravem,
Mira
Hi,
I'm experiencing a weird behaviour. When I restart tomcat the webservices
deployed
on axist(web application) dissapears. (generated wsdd file in WEB-INF/)
This started to happen when started using context.xml in META-INF
(needed because of using DataSources form JNDI).
I believe this should b
Bill: If I make modifications to isapi_redirect.dll and the Java side of the
Connector, what is the possibility of getting them included in the future
releases of the production code? I asked this because we also should be able
to use future releases, or at least until AJP/1.4 alleviates this issue
Yes, all my classes are in a package.
Camila
2005/12/6, Mark Thomas <[EMAIL PROTECTED]>:
>
> Are all your classes in a package?
>
> Mark
>
> Camila Kozlowski Della Corte wrote:
> > Greetings,
> >
> > I am developing an application with JSP, and using JSF. Here is a
> > description of the problem
Hi,
We are experiencing similar problem. Just the Thread gets stuck
for random period time (between 1 and 15 minutes) after also random period
of time.
For some reason its always in jdbc driver.
Typicaly on the pre-production environment, never on test, developement
machines.
We are using mod_jk, t
Are all your classes in a package?
Mark
Camila Kozlowski Della Corte wrote:
> Greetings,
>
> I am developing an application with JSP, and using JSF. Here is a
> description of the problem I had with TomCat.
>
> I created a class A which invokes a class B. This class B invokes a class C
> (class
Hi .
We have a strange problem with out Tomcat server. Sometime (and really
just sometimes) Tomcat opens a lot of threads until the maximum number
of Tomcat worker processes is reached and the users cannot do anything.
We have made a Java Stack Dump to get a clue, what is going on in the
t
Hello David,
I included all jar & zip files on my computer, including j2ee.jar and I'm
still having the problem.
I have just noticed a weird behaviour though, if I try to reload the jsp
right after the jsp fails the first
time it seems to run without throwing the exception. If I restart Tomcat
and
Thank you Bill for clarifying.
-Original Message-
From: news [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005 10:25 PM
To: users@tomcat.apache.org
Subject: Re: How can I get TomCat5.0.28 use JK1.2
"David Chen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, t
I take it you also included j2ee.jar in that search?
--David
Armand Rock wrote:
Hi,
I'm getting the same error. I searched my entire computer for any jar/zip
files containing javax.servlet.ServletContext
and renamed all of them to ".original" so that they wouldn't be read by the
JVM. I did t
IMO, it's quite possible that your webapp were relying on bugs in
previous version. So, you have to make sure you're jsp pages are
following standards. The obvious reasons that I could think of are the
followings tags not being used correctly:
1. <%@ page contentType="text/html;charset=ut
Hi,
I have problems with webservices deployment on axis when restarting tomcat.
The server-config.wsdd simply dissapears from WEB-INF.
This started to happen when started using context.xml in META-INF
(needed because of using DataSources form JNDI).
I believe this should be set by some attributes
Hi,
I'm getting the same error. I searched my entire computer for any jar/zip
files containing javax.servlet.ServletContext
and renamed all of them to ".original" so that they wouldn't be read by the
JVM. I did this to all the files except for the file
common/lib/servlet-api.jar
I'm still gettin
Hello Tomcat Users,
I have a Tomcat 5.0.27 installation on a Windows 2003 Server. Tomcat is
setup as the servlet container for the IIS 6 instance on my machine.
Everything is running well, however, the Event Viewer shows several
"Warning" messages regarding the shm file defined in my
workers2.pr
I use connection pooling with Tomcat 5.5.4. Corresponding entry in server.xml
looks like this:
Everything works fine, just I don't know how to specify which character set is
to be used for retriving data
When connecting to database from application without connection poll, character
set
> I have classes which deal with tables individually.
> In each class, it has the following lines to get connection pooling
> and then commit a single table.
>
> Context envCtx = (Context) ctx.lookup("java:comp/env");
> DataSource ds = (DataSource) envCtx.lookup("jdbc/myERP");
> conn = ds.getConne
Tim Funk wrote:
For the OOM error - you might want to add
compile="false" to your jsp2 task so compilation is not done. (.tag
files still end up being compiled but thats a different issue) Then for
your javac task add (increase as appropriate)
fork='true'
memoryInitialSize='192m'
memoryM
I have classes which deal with tables individually.
In each class, it has the following lines to get connection pooling
and then commit a single table.
Context envCtx = (Context) ctx.lookup("java:comp/env");
DataSource ds = (DataSource) envCtx.lookup("jdbc/myERP");
conn = ds.getConnection();
stmt
Hi Richard
I've printed that off for future reference. Thank you for your prompt response.
Regards
Roger
>
> Roger,
>
> A thread dump/stack trace of all the threads in the Tomcat
> JVM is one way to
> see whats happening. It will show what is happening in detail
> - and may even
> highlight
For the OOM error - you might want to add
compile="false" to your jsp2 task so compilation is not done. (.tag files
still end up being compiled but thats a different issue) Then for your javac
task add (increase as appropriate)
fork='true'
memoryInitialSize='192m'
memoryMaximumSize='356m'
Tim Funk wrote:
I suspect that you have a file which includes header.jspf - and that
parent file is not including the fn tag lib. (The (potentially) bad
error message is another issue)
-Tim
Yes, there was one file with a .jsp extension that didn't include
taglibs.jspf before header.jspf. No
Roger,
A thread dump/stack trace of all the threads in the Tomcat JVM is one way to
see whats happening. It will show what is happening in detail - and may even
highlight some problems. It does take a bit of study to understand what you
are seeing. Here is an article I use that covers both Windows
I suspect that you have a file which includes header.jspf - and that parent
file is not including the fn tag lib. (The (potentially) bad error message is
another issue)
-Tim
Chris Wareham wrote:
Tim Funk wrote:
What tomcat version and commands are you using? IIRC - jspf files by
default ar
Tim Funk wrote:
What tomcat version and commands are you using? IIRC - jspf files by
default are not precompiled.
I started with Tomcat 5.0.30, but have switched to 5.5.12. The ant
targets that I am using is similar to the ones in the Tomcat docs:
[EMAIL PROTECTED] native]# httpd -V
Server version: Apache/2.0.51
Server built: Nov 12 2004 10:10:20
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped a
Hi
We're running Tomcat 4.1.31 under Win NT with 5 individual web-apps. Most of
the time every thing is fine. However, intermittently the CPU usage of the JVM
(java.exe) leaps from it's normal 4-5% to 70-80% and stays there until we shut
down Tomcat and restart it. The problem is that this jump
I notice that configure for mod_jk reported it was building a connector
for apache 1.3. I'm thinking the apxs version I have is incorrect. I'm
running Plesk so I'll take
a closer look at what it installs.
Thanks Mladen.
Mladen Turk wrote:
Robert Palmer wrote:
I'd given that a try and compil
Robert Palmer wrote:
I'm running 2.0.51 of Apache. I build mod_jk with --with-apxs. ??
If your Apache supports dso modules then simple:
./configure --with-apxs=/path/to/apache/bin/apxs
make
make install
will work for sure.
Use most recent stable (jk-1.2.15).
If you are not sure if apache sup
I'm running 2.0.51 of Apache. I build mod_jk with --with-apxs. ??
Mladen Turk wrote:
Robert Palmer wrote:
I'd given that a try and compiled the sources (I coulddn't figure out
where to get mod_jk.so from in the binaries). When I restart Apache
with the LoadModule
statement I get,
Cannot lo
What tomcat version and commands are you using? IIRC - jspf files by default
are not precompiled.
-Tim
Chris Wareham wrote:
I have a web app structured as follows:
myapp/footer.jspf
myapp/header.jspf
myapp/index.jsp
myapp/taglibs.jspf
myapp/WEB-INF/...
I would like to add a target to m
Robert Palmer wrote:
I'd given that a try and compiled the sources (I coulddn't figure out
where to get mod_jk.so from in the binaries). When I restart Apache with
the LoadModule
statement I get,
Cannot load /etc/httpd/modules/mod_jk.so into server:
/etc/httpd/modules/mod_jk.so: undefined sym
I have a web app structured as follows:
myapp/footer.jspf
myapp/header.jspf
myapp/index.jsp
myapp/taglibs.jspf
myapp/WEB-INF/...
I would like to add a target to my Ant build.xml to precompile the JSPs,
so that I can check they do not reference any unknown custom tags.
However, JspC appears
I'd given that a try and compiled the sources (I coulddn't figure out
where to get mod_jk.so from in the binaries). When I restart Apache with
the LoadModule
statement I get,
Cannot load /etc/httpd/modules/mod_jk.so into server:
/etc/httpd/modules/mod_jk.so: undefined symbol: ap_null_cleanup
If you are using tomcat 5.5 - do not refer to the tomcat 3 docs ;)
http://tomcat.apache.org/connectors-doc/
http://tomcat.apache.org/faq/
-Tim
mukesh wrote:
Hi,
I have tried all the option given in
http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s2. FAQ But I
could not build the
Hi,
I have tried all the option given in
http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s2. FAQ But I
could not build the
jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so
(renamed as mod_jk.so).
if I run "make" command then following message appears
make: Not
Robert Palmer wrote:
Could somebody help with a question about how to configure
workers2.properties. I have domains www.domain1.com and www.domain2.com.
I would suggest that you use mod_jk instead mod_jk2.
mod_jk2 is deprecated and there was no active support
or development for almost two year
Could somebody help with a question about how to configure
workers2.properties. I have domains www.domain1.com and www.domain2.com.
I want to configure them such that:
1. all .jsp requests for www.domain1.com go to application
.../webapps/application1 and
2. all .jsp requests for www.domain2.c
The JUnit jar file is in my classpath but I get the same error message.
Thanks in advance.
Camila
2005/12/6, Giorgio Clavelli <[EMAIL PROTECTED]>:
>
> It seems you have a classpath problem. You should add to your classpath
> the
> jUnit jar file.
> Hope it helps.
> Giorgio
>
> On 12/6/05, Camil
See - http://tomcat.apache.org/faq/classnotfound.html
Odds are you have your own servlet-api.jar somewhere in the webapp or system
classpath and that is conflicting with the one in common/lib (installed by
tomcat)
-Tim
John Poley wrote:
Please forgive my intrusion if this is not the proper
Thanks for the info. I'll try to remember it for the next release. ;-)
On Mon Dec 05 13:45:13 CET 2005 Tomcat Users List
wrote:
> Each new release of Tomcat is made available for download. Then the project developers
evaluate it and vote on it's stability. 5.5.13 is a very new release a
Please forgive my intrusion if this is not the proper place to post a questoon
of this sort. I am new to servlets, and am working on my first deployment- but
I am running in to a problem that I can't find a solution to. I have installed
Tomcat 5.5 and am using Eclipse (as well as a tomcat plug
78 matches
Mail list logo