OK, I think I fixed my problem, but I am not sure why this is:
Here is the background on the problem. I have a linux machine (RH7)
running Apache and Tomcat. All seems to be running well. I was able to
create my own context under the
$TOMCAT_HOME/webapp directory and it serves jsp's and
Can anyone tell me why the following error appear almost everytime I shut
down tomcat 3.3-m1?
[tomcat@earth tomcat]$ bin/shutdown.sh
Using classpath: /opt/tomcat/lib/tomcat.jar
Using JAVA_HOME: /opt/jdk1.3
Using TOMCAT_HOME: /opt/tomcat
Stopping Tomcat.
Stoping tomcat on null:8007 null
Log:
Hi everybody,
I had a problem with the tomcat 3.1 release
that I hoped would be resolved by newer releases, but it seems that that never
happened:
Since tomcat is a framework that
integrates Java code it seems natural that tomcat should have a class loader
hierarchy that cleanly
Hi
Can anyone help me with a simple SQL update query.
When I insert a value into my DB using the INSERT INTO statement I have no
problem.
Statement statement = connection.createStatement();
String query = "INSERT INTO parkingPrice (" +
" price " +
")
Richard Seymour wrote:
Is there anything like a "Ten Things you can do to Optimize Tomcat"
document?
I've just dropped a web app onto a dual Pentium Pro box and it's running
unacceptably slow.
I just want to see a list of steps I might take to get the most out of
the box.
The
Hi,
I just don't seem to get it up and working in windows 98 with PWS 4. I
installed the JDK 1.2.2 first, then Tomcat, and set up the windows
registry according to instructions. The ISAPI redirector works, but
trying to open the example page gives an "server or dns not found"
error. HTTP log
I look at the posting about Tomcat IIS related topic and followed the
instructions.
I am confused at "Filter DLL" of configure ISAPI step 8. It seems lots of
other user has that problems too.
Could you please post a detail description for ISAPI steps. specificly more
details
about step 8.
I have made an update page where you place your
news update in a textarea and then SUBMIT the textarea text to a jsp page via
POST method.
However, I want HTML to be supported. I was
wondering what would be the best way to do this. I could escape the text on
submission through javascript
Ryan wrote:
I have made an update page where you place your news update in a textarea and then
SUBMIT the textarea text to a jsp page via POST method.
However, I want HTML to be supported.
It is not very clear what you mean here, Ryan
I was wondering what would be the best way to do this.
Ryan wrote:
I have made an update page where you place your news update in a textarea and then
SUBMIT the textarea text to a jsp page via POST method.
However, I want HTML to be supported.
It is not very clear what you mean here, Ryan
I was wondering what would be the best way to do this.
Ryan wrote:
I have made an update page where you place your news update in a textarea and then
SUBMIT the textarea text to a jsp page via POST method.
However, I want HTML to be supported.
It is not very clear what you mean here, Ryan
I was wondering what would be the best way to do this.
Hi Clayton,
Thanks for the help, but there is still a new row added into the table
"parkingPrice". This is what my applyChanges methos looks like now
public void applyChanges() throws Exception
{
Statement statement = connection.createStatement();
String query = "INSERT INTO
Dear All,
I want to create a XML file with a servlet on the TomCat server. However, I
got the following errors. By the way, I can create the XML file without the
servlet. And I can create an ordinary plain text file with a servlet on the
server too. What's the matter?
Error: 500
Location:
Another thing I forgot to mention is that when doing an update, make sure to
make it more specific. As it sits now, the update statement will modify all
rows in the table (I'm assuming you have more than one row).
- Original Message -
From: "Mick Sullivan" [EMAIL PROTECTED]
To: [EMAIL
Just did this using Cocoon and Xerces DOM.
Xerces is quick for creating the output, take a look at the examples. Just
embed that code in your servlet.
Cocoon will let you create whatever output you want from the XML file, you
will need to create the XSL for each output. Do it smart and you
Here's a small sample that updates a row in my Access database. Make sure
that your data source name (Pawnshop) matches. I used the prepareStatement
so I wouldn't have to worry about quoting strings or formatting dates.
java.sql.Connection con = null;
try {
Hello
I have to develop a web application for my thesis at university.
Therefore I want to place all files of that application (classes, jsp,
etc.) in a seperate directory which is also on another drive.
I am using win2000. The tomcat examples work fine and my own servlets do
the same, as long
On Sun, 11 Mar 2001 19:57:02 +0100, Sven Rixen wrote:
Hello
I have to develop a web application for my thesis at university.
Therefore I want to place all files of that application (classes, jsp,
etc.) in a seperate directory which is also on another drive.
I am using win2000. The tomcat
I was getting this error when I first installed TOMCAT. It had something to
do with the java home... Except my error was when I ran a JSP page... I
changed the java home to the root of my jdk and it went a way... You might
want to start with you java_home variable and then move through the
Hey - thanks guys - I should have posted a followup myself
(which I guess this is :-) and thanks for the JProbe suggestion
Andy, I'll take a look. And yes - using 1.3.
Sean, I haven't seen the blank page thing?? I'll look but I
haven't seen any indications in the logs of exceptions.
I
The "Tomcat-Apache HOWTO" document that comes with the Tomcat 3.2.1 distro
mentions that there are two different ways to configure Tomcat for virtual
hosts; one is to use a different Tomcat for each Apache virtual host and
the other is to use the same Tomcat for each Apache virtual host. In the
OKAY I got it to work..
I added the c:\jdk1.3\bin to my classpath and the arrow went green...
HOW DID I COME TO THIS: http://www.jguru.com/jguru/faq/view.jsp?EID=275211
JGURU HELPED ME
Christopher Cowan
SalesRepCentral.com
Phone: 480.444.2016
Fax: 480.922.8477
-Original
On Sun, 11 Mar 2001, Tagunov Anthony wrote:
On Sun, 11 Mar 2001 19:57:02 +0100, Sven Rixen wrote:
Hello
I have to develop a web application for my thesis at university.
Therefore I want to place all files of that application (classes, jsp,
etc.) in a seperate directory which is also on
Good thread. This is an extremely frustrating issue. As is apparent from
this dicussion, other threads, and our own experience, it is not easy or
pretty integrating the latest stable Tomcat (3.2.1) into a full J2EE
environment.
I am going to give the solution suggested below a try in our
Hello
Yes Anthony, you where right. I created the same structure under the new
path and tomcat seemed to get the servlet. Unfotunately he now complains
about an Error 500 (Internal Servlet Error) with a long list of errors.
I've no idea what this is all about. The servlet works perfectly under
Hi Chandra.
Here is the full explanation of this by the Apache people:
"Up until now we have not discussed Tomcat as a server add on, instead we
have considered it as a stand-alone container and discussed how it can be
used. There are however a few problems with this picture:
* Tomcat is not
I installed Apache and Jakarta-Tomcat on my Linux box
running RH 7. Basically, I created a new context
in the document root directory and tried to write my
own servlets and jsp pages. Well, servlets work OK,
jsp pages don't (whether I am using the Tomcat server
(8080) or the Tomcat via Apache).
Hi,
I am using Tomcat (3.21), mod_jk and Apache 1.3 and I want to put
my JSPs in the DocumentRoot directory of the Apache.
E.g. I have a DocumentRoot at /var/www/ and I have put the JSP
'test.jsp' in there, but Apache (or Tomcat) does not found it
(404)!
With mod_jserv that was possible, but
Hello, evrybody!
Sorry for disturbance..
Still has 3.3m2 been released?
Is available as a tarball already?
Or only from cvs?
Thanx in advance, Tagunov Anthony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Peter Adamek wrote:
I installed Apache and Jakarta-Tomcat on my Linux box
running RH 7. Basically, I created a new context
in the document root directory and tried to write my
own servlets and jsp pages. Well, servlets work OK,
jsp pages don't
Internal
Hi,
This is the modified batch file of tomcat 3.2 .1
I was successfull, in modifying the tomcat batch file,
so that tomcat uses "xerces.jar" instead of "xml.jar"
.
I would request the Apache development team to
distribute this batch file instead of the "tomcat.bat"
batch file supplied.
This will
Hi,
This is the modified batch file of tomcat 3.2 .1
I was successfull, in modifying the tomcat batch file,
so that tomcat uses "xerces.jar" instead of "xml.jar"
.
I would request the Apache development team to
distribute this batch file instead of the "tomcat.bat"
batch file supplied.
This will
You don't have to put it in the classpath. Setting the JAVA_HOME system
environment variable is enough (let it point to the directory where your
JDK is installed, not the /bin or /lib subdirectories).
Of course, if you rather want to put it in your classpath, that's also
ok.
Regards, Stefan.
HAVE YOU HEARD OF HUMAN GROWTH HORMONE (HGH)???
Released by your own pituitary gland, HGH starts
declining in your 20s, even more in your 30s and 40s,
eventually resulting in the shrinkage of major
organs-plus all other symptoms related to old age.
THIS CAN NOW BE REVERSED!!! IN THOUSANDS OF
See intermixed.
On Sat, 10 Mar 2001, David Wall wrote:
The same class loader is used to load all classes within a particular web
application, but there is more to the story than that. See below.
This is true for both JSP pages and for servlets, including those servlets
loaded at
On Sat, 10 Mar 2001, David Wall wrote:
ACK, now that I've solved the JCE provider problem, the next one to rear
itself is JNDI and JMS.
With JMS, you use the JNDI InitialContext object that includes the class
name of the provider of the JMS. Then, JNDI uses that to instantiate the
On Sun, 11 Mar 2001, Andrew Gilbert wrote:
Good thread. This is an extremely frustrating issue. As is apparent from
this dicussion, other threads, and our own experience, it is not easy or
pretty integrating the latest stable Tomcat (3.2.1) into a full J2EE
environment.
I am going to
Hi,
If you installed Tomcat from one of Henri's RPM's then this will certainly
be true as the RPM install process is Blackdown specific. It sets paths and
classpaths for blackdown only if not set before install. I am currently
working on a script to automatically detect the JDK installation
Hi all,
Using the latest Sun JDK is also a great way to speed up Java built
programs. I used to have Forte for Java, a huge java program, running on JDK
1.2 and its performance was severely lacking to say the least. I now have
JDK 1.3 whose java runtime has Hotspot technology and it runs super
lets say that I make a servelet and put it in this
directory-C:\windows\desktop\TOMCAT\webapps\examples\servlets\TEST.html
and the server.xml is configured like this:
Context path="/examples"
docBase="webapps/examples"
crossContext="false"
On Sun, 11 Mar 2001 [EMAIL PROTECTED] wrote:
lets say that I make a servelet and put it in this
directory-C:\windows\desktop\TOMCAT\webapps\examples\servlets\TEST.html
and the server.xml is configured like this:
Context path="/examples"
I have all my java files in various subdirectories
under /home/jsp
Ihave several virtual hosts so to organize
them i put then in separate folders
for example,
/home/jsp/abc
/home/jsp/def
in my classpath I have included the
directory/home/jsp/
I have made a 'package def;' for my domain
I am trying to set up a JDBC Realm on tomcat 3.2.1. After modifying the
server.xml file (shown below), tomcat will no longer start.
I am quite new to tomcat and Linux, in genral.
I have not modified any of the other xml files (the web.xml for my
application, for instance).
I have set up my
hello
i was wondering if anybody could help me out?
i have written two classes (one is a bean that is
called by a jsp) with one calling the other to
instantiate it.
the calling class though does not seem to be able to
recognise the class
being called as it spits the error out at me when i
try
Jim Canniff writes:
Does anyone know what the current law is regarding exporting products with
SSL? We're building an application that will be deployed in Taiwan and in
other non-US sites. I've read various things ranging from: can't export SSL
at all to can only use 40 bit (56 if
Hello
I am trying to run the Apache JServ module with Tomcat,i have entered
this url
http://localhost:81/examples/servlet/HellowWorldExample
but it gives error page not found.
My Apache web server is runing at
http://localhost:81
and helloworld example is runnning sucessfully,using the
If you remember, I and at least one other person were trying to set
tomcat up so that a URL of the form
http://my.domain.com/blah
would invoke a specific servlet in the "blah" context. We were having
trouble doing this, and the closest we could come was using
Hi,
If you want to know exactly how the ApJServMount directive is used you
should take a look at the documentation included with JServ (at
java.apache.org).
greets,
Kenneth Westelinck
From: Milt Epstein Reply-To: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] Subject: Servlet via URL of the
hi,
Well JServ, is an old extension of tomcat.
you need to get mod_jk module . u can get it , from
the
same place as u downloaded the tomcat files.
If u are installing them, on windows, u can get the
dll and instructions at this site:
www.geocities.com/donmalla/ATS/apache-tomcat-install.html
Dear Tomcat user group members (and the rest of you Tomcats out there),
I will soon be writing a book for Sam's publishing entitled "Tomcat
developers guide". This book will cover how to program JSP pages and
Servlets and how to deploy them on a system running Tomcat. It will cover
Tomcat from
Many thanks for replying. We have downloaded mod_jk module from the URL
you mentioned and hav copied it to the modelues folder of apche root.But
when we start Tomcat no file with name "mod_jk.conf-auto" is created in
the folder Tomcat\Conf . Do we need to register this dll file?
Waiting
On Mon, 12 Mar 2001, Kenneth Westelinck wrote:
Hi,
If you want to know exactly how the ApJServMount directive is used
you should take a look at the documentation included with JServ (at
java.apache.org).
Thanks for the pointer, but could you be more specific. I looked
through virtually
Tomcat
4 hasa goodclassloader implementation and the webapp classloader is
not polluted, like it is in Tomcat 3.x and many other servlet containers.
-david
-Original Message-From: Henning Blohm
[mailto:[EMAIL PROTECTED]]Sent: Sunday, March 11, 2001 3:52
AMTo: [EMAIL
Milt,
I suggest you download jserv (tar.gz archive) from:
http://java.apache.org/jserv/dist/. There is a lot of documentation
included.
regards,
Kenneth
From: Milt Epstein [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Servlet via URL of the form
Hi,
Just wondering if it's possible to get built-in form based authentication to
work without the user actually trying to access a protected resource? I want to
have a login box on the first page that users can use to authenticate
themselves at my web-site. As you can guess simply specifying
I'm so bewildered here. I'm just now setting up Tomcat on a Win98 machine. Tomcat is working great for the examples that were sent but I cannot get it to recognize a java class that I built just to put in a jsp. The only thing referenced about the class is the class. I've put the class in the
looks like jdbcrealm is not tip-top finished - it's malfunctioning all the
time.
my idea is that tomcat tries to tell you that a connetionName is missing -
on the other hand docs say it's optional... anybody any ideas?
vVolf
-Oryginalna wiadomooe-
Od: eric chacon [mailto:[EMAIL
-Oryginalna wiadomooe-
Od: Thomas Riemer [mailto:[EMAIL PROTECTED]]
Most likely you are missing a JkMount statement.
You need to tell your web server that /j_security_check exists.
JkMount /j_security_check ajp12
where do i put that? mod_jk.conf? do i have to restart apache?
58 matches
Mail list logo