Re: Further documentation on j_security_check

2007-09-13 Thread nessus
I have the same question. anybody know how to authenticate users with it's information in another database table rather the preset table appfuse created automatically "app-user", "role" and "user_role", like my own table "member". I want to know exactly how to talk with database/in-memory storage

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread David Smith
I use it and have no problem with it. Always thought of it as a no brainer on my Mandriva Linux server. --David charly wrote: Ok it seems that jsvc seems to be scarcely used. So it seems that jsvc does not fit sufficiently for tomcat and /or there are better solutions or whatever.. thanks

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread charly
2007/9/13, Gabriel Wong <[EMAIL PROTECTED]>: > > Charly, > > The URL, provided by Christopher, provides some very useful tips for > port 80 binding. > I would also like to add, another option (used in the hosting world) is > to create a VPS for the application server to run under. > So the applicat

Having security (SSL) issues moving tomcat from one host computer to another

2007-09-13 Thread Rob Tanner
Hi, I'm wondering if any has ever seen this and how did they fix it. I have a production tomcat server (v5.5.23) that I need to move to another host system. I copied over the full installation and made sure I was using the same version of the runtime (jdk1.5.0_03). But when I try to access

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread charly
Ok it seems that jsvc seems to be scarcely used. So it seems that jsvc does not fit sufficiently for tomcat and /or there are better solutions or whatever.. thanks charly 2007/9/13, Christopher Schultz > > Charly, > > charly wrote: > > jsvc seems to be no matter on this mailing list? > > Wel

RE: Connection pooling, is it the right way to do it?

2007-09-13 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Connection pooling, is it the right way to do it? > > The ones in SVN. You won't see it on the web site until > the next release is made. Here's the SVN link: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/webapps/docs

RE: Connection pooling, is it the right way to do it?

2007-09-13 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Connection pooling, is it the right way to do it? > > Which docs? The ones in SVN. You won't see it on the web site until the next release is made. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIE

Re: Connection pooling, is it the right way to do it?

2007-09-13 Thread [EMAIL PROTECTED]
> Caldarale, Charles R wrote: > > Looks like the analogous constraint on the docBase attribute has > > disappeared from the doc. When docBase is specified and the target is > > under the appBase directory, the deployment is likely to become > > corrupted or occur twice. > > I have updated the doc

RE: Oracle Invalid Login Credentials

