Hi azri,
what do you mean wih running your project? Did you mean, that you have
problems creating a new tomcat project? Sysdeo is not compatible with
the eclipse version 3.2M2-3.2M4. Perhaps there are similar problems with
your eclipse version.
Best regards
- Franck
> Hi everybody,
>
> I am us
Hello all,
Whatr is best way to create loging authentication if u had multipal login
form/pages.
please help me out.
When you say multiple form pages, are they all the same? Or do they login to
different webapps? If different webapps, you could use the SingleSignOn
Can you explain more about
Hello all,
What is best way to create loging authentication if I had multipal login
form/pages.
please help me out.
--
Cup of Java + Suger of XML = Secure WebApp
Hello all,
Whatr is best way to create loging authentication if u had multipal login
form/pages.
please help me out.
--
Cup of Java + Suger of XML = Secure WebApp
> From: Kuruganti, Lakshmi [mailto:[EMAIL PROTECTED]
> Subject: RE: tomcat admin console not working
>
> I tried a new install and I got into the same issue. Looks
> like there won't be any /server/webapps/admin directory.
The above directory is clearly in the 4.1.31 .zip and .tar.gz downloads
(
2006/3/8, David Kerber <[EMAIL PROTECTED]>:
> You're welcome. That tradeoff between security and usability is a
> decision only you and your users can make, but I like to have the option
> to make that tradeoff if necessary.
>
> Dave
Thank Dave! I said that yesterday only to describe only what I w
> >
> This only applies to ressource url, not servlet url, neither filters,
> nor security-constraint.
that's what I want to confirm.
>
> >and the security problem that someone has said, I think it may not be
> >so important. If a hacker want to detect your site, I think he will
> >test all posibl
I am not sure if this is a Tomcat issue or a MySql issue.
I get these trace messages in catalina.out:
Wed Mar 08 07:48:48 CST 2006 TRACE:
about 800 to 1000 lines of them, each time I connect to the database.
I have googled and searched but can find nothing on the cause or the
solution
except m
All,
I tried a new install and I got into the same issue. Looks like there
won't be any /server/webapps/admin directory. When I go to
http://localhost:8000/admin I get the following page..tomcat is missing
some thing and I am not sure what it is..any help is highly
appreciated..
HTTP Status 500 -
Hello,
If I am using BASIC authentication, how can I log users out? I tried
doing session.Invalidate, but as described above, it seems like the browser
is caching the credentials. I would like my app users to be able to log
out. I would sincerely appreciate any guidance.
Khawaja
On 3/8/06,
An idea I've also seen floated is to have javascript keep refreshing a
small transparent image every so often. I've never tried it, but it
shows up frequently as a solution in google. Benefit is you have
indefinite session life without a lot of dead session clutter.
--David
Richard Mixon wrote:
Dennis,
For just that webapp, you can always bump the session timeout to a very high
value.
That would just take a change to the web.xml, no change of authentication
method needed.
HTH - Richard
-Original Message-
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08
David,
Thanks for replying.
In our case the application business logic is not storing critical
information in session beans etc. So using the BASIC would be ok.
Is it possible to get the same behavior from a FORMS based login, in
that it keeps the login credentials and when the client makes a r
Kind of. With BASIC auth, the session from the server's perspective can
still go away. But as the browser caches the credentials, new session
creation is automatic. The end user experience depends on the data
stored in the session, webapp design, and where they were when they
abandon the previou
Greetings all,
I'm trying to get my facts straight, and I'm hoping you will help.
I am using forms based login right now and when the tomcat session times
out, the user has to login again. No surprise there.
Now, some of our customers don't like this, so for them - can I use a
BASIC login (wi
Mark,
Thanks for the quick (and useful) reply. I'll dig through those issues and see
if any of them apply. And hopefully I can find a solution that doesn't involve
a TC upgrade, as I can't do that at this point.
Thanks again.
Jay
-Original Message-
From: Mark Thomas [mailto:[EMAIL PRO
Jay Burgess wrote:
> Given that I've got BASIC authentication working for my webapp using cleartext
> passwords, shouldn't I simply be able to change my from "BASIC"
> to
> "DIGEST" in and it should start working using digest
> authentication?
>
> It's not, obviously, but I've seen previous p
Given that I've got BASIC authentication working for my webapp using cleartext
passwords, shouldn't I simply be able to change my from "BASIC" to
"DIGEST" in and it should start working using digest
authentication?
It's not, obviously, but I've seen previous posts in this group that say things
> From: Wick, Daniel [mailto:[EMAIL PROTECTED]
> Subject: RE: Two different version of Tomcat on the same machine?
>
> Be sure you start your new one, change the config
> to listen to a different port than 80 or 8080.
There's more than one port that must be changed. At least the shutdown
port (
Thank you, Prashant and Chuck.
I searched through the webapp, did not find files that time stamped in
the future comparing to the server clock. So I set reloadable to false,
and then turned it back on. The time confusion seems solved and no
constant reloading any more.
Peiran
Saraf, Prash
For update on the forum..
After days of research finally the reason for the memory leak seems to be a
leak in the JDK version.
Evidance to support the theory:
http://tomcat.apache.org/faq/misc.html#cpu
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724129
Also:
Segue load tests with the new
Your context.xml can stay in the conf directory (as server.xml), however you
need the context.xml. You can comment out the Resource section in server.xml.
"Tomcat Users List" schrieb am 08.03.06 20:39:49:
>
> Thanks for the help.
>
> I seem to be able to get it working when I have a cont
Document link:
http://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html
>From the document:
The resources defined in this element are not visible
in the per-web-application contexts unless you
explicitly link them with elements.
If you use a GlobalNamingResource element, you will
th
http://www.laliluna.de/260.html
ALEX HYDE wrote:
Thanks for the help.
I seem to be able to get it working when I have a context file under my web-app in the meta-inf directory. But I am still unable to properly configure a global datasource. Here is my context.xml. very standard:
Hi,
As I have told you before, those instructions are not working as expected
against authority
signed (not self-signed) certifcates.
You might have to go through mail-archive of tomcat users list to find more
ways to solve this.
I am sure there is a solution for this.
Tomcat gurus, plea
Thanks for the help.
I seem to be able to get it working when I have a context file under my
web-app in the meta-inf directory. But I am still unable to properly configure
a global datasource. Here is my context.xml. very standard:
If I remove this and inst
nord ehacedod wrote:
> Thanks Chuck.
>
> Where does this rule come from?
Logic (with a bit of help from the servlet spec)
> It seems an odd requirement, especially since ROOT
> isn't required to do anything except exist. With
> 5.5.16 it can be an empty directory.
If there is no root context, t
I wonder if Tomcat/IDE integration info would be appropriate for this
page. Specifically, I recently worked through an issue with IntelliJ's
handling of a local Tomcat installation. In short, IntelliJ ignores the
META-INF/context.xml file when starting Tomcat. To access a jndi
datasource, you m
On 3/8/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> The following post contains no value :-)
>
> On 3/8/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> > For process reasons the source code of
> > the libs will not be available
>
> > The jars would be free for copy, modification, usage,
>
And remember, if you want use 5.5 you have to have installed JDK 1.5 or
install the compatibility patch from apache to work with JDK 1.4
regards
-Original Message-
From: Wick, Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 2:26 PM
To: Tomcat Users List
Subject: RE: Two
Provided the machine is equipped to handle the load, I don't see why it
would be a problem. Be sure you start your new one, change the config
to listen to a different port than 80 or 8080. You can just have Apache
proxy pass & reverse proxy pass to the new tomcat.
--DW
> -Original Message--
Hi all,
I have to use tomcat 5.5 for a servlet/JSP application running on
Windows 2003. Apache is the web server and it is listening to port 80.
Another application called Docushare from Xerox has Tomcat 4.1 embedded
and Tomcat 4.1 is listening to port 8080. Will there be an issue if I
install Tom
When developing web applications that use J2EE DataSources to provide
database connection pooling, I dislike having to jump through all the
hoops that are typically necessary (i.e., set up the DataSource in the
development web application server).
Recently, I discovered that it's possible with Tom
Yes.
We used port 8000.
http://ocalhost:8000 works and manager http://localhost:8000/manager
works fine..it is just admin http://localhost:8000/admin that gives
error..
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 2:10 PM
To: Tom
can u go to localhost:8080 does that work?did tomcat get installed
properly.
|-+>
| | "Kuruganti, |
| | Lakshmi" |
| | <[EMAIL PROTECTED]|
| | m> |
| |
Directory is not present, I am not sure it works if I just create an
empty directory now. Below is how my users file looks like...
more tomcat-users.xml
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 1
> From: Kuruganti, Lakshmi [mailto:[EMAIL PROTECTED]
> Subject: RE: tomcat admin console not working
>
> Tomcat 4.1.31
In that case, verify that the server/webapps/admin directory is present,
and that you've put an appropriate userid & role in
conf/tomcat-users.xml.
- Chuck
THIS COMMUNICATI
Thanks Chuck.
Where does this rule come from?
It seems an odd requirement, especially since ROOT
isn't required to do anything except exist. With
5.5.16 it can be an empty directory.
--
nord
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the
Tomcat 4.1.31
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 1:55 PM
To: Tomcat Users List
Subject: RE: tomcat admin console not working
> From: Kuruganti, Lakshmi [mailto:[EMAIL PROTECTED]
> Subject: tomcat admin console not work
> From: Kuruganti, Lakshmi [mailto:[EMAIL PROTECTED]
> Subject: tomcat admin console not working
>
> We installed tomcat recently and administration console
> doesn't seem to be working.
What Tomcat level? If it's anything recent, the admin package must be
downloaded and installed separately.
All,
We installed tomcat recently and administration console doesn't seem to
be working.When I go to admin URL (http://:8000/admin/).I get a HTTP
status 500 error..Please help.
I am not sure if this is a Tomcat issue or a MySql issue.
I get these trace messages in catalina.out:
Wed Mar 08 07:48:48 CST 2006 TRACE:
about 800 to 1000 lines of them, each time I connect to the database.
I have googled and searched but can find nothing on the cause or the
solution
except ma
The following post contains no value :-)
On 3/8/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> For process reasons the source code of
> the libs will not be available
> The jars would be free for copy, modification, usage,
^
How can you allow modific
I changed the windows user of the service and it works ok.
Thanks a lot.
Rodrigo
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:40 PM
To: Tomcat Users List
Subject: RE: LookupPrinterService problem
> From: Asensio, Rodrigo [mailto:[E
> From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
> Starting the Tomcat as Windows Service it cannot find
> printers
What user is the service running as? Also note that profiles are never
loaded for processes running as Windows services, so any profile
information that may be set for a given u
Hello guys
I'm running Java1.5 and Tomcat5.5
Starting the Tomcat as Windows Service it cannot find printers with this
code.
PrintService[] services = PrintServiceLookup.lookupPrintServices(null,
null);
But in my IDE, as Java stand alone, or running Tomcat from command line
it works perfectly.
> From: nord ehacedod [mailto:[EMAIL PROTECTED]
> Subject: incorrect 400 return code if no webapps/ROOT
>
> Something unusual...
>
> If webapps/ROOT is not present tc returns:
> HTTP/1.x 400 No Host matches server name ...
If you have no webapps/ROOT (or webapps/ROOT.war, or a element
in serve
For a general view:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html
For an example web.xml file:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/web.xml.txt
For the specification:
http://www.jcp.org/aboutJava/communityprocess/final/jsr053/
Basically you need to define your servl
Something unusual...
If webapps/ROOT is not present tc returns:
HTTP/1.x 400 No Host matches server name ...
in response to requests for non-existant contexts
(such as http://localhost:8080/foobar/).
If webapps/ROOT/ exists a 404 is sent.
Tested 5.5.15 and 5.5.16 on XP and Solaris.
A bug?
--
n
On Wednesday 08 March 2006 15:54, Caldarale, Charles R wrote:
> > From: David Goodenough [mailto:[EMAIL PROTECTED]
> > Subject: Odd problem with Tomcat 5.5.9 and PhantomReferences
> >
> > But when it comes to use the PhantomReference it gets:-
> >
> > at
> > org.apache.catalina.loader.Webap
Hello,
Thanks for the advice, I had installed the APR as tomcat was failing to
shutting down in Windows without it.
Since my overall objective is to use an existing X509 certificate signed by
an academic CA (not Versign or Thwate) I decided to try the openssl. I
followed the steps outlin
> From: David Goodenough [mailto:[EMAIL PROTECTED]
> Subject: Odd problem with Tomcat 5.5.9 and PhantomReferences
>
> But when it comes to use the PhantomReference it gets:-
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> lassLoader.java:1221)
Seem to have los
I have a servlet which I am trying to run under Tomcat 5.5.9 which has a
background thread in it. This thread uses JDBC, and in particular the
Postgresql JDBC driver. This driver uses PhantomReferences in order to
tidy up the underlying C objects.
But when it comes to use the PhantomReference
Hi Doug,
Thanks for your reply.
I have uncommented that servlet in web.xml
Will it cause any harm ??
Thanks
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 6:04 PM
To: Tomcat Users List
Subject: Re: Invoker servlet
Do a sear
Thanks for your quick answer. Note that this log appears even there is
no management manipulation on Tomcat (reloading, deploying, ...).
Thanks
Pascal
On 3/8/06, Tim Lucia <[EMAIL PROTECTED]> wrote:
> The last one (4) results from not deregistering the object mentioned from
> the JMX server. Ty
The initialSize parameter is specific to DBCP. I believe the
interface in Tomcat only has fields that are common among pooling
implementations (Commons Pool). You'll have to manually edit the pool
configuration.
An idle connection is one that is in the pool that is not currently
being used by th
Hi everybody,
I am using Eclipse-3.1.1 and tomcat-4.1.31. I have successfully retrieved my
project from my cvs server. Actually I used JBuilder X for the development
previously. And just now I am moving it to eclipse.
I also successfully setup Lomboz, sysdeo and link it with tomcat. But I have
The last one (4) results from not deregistering the object mentioned from
the JMX server. Typically this is a register during contextInitialized
(ApplicationLifecycleListener) and a de-register during contextDestroyed.
The effect would be that a reloaded application would not be JMX-enabled and
th
connection.close() on a pooled connection is returned to the pool, i.e.,
idled. Unless doing so would exceed maxIdle, in which case it would be
really closed.
I can't say for sure when it was added, but I can say I've used it with
5.0.28, whether or not it was documented. It's just a port / repa
Hi all,
I have some questions concerning the followings logs. Architecture is:
Apache/mod_jk/Tomcat/MySQL. May be somes are "normal". Google searches
do not give me clear answers.
Thanks in advance !!
1. Apache - mod_jk.log
[Wed Mar 08 15:34:40 2006] [error] jk_child_init::mod_jk.c (2312):
A
Hi,
I am trying to configure jmx remote to enable monitoring of the
application through Jconsole.As per the documentation i have put the
following parameter
CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=3050"
export CATALINA_OPTS
in the catalina.sh file
I have also configured the management.p
Dear all,
I use apache in front of many tomcats configured to server separate
appilcations. It worked perfectly well up to a certain number of
applications (>30), but when I added 50 new applications for test, I
started to get the following errors:
[Wed Mar 08 14:25:46 2006][info] jk_handler::mo
Leon Rosenberg skrev:
On 3/8/06, Morten Andersen <[EMAIL PROTECTED]> wrote:
How can I set up my server environment when my requirements are the
following:
* Multihoming must be possible without restart of the server
* The server must be secure.
Should I setup an apache server in front of to
Hi,
Based upon your description, I think you are trying to use JSSE way to enable
SSL. Tomcat 5.5 has
two ways to enable SSL: 1) JSSE 2) OpenSSL.
If you are trying with JSSE, please remove tcnative-1.dll from your
TOMCAT_HOME\bin directory. It
should work fine.
If you want to know how to do wi
Thanx Ted and Peter,
MIT will do, I will suggest it to the customer, and it is really VERY
brief and understandable :-)
Emmanouil:
>IMO the libraries have very little value without the source code being
>available under an OS license
Normally I would agree, but in this case the MIT license will
Hello,
I want to create user from jsp for my j_security_check
i don't want to use administrator tool for this
do i need to xml parse for this or any else
Thanks and Regard
Prashant Saraf
--
Cup of Java + Suger of XML = Secure WebApp
Thanks for your detailed explanation.
In tomcat 5.0.28 I cannot find initialSize parameter. Is it something
that was added later?
And by idle connection, do we mean the connection that was closed in a
finally block (returned to the pool)?
John
Tim Lucia wrote:
The number of connections is
Hadraba Petr a écrit :
>Sorry,
>for my posting, but
>
>
>
>>That's not where security problem lies:
>>Let's assume your public site is at
>>http:index.jsp
>>if casesensitiveness is deactivated and you are using a case sensitive
>>filesystem (like the microsoft ones), accessing
>>
>>
>
>N
Do a search on servlet mapping. It will go in your web.xml.
Doug
- Original Message -
From: "Devireddy, Nagendra Reddy (STSD)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Tomcat Users List"
Sent: Wednesday, March 08, 2006 12:57 AM
Subject: RE: Invoker servlet
Hi Wendy,
Thanks
You're welcome. That tradeoff between security and usability is a
decision only you and your users can make, but I like to have the option
to make that tradeoff if necessary.
Dave
Buddy wu wrote:
2006/3/7, David Kerber <[EMAIL PROTECTED]>:
thanks a lot. it worked.
and I think som
The number of connections is affected by three parameters:
initialSize="10"
maxIdle="20"
maxActive="50"
also:
maxWait="5000"
initialSize="10" says make 10 connections at startup. SHOW PROCESSLIST will
reveal 10 processes in this case.
maxIdle="20" says close any idle connections
> From: Peiran Song [mailto:[EMAIL PROTECTED]
> Subject: Repeated context reloading
>
> The catalina.out file records the following output every 10 minutes
> while the specified JAR file is not touched/modified at all.
Check the clock setting of the server and the date/time stamps of all
files
Hi,
Ive configure SSL support as per documentation - I created the keystore and a
self - signed certificate with the default password, uncommented the 8443
connector for https in the conf/server.xml file.
The problem is that I cannot connect to https://localhost:8443 via the
browser, in the lo
Hello
I have a JNDI Datasource pooling 10 connections on a database of my
mysql server. Why does it use only one process on the mysql server? I
have set max active to 10 connections and I am accessing the application
from different IPs at the same time. I then perform a SHOW PROCESSLIST
on my
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> For process reasons the source code of
> the libs will not be available
Then LGPL is unsuitable.
> The jars would be free for copy, modification, usage, all the gpl
> stuff, but not available in sourcecode.
Apache and LGPL are often unnecessari
Hi there,
i have a jsp which runs just fine under tomcat 5.5.9 but throws an exception in
tomcat 5.5.12 and 5.5.15.
Here is a part of the code:
code snippet
ByteArrayOutputStream baos = new ByteArrayOutputStream();
//creates a pdf out of the baos
pdfPrinter
I'm sorry for OT, but I am pretty stupid with legal stuff, and after
carefully reading gnu und apache license packages I am as unknowing as
I was before. Here my problem:
I am trying to convince one of my customers to make some of the libs I
wrote for him public available. For process reasons the
I have a similar problem which I gave up trying to diagnose any
further as nobody else seemed to have the problem. I'm using Tomcat
5.0.28 and JVM 1.4.2_10 under RedHat 8, 9 and CentOS 4.2 with 1GB RAM.
I don't explicitly set any JVM heap parameters.
I have profiled the application using JProfiler
Sorry,
for my posting, but
On 3/8/06, David Delbecq <[EMAIL PROTECTED]> wrote:
> Buddy wu a écrit :
>
> >2006/3/7, David Kerber <[EMAIL PROTECTED]>:
> >
> >
> >>
> >>
> >>
> >thanks a lot. it worked.
> >and I think someone discussed other problem of these question maybe
> >right. but my goal is on
Vikram Godse <[EMAIL PROTECTED]> wrote:
>
> Hi,
> My CATALINA_OPTS parameter has the following values i have 4gb ram on
> my server
>
> > CATALINA_OPTS="-server -XX:MaxPermSize=512m -Xms1024m -Xmx1024m"
>
> This is what i see in the tomcat manager server info.
> > Max threads: 200 Min spare threads
Buddy wu a écrit :
>2006/3/7, David Kerber <[EMAIL PROTECTED]>:
>
>
>>
>>
>>
>thanks a lot. it worked.
>and I think someone discussed other problem of these question maybe
>right. but my goal is only to let tomcat's URL or URI (I don't kown
>which is wright, or all are write) case-insensitiv
On 3/8/06, Morten Andersen <[EMAIL PROTECTED]> wrote:
> How can I set up my server environment when my requirements are the
> following:
>
> * Multihoming must be possible without restart of the server
> * The server must be secure.
>
> Should I setup an apache server in front of tomcat to handle m
82 matches
Mail list logo