> Unless you're tasked with development or maintenance of an old
> application environment, I'd suggest moving up to the current 5.5.x
> version of Tomcat.
I should turn a java program into a servlet and run it in Tomcat. The idea is
this repeatedly called java program would work more efficie
Dear Sirs, dear group,
Where does Tomcat expect me to put my class file, or jar file?
Is it sufficient to put the servlet class in WEB-INF classes or must you
install a war file?
I am using Tomcat 4.1 to get a simple servlet working. I have succeeded in
compiling the servlet. I have put the cla
Ok, it seems to work putting the class in C:\Program Files\Apache Group\Tomcat
4.1\shared
The servlet now starts up.
\shared is, after reading the docs the general place for classes used by all
apps.
It got me further, sorry to bother you guys so much, this it the idea of my
managers:
"I sho
Hi,
with both, the preconfigured version from
jakarta-tomcat-5.5.9-preconfigured.zip and the installation from
apache-tomcat-5.5.15.exe I get the following startup messages:
- Unable to find config file. Creating new servlet engine config file:
/WEB-INF/server-config.wsdd
- Unable to find r
>
> From: "jacky" <[EMAIL PROTECTED]>
> Date: 2006/02/16 Thu PM 11:08:59 EST
> To: "Tomcat Users List"
> Subject: Re: Re: context error
>
> I added the , it still doesn't work
>
> Best Regards.
>jacky
>
> - Original Message -
> From: "Caldarale, Charles R" <[EMA
> Where does Tomcat expect me to put my class file, or jar file?
> Is it sufficient to put the servlet class in WEB-INF classes or must you
> install a war file?
I actually tried to put HelloIZ.class in a what seemed to me a logical place:
C:\Program Files\Apache Group\Tomcat 4.1\webapps\HelloI
Once again, you must map you servlet in your web.xml
Marc Wentink a écrit :
>>Where does Tomcat expect me to put my class file, or jar file?
>>Is it sufficient to put the servlet class in WEB-INF classes or must you
>>install a war file?
>>
>>
>
>
>I actually tried to put HelloIZ.class in a
Matt,
We just modify the apache-tomcat-5.5.15-deployer/build.xml script to
customize the application when it compiles and deploys it.
It's a standard ant build.xml, we just added another target that lets us
modify properties and other files for the specific host we are deploying to.
Theres a deplo
Marc,
Tomcat 5.x and 5.5.x work just fine with Java 1.4. For Tomcat 5.5 just be
sure to also download the "compat" kit that includes and extra jar or two
needed with Java 1.4.
-Original Message-
From: Marc Wentink [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 2:03 AM
To: Tomc
Marc Wentink a écrit :
>Ok, it seems to work putting the class in C:\Program Files\Apache Group\Tomcat
>4.1\shared
>
>The servlet now starts up.
>
>\shared is, after reading the docs the general place for classes used by all
>apps.
>
>
I won't recommand putting classes in /share unless really
> I won't recommand putting classes in /share unless really needed (shared
> libs poses problems
For now, only that one servlet will run in Tomcat.
> Tomcat 5.5 works also on jdk 1.4 (just add the compatibility package as
> stated in doc)
Ok. And the performance is a lot better?
> Mmm your in
The context work dir has to be the same as the temp dir, at least for Struts
using commons upload, for upload to work correctly on files bigger then
256K:
---struts-config.xml---
---xxx.xml---
> -Original Message-
> From: news [mailto:[E
Hi,
I have anabled authentication usng JAASRealm in Tomcat 5.x
The steps are
1. Security constraints in web.xml - Working
2. JAAS LoginModule implementation - Working because I am able to login.
3. Policy file like this
grant CodeBase "file:./struts-blank.war" Principal
com.paper.security.fil
I was hoping to get something else. Sure our sysadmin will enjoy to put
600 usernames in one line of /etc/groups (assuming HP-UX and NFS allows
it)...
Mark Thomas a écrit :
>David Delbecq wrote:
>
>
>>*outch* This mean i will have to change my web.xml with future tomcat
>>version.
>>How do I al
I've tried both Eclipse and Netbeans and they're both great. I just
seem to be more productive with Netbeans. It's unexplainable !
-Joe
On 2/16/06, Glen Mazza <[EMAIL PROTECTED]> wrote:
> Pulkit Singhal wrote:
> > I would say Eclipse web edition...but you have to figure out how to
> > integr
Bump. Does anyone have any idea on these? I need to get Tomcat
configured with apache. Thanks!
Brad
On Feb 16, 2006, at 8:00 PM, Brad O'Hearne wrote:
I am trying to get the Tomcat connector configured to connect
tomcat and apache and I have two questions:
1) I downloaded the binary distri
I started the below thread last weekend, and upon suggestions, I have
changed some javascript redirects to get to my site, into some JSP
redirects, based upon user input earlier this week.
In a nutshell, I am trying to make sure that robots can index my web
site.
My web site is a struts applicati
Hi Michael, use LiveHttpHeaders to track all requests until you get your
"session" expired.
Then post the log from that here. You only posted one request, how can a
session expire for one request :) -> it can't
Filip
Michael Andreas Omerou wrote:
Dear all,
Thanks for your replies to my prob
Hi,
Now I have made some progress.
My policy file is
grant CodeBase "file:C:/apache-tomcat-5.5.15/webapps/struts-blank" Principal
* * {
permission javax.security.auth.AuthPermission "
createLoginContext.WhitePaper";
permission java.util.PropertyPermission "java.home", "read";
perm
wget www.theuniquepear.com
saves the welcome.do page. So it seems to work.
Btw. I would suggest you change your mapping from .do to .html or
change your mapping to path-mapping and not extension:
/unique/do/welcome instead of
/unique/welcome.do. For better indexing change 'do' through something
me
Is there anyway to request a client cert without https?
Thanks for your help
Luis
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You need a separate error-page declaration for each error code,
according to the servlet spec. The set of HTTP status codes is
limited, so after a couple minutes of copy & paste you'll be done with
it.
On 2/16/06, Java Pro <[EMAIL PROTECTED]> wrote:
> Is there anyone who can help me with this quer
Hi,
I've some ClassNotFoundException problem.
All the objects I want to serialize and deserialize implements
Externazible/Serializable.
I'm running Tomcat 5 and JAVA5.
The .jar lib implementing serialization and deserialization of the
application reside under server/lib (Catalina loader) an
Since less than 2% of the users out there now have IE 5.x, I would
personally drop this.
Even further, once you set a valid doctype you ought to think about running
your pages the the w3 validator
http://validator.w3.org/
Doing so can reduce the cases where your pages work differently in differe
And yet it would be so easy to test.
You seem to think that the presence of this header (and how it alters the
page results) will affect both browsers in the same way. Why do you think
this?
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message
Hi there,
I've set up a basic web.xml file to test that my ssl connection is working fine
for the specified pages to be protected in this way and to test to see if my
custom 404 error page works fine.
I've got the certificate for my SSL page working fine and I've tested it
before, but since I'
On 2/17/06, Scott Purcell <[EMAIL PROTECTED]> wrote:
> My web site is a struts application, and is the default app. The way the
> site is configured, it is the root app, and I configured the root app to
> use welcome-file as a .jsp. So when the user hits the url
> it goes to a jsp page, which the
Hi,
I am running Tomcat 5.5.9 and would like to deploy an application (as
a war file) to various customers, but I am having trouble finding the
best place for JNDI lookups. During development I kept everything
inside the war file and placed my JNDI entries in $WAR/META-INF/
context.xml, b
Just to update you on this problem, I've now got the error page working (I
needed /error.jsp and not just error.jsp) but I am still having problems
with the tag. When I try to use this I end up with
the generic Tomcat 404 error page and can't load up a single page. Once I
comment this out ev
1 - Yes it's seems the good binary.
2 - sample part httpd.conf to add for support mod_jk in apache
# Load mod_jk module
LoadModulejk_modulemodules/mod_jk.so
JkWorkersFile /etc/apache2/jk-workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevelERROR
JkLogStampFormat "[%
What do you want to accomplish? SSL is the only (I mean one that is
established) way to ensure a secure session.
ND
-Original Message-
From: Luis Henrique [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 10:11 AM
To: users@tomcat.apache.org
Subject: Client Cert
Is there anywa
Hi Mark,
What kind of error do you get? 404? Is there any exception on catalina.out?
Try this:
Secure Area
/secure/*
GET
POST
CONFIDENTIAL
Regards,
D
--- Mark Whitby <[EMAIL PROTECT
I dont care about the session security.
I just want to associate the broser user with one in my database. For
this a need to get his cert.
On 2/17/06, Duan, Nick <[EMAIL PROTECTED]> wrote:
> What do you want to accomplish? SSL is the only (I mean one that is
> established) way to ensure a secure
You should have the *customer* add these to the global data sources, using
the admin tool, or by adding the xml fragments (you can ship) to server.xml
themselves.
Tim
-Original Message-
From: Darren [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 11:00 AM
To: users@tomcat.apa
--On Friday, February 17, 2006 2:01 PM -0300 Luis Henrique <[EMAIL PROTECTED]>
wrote:
I dont care about the session security.
I just want to associate the broser user with one in my database. For
this a need to get his cert.
You *can* set up HTTPS then drop to NULL encryption :-P To get the
-- Ok so let's go ;)
My two tomcat are stopped and i run the MCaster on both box
>From agnes
java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 ovea-inspiron
Usage MCaster [address port message]
BEGIN TO RECEIVE
SENT:ovea-inspiron1
RECEIVED:ovea-inspiron1 FROM /192.168.2.102:45564
BEGIN TO R
Greetings all.
Is there a way to configure mod_jk to roll its log file?
Earnie!
Perfect David, and as far as I can tell, the latter sequence that you
present, clustering and session replication is working just fine.
now, obviously your system is not setup correctly to bind an interface
to the multicasting, so don't do it if it works without it.
so what have you learned? :)
Earnie Dyke wrote:
Greetings all.
Is there a way to configure mod_jk to roll its log file?
Only if you put the 'rock' in front. Then mod_jk will
rock'n'roll it's log files :)
Sorry, I had to ;)
Anyhow, I suppose you might be interested in log rotation.
The syntax is the same as for the Ap
This would probably work had I not failed to mention that we use IIS instead of
Apache. :-(
Guess I got "rolled" after all!! :-)
Earnie!
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 2:16 PM
To: Tomcat Users List
Subject: [May Be Spam] Re
David Thielen wrote:
> Hi;
>
> Ok, I went back to Info and it is happening again. I think it's the logging
> because the IIS logs don't match the isapi log. Not only does the list of
> files not match (these are the only places most of these filenames occur)
> but there are files listed in the isa
If you (or someone else) have full control of the database
configuration, not your customers, you may consider using a true JDNI
server. The JNDI implementation provided by Tomcat (or most of the app
servers in the market today) are not true JDNI services, but only a
look-up table, because objects
Earnie Dyke wrote:
This would probably work had I not failed to mention that we use IIS instead of
Apache. :-(
Guess I got "rolled" after all!! :-)
Right, I'm afraid isapi_redirect does not support log rotation.
Regards,
Mladen.
-
Thanks for the info.
Earnie!
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 2:45 PM
To: Tomcat Users List
Subject: Re: [May Be Spam] Re: Rolling mod_jk logs
Earnie Dyke wrote:
> This would probably work had I not failed to mention that we
OK i continu to explore this multicast problem on my boxes
So what i've learn
I learn that it's right to develop J2EE application on Linux.
I can see very quickly problem that i can find in production infrastructure.
i'm sure on windows all my problemes was be masked.
It's improve my knlowl
you're welcome, glad I could help.
there is one problem that you have on your linux box, NIO is not working
properly,
so disabling acknowledgements solved that problem (waitForAck="false")
Filip
David Avenante wrote:
OK i continu to explore this multicast problem on my boxes
So what i've l
Brad,
I also am running SuSE SLES9 and have mod_jk connecting apache to tomcat.
Here are the packages I have installed:
# rpm -qa | egrep apache2
apache2-example-pages-2.0.49-27.29
apache2-mod_php4-4.3.4-43.46.8
apache2-prefork-2.0.49-27.38
apache2-devel-2.0.49-27.34
apache2-worker-2.
[EMAIL PROTECTED] wrote:
Thanks for reply Bill. Is there anyway to setPrincipal on
HttpServletRequest? can I cast to concreate class that implemented that
HttpServletRequest? Which class is it?
Anil, is this what you are looking for?
http://issues.apache.org/bugzilla/show_bug.cgi?id=38658
I have been testing this (as if I was a customer) so I can write
instructions for the customers. I tried adding my JNDI entries into
$CATALINA/conf/server.xml within a Context declaration, but it seemed
to prevent me deploying the war file correctly. While testing I use
the manager applic
Sorry - I was not clear. You need to define the resources (not the
contexts), before you can refer to them. In your context, you specify the
name (think symlink) of the resource as a reference, and in the global
context, the customer fills in a datasource, mailsession, etc., for that
name.
See h
I thought that my be the load balancer is able to differ the DNS.
But I learnd that at leas our loadbalacer has not this bility.
This could be done with an other Tomcat or Apache and some rewrite rules ...
thx,
Haluk
> And since the HOST argument has not yet been presented, how would the load
> ba
If it was possible to do it with re-write rules that the Apache HTTPD FAQ
that I originally referenced would have mentioned that.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Haluk Durmus [mailto:[EMAIL PROTECTED]
> Sent:
Ok so question .. if I configure my tomcat with apr (Apache Portable
Runtime)
it's isue be solved ?
I've listen that futur version of Tomcat will embed APR as natif and i can
run Tomcat
without apache in fronted with same performance and with support of other
scripring language like PHP
Is i
Hi;
This is with the release isapi_redirect, not the new one by Mark.
I have installed Tomcat and isapi_redirect on a new web server. It all works
fine for 4 webapps. But for the 5th one, while it comes up fine using
http://www.windward.net:8080/forums/index.jsp, it fails for
http://www.win
Never mind - weirdness in the virtual directory I set up - this is fixed.
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 9:07 PM
To: tomcat-user@jakarta.apache.org
Subjec
According to servlet spec, the only way to tell if a request has been
authenticated is request.getUserPrincipal() returning a non-null Prinicpal
object. Is it possible to obtain such an object from the current HttpSession
instead? Or, I should say is there any facility provided by Tomcat to co
56 matches
Mail list logo