I have been in contact with him as well.I suggested re-routing to a
trash folder. But in English though.
Craig
His initial reply: (I told him this didn't work)
sorry ... i take ´Messages with Subject ´HomXpage´ are not accepted here
(HomXpage.HTML.vbs)´
is t
Just one more comment on this. I have experienced a similar situation on
Linux running Tomcat 3.2.1 and Netscape 6.0. (It doesn't matter whether
Netscape 6.0 is local or remote) In coding a page with 1 pixel gifs which
are resized to form lines and boxes (memory saving trick) Everything is fine
o
ase
instance running?
-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 4:13 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat hangs when my ORACLE database instance is running
Oracle 8i includes its own apache server and Jserv. Jserv has a po
Oracle 8i includes its own apache server and Jserv. Jserv has a port
conflict with Tomcat's ajp12 (8007 I believe??). Stop the
Oracle/Apache/Jserv web server and you will not have the problem. It starts
by default when you start Oracle. You must reassign the port for one or the
other if you want
Sounds like you are using Windows and double clicking on the startup.bat
file
Open your dos shell.
type java -version http://localhost:8080/) check that a different jdk was not inserted in
your classpath before the one you want. Check that permissions weren't
changed.
Regards,
Craig
-
ded for my most recent install. (mod_jk.so-eapi)
I really appreciate your hard work with Tomcat. You and Craig McClanahan
are heroes here.
Best Regards,
Craig O'Brien
-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 12:26 AM
To: [EMAIL PRO
Hello,
Those are similar numbers to what I have been getting on Intel platforms
with Tomcat3.2.1. You can boost Tomcat to about 90 pages per second using
ajp13, mod_jk, and reducing the log level to warn rather then info. (of
course your Servlet code makes a difference) There is actually a bug i
You really need to build your own mod_jk for it to work. It will be
different with nearly every system configuration. I use Mandrake 7.2 as
well and the binary from Jakarta-Apache does not work with this system.
Our friend Adam Fowler has built one for Mandrake 7.2 which works and you
can get i
Hello,
I don't use mod_jserve but use mod_jk.so which is faster. However, Perhaps
your new directory was created by root and the apache group needs to be
given access explicitly.
Just a thought.
Regards,
Craig
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
Hello,
I answered this question yesterday.
This is the default behavior for apache web server configured with mod_dir.
(standard configuration) If there is no Directory Index page found it will
display a listing of the contents of the directory.
Either place a default inde
This is the default behavior for apache web server. If there is no Directory
Index page found it will display the page that you are seeing. Either place
a default index.html page in the directory or modify the apache conf file to
route to the page that you desire. You can have many pages listed s
Hello Nottebrok,
Are the examples working with port 8080?
http://localhost:8080/examples/jsp/index.html
If not, are you using an SDK as jsps need the compiler javac? Check your
classpaths.
Your redirect appears to be working but you have a page/server config error.
If everything is working with
Look at the header of the email that you receive. You are subscribed by the
email address in the Delivered-To field. Unsubscribe using that email
address.
You are using: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) View
options to see the header.
Regards,
Craig
> -Original Messag
posed to Lists and Maps. :)Besides, there is one cache I'm
using that could grow during runtime before doing a full refresh from the
database.
Thanks,
--jeff
- Original Message -
From: "Craig O'Brien" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
What do you mean? If you mean that the dos window stops printing info at
that point, then you are up and running right there. With windows, that
is your system.out. Check your tomcat at that point. http://localhost:8080
I think that you will find that you are up and running. With windows
Hello,
I'm not really sure why you are doing what you are doing but if you need key
value pairs that can be called arbitrarily you may consider a HashMap rather
then a HashTable. Perhaps you are creating a data or object pool..? If
everything is truly "read only" by the servlets it doesn't seem
An ArrayList will provide better performance but it is not synchronized.
ArrayLists are part of the Java 2 framework. As long as you do not need
your application to perform in a pre Java 2 environment it is my opinion
that the ArrayList is an attractive option. The methods of dealing with
ArrayL
Just call your servlet as http://hostname/servlet/yourservletname
Perhaps simpler then you thought. You will never call the WEB-INF directory
in a url. That is for internal routing. You didn't tell apache to route to
a WEB-INF directory did you?
If that doesn't work simplify more and call
http
I do not know why you would want to do this other then for testing but --
change your startup script for tomcat to include the option java -classic
and you will be using green threads. Be aware that it is now easier
to create a deadlock situation. I believe that it would be a big mistake to
s as I can't get the examples to work.
Not sure what to do now, please help !
Thanks
Hamant
-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Monday, 23 April 2001 11:37
To: [EMAIL PROTECTED]
Subject: RE: Tomcat & Windows 2000
More information is n
If you are ever in doubt, use the complete path to your html file.
(http://www.yourdomain/yourpage.html) That should always work. Otherwise
you may have a mapping problem with your mod_jk or ..? You can access your
graphics like this as well, ... Hell, even put your graphics on a different
serv
More information is needed if anyone is to help you.
The documentation in the tomcat download is very good. Tomcat works well
with Windows 2000 and IIS and many other operating systems. Tomcat is 100%
java.
If you haven't found the documentation it is in the doc directory. Print it
out and fo
to make to
see the kind of increases you are talking about?
Hunter
--
Hunter Hillegas
[EMAIL PROTECTED]
Who is Sharky Towers? What is BroTools?
> From: "Craig O'Brien" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 20 Apr 2001 06:03:05 -0700
> To: &
Isapi_redirect.dll does work on both NT4 and NT5 under IIS. Assuming that
you have followed the directions completely and accurately. The
documentation is good, most errors are made in the registry settings. I had
to reboot the computer, not just restart the server, to get the settings to
take.
VERY COOL guys!! What a nice letter to wake up to.
I made the change mentioned and my server's performance went from 14.51
pages per second to 82 pages per second. Still if I access tomcat directly
I get over 200 pages per second but that is much better.
Any other ideas?
Thanks,
Craig
-O
I am not using freeBSD but there is a stable jdk1.2.2 for Linux. Isn't that
the same SDK? I also have blackdown's j2sdk1.3 and Sun's jsk1.3.1_01 on the
same machine and they all work fine with tomcat. 1.3s are faster but there
is a keyboard mapping issue with Swing and Linux so I use the 1.2.2
Editing the registry only applies to using windows with isapi_redirect.dll.
On Linux/Unix there is no registry to edit.
Enter "regedit" from the run tab on the start menu and off you go. Beware,
you can lock your system with incorrect modifications!!! Triple check
changes that you make. See "
My understanding is that nearly any module can be statically linked within
apache rather then used as a DSO. (within the Apache tree vs. mod_jk.so)
This must be done during the build of Apache. The trade off is larger
instances of Apache and losing the ability to upgrade the individual modules
but
Remember that only a single instance of the servlet is created the first
time it is called. It is up to tomcat to decide weather to call that
servlet's destroy() method. I personally prefer that the servlet is just
waiting for a request rather then being destroyed frequently as your
performance w
Hello,
There are many good books on java basics. I personally like the Core Java 2
series. Start with volume 1 of course. Getting comfortable with object
oriented programming is essential to developing an understanding of how java
is used. I also highly recommend visiting www.javaranch.com whic
You appear to have a naming problem with your css document. You mention
that you placed "test.css" in the ROOT directory yet the error is in finding
"jobs-site-styles.css". Rename the "test" file. This has nothing to do with
java. 404 is simply file not found.
I am assuming that you do have a "
Hello,
Are you getting any HTML output at all? Try to leave more messages to see
where it is breaking down.
Try
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ).newInstance();
This "newInstance()" is often necessary.
I don't use access so I don't know about the drivers or URL.
It looks like
Just to let you know. I tried what you explained: placing a link on a jsp
page within tomcat to a .pdf file. It worked perfectly in IE5.5, Netscape
4.7 but not initially in Netscape 6. I manually set the path to acrobat and
everything thereafter was fine.
I have not made changes to the default
It is a java issue.
Make sure to setContentType()
Make sure to setContentLength()
Regards,
Craig
-Original Message-
From: Steve G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 6:11 AM
To: [EMAIL PROTECTED]
Subject: Acrobat problem
I don't know if this is a Tomcat or Netscap
Sun's 1.3.1 is an early release SDK. I have been using it on Mandrake 7.2
with good results. It is the SDK that I use with Tomcat. There are still
some keyboard mapping issues with Linux however. I also use JBuilder3.5 and
I have better luck using blackdown's 1.3 SDK for Linux. Both are harmon
I believe that you have a permission problem with the libX11.so.6.
Additionally, sun's latest jdk has some keyboard issues with swing on linux.
Blackbox version 1.3 is better but not perfect. (www.blackbox.org) If you
don't need swing the sun will probably do fine. Sun sdk1.3.1 is out for
early r
You can use the tool that comes with apache.
ab -n 1000 -c 20 yourdomainhere/pathto/page.html
This is 1000 connections with 20 concurrent connections hitting page.html.
My readings on a PIII 667 with 256meg ram 133bus gets me about 170
connections per second on a static page in apache and 28 co
Hi Miles,
Great to hear that you are working with OSX. My understanding is that it is
really FreeBSD. Although I have no experience with OSX I did allot of
browsing of the archives today and I believe that if you search around
looking for FreeBSD clues that you will find what you are looking fo
Hello,
I have installed Tomcat 3.2.1 several times on NT systems using the
isapi_redirect with no problems and I have been using Tomcat for about 6-8
months. I am now doing my first Linux install.
The system is Mandrake Linux 7.2 with apache 1.3.12 and JDK 1.3.1 on a PIII
667 256meg ram.
I hav
If you made all of the settings in the "IIS how to" correctly it will work.
The registry is the usual trouble spot. You must reboot the entire machine
not just IIS.
Good luck, It does work well.
Regards,
Craig
-Original Message-
From: zze-messager FTM balr002
[mailto:[EMAIL PROTECTED]
Title: Sun Seeking Experts for New Java Certification!
Mine
works fine.
Craig
SCJP2
-Original Message-From: Bill Blackmon
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, March 27, 2001
3:38 PMTo: [EMAIL PROTECTED]; [Evelyn Thompson
{SunEd}]Subject: Re: Sun Seeking Experts for New
I had the same experience with 8i Enterprise. Realize that 8i includes
Apache and Jserv and you will have a conflict with ports. I just stop
Apache and Jserv.
For some reason you have to do it 3 or three times then restart tomcat and
you are back to a happy family. It has to do with a conflict w
Try
String variable = URLEncoder.encode(yourString);
Craig
-Original Message-
From: Garry De Toffoli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 6:08 AM
To: [EMAIL PROTECTED]
Subject: Encode like HTMLEncode
Hi to all;
someone know a method like HTMLEncode in ASP?
xtends java.util.Vector
{
public synchronized void sort()
{
java.util.Arrays.sort(elementData, 0, elementCount - 1);
}
}
}
This is it (at least it seems to be!)
Of course you need to make sure all Vector elements are mutually
Comparable..
" + vec);
}
}
It works efficiently. You may want to consider using one of the collections
rather then Vector. You may not need the synchronization so an ArrayList
would be faster. Many many considerations.
Let me know what you think.
Regards,
Craig O'Brien
Java Programmer/Web
ength; j++) {
result += (char)random[j];
}
random = null;
System.out.println(result);
}
}
Let me know if I can help.
Regards,
Craig O'Brien
Java Programmer/Web Developer
> -Oryginalna wiadomooeæ-
> Od: Cato,
Thank you!!
Craig
-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 3:24 PM
To: [EMAIL PROTECTED]
Subject: More benchmarks on Tomcat 3.3-m1
Hi,
Just run some benchmarks against Tomcat 3.3-m1 :
Server was a Linux Redhat 6.2 box with PII
Hello,
Why don't you guys just try simplifying things and dropping the variable.
My config files look like yours but I'm not using variables. Mine works
fine with tomcat 3.2 on IIS. Perhaps too much perl??
/test/*=ajp12
Worth a try, only takes 2 minutes. Also try dropping the "trusted" fi
em up right now.
Regards,
Craig
-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:20 PM
To: [EMAIL PROTECTED]
Subject: RE: cpu load 100% on windows 2000 using iis
Just so you know. This is not a Windows only issue and can appear o
There is a known issue. It appears that you must insure that Tomcat only
operates in a valid context. I have not faced this issue so I don't have any
suggestions, however, this may be helpful.
Here is a snippet from a past discussion on this issue:
/*
6.11 Misconfiguration Can Cause CPU-Bound L
ubject: Re: cpu load 100% on windows 2000 using iis
On Wed, Feb 21, 2001 at 03:26:27PM -0800, Craig O'Brien wrote:
> Sorry about all these postsI could have just been patient and combined
> them. :0)
np with me :)
> Did you delete the default contexts? This will cause thi
Take heart Larry. It will work. Check your registry settings. Make sure
that you have execute access to the directory that the isapi_redirect is
located. Go over the "IIS how to" very thoroughly. The instructions are
good. I use the pre-compiled isapi on Win 2000 with IIS, tomcat 3.2, JDK 1.3
Just so you know. This is not a Windows only issue and can appear on most
OSs. (Solarus etc.)
Craig
-Original Message-
From: Rui M . Silva Seabra [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 2:35 PM
To: [EMAIL PROTECTED]
Subject: cpu load 100% on windows 2000 using iis
Garbage collection can be called by System.gc(); or
Runtime.getRuntime().gc(); but this doesn't really give you control, It only
suggests to the JVM to garbage collect.
Solaris uses "green threads" is that correct? Are you using an earlier
version of Java? (1.x) If so this can be an issue with a
Just for clarification:
I am using win2000 server with IIS5
Tomcat 3.2
Sun JDKs 1.3 and 1.2.2
I am not using JDBC Realms as I access Oracle, DB2, MSSQL7, and MySQL and my
understanding is that I have to wait for Tomcat 4 for multiple databases
realms. No matter as I wrote some code for that m
Hello forsythe,
I recommend downloading the Java 1.3 SDK. I believe it is final now..? It
outperforms earlier versions and would be the best choice for your server.
If you are downloading at 56k - ...oh well, just do it. It also includes
all of the latest features (java 2d, java 3d, java media
Place your package as such:
ROOT/WEB-INF/classes/servlet/myServlet.class
then access your package http://localhost:8080/servlet/servlet.myServlet
similar to this:
ROOT/WEB-INF/classes/servlet/packageName/classFile
access:
http://hostname/servlet/packageName.servletName
You are alm
I am using IIS5 but here goes:
Open your IIS management console and highlight your active HTTP server.
Right click on it and get the server's properties. There should be a tab
for ISAPI Filters. Navigate to tomcat/bin/win32/i386 (where you placed
isapi_redirect.dll) and install it. reboot(I thi
The default location for servlets is tomcat/webapps/ROOT/WEB-INF/classes/.
If you place your servlet here you will access it by
http://localhost:8080/servlet/myServlet
You can configure other locations if you like.
Hope this helps,
Craig
-Original Message-
From: wtf [mailto:[EMAIL PROT
I have had Tomcat 3.2 running on Windows 2000 server with IIS-5 as a stand
alone configuration with the isapi_redirect.dll for about 1 month. It has
been stable and performed better then I expected. My configuration is a
single cpu. The documentation in the package that you download is good and
);
public abstract void setContentLength(int);
public abstract void setContentType(java.lang.String);
public abstract void setLocale(java.util.Locale);
}
On Sun, Jan 21, 2001 at 10:19:58AM -0800, Craig O'Brien wrote:
> Excuse my confusion but, HttpServletResponse does not contain the
Make sure that you are not assigning variables via "<%!" which sets static
variables which will carry from page to page, user to user.
Re-start tomcat as once you instantiate a jsp or servlet it will exist even
if the file is deleted.
Regards,
Craig
-Original Message-
From: Mick Sulliva
Excuse my confusion but, HttpServletResponse does not contain the methods
setBufferSize() or flushBuffer(). Did you leave these out of your example?
Also, If you set a buffer size to 0 would there be anything there to flush?
Regards,
Craig
-Original Message-
From: [EMAIL PROTECTED] [m
Hello Pamela,
There is a configuration file located in the webapps/ROOT/WEB-INF directory
called web.xml. This is the first place where servlets look for
ServletConfig information. This is probably what you are looking for if I
understood you correctly. This is where you add your taglibs, path
(that
is they are local variables).
Thierry.
-Original Message-
From: Hugo Lara [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 7:53 PM
To: 'Craig O'Brien'
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: I don't want cached pages
C
Gaston,
Tomcat will not time out and shut down as far as I am aware. It never has
on me and it runs for days and weeks between reboots. Soon to be months
hopefully. Perhaps it is being started by someone with less then root
privileges and when they log out the process goes with them. ?..
What
This seems silly but, you wouldn't by chance be accessing static variables
in your JSP by chance would you?
Craig
Just throwing stuff out
-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 3:39 PM
To: [EMAIL PROTECTE
I cannot duplicate your problem. Are you having the same problem with the
JSP example carts http://localhost:8080/jsp/sessions/carts.html ? Are you
using Apache? I am using IIS5 but am having no problems. I have several
applications like you mention and I can open up multiple instances of the
Mr. Coit is correct.
Is a proxy server involved? Chances are your pages are being cached there.
Good luck,
Craig
-Original Message-
From: Ciot, Thierry [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 11:41 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: RE: I don't
Add these two lines to your Servlet or JSP:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
Not guaranteed to work in every browser.
Regards,
Craig
-Original Message-
From: Hugo Lara [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 1
You
are having an issue with your server's security. Tomcat does not implement
anything like that. Make sure that you are logged on with all
permissions. You probably have to be in the admin group or
better.
God
luck,
Craig
PS
print out all the documentation ("html files" etc.) and
Are you linking to the page or typing it in. There is no referer if you
type it in;
I use: request.getHeader(referer) (Note that referer is all lowercase)
and get the referer fine in tomcat 3.2.1
Good luck,
Craig
-Original Message-
From: Dan Eppinghoff [mailto:[EMAIL PROTECTED]]
Sen
Hey that's a good idea! :0)
Could you please place these lines in your Servlet,
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
.and let us know what happens.
This would be helpful for others as I have seen this problem several times
on this mail
h mod_jk.so. When I
go through apache and ask for *.jsp files, it doesn't realize to pass them
onto mod_jk (which passes it onto tomcat).
-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 5:16 PM
To: [EMAIL PROTECTED]
Subject: RE: Nee
I don't have much to offer, but...
Tomcat-power.gif is one of the images on the default
http://localhost:8080/index.html page. Are all of the pages and examples
working?
I think I saw something similar to this when I was experimenting with a
connection pool in a reloading directory after many ch
Are the examples working? I assume the servlets are.
Probably a %CLASSPATH% issue. The JSPs need to compile the first time you
call them so you need a reference to your JDK in the classpath.
You will need these elements in your classpaths:
This is just mine, yours may be slightly different...
Sorry to play devil's advocate but... what of the visitor who has JavaScript
turned off? Or uses a custom client? or..?
Sorry, I did a site for a friend's ministry a year ago and the administrator
of the church was using IE3 with JavaScript turned off. She didn't ever
mention the warning windows
Thank you G.Nagarajan,
I just downloaded this driver and had it operating in 30 minutes.
www.freetds.org ( I had to write a program and create a database or it
would have been even faster ) :0) I had tried this site about a week ago
and the ftp server was down. I forgot all about it. By the w
Do not put a ";" at the end of your classpath. This "closes it off".
Hope this helps.
Craig
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 10:01 AM
To: Tomcat User List
Subject: Re: Starting tomcat
>
CLASSPATH=C:\Xerces\xerces.jar;.;C
Lets start really basic.
When you type http://localhost:8080/jsp/index.html do you get the index for
jsps? Try the examples, Do they work? If not then you are missing
%JAVA_HOME% or your JDK is not in your %CLASSPATH%. You need this in your
classpath so that the jsps can compile. They will be
What happens when you use the url http://localhost:8080/jsp/index.html ? Do
you get the index page? If not make sure that you have tomcat started and
all of your classpaths correctly entered. (JAVA_HOME, TOMCAT_HOME etc.)
404 error means that you have a directory misrouting issue. (File not fou
Please let us know your specific findings if you can. I assume that you are
using connection pooling and have tweaked the workers.properties file
around. Have you played around with thread pools in your applications as
well? At what level of usage did you see the sharpest decline?
Thanks,
Crai
Have
you created a virtual directory named "jakarta" in the same folder that the
isapi_redirect.dll is located? Have you assigned this directory "execute"
access? Have you added the iapid_redirect.dll as a filter in
IIS?
Your
"Access Violation" seems to be an issue with NT. Go over the
Hello,
Make sure that you have set a %TOMCAT_HOME% entry into your environmental
variables (ex c:\tomcat\bin ). Make sure you have set a %JAVA_HOME%
environmental variable. (ex c:\jdk1.3 ) These two variables will have to be
created as they are not default to win 2000. I believe that you said
I had a similar problem and found it to be a semicolon at the end of my
classpath. Look at your classpath very closely. I am running tomcat 3.2.1
on Windows 2000 server with no problems.
I start tomcat by simply double-clicking on the startup.batch file in the
tomcat\bin directory. This opens
I just installed Tomcat 3.2 on windows 2000 Server yesterday and it went
rather easily. Everything works great! :0)
Print out and read the documentation that comes with the download before you
begin. Also print out the server.xml, tomcat.xml etc all of the
configuration files. The documen
The default location is [location of tomcat]/webapps/ROOT/..place html files
here and you should get them with http://localhost:8080/yourFile.html This
is where the default page for tomcat is located. Place your subdirectories
here as well. You can use the server.xml file to register different
87 matches
Mail list logo