hi !
i have properly installed tomcat but i'm not able to
run my own servlets. that is probably because of
web.xml file. i don't know how to create a proper
web.xml file for a servlet. i'm using mac os x 10.2
please help me it's urgent
__
Do y
you don't actually NEED any of the entries on the web.xml file. but you do
need the file so use this for now and see how you get on.
Andoni.
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
- Original Message -
From: "apratim sharma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]
Rosdi,
Thanks for the tip, but it doesn't work.
Armand
Rosdi bin Kasim a écrit :
> I am guessing here, but try to remove the leading and trailing space. See if
> it work.
>
> Instead of:
>
> /jsp/error.jsp
>
> Why not:
>
> /jsp/error.jsp
>
> Rosdi bin Kasim.
>
> - Original Message -
>
On Fri, Feb 28, 2003 at 10:59:42 +0100, Einar M. Råberg Rosenvinge wrote:
>
> I'll send my CSR to Thawte now and see if the PKCS#7 reply works.
It worked very well.
-Einar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Hi,
I have the following problem:
The connection seems to be connected, but it does not return.
I want to use the naming datasource from tomcat.
Configuration: tomcat 4.1.18 standalone, database sapdb (I although tried
mysql, the same behaviour)
linux 8.0
commons-dbcp.jar, commons-pool.jar and sa
Hi,
DBCP will go to infinite if your validation query fails.
Please ensure that the table you are referring exists for extact name and
proper privileges exists to get the result, check the query with the SQL
prompt.
If your query results in no rows found, then also there is a possibility
that it w
Try removing the maxIdle and maxActive parameters so that defaults are used - these
are much lower than the 30 and 100 in your configuration.
I had the same problem with Oracle.
HTH
Eric
-Original Message-
From: Gerlinde Fischer [mailto:[EMAIL PROTECTED]
Sent: 06 March 2003 12:06
To: [
After having installed the isapi_redirect filter in IIS, IIS does not
accept as long URL:s as it did before.
The problem arises in an application that do not use the isapi_redirect
filter, but have need for very long (>2000) get requests. This worked
fine until the isapi_redirect filter was insta
apratim sharma:
> i have properly installed tomcat but i'm not able to
> run my own servlets. that is probably because of
> web.xml file. i don't know how to create a proper
> web.xml file for a servlet. i'm using mac os x 10.2
>
> please help me it's urgent
Which Tomcat version are you using
Hi. Does anybody know a good tutorial about the
installation of the new version of tomcat? Would be
good a tutorial out of the site of jakarta because I
did not find there the answer.
Thank you.
Marcelo.
___
Busca Yahoo!
O s
Hi Marcelo.
Look at this site:
http://www.moreservlets.com/Using-Tomcat-4.html#Introduction it is very good
tutorial about installing and configuring Tomcat.
Good luck,
Konrad Rusz
- Original Message -
From: "Marcelo" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent:
Howdy,
Then you'll have to update the configuration files every time you move
your server. You should be able to automatically do this with Ant every
time you redeploy your server.
Your alternatives become more and more complicated:
- implement a registry (this can just be another server with a
I posted this once before but go no response, so I am trying again. Does
anybody know how to prevent mod_jk from checking all virtual hosts in
apache? JKWorkers and JkLog setting need to be global. However even in
VirtualHosts that have no JkMount statement, mod_jk still checks for matches
for e
(tomcat 4.1.18 + apache 1.3 + mod_jk + Linux + Proxy via Apache ProxyPass)
I have the following scenario.:
A main server that runs Apache with mod_proxy:
ProxyPass /tomcat http://mytomcatserver
ProxyPassReverse /tomcat http://mytomcatserver
When someone request an URL containing "/tomcat" then
> We recently upgraded an application to Tomcat 4.1.18 from 4.0.6. In the
> localhost log file, we have been getting lots of these errors (dozens a
> day). It doesn't appear to affect the server at all, is it something you
> folks have seen before?
>
> Thanks
> Nate
>
> 2003-03-06 07:11:34 St
I had this issue with InstantSSL... ask for that
specific type. Come to find out for me anyway, the
ALIAS has to be exact for the reply and that's where I
was screwing up.
-Matt
--- Einar M. Råberg Rosenvinge <[EMAIL PROTECTED]>
wrote:
> On Fri, Feb 28, 2003 at 10:59:42 +0100, Einar M.
> Råberg
I am running what WebGate Anywhere has been successfully running on in
Germany.
on start up I get the following message inside the black box:
> The JAVA_HOME environment variable is not defined correctly
>
> The path I have set for JAVA_HOME is:
> C:\Program Files\Java\j2re1.4.1_01
>
> In addi
Don't use both proxy pass and mod_jk: use either one or the other.
To keep your sessions, you will need to use mod_jk.
Sadly this is about the extend of my advice: other people on the list
might have better advice. I know I had to change from proxy pass to
mod_jk to keep my session
On Thu, 2003-
> We recently upgraded an application to Tomcat 4.1.18 from 4.0.6. In the
> localhost log file, we have been getting lots of these errors (dozens a
> day). It doesn't appear to affect the server at all, is it something you
> folks have seen before?
>
> Thanks
> Nate
>
> 2003-03-06 07:11:34 St
Hi,
Is there any users limitation in tomcat 4.0.1 and tomcat 4.0.6. i mean when
concurrent users access tomcat what are the limitations exist for Tomcat
let me know
thanks
kkrao.
Catch all the cricket action. Download Yahoo! Score tracker
Hi,
Is there any users limitation in tomcat 4.0.1 and tomcat 4.0.6. i mean when
concurrent users access tomcat what are the limitations exist for Tomcat
let me know
thanks
kkrao.
Catch all the cricket action. Download Yahoo! Score tracker
Sorry, I've made a mistake, I'm not using mod_jk, I'm just using mod_proxy.
So, the only possibilty I have is to change from proxy pass to mod_jk?
-Mensaje original-
De: p niemandt [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 06 de Marzo de 2003 11:36 a.m.
Para: Tomcat Users List
Asun
Yip:
As far as I understand it: using proxy pass, even though your request
will be forwarded to tomcat, it is still seen as 2 separate
applications: You will then have an Apache session and a Tomcat session,
and never the twain shall meet ...
You need to configure your web application so that is
Hi again :) I'm sorry to bother everyone with this - I'm sure its been
covered before but I could not find anything in the archives... And I would
really like to get this resolved.
I'm setting up mod_jk on Apache 1.3.27/Tomcat 4.1.18/WinXP install. I am
following John Turner's HOW-TO - its for A
I have a jsp that writes documents out to the browser , using a HREF
something like readfile.jsp?FileID=101
Although readfile.jsp works, it consistently logs the following error.
Could someone tell me why ? Thanks.
- Root Cause -
java.lang.IllegalStateException: getOutputStream() has alr
OK... I tried AddModule mod_jk.c and the error messages disappeared. Can
anyone tell me where mod_jk.c comes from?
Thanks :)
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 20
All i know is that you don't need to do that for apache 2.0
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:52 AM
Subject: RE: Mod_jk on WinXP (revisited)
> OK... I tried AddModule mod_jk.c an
I'm using Tomcat 4.1.18 with j2sdk1.4.1_01 on winXP.This is my SSL config :
When Tomcat starts, throws the following exception :
Catalina.start: LifecycleException: Protocol handler initialization failed:
java.lang.ClassNotFoundException: Can't find any SSL implementation
Li
Hi Tomcat Experts;
I read some directions that says
"The interaction between SSL and HTTP/1.1 features are
problematic with some MSIE versions, too. You've to
work-around these problems by forcing
Apache+mod_ssl+OpenSSL to not use HTTP/1.1, keep-alive
connections or sending the SSL close notify
Here is the snippet of my HTTPD.CONF file:
-
DocumentRoot "/usr/local/apache/htdocs"
Options +FollowSymLinks +Indexes
AllowOverride None
Options +FollowSymLinks +Indexes
Order allow,deny
Allow from
Hi all
Where in tomcat 3.2.3 do I
turn off keep alives
specify the use of http 1.0 for SSL
and stop sending the SSL close notify messages
Thanks in advance
stev
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://t
I could be mistaken, but I don't think you need the "+" in front of the
permissions that you're trying to setup.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
> -Original Message-
> From: Manu Kits [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 06, 2003 9:48 AM
> To: [EMAIL PROTECTED]
Let me remind you that that users can configure browser to refuse cookies.
Euclides.
-Mensagem original-
De: Bruno Cardoso [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 4 de março de 2002 09:20
Para: 'Tomcat Users List'
Assunto: RES: Persistent Cookies
I did what you said, and it
Hi,
If somebody has a working client SSL authentication for Apache 1.3.*,
mod_ssl/mod_jk, i.e., ajp mounts that require client certificate
(SSLVerifyClient require), I'd be very grateful to see the appropriate
pieces of configuration files. Thank you.
-a
--
Aaron Stromas | "Tik-tik-tik!!
I've been looking in the mailing list archives for my problem, and I've
found the message I pasted below.
But the problem is that I don't understand what I exactly need to do with
that answer. Can anybody help me with this?
- Original Message -
From: Ben Jessel
Subject: Re: ManagedBean is
Mark, we could never get that combo working (IIS 5.X, Tomcat 4.X, JK
connector, HTTP POST). We ended up going to JK2 and all was resolved.
Shocking that it didn't work in the first place, but nevertheless, there
is a solution...
Rick Bullotta
CTO
Lighthammer Software (http://www.lighthammer.com)
Use the Coyote connector. Look into a recent server.xml, and you will
see that the default is the Coyote Connector with the JkHandler, like
this:
Whereas the one you are probably using is the older, deprecated AJP13
connector
The confusion comes in the naming; the Coyote Connector is u
I've looked through a lot of documentation, forums and the Jakarta site
and cannot find any documentation that tells me how my Tomcat
application can get notified when Tomcat gets a shutdown.
I have cleanup I need to do.
I would appreciate any pointers to documentation or the
correct clas
See javax.servlet.ServletContextListener ... this provides a hook so that
the container can notify your app anytime your app's context is initialized
or destroyed.
justin
At 11:57 AM 3/6/2003, you wrote:
I've looked through a lot of documentation, forums and the Jakarta site
and cannot find an
You can either use a LifeCycleListener to be tomcat specific
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
or
Serlvet api specific with ServletContextListener
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html
-Tim
Frank Lawlor wrote:
I've looked through a
Hi,
> I can understand why PUT and DELETE might be blocked by some
> sort of write-constraint, but why is OPTIONS failing? If
> anyone can cast any light on how I can get the new redirector
> to send *ALL* requests through to my servlet, I'd appreciate
> hearing from you.
This is really jus
Hi All,
I have installed Tomcat4.1 as a WinNT service. If I
try to make any changes conf/server.xml (in order to
set up the SSL) and try to restart it again, I cannot
do so. All I get is a set of exceptions flashing on
the screen. In short, it is not allowing me to do any
changes in server.xml.
Hi,
I have configured Tomcat (4.1) to work with Apache (1.3) through
JK2. For example, I can access the Tomcat examples using
http://myserver.com/examples. For another web application
such as tomcat-docs, http://myserver.com/tomcat-docs also
works if I add the following to the workers2.properties
Hi all,
Where should I put my data source and MSAccess driver
for JDBC to find it? I am running Tomcat4.1 as WINNT
sevice. Presently, I get an error as Cannot find
datasource and driver.
I shall appreciate any help.
Thanks,
Runu
__
Do you Yahoo!?
Ya
Stop the service, go to %CATALINA_HOME%\bin and run "catalina run" in CMD.
Then you will able to see the exceptions.
Michael
-Original Message-
From: runu rathi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 1:26 PM
To: [EMAIL PROTECTED]
Subject: urgent help needed..cannot make
First of all, there is no "JDBC Driver For MSAccess" that I'm aware of.
You'll need the ODBC driver plus an ODBC/JDBC bridge. Sun ships one
with the VM, but I recommend the Easysoft JDBC/ODBC bridge (more robust
and flexible). Place the EasySoft EJOB.JAR file in your webapp's lib
directory. You'
I have read all the messages on this list that refer to problems
accessing remote web pages through a firewall. Based on this
information, I've added -Dhttp.proxySet=true
-Dhttp.proxyHost=my.proxy.host -Dhttp.proxyPort=portnum to the
CATALINA_OPTS in the catalina.bat file.
This still doesn't w
i get this error when shutting down...does anyone know why?
mike
C:\Tomcat 4.1\bin>shutdown.bat
Using CATALINA_BASE: C:\Tomcat 4.1
Using CATALINA_HOME: C:\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Tomcat 4.1\temp
Using JAVA_HOME: c:\j2sdk1.4.1_01
Catalina.stop: java.net.ConnectException: Con
I am trying to run a vanilla installation of Tomcat 4.1.18 with Microsoft's
Personal Web Server (PWS) using the 2.0.2 jk2 redirector
(isapi_redirector2.dll) on an NT4 SP6 box.
I believe that I've followed all the instructions on how to set this up
(jakarta ISAPI filter and 2.0 registry entries), b
Michael wrote:
> i get this error when shutting down...does anyone know why?
> C:\Tomcat 4.1\bin>shutdown.bat
> Using CATALINA_BASE: C:\Tomcat 4.1
> Using CATALINA_HOME: C:\Tomcat 4.1
> Using CATALINA_TMPDIR: C:\Tomcat 4.1\temp
> Using JAVA_HOME: c:\j2sdk1.4.1_01
> Catalina.stop: java.ne
I usually see this when tomcat is not running or tomat is in a state of
not accepting connections. This could happen for variouus reasons.
Usually it means that tomcat is either not yet accepting connections
(durring startup. perhaps its hanging on some startup servlet) or has
ceased to accept
Is there any way to make a call such as "authorize(user, resource)" that
returns a boolean to indicate if the user is authorized? I am looking
for a way to programmatically either include or exclude a link on a page
depending on whether the authenticated user is authorized to access the
link's dest
heres my dilemma, i dont think my tomcat uses the WEB-INF folder under my
webapps/root folder. i think it only reads from common folder. im trying
to delete some jars from my common folder but it says its in use. i cant
shut down my tomcat, it gives me the error below. anyone got any tips?
Looks as if your running on windows.
If you are not running as a service you could always CTRL-C the window
tomcat is running on. or kill the java process via the task manager. At
this point i see that as your only option.
Lloyd
Michael Ni wrote:
heres my dilemma, i dont think my tomcat uses t
windows wont let me end process on tomcat.exe.. says operation is denied
mike
From: "Lloyd A. Duke" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: cannot shut down
Date: Thu, 06 Mar 2003 18:16:28 -0500
Looks as if
> From: "Doug Redd" <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 3:08 PM
> Subject: Pre-authorize a link?
> Is there any way to make a call such as "authorize(user, resource)" that
> returns a boolean to indicate if the user is authorized? I am looking
> for a way to programmatically eith
OK, I found a typo in the 'workersFile' registry entry. I fixed it and
restarted PWS. The jakarta ISAPI Filter now has a green up arrow which I
assume means that it loaded successfully.
But, it still doesn't look like the '/examples' URI is being redirected to
Tomcat. I know that something is list
Okay, that could work if I can get a list of which roles a resource
requires. Is there a way to do a call like
"getResourceRoles(resource)"?
-Original Message-
From: Will Hartung [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 3:42 PM
To: Tomcat Users List
Subject: Re: Pre-autho
Hi,
Sometimes when a user clicks on a link on one page it becomes necessary
to send parameters to the next page
lets say i have My Favourite JSP
when i will click on the above link it will get transformed into :
http://localhost:8080/myproject/MyJsp.jsp?id=2,path=/myproject/
mydirectory/MyO
When I do a getParameterNames() . i get the "id" back ... but not
the "path" is my parameter seperator not correct ? i am using a
"," (comma) to seperate two parameters.
On Thursday, March 6, 2003, at 04:55 PM, Mufaddal Khumri wrote:
Hi,
Sometimes when a user clicks on a link on o
try +
- Original Message -
From: "Mufaddal Khumri" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 5:41 AM
Subject: Re: A question regarding accessing parameters after the " ? " in a
URL
> When I do a getParameterNames() . i get the "id"
Title: RE: A question regarding accessing parameters after the " ? " in a URL
The "+" characters maps to a space. Try "&":
http://localhost:8080/myproject/MyJsp.jsp?id=2&path=/myproject/mydirectory/MyOtherJSP
PJDM
--
Peter Mayne
Technology Consultant
Spherion Technology Solutions
Level 1,
As far as I know you should separate parameters with an ampersand ...
Build up your query string, end this with a question mark and append
your parameters with the ampersand ...
ie. Something like
MyFavourite.JSP?id=2&path=myproject¶m1=2¶m2=3
etc, etc...
MyFavourite.JSP'?id
> > > =2,path=/m
Have you folks figured this out? Found this thread in the archive (have
been off the list a few weeks) and am having the same problem in Tomcat
4.1.18.
I set up (as per How-to) for Tomcat 4.0.4 inside Netbeans (on Win 2k) and
successfully connected and interacted with both a remote PostgreSQL 7.3
sorry, hit "send" rather than "cancel"
It seems my connections are now working after much playing around with
parameters.
One thing for sure:
When I comment out the whole block and
in server.xml and restart Tomcat I get the exact same error
(driver class 'null' thing).
--
p niemandt wrote:
As far as I know you should separate parameters with an ampersand ...
Build up your query string, end this with a question mark and append
your parameters with the ampersand ...
ie. Something like
MyFavourite.JSP?id=2&path=myproject¶m1=2¶m2=3
etc, etc...
Don't forget to use
So you want to catch parameters eh ? Ok , take this for a example:
http://localhost/webapps/index.jsp?param1=Rubbish¶m2=More+Rubbish
In index.jsp if you use the following command in a scriplet ,
String temp = request.getParameter("param1") ;
You will get the string value of the parameter
after i place a java bean in the classes folder such as bean.java, when does
it get compiled into a class? ive been shutdown and starting up but it
hasn't been working. i also restarted the computer and actually tried to
run my jsp page that calls the bean.
mike
_
Now I remember one thing.. the order of tag is important.. ie
cannot precede etc.. etc..
Here is a sample of mine, which I got it working.. note that I put
last. Had I put it at the top, Tomcat will throw some exception..
Probably you can do some googleing on this...
You need to compile it manually. If you are making it as some sort of
package make sure it falls within the proper path
If it is a jar file, you can put it in lib directory.
This is how mine is done. You will then need to restart your tomcat and it
shoudl work
henry
- Original Message -
You can set log level to "debug" instead of "emerg". Someone tried
isapi_redirector2.dll and found the setting was at "worker2.properties". If
you can not find that setting, try the setting at registery next. This will
tell you why it is not working. Green arrow doesn't mean connecting
correctl
thanks, yeah i forgot to compile my java file...
does anyone have a good example using a javabean to establish connection to
a datebase. im trying to figure out the best way to reuse code. i can try
one of the following methods:
1: i dont use javabeans and put all my connetion and queries ins
> does anyone have a good example using a javabean to establish connection
to
> a datebase. im trying to figure out the best way to reuse code. i can
try
> one of the following methods:
Check out test java files that came with mysql or postgres. I know mysql has
one. You can
easily covert it for
I hope someone can assist here.
Basically I have been writing a 3 Tier Web app using Tomcat and trying
to adhere to the Struts framework. The application connects to an
existing MSSQL database and creates graphs of the data. The way I've
built it is I define an entity bean to store a row of return
Where does one download binary versions of mod_webapp? This page:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
says that:
The binary builds of connectors are available in
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.x.y/bin/plaform.
However, I canno
I can't tell you how to build mod-webapp, but I would recommend against
bothering with it at all. It is not being developed any longer. Go with
mod_jk or the new jk2..
Jake
At 02:30 PM 3/7/2003 +1000, you wrote:
Where does one download binary versions of mod_webapp? This page:
http://jakart
Saving 600K rows of data in memory for a user is quite extreme.
There are several alternatives here. Why save the entire row?
Typically I see (and do) the saving of id's instead of the entire row.
Then subsequent calls use the id for the lookup. Caching can help the
performance of the trip to th
Once you've done the CVS check-out, it would help if you actually read the
README that comes with it. That will tell you how to generate the
'configure' script.
"Wes Barris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Where does one download binary versions of mod_webapp? This
It's been a very long time since I used 3.2.x (so the answers may be wrong),
but from memory:
1) You can't.
2) I believe that this is the only setting.
3) See 2).
You should seriously consider upgrading to at least TC 3.3.1 (which has
better SSL support). The 3.2.x line is currently unsupported.
First guess: /home/heri isn't globally readable (and, in particular, isn't
readable by the user that Apache is running under). This is the default
setup for a large number of *nix systems.
"Manu Kits" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
>
> Here is the snippet of my
"stev sutherland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Tomcat Experts;
>
> I read some directions that says
>
> "The interaction between SSL and HTTP/1.1 features are
> problematic with some MSIE versions, too. You've to
> work-around these problems by forcing
> Apache+
If you want to take up Apache/httpd naming conventions, I'd suggest asking
on the httpd-user list. :-)
By convention, Apache/httpd modules register themselves by their principal
(and, in most cases only) source file.
"Denise Mangano" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> O
Yes. It is determined by the 'maxProcessors' attribute on the connector.
"kondal rao" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
>
> Is there any users limitation in tomcat 4.0.1 and tomcat 4.0.6. i mean
when
>
> concurrent users access tomcat what are the limitat
You need to make the content on your site more interesting, so that users
aren't so inclined to hit the 'stop' button before the page is fully loaded
;-).
"Nate" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > We recently upgraded an application to Tomcat 4.1.18 from 4.0.6. In the
Not without parsing 'web.xml' yourself.
"Doug Redd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Okay, that could work if I can get a list of which roles a resource
requires. Is there a way to do a call like
"getResourceRoles(resource)"?
-Original Message-
From: Will Hartu
Hello All,
I am using SOAP 2.2 with TOMCAT 4.1.
I encountered the following problem:
My SOAP server and my GUI JSPs are installed on the same TOMCAT server
(same JVM).
Now, everything goes on just fine. I am using the GUI which makes a lot
of SOAP calls to the SOAP server.
Everything is fine u
86 matches
Mail list logo