==
Date: Mon, 23 May 2005 13:15:33 -0700 (PDT)
From: Dola Woolfe [EMAIL PROTECTED]
To: Tom Cat tomcat-user@jakarta.apache.org
Subject: Minimal server
==
Hi,
Perhaps this is a strange question.
Basically, I believe that (for many
||
Hej.
Du har försökt skicka ett e-mail till Fructus Data AB.
Ditt meddelande har inte nått fram till mottagaren.
Detta beror troligtvis på att mail-adressen
du
Hi Mark,
To answer your questions:
- You can create your own Certificate Authority (CA) with no links to
any other certificate, institution,... A typical CA certificate is just
that: a self-signed certificate (=signed with the private key matching
the public key contained inside the
Thank you ever so much. The certificates will be for a subset of my clients
and so I am not that worried. I really appreciate your help.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: 23 May 2005 23:13
To: Tomcat Users List
Subject: Re: Client Authentication
Thanks Philip.. ever so much help. I really appreciate this!
-Original Message-
From: Philippe Johan [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 08:55
To: tomcat-user@jakarta.apache.org
Subject: RE: Client Authentication certificates
Hi Mark,
To answer your questions:
- You can
From: Dola Woolfe [mailto:[EMAIL PROTECTED]
What I'm primarily thinking about is what the user
would need to have/install in order to use the
program. And I want the user to simply click on a file
and for the program to just run (provided the jre is
installed).
Tomcat is capable of running
hi guyz
i ve just configured to use my tomcat 5.5.x running on win2k machine with
apache web server 2.0.49 running on fedora core 2 machine. my application
are running perfectly well. infact i m noticing a certain level of increase
in performance. however, i get into troubles as soon as i take my
Dear Tomcat Users,
I have been working on an interesting problem. I need to give
access to several servers in a private network.
Lets say that there are:
http://192.168.1.2/mail
http://192.168.1.3/accountWebManager
http://192.168.1.4/phpApps
Tomcat would need to act as a reverse proxy. There is no functionality
bundled with tomcat to do this but there might be other servlets which allow
this.
-Tim
Borja Bravo Alférez wrote:
Dear Tomcat Users,
I have been working on an interesting problem. I need to give
access to
OK glad someone else said that because I don't get this either but didn't
reply because I assumed I must have misunderstood. Dola, apologies in
advance if I have got the wrong end of the stick, but are you saying that
you want to install an app on many PCs, and the app does not need to
interact
As Tim said, there is nothing bundled with Tomcat to do this,
but you can easily write your own proxy to do this.
You'll have something like :
http://[MyPublicProxy]/mail
http://[MyPublicProxy]/accountWebManager
http://[MyPublicProxy]/phpApps
with mail, accountWebManager, phpApps that are servlets
I have Tomcat 5.5.9 and Apache 2.0.54 running on Windows 2000,
connecting them with mod_jk (not jk2).
The only thing I want to do now is have Apache run Tomcat in-process
like I did with jk2, is this possible?
And if it is, what files do I need to update and configure?
Thanks.
I am having a problem where one of my jsp files won't compile. Tomcat
successfully creates the java file but it never creates the class file
and hence never responds to the request for the page.
I am looking for what needs to be in the command line in order to
manually compile the java file
You have to add jsp-api.jar to the classpath.
hth
Marco
---
http://www.kontaktlinsen-preisvergleich.de
http://www.faq-kontaktlinsen.de
Am Dienstag, den 24.05.2005, 08:46 -0500 schrieb Charles P. Killmer:
I am having a problem where one of my jsp files won't compile. Tomcat
successfully
Greetings:
We have been using a custom JNDI realm for several months on Tomcat 5.0
without an issue. Yesterday, an application suddenly stopped working
with the following error trace during deployment:
May 24, 2005 8:46:12 AM org.apache.commons.digester.Digester
startElement
SEVERE: Begin
Thanks. Now I am stuck at:
test_jsp.java:55: cannot find symbol
symbol : method getAttribute(java.lang.String)
location: interface javax.servlet.http.HttpSession
USER_ID = session.getAttribute(USER_ID).toString();
^
What jar file is javax.servlet.http in? I am already
Hi all,
I am trying to set up debugging on Tomcat while it is running as a
Windows service. The requirements of the project negate me from being
able to run it as a script.
I have tried adding;
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
to the Java Options
We're having more or less the same problem. Is there perhaps a chance
of a UserFormLoginListener in a future version of Tomcat? Anyone have
any advice on this?
Some reliable method for logging out a user would also be extremely useful.
On 5/22/05, Torsten Römer [EMAIL PROTECTED] wrote:
This
Hi Charles,
what you can do is to use an ant task for do the precompilation.
This is a bit smarter than via the command line I guess.
The docu is under
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Appl
ication%20Compilation
It's not very well documented, it took me a
Hi all
In struts why do we need validation frame work we have java script
to do validations. Is there any extra advantage of using the validation
frame work
raj
_
On the road to retirement? Check out MSN Life Events for advice on
In my server.xml, I have a JNDI realm which works for authenticating
every user against Microsoft Active Directory.
The user requests a URL which I have set up as an alias in my web.xml
for a servlet which authenticates the user against the active directory
and then does a
This also does the validation on serverside and it is declarative rather
than programatic :)
It can be done in a single xml :) no need to write extra code :)
html:errors/ does it all for the serverside :)
Regards
Guru
-Original Message-
From: raja buddha [mailto:[EMAIL PROTECTED]
Because you should never trust the client. They may not be submitting
from your form. Javascript is just a nicety to save the user a whole
request/response cycle just to find out a field is missing or wrong.
Consider it a security issue.
-- David
raja buddha wrote:
Hi all
In struts why do
I just need a way to quickly determine why this script times out without
compiling. I have two scripts that create an admin interface to two different
tables. The only difference in the files is the underlying table structure.
One works. Even if I delete the _jsp.java and class files before
I did the packet trace and here is some more information:
There are more packets with IIS as compared to Apache with IIS the
response body is in a separate packet than the packet containing the
Status Code 200 and also I see HTTP/1.1 100 Continue messages sent by
server to the client. In
From: Rahul Akolkar [EMAIL PROTECTED]
Sent: Monday, May 23, 2005 9:43 PM
Not all validations can/should be done client-side.
-Rahul
To expand, even validations done on the client side must be done again on
the server side. Never trust your client.
But for client side validation is still a
From: Steve Kirk [EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 5:02 AM
I don't see how you will do that without installing some kind of dynamic
webserver on each PC, whether that be apache-hpptd, tomcat, or other, plus
the web application (which needn't be servlets, it could be perl based).
I'm not certain if setting keep-alive will speed things up, but since you have
a firewall you should probably use it.
From the documentation:
socket_keepalive False
This directive should be used when you have a firewall between your webserver
and the Tomcat engine, who tend to drop inactive
Yes, I think Will captured what I'm trying to do.
Let me give you a slightly more specific description
because I would like to hear what you guys have to
say.
I basically want to write a relatively small
application which has nothing to with being a web
server. What it will have a significant GUI
Is there a reason why you can't let TC compile the JSP on demand and read
the log output? Works for me.
Failing that, I suspect your cmd-line classpath has some errors.
What does echo %classpath% produce?
And are you sure these are right in your classpath (from your previous post
below):
David is right, JS and serverside validation perform different roles. To
expand on his comment a bit more, remember that the requests that your
webapp receives could be sent by any HTTP client, not necessarily by a
friendly web browser. If someone were so inclined, they could write their
own
Hi Ross,
Ross Nicoll schrieb:
We're having more or less the same problem. Is there perhaps a chance
of a UserFormLoginListener in a future version of Tomcat? Anyone have
any advice on this?
Such a listener would be nice...
I now went for a filter (as seen in another post) and I am very
Thanks Will - I had not heard of embedded TC before. Interesting, and a
nice piece of innovation too.
Hence why I misunderstood the thread earlier (sorry).
This could be very useful. If I've understood correctly, I can somehow
bundle together my existing TC webapp along with the tc-embedded
Can someone tell me how to access the values of debug, dataSourceName
and dataSourceName from within class EnterpriseCustomUserRealm? I tried
using a Context but I missed the boat somewhere.
Realm
className=com.metafile.tomcat.enterpriseregistry.EnterpriseCustomUserRealm
Jim,
I am not sure I understand your question. Could you re-phrase it?
What I can say is that this Realm is not part of the standard Tomcat
distribution. You might be better off talking to whoever supplied you
with this Realm.
Mark
Jim Henderson wrote:
Can someone tell me how to access
Hi mark!
I am the supplier of the Realm! :)
I don't know how to access the parameters defined for the realm
configuration from within the realm java code.
Thanks for responding.
Jim
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 2:23 PM
To:
On May 23, 2005, at 22:15, Dola Woolfe wrote:
Can this be done? I basically want to program to have
a thread that listens to some port and launches a
servlet when a request is made.
Sure. But perhaps something like Jetty, or Simple would be more
appropriate.
You might want to check the Tomcat source for an example, but I believe
Tomcat uses getter/setter bean methods to transfer that info to an
instance of the object after creating it. So for instance, the attribute
debug would be set by calling newRealmInstance.setDebug(992) ;
--David
Jim
Hello,
I have two identical Tomcat 5.5.9 servers setup on two different Windows
servers.
On one the HttpSessionListener which I am using to count active sessions
works fine. However on the second it appears that the HttpSessionListener is
never notified of sessionCreated or
Hello,
I have two identical Tomcat 5.5.9 servers setup on two different Windows
servers.
On one the HttpSessionListener which I am using to count active sessions
works fine. However on the second it appears that the HttpSessionListener is
never notified of sessionCreated or
David - You are right! Thank you! Simple getters and setters.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 3:04 PM
To: Tomcat Users List
Subject: Re: How to read arguments?
You might want to check the Tomcat source for an example, but I
I have a globally named db pool resource that I use across multiple
contexts to access a particular database. When I redeploy a webapp in
Tomcat 5.0.28, I am losing the DataSource and getting a pooled
connection fails with the following (truncated) message:
org.apache.commons.dbcp
Hi all,
When trying to start tomcat 5.5.4(tried 5.5.7 and 5.5.9) on OS
redhat-release-3ES-7.4, I always get the following error:
'/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: syntax
error near unexpected token `do
'/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: `
On 5/24/05, Gary Zhu [EMAIL PROTECTED] wrote:
Hi all,
When trying to start tomcat 5.5.4(tried 5.5.7 and 5.5.9) on OS
redhat-release-3ES-7.4, I always get the following error:
'/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: syntax
error near unexpected token `do
From the look of the stacktrace, which mentions
org.postgresql.Driver.parseURL as the point where the initial exception
was thrown, maybe the URL attribute in your Context's Resource or
ResourceParams might either contain a wrong value or a typo. This might
be leading to a parsing exception, even
Steve Kirk mentioned this in his list of files you need to have in your
classpath, but I'll repeat it as a direct answer to your question. The
file servlet-api.jar provides the implementation of the
javax.servlet.http package.
If you put that in your classpath, it should get rid of the
Thanks for the ideas. I cranked my debugging up to 99.
There are a couple of things that I see, but don't know if they are
serious:
1. SEVERE: The scratchDir you specified:
/development/jakarta-tomcat-5.0.28/work/Catalina/localhost/admin is
unusable.
-- I never set this, I am assuming
You can use Tomcat with just JRE. Check out latest Tomcat build it uses
eclipse's class loader. Thus nothing new to build. :)_
-Original Message-
From: Dola Woolfe [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 4:27 PM
To: Tom Cat
Subject: Minimal tomcat
Hi,
Perhaps this is a
I am in VA and the local Community College does a seminar on it. I am not
aware of any formal training. I would suggest Google.
Doug
- Original Message -
From: Tim Sodergren [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Sent: Monday, May 23, 2005 2:47 PM
Sorry for the delay. Been off-line. It would be in Tomcat.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Host%20Name%20Aliases
Doug
- Original Message -
From: Randy Paries [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org;
[EMAIL PROTECTED]
hi cam,
this url maybe useful for you.
http://www.pauaware.co.nz/tomcatntservice.htm
maojm
On 5/24/05, cam r [EMAIL PROTECTED] wrote:
Hi all,
I am trying to set up debugging on Tomcat while it is running as a
Windows service. The requirements of the project negate me from being
able to
51 matches
Mail list logo