please remove me from your mailing list
**
Any unauthorized use and interception of this e-mail is illegal.
If this e-mail is not intended for you, you may not copy,
distribute or disclose the contents to anyone. This e-mail
Hi Everyone,
I have been tyring to run tomcat 3.2.1.
However whenever i start my Tomcat using the tomcat.sh script then i get
the following errors
Using classpath:
There is no need to build mod_jk with libpthread under Apache 1.3.19
The pthread stuff is required 'ONLY' in threaded mode, ie Apache 2.0
-Original Message-
From: Stewart Mclean [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 4:59 AM
To: [EMAIL PROTECTED]
Subject: mod_jk.so
Not that I don't believe you, but double check your classpath by creating a
simple servlet in the same web application that does:
log(Classpath is + System.getProperty(java.class.path))
On Monday 11 June 2001 18:30, Jim Michael wrote:
Does *anyone* in the known universe know how to get
Hi
what is SGBD ?tomcat runs on SunOs 2.8..
i confused , idle threads are good or bad ? and any good tool for testing
tomcat
i think "ab" tool is not enough , right ?
thanks
Altu B. Altnta
Uygulama Gelitirme
Ko.net Haberleme Teknolojileri ve letiim Hizmetleri A..
amlca Merkezi B3
Henri, I've been trying to use libpthread because when I try and build mod_jk
with apxs on Tru64 UNIX v5.1 I get the following error:
cc: Error: /usr/opt/java130/include/jni.h, line 35: #error Modules that
interface with Java must be compiled and linked with the -pthread option)
apxs then
hi,
I have a webapplication under webapps/intranet (not as a jar).
Furthermore I have put jars with EJB interfaces under WEB-INF/lib. When
I try to lookup their home-interfaces, I get the following error :
javax.naming.NoInitialContextException: Need to specify class name in
environment or
hello all,
I am testing Tomcat standalone with client authentication on, and getting
some odd results. It works fine if client authentication is not turned on
(for both IE and Netscape browsers). If I turn on client authentication,
Netscape claims that I do not have a personal certificate, and
Henri, I've been trying to use libpthread because when I try
and build mod_jk
with apxs on Tru64 UNIX v5.1 I get the following error:
cc: Error: /usr/opt/java130/include/jni.h, line 35: #error
Modules that
interface with Java must be compiled and linked with the
-pthread option)
A known
sounds like some file versioning cobblers.
Its more likely JBuilder is using information that Tomcat and apache dont
have.
-Original Message-
From: Edilmar Alves [mailto:[EMAIL PROTECTED]]
Sent: 09 June 2001 21:06
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:
You also might have a class called HttpServletGeral somewhere in your
classpath already! I had this silly problem with JBuilder. So check all the
sources and classpath or even the whole disk if you have already a class
called HttpServletGeral.
It also might be that JBuilder has a class called
Hi
I have just installed SP2 on my Win2k Server. Now
the Tomcatservice (3.2.2) is still running but it does not work properly. If I
start Tomcat by hand (tomcat startup in the binaries dir) all works
fine.
Whats wrong??
Werner
Do I need jni in mod_jk?
Even if you didn't need the jni worker, you need to have it
compiled in mod_jk.
May be something to reworked in jakarta-tomcat-connector.
I've managed to get tomcat, apache, and mod_jk running without
any problems on a
solaris 8 box. Getting it all to work on a
I'm trying to work through the examples (still
trying to get FORM authentication working).
One thing I can't understand is where all the .txt
files come from (and what they do). There seems to be a txt counterpart
for each jsp file. I'm sure I've just missed something very simple, but
can
Greetings,
I read a document which it tolds that or we put our application already
expanded, or by using a WAR file when TOMCAT is started, it will
automatically expand the web application archive file into its unpacked
form. I didn't know that there was a unpackWARfiles option! Where should I
Help on this would be great
-Original Message-
From: Adam Bell [SMTP:[EMAIL PROTECTED]]
Sent: 11 June 2001 16:55
To: [EMAIL PROTECTED]
Subject: Setting CORBA Settings for Web COntainer
Hi,
Can anyone tell me how to set the parameters for JNDI etc within the
TOMCAT
Hi,
I'm using tomcat on solaris x86 and have the following
problem that when I place parameters such as vectors
any removal of elements seems to fail i.e. an element
is not removed. Has anybody come accross a similiar
situation.
Cheers
Mark
Hi Oskar,
I am using the options:
-uriroot /$TOMCAT_HOME/webapps/AppName
-d /$TOMCAT_HOME/webapps/AppName/WEB-INF/classes
to set the directory where the results of jspc should be placed
-webxml/OWN_DIR/webAppName.xml
-webapp
I was wondering what tool you are using to merge the generated
web.xml file with your own? We might consider pre-building everything if we
could get an automatic build in place that would merge these files.
Randy
-Original Message-
From: Sophie [mailto:[EMAIL
Hi Randy,
Unfortunately I am not using a tool, but is it a manual effort. I add the
statements
for the EJB application to the web.xml file. It is not a lot of work as I only
have
to add 6 or 7 alias entries.
These alias entries are defined in the jsp's FORM tags. You could automate it
by
hi,
is it possible to reload the servlets web.xml from a runing
servlet, so that a changed web.xml can affect the servlet
without having to restart tomcat?
many thanks in advance!
basti
I think you must build apache with support for module_so (Dynamid Shared
Object). Please, read INSTALL and it explains how to enable mod_so. I just
don't tell you exactly what you should do because I don't know what is the
option for sure... probably it may be something like this:
./configure
I think tomcat is running, how do i test it?
Go to the port it's installed on... in server.xml, what port is HTTP setup
for? 8080? 80?
An easier way to tell would be to check the startup logs for that info.
- r
-Original Message-
From: root [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001 8:55 AM
To: [EMAIL PROTECTED]
I guess that a destroy() on the servlet should cause a new init() with the
ServletConfig as published on the web.xml.But it might be that it works only
if the container call a destroy() .
-Original Message-
From: Sebastian Schulz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001
root wrote:
I think tomcat is running, how do i test it?
if you've done the straight up install, look at http://localhost:8080 -
you should have a tomcat page.
cheers
dim
Everything seemed to be working perfectly yesterday...
Today I tried adding a new Context to server.xml (Tomcat 4.0 beta 5
milestone) and an appropriate WebAppDeploy line to my apache 1.3.20
config (since I'm using the WebApp module not mod_jk). Obviously that
was the wrong thing to do and
-BEGIN PGP SIGNED MESSAGE-
Sorry me! I wrote it in Portuguese language! Its a Database connection.You
can use: Jmeter - download at Apache Foundation, WAS(Web Application Stress)
from Microsoft ... Its free.
Regards,
José Euclides Júnior
__
E-mail:
hello all,
I am testing Tomcat standalone with client authentication on, and getting
some odd results. It works fine if client authentication is not turned on
(for both IE and Netscape browsers). If I turn on client authentication,
Netscape claims that I do not have a personal certificate, and
hey list,
I haven't been able to find anything in the archive that talks about
this, so I'm going to ask potentially a stupid question. I've got
apache/tomcat working nicely together, using mod_jk as documented.
Thing is, I want to have a dev area on the same domain, but listening on
8080.
Ok, tomcat works!
Cool.
Now i want to do some jsp and jscript programming.
Do i need a book? Or is there some more info on the web?
I want to build a application that connects to an odbc database.
Thanks
I use Web Development with JavaServer Pages for JSP, it rox0rs!
Check the tutorials at the java web site (http://java.sun.com/) for JDBC
information.
Good luck!
-Original Message-
From: Marcel [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001 9:41 AM
To: [EMAIL PROTECTED]
Subject:
A good book is mandatory, IMO. Then, if you're running Windows, find and
install Jscript5.chm as an online reference. I find it, plus other MS
...chm's invaluable.
as
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marcel
Sent: Tuesday, June 12,
great,
you will need to get JDBC-ODBC bridge (from java.sun.com)and odbc
drivers for your database.
but then again you should check if you can get JDBC drivers for your
database (with out the ODBC bridge) because it´s alot faster.
You can get info on how to build JSP pages from many different
Attached is JDBC/ODBC code.
- Original Message -
From: Marcel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 12, 2001 9:41 AM
Subject: Need some info about jsp/jscript
Ok, tomcat works!
Cool.
Now i want to do some jsp and jscript programming.
Do i need a book? Or
Is SET
CLASSPATH=.;C:\JDK1.3\JRE\LIB\RT.JAR;C:\JDK1.3\LIB\TOOLS.JAR;C:\TOMCAT\LIB\SERVLET.JAR
is this Line in your Autoexec.bat is in One Line or 2 Lines.
It has to be in One Line.
HTH
Best Regards
Moin.
subhi adam wrote:
THIS MY AUTOEXEC.BAT FILE
I think you have to prefix those lines with 'SET', but my DOS knowledge is
choppy.
You can also set them by right-clicking on My Computer, and then find the
tab containing an Environment Variables button...
- r
-Original Message-
From: Priya Gupta [mailto:[EMAIL PROTECTED]]
Sent:
In the instructions which accompany The WebApp Module for Apache 1.3
we are told to add the following 2 lines to our httpd.conf file:
LoadModule webapp_module libexec/mod_webapp.so
AddModule webapp_module
since this will instruct your Apache 1.3 web server to load and
recognize the newly
Mark,
What version of Tomcat are you running?
One of my co-developers said he had this problem on
3.2.1.
--- Mark French [EMAIL PROTECTED] wrote:
Hi,
I'm using tomcat on solaris x86 and have the
following
problem that when I place parameters such as vectors
any removal of elements seems
Greetings,
I read a document which it tolds that or we put our application already
expanded, or by using a WAR file when TOMCAT is started, it will
automatically expand the web application archive file into its unpacked
form. I didn't know that there was a unpackWARfiles option! Where should I
I think you must build apache with support for module_so (Dynamid Shared
Object). Please, read INSTALL and it explains how to enable mod_so. I just
don't tell you exactly what you should do because I don't know what is the
option for sure... probably it may be something like this:
./configure
I don't have the knowledge to compile a servlet... I'm just trying to get the existing
Webaccess ones to run. Can anyone at least tell me what this error *means*? That is,
does it mean the servlet can't find something... a file, or a definition, or ? I don't
even know where to start looking.
Hi Jim,
Looks like the WEB-INF/lib directory is missing a .jar file (the one that
contains the com.novell.webaccess.common package). Throw it in and restart
the container.
- r
-Original Message-
From: Jim Michael [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001 10:48 AM
To: [EMAIL
Hey,
I'm having a crap of a time trying to run a servlet from tomcat
through apache without having to see the /servlet directory. I've
messed with web.xml in my apps WEB-INF and the main tomcat.conf file for
apache but I just cant get it to work. Someone must know this is easy,
I
Do you mean that it works when you access it via Tomcat's HTTP port, but not
via Apache's?
- r
-Original Message-
From: Ricardo A Bosch [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001 10:57 AM
To: [EMAIL PROTECTED]
Subject: Tomcat/Apache mapping
Hey,
I'm having a crap of
Sorry, I have replied to the list two times because I was getting all my
emails delivered with this message:
The original message was received at Tue, 12 Jun 2001 05:55:23 -0700
(PDT)
from localhost [127.0.0.1]
- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
That's the weirdest part... the com.novell.webaccess.common package is in a file
called njweb.jar, and it *is* in the WEB-INF\lib directory. I can even prove that the
file is being used, because when I remove it from the directory the WebAccess
servlets won't even load.
Jim
Looks like the
exactly, i should clarify
myserver.com:8080/myapp/servlets/myServlet works (no sweat)
myserver.com:8080/myapp/myServlet works
myserver.com:80/myapp/myServlet DOES NOT WORK HOW!???
On Tuesday, June 12, 2001, at 11:01 AM, Robert Slifka wrote:
Do you mean that it works when you access
Roger that... Hmm... Mind double-checking that the .jar contains that
class? Just open it up with winzip or use jdk's jar.exe to see the
contents.
- r
-Original Message-
From: Jim Michael [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001 11:08 AM
To: [EMAIL PROTECTED]
Subject: RE:
Title: RE: error-page?error-code Tomcat 3.2.1
I thought this one was fixed. Use a .jsp page for your error page and It'll work fine.
-Original Message-
From: Xavier Renaut [SMTP:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 2:34 PM
To: [EMAIL PROTECTED]
Subject:
I think I may have a problem like this one. I have a servlet working fine
when I go by using port 8080 [directly to tomcat] that simples write some
test to output. When I pick the servlet mapping by apache, it shows me the
root of my web directory [the default is show index.html, but there is no
Woah, lay off the HTML email ;)
Your apache-tomcat setup is prolly fux0red.
Have you read the Tomcat-Apache howto at the Tomcat documentation site?
There are some examples and stuff in there...
- r
-Original Message-
From: Ricardo A Bosch [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001
look at the snoop example in your /examples stuff!
-Original Message-
From: teh j [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 9:57 PM
To: [EMAIL PROTECTED]
Subject: the name of the page you are at
Hello!
I was just wondering if it is possible for a JSP to
get its own name?
Sounds like just standard Tomcat/Apache setup stuff. Make sure you check
the Tomcat-Apache howto (on the tomcat docs page @ jakarta) since they were
written with exactly these kinds things in mind.
- r
-Original Message-
From: pedro salazar [mailto:[EMAIL PROTECTED]]
Sent: June 12,
We are using Tomcat to return a page containing an applet. Access to the
page requires web server authentication. When the user accesses the page
they are prompted for a username / password as expected. Once the applet
downloads, the user is prompted again for a user name password at the point
for anyone that cares
to get apache
/myapp/myServlet
add
ApJServMount /myServlet /myServlet
and of couse the servlet must also be in web.xml
peace out
rick
On Tuesday, June 12, 2001, at 11:36 AM, Robert Slifka wrote:
Sounds like just standard Tomcat/Apache setup stuff. Make sure you
Did somebody ask for JDBC/ODBC JSP sample?
I sent it earlier, but the mail bounced back because
.jsp type attachments not allowed!
:)
html
titleSelect SQL JSP/title
body
center
%@ page language=java import=java.sql.* %
%
Connection con = null;
are they all in the same dir or different subdirs?
you can use the xcopy command (or you might have to put xcopy32) in windows
to do this all in one shot!
ie if they are in say, c:\yourmomma\rules and there are 100 subdirs there
you can do it like this:
xcopy c:\yourmomma\rules\*.asp
I posted this message yesterday. It donesn't seem going throught. I have to repost it again. Here isthe problem.
After I deploy my small application and start Tomcat version 4.0 beta 5, I get the following error:2001-06-11 11:53:48 ContextConfig[/q3] Parse error in application
At 04:50 PM 6/12/2001 +0100, you wrote:
Can anyone suggest why the seconds dialog appears and how to get rid of it?
I had that happen to me once. It's some kind of network
config problem. Is the server a DHCP client or something?
Also make sure your network config stuff is correct in
server.xml
HI Again Pankaj:
When it comes to rendering of browser, i will say
it all depends on headers that you send it from servlet, if send the right
header applicable for word ( i guess "application/doc", if not let me know i
will checkout and find the correct one for u), than there is just no
Hi ALL:
Could y'all please help me with the following errors. Although it doesn't hamper my
flow of logic and control but I was just wondering why it should ever occur at the
first place. My configuration includes Apache Web Server 1.3.14+ and
Tomcat 3.2.1. Here is the exception for your
If you use Apache, map .asp to jserv-servlet or whatever the handler is for
it.
- r
-Original Message-
From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001 12:22 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How to make tomcat read .asp extension as .jsp file
no /description tag
terminator:
display-name/display-name
description
servlet
servlet-nameControllerServlet/servlet-name
display-nameCentralServlet/display-name
servlet-classControllerServlet/servlet-class
/servlet
- Original Message -
From:
Vernon Wu
To:
Please no HTML mail to this mailing list =)
If you're not familiar with XML, a good site to check out is w3schools.com.
http://www.w3schools.com/xml/default.asp
Two potential errors right off the bat:
web-app
display-name/display-name
description servlet
MS Word documents should use application/msword. (See the registry of
MIME types at
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types .)
-- Bill K.
-Original Message-
From: Hemant Singh [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Hi all,
I'd like to debug my jsp pages running on
tomcat.
I launch Tomcat with the following options:
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000
Then I attach to the port 5000...with jdb the
debugger starts..but now I'm stuck.
Greetings,
I configured tomcat to when I start my application to run a default
servlet [url-pattern is /]:
in web.xml:
servlet-mapping
servlet-name
servlet1
/servlet-name
url-pattern
/
/url-pattern
/servlet-mapping
When I go to http://myserver:8080/myapp/ my servlet
I'm guessing this can be done, but have had little success getting it to
work. I've added the following entries into my server.xml:
Context path=/MyServlets
docBase=webapps/servlet1
crossContext=false
debug=0
reloadable=true
/Context
Context path=/MyServlets
Probably instead
JkMount /myapp/*.jsp ajp13
do this
JkMount /myapp/* ajp13
And then all the requests from myapp will be forwarded.
-Original Message-
From: Pedro Salazar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 10:13 AM
To: [EMAIL PROTECTED]
Subject: starting in a
On 2001-06-11, at 18:01, David Burns wrote :
|My setup:
|
|RH Linux 7.1
|Apache 1.3.19
|Tomcat 3.2.1
|Sun JDK 1.3.1
|
|I'm using mod_jk.conf-auto to hook in the mod_jk connector.
|
|When I access tomcat directly, servlet mapping seem to work. Via Apache, it
|doesn't. For example,
|
Hi,
Does anyone know how t get JBuilder 4.5 integrated with an independent
version of Tomcat version 4 - so that it does not initialise the Web
Container
Any help would be sincerely appreciated.
Adam
Hi Pedro,
Did you try putting in:
JkMount /myapp/* ajp13
It works for me !
Good Luck,
Anand Chauhan
-Original Message-
From: Pedro Salazar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 1:13 PM
To: [EMAIL PROTECTED]
Subject: starting in a default servlet
Greetings,
I
Thanks for the response. I currently don't have a non-html email address. So there is no an option for me to get on this mail list with a non-html email address.
In regarding of my problem, the web.xml file in fact is
web-app
display-name... Application/display-name description.
Cuz you're mounting 2 *applications* to the same place, not *servlets*.
For what you want to do, mount a single application, and go into its web.xml
file to mount the two servlets.
- r
-Original Message-
From: Gilbey [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2001 1:27 PM
To: [EMAIL
Hi!.
I haven't follow all this thread, but:
Have you try to remove semicolons at the end of JAVA_HOME TOMCAT_HOME?
SET TOMCAT_HOME=C:\TOMCAT
SET JAVA_HOME=C:\JDK1.3
SET ANT_HOME=C:\JAKARTA-ANT
When you show your environmet variables (set) I don't see CLASSPATH set
(JAVA_HOME, TOMCAT_HOME
Pedro,
Please neglect my Suggestion 2 eMail sent earlier. That was a gruesome mistake. I
apologize for the goof up.
Regards,
Anand Chauhan
-Original Message-
From: Pedro Salazar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 1:13 PM
To: [EMAIL PROTECTED]
Subject: starting in
Well the question is if you nedd to have a different docRoot. That's what
you are trying to do. But if you would like to make call to a servlet you
should manipulate the web.xml file.
servlet
servlet-name
servlet1
/servlet-name
servlet-class
Suggestion 2:
Look into the http.conf file (Apache) you would find ServerRoot directive... Change it
to point to the to-be-called servlet.
-Andy
-Original Message-
From: Pedro Salazar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 1:13 PM
To: [EMAIL PROTECTED]
Subject:
Thanks for all the information, it was helpful from everyone. I ended up
just using an old java program I had and made some changes to it so that it
would check a directory and all sub directories for an .asp ending, and
rename the file if that was the case.
Brandon
-Original Message-
Did it work for you?
Because I had to turn back to Jserv module because apache was not at all
forwarding the requests for jk module. It handled them itself and nothing
was forwarded.
I used 1.3.14 and 3.2.2 apach vith IBM JDK 1.3
-Original Message-
From: Xavier Renaut [mailto:[EMAIL
Or if you are testing from another machine, http://ipaddress:8080/ where
ipaddress is the actual IP address or the DNS name for the server. In
either case you should see the Tomcat test page.
Dmitri Colebatch wrote:
root wrote:
I think tomcat is running, how do i test it?
if you've done
I think it should be
AddModule webapp.c
That works for me.
- Original Message -
From: Daphne Tregear [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 12, 2001 7:33 AM
Subject: AddModule webapp_module needed?
In the instructions which accompany The WebApp Module for
How do you set up a virtual host for say the admin programs so that you
could simply ask for http://admin.domain.dom/ rather than
http://server.domain.dom/admin/ (assuming that the appropriate DNS
entries have been created)?
try
JkMount /myapp/* ajp13
but in this case everything from /myapp and on will be directed to
tomcat--consider is Apache needed??
regards
Daniel
-Ursprüngliche Nachricht-
Von: Pedro Salazar [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 12. Juni 2001 19:13
An: [EMAIL PROTECTED]
this happens if a user uses Internet Explorer and Internet Explorer already
has a resource in cache. IE will simply close the connection, thats what the
message says.
Daniel
-Ursprüngliche Nachricht-
Von: Chauhan, Anand [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 12. Juni 2001 18:39
Dear
Sir,
I have
Tomcat 3.2 with IIS 5.0 on windows2000 server, now the probem is that the isapi
redirector doesnt seem to be working i.e i cannot access the http://localhost/examples/jsp/index.html
. I have went through the FAQ's everything is done according to it after many
tries i have
Thanks. I got it to work.
Oskar
Sophie wrote:
Hi Oskar,
I am using the options:
-uriroot /$TOMCAT_HOME/webapps/AppName
-d /$TOMCAT_HOME/webapps/AppName/WEB-INF/classes
to set the directory where the results of jspc should be placed
-webxml
I have looked all over and can't find the answer to this simple question.
If you use a static method, do you have to synchronize it in case other
people may access it at the same time. For example, I have a static Utility
class to do date calculations. The method Utility.getMonth(String date)
When you access the 'synchronized' static method, it locks its class.
so this will ensure the thread-safe access. Otherwise, the result is
unknown.
Pae
I have looked all over and can't find the answer to this simple question.
If you use a static method, do you have to synchronize
Yes. Monitor lock need to be put on code (preferred) or method wherever they
care accessed by more than one thread.
Example:
static void doSort (int [] arr)
{
..
synchronized(arr)
{
// sensitive code
}
}
.method static doSort([I)V
aload_0
monitorenter
;
I'm having some issues with static member
initialization now that I've migrated to Tomcat.
I have a 3rd party library (call it X) that I used
in several of my webapps.X uses a static member to keep
configuration information for all of the threads running in its process.
However, I'm
I have a servlet that send a SQL query to a database.
When I call this servlet via apache
(http://localhost/examples/servlet/SelectFromAgent), I receive via my browser (IE5.5)
the begining of the results of my query not the end.
When I look my HTML code it's like the information's stream was
Actually the outcome is predictable:
monitorenter will obtain objectref on this (aload_0)
* if no other thread has locked the object
* if the object is currently locked by another thread (monitorenter
instruction)
* if the current thread already owns a lock - the lock is released when the
counter
Justin,
We seem to be encountering the identical problem that you are facing. Did
not notice any replies to you question.
Were you able to surmount the problem? Could you share that information with
us?
We are using NT4.0 SP6a with Tomcat 3.2.1, JSSE 1.0.2 and JDK 1.2.2
We have obtained a
You don't seem to understand the relationship between the JVM's
threads and the native OS's threads.
Pae
Actually the outcome is predictable:
monitorenter will obtain objectref on this (aload_0)
* if no other thread has locked the object
* if the object is currently locked by
So would changing something simple from...
public static String getYear(String str){
newStr = str.substring(0,4);
return newStr;
}
to...
public static String getYear(String str){
synchronized(str){
newStr = str.substring(0,4);
return newStr;
}
}
be
Hi,
I am trying to use Tomcat 3.2.1 on my NT 4 server with IIS 4 and Microsoft
Proxy Server installed. Now Tomcat is working fine with iis via localhost
so I can access
http://127.0.0.1/examples/jsp/index.html or
http://127.0.0.1:8080/examples/jsp/index.html. But I can't make it
accessible
You are right. In one case the outcome between native and classic
implementation on locking the class can be different, specifically:
in classic model there is a so tiny chance of missed notification of
monitorenter since it takes dy/dx time to transfer from the wait to
the ready queue. In all
Thanks Dan,
It did help me in getting the crux behind the problem. However, is there any way I
could get rid of this exception. I tried a few settings in the IE Internet Options
tab but to no avail. The problem persists.
Regards,
Anand Chauhan
-Original Message-
From: [EMAIL
1 - 100 of 152 matches
Mail list logo