I think it's not MSIE that is confused.
What you see are serverside exceptions.
(At least I think they are)
I guess something in the generated java is
confusing javac.
What kind of linefeeds do you use in the jsp?
(Just CR or CR/LF)
-Original Message-
From: Baer Peter Christoph
Ralph,
BTW: In my version of tomcat (4.0.3) jasper generates
code for the jsp's that synchronizes on the session
to access session attributes. Is the current version
doing the same ?
I'm using 4.1.27 and yes, is does synchronize on the session object that
it gets (I'm only including the
As far as I can remember there have been posts in this
list, where people said that they have seen different
session objects within the same session.
This was explained with the fact that there is a session
facade which can change anytime. So the session should
be a quite weak monitor to rely
We are seeing an issue that has the same symptoms as if I were trying to
do load balancing but not getting sticky sessions -namely that our
application every once in a while starts thinking that the session is
not authenticated and prompts on every other request for a login.
The difference here is
Yoav,
If you have a servlet which initializes resource for your context (like
an InitServlet), you can simply implemnent the destroy method to
release your resources.
This may be easier than writing a ServletContextListener, and has fewer
moving parts.
I would strongly disagree ;) The container
Hola,
- ServletContextListener cannot flag that an error has occurred (other
than some type of logging)
You could throw a runtime exception, making the context unavailable in
tomcat.
- Servlets have their own init parameters specified in the web.xml
file.
If you use a listener, you have to
They create objects -- the are an object factory/maker.
At 05:05 PM 10/28/2003 +0530, you wrote:
Why are some methods called factory methods?
e.g. prepareStatement() in java.sql.PreparedStatement
-
To unsubscribe, e-mail: [EMAIL
Hi. I have installed Tomcat 5 on redhad 9, and works fine. However I would like to
start it as a service automatically everytime the computer boots up.
Please can someone please provide a reference to information on how to do that or
simply tell me how to do that?
Thanks MT
Hey guys,
I moved a few tomcat Apps from a 6.2 server to a 7.3 server. Running
the same version of Tomcat. But now the character sets that are
displayed are coming out as ? .. They are all spanish character sets.
I tried changing to the character set to utf-8 from iso-8859-1 but still
it
Hi people, I`ve got a really simple question but a can`t solve on my own.
On Windows, when an applicacion throws an Exception, for the first time, Tomcat
freezes, until I hit the keyboard or I do something on the DOS console that appears
when Tomcat starts up.
But it doesn`t happen on Linux!
Hi Guys,
I am deploying application in tomcat in different way.
As the application already have hard coded path references which are too tedious to
remove,
I am using specific directories to deploy my jars.
I am setting classpath manually.
This all works excellent with Tomcat 3.2.4
With Tomcat 5,
From http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links ...
http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html
-Tim
Mark Tebong wrote:
Hi. I have installed Tomcat 5 on redhad 9, and works fine. However I would like to
start it as a service automatically everytime the
Attached is a file stating that Norton Antivirus removed an executable
because it contained a virus. Is somebody just trying to be malicious or is
someone so naive that they would recieve such a file from someone through
the tomcat-user list???
- Original Message -
From: [EMAIL
thank you Tim
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 2:35 PM
To: Tomcat Users List
Subject: Re: Tomcat 5 to start automatically on linux at bootup
From http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links ...
Howdy,
As the application already have hard coded path references which are
too
tedious to remove,
FYI, there are few better ways to get someone to think this person is
not worth my time to help than a sentence like the above...
Yoav Shapira
This e-mail, including any attachments, is a
At 09:46 AM 10/28/2003, you wrote:
As far as I can remember there have been posts in this
list, where people said that they have seen different
session objects within the same session.
This was explained with the fact that there is a session
facade which can change anytime. So the session should
Yoav,
- ServletContextListener cannot flag that an error has occurred (other
than some type of logging)
You could throw a runtime exception, making the context unavailable in
tomcat.
Sure, but that's not very clean: the context startup just bombs. At
least you get a servlet unavailable if you
Hi!
I have a servlet that getting post request from form with
enctype=multipart/form-data as part of the form is file
upload. On the first run it works OK, on the second i am
getting:
java.lang.NullPointerException
at
Leo,
On Windows, when an applicacion throws an Exception, for the first
time, Tomcat freezes, until I hit the keyboard or I do something on
the DOS console that appears when Tomcat starts up.
I've had this problem before. It turns out that in some DOS windows,
when you click on them, they suspend
Paresh,
I am using specific directories to deploy my jars.
You should probably be keeping all your JARs in your web app, or in a
WAR file.
java.lang.NoSuchMethodError: javax.servlet.ServletConfig.getServletName()Ljava/lang/String;
This method is not part of the servlet specification:
Howdy,
java.lang.NullPointerException
at
oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat
emen
t.java:1082)
at cs615.lzp.SellForm.doPost(SellForm.java:34)
I would look at your form, line 34, and maybe not call setString on the
PreparedStatement object if
Also my page:
http://daydream.stanford.edu/tomcat/install_web_services.html
You can download one for apache, tomcat, and postgresql. It will probably
be the same as the one Tim noted, except mine has a status command for
tomcat that tells you how many threads/processes are running for tomcat.
Alexander,
Next time, please post this to a Java or JDBC or Oracle mailing list.
This is unrelated to Tomcat.
I have a servlet that getting post request from form with
enctype=multipart/form-data as part of the form is file
upload. On the first run it works OK, on the second i am
getting:
But it works on first run and does not on second with same input
Thanks
On Tuesday 28 October 2003 03:35 pm, Shapira, Yoav wrote:
Howdy,
java.lang.NullPointerException
at
oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat
emen
t.java:1082)
at
It will be true for first run but it works on first and does not on second
with same input
Thanks
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 4:45 PM
Subject: Re: (OT)
Can we, using tomcat's clustering, somehow replicate not only session
information for a given user (which would allow that user to transition
amongst the servers as traffic increases) but also maybe the application ??
Thanks
Karthik Duddala
Developer - Web Team
Commerce Technologies
Ph.
Howdy,
Can you prove the input is the same? ;)
BTW, Senor Schultz is probably right about marking this as off-topic.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Alexander Pomansky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 3:46 PM
To: Tomcat Users
At 12:37 PM 10/28/2003, you wrote:
Leo,
On Windows, when an applicacion throws an Exception, for the first
time, Tomcat freezes, until I hit the keyboard or I do something on
the DOS console that appears when Tomcat starts up.
I've had this problem before. It turns out that in some DOS windows,
Howdy,
Since HTTP is stateless, session replication is enough for servlet
webapps to achieve clustering. That is, session replication =
application replication. If you're using more J2EE than servlets, e.g.
EJBs, your app server will (hopefully) allow for clustering itself.
Yoav Shapira
Could you recomend me any Windows version to avoid this?
Is there some way to send the output of the console to a file?? if not, is
it possible to always click enter in that console so as to left the
selection-mode unselected??
I`m asking you this because I`ve got no problem on doing this in my
Hi folks,
i got the following error message:
--
2003-10-28 21:58:08 Info: Compile:
javaFileName=C:\Programme\jakarta-tomcat\work\Standalone\localhost\jetspeed\/index_jsp.java
Make sure u have $JDK/lib/tools.jar in your classpath
-Original Message-
From: Gerald Stampfel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 4:11 PM
To: [EMAIL PROTECTED]
Subject: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is
not on the classpath.
Hi
Thanks, Yoav. Appreciate all your help.
Pardon my Ignorance, but, how is session scope the same as application
scope?
Karthik Duddala
Developer - Web Team
Commerce Technologies
Ph. 518-886-0700 x. 3881
just different ways of looking at it.
if you are saying that application replication is to replicate the data in
the application context, then no, it doesn't do that,
Filip
- Original Message -
From: Karthik Duddala [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday,
Thanks, Filip. So, my next obvious question is, Is there a way we could
replicate data in the application context? If so , has anyone implemented
it?
Thanks much
Karthik Duddala
Developer - Web Team
Commerce Technologies
Ph. 518-886-0700 x. 3881
No Sir,
The tediousness is not because of laziness to remove the code but because of usage of
3rd party code,
which we are not licensed to change and which is path specific.
I know this makes things far difficult than normal ways of deployment, but I am
willing to do whatsoever to make it work
More to that
The form will not be submitted if value is null (checked by JavaScript)
So i think it is related to server request
Thanks
On Saturday 30 August 2003 04:57 pm, Alex Pomansky wrote:
It will be true for first run but it works on first and does not on second
with same input
Thanks
Alexander,
can you post the code that actually uses the parameter?
At 04:35 PM 10/28/2003, you wrote:
More to that
The form will not be submitted if value is null (checked by JavaScript)
So i think it is related to server request
Thanks
On Saturday 30 August 2003 04:57 pm, Alex Pomansky wrote:
Leo Larraquy wrote:
Excuse me about not beeing happy with your response, I understand that your
not the person who made Tomcat, but I really can`t understand why Linux
doesn`t have these problem and Windows does.
It's a problem with Windows and has nothing to do with Tomcat. More
Gerald,
i got the following error message:
[snip]
Exception compiling Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
JAVA_HOME points to the correct JDK.
Are you sure it points to a JDK and not a JRE? Often, people
I guess thats a fine answer
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 5:37 PM
Subject: Re: Windows freeze...
Leo,
On Windows, when an applicacion throws an Exception, for the first
I`ve never done that, that`s the a fine way to avoid the problem, could you
tell me how to do it?
Thanks
- Original Message -
From: Erik Wright [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 6:48 PM
Subject: Re: Windows freeze...
Leo Larraquy
I run my production server on Linux so I've never bothered to try, but a
quick google search shows:
http://www.mattkelli.com/tech/tomcat/ntservice.htm
and
http://web.bvu.edu/staff/david/tcservcfg/
-e
Leo Larraquy wrote:
I`ve never done that, that`s the a fine way to avoid the problem,
See subject :-) This is actually a two-parter, though...
1) Which should I use? We are running apache2 and tomcat on solaris, on the
same machine. The tomcat usage is fairly light (a small percentage of the
total usage of the server). We've been running using apache1 and webapp for
over a
Fdisk
Install linux
:)
On 10/28/03 2:25 PM, Leo Larraquy [EMAIL PROTECTED] wrote:
Hi people, I`ve got a really simple question but a can`t solve on my own.
On Windows, when an applicacion throws an Exception, for the first time,
Tomcat freezes, until I hit the keyboard or I do something on
question 1: yes you could do it
question 2: no one has done it
- Original Message -
From: Karthik Duddala [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 1:30 PM
Subject: Re: Session vs. Application Replication
Thanks, Filip. So, my next
At 01:03 PM 10/28/2003, you wrote:
Could you recomend me any Windows version to avoid this?
Is there some way to send the output of the console to a file?? if not, is
it possible to always click enter in that console so as to left the
selection-mode unselected??
Turn off QuickEdit in your DOS
In Tomcat 5, you can customize the location of the common/lib, endorsed,
etc. Just take a look at $CATALINA_HOME/conf/catalina.properties.
Double check that to see if you can do what you want :-)
-- Jeanfrancois
Rodrigo Ruiz wrote:
Thanks for your responses, I will follow your suggestions
It ´s a good idea, and but my client is Microsoft-mind-ahead
- Original Message -
From: Dov Rosenberg [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:22 PM
Subject: Re: Windows freeze...
Fdisk
Install linux
:)
On 10/28/03 2:25 PM, Leo
I have my jars in following manner.
webapps\gf\bin\all jars with third party code + standard jars
webapps\gf\WEB-INF\lib\my jars
webapps\gf\*.jsp, *.htmls
I can not move the jars in bin as I have no control over code and they refer /bin/path
in their code.
To make this work with Tomcat 3.2.4
Hi,
afaik it is a different reason.
The virus searches for valid email adresses and sends itsself to those.
So if a member is subscribed to the list, and a virus sends himself to the
list with the 'From: ' adress of a valid user it will be passed to the
members.
If he is not subscribe the
run tomcat as a service
- Original Message -
From: Leo Larraquy [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 2:50 PM
Subject: Re: Windows freeze...
It ´s a good idea, and but my client is Microsoft-mind-ahead
- Original Message -
All,
java.lang.NoSuchMethodError:
javax.servlet.ServletConfig.getServletName()Ljava/lang/String;
This method is not part of the servlet specification:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/index.html
How did you compile it in the first place?
I'm sorry; I was looking at
On Tue, 2003-10-28 at 23:40, Adam Hardy wrote:
I don't store the token in the session. When the form submits, I check
the session for a hashmap, if the token is not in the hashmap, I allow
the transaction and then put the token in the hashmap.
Interesting. You store the successful tokens
Hello,
Please let me explain a little more. It is the password that the JDBC realm
uses to connect to the database that should be encrypted for example
connectionPassword=foobar should look something like
connectionPassword=3dc69416b0783cac9f3dda37b6bb0862. I have been able to
deal with user
Run as service instead :D
Leo Larraquy wrote:
It ´s a good idea, and but my client is Microsoft-mind-ahead
- Original Message -
From: Dov Rosenberg [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:22 PM
Subject: Re: Windows freeze...
Fdisk
It definitely points to a jdk and $JAVA_HOME/lib/tools.jar does exist.
-
Gerald S.
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 10:51 PM
Subject: Re: Error: Unable to find a javac compiler;
I am working in a windows environment.
You mean setting my environment variable %classpath% by doing SET CLASSPATH
= ... ?
I have done that and it still doesn't work.
-
Gerald S.
- Original Message -
From: Jay Garala [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent:
David Bishop [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
See subject :-) This is actually a two-parter, though...
1) Which should I use? We are running apache2 and tomcat on solaris, on
the
same machine. The tomcat usage is fairly light (a small percentage of the
total
101 - 159 of 159 matches
Mail list logo