2007-09-13 Thread Propes, Barry L
whichever ones your main app (Context) logs tolikely not to examples. -Original Message- From: Greg Demieville [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 11:51 AM To: 'Tomcat Users List' Subject: RE: Oracle Invalid Login Credentials >Is it possible that your db conn

Re: NPE when adding dependency to webapp

2007-09-13 Thread Ole Ersoy
Hello again, I noticed someone else had the same exception: java.lang.IllegalStateException: No Factories configured for this Application. And were able to resolve it by deleting the work directory. I did the same (Nuked both work and temp), but I still get the same exception. Any ideas? Th

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-09-13 Thread jhayden
I ended up uninstalling tomcat and then reinstalling it. It works fine now.Very odd. Thanks for you help. Victor Lutin wrote: > > Hi, > > Well, what web.xml file you modified? > > CATALINA_HOME = C:\Program Files\Apache Software Foundation\Tomcat 6.0\ > > 1. %CATALINA_HOM

Re: Oracle Invalid Login Credentials

2007-09-13 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12700 Posted on behalf of a User You should look at the SQL ORA error message that should be in the SQLException thrown by your JDBC call. This should be in your log4j log file if you're using log4j or any other logging mechanism, perhaps ev

RE: Oracle Invalid Login Credentials

2007-09-13 Thread Greg Demieville
>Is it possible that your db connection is being terminated (probably due >to inactivity) and that the "invalid login" is a spurious error? Once the 'Invalid login ' error happens, then everyone else gets the same error upon login until Tomcat is re-started. Which log files would help me determin

RE: Tomcat 6.0, JPA and Resource Injection

2007-09-13 Thread Caldarale, Charles R
> From: "A. Alonso Domínguez" [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 6.0, JPA and Resource Injection > > It seems that Tomcat 6 ignores the "" > element from web.xml, is this correct? I can't find any documentation for such an element in either the 2.4 or the 2.5 servlet specs, which i

Re: Tomcat failover

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: > If one of the instances crashes, exists some way to repair the sessions > established with the database and to be processed for the other instance? If your JVM goes down, your JDBC connections will die, too. Do you you me

Re: Tomcat 6.0, JPA and Resource Injection

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alonso, A. Alonso Domínguez wrote: > I have tried "java:comp/env/...", "java:/comp/env/...", "java:jpa/..." > and "jpa/..." as values for the "name" attribute of PersistenceContext > annotation. None of that paths worked for me. It seems that Tomcat 6

Tomcat failover

2007-09-13 Thread Andrew Hole
Hello! I've two tomcat instances connected to an Oracle database and I'm using connection pool. If one of the instances crashes, exists some way to repair the sessions established with the database and to be processed for the other instance? Thanks a lot Andrew

Re: Tomcat 6.0, JPA and Resource Injection

2007-09-13 Thread A. Alonso Domínguez
Hi Christopher, I have tried "java:comp/env/...", "java:/comp/env/...", "java:jpa/..." and "jpa/..." as values for the "name" attribute of PersistenceContext annotation. None of that paths worked for me. It seems that Tomcat 6 ignores the "" element from web.xml, is this correct? Christophe

RE: web start running twice?

2007-09-13 Thread Eric J Kaplan
Looks like my hyperlink got messed up in my post somehow. It's actually: http://localhost:8080/armanta-run-report/run-report.jsp?rptid=551&rptname=2% 20FUND%201%20DAY&rptsessionid=null Sorry about that -Original Message- From: Eric J Kaplan [mailto:[EMAIL PROTECTED] Sent: Thursday, Sept

web start running twice?

2007-09-13 Thread Eric J Kaplan
Sorry if this was posted twice, I wasn't sure if my first send went through (maybe this is what's happening with Tomcat for me. :-)) _ I'm a bit confused. I have a web start application that works as follows: I generate an Outlook email with HTML containing a hyperlink to a jsp

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
Hey Chris, Yes that Index.JSP works for me...it takes me to the home page of Tomcat. Also, just to let u knw wat I have in my Webapps: I see ROOT, examplesdocs,manager,host-manager Under examples i see a folder called JSP, another called Servelets and one index.html file and another folder calle

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
GREAT NEWSS... the JSP date example works..i have only tested the date exampls soo far aand after the HUGEE help that I got from everyone, I am thrilled.Thanks a lot evryone..at this point it is working,..I hope it stays that way.. i thing i DID change though. I changed my JAVA_HOME to /usr/bin

Re: Logformat for mod_jk logs

2007-09-13 Thread Rainer Jung
The script is not really maintained. All you can log via JkRequestLog, you can nowadays (for Apache) also log using the so called notes table (and even more then with JkRequestLog). In the access log I think it's nicer, because it gets combined with the other request logging info. Search for

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Minky, minky arora wrote: > AS per christopher's intructions: Excellent. Everything looks good, and Tomcat appears to be running. These lines: > Sep 13, 2007 11:10:05 AM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1

W2K3 - IIS6 - ISAPI 1.2.25

2007-09-13 Thread Herfurth Julien
Hi, I have the following problem: I have two websites configured as virtual hosts under IIS6 on W2K3 SP2. Both are using the tomcat connector happily to connect to two separate tomcat 5.5.23. I then attempted to add a new website that should have been using the tomcat connector also, unfortunately

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Brian Munroe
Oops, I stand corrected, as I see further along in the thread that JAVA_HOME is pointing to where I suggested. See I knew I shouldn't have jumped in here! :) -- brian On 9/13/07, Brian Munroe <[EMAIL PROTECTED]> wrote: > On 9/11/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > > > > > ?? On my

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Hassan Schroeder
On 9/13/07, minky arora <[EMAIL PROTECTED]> wrote: > Sep 13, 2007 11:10:05 AM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Sep 13, 2007 11:10:05 AM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > Sep 13, 2007 1

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Brian Munroe
On 9/11/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > > ?? On my Mac (OS X.4.10) $JAVA_HOME is: > > /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0 > Hi everyone. I don't mean to cloud the discussion with a possible non-issue, but for fun, I just tried defining my JAVA_HOME as y

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
AS per christopher's intructions: Catalina.out Sep 13, 2007 11:10:03 AM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/

