This is very strange. When I add commons jars, e.g. commons-bean-utlis.jar,
to my webapp lib directory, the webapp will no longer deploy to tomcat
5.5.12. Take the commons jars out (and restart tomcat) then the webapp will
deploy. It won't run of course, because of the missing classes...
I've been
Hi,
i have tried to use the code for pre compilation of JSP from the site <
http://www.rgagnon.com/javadetails/java-0414.html>.
In my Application in the JSP folder , there around 6 sub folders and around
25-30 JSP is each of them. When i run this JSP only few JSP's are complied
and then an error
Hi,
i have tried to use the code for pre compilation of JSP from the site <
http://www.rgagnon.com/javadetails/java-0414.html>.
In my Application in the JSP folder , there around 6 sub folders and around
25-30 JSP is each of them. When i run this JSP only few JSP's are complied
and then an error
unsubscribe
---
Robosoft Technologies - Partners in Product Development
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I have couple of questions regarding tomcat startup
1)when the tomcat is started , does it load all the jar file from its lib
and create a object of all the classes?
2) if there is a static block in one of the classes , when will it
execute..during startup or when first call is made
Sant
if anyone has done it earlier its better to reuse..i am already working on
the same. But is it recommended to upgrade to higher version of tomcat? my
current tomcat is curretly stable.
Just wanted to get ageneral view or opinion of all the experts in this group
Santosh
On 10/17/05, George Sexton
Hello group thanks all for all the support you gave me in the last mail.
I have one question. I started to read a book about JSP and TOMCAT and at the beginning it says that I should create a context so the book has a code that I have to write in the server.XML and I have to restart the serv
Is it possible to have one login for multiple web apps within the same tomcat
webapp? That is, I don't need to relogin to web app B if the user have already
logged in web app A when the user have the access right in both web app. Thanks.
Hello tomcat users
I have hesitated a while before sending up this question,
for the presumably obvious reason that hacking the tomcat
DefaultServlet is an act of questionable judgement. But
there are some good reasons why I experimented with this.
In my attempt to get more control over visibi
Hi,
I am running several domains from my tomcat. I want to add some Custom made
packages to all my clients on that server. This package has cutom made CMS. I
don't want to expose the code to all my clients by adding a sub directory.
How can I do that?
Thanks
Aditya
Alas, No extra debugging information appeared for me with the
-Djavax.net.debug=ssl:handshake.
I still get
WARN http-8443-Processor25 gov.sensornet.security.X509Realm - Check OCSP
Credentials: CertPathValidatorException:
java.security.cert.CertPathValidatorException: javax.net.ssl.SSLException:
Mark,
Thanks a ton for the reply. I almost want to reply with "you're kidding,
right?", as I am kind of speechless that using JAAS (which I am), the
Java platform's standard authentication/authorization API, doesn't allow
one to use a custom principal. It seems like a major hole in Tomcat
sec
That does not sound particularly doable to me.
I'd assume that you'd want to look to the latest Tomcat 5.5.x for the
best static file handling you can get out of it and essentially take IIS
out of the picture.
--
Jess Holle
Steve Gaunt wrote:
HI
That;'s what i'm trying to do.. But the us
Hi all,
I have been struggling for two days for trying to
find a solution for the problem that my client
certificate got rejected by tomcat server.
I used openssl to generate the self-signed ca, and
tomcat server's and client's, then signed and imported
to the server's keystore, and signed th
If you're implementing JAAS... no. No idea about the rest. Its not supported
in Tomcat (But should be). Stick it in the session, and then you have to
override the Tomcat HttpRequestProcessor (isUserInRole()) to get your
Principal out of the session and call the validation.
-Original Message---
Hello,
As this has become a bit of a roadblock in implementing security, I'd
like to ask anyone out there two things:
1) Is it even possible to use a custom user princpal within a realm that
is retrievable within a servlet (via presumably the request or
otherwise) in Tomcat?
2) If the answ
Hi Charles,
The version of tomcat is 5, the 1 inside jboss 4,01. The problems is after
about 10-15 hours of heavy use, the web app with the document root stops fails.
All AJP connections get used up and are in the service mode. Even if I do a
localhost within the browser, which will use th
> From: Steve Gaunt [mailto:[EMAIL PROTECTED]
> Subject: RE: IIS security with tomcat
>
> I'm not sure how to do this with the web server, surely there
> must be a standard way of achieving this. I've searched
> google but unable to find information about this.
Perhaps you should consider goi
From: "Greg Vilardi" <[EMAIL PROTECTED]>
I'm running Tomcat 5.0.28 on Linux, for a development platform.
...
If the session serialization hypothesis is correct, I'd like to be able to
have
the ability to tell manager to ignore these sessions and just start the
application.
Take a look at Pe
Has anyone else had problems starting applications that use a DBCP
connection pool datasource related to Tomcat's default restart
persistence behavior? I set up a global JNDI datasource in Tomcat
5.5.12 to be used by the iBATIS JPetStore demo application. I found
that every second time I star
I'm running Tomcat 5.0.28 on Linux, for a development platform. After updating
an application, Tomcat (or possibly the manager app) can't start the
application if it has sessions pending. One of my co-workers thinks that this
is a session serialization issue, in that our application keeps lots o
Thanks. It turns out the problem was related to the userPattern:
I had: |((cn={0},ou=Users,dc=thf,dc=net)(cn={0},ou=THFUsers,dc=thf,dc=net))
I had one two many sets of parentheses. I needed:
|(cn={0},ou=Users,dc=thf,dc=net)(cn={0},ou=THFUsers,dc=thf,dc=net)
and it worked fine.
Brian
On 10/1
HI
That;'s what i'm trying to do.. But the user credentials are held within a
database.
Ideally, I want to forward to tomcat, do the login for the user, and somehow
tell IIS all static conent from the session(or user) is allowed. Equally, I
dont want the users to bookmark the pdf/html files
Sounds like IIS should be doing your authentication...
Steve Gaunt wrote:
Hi
I have IIS web server servicing static pdf/html content. However, I only want to allow access to these if they have been authenticated by tomcat(using jk2 connector on the AJP connections).
I dont want to move the
Hi
I have IIS web server servicing static pdf/html content. However, I only want
to allow access to these if they have been authenticated by tomcat(using jk2
connector on the AJP connections).
I dont want to move these static pdf/htmls' onto tomcat(as the folder(s) size
at the root is over
I would download and install Netbeans 4.1 (http://www.netbeans.org) and
create a web project, which will create all the required files and
folders for you to start a new project that you can deploy to Tomcat. It
will even run your application in its own version of Tomcat so you can
debug it and
Tim Funk wrote:
> There is a reverse proxy implemented as a webapp
/
> http://j2ep.sourceforge.net/
Thanks, didn't see that one (what search string did you use?).
Unfortunately it doesn't look like it's going to do it, at least
out of the box -- works by URL-rewriting, but only with relative
lin
In fact, it sounds like you are connecting to the ADS, and now you need
to bind.
Robyne Vaughn
_
-Original Message-
From: Jess Holle [mailto:[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 9:45 AM
To: Tomcat Users List
Subject: Re: Authenticating with LDAP against multiple
My ads is on port 389
Robyne K. Vaughn
_
-Original Message-
From: Jess Holle [mailto:[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 9:45 AM
To: Tomcat Users List
Subject: Re: Authenticating with LDAP against multiple organizational
units
My guess is that you need to direct
Response below:
Wendy Smoak wrote:
From: "Brad O'Hearne" <[EMAIL PROTECTED]>
I would have expected that designation of the user class name would
have resulted in my being returned the class I specified for the user
class name from the requestion.getUserPrincpal() method, but it doesn't.
W
My guess is that you need to direct the LDAP URL at the ADS "global
catalog", which oddly enough is not on port 389...
Brian Bonner wrote:
We're having a problem authenticating with Tomcat 5.5.9 against
multiple organizational units. Our LDAP server is Active Directory.
Here's our current se
I forgot to add.
If I use only a single organizational unit and specify this in the
user base, it works OK.
i.e.
ldap://ldapdc.thf.net:389";
userBase="ou=THFUsers,dc=thf,dc=net"
userSearch="(cn={0})"
userRoleName="memberOf"
roleBase="cn=Users,dc=thf,dc=net"
Thanks, Charles and Bill. This has been most helpful. I will be
looking and both alternatives.
mike
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Saturday, October 15, 2005 5:56 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Hijacking the co
We're having a problem authenticating with Tomcat 5.5.9 against
multiple organizational units. Our LDAP server is Active Directory.
Here's our current setup:
ldap://ldapdc.thf.net:389";
userBase="dc=thf,dc=net"
userPattern="|((cn={0},ou=Users,dc=thf,dc=net)(cn={0},ou=THFUsers,dc
You want to put this in the Java tab under Java Options.
Best regards
Robert.
-Original Message-
From: James Rome [mailto:[EMAIL PROTECTED]
Sent: 17 October 2005 16:00
To: tomcat-user@jakarta.apache.org
Subject: SSL Error : Please HELP
I tried putting
start -Djavax.net.debug=ssl:hands
I have managed to get my jndi realm to work in tomcat. I'm not sure I really
understand it well, but basically it goes like this: Tomcat connects to AD
with its own password and userid because AD will not allow an anonymous
connection. Once tomcat is connected, then you bind as the user with
You mean you would like someone here to summarize the change logs of 2 major
release trees for you so you don't have to do any kind of work on your own?
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Santosh Asbe [mailto:[EMA
David,
Either the documentation is wrong or I am simply being daft, but in one part of
the doc (very beginning of the section), it describes the very feature you are
talking about where the user name and password at login time, is in fact, used
to connect with the AD. I am assuming in that conf
> Hello Jason. It appears that the .jar files in question are not available
> to the loader. Is CATALINA_HOME/common/lib defined as a classpath within
> Eclipse?
I'm not launching Tomcat from Eclipse, just attaching Eclipse to the process
to debug. I thought that anything in CATALINA_HOME/common/l
I tried putting
start -Djavax.net.debug=ssl:handshake
in the Windows 5.5 GUI startup tab under arguments and Tomcat will not start
How does one get this to work?
Jim
-
You can pass the option '-Djavax.net.debug=ssl:handshake' to the Tomcat
startup, (either set JAVA_OPTS to it if you
Hello Jason. It appears that the .jar files in question are not available
to the loader. Is CATALINA_HOME/common/lib defined as a classpath within
Eclipse?
- Asad
On Mon, 17 Oct 2005, Jason Terk wrote:
Hi, I'm trying to write an email log handler to use with tomcat 4.1 but am
getting a NoCl
Hi Andy
The document you specifoed is for 5.5
Even i want to find the way how to inform to dump in catalina.out in
5.0.xof tomcat.
I think 5.0 and 5.5 had some major changes in logging mechanism.
Parthi
On 10/15/05, andy gordon <[EMAIL PROTECTED]> wrote:
>
> Philip,
>
> Great Question! Go look
Hi, I’m trying to write an email log handler to use
with tomcat 4.1 but am getting a NoClassDefFoundError exception as soon as
Tomcat attempts to load the log handler class. mail.jar and activation.jar are
both in CATALINA_HOME/common/lib and (from debugging through Eclipse) they
appear to
I think the out of memory is due to the fact that there is no way to
unload a class loader from memory. When you restart a context it
creates onother class loader for the context and thus after a while pouf
no more memory..
I'm pretty sure i saw that somewhere
t.n.a. wrote:
David Delb
David Delbecq wrote:
If the problem is related to hibernate libs, better check that with them.
As I said, I make tapestry/cayenne-based apps, but I don't know if the
problem might be related to database connection handling/pooling or
something like that stopping the VM from freeing memory
I read somewhere in the release notes of tomacat 5.5 that itès possible
to do that. You can always do it programaticaly by reading the cookie
and re - seting it
Iratxe Etxeberria Sainz-Ezquerra wrote:
Thanks very much!! :-(
Iratxe
-
Iratxe
Thanks very much!! :-(
Iratxe
-
Iratxe Etxebarria Sainz-Ezkerra
Soporte Web
External Global Services
Tfno: 946 584 773 / 628 717 375
>>> [EMAIL PROTECTED] 10/17 1:42 >>>
There is no way to do that.
-Tim
Iratxe Etxeberria Sainz-Ezquerra wro
I'm not very sure, but maybe URL rewriting could help you.
By this way your aplication will run without cookies but... you have to
change all your links and forms :-(
Regards, Enrique.
El lun, 17-10-2005 a las 07:42 -0400, Tim Funk escribió:
> There is no way to do that.
>
> -Tim
>
> Iratxe
I would recommend that you look at the newer Technology JSF (Java Server Faces)
which sits on top of JSP. This is easier to use and will probably be the
future.
Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
If the problem is related to hibernate libs, better check that with them.
t.n.a. a écrit :
> Enrique Rodriguez wrote:
>
>> This is what Peter said to me. I set permgen to 256 MB and i still not
>> have any OutOfMemory exception.
>>
>> Regards, Enrique.
>>
>>
> I've added
> JAVA_OPTS="$JAVA_OPTS
Enrique Rodriguez wrote:
This is what Peter said to me. I set permgen to 256 MB and i still not
have any OutOfMemory exception.
Regards, Enrique.
I've added
JAVA_OPTS="$JAVA_OPTS -server -XX:MaxPermSize=256m"
to my catalina.sh on the devel. server, hope I can get the root on the
production
There is no way to do that.
-Tim
Iratxe Etxeberria Sainz-Ezquerra wrote:
Hello!
I am using tomcat 5.0.28, and I am searching for a way to set the domain of the
session cookie. I need to set the cookie domain to .mydomain.com and not to
www.mydomain.com.
I have been looking for it in many
There is a reverse proxy implemented as a webapp which can be used as its own
webapp or easily embedded inyour own webapp. (Courtesy of the Google SoC)
http://j2ep.sourceforge.net/
-Tim
Hassan Schroeder wrote:
Before I go reinventing a wheel -- has anyone written a passthrough
proxy for Tomca
Most probably you webapp is not freeing some ressources when unloaded.
This is always a tricky problem to solve.
The easiest way it to use some profiling tool, then touch you web.xml
until you get a outofmemory. When this happens
use to profiling tool to track where memory is lost. That is what has
This is what Peter said to me. I set permgen to 256 MB and i still not
have any OutOfMemory exception.
Regards, Enrique.
El mar, 11-10-2005 a las 17:11 +0100, Peter Crowther escribió:
> > From: Enrique Rodriguez [mailto:[EMAIL PROTECTED]
> > What i don't understand is that I "sometimes" get
> Ou
Hi, (undecipherable name :))
There are 2 kinds of web pages in a webapp:
those with a security-constraint (see security-constraint
part of web.xml description on the net), and those who have
no security-constraints. If you want your welcome accessible without
authentification, then it must have no
Hi everyone,
on a 5.5.x(7+) tomcat production server I reload a web app with a touch
web.xml command after I upload new versions of classes and after several
such reloads, none of the tomcat hosted apps are available and I get the
error in the subject line.
Any ideas what the problem may be?
Klotz Jr, Dennis a écrit :
>David,
>
>Thanks for the reply.
>
>Maybe this will help. The user name and password are stored as plain text
>within the server.xml file. That is how it is today. The documentation
>recommends that AD be setup with a very limited Read Only user account that
>has pri
Swanthe
If you want to access this information at runtime, I suggest you have a
look at the following class:
org.apache.catalina.cluster.ClusterMemberInfo
The method you could use is:
public String getServerVersion() {
return(Globals.SERVER_INFO);
}
Hope this helps.
Best Regards
Bruno
Hello,
I am running FreeBSD - Tomcat 5.0.3.
I am running Tomcat as user "www".
I am administering freeBSD-Tomcat as "phil" which is
in "www" group.
I see that most, if not all file permissions are:
rwxr--r-- www www
ie. as "phil" I can only read these files as I am in
"www" group.
I do not
--- Begin Message ---
you can find that out by using sh version.sh file inside the tomcats bin
directory
Giridharan.K
From: Swanthe Lindgren [mailto:[EMAIL PROTECTED]
Sent: Mon 10/17/2005 1:24 PM
To: users@tomcat.apache.org
Subject: Version?
How do I find ou
Put in a brownser: http://127.0.0.1:8080 and then it appears the main page
that indicates you which version is running on your computer
-Mensaje original-
De: Swanthe Lindgren [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 17 de octubre de 2005 9:55
Para: users@tomcat.apache.org
Asunto: Ve
How do I find out which version of Tomcat I'm running?
//Swanthe
Hello!
I am using tomcat 5.0.28, and I am searching for a way to set the domain of the
session cookie. I need to set the cookie domain to .mydomain.com and not to
www.mydomain.com.
I have been looking for it in many sites and books, but I don t find the way to
do it.
Can anyone help me? Th
64 matches
Mail list logo