Thank you for your suggestion, i am new to this group, next time i'll
this in mind
GS
On 06/07/07, hanasaki <[EMAIL PROTECTED]> wrote:
What do you mean "v r"? Please do not post shortcut English ;)
When you get things working... Please post the solution to the problem
so we can all learn.
G
What do you mean "v r"? Please do not post shortcut English ;)
When you get things working... Please post the solution to the problem
so we can all learn.
Girish Havaldar wrote:
> Thnks for the resplone, now v r doing that only
>
> GS.
>
> On 06/07/07, hanasaki <[EMAIL PROTECTED]> wrote:
>> Di
Thnks for the resplone, now v r doing that only
GS.
On 06/07/07, hanasaki <[EMAIL PROTECTED]> wrote:
Did you per-complile the JPS's? - don't - in this case
Ensure the jsp version you coded against is the same as that supported
by the hosting company.
Jon Wingfield wrote:
> You are using jdk1.5
Bit of a maddening problem this one.
I'm setting up https on Tomcat 5.5.
Following the how-to closely I've generated a keystore using keytool and
uncommented/modified the port 8443 connector in the server.xml.
But the https connector just fails to work, the logs report these errors:
1. org.apac
Did you per-complile the JPS's? - don't - in this case
Ensure the jsp version you coded against is the same as that supported
by the hosting company.
Jon Wingfield wrote:
> You are using jdk1.5 features (autoboxing, for example ) in your JSP pages.
> Early versions of the 5.5 tree bundled a jsp co
Tony,
We had the same issue recently. Copying msvcr71.dll into the
$CATALINA_HOME/bin directory fixed the issue... Here's a thread with
more background:
http://forum.java.sun.com/thread.jspa?threadID=5121172
Hope this helps!
-randy
Randy Bumgardner
Software Engineer
1400 Marina Way South
Rich
Thank you all for replying
I wanted to prevent the users who were deleted already to logging in.
I resolve my problem by extending a class from JDBCRealm and override the
getConnection() method (I'm not sure about the method name) and put my
"select" statement with my favorite where clause
"whe
java.lang.Object is the core ancestor of all java classes. Given it's
pretty much available by default regardless of classpath or anything
else I suspect your JVM install is messed up in some manner. Try
reinstalling your JVM and start tomcat again.
--David
Tony Fountain wrote:
Hi,
I am
Make sure you have CATALINA_HOME pointed to your tomcat instance. make sure
your java home is correct.. It sounds like it can't find the java home..
You did boot after the install right? If you added that environment variable
to the system section, you'll need to boot to pick it up or open a new
Hi,
I am attempting to install Tomcat 5.5.23 as a Windows service on a
Windows 2003 Server box. The steps I went through are as follows
* Installed the JDK 1.5 Update 12
* Manually added the environment variable JAVA_HOME to C:\Program
Files\Java\jdk1.5.0_12 (as a system variable, n
to "prevent the other users to be signed on?"
Do you mean prevent from locking them out?
I've got a similar deal in my db with the users table, a column called
user_dbflag, which, like your status column, uses a simple int value of -1 or 0
to see who's "active." Actually, it also has a timestam
Arian Abrahantes wrote:
Hi Filik:
I understood what he wanted to do. My post is about how needed is this
for him?. If it is a company requirement ok. But if there is no
requirement why to slow the server down?.
IMHO, in a properly set apache proxy configuration nobody except
apache will int
request.setAttribute and cast the string variables that are currently set in
the servlet.
then request.getAttribute in the JSP.
Actually thoughyou might need to make the hyperlink a form button.
-Original Message-
From: Mohammed Zabin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July
Hi Filik:
I understood what he wanted to do. My post is about how needed is this
for him?. If it is a company requirement ok. But if there is no
requirement why to slow the server down?.
IMHO, in a properly set apache proxy configuration nobody except apache
will interact with the aplication
Why is the URIEncoding attribute specified on the connector rather than on a
host, for example? Does this mean that the number of virtual hosts that can
listen on the same port on the same box are limited by whether they all use
the same encodings in their URIs? Now that I think about it, wouldn't
I think what he wants is
browser -> http -> Apache -> http -> tomcat
browser -> https-> Apache -> https-> tomcat
a lot of companies have these requirements
Filip
Arian Abrahantes wrote:
Hi:
I think this has alraedy being discussed somewhere here. Why do you
need double enchriptation? It is
never mind...I found it, thanks.
-Original Message-
From: Propes, Barry L [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 05, 2007 11:47 AM
To: Tomcat Users List
Subject: error messages, numbers
This has probably been discussed here before, I'm certain, but I've been
perusing the archive
This has probably been discussed here before, I'm certain, but I've been
perusing the archives for a bit and haven't come across it yet.
When I get errors in the 400 series, the browser will show me specifically the
numeric error in question - i..e 404 for a page not found, 403 for an invalid
Hi:
I think this has alraedy being discussed somewhere here. Why do you need
double enchriptation? It is enough with the apache one. Use something like:
broweser -> https -> Apache -> http -> tomcat
pro:
1- Single enchiptation fast server response.
cons (at least fo security):
1- none
I m
Hi, all.
I've got an odd situation with one of our applications that runs under
Tomcat. The application will occasionally stop responding to incoming
requests, and I believe I've traced the issue to a problem with Context
reloads. Several times a day, the Tomcat log file indicates that the
appl
All, I am quite new to Tomcat, but have run into a situation that I am
having a hard time finding a solution too.
We are working with some ColdFusion applications using Apache2
-->jk_mod-->Tomcat. We have set up 4 different CFML processors as Tomcat
applications and created the hosts like this:
there is no right or wrong solution, but entertain this scenario
1. few very large machines (or)
2. many very inexpensive machines
in the case of one machine breaking, using 1) will have a larger impact
on your performance than 2)
however, in the case of 2) you may have more failures.
take go
Thanks for the feedback. Please don't overlook b). For worker MPM is
definitely seriously broken, i.e. you will end up with currupted
communication etc. Don't use 1.2.23 with worker MPM, even if it looks
good in simple tests.
Phi-Long LE wrote:
I initially said that i did amend the code... how
I initially said that i did amend the code... however after thinking
about the error I did prefer to amend the @INC to reflect the real path
using perl -I path1:path2:path3...
Le 05/07/2007 15:18, Phi-Long LE a écrit :
yes indeed, an error occurs when tryng the a) command...
vhqun02# /opt/
Hey Johnny, thanks for the help. I fixed the problem - stupid
mistake, I was running 1.4 instead of 1.5
--Jesse Barnum, President, 360Works
http://www.360works.com
(770) 234-9293
On Jul 5, 2007, at 3:58 AM, Johnny Kewl wrote:
No, that stuff is not relevent, in the BAT (SH) files, the TC guys
Great!
I do not have a webapp yet, i would like to see the example first before I
venture with some code of my own. I saw talks that the example works only in
telnet. I dont know how to do that yet, I will see.
Maybe I'm just going to go ahead and write a test myself.
Good to know you at least sa
Aldo Brucale wrote:
Hello, I'm using Tomcat 5.5.20 and Sun Java 1.5.0_10 under Debian
Linux, using jk version 1.2.18 to connect from Apache. I would like
to let Apache do HTTP autentication before forwarding the requests to
Tomcat: is this possible?
yes it is,
and in tomcat's connector elemen
HI!
i cannot get use this example too.
but my big mistake was that i put the webapp library the catalina.jar!
the project need catalina.jar for comet stuff, but you cannot deploy it in
your webapp.
maybe check that..
If i removed i could use comet stuff. (but not the demo:) )
I connected to com
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Réf. : Missing JMX.jar in Tomcat 5.5.23?
>
> maybe you have to download from here but I'm not sure
The necessary classes in jmx.jar are part of the standard 1.5 JRE. If you're
using an older JRE, you can find jmx.jar in the JDK 1.4
Yes just make sure you set tomcatAuthentication="false" in the
connector definition in server.xml for the AJP connector. That will
allow the REMOTE_USER header to make it through to your webapps.
--David
Aldo Brucale wrote:
Hello, I'm using Tomcat 5.5.20 and Sun Java 1.5.0_10 under Debia
yes indeed, an error occurs when tryng the a) command...
vhqun02# /opt/apache_2.0/bin/apxs -q PREFIX
Can't locate strict.pm in @INC (@INC contains:
/project/aix5l64/main/APACHE/perl/bin/AIX/Opt/lib/5.8.3/aix-thread-multi
/project/aix5l64/main/APACHE/perl/bin/AIX/Opt/lib/5.8.3
/project/aix5l6
Hey, Szabolcs.
I'm looking for things about AIO Tomcat, using Comet technology, but I
didn't get anything yet.
I have already sent an email to tomcat users list, but no one answer.
If you found something, please retrieve me. I'm trying to discover how an
client can acess the manager of events o
No experience with AIX compilation, but 2 infos:
a) usually this measage means, that
/opt/apache_2.2/bin/apxs -q PREFIX
returned an error or something wrong (here I have chosen the same path
to apxs, which you have posted).
You can check that without running configure. Choose the same user a
Hi there!
I have some questions about how to setup Apache and Tomcat with SSL
support. Currently I have the following setup:
- Windows 2003
- Tomcat 6.0.13
- Apache 2.0.59 with
- openssl 0.9.7j
- mod_ssl
- mod_proxy
- mod_rewrite (not used)
I have generated keys that work with Apache. So I
Hello, I'm using Tomcat 5.5.20 and Sun Java 1.5.0_10 under Debian Linux,
using jk version 1.2.18 to connect from Apache. I would like to let
Apache do HTTP autentication before forwarding the requests to Tomcat:
is this possible?
Thank you in advance
Aldo
---
folks,
has someone already experienced compiling mod_jk 1.2.23 on AIX 5.3
platform ???
when executing the command ./configure
--with-apxs=/opt/apache_2.2/bin/apxs, an error occurs telling that it is
a wrong path but am sure about that.
any help would be appreciated,
regards,
Phi-Long LE
Hi!
Has anybody got any workable code sample i javascript for use tomcat comet?
- I tryed with pure xmlhttprequest, watching for state ready, but i got data
after it has timeouted on server...
- dojo.cometd is not usable, its need bayeux protocol
- dojo.io.bind, i cannot make it
could someone p
Hello:
I have installed tomcat 6.0.13 on my windows xp machine, and I cannot get
the chat example to work.
I have switched the connector to the NIO http connector. I do not see any
trace on the console. After I go past the login page, I get to the post page
but typing something on the message bo
Hi
how can i set which connection type tomcat use? (keep-alive, close)
can i change it with the servlet code? response.setHeader("connection",
"keep-alive");
if yes, why it did not work for me and tomcat send always connection: close
?
and .. can i change the http version from servlet to servlet
You are using jdk1.5 features (autoboxing, for example ) in your JSP pages.
Early versions of the 5.5 tree bundled a jsp compiler (JDT) which didn't
support these new language features.
Later versions bundled an updated version of the compiler...
For deploying on 5.5.9 just get rid of your autob
I'm trying to write a Servlet which adds a Mapping on an existing
Servlet-Class to ists own Context.
Is this possible or are there any restrictions ?
I tried this, but there wasn't a result:
.
public class Index extends HttpServlet implements ContainerServlet {
protected void
Your code: userid= Integer.valueOf(""+session.getAttribute("uid"));
Try: userid = ((Integer)session.getAttribute("uid")).intValue() ;
Essentially typecast the Object returned from the session to Integer
before attempting to get the int.
As to this error:
The method setAttribute(String, Object
I think what you are after is well beyond tomcat's realm
authentication/authorization implementation.
You could implement your own login page and filter (notice I didn't
mention realm). The login page/servlet can validate users, track the
error rate and opt for showing CAPTCHA as necessary.
I see one problem.. see note below
- Original Message -
From: "Girish Havaldar" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, July 05, 2007 10:00 AM
Subject: Re: Tomcat Version problem
ths is the jsp page:
<[EMAIL PROTECTED] import="java.sql.*,java.util.*,logcheck
Hi David,
I don't like realm because I don't want to implement a new
authentication repository, I only want to implement a new authentication
method. Doing this at the realm level limit the possibilities of the
form, i want to do captcha validation when the user has has tw
consecutive errors
Ha, that will teach you to use the latest and greatest template collections
;)
If you using Netbeans, just right click on the project and move the source
level down to 1.4... I think you going to find all your problems
- Original Message -
From: "Girish Havaldar" <[EMAIL PROTECTED]
I have been using Gmail and thought you might like to try it out. Here
is an invitation to create an account. it 'll be of greate use during
Discussion on any topic
---
Girish Havaldar has invited you to open a free Google Mail a
wht i think is a version problem,
how to check versions of servlets,jsp,
how 'll come to kn which version v r using
On 05/07/07, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote:
I have no idea where your line numbers are but the jsp compiler is already
asking you to look at 67, 223, 226 in your JSP.
I have no idea where your line numbers are but the jsp compiler is already
asking you to look at 67, 223, 226 in your JSP. Possibly you get cast
exceptions because whatever you are trying to cast to isn't cast-able or
converted. Also please double check the types of the objects you are passing
int
ths is the jsp page:
<[EMAIL PROTECTED] import="java.sql.*,java.util.*,logcheck.settings" errorPage="
errorpage.jsp"%>
classification
<%
settings set=new settings();
int flag = 0;
flag = set.islogedin(request,response);
if(flag!
The easiest way is to subclass HttpServletResponseWrapper.
Override the methods 'getOutputStream' and 'getWriter()' (not sure
getWriter is really used by static content serving, so you may not have
to code something there). Basically, make a ByteArrayOutputStream as the
result of getOutputStream, a
No, that stuff is not relevent, in the BAT (SH) files, the TC guys having
given you the ability to make a digest or a hash of passwords to hide them
in the realm, if u want to.
And all they saying is that you dont have to use the whole of TC to make
them (hashes), and can just use a few classes.
Sounds like that are a lot of type mis-match in the generated servlets, I'd
have a look at the JSP's to see if there's anything like that in there and
correct it.
On 7/5/07, Gregor Schneider <[EMAIL PROTECTED]> wrote:
well, the error-log is giving you pretty good hints:
> An error occurred a
Thanks man,
On 05/07/07, Gregor Schneider <[EMAIL PROTECTED]> wrote:
well, the error-log is giving you pretty good hints:
> An error occurred at line: 67 in the jsp file: /classification.jsp
> Generated servlet error:
> Type mismatch: cannot convert from Integer to int
>
> An error occurred
well, the error-log is giving you pretty good hints:
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
Type mismatch: cannot convert from Integer to int
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
The met
On 05/07/07, Girish Havaldar <[EMAIL PROTECTED]> wrote:
Hi,
we have an application developed using the following components as listed
below
mysql 5.0.27
jdk 1.5.0_06
jre 1.5.0_06
tomcat5.5.20
Apache 2
phpMyAdmin 2.9.2
Servle
Sorry, my cristal ball just f'd up, therefore I'm neither able to see
the errors thrown up nor a possible solution for them.
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Hi,
we have an application developed using the following components as listed below
mysql 5.0.27
jdk 1.5.0_06
jre 1.5.0_06
tomcat5.5.20
Apache 2
phpMyAdmin 2.9.2
Servlets 2.3
JSP1.2
Our application is
58 matches
Mail list logo