RE: Logformat for mod_jk logs

2007-09-13 Thread Gerhardus.Geldenhuis
Hi Using the format: JkRequestLogFormat "%w %V %U %s %T %B %H %m" I still only get empty graphs. Granted I have only run it for one day. I am currently running it on a demo system with fairly high load and will do some analysis after the weekend. It is just frustrating to not know what format t

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread Gabriel Wong
Charly, The URL, provided by Christopher, provides some very useful tips for port 80 binding. I would also like to add, another option (used in the hosting world) is to create a VPS for the application server to run under. So the application server would be able to run as root but yet in a res

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Minky, minky arora wrote: > SO, when i shutdown tomcat, using > $CATALINA_HOME/bin/shutdown.sh > > it says no such file or dir... Really? Where? I don't see such a message in your attached console output. I'm guessing that $CATALINA_HOME is not set

Re: Tomcat 6.0, JPA and Resource Injection

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alonso, A. Alonso Domínguez wrote: > javax.naming.NameNotFoundException: The name > java:comp is not associated to this context. [snip] > @PersistenceContext(unitName = "benedetti", >name = "java:comp/jpa/benedetti") >private EntityM

RE: beginer question abt JSP with Tomcat

2007-09-13 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > SO, when i shutdown tomcat, using > $CATALINA_HOME/bin/shutdown.sh > > it says no such file or dir... Because you don't have CATALINA_HOME set (nor do you need to). > and if I do ./shutdown.sh

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Hassan Schroeder
On 9/13/07, minky arora <[EMAIL PROTECTED]> wrote: > SO, when i shutdown tomcat, using > $CATALINA_HOME/bin/shutdown.sh > > it says no such file or dir... then likely your CATALINA_HOME isn't set. > and if I do ./shutdown.sh, then I get the foloowing. > Sep 13, 2007 10:09:22 AM org.apache.catali

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
SO, when i shutdown tomcat, using $CATALINA_HOME/bin/shutdown.sh it says no such file or dir... and if I do ./shutdown.sh, then I get the foloowing. Using CATALINA_BASE: /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14 Using CATALINA_HOME: /users/meenaksharora/java/tomcat/apache-tomcat-6

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charly, charly wrote: > jsvc seems to be no matter on this mailing list? Well, this is the Tomcat mailing list... not the jsvc mailing list. Try asking on the commons-user mailing list. We can't be experts on all subjects posted to this list, even if

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread Mark H. Wood
Gentoo Linux comes with its own startup script for Tomcat (using, I believe, tools from Debian) that fits into the Gentoo startup structure, so one doesn't need jsvc there. I suppose that many other distro.s do likewise, although some may use jsvc "under the covers". -- Mark H. Wood, Lead System

Re: Connection pooling, is it the right way to do it?

2007-09-13 Thread Mark Thomas
Caldarale, Charles R wrote: > Looks like the analogous constraint on the docBase attribute has > disappeared from the doc. When docBase is specified and the target is > under the appBase directory, the deployment is likely to become > corrupted or occur twice. I have updated the docs. Mark ---

Tomcat 6.0, JPA and Resource Injection

2007-09-13 Thread A. Alonso Domínguez
Hi there, I'm trying to set up a web application which uses Java Persistence with Tomcat 6.0. I had googled and searched a lot of mailing lists but I didn't found a response for my doubts. My application uses JSF 1.2 from Sun's RI, some of the managed-beans defined at that application have a

Tomcat 5.5.7 stop responding on HP-UX

2007-09-13 Thread David Delbecq
Hello, we encountered this problem with a tomcat 5.5.7 running on HP-UX. The server simply stopped responding. Amongst normal log from our webapps is those lines that were the last proof of life in tomcat: Sep 13, 2007 10:14:15 AM org.apache.tomcat.util.net.PoolTcpEndpoint processSocket SEVERE: S

is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread charly
jsvc seems to be no matter on this mailing list? Are there other tools for running tomcat on port 80 with nonroot user on unix/solaris? Running apache only for nonroot port 80 access seems to be oversized/extensive for me (maintenance,complexity,..) Charly 2007/9/8, charly : > > Hi all again, > >