No effect. 8(
I think truth is out there. :)
Thanks for help.
- Original Message -
From: "Igor" <[EMAIL PROTECTED]>
To:
Sent: Monday, December 27, 2004 11:42 AM
Subject: Re: windows-1251 (Russian encoding)
> Hello!
>
> Please try to run tomcat with
> -Dfile.encoding="ISO-8859-1"
> java
Currently, tomcat 4.1.18 is running fine on host a. I want to upgrade
tomcat from 4.1.18 to 4.1.31 on host a.
I install 4.1.31 and use the default config (only uncomment the ssl
part). It startup with error message (at the end of this post).
Then I install the SAME keystore and copy of 4.1.31 to
Hi Wade,
Thank You. Your opinion will be good input for me. The reason for upgradation
is, we would like upgrade the specs and as well want to take the advantage of
JMX support.
Thank & Regards
Murthy Tetali
Wade Chandler <[EMAIL PROTECTED]> wrote:
Murthy Tetali wrote:
> Hi,
>
> We would
Hi,
I need to configure logs on my virtual hosting. How can I do it? Till now logs
are created at global logs directory to which I don't have access. I need logs
in my webapps directory.
I tried SQLMaps. It is wonderful but is there any easy manual (except PDF that
come with ibatis) available on net?
Amit Gupta
-Original Message-
From: Dustin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 1:28 AM
To: Tomcat Users List
Subject: Re: Newbie question on Databa
You are using User mode Linux or dedicated server?
Amit Gupta
Mobile: 91-9818052171
-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED]
Sent: Monday, December 27, 2004 11:18 PM
To: tomcat-user@jakarta.apache.org
Subject: JVM Crash
Hello all,
I deployed Atlassian Jira Ent
On Mon, 27 Dec 2004 [EMAIL PROTECTED] wrote:
> On Mon, 27 Dec 2004, QM wrote:
>
> > On Mon, Dec 27, 2004 at 01:58:53PM -0800, [EMAIL PROTECTED] wrote:
> > : Maybe that's the real question. Is there a way to include jsp code
> > : outside of the webapp that will be compiled runtime?
> >
> > What a
Rodrigo Schmidt wrote:
Hi Wade, thanks for your reply.
I already reported the bug, but they can take a long time to send an
answer.
Searching the bug database I found some posts that reported the problem
happening with the client vm as well.
I am considering trying another vm. I've just tested BE
Frank W. Zammetti wrote:
It's interesting, Craig and I had an exchange about threads in servlet
containers last week... I can't find a link to the thread unfortunately.
Anyway, the basic idea behind that "don't spawn your own threads
inside a servlet container" admonishment is based more on the
Could you do something like the following? You'll be essentially doing
something like curl to get the output from the other app and simply writing
it out in your app. This has been tested but should help you get the idea. I
did something similar to send a POST request to an external site and then
j
Jukka Uusisalo wrote:
Jorge Sopena wrote:
Why is bad using own threads inside web application?
Aren't all the servlet request actually a thread in Tomcat?
I can't find a reason why it's so bad solution.
I think that comes from J2EE specs. I do not remember is threads just
forbidden but if you foll
I think you may do that the same way that hotmail and google does, namely;
immediatly redirecting the user after loggin and placing some user
authorized/online flag on a database
run ethereal and trace the request/responce conversation while logging into
hotmail . . .
- Original Message ---
On Mon, 27 Dec 2004, QM wrote:
> On Mon, Dec 27, 2004 at 01:58:53PM -0800, [EMAIL PROTECTED] wrote:
> : Maybe that's the real question. Is there a way to include jsp code
> : outside of the webapp that will be compiled runtime?
>
> What about ?
> (or is that <%@ include />? I forget which is r
On Mon, Dec 27, 2004 at 02:47:27PM -0800, Shankar Unni wrote:
: For JSPs, all is cool: <%= application.getInitParameter("foo") %>
: returns these parameters.
:
: For Servlets, how do I get at them from the init() method? (I need them
: there!). I find that calling config.getInitParameter() doesn
You need a ServletContextListener, and you can get to them from there.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni
Sent: Monday, December 27, 2004 5:47 PM
To: tomcat-user@jakarta.apache.org
Subject: How to access s from Servlet.init()?
I'd like to c
I'd like to configure a set of web-app-level parameters for use by both
Java-based Servlets, and JSP pages. I thought of setting these up as
s at the level in web.xml.
For JSPs, all is cool: <%= application.getInitParameter("foo") %>
returns these parameters.
For Servlets, how do I get at th
On Mon, Dec 27, 2004 at 01:58:53PM -0800, [EMAIL PROTECTED] wrote:
: Maybe that's the real question. Is there a way to include jsp code
: outside of the webapp that will be compiled runtime?
What about ?
(or is that <%@ include />? I forget which is runtime, and which is
compile-time...)
Essent
>
> On Mon, 27 Dec 2004, QM wrote:
>
> > On Mon, Dec 27, 2004 at 12:22:50PM -0800,
> [EMAIL PROTECTED] wrote:
> > : What is the best practice for including jsp files that
> exist outside
> > the
> > : web application?
> >
> > I don't think there really is one. read on:
> >
FWIW - We let ou
I always assumed the Oracle client was required. . .
I uninstalled the client and get the same results. With the sid syntax I at
least get an entry in the listener.log:
27-DEC-2004 16:58:11 *
(CONNECT_DATA=(SID=test)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))) *
(ADDRESS=(PROTOCOL=tcp)(HOST=10.0
On Mon, 27 Dec 2004, QM wrote:
> On Mon, Dec 27, 2004 at 12:22:50PM -0800, [EMAIL PROTECTED] wrote:
> : What is the best practice for including jsp files that exist outside the
> : web application?
>
> I don't think there really is one. read on:
>
>
> : I have seen a couple of threads of puttin
A general solution for this will probably not be available until/unless
rfc-2965 is approved. There is currently no standard that states the
scope of a session as related to protocol or port. The servlet working
group delayed clarifying this until Java Servlet Spec 2.5.
Best practice rfc-2964 state
I extended it and placed the class "com.xxx.realm.classname" in the
server/classes folder for Tomcat 4.1.24. It's working, but I don't use
any of the class methods in my application. And you need to name the
class in server.xml as Pandu states.
Regards,
Bob Feretich
> Yes it is. You will have to
Hi Wade, thanks for your reply.
I already reported the bug, but they can take a long time to send an answer.
Searching the bug database I found some posts that reported the problem
happening with the client vm as well.
I am considering trying another vm. I've just tested BEA JRockit
1.4.2_05, but
On Mon, Dec 27, 2004 at 12:22:50PM -0800, [EMAIL PROTECTED] wrote:
: What is the best practice for including jsp files that exist outside the
: web application?
I don't think there really is one. read on:
: I have seen a couple of threads of putting these
: "included" jsp files in a separate we
On Mon, Dec 27, 2004 at 10:31:41AM +0530, Amit Gupta wrote:
: My Concern is that whenever I deploy finished application to give demo to
: clinet, I need to realod application at hosting server. As said I cannot do it
: due to lack of access to tomcat manager.
Chances are, they won't give you JMX a
hi,
regarding http://:8080/manager/status/all
i am only using connector http8080. i was wondering if
"Request count" and "Error count" for http8080 should
be the sum of "Request count" and "Error count" of all
web applications using port 8080?
for example, in the below, http8080 shows 15 request
Hello,
We have a web application that is overwritten each time we push a new
version of the code into production. However, we have jsp files that are
included by the web application (dynamically via a jsp:include), but are
edited outside of the web application... and should not be overwritten
jus
This isn't exactly answering your question but...
Check out iBATIS SQL Maps:
http://www.ibatis.com/common/sqlmaps.html
I won't go into how to use it. They have an excellent
manual and tutorial.
It is ridiculously easy to learn and use. Especially
with Struts. Basically, you set up a query in an
Wade Chandler wrote:
Rodrigo Schmidt wrote:
Local Time = Sun Dec 26 13:39:24 2004
Elapsed Time = 437787
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_06-b
Rodrigo Schmidt wrote:
Local Time = Sun Dec 26 13:39:24 2004
Elapsed Time = 437787
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_06-b03 mixed mode)
#
Fro
Hello all,
I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I
experienced two random JVM crashes in a period of one month. The strange
part is that the crashes occured when the application was at a very low
load, doing almost nothing.
I searched the archives for this topic, but I
Thanks for your response, I will try this solution (I find it very useful
for this and another doubts of tomcat handling requests/responses), but, any
tomcat programmer knows if tomcat closes (or should close according to
specs) the connection when a servlet sets header "Connection: close"
T
hi everyone.
The problem did show up again in the web application.
So the solution of upgrading the dbcp.jar helped performance but did not
solve the situation.
I found this site:
http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html/
"...
The JDBC-ODBC Bridge driver is recommende
Hi!
SSL in tomcat does not allow for having the same session both http and
https. Something about developer misstakes leading to security-holes that
would reflekt badly back on Tomcat... At least that is the answer I got.
You can write your own Connector if you really need to work your way around
Yes it is. You will have to change the name in server.xml file also to your
class name. Also the class/jar file should be placed in the common folder
since tomcat needs access to it.
Pandu
From: "Ilja Smoli" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: tomcat-user@jakarta.apache.org
Su
Murthy Tetali wrote:
Hi,
We would like to upgrade our production Tomcat Server from 4.0.6 to 5.0.x
Our application is higly multi-threaded, having 2000 concurrent users.
This Application is running on tomcat 4.0.6 from last 2 years without any problem.
I will be looking forward for your recom
Hi all.
I would like to encrypt my login process so that login and password are not
visible on the network. That's why I defined a SSL connector on port 8443 in
my server.xml. My problem is that after the user logged in, request keep on
using the https protocol on port 8443.
Does someone know how
Hi,
We would like to upgrade our production Tomcat Server from 4.0.6 to 5.0.x
Our application is higly multi-threaded, having 2000 concurrent users.
This Application is running on tomcat 4.0.6 from last 2 years without any
problem.
I will be looking forward for your recommendation/suggestion
Use a network packet trace tool like ethereal (http://www.ethereal.com/),
which is open-source and available for multiple platforms. This will let
you see if the connection is closed, and who initiates the close.
Please respond to "Tomcat Users List"
To:
cc:
Subject:Connection:
Hi,
Use init(ServletConfig config) method of servlet for
init parameters. bcs, init parameters will be set only
once it is initialised... so, u have to do the same in
the init() method only...
thanks.
--- Raasi Potluri <[EMAIL PROTECTED]> wrote:
> Hello Hardik,
>
> thanks for your reply, yeas,
Hello Hardik,
thanks for your reply, yeas, I'm using the same code
as you written,
thanx eversomuch, please help me out
the code looks like this
[code]
package com.jspbook;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class InternationalizedHelloWorld extend
Hi,
Are you using init() method of the servlet for
fetching init parameters like this?
String str =
getServletConfig().getInitParameter("param1");
Rgrds,
Hardik
--- Raasi Potluri <[EMAIL PROTECTED]> wrote:
> Dear Friends,
>
> I have written a simple servlet which reads a init
> parameter fr
Yes. Place the file in $CATALINA_HOME/classes/yourpackage/YourClass.class (or
somewhere in the server classloader)
-Tim
Ilja Smoli wrote:
Hi
Question is: is it possible to extend org.apache.catalina.realm.JDBCRealm
and override method "authenticate(String username, String credentials)"?
And if i
Dear Friends,
I have written a simple servlet which reads a init
parameter from the web.xml file and displays on the
browser. I'm a beginner and trying to learn simple
servlets, I have reached where I can read some init
params from the web.xml file and displays on the
browser, but all the simple s
Hi everybody!
I'm using tomcat 4.1.27 to serve contents through a servlet. In my app it's
very important to close connections everytime, so I use header "Connection:
close" in the response everytime the content is served. My question is: this
header makes Tomcat to close the connection by i
Hi
Question is: is it possible to extend org.apache.catalina.realm.JDBCRealm
and override method "authenticate(String username, String credentials)"?
And if it is possible (i guess it is), where to put it and etc...
-
To unsu
Ich werde ab 24.12.2004 nicht im Büro sein. Ich kehre zurück am
10.01.2005.
Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Hello!
Please try to run tomcat with
-Dfile.encoding="ISO-8859-1"
java option. It might help
I am from Ukraine too :-)
Igor
- Original Message -
From: "Максим Квитка" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 24, 2004 12:57 PM
Subject: windows-1251 (Russian encoding)
Good day.
S
I am having a problem when accessing servlets in all
applications from My tomcat webserver. It seems like
the Tomcat is having a problem when executing the
servlets.
Before this all the applications worked but I realize
after I got comment from one of the users this
morning , it does not work. it
49 matches
Mail list logo