Hi there,
I just upgraded to Java 1.3 but now my tomcat won't run, complaining
that it wants to see jre 1.2 instead of jre 1.3 (which it finds in the
registry). I tried to re-install tomcat, both the latest stable and
milestone builds, but to no avail. I giess I am about to start
uninstalling
High Craigh,
Didn't work. I still can do http://localhost:8080/wlss/another_page.jsp
http://localhost:8080/wlss/another_page.jsp , which is not SSL, and get
answered. I was expecting a NOT FOUND error on port 8080. Is this the
expected behaviour ?
The logs don't show anything either.
Version
William Brogden wrote:
Alexander ten Bruggencate wrote:
for the past 3 days i've been trying to get a jsp to work with an ejb of
mine.
the only problem is that jsp:setProperty / and jsp:getProperty
/ won't work.
tomcat reports: org.apache.jasper.JasperException: Attempted
Hi Maik,
you have to correct your httpd.conf section DocumentRoot to point to
webapps/ROOT.
Fritz
Maik Wiege schrieb:
Hello,
I do not get it with this servlet.xml...
This is what I want:
I put all my static-files and jsp's into the TOMCAT_HOME\webapps\ROOT -
directory and some
since i tried to setup and run tomcat on another machine,
i'm getting this error in several jsp files:
500 Internal Servlet Error:
java.lang.IllegalStateException: Response has already been committed
at
actually I tried that for my application under NT and added an absolute path for
the context.
The problem with Tomcat 3.1 is, that it searches the web.xml file for the
context under TOMCAT_HOME/webapps/MY_ABSOLUTE_WEB_APP_PATH
but serves the files correctly from the given
Hi,I posted the attached error description
a few weeks ago but didn't get any response. Yesterday I tried tomcat 3.2-b7 and
the error seems to be still in there. It seems that tomcat does not
remove all previously added contexts if it is shutdown. This is a major problem
because if the
I thought I could get the remote hostname in a Servlet
or jsp file. The following returns nothing for getRemoteHost():
FORM
HostIP="%= request.getRemoteAddr() %"
INPUT TYPE='text'
NAME='hn'
VALUE="%= request.getRemoteHost() %"
SIZE='15'
/FORM
/html
I was
Hi all!
I have written a servlet that uses a StyleSheet to produce an HTML Page.
While the app works fine in IE5, NS4.75 returns the following error
Message:
Error: 404
Location:
/examples/servlet/D:/jakarta-tomcat/webapps/examples/Web-inf/classes/spc.css
I use absolute paths everywhere
-Original Message-
From: Philipp Zuderell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 9:37 AM
To: [EMAIL PROTECTED]
Subject: Netscape can't find css
Hi all!
I have written a servlet that uses a StyleSheet to produce an HTML Page.
While the app works fine in IE5,
Apologies if a blank reply went before this one - bloody machine
is acting bitchy.
Two things I can think of, either of which might be useful or not.
1. I seem to recall there being a problem with Netscape and CSS
file locations. IE and Netscape handle relative pathing to
CSS files
Hi Sam,
I had the same problem and could fix it by making some changes in the
registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.3"
I just upgraded to Java 1.3 but now my tomcat won't run, complaining
that it wants to see jre 1.2 instead of jre 1.3
I have written a servlet that uses a StyleSheet to produce an HTML Page.
While the app works fine in IE5, NS4.75 returns the following error
Message:
Error: 404
Location:
/examples/servlet/D:/jakarta-tomcat/webapps/examples/Web-inf/classes/spc.css
That D:/ looks extremely odd. Why is
Can someone tell me what the preferred way is to get form data to an
ENTERPRISE javabean?
as jsp:get- setProperty .../ only work on a regular javabeans
regards,
-Alexander.
hi,
i uses Apache + mosssl under Win32.
Therefor i need a -DEAPI-compiled version
of ApacheModuleJServ.dll.
Unfortunately i have no MS Visual C++ Compiler
available, so i'am not able to do this by myself.
many thanks in advance!
basti
Hi
Im doing a project using JSP.
I have installed Jbuilder and I am doing the HTML pages using JBuilder.
I am going to convert the HTML pages to JSP pages once I have connected
TOMCAT to the HTML pages. I have installed Tomcat and all that happens when
I run (bin\startup) it is that a new
Title: getting mod_jk to compile on solaris
I'm not subscribed to this group, but I recently had a problem with getting mod_jk to compile on solaris
I noticed a lot of people having the same problem but getting a reply back that this was because the code for mod_jk was buggy. This is
Just look at http://community.borland.com/article/0,1410,22057,00.html
Dom
- Original Message -
From: "Mick Sullivan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 16, 2000 1:38 PM
Subject: Help On Running Tomcat
Hi
Im doing a project using JSP.
I have
Hello Sam,
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.3"
You changed the registry key back to 1.2? Changed something else?
No, I changed it not back, I changed it to "1.3". Perhaps you should check the
"CurrentVersion" Key in "Java Developement
From the frequently running READ ME FIRST mail:
To unsubscribe from this list
mailto:[EMAIL PROTECTED]
To stop subscription for an alternate account
(e.g. [EMAIL PROTECTED]) send an eMail to
[EMAIL PROTECTED]
-Ursprüngliche Nachricht-
Von: Wolfgang Egger [mailto:[EMAIL
Jens Rehpöhler wrote:
Hello Sam,
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.3"
You changed the registry key back to 1.2? Changed something else?
No, I changed it not back, I changed it to "1.3". Perhaps you should check the
BTW:
I'm using Tomcat 3.1 on NT4.0 with Java 1.2 __or__ 1.3. It works with both
version very well. I had the same problem and I changed the registry, so it
shows: "CurrentVersion"="1.3". Afterwards tomcat ran without any problems.
Regards
Oliver Kurt
-Urspr$B!&(Jgliche Nachricht-
Von:
I'm trying to slice up the GTest.java ant task that comes with the tomcat
distribution. Since we are using struts and placing some things in the
session (tho' we try to minimize that) any of my actions/pages I request
that rely on stuff being in the session error out.
What I was hoping to do
Hiya,
is there a way to override the configuration inherited from
$TOMCAT_HOME/conf/web.xml? In there, a default JSP handler is
initialized. I don't want that, but I don't want to modify the global
configuration either (other webapps might depend on it).
Please note that simply not using the
ingo
try installing a web.xml under the webapps/APP_NAME/WEB-INF directory and plugging in
your startups - i've not done this for JSP, only servlets, but it works OK for me -
regards, Paul
[EMAIL PROTECTED] 11/16/00 03:45PM
Hiya,
is there a way to override the configuration inherited from
We've recently had a similar problem with Word. It seems that when a .doc
link is clicked, Word is handed the request to download. It establishes its
own server connection and then proceeds to fire the server with numerous
HTTP requests. On examination, it seems these are Word probing for
We typically use custom tags or servlets. It is generally considered a
bad practice to use "Entity" beans from a client. It is suggested to
use a session bean to fron the entity beans, then use regular javabeans
to transport data back and forth. So, I would suggest you use a regular
bean to
I posted a patch a few days ago to fix this problem. In most cases Tomcat
shutsdown every other context starting with the first one added so you might
be able to adjust the order of the contexts in your server.xml file to make
sure that it hits the ones you really need shutdown.
If you can
I have 2 servlets, SetValue (which stores a value in the session object) and
GetValue (which returns the value). I want the user to log in to access
them. My web.xml file looks like this:
web-app
security-constraint
web-resource-collection
Hi,
I apologise for this offtopic message...
Does anyone know how to retrieve a RecordSet (using CallableStatement) from
an ORACLE stored procedure ?
Can you point me to documentation/HOWTOs ?
Thanks,
diego.
"Lacerda, Wellington (AFIS)" wrote:
web-app
security-constraint
web-resource-collection
web-resource-namea/web-resource-name
url-pattern/wlss1/*/url-pattern
Change this to "/*". The url-pattern setting is relative
to your context, not to the server root.
AFAIK, the spec
Probably a beginners question - but I couldn't find much help in the FAQ
on this problem.
Well, this is my setup:
[within httpd.conf]
LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
IfModule mod_jk.c
JkWorkersFile /icemark/opt/tools/conf/workers.properties
To whom it may concern,
I've spent more than 20 hours now installing, configuring, and
integrating Apache, Tomcat, and Cocoon for a college project that I am
working on. I have carefully read over the Tomcat-Apache HOWTO. I am
almost there - I know it. Here is the current problem:
Hi
A new problem appeared recently on my Tomcat 3.2B6 + Struts 0.5 application.
I am experiencing more and more "Connection reset by peer" exceptions.
Could it be:
- A bug in my code, though I don't remind big changes and it seems to appear
in all the pages, even those untouched...
- A new
Hi Sam,
If you are here today, I would like to explain you a problem that I have
with frame.
I'm using my PHP with Tomcat and the thing are doing well. The only thing
what not really work are frame.
I have an "index.html", something like this, for example:
html
head
title/title
/head
No, I'm sorry, it failed again. (thanks anyway)
Maybe I found a bug ?
Wellington
-Original Message-
From: Kurt Bernhard Pruenner [mailto:[EMAIL PROTECTED]]
Sent: 16 November 2000 17:13
To: [EMAIL PROTECTED]
Hi there,
How can I config the Tomcat 4.0 with Apache together?
I did that for Tomcat 3.0 but not so clear for 4.0
Thanks for any help
Marco van Meegen wrote:
sounds like I've got exactly the same problem. I didn't follow the thread in
the dev-mailinglist,
so I'm sorry if I repeat problems already solved there...
I'd like to set up exactly the same thing and found the same source in the
Professional JSP-book.
The
thank you, i'll look into it.
-Alexander
- Original Message -
From: "John Ellis" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 16, 2000 4:58 PM
Subject: Re: form data to ejb
We typically use custom tags or servlets. It is generally considered a
bad practice to
I have problem in building mod_jserv.
I am using linux, and get tomcat 3.1 binary source to build tomcat.
tomcat runs smoonthly in standalone mode, and then i would like to
integrate it with apache.
I can't find the directory "jakarta-tomcat/src/native/apache/jserv/" in
my jakarta-tomcat
The following code should work if your database's root password is empty:
Class.forName(dbDriver).newInstance();
connPool[i]=DriverManager.getConnection("jdbc:mysql://"+dbServer+"?user="+db
Login);
As for connecting with a non-empty password, I don't know how to do that.
If you figure it out,
Dave DeHaan wrote:
- Compatible with Java Servlet Development Kit (JSDK) 2.0
This is likely to be the key to your problem. Several major things from the Servlet
2.0 API were deprecated -- for example, the ServletContext.getServlet() method now
returns null, and you can no longer use an
YueMa wrote:
Hi there,
How can I config the Tomcat 4.0 with Apache together?
I did that for Tomcat 3.0 but not so clear for 4.0
It's not clear because web connectors for Tomcat 4.0 do not exist yet.
They are planned for the next milestone, but no guarantees yet.
Thanks for any help
"Lacerda, Wellington (AFIS)" wrote:
No, I'm sorry, it failed again. (thanks anyway)
Maybe I found a bug ?
Can you send me (or re-send if you've already done so and I missed it) a simple
test webapp that illustrates this? It worked for me in every test scenario I
can come up with, so there's
I seem to have my problem solved, but let me get this back on the mailing
list for the benefit of the archives --
I was having trouble accessing servlets that reside in my own packages. My
test cases could access .class files in:
/usr/local/jakarta-tomcat/webapps/myWebApp/WEB-INF/classes
Its all of because where your code gets placed.
That is, the useBean tag is translated into code which comes before any of
the % % code in the body of JSP.
So when you use setProperty it is transalted into code that comes before
your % % code but there is no bean at that point.
Instead of
Zebadiah Kimmel wrote:
The following code should work if your database's
root password is empty:
Class.forName(dbDriver).newInstance();
My problem is the driver isn't being loaded.
Configuration problems, I believe...
connPool[i]=DriverManager.getConnection("jdbc:mysql://"+dbServer+"?user="+db
Title: RE: mod_jserv.so problem
You have to use the source tomcat version for 3.1. The binary version does not have the build directories.
http://jakarta.apache.org/builds/tomcat/release/v3.1/src/
/===\
| Micky Mimo |
| Systems Specialist |
| (781) 457 -
For Tomcat 3.2b6 I used:
my setup:
Apache 1.3.12
RH 6.2 Linux 2.2.14-5.0
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/DatabaseName?user=dbuserpassword=dbpassword");
put the jdbc drivers in the classes folder of your
app
[EMAIL PROTECTED] wrote:
[snip]
Now, take a class, SomePackageClass, declared to be in package testapackage
within its .java code file. Its compiled form is in the following file:
/usr/local/jakarta-tomcat/webapps/myWebApp/WEB-INF/classes/testapackage/SomePa
ckageClass.class
I would
Can anyone tell me if and how (prefereably in a Tomcat configuration file)
I configure Tomcat not to use cookies ?
In JServ it is done as follows:
zone.properties:#session.useCookies=false
I have not found a way to configure this in Tomcat 3.1.
Thank you,
Annette
Annette Strupp-Adams
Stefan Haustein wrote:
Hi,
does anybody know how to convince
Tomcat to process "true" HTTP 1.1 requests
having the full URL in the request line, e.g.:
POST http://www.foo.org/bar HTTP/1.1
If I try this, I get a 409 error.
POST /bar HTTP/1.1
works fine, but I have a client that
Hi,
I see the only possibility with servlet programming
i.e implementing the single thread model.Can U please
elobarate on the ptoblem with single thread model.
Ravi
--- Lauber Christof [EMAIL PROTECTED] wrote:
How must I configure the jakarta-tomcat 3.1 that
just one Instance per
servlet is
Noel Morgan wrote:
For Tomcat 3.2b6 I used:
my setup:
Apache 1.3.12
RH 6.2 Linux 2.2.14-5.0
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/DatabaseName?user=dbuserpassword=dbpassword");
put the jdbc drivers in the classes
Greetings!
I have installed the latest production version of Tomcat,
and included is the Ant utility. I've followed the
installation instructions to the "T", and am now at the
point where I need to use the build script (I'm on linux)
to product the final output before testing my servlet.
When
Title: RE: mod_jserv.so problem
I am trying to install the adapter (mod_jserv.so) for apache + Tomcat. I keep getting the error below. I built the file mod_jserv.so from the source of tomcat 3.1. I installed the file mod_jserv.so in the libexec directory and added the include directive to
Tony,
I tried this but I still get the same error...
Is there any other
configuration to the web.xml?
Have you tried unpacking the jar under your /WEB-INF/classes directory?
You'll end up with something like classes/org/gjt/mm/mysql/
Either that or putting the jar (not just the jar's
Here's my humble attempt to explain. The single thread model says to the
servlet container that your servlet should only be run on one thread only.
Multithreading in the server is then implemented by creating multiple of
your single thread model servlets, one for each thread that is required to
Title: RE: mod_jserv.so problem
Correction the error is:
Starting
httpd
: Syntax error on line 13 of /usr/local/tomcat/conf/tomcat.conf
Cannot load /etc/httpd/libexec/mod_jserv.so into server:
/etc/httpd/libexec/mod_jserv.so: cannot open shared object file: No such file or directory FAILED
These are a few problems/questions I'm having upgrading and using Tomcat
3.1 to 3.2 with Ajp13 instead of 12 (for SSL).
1) As for SSL security can apache handle the security and THEN pass off the
request to Tomcat? (the pass to tomcat would be internal behind a firewall)
2) I've noticed when
dear tomcat-user(s),
got the same error as a fellow who's problem is in the archive (#36), but
someone closed it without stating resolution.
the problem is "unable to compile class for JSPerror". i'm using java 1.1.
i'd appreciate any help.
thanks in advance,
maryellen rothberg
Tony Keith wrote:
Once I copied the Mysql classes to the /WEB-INF/classes directory it
worked.
I also was specifying the wrong path for the driver.
I had org.mm.mysql.Driver instead of org.gjt.mm.mysql.Driver.
Thanks for everyone's help.
Noel Morgan wrote:
For Tomcat 3.2b6 I used:
my setup:
I have been trying to retrieve additional field information from the FORM
login page without success. Basically I am using the following login.jsp but
could not get "my_field".
html
body
h1Login page for examples/h1
form method="POST" action="j_security_check"
input type="text"
"Xia, Alex" wrote:
I have been trying to retrieve additional field information from the FORM
login page without success. Basically I am using the following login.jsp but
could not get "my_field".
html
body
h1Login page for examples/h1
form method="POST" action="j_security_check"
As I was perusing the Tomcat-Apache HOWTO, I have run across what I
believe to be a slight discrpency. In the discussion about configuring
Virtual Hosts using the same Tomcat VM for all Virtual Hosts,the example
provided for httpd.conf and the example for server.xml are exactly the
same. I'm
Hi,
I place the MySQL drivers in my WEB-INF/lib directory (in their JAR
file) and I make sure that it is in my classpath. You can check your
class path if you place this code into a servlet (it is writing to the
response's writer):
Properties sysProp = System.getProperties();
Enumeration
Gang,
I have just started a project using Tomcat, and ran across the
How-To page concerning the Jakarta NT service, jk_nt_service.exe. Is this
available now? I could not find it in the win32/i386 folder of the Tomcat
download area. I would really like to use this if possible, thanks.
Hi,
TCversion: 3.1
Java version: "1.3.0-C"
OS: Win 2000 (SP 1)
Has anyone else tested the Example Basic
Authentication Area (see TOMCAT_HOME\readme.txt)
in the example web app?
I placed an index.html in
'/examples/jsp/security/protected'directory and triedthe following
URLs:
1:
Miles Daffin wrote:
Hi,TC
version: 3.1Java version:
"1.3.0-C"OS: Win 2000 (SP
1)Has anyone else
tested the Example Basic Authentication Area (see TOMCAT_HOME\readme.txt)
in the example web app?I
placed an index.html in '/examples/jsp/security/protected' directory and
tried the following
I've been attempting to configure IIS to use Tomcat 3.2. This is fairly
easy to do when it isn't in-process, but when I tried to configure it
using the in-process-howto.html document I ran into a problem that maybe
someone on this list might be able to help me with.
The in-process doc states:
Regarding item 2):
When you unpack the distribution of Tomcat it comes with several WAR files
(inlcuding test.war admin.war and examples.war). You have to:
- get rid of the WAR files
- remove the corresponding directories
- and of course, remove the contexts from xerver.xml
Julio
-
Hi Michael,
I am also working on the mod_jk. My question is, do you uncompress both dowonload
files (binary and source code)
into some directory "jakarta-tomcat"?
Or they have to be uncompressed into different directory?
Thanks,
Connie
-Original Message-
From: Michael J. Suzio
Hello,
I am having a hard time getting tomcat to perform properly. When I attempt
to start tomcat in the background using bin\startup I get the following
message:
The system cannot find the path specified.
I am using Windows NT. Any ideas? When I run bin\tomcat start from the
Title: RE: mod_jserv.so problem
I believe you need the following directory scructure. This is what the README file says for the source in jakarta-tomcat
How to Build
First, you must have the jakarta-ant workspace checked out parallel
to this workspace (jakarta-tomcat).
I've searched the site, the FAQ, and what of the mailing lists
I could find, to no avail.
I am having great difficulty finding info on access logging for
Tomcat.
I am running Tomcat solo, with Cocoon. I am *not* running
it along with Apache server, as I am only serving XML/WML
pages- nothing
Thank you VERY much for the fast and helpful answer!
-Rick
- Original Message -
From: "Craig R. McClanahan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 16, 2000 4:28 PM
Subject: Re: Tomcat server access logs?
Rick Castello wrote:
I've searched the site, the
Here is something that I had to write up for a recruiter to test the knowledge of
Web Architect/DBA candidates
I never got a thank you either :(
Perhaps I made an error in these QAs...
Begin here:
Q: Please write 2 lines of 'java' code that will execute an "Oracle
Hi,
I have been using tomcat for a while with some success. I would like to start doing some more funky things with SSL/HTTPS. I understand that I need Tomcat 3.2 and AJP 1.3 to get this working.
My question is, does anyone know how to get IIS talking to tomcat via AJP 1.3?
I see that there is
As the subject says, is there an archive of this list that can be searched.
I don't like asking questions that have already been answered before, so I
would like to first look at what has been said in the past.
Anyways, I do have a question. I'm running Tomcat 3.1 standalone and I'm
getting the
Hi guys,
I have been trying to replace the JSDK web server backend with Tomcat,
and I have a message brokering servlet which works fine on JSDK when
applications connect to it. This servlet brokers both plain and multipart
messages. Now, as I mentioned it works fine on JSDK, on Tomcat, only
Dear All,
Could anyone suggest whether there is a way to allow multiple instance of
tomcats with SSL so that the developer could develop under different ports with
SSL enabled?
e.g. http://develop.someserver.com:8001
http://develop.someserver.com:8002
There are possibly three archives. Check:
http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2
Julio
- Original Message -
From: Brett Bergquist [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 16, 2000 8:39 PM
Subject: Is there an archive of this list that can be searched
This is probably a silly question but I have done my best to solve
this myself but have had no luck...
Using JServ I knew where my System.err and System.out println output
went and I could tail the logs. But with Tomcat I seem to be fumbling
around in the dark!
If I reboot Tomcat inside a
See comments below:
Chris Huisman wrote:
Hello,
I am having a hard time getting tomcat to perform properly. When I attempt
to start tomcat in the background using bin\startup I get the following
message:
The system cannot find the path specified.
I am using Windows NT. Any
Tony Keith [EMAIL PROTECTED] wrote:
snip
Noel Morgan wrote:
For Tomcat 3.2b6 I used:
my setup:
Apache 1.3.12
RH 6.2 Linux 2.2.14-5.0
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con =
I've installed Tomcat 3.1, with 3 virtual hosts.
Tomcat stops suddenly very often. Then I noticed, it has created so many instances.
When I typed ps -A | grep java | wc, it shows 48 instances.
Can anyone help me out?
Regards
Benjamin
86 matches
Mail list logo