If you do not have a full-fledge webapp (with a
WEB-INF/web.xml), you will have to add the context to
Tomcat's server.xml
Here's an example that I use to just noodle around
with jsp files:
Context
className=org.apache.catalina.core.StandardContext
crossContext=true reloadable=true
Has anybody any idea what triggers to generate a new server.xml file and
replace the original?
It looks like my original server.xml file was mysteriously moved to
server.xml.-mm-dd.hh-min-sec
and was replaced with a new server.xml file, which although it kept the
configuration for all the
I know that if you save out your changes in the admin application, it
will write out server.xml and even add in things that weren't there
previously (context definitions for items auto-deployed from the webapps
directory, defaults settings I think, etc). I don't know if that is the
culprit,
All,
has anyone encountered the following Exception? What is the fix?
Jul 30, 2003 8:18:05 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP
message
PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of the
Plantation and Plant Research export oriented National company.
We are developing a web based application for supporting our growing
business.
We are now having a vacancy for System DEveloper position for our Pare,
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
Hi,
I want to run Tomcat4 on my newly installed redhat
Advanced Server2.1.
The jakartar-tomcat4.1.24.tar version do work when I
visit http://localhost:8080/.
But the rpm version don't work.When I visit
http://localhost:8080/,the response is:
HTTP Status 500 - No Context configured to process
this
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
Jeff,
that explains it!
I've been playing with the admin app for the past few days, adding users
and roles, etc.
without realizing that it would effect the server.xml. I did expect it to
overwrite the
tomcat-users.xml which it did, of course.
Btw, I had to recreate tomcat-users.xml again
Puneet Sachar wrote:
hi friends
Oracle9ias server have apache as http server
We are facing lotz problem in building our application
Puneet,
If you are facing so many problems because of the platform you are
developing on, why don't you swith to something else? There are many
choices.
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
The short answer is: yes.
However (unless you've enabled the uploadTimeout), this is the least of your
worries with an upload that will take several minutes.
Philipp Leusmann [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
will a session timeout when one servlet takes longer to
John Turner [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Raj Dasgupta wrote:
I am a novice with Tomcat and am trying to connect Tomcat to our Iplanet
Web
Server 4.11 on Solaris using the JK2 connector. Here are my questions:
1. How do I download the JK2 connector?
What files are required for the Iplanet - Tomcat connector. I looked at
the Netscape How-To but that seems to have directions mostly for Windows.
Where can I find the nsapi redirect for iplanet on Solaris? Is this the
only file that is required?
Thanks
Raj
The iPlanet/SunONE connector hasn't had an active maintainer in a very long
time: e.g. it was called Netscape back then. (although I'm told that it
still works, and it gets generic updates that apply to all connectors). I'm
pretty certain that there isn't an official Jakarta binary for this one
Madame, Mademoiselle, Monsieur,
Votre e-mail n'a pas atteint son destinataire.
Pour des raisons de sécurité, le type de fichier attaché n'est pas autorisé. Nous vous
prions de contacter le destinataire pour de plus amples renseignements.
Administrateur Informatique
Régie du Rhône S.A.
Place du
works, stupid me - thx alot
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
Hi all friends,
Iam facing problem with Uploading of one file in
multiple destination means user can select multiple
remote destination from client interface(swing) and my
application should send that file in all remote
destination from local hot folder.For that I have used
Jlist Box with
Hi Victor,
Which JVM are you using?
Assuming Sun's , try checking if you have started your JVM with the option
-Xrs, which reduces use of operating-system signals by the Java virtual
machine.
If yes, this will prevent a thread dump from occurring when the JVM
receives a SIGQUIT.
Regards,
Hi people, I still have no any progress , I've installed the newest
version of tomcat 4.1.27 and build mod_jk from the sources.
Still the same : all requests are sent to one tomcat , but if I shutdown
it apache redirects the work to another one
No error messages, in mod_jk.log I see that two
Hi people, I still have no any progress , I've installed the newest
version of tomcat 4.1.27 and build mod_jk from the sources.
Still the same : all requests are sent to one tomcat , but if I shutdown
it apache redirects the work to another one
No error messages, in mod_jk.log I see that two
Sorry I got an empty reply , seems that my mail was killed ((( by tomcat
Just write me a short message if U got my previous mails related to sticky
sessions problem.
thnx
Yefym
P.S. Sorry if I spamed U.
[EMAIL PROTECTED]
29.08.2003 11:35
Please respond to Tomcat Users List
To:
Ok, thanks for the answer.
But what would my worries be?
Philipp
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Auftrag von Bill Barker
Gesendet: Freitag, 29. August 2003 05:15
An: [EMAIL PROTECTED]
Betreff: Re: General session question
The short answer is: yes.
1) Denial of service attack.
2) If the upload is a large file and you try to buffer the file into memory
instead of writing it directly as a temp file to disk - you can get an a DOS
for Out of memory.
3) If you don't take care in the writing to disk, you can DOS yourself by
filling up the
The client (SWING app) will need to perform multiple HTTP requests to post
the file to the multiple servers. Thats the way HTTP works. You can do this
concurrently with multiple threads. (How-to is beyond the scope of this list
and an exercise in using google)
Otherwise, you can have one
Hi,
I am using Tomcat/Struts and I am trying to catch errors in JSP pages
without luck. It only works if I put the %page errorPage=/MyError.jsp
% tag in the page. I tried to remove it and use the error-page in the
Web.xml but it didn't catch anything. What is wrong here?
The page which causes
This is a repost from last week, which got no answers. I've tried to
give more better info here.
I just upgraded from 4.1.24 to 4.1.27 and found that java now
can't find my formatter class which I need for JDK 1.4 logging.
The configuration in the logging.properties file is picked up fine, I
Folks,
Is there a way in Tomcat 3 , when embedded in an application, to create
a HttpSession programatically,
populate some session attributes and somehow have a client browser
participate in that session (using
the right URL for example).
Any help will be appreciated.
PS: We are stuck with
Hi
I would like to write a servlet that intercepts http
requests, and optionally rebuilds and redirects
them to other (remote) servers.
but tomcat doesnt know how to send remote
httprequests, does it ?
so I guess I need to incorporate a httpclient
in my project. is that correct ? does anyone
Hi,
Every time I compile any class I must restart the Tomcat in order to see the
changes, what might be wrong?
(Tomcat 4.1.24)
Leandro Karam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
You don't need to restart tomcat, you can just restart or reload the affected
webapp. See the manager webapp for details.
-Tim
L.Karam wrote:
Hi,
Every time I compile any class I must restart the Tomcat in order to see the
changes, what might be wrong?
(Tomcat 4.1.24)
Leandro Karam
put reloadable =true in your context in server.xml
- Original Message -
From: L.Karam [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 2:06 PM
Subject: why i must restart the Tomcat ??
Hi,
Every time I compile any class I must restart the
Httpclient should work fine. Ideally, if you wish to have a tomcat servlet
act a proxy server, be sure you read the HTTP specs with respect to proxy
servers. There are many gotchas.
Before writing too much code and IF you are able to use apache, it would be
infinitely easier to use mod_proxy.
A couple of things:
1. Your workers.properties file (to me) seems needlessly complex. I
would cut it down to match Pascal's example.
2. In your server.xml, you have jmvRoute. I don't load balance, but
as far as I know it should be jvmRoute (note spelling).
3. You only sent one
Tksnow its working !!!
- Original Message -
From: Fabio Bazzani [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 9:10 AM
Subject: Re: why i must restart the Tomcat ??
put reloadable =true in your context in server.xml
- Original Message
I remember to have read in the documentation this option slows Tomcat down
and therefore should be used on a test server only. Does anyone have
experience with reloadable contexts in a production environment
performancewise?
Thomas
Fabio Bazzani [EMAIL PROTECTED]
29-08-03 14:10
Besvar
This describes exactly where you should put files:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
And you also might find the ClassLoader HOWTO helpful:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
John
sheba Tasaduque wrote:
hi
Hi
thanks for your response
I would like to write a servlet that intercepts http
requests, and optionally rebuilds and redirects
them to other (remote) servers.
Httpclient should work fine.
ehm .. which one ? the apache/commons ?
I'm afraid that's a little too restricted...
Ideally, if you
Hi,
We are using Tomcat 4.0.4 on NT4 with IIS using the isapi redirect plugin
to forward servlet requests to tomcat... we have experienced problems
posting requests to to the servlet. The post contains serveral non-standard
http headers and the error(s) seem to stem from this... we get an 'parse'
oops ... Jakarta Httpclient.
So you will
- intercept the incoming request.
- depending on the request, ask another server for data.
- Mangle the other server data
- feed back to client.
This sounds like reinventing the wheel since there is XML-RPC or SOAP. (See
apache axis project for more info)
Hi there, can anyone tell me, please, where can I find the most suitable
version of mod_jk to use with Tomcat 3.2.4? Thanks in advance,
Arménio Pinto
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hello,
I am new to 4.1.28 and I have just loaded up the admin tool to check see my setting
through. All I get on the right-hand pane (the data pane) is blank background. I get
no details / combo boxes / links etc.
On the left-hand pane with the tree everything is fine?
Any notions?
Hi
I would like to write a servlet that intercepts http
requests, and optionally rebuilds and redirects
them to other (remote) servers.
Httpclient should work fine.
ehm .. which one ? the apache/commons ?
oops ... Jakarta Httpclient.
ok. but it's too restricted, it only supports some basic
What is the common practise?
Jeff Tulley wrote:
It looks like you want your form action to actually be servlet/login, or
maybe /onjava/servlet/login (you can use
%=request.getContextPath()%/servlet/login in the jsp if you don't want
to hardcode your context name).
You have set up the
Hi,
You must to install tomcat4-webapps-4.1.24-full.2jpp or configure the
ROOT context by yourself.
Regards,
_
Manolo Ramirez T.
wrote:
Hi,
I want to run Tomcat4 on my newly installed redhat
Advanced Server2.1.
The jakartar-tomcat4.1.24.tar version do work when I
visit
Hi all,
i'm not sure that's the right place for such question but I'm unable for
2 days to get
the compilation goes to end
Everything seems to work but I don't have any so file generated...
I'm using a configure with options:
./configure --with-tomcat40=/usr/local/tomcat/
Is there a way I can have a procedure run when the application is stopped. I am
looking for something similar to a JSPDestroy method, but this has to run when the
container, or just the one application inside the container is stopped. I would like
to run some database related tools when the
Hi to all,
I'm developing a web application but I don't understand where i have to put
my context: I have a folder /myApp, under this I have the standard folders
for a web application.
I put alla in tomcat-home/webapps but nothing!
What i've forgot to do?
thanks,
Tiziana
Howdy,
ServletContextListener#contextDestroyed()
RTFM...
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Paolo Chiarotto (LCL) [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 10:45 AM
To: [EMAIL PROTECTED]
Subject: Application Level Destroy Mehod?
Is there a
Howdy,
I'm developing a web application but I don't understand where i have to
put
my context: I have a folder /myApp, under this I have the standard
folders
for a web application.
I put alla in tomcat-home/webapps but nothing!
So you have tomcat-home/webapps/myApp, and under it WEB-INF, etc?
I have committed a patch for tomcat 5 that fixes this. It is available with
HEAD or tomcat 5.0.10 (which doesn't exist yet).
If people test can test 5 and it is OK - I can back port it to tomcat 4.1.X.
If your impatient, the code for JDBCRealm from 5 would be the same as 4.1 so
you can:
- Get
Lot's of thnx that U point me to the misspelled error.
I've got jvmRoute added to the session cookie finally.
The problem is that apache redirects the workers randomly :
tomcat1 got session cookie with worker of tomcat2 sometimes. The same
history with tomcat2.
2003-08-29 16:11:11
As you can imagine I'm not using 4.1.28 as it has not been written yet.
I am using 4.1.24 though.
Andoni.
- Original Message -
From: Andoni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 2:35 PM
Subject: /admin tool bringing up blank screens???
Is there any issue with using J2SE 1.3.1_09 with Tomcat-4.1.27 or Jakarta Tomcat
Connectors 1.2.4
on Linux? J2SE 1.4.x has always come over corrupted so I cant install. Always means
12 times in
2 days, with wget, lynx and Windows to FTP.
=
Yoav
Ok, first your webapp folder structure:
Tomcat/webapps/myApp
Tomcat/webapps/myApp/WEB-INF/
Tomcat/webapps/myApp/WEB-INF/classes/ # ALL class files go here
Tomcat/webapps/myApp/WEB-INF/lib/ # All .jar files goes here
Tomcat/webapps/myApp/WEB-INF/web.xml # This is your deployment
Does anybody know what we need to be looking for? Thanks in advance.
Carey,
I have a servlet that uses the Native Interface facilities. It gets to a
point and then tries to load a library that I constructed. At first it could
not find the library, but I fixed that by stopping catalina, setting
Howdy,
Thank you for the clear instructions ;) I believe I have a fairly firm
grasp on webapp structure as well as the rest of tomcat ;) But I'm sure
the original poster whose question I answered will find your response
beneficial.
Yoav Shapira
Millennium ChemInformatics
-Original
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
ROFL
Shapira, Yoav wrote:
Howdy,
Thank you for the clear instructions ;) I believe I have a fairly firm
grasp on webapp structure as well as the rest of tomcat ;) But I'm sure
the original poster whose question I answered will find your response
beneficial.
Yoav Shapira
Millennium
Hi,
JK2 should compile with just the following:
./configure --with-apxs2=/path/to/apache/bin/apxs
make
It should create mod_jk2.so in the build directory tree not in the
directory that you ran configure and make from. I forget exactly where it
puts it but a find ./ | grep so from the top level
Howdy,
You should be fine with 1.3.1, but that 1.4 behavior is suspicious..
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Dan McCullough [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 11:28 AM
To: [EMAIL PROTECTED]
Subject: j2se 1.4.1 -1.3
Is there any
Hello,
I have set up a struts-like web app running under Tomcat 4.1.27 on
win2000 and JDK1.4.2. I want to restrict access parts of my app based
on the action parameter in the URL. That is, calls to
/controller?action=deposit
can be made by members of the group user. But, say, calls to
Hi All,
I've got an app that is configured and working with mod_jk2 -- using apache 2.0x and
tomcat 4.1.24. It's running fast, and stable. However, I'm having some problems with
securing the app. Here's the deal.
Security is configured at the application level (i.e. tomcat application)
Perhaps you should try using distinct directories instead? That should work
a little more cleanly.
Todd
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 3:01 AM
Subject: Broken?: security constraint for actions
You didn't mention anything about a HelloWorld Servlet before. You have not
configured the context of your webapp, and tomcat does not even know it
exists. Create a file called onjava.xml and place it in your webapps
directory. This should contain something along the lines of:
context
You can't use query strings in security constraints.
You can always to programmtic authorization via request.isUserInRole(userName)
-Tim
[EMAIL PROTECTED] wrote:
Hello,
I have set up a struts-like web app running under Tomcat 4.1.27 on
win2000 and JDK1.4.2. I want to restrict access parts
I tried it but it still does not work. I even tried to put a HelloWorld.class
file into webapps\onjava\Web-inf\classes directory and use link
http:\\localhost:8080\onjava\servlet\HelloWorld I still have the same error.
But when I put HelloWorld.class file into webapps\examples\Web-inf\classes,
Has anyone been able to get Apache2 to start Tomcat 4.1.x
on Solaris? There was a thread subject on this back in
February, but there was no resolution that I can find.
I am getting the following errors:
[Fri Aug 29 12:47:25 2003] [error] env.createBean2(): Factory error creating
channel.jni:jni
Hi there,
I'm getting the following exception when I do a sendRedirect() in Tomcat
3.2.4. Has anyone experienced this before? Thanks in advance,
Arménio Pinto
java.lang.IllegalStateException: Response has already been committed
at
http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate
-Tim
Armenio Pinto wrote:
Hi there,
I'm getting the following exception when I do a sendRedirect() in Tomcat
3.2.4. Has anyone experienced this before? Thanks in advance,
Arménio Pinto
java.lang.IllegalStateException: Response has
Using IIS and jk 1.2.4, is it possible to have an alias in the
uriworkermap.properties file?
We already have a directory called /examples on IIS, but would like to
add the tomcat examples. Is there any way to have /tomcat-examples
redirect to the examples context?
Is there any more indepth
Based on Tomcat41 docs, jndi-datasource-examples-howto.html, have tried to setup a
database connection pool as follows, but get result:
Foo Not Connected
Bar -1
generated from following jsp code, as per howto given above:
%
foo.DBTest tst = new foo.DBTest();
tst.init();
%
%= tst.getFoo() %
%=
Thank you Stuart for your great help.
HellowWorld servlet works! But I still have one problem.
I got login.jsp in the webapps\onjava directory. It has
form name=loginForm method=POST action=servlet/com.onjava.login
In login.java, it has
private String target = /welcome.jsp;
...
//
Looks like you've already written something to the stream. Don't write
anything to the JspWriter if you plan on redirecting.
- Original Message -
From: Armenio Pinto [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 10:48 AM
Subject:
put your library in /common/lib and restart tomcat. Each time you reload or
start/stop your webapp, it creates another instance of the classloader which
is trying to load your library again.
Charlie
-Original Message-
From: Lott, Carey [mailto:[EMAIL PROTECTED]
Sent: Friday, August
Whenever I try to run the configure command , I get the following error. I
am loading gcc so I can compile the TomCat connector source. (Sorry, I know
the issue below is not directly Tomcat related)
sudo ./configure
Configuring for a sparc-sun-solaris2.8 host.
Created Makefile in
Also note that server.xml doesn't and can't have a DTD/schema
I would change can't have that to doesn't have. There are plenty of
extensible xml documents that have dtds - JDO for example.
Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com
I have some code that worked fine with Tomcat 4.1.18LE but now that I have
upgraded to 4.1.27, I am getting the problems below. Anyone know what is
going on? Thanks.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 4 in the jsp file:
Tomcat - 4.1.24, Apache - 2.0.47, mod_jk2 - 2.0.2
I have a couple questions:
1) I setup the uri directive /myFirstApp/*.jsp in workers2.properties.
My JSP file is an index.jsp and is read correctly through
www.myserver.com/myFirstApp. Can I make that workers2 directive
recursive? In other
Title: Message
Tomcat 4.1.24 /
WINXP SP1
Has anyone
successfully run Tomcat off a CD? I know this is a little out of the
ordinary. We have a J2EE app which I would like to teach to
students. The problem is having a quick setup environment for the students
with having to install minimal
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
Rob,
This came up fairly recently (last week?) and there was substantial
discussion about the gotchas involved in doing this. Check the archives
for more info. Amongst others,
http://www.mail-archive.com/[EMAIL PROTECTED]/
justin
At 12:45 PM 8/29/2003, you wrote:
Tomcat 4.1.24 / WINXP SP1
in case this means something to someone, stderr.log file reports following
error associated with dbcp:
INFO: Jk running ID=0 time=10/120 config=C:\Tomcat41\conf\jk2.properties
javax.naming.NamingException: Could not create resource factory,
MessageIf you can get access to a laptop (I thought most schools have that or am I
wrong?), you can install everything on it and then do your demo thru a Proxima
projector. If you cannot get a laptop, you can use a portable USB2 hard-drive. That
should work.
Hope this helps.
-
You can also try Microsoft Netmeeting if you're using Windows 2000 or
Windows XP. It allows you to connect 2 or more computers charing the
same desktop (yours). Students will be able to see what you're doing and
I'm not sure because I've never tried it but I think it also allows for
others to
Ooops, ok I had one other 'significant' change that I failed to mention. I
had also upgraded to jdk1.4.2 from 1.4.1_03. I thought in my testing I
had eliminated that possibility, but I was wrong. It looks like there is
a bug in jdk1.4.2 that is causing my problem. I am basing that on the
If you're getting
javax.naming.NamingException: Cannot create resource instance then you
need to install the commons-pool and commons-dbcp jars. These jars aren't
part of the standard distribution you have.
I am running Tomcat 4.1.27 on Windows XP.
I am experiencing serious hang times at startup.
Has anyone seen this before? It hangs right after the following block:
Aug 29, 2003 5:36:30 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Aug 29, 2003 5:36:30
Hi All,
I am facing a critical problem in our Application.The
Application is running Apache Tomcat 4.0.1 running on Linux.
The problem is Apache Tomcat stalls and there is no further output
from the tail -f catalina.out and no further processiong in the
Application.
Description:
hi
ERROR
v:http://localhost:8080/examples/servlet/UploadServlet (fetch post)
E: Event error.badfetch:line13:java.io.FileNotFoundException:
http://localhost:8080/examples/servlet/UploadServlet
==
I want
92 matches
Mail list logo