Chad Perry wrote:
Ok, you need to put the classes12_01.jar file in the ~/common/lib dir also.
On install, the classes12_01.jar is in the ~/lib, which is NOT enough to get the
JDBCRealm working
with Oracle.
WHY you need that jar in both places:
~/lib and ~/common/lib is still a
Hi people.
I asked similar question ,but since there was no reply I'm gonna try again -
Has anyone successufuly executed POST to Tomcat 4.0.x from some java app using
URLConnection class ?
I would really like to see this piece of code, since I used some code that I found on
the web and it
With simple JSP, a few hundreds per second on RH7.0, single PII400, tomcat
3.x, Apache 1.3.9, 128M RAM. Please test and advise your finding on 1GHz CPU
-Original Message-
From: Simon Crase [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 1:50 PM
To: 'Tomcat Users List'
Subject: Can
This is more a Windows question than a Tomcat question...
Anyway, if you have access to standard MS rpc ports then you can use
server manager/sc/perl/vbscript to start and stop services.
Of course you must install tomcat as a service.
hope it helps,
umberto
Maya Vayner wrote:
Hi guys,
I am
Hi,
I am having great trouble getting tomcat to give me a mysql Datasource.
When I switch on debugging, I can see that the resource seems to be created
in the tomcat context from the monitor file catalina.out:
XmlMapper: new null org.apache.catalina.deploy.ContextResource resource-ref
Thanks to everybody who answered about my problem, I can´t run JSP with file.class. I
´ve done all you told me but that doesn´t work for me. I know nothing about Tomcat
4.0.3 .Could be possible that is neccesarry something about files .xml because I
notice that some folders has this type of
Hello,
my problem is that I have no compiler license for CC on Solaris 8, and
have no compiled version of the GCC compiler either. Hence, I cannot
compile the MOD_WEBAPP... :(
Does anyone here have an already compiled version of MOD_WEBAPP for
Solaris 8? Can someone send it to me? Please
From: Larry Isaacs [EMAIL PROTECTED]
After adding the jdom.jar and making the server.xml changes
you describe, I find that I can compile and display the
following JSP page:
Hrmm, ok well I am going to rip everything off the system and try again.
Perhaps something has been convoluted to
Platform: Linux, Tomcat 3.3.1
Hi people,
I am writing a JSP web services on an embedded system running Linux without
swap space.
Everytime I access a new JSP page, the amount of memory Tomcat uses
increase.
I think Tomcat is caching the new JSP page for faster access. Am I right?
Is there a
The symptom you describe is easily achievable. The main
point is that additionalJars adds jars to multiple webapps
the same as if you copied jdom.jar to each WEB-INF/lib.
You could try putting jdom.jar in your test webapp's
WEB-INF/lib, remove the additionalJars, and see if the error
still
Dear all
I installed tomcat v4 on windows 2000 server from its zip file , and i started it by
the startup command in the bin directory. how i enable this installation to be a
service ?
thanks in advance
waiting your reply
Hi
I am having problem running apache and tomcat on seperate machines. I am able to do it
on the one machine but when I take out localhost and specify my machine IP address
where it should find tomcat I get an Internal Server 500 error message.
In my workers.properties file I have specified
Hi all.
I just thought to share my experience with the list (instead of just whining). Finally
got it to work. This is the lucky combo:
Tru64 UNIX 4.0D/F
GCC 3.0
Apache 2.0.36 (this was the real fix)
mod_webapp from Tomcat 4.0.2
The only thing not working is WebAppInfo, but that is
Hi,
I have written a class that uses the API of ant-1.4.1 that I start from
tomcat-4.0.3. Actualy it works pretty good but when I have a path...
instruction in the build file I get an exception like below:
Could not create datatype of type: path due to java.lang.NoSuchMethodException
When I
-Original Message-
From: Mohammed Omar [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2002 12:19
To: [EMAIL PROTECTED]
Subject: Tomcat on Windows2000 as a service
Dear all
I installed tomcat v4 on windows 2000 server from its zip
file , and i started it by the startup command in
Hi,
I have the same problem. Want connection pool to work on Tomcat and Websphere
without to rewrite code. IBM send us instructions to set up the server and a
piece of code that looks like this:
...
java.util.Properties parms = new java.util.Properties();
Is anybody could have the kindness to tell me which version of tomcat,
tomcat-connector and apache (httpd and 2.0.36 is preferred) may I use to make
they work together.
Please, help me, I will be soon deseperated. I tried apache 2.0.36,
tomcat-4.0.3 and connectors 4.0.2-01 and 4.0.4-b3. So I
Hi Remy,Peter
After some research I found out that there were no more concurrent session
problems and the same request processed twice problem when I changed my
simulator(test program) to use HttpClient API. There could be the a bug in
implementaion of java.net.HttpUrlConenction.
I tried
Hello,
We have recently noticed a very strange error when running tomcat 3.2.4 on
localhost. If a button in the application pops up a new window, then the
user closes that window to return to the original screen, the session times
out. This does not happen when using tomcat connected to apache
You can get Solaris Freeware (gcc, tar for untarring long paths on Solaris
etc.) packages at: http://sunfreeware.com. This should get you started.
It's a helpful and good site.
Lloyd
-Original Message-
From: Rui Oliveira [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 4:56
Hi Umberto,
if you run Tomcat as a service, try using the freely downloadable PSTools
from http://www.sysinternals.com/ntw2k/freeware/pstools.shtml which contain
the commandline utility psservice which lets you remotely control
NT-Services. You might also be able to run the startup and
Hi,
In the past weeks, we've gotten a couple of internal JVM exceptions
running tomcat 4.0.1. The relevant part of catalina.out is attached, as
well as the JVM-generated error file. As far as we can tell, this
happens randomly.
Any insight or information would be appreciated, as well as tips
Hi Paul
That would be great can u please send me the code and how tos
Thanks a lot
uma
-Original Message-
From: Paul Kofon [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: Re: Calendar in XML/java script
Hi,
I've done one using one JSP
Is it possible to have a config in web.xml (or anywhere for that matter) to have a
file (a JSP file) included in all the JSPs?
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332
I don't know if you can set some property in web.xml or system.xml of
tomcat to only allow only one user to access a web-app or some other kind
of resource at a time. I shouldn't think
there were as this is contactory to what people want a webserver to do.
But you could modify your webapp or
Hi,
Looks like I found out the solution myself :).
To serve static pages via apache instead of tomcat, all I have
to do is set the attribute forwardAll=false for
ApacheConfig listener in server.xml.
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
forwardAll=false/
Since the
Hi,
You can generate your image on an AWT graphics surface on the server, and
use standard AWT drawing techniques, or Java2D, to make more complex images.
You then need to serialise your image to a binary stream to send to the
client.
This can cause problems if your server doesn't have a
Yoav,
Signal 10 is a bus error on the solaris box. Basically this a is an internal
data communication error in the machine.
I think these errors can be software related, as well as hardware related.
First off, make sure you've got all the latest patches for your operating
system. After that,
Hello everyone,
I am trying to setup Tomcat 4.0.3 on my computer. I've already setup Apache and
J2SDK1.4.0 and thats running fine. I am following the exact steps mentioned in tomcat
installation guide but when I run %CATALINA_HOME%\bin\startup command it generates
following error.
cannot
yes I have gotten it to work. Just write a normal servlet that handles Post
requests.
Client code:
URL servlet = new URL(servletURL);
URLConnection urlConn = servlet.openConnection();
urlConn.setDoInput(true);
urlConn.setDoOutput(true);
I have a very strange problem that I hope someone can help with. I have
a servlet that streams (using ServletOutputStream) various web and
media files (mp3, mpegs, etc..). The media files are not in the web
dir. This servlet is designed to restrict access to the media files.
For most
Thanks for the reply.
NOTE: You would think that the JDBCRealm would only need the Oracle driver in the
~/lib dir?
Also, I would wish the Java Exception would be something like a DRIVER NOT FOUND
EXCEPTION
instead of an incorrect exception that makes you think it is something else...
In
Is there any sample for connecting Tomcat with Apache via TCP/IP with the
Apache API?
Thanks,
Pablo
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Are you talking about persistent data? I.e. Are you talking about database
concurrency?
-Original Message-
From: Emilio Miranda [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 21 May 2002 5:39 AM
To: Tomcat Users List
Subject: RE: just one edit.
Hi, really apreciate your help. but What I
Hi everyone,
I've encountered a bizarre problem with Tomcat 4 stand-alone, regarding the loading of
graphics. Some of the graphics for my site wil load, while others will not, as if they
weren't located on the server. After thorough experimentation with what's NOT
happening, I'm forced to
oh no , The idea of Øyvind Vestavik is what I am talking about, In fact I
try something like that, but the problems that he mentioned are reals.
Well, I really apreciate your help of all of you, if I find something I will
share the solution :) thanks a lot!
-Mensaje original-
De: Amit
Howdy,
What happens if you tell the browser to not cache images at all, i.e.
always go back to the server?
Yoav Shapira
ChemInformatics
-Original Message-
From: Scott Judd [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 12:38 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4
Scott,
If your server is running on Windows, I believe this is a common connector
issue. It certainly happens to me with mod_webapp. It doesn't happen on
the production Linux server though, so it's not an issue for me.
Andy
-Original Message-
From: Scott Judd [mailto:[EMAIL
Below is a snippet from my conf/server.xml file. From all the docs
I've read, and the examples, this should work. However the tomcat class
loader does not recognize newly compiled class files and still uses the
cached versions.
Can anyone spot a problem with the xml below? It parses
Hi guys,
I have a nagging problem. I am running Tomcat 3.3 with Apache 1.3 on Redhat
7.2, kernel 2.4.17, Sun's Java 1.3.1
The problem I am having is that sometimes Tomcat refuses to spawn new java
thread. If I look at the processes there would be exactly 218 java
processes/threads running.
My files set the NO-CACHE meta tag, and my browser prefs are configured to
always request new information (i.e., no caching of files). The problem is
still present.
scott
From: Shapira, Yoav [EMAIL PROTECTED]
What happens if you tell the browser to not cache images at all, i.e.
always go back
Hi,
The Tomcat 4.0 documentation describes a parameter to turn off caching using the
Resources component. The documentation appears at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/resources.html
However, we haven't been able to find an XML clause to add to server.xml that succeeds
We have seen the same problem on windows too. It happens randomly. I think it is a
problem with the HTTP connector.
-prabhakar
I've encountered a bizarre problem with Tomcat 4 stand-alone, regarding the loading
of graphics. Some of the graphics for my site wil load, while others will not,
Hi Andy,
Thanks so much for the input. My server is running on Win2k Server, so I'll
certainly research the connector issue; however since I'm running Tomcat as
a stand-alone, I'm not using mod_webapp. OTOH, it will save me a lot of time
not to bother with configuring a tomcat-on-apache server
You also need to set forwardAll=false for ALL Listeners you have defined (for
specific Contexts especially).
Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original
All,
I'm new to JBoss/Tomcat and need some help in the setup phase. Below I
included the CONFIG and ERROR that I am getting.
I installed the following:
JBoss-2.4.4_Tomcat-4.0.1
jdk1.3.1_03
I can start the app server by doing run_with_catalina.sh in the
JBoss-2.4.4_Tomcat-4.0.1/jboss/bin
I don't have the answer to why reloading isn't
working, but I can recommend using the tomcat manager
app to remove and install your app to freshen it.
That doesn't require a restart of tomcat.
One important note though, if your webapp's main
directly exists, this won't work. You have to blow
Hello,
I am using the Properties object in a javabean that is being included in a jsp. How
can the
javabean get the base directory of the webserver in order to pass it to the Properties
Object?
Thanks for your help.
Adam
__
Do You Yahoo!?
Hello List,
Does anyone know if there is a log analyzer written in JAVA for tomcat (4 or
otherwise)? I know about Weblizer and AWStats, but they aren't written in
Java...
Thanks,
...Robin
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Hi Raj,
Which jvm are you using? I remember sun jvm 1.3.0 had an issue with
HttpUrlConnection something I worked on. Upgrading to the latested jvm
1.3.1_whatever solved it...
Regards,
Dan
On Tue, 21 May 2002, Ghorpade, Rajendra wrote:
Hi Remy,Peter
After some research I found out that
I don't believe the class loader recognizes any new code other
than servlets and jsp files. If you have new classes called by
servlets, they won't be reloaded. If you search in the archives, you
should find a lot of discussions on this topic.
If you have servlets or jsp's that aren't
Hello,
I'm calling session.getMaxInactiveInterval() on a session after it has
been invalidated.
Tomcat is throwing an IllegalStateException and saying that method
cannot be called on an invalid session. However, the Servlet 2.3 API
docs do not state that IllegalStateException should be thrown
Hi Chris,
Session.invalidate() is being called by Tomcat on session timeout, which is
the same call that is given when you implicitly invalidate the session in
your servlet code. Once session.invalidate() has been called, you no longer
have any session properties to get, including your session
Does anyone know of a bug report that has been submitted for the faulty http connector
on Tomcat 4? After browsing the bug report database, I didn't see anything, and I'd
prefer not to make a redundant submission if there's already an open case.
scott
Sorry for the extra noise to the list -- that should be the faulty http
connector on Tomcat 4 (Windows version).
thanks,
scott
- Original Message -
From: Scott Judd [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 3:43 PM
Subject: Bug report for
See my comments below...
Chris Wilson
[EMAIL PROTECTED]
www.wondergeek.com
-Original Message-
From: Scott Judd [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 3:17 PM
To: Tomcat Users List
Subject: Re: HttpSession invalidate bug???
Hi Chris,
Session.invalidate() is
Hello,
I'm having touble with my HTTP tunnelling servlet and its driving me crazy.
The tunnel works fine for a single user. However when another user connects
to the tunnel the servlet does not perform how I would expect it to.
The problem is, that when another user sends a message. ALL
A quick question without going over all that code:
The problem is, that when another user sends a message. ALL instances
of the
variables seem to swap over to the most recent.
static variables? these get instantiated once per class not per object
and thus would act as you have said
I've not declared any variables as static
-Original Message-
From: Ray Letts [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2002 22:18
To: Tomcat Users List
Subject: Re: ***Please reply as no one on this list has offered ANY help***
A quick question without going over all that code:
The
alright. leaving aside the issue of your subject line...
I, too, am not reading all that code until I get a better idea of what
you're actually asking. For instance, do you know the following?
only ONE instance of a servlet is created in the servlet container. That
means that every request
Without digging in too deeply, is it possible your problem is the cloning of the
'meet' Hashtable in connectUser?
Remember that cloning a Hashtable (and other Collection/Dictionary objects) is a
shallow clone. Only the table itself is cloned, not the objects pointed to by
the table.
I'm not
Chris, I can assure you that this is not a Tomcat issue. Let's try to take
it off-list from here. I have attached some code inline to this post which
will hopefully address, if not fix, your problem. See below:
- Original Message -
From: Chris Wilson [EMAIL PROTECTED]
Sure that makes
Nah, I put meet.clone() as a test, I just didn't take it off again.
I've been told by someone on the list to try using the session to reference
things instead. I'll have to give that a go before I continue asking
questions.
Thank you for a response.
-Original Message-
From: Denis
Hi folks,
Hoping someone can help me:
I'd like to configure Tomcat(4.0.3) so that it will authenticate my web app
users, using LDAP to access an enterprise directory (i.e Active Directory).
Any pointers, examples, document references will be highly appreciated!!
Ilan Shlosberg
When we try to access a .jsp page from a browser, the page/compiler can't
resolve the import of the java.servlet, etc. Can someone tell me where the
javax directory should be located in order to compile .jsp when placing the
.jsp page in a directory below webapps?
Ed
--
To unsubscribe, e-mail:
Hi, please tell me if fine-grained user access control is possible
in J-T, and if so, how to accomplish it.
I'm using Jakarta-Tomcat version 3.3a on a solaris 8 box.
I have access control enabled such that users of my app must
supply a password; this uses a SimpleRealm with a local file
of
Hello,
I'm calling session.getMaxInactiveInterval() on a session after it has
been invalidated.
Tomcat is throwing an IllegalStateException and saying that method
cannot be called on an invalid session. However, the Servlet 2.3 API
docs do not state that IllegalStateException should be thrown
Hi,
I am currently using Tomcat 3.2.3. I am trying to
integrate Tomcat 3.2.3 with IIS on Windows NT.
After following all the guidlines given, I was not
able to open any page.
I have used trouble shooting instructions also and
everything appears correctly as follows
1. isapi.log log file is
Hi all!
I have a problem with splitting a jsp file into
several files and keeping an open tag inside one file
and corresponding closing tag inside another file.
When I used Weblogic app server such a construction
worked properly. I've moved to Tomcat and got the
following error:
2002-05-21
I have a servlet that sets an attribute in the request
object containing a
bean:
...
MyBean bean = new MyBean();
bean.setS(Hello);
req.setAttribute( mybean, bean );
...
And that gets forwarded to my JSP page:
...
RequestDispatcher dispatcher =
Maybe it's best to rely on transactional mechanisms of the database.
Then you don't have to worry about locking in your application. When one
administrator A saves the data, the application could easily check if
data has been updated by any other administrator B (or perhaps a user)
since A began
hello:
I am using Tomcat 4 binary version for jdk1.4 as a Standalone server working
with Struts 1.1, no cluster. Suddenly, i have this exception popped up at
the startup and shutdown of tomcat:
On catalina start up - Standalone server:
[-] Searching for random number generator has been
It seems that this problem is with v4.1.2 also.
log4j:ERROR No appenders could be found for category
(org.apache.commons.digester.Digester).
log4j:ERROR Please initialize the log4j system properly.
Catalina.start: java.lang.NullPointerException
-Original Message-
From: Craig R.
Hi Stuart,
It looks as if you have a problem with instance variables (variables in a
class declared outside a method). All logins are going to be using the same
copy of the code, i.e. same variable space etc. All synchronizing does is
make sure that the threads play nice when modifying the
Hi,
I've posted this quest a few days ago in the mailing list. Anyone know a good
solution for this problem?
I really appreciate any thoughts/suggestion on this problem
ta,
On Mon, 20 May 2002 14:16, you wrote:
I am using form-based authentication. With Tomcat 3.X when the user type
the
I've got Tomcat 4.0.3 on Redhat 7.1 and when I start it I get the usual batch of 20-50
threads. When I shut tomcat down (using shutdown.sh) there are about a dozen threads
that don't go away. Tomcat is definately not running (at least it's not accepting
requests), but the threads are still
this might get you started...
run the following commands and send your output:
netstat -a
lsof | grep java
although that second one might have a lot of outputin which case look
over that to see which files, devices, and ports the JVM has open.
fillup
On 5/21/02 4:58 PM, Cindy Ballreich
This is a documented bug. Apparently if there is a non Daemon thread
running Tomcat won't shut down cleanly.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8700
Subir
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 5:16 PM
To: Tomcat
Hi,
Where is your workers.properties file? It should be seating in your apache
machine.
Thanks
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 4:30 AM
Subject: problem running apache and tomcat on seperate machines
Hi
On Wed, 22 May 2002, Victor Hadianto wrote:
Date: Wed, 22 May 2002 09:40:57 +1000
From: Victor Hadianto [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: tomcat.auth.originalLocation with Tomcat
Hi,
On window environment, apache1.3.24, ajp13, tomcat4.0.3 and jdk1.4.0 should
work no problem except if the load is heavy (I believe there is bugs on the
connector) it will use up 100% after the all process hang. I think this is
not a solid solution to use tomcat-apache on windows if the site
IMHO, you are trying to misuse form-based authentication.
The servlet spec requires that the container cache the *original* request
that triggered the authentication, and then replay it after the user is
successfully identified. From the user experience point of view, it works
exactly
On Wed, 22 May 2002, Victor Hadianto wrote:
Date: Wed, 22 May 2002 10:46:38 +1000
From: Victor Hadianto [EMAIL PROTECTED]
To: Craig R. McClanahan [EMAIL PROTECTED]
Subject: Re: tomcat.auth.originalLocation with Tomcat 4.X
IMHO, you are trying to misuse form-based authentication.
The
Hi,
I'm having a problem with authentication to my webapp when accessing it
through Apache. I have my realm setup in server.xml to use JDBC
(accessing a PostgreSQL database), and based the security constraints in
my web.xml from the security example provided with Tomcat.
- Apache is running
Comments below...
Chris Wilson
Web Developer
Andrews University
[EMAIL PROTECTED]
-Original Message-
From: Scott Judd [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 4:46 PM
To: Tomcat Users List
Subject: Re: [Off Topic] HttpSession invalidate bug???
Chris, I can assure
Hello
Thanks for the info Fabio! I will be using WebSphere version 4 and it has a
connection pool setup in the server admin pages. I have yet to test my code
under but I have set it up (db conn pool) and it seems quit easy. I should
be able to use my data access code (which is pretty much the
Coyote 1.0 RC 2 is now available, and includes:
- HTTP/1.1 protocol handler
- JK 2 protocol handler, with support for the AJP 1.3 protocol
- An adapter for Tomcat 3.3.x
- An adapter for Tomcat 4.x
The only change over RC 1 is fixing compatibility with Tomcat 4.0.x.
Note: The version of Coyote
Hi ,
I'm using Tomcat3.2, jdk1.3.1,Ajp12 connector and jdbc driver for my
application. I'm getting the following error.Any help will help me greatly.
com.interra.web.dao.core.DALException: Error in get(). Error
[Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer:
Hi,
I'm struggling with Tomcat4.0.3 with Apache2.0 these days and I need
help to make it work.
The problem is, /manager of Tomcat 4.0.3 doesn't work (see the error
message below) when it is connected through Apache 2.0, while /manager
works if only Tomcat4.0.3 is used.
Could there be a problem using the web application or sharing the work directories.
Is there a problem with running multiple tomcat instances out of the same base?
Thanx
Ganesh
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
90 matches
Mail list logo