Do as it says and increase the max threads parameter or manage your threads
better.
Robert S. Harper
Senior Engineer
Information Access Technology, Inc.
1100 East 6600 South, Suite 300
Salt Lake City Utah USA 84121-7411
(801)265-8800 Ext. 255
FAX (801)265-8880
This e-mail is intended only for
What if you were to assign some form of record ID that associated with a
gene name so you could pass the ID's and not a descriptive name. This would
reduce the number of characters in the stream. You might look at some other
way to pass the information. You might be trying to bite off more than is
One problem with this is that you have to know where the JRE for 1.5 was
installed. There is nothing that guarantees that the install path is the
default. You might try to get the version information from the binary that
is running if the OS version supports it. It might be more appropriate to
try
Try jar -h at the command line or WinZip will know how to extract it. You
should have access to jar.exe if you installed a JDK.
Robert S. Harper
Senior Engineer
Information Access Technology, Inc.
1100 East 6600 South, Suite 300
Salt Lake City Utah USA 84121-7411
(801)265-8800 Ext. 255
FAX
. Now, where do I place these files
(folders)?
-Original Message-
From: Robert Harper [mailto:[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 10:16 AM
To: 'Tomcat Users List'
Subject: RE: java.util.ConcurrentModificationException
Try jar -h at the command line or WinZip will know how
Try username. I'm surprised the compiler doesn't complain that username is
being used without being initialized. If it didn't, the compiler probably
set username to be null.
You need to pass a valid string to the method getParameter();
Try something more like:
String username = null;
Username =
That would show the version that is default for that console. You might do
better to look at the configuration for the Tomcat server to see where it
looks for the JRE. That would let you know for sure. If you are running on a
WinXXX platform and as a service, you could look at the settings for the
Also remember that he said he had multiple versions of Java installed on his
machine and it is possible that what Tomcat runs under may very well be
different from what a console window would get. This is the case for me as
well. I have three or four different versions of the JRE and what version
This looks like it might have more to do with a malformed XML file.
Robert S. Harper
Senior Engineer
Information Access Technology, Inc.
1100 East 6600 South, Suite 300
Salt Lake City Utah USA 84121-7411
(801)265-8800 Ext. 255
FAX (801)265-8880
This e-mail is intended only for the addressee
into tomcat-users.xml, it's useless.
[Robert Harper] Look at the documents. You'll have to set up the security
and determine what kind of authentication you want. This may be version
dependent so I won't go into too much detail here. I am using 5.0 because
that was the newest version when I
The problem is that the default servlet is handling the request(s) unless
you have some other servlet do it. By default, the doPut() will check to see
if the readonly property has been changed to false. If it has not, default
behavior, it will return the forbidden error. If you change this to
There are probably required elements that are not present. The DTD/XLS could
specify elements as being required and you can get an error during
validation in processing the Resource tag. You may not be able to create an
empty resource element or there are attributes that are required. Try
If I understand your question correctly and you are using servlets to handle
web requests, just override the HTTPServlet.doPost() method. Put your code
to handle the put in there.
Robert S. Harper
Senior Engineer
Information Access Technology, Inc.
1100 East 6600 South, Suite 300
Salt Lake City
PROTECTED]
Sent: Thursday, January 25, 2007 2:11 PM
To: Tomcat Users List
Subject: Re: HTTP PUT - HOW TO CONFIG?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Harper wrote:
If I understand your question correctly and you are using servlets to
handle
web requests, just override
Maybe the TC mailing list has a good reputation. ;)
Very good point.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I don't know if Tomcat would be able to do this without some code. It is not
intended to replace Apache, IIS, or some other web server. It is intended to
be a Java Servlet/JSP container.
You might try creating a servlet that does something like this
public void doPost(HttpServletRequest
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 3:40 PM
To: Tomcat Users List
Subject: Re: HTTP PUT - HOW TO CONFIG?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Harper wrote:
From another post, I am very confused why he is trying to use Tomcat.
He
seems to want
It looks like it is looking for it in the root of either the machine or
CATALINA_HOME. Resolve the path correctly and you'll probably find your
problem. You didn't provide the path so the loader assumes the root.
Robert S. Harper
Senior Engineer
Information Access Technology, Inc.
1100 East 6600
In my servlet, I load a properties file that is in my [context_path]/classes
directory with the following line of code
m_resource = ResourceBundle.getBundle( ctimpact, Locale.getDefault() );
This works fine for me. You could try removing the .properties part of the
file name. The API may be
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08, 2007 9:51 AM
To: Tomcat Users List
Subject: Re: Standards Complaint Browser Campaign
Web developers aren't suppose to be supporting
Did you check the logs on the server running Tomcat to see if the request
was making the trip to the server?
The other thing is the server's IP exposed to the outside world and, if it
is, is it the same IP? Often this is not the case.
Robert S. Harper
Information Access Technology, Inc.
to forward HTTP, SMTP, FTP etc request to other
servers and I'm only having troubles with Tomcat.
I'm really stumped there.
Simon
[Robert Harper] snip
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e
logs
contain startup info. Some weird stuff in the localhost.date ones. Talking
about the Linux version here.
I asked a friend to go to www.domain.com:9090 and there was nothing in the
logs of the firewall. Damnit!
Not looking good.
Simon
[Robert Harper] snip
I think the bigger question is why does it take that long to run? I can't
think of too many people that are willing to wait that long for information.
Personally I'd give you 30 seconds and then I'll never use something that
slow again.
If you are accessing data, try adding indexes or a data
The problem is that the JSP is not compiled on the browser. Even if it was,
you would be bound on functionality provided by the particular browser. The
servlet container might send an error in the response but that would be up
to the container provider as well. Because these behaviors are not
This has probably been covered before but I'm having a hard time getting an
applet on a servlet generated page to load. I keep getting a ClassNotFound
exception even though the class is in several possible areas for it to load.
It is a package that is like com.company.service.MyApplet.class. If
of the
designated recipients named above. If you are not the intended recipient,
you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination,
distribution or copying of it or its
contents
- Original Message -
From: Robert
: Thursday, November 16, 2006 1:20 PM
To: Tomcat Users List
Subject: Re: Serving up applets
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Harper wrote:
This has probably been covered before but I'm having a hard time getting
an applet on a servlet generated page to load. I keep getting
Robert Harper wrote:
The browser is. The Java console and an error box is displayed by IE when
it
tries to load the applet. I see nothing in the Tomcat logs. Either for
security problems or not finding the class.
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From
It looks like the codebase attribute helped. Now I'll see what I can do from
there.
Thanks. Just don't let preliminary testing dictate what you don't try later
I guess.
Robert S. Harper
Information Access Technology, Inc.
-
If your content is static pages, the Apache might be a better option. If you
are using Java Servlets for dynamic content, then Tomcat would work fine.
You may have to adjust some of your code to match changes in the runtimes.
If you are using ASP, I don't think Tomcat is for you.
You should be
I don't know of anything that requires you to embed Tomcat in your app. They
should be able to communicate just find as separate entities. You could also
maybe wrapper some OS specific IPC with JNI. We use RMI both internal to a
machine and externally to other machines just fine and you don't have
as the
interface is not changed, you don't have to worry about changes in one
affecting the other.
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From: Igor Borovkov [mailto:[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 1:08 PM
To: Robert Harper
Cc: 'Tomcat Users List
I think you can specify a full path but Tomcat must have full access to the
other directory.
Logger className=org.apache.catalina.logger.FileLogger debug=9
directory=[your_path]/logs prefix=localhost_log. suffix=.txt
timestamp=true verbosity=4 /
Set in the [Catalina_home]/conf/server.xml file.
The memory should peak at some point and the go up and down with need. There
are a few things you have to be aware of though. The garbage collector is a
very low priority thread so if your server never has a dull moment, you end
up exhausting memory just because the garbage collector does not get
Check your definition of the servlet in the [app_root]/WEB-INF/web.xml file.
There is a reference to where the filters are located. You probably need to
either create this class or remove the reference from the web.xml file.
Robert S. Harper
Information Access Technology, Inc.
_
I think the problem has more to do with Tomcat on a mainframe and conversion
from ASCII to EBCDIC. The XML parser is having problems translating the XML
records in the configuration files. Does anyone have experience with Tomcat
on a mainframe?
Robert S. Harper
Information Access Technology, Inc.
I've seen the memory rise and fall so if the GC releases memory, it should
be returned to the OS. It would be my guess that you may not be handling
removing all references to an object the way you think you are. You can test
this out by adding a log in the finalize() method of your object and see
Set up a command file for each version that sets the CATALINA_HOME to the
correct location. Also have the batch files set other needed environment
values as well.
If you want both of them to run as a service, create a service for both
versions and set the command line. You could also set up a
Ive tried this before so let me rephrase this.
I am using Tomcat to perform the authentication and I have
an app that is adding new users to the tomcat-users database just fine. The
problem is that Id like to get the role and group attributes back. I
would rather not keep the
I am using the Tomcat user database to hold information for
users. What I need to do is retrieve the group a user is in from the database.
My problem comes when I have a servlet add a new user, assign it to a roll and
a group, then try to access the user from another servlet running in the
of the Tomcat 5 |Realm| interface. It is not designed for production use.
--
Mikolaj Rydzewski [EMAIL PROTECTED]http://ceti.pl/~miki/
PGP KeyID: 8b12ab02
There are three kinds of people: men, women and unix.
[Robert Harper]
I've been using the MBeanServer to access
One thing to consider is that the times may not be totally in synch. Some
threads pending a write to the log might get interrupted while another
thread runs. You may see log entries out of order. I have seen this myself
and have added System.out.flush() to my logger. It helps but still does not
Get a life. I know it was not a nice thing to do but there is more time
being spent on complaining about this than things that matter. If you see a
title you don't like, delete it. Unless the question is so totally lame that
a five year-old could figure it out, stop responding with RTFM. Some of
If you need to keep one array in a certain order, why not add the references
to another sorted array. Then you could have a primary array and a sorted
array. They would both hold references to the same objects. The down side is
that when you remove an element from one array, you will have to also
It looks like the socket closed for some reason. You might want to try
catching the exception and doing some clean up so that your app doesn't die.
The connection is lost but you may be able to recover so that you can keep
servicing requests from other connections.
One way to test this would be
{ ... }
block.
Or am I missing something?
Tim
-Original Message-
From: Robert Harper [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 12:19 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat just died on our Production Server
It looks like the socket closed for some reason. You might want
I have a similar problem with 1.4.2_07-b05. My app runs with very little
traffic but as time goes on, the system runs out of memory even though there
is plenty of idle time for the gc to do it's thing.
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From:
Users List
Subject: RE: Tomcat 5.0.28 memory leak
From: Robert Harper [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.0.28 memory leak
I have a similar problem with 1.4.2_07-b05. My app runs with
very little traffic but as time goes on, the system runs out
of memory even though
:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.28 memory leak
From: Robert Harper [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.0.28 memory leak
OK so when all objects have only have method scope and none
are static.
Is that what the profiler says, or is that your assessment of your
Jar and Ear files?
Thanks
Andrew
-Original Message-
From: Robert Harper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 10:10 AM
To: 'Tomcat Users List'
Subject: RE: Java Question
Are the pages static or is there some process, servlet, script, or
something
else that creates
This one has been addressed several times before. The short answer is NO.
Tomcat being multithreaded does not guarantee order of start or access of a
page. It would be better to change your apps so that they are not dependent
on each other's state or order of starting. Think more in terms of
52 matches
Mail list logo