eanly)
with a little jsp logic that essentially chooses to render or perform a
third tier include.
This is purely my opinion though. I'll take the way Tomcat handles the
case over the way Resin and Jetty handle it.
--David
Tim Fennell wrote:
Hi,
I'm wondering what the expect
;s already stopped).
4. Change JkMount in httpd.conf to JkMount /manager-5028/html* tc5028
5. Do apachectl graceful to make httpd read the new config.
When done, the manager for 5.0.28 will be http://localhost/manager-5028/html
--David
Brian Munroe wrote:
I'm still scheming up a way to ha
ook at bug reports for your OS and JDK.
--David
Arunan Kannan wrote:
Hi,
Please help me in guiding to find out the root cause of this problem.
Tomcat Version: jakarta-tomcat-4.1.31
Server OS: SUN OS 5.8
JDK version: j2sdk1.4.2_11
Initially the tomcat server is running perfectly and there is
is properly configured.
--David
Graham Reeds wrote:
I am setting up a website. Part of the site is employee blogs. As
well as the blogs there will be forums, products, etc. making:
http://www.company.com/blogs/employee.name
http://www.company.com/forums/
http://www.company.com/products
B-INF/web.xml, restart tomcat (or just the ROOT webapp if
you have the manager webapp up and running), and all should be as expected.
--David
Pid wrote:
what version of tomcat?
what have you got defined in the s in your server.xml?
McRaven, Brian wrote:
I have placed an index.jsp file t
admin/index.jsp is a placeholder page for the admin webapp, not shipped
with tomcat. If you placed it there, the url would be
http://localhost:8080/admin/index.jsp.
--David
McRaven, Brian wrote:
I commented out the servlet-mapping but I still get the tomcat page for
index.jsp. With my
Did you reload the webapp after making the change? All changes to
WEB-INF/web.xml or files in WEB-INF/classes and WEB-INF/lib will require
a reload before they become active in tomcat.
--David
McRaven, Brian wrote:
I was able to refer to a book I have and so I dropped the .class
extensions
f, what error do you get?
3. I take it you have the perl script for serving up images mapped to
icc-logo.gif somehow in your config? I'd be interested to see that part
of your setup.
--David
Mead, Jennifer L - VSCM wrote:
I already have that. I really don't understand but I be
Did you store the admin webapp in server/webapps where it belongs? Also
check your logs. There should be an exception trace just before the
place where this was marked as unavailable.
--David
simon jones wrote:
Hi, can anyone help me with this one? Thanks!
I've installed tomcat
art tomcat and take a look for messages related to the admin webapp.
--David
simon jones wrote:
Hi David,
Ok looks as thought the files are in the correct place:
cp -r admin /usr/local/jakarta/jakarta-tomcat-5.5.9/server/webapps
There's nothing in tail -f
/usr/local/jakarta/jakarta-to
- lib
[server jar files here]
- webapps
manager
admin
- webapps
- ROOT
Admittedly I've abbreviated and not included some directories. Also, do
you have a catalina.out log file? What does that show.
--David
simon jones wrote:
Hi David,
Look at permissions for admin.xml -- root.root and read/write only by
owner? Try doing this:
(from /usr/local/jakarta/jakarta-tomcat-5.5.9)
chown tomcat.nobody conf/Catalina/localhost/admin.xml
chown -R tomcat.nobody server/webapps/admin
Then restart tomcat
--David
simon jones wrote
I know of nothing built-in to tomcat for that. You could implement a
request filter to handle the job although it would mean implementing
your own authentication.
--David
[EMAIL PROTECTED] wrote:
Hello,
I need to configure two different ways to login to an app. The first one
is an ip
Why don't you try using the same dbURL you use in the java code --
"jdbc:odbc:DSNName". Also add in the attributes connectionName for the
auth username to the database and connectionPassword for the auth
password to same.
--David
Propes, Barry L wrote:
I'm not sure i
Have you read the servlet spec and thought about the
ServletContextListener for handling the start/shutdown of a component
within your app?
--David
Mike Wannamaker wrote:
I know that Tomcat is not really an App Server like JBoss etc... However, if
I had a component that was not a web applica
r in my opinion) toss the JDBC-ODBC bridge
software and just use a true Oracle JDBC driver with a standard Oracle
connection string.
--David
Propes, Barry L wrote:
well, Tomcat didn't like that at all!
It tries to come up (the console) and then quickly disappears!
-Original Mess
Port 8005 which tomcat uses as a shutdown port is in use by another
process. You could change that in server.xml or shutdown the service on
8005 to fix it.
--David
Oguz Yarımtepe wrote:
Hi. I was trying to install Tomcat 5.5.17 to a windowsXP machine with
a service pack 2. I followed the
http://htmlhelp.com/reference/html40/entities/latin1.html
balaraju mandala wrote:
> Hi All,
>
> I need some help from you. I need to display Cent(¢) symbol on
> browser. I am
> getting ? symbol instead, what could be the problem, please explain me.
>
> Thank you.
>
> balaraju
>
-
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (¢)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List
wrote:
Hi A
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (¢)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List
wrote:
Hi All
(Sorry for the double post, alias issue)
David Delbecq wrote:
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (¢)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On
Yes, but Tomcat also pools threads and keeps them around between
requests, recycling as necessary. The servlet's themselves should avoid
class instance variables unless they are reset to some known state at
the beggining or end of every request for this reason.
--David
Alan Meyer
log4j.logger.org.apache=ERROR, R
log4j.logger.org.apache.catalina.realm=DEBUG,R
log4j.logger.org.apache.[Catalina].[localhost]=DEBUG, localhost
Thanks,
David
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14
Hi
In server.xml you can add a lifecycle listener with implements
org.apache.catalina.LifecycleListener
Download tomcat code and check this one as example.
className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
Hope this help
Regards
/David
Mike Wannamaker
o with tomcat, hence
the OT marker in the subject.
---David
[EMAIL PROTECTED] wrote:
Hi Tomcat users!
I have a problem with user permissions on my web server - when a file is
ftp'd to the webserver the permissions are -rw-r- and browsers trying
to access the url are forbidden to vi
27;s workers are all
spawned as unprivileged users (the user 'apache' in my the case of my
server) and the OS will deny access if the apache worker doesn't at
minimum have read access.
--David
[EMAIL PROTECTED] wrote:
Hi David,
Thanks for that and sorry for my ignorance of Apache
MW Janssen wrote:
"java.lang.OutOfMemoryError: unable to create new native thread"
Are you it isn't just the heap and/or stack that's too small? Try
starting the Jvm with
one of the extended options line "-Xss500k" "-Xmx100m" (if it is the Sun
JVM)
-
to figure out what is happening?
See the tomcat website for your version of tomcat.
--David
Luis Rivera wrote:
Hi Barry and Tomcat/users/devs,
I am hoping an axis/tomcat/dev/user will have a good advise. I am sure
more
than one user has needed to use axis/tomcat and a JNI interface, so I am
t codebase
"jar:file:${catalina.home}/common/lib/mysql-connector-java-3.14.jar!/-" {
permission java.net.SocketPermission "127.0.0.1:3306", "connect" ;
}
--David
Bob Hall wrote:
Cameron,
You wrote:
I have a newly installed and configured Ubuntu
server running
OS's.
Unix/Linux seem to handle the sudden disappearance of a file well (or at
least better than Windows) and simply create a new one. Just renaming
the file without stop/start may be an option for you on *nix systems.
--David
Mirou, Antoine wrote:
Hello,
What is the easiest way t
Please everyone, drop this!!! I don't know about you, but I get far too
many emails as it is. Just use this forum as intended and keep the
superfluous emails out.
Charles, if you're not the original poster, then you shouldn't have jumped
in to the original posters defense and hence labeled a low
happens when the database server is restarted.
--David
Seetha Rao wrote:
Hi Chris, thanks for the comments. I thought since we have singleton class and creating a connection object there, we will be reusing the same connection object for all database operations. May be my thinking is not correct. Do
x27;s own xml file in conf/Catalina/localhost. Context definitions in
server.xml is discouraged in newer tomcat versions.
--David
aladdin wrote:
I had this all working with some basic jsp pages and a (one) servlet. I went
to continue to build on my application, and all of a sudden, it broke
any way to fix it?
If you want to bind tomcat to a specific IP, use the address="1.2.3.4"
attribute in the connector.
--David
Stuart Fox wrote:
Hi
First post so be kind :)
I've just run a nessus scan against one of our servers running tomcat 4.1.30
standalone on linux and its
bContent/image.jpg"> to get
around these issues with an absolute path to the image. My example
assumes a servlet spec 2.4 webapp and container.
--David
Mike Molina wrote:
This thread is related to relative URL within JSP's and how they refer
to the local directory structure in
'foo.jar' file?
5. Is foo.jar really in WEB-INF/lib or did you do some symlink/shortcut
scheme that tomcat might not follow?
--David
Darren Hall wrote:
I wanted to confirm that jar files in the WEB-INF/lib directory were
included in the classpath for my application. In r
Can it be installed on Win 2003 Server? Yes.
Can't find any ref's? Probably because it's built in Java and as such
is intended to be platform independent. Take a look at the downloads
page -- there is a download that installs it as a service.
--David
maya wrote:
code and rebuilding.
--David
Surya Bob wrote:
Hi all,
I am trying to tighten up our Apache and Tomcat implementation. I
want
to suppress server type and version to make fingerprinting harder.
HTTP response header
HTTP/1.1 200 OK
Date: Tue, 05 Nov 2002 17:49:51 GMT
Server: XXX
S
lesheets/catalogue.css"/>
--David
Mike Molina wrote:
I'm beginning to see my problem is a bit more complex than I had
mentioned.
Here is the situtation: I have two JSP's, login.jsp and
catalogue.jsp. Login JSP calls a servlet to do some processing. If it
is successful
viously I'm not familiar with the exact API of your code, but you get
the idea. If the cookie isn't present or invalid, send a redirect to
the login page. Otherwise chain on to the next step in the request process.
--David
Mani Balasubramani wrote:
Chris,
This is the complete seque
gt; To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Martin,
$ echo $JAVA_HOME
/usr/lib/jvm/java-1.5.0-sun/
$ sudo /usr/share/tomcat5/bin/startup.sh
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME: /usr/lib/jvm/java-1.5.0-sun/
$ /etc/init.d/tomcat5 start
Starting Tomcat 5 servlet engine using Java from /usr/lib/j2se/1.4:
with the following catalina_out log
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
I get the above error even though JAVA_HOME points to the JDK but
tomcat insists on using /usr/lib/j2se/1.4 not
/usr/lib/jvm/java-1.5.0-sun/
any help Martin?
Take a look at the shell script used to start the service
(/etc/init.d/tomcat5) and see how it determines the JDK. Is it honoring
the JAVA_HOME environment variable or digging around on it's own for
something else?
--David
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Output is redirected to catalina.out in the logs directory. Take a look
at that for details on what is/isn't happening.
--David
heinz rübezahl wrote:
Hi,
i tried to install a tomcat server on a linux (suse) V-Server of strato. But it doesn't work! I had sucess at windows but anywa
tomcat application? For sure
it means using a kind of proxy to convert http://a.com/app1 to
http://yourcomagny.saassupplier.com but I have no Idea how this can be
done.
Any idea ?
Thanksfor your help !
/David
-
To start
A dialup modem usually works well for this!
Michael Partheil wrote:
Hi!
I'm looking for a way to locally simulate a slow network connection
with Apache Tomcat 5.5.9 running on Mac OS X 10.4.6 and Java 1.4.2.
I need this to test how my web application works for users with slow
internet con
manager webapp right out of the box, ONLY
adding a username, password, and a role of manager to tomcat-users.xml.
--David
Andy Kanter wrote:
I have been monitoring the emails on this list and have tried to
interpret the documentation for Tomcat 5.5.17 on the web, but I am a
total novice with
ot;www.old-domain.com" shows
up. Can be done with 'grep -R www.old-domain.com *' in Unix or use the
Search tool in Windows and search for files containing the string
'www.old-domain.com'.
--David
DK wrote:
Hello all, I am new to this configuration and working on an exisitng
If this is the case, move your jsp to a location in webapps/ROOT of
tomcat and try it again.
--David
Ian Caswell wrote:
I set mod_jk to log level debug, and saw it was
telling apache "2No.Host.matches.server.name".
Did some googling, and some sites say it's a
permissions iss
(comparable to
apache httpd these days)
I'm sure there are other advantages not listed here. Google again and
take a read through the tomcat docs.
--David
Raju Balugu wrote:
Hi All,
I subscribed to this list recently...and hopes somebody may asked this
question..also but i am in ne
r.com but I have no Idea how this can be
done.
Any idea ?
Thanksfor your help !
/David
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
resulting window has two halves. The top is the user's
environment, the bottom is the system.
The System variables should include JAVA_HOME. CLASSPATH need not be
set or can be set to something unrelated to tomcat.
--David
Randy Paries wrote:
unfortuntaly i have to setup tomcat on wi
Easy answer: mod_jk
Mod-jk2 lost all support and its features have been back-ported to mod_jk .
--David
Atul Govande wrote:
Hi ,
I am new to tomcat as well as Apache. I got both thing working
independently and now I am trying to connect two together. I was
looking different documentation
And what do the logs show regarding the problem servlets?
--David
[EMAIL PROTECTED] wrote:
Dear All,
I implemented the suggestions from the list but the 404 problem still
persists.
I have an application called Sisc
Under Sisc there are package1 package2 package3... and a new package called
Viks wrote:
Hi,
My app is running out of app.
Code does a lot of string opeartion.It involves fetching records from DB
Initially i was using string objects- Program used to finish in about 40-45 min with ~95 cpu usage
String concatenation like this String c = a+b; is done in
right ?
Best regards
/David
Peter Crowther wrote:
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
http://yourcompany.saassupplier.com.
This is called a "virtual host"; it requires DNS entries to
point that URL to your server, that's all.
The simplest way
On 7/27/06, Guilherme Silveira <[EMAIL PROTECTED]> wrote:
If running CpuTest once gives you 25% its a OS/java problem.
If it gives you 100%... its tomcat's fault...
This particular problem is not likely to be Tomcat's fault, it's most
likely a synchronization/perfromance bug in the applicat
Yes but for each URL:
http://vhost1.site.com
http://vhost2.site.com
I need a host entry in server.xml, so in this case 2 host defined in
server.xml. Is there a way to have only 1 host defined and using alias
or something like this ?
Thanks
/David
Hassan Schroeder wrote:
On 7/28/06, David
ption,
because at the very least, I need to set some server-level environment
variables that the applications read.
So, is there a way for me to get around having to create a for
each application I want to install? didn't work for me.
Thanks,
David Uctaa
Worked like a charm. I never claimed to be an expert. Or even to know what
the hell I was doing :)
Thanks much!
On 7/31/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
On 7/31/06, David Uctaa <[EMAIL PROTECTED]> wrote:
> I am running Tomcat 5.5.16, and I have a couple of Dat
the howto, it looks like you already found one. There
are other docs on the web.
Word of Warning: Be careful with the proxy setup in your Apache or IIS
service that it doesn't become an open proxy.
--David
Raju Balugu wrote:
Hi Mark ,I have a doubt on this again ,I got one more link sta
Start with a read through the docs, comparing them to the 4.0.x docs.
--David
[EMAIL PROTECTED] wrote:
Andrew,
Our application is currently employed Tomcat 4.0.6. I'd like this to be
upgraded to version 4.1.12.
Is there documentation which explains a step by step process of how to
().
2. Add the listener to your web.xml in a attribute.
3. Deploy your app and the contextInitialized() method below will be
executed once each time the webapp is started.
The servlet spec itself and the servlet api javadocs have complete
information on implementing this.
--David
Ryan O'
Is your SQL JDBC driver in common/lib? It has to be there for tomcat to
set it up as a resource.
Also drop the tag from your context definition. Not
needed when the resource is defined inside the tag and may
confuse tomcat.
--David
Aynalem, Seblewengel (Trawick) wrote:
Hi there:
I am
The stack traces mention that the tag is in web.xml (and
apparently not well formed xml to boot). Please remove it. It should
only be in context.xml with a tag in web.xml. If there
are further stack traces, could you post your new context.xml and web.xml?
--David
Aynalem, Seblewengel
Hmmm connection refused. Is your server listening for connections
at jdbc:sqlserver://localhost:1433 ? Can you verify it independently?
--David
Aynalem, Seblewengel (Trawick) wrote:
Thanks a lot... I do need to have a space in context.xml file. That solved the
problem with xml
runtime.
Ryan O'Hara wrote:
One more question: What is the best method for retrieving the
values? Thanks again.
-Ryan
On Jul 31, 2006, at 2:47 PM, David Smith wrote:
ServletContextListener is a new feature of servlet spec 2.4 (tomcat
5.0.x, 5.5.x). The essential parts are:
just cast the result to the type it's supposed to be (String,
Array, Hashtable, etc., ...) since getAttribute() returns type Object
for everything.
--David
-
To start a new topic, e-mail: users@tomcat.apache.org
To un
t like
tomcat would.
--David
Aynalem, Seblewengel (Trawick) wrote:
Sorry to ask this... how do you verify server connection independently. This
is my first time configuring doing database connection. Thanks a lot,
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Mon
long as you have very tight control over what commands
are executed that way.
--David
Paul McMahon wrote:
Is it possible to run Tomcat as non ROOT (desirable as I see from FAQs/other
threads), but have a servlet that needs ROOT access?
Or is the solution to have the servlet application
/1.3 protocol. Think if it as incorporating the
functions of mod_jk into mod_proxy.
--David
Raju Balugu wrote:
Thanks to David Smith and Mark Thomas .
What is the difference between mod_proxy_ajp and mod_proxy?Could you
please
give details
on that?
Regards
Raju
On 8/1/06, Mark Thomas
ening with
connections to the database. It's good at showing net connection on a
Windows box in real time.
--David
Aynalem, Seblewengel (Trawick) wrote:
Thanks David. I am able to connect to SQL Server 2000. Actually Tomcat 5.5.17
and SQL Server 2000 is on the same machine that I am working on.
I think you have your answer. The SQL Server is not setup to listen on
1433 or not running. Address this and things should start working.
--David
Aynalem, Seblewengel (Trawick) wrote:
Thanks David, Raju and Johnny for your time and valuable suggestions.
To David's question: I ch
I'm responding to the first message in the thread, but have read all of
it. A thought:
How are you opening this file? Hopefully it's via
ServletContext.getResourceAsStream( "/myapp/conf/myapp.properties" ) ;
--David
Robinson, Eric wrote:
Hello all,
When I start t
vlets, etc., ...)
are being served up from the proper location, it could be the result of
bugs in your third party webapp. Maybe it's reliant on a hard coded
path or a relative path to the current directory at the time tomcat was
started.
--David
Robinson, Eric wrote:
Sorry, I cannot answe
Hmmm. and the plot thickens. Have you asked the vendor about this
issue? Can they offer any insights as to how they access the
myapp.properties file?
--David
Robinson, Eric wrote:
David,
I do not know if the 3rd party app has hard-coded paths. I grepped for
tomcat in the app
Depending on your version of tomcat, ServletContextListener may be an
excellent standard way to go. There was a thread just a few days ago on
that.
--David
Harakiri wrote:
Hello,
is it possible to dynamically add a Filter for a web
app using the tomcat ? If so, is there an example how
to
s and possibly implement a listener to clean-up any abandon threads
when the session is destroyed.
--David
Kristian Rink wrote:
Hi all,
being aware that this is not a question strictly tomcat-relevant,
lacking a really good mailing-list for discussions closer to the J2EE
background itself, I hop
The only way a tld should be in WEB-INF/lib is if it's in the META-INF
of the jar containing the taglib classes. They can be in let's say
WEB-INF/tlds and then added to web.xml in a tag, one per
tag.
--David
Marten Lehmann wrote:
Hello,
currently (in a 2.4 container) I
e time the second request hits, the process
has a chance to complete. Does this sound about right?
I've never seen this in my projects, so I don't know what to suggest
except for maybe precompiling your jsps as a work-around.
--David
devteam_matsys wrote:
Hi,
I am usi
gards
/David Gagnon
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
CP pooling is where you put dbcp.jar. It'll have to be in common/lib
right next to the hsqldb.jar.
--David
Roy Kiesler wrote:
I have been trying for 2 days now to setup a simple connection pool in
Tomcat 4.0.6 for a Hypersonic database with the ever-so-popular error
in the
subject. I
vers are running on the same machine.
Thanks,
David
lhost:8443/my-secured-webapp
David
On 8/3/06, Mark Thomas <[EMAIL PROTECTED]> wrote:
David Miller wrote:
> When I run my app using Tomcat only (without apache httpd) I specify the
> ports for secure and non-secure pages; http://localhost:8080/my-app or
> https://localhost:844
You could place them in the META-INF of the jar files they go with.
Otherwise, no auto-configure locations that I know of. What's the
problem with configuring them in web.xml?
--David
Marten Lehmann wrote:
Hello,
They can be in let's say WEB-INF/tlds and then added to web.xml
Thanks Filip,
It's now working as I thought it should. I did what you said as well as
manually configuring a worker and adding said worker to a virtual host for
port 443.
Oh and special thanks to Li.
David
On 8/4/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
set "
The quick answer:
Do not mess with classpath. Tomcat has a very specific classloader
hierarchy. See
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html for
details. If this does not answer your question, please post a more
detailed message with specifics.
--David
Julien
de of that, check to make sure your Windows XP firewall and
ZoneAlarm both allow connections on port 8080.
--David
Rahul Sood wrote:
hello I am using TomCat5.5, I have Windows xp professional, i have
zonealarm..and everything in it looks fine..i have not tried pinging
tomcat
..thats strang
Tomcat does not explicitely use any specific classpath outside of it's
own. It even ignores the system set CLASSPATH variable. Check your
config settings and webapp for references to ~/cvs/fable/* directory.
--David
Ryan O'Hara wrote:
I think I found a promising lead to what is g
F/lib. In $CATALINA_HOME/shared/lib if you are using it
accross multiple webapps.
--David
Minh Tu Thanh Tran wrote:
Hi,
I want to use methods of an external library (jpl.jar file) inside a
java Bean class. But I got this error message from Tomcat 5.5.17 log
file:
Aug 7, 2006
I have a couple of questions about the performance of my code, but I'm
going to ask them in separate threads.
The first one is, if I have this loop:
for ( ii = 0; ii < data.length; ii++ ) {
where data is defined as byte[] , is the .length property evaluated each
time through the loop,
By the way, this code is in a servlet running under 5.5.12, if it matters.
David Kerber wrote:
I have a couple of questions about the performance of my code, but I'm
going to ask them in separate threads.
The first one is, if I have this loop:
for ( ii = 0; ii < data.le
This code is part of a servlet running in TC 5.5.12, jre ver 1.5.0.6.
I use this code to break out individual data fields from a line which is
structured as "a=1&b=2&c=3&d=4&e=5". It is
executed for over 2 million data lines per day, so this routine is
executed over 10 mi
s per hour
= 166.667 operation per minute
= 2.777 operations per second.
Given 100.000.000 operations per second your processor can manage, the
performance benefit would be zero.
On 8/7/06, David Kerber <[EMAIL PROTECTED]> wrote:
I have a couple of questions about the performance of my co
plit" method I could use? Or am I
completely missing the point of what you are suggesting?
Dave
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
It is
executed for over 2 million data lines per day, so this routine is
executed over 10 million times per day.
[snip
don't you tokenize it into string pairs, store the
pairs and works with them?
leon
On 8/7/06, David Kerber <[EMAIL PROTECTED]> wrote:
This code is part of a servlet running in TC 5.5.12, jre ver 1.5.0.6.
I use this code to break out individual data fields from a line which is
stru
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Is there a more efficient "split" method I could use? Or am I
completely missing the point of what you are suggesting?
I think you've slightly missed the point. I assume you're calling your functio
a get sent to the servlet (in, for example the query string)?
The data is sent via an HTTP POST request, with the query string lightly
encrypted.
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Is there a more efficient "split" method I could use? Or am I
One other possibility -- which servlet spec version do you have
specified in your web.xml? If web.xml declares an older version of the
servlet spec, these ${} expressions may not be available.
--David
Pid wrote:
which version of tomcat are you using?
is Expression Language enabled? as it
That's because you are setting up Apache to view your ecommerce site as
the root, but tomcat is still using the ROOT webapp as the root. Dump
the ROOT webapp, rename ecommerce to ROOT and reconfigure Apache to your
webapp (now named ROOT).
--David
jeusdi wrote:
Helo World, I
Typical cause is a config error in your mod_jk setup or your jsp file
located in the wrong place. Please post details of your Apache, mod_jk,
and tomcat setups for a more helpful answer.
--David
jeusdi wrote:
Hello, I've configured Apache Web Server with mod_jk2 to communicate it
Pid wrote:
David Kerber wrote:
Pid wrote:
here's another obvious question:
if you're in a servlet, and you're getting an & separated string from
somewhere, where is the "somewhere" that you're getting it from?
does the servlet activate and collec
101 - 200 of 4302 matches
Mail list logo