Re: MySql Connector

2007-07-23 Thread Pid
I environment variables is here: http://java.sun.com/products/jndi/tutorial/beyond/misc/policy.html p On 7/22/07, Pid <[EMAIL PROTECTED]> wrote: You can define either: a) Resource inside a Context - either in META-INF/context.xml or host/.xml b) ResourceLink inside a Context (as above) referr

Re: MySql Connector

2007-07-26 Thread Pid
ClassNotFoundException? Your JSP can't find one of the classes you refer to in the scriptlet. We can't tell which one, because we don't know what's at line 266 in the generated java file (you could look). Which of the classes you're using in the JSP haven't been imported at the top of the

Re: Bean and Servlet

2007-07-26 Thread Pid
Caldarale, Charles R wrote: From: Mohammed Zabin [mailto:[EMAIL PROTECTED] Subject: Re: Bean and Servlet My Problem is that, I want to pass these numbers, Questions IDs, from the first page, which i have made it as a tag class, to Results page, which was made as servlet. Rather than hanging

Re: MySql Connector

2007-07-26 Thread Pid
David's right, ignore my previous. p David Smith wrote: No... the exception you posted is it couldn't find the mysql_jsp.class file generated by compiling the jsp file. Do you have another stack trace somewhere you haven't shown us? Quoting from the stack trace posted below: *root cause

Re: Bean and Servlet

2007-07-27 Thread Pid
est, I need to submit the same collection of questions to Results page. And so, i used session to store the questions ids'. On 7/27/07, Pid <[EMAIL PROTECTED]> wrote: Caldarale, Charles R wrote: From: Mohammed Zabin [mailto:[EMAIL PROTECTED] ] Subject: Re: Bean and Servlet My Proble

Re: AW: Application outside WEBAPPS

2007-08-03 Thread Pid
[EMAIL PROTECTED] wrote: Place the myapp.xml in the /conf/Catalina/localhost/ directory. The path attribute will be ignored if your server version is +5.5. ("useNaming" is not relevant to this problem.) p That's all. Regards, Hans -Ursprüngliche Nachricht- Von: Mladen Turk [ma

Re: AW: AW: Application outside WEBAPPS

2007-08-03 Thread Pid
t.xml file. p hans -Ursprüngliche Nachricht- Von: Pid [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 03. August 2007 09:39 An: Tomcat Users List Betreff: Re: AW: Application outside WEBAPPS [EMAIL PROTECTED] wrote: Place the myapp.xml in the /conf/Catalina/localhost/ directory. The

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException : Cannot get a connection, pool error Timeout waiting for idle object

2007-08-12 Thread Pid
fusion35 wrote: Setting the maxactive other than 0 did the trick. Thanks David. You were right, I was after no limit (which I have now set to -1) regards Devinder FYI including a path attribute in the default context.xml is pointless, as that attribute is ignored when a Context is defined ou

Re: IIS redirect to Apache

2007-08-16 Thread Pid
Tony Fountain wrote: Hi, Scenario: we purchased a product written in Java to integrate into our reporting tool. Our setup is such that our web application is written in .NET and hosted on a web farm using IIS (5 or 6 depending on the environment). The product we purchased runs under Apache Tom

Re: Single Sign On

2007-08-22 Thread Pid
Andrew Hole wrote: Exists some way to implement Single Sign On without source code changes? Could you tell me a little bit about Single Sign On? Thanks a lot "In many environments, but particularly in portal environments, it is desireable to have a user challenged to authenticate themselves

Re: Facing problems with class loaders in tomcat 5.0

2007-08-29 Thread Pid
vaibhav vashishtha wrote: Hi list, i am currently facing a problem with the class loaders of tomcat 5.0 i need a no of common jar files to be accessed by multiple web apps which are deployed in the webapps directory of tomcat Problem description: 1. Need to place the common jars(to different

Re: Problem with form based JSP authentication using Firefox with Tomcat

2007-09-04 Thread Pid
Try putting all of the Cache-Control commands inline, comma separated: content="no-store,no-cache,must-revalidate"> You can also set the headers: <% response.setHeader("Cache-Control","no-cache,no-store,must-revalidate"); response.setHeader("Pragma","no-cache"); response.setDateHeader("Expi

Re: Problem with form based JSP authentication using Firefox with Tomcat

2007-09-05 Thread Pid
Are you saying you tried what I suggested, or that you have already tried it? It seems like the problem is a caching issue to me. What URL are you trying to access to trigger the login - you're not accessing the login.jsp directly are you? (I have to ask...) In the second instance the brow

Re: Problem with form based JSP authentication using Firefox with Tomcat

2007-09-06 Thread Pid
Luke McMahon wrote: > Thanks again P, Can you include the source of /index.html and /members/index.html (is it html or JSP?) p > Yeah I actually already had the meta tags at the top, and modified everything > to match your example exactly. I also tried using separate login and error > p

Re: Quartz

2007-09-06 Thread Pid
Andrew Hole wrote: > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > application. > Someone already work with Quartz? Could you share a hello world sample? > > Thanks a lot > http://www.opensymphony.com/quartz/wikidocs/Tutorial.html http://www.opensymphony.com/quartz/

Re: Tomcat 6 and tomcat native

2007-09-07 Thread Pid
Alec Bickerton wrote: > I've been looking at tomcat 6 and have seen a notification that my > tc-native was out of date. > > 07.09.2007 13:06:05 org.apache.catalina.core.AprLifecycleListener init > INFO: An older version 1.1.9 of the Apache Tomcat Native library is > installed, while Tomcat recomme

Re: Tomcat 5.5.23: cannot return to login page??

2007-09-07 Thread Pid
Christopher Schultz wrote: > Cun, > > shunhecun wrote: >> If a user is failed to login, he should be directed to the page specified in >> web.xml, i.e. /loginError.jsp. And the >> page /loginError.jsp is an unprotected resource. > > Right. You didn't say that the user failed to login. You said t

Re: tc & xmlhttprequest

2007-09-11 Thread Pid
Chris Pat wrote: > Hi David > That is just macro syntax. The real issue is why/how to avoid the security > violation on using xmlhttprequest when launching the webapp from localhost or > externally. I dont understand what to put where and how to access it so to > allow xmlhttprequest to execut

Re: Internet Explorer bug w/SSL+ loadCache

2007-09-12 Thread Pid
prakashlxm wrote: > Can some one help me with this im realy blank on this issue. I think that the lack of responses is due to the fact that there doesn't seem to be much in the way of Tomcat issues here. You might also consider including some information about your Tomcat version, and wha

Re: Context deletion on redeploy

2007-09-12 Thread Pid
[EMAIL PROTECTED] wrote: > Hi, > > Is there a way to prevent Tomcat to delete the webappname.xml from > conf/Catalina/localhost at every redeployment? > > I have application specific environment settings there, but at redeploy > it gets deleted and I lose the settings. I have tried with and > w

Re: Tomcat and SessionHandling

2007-09-12 Thread Pid
Preuss, Jacqueline - ENCOWAY wrote: > Hi, I'm new here! > > > > Generally, I'm new in the topic servlets etc. so I hope I can explain my > problem well. > > > > In our company we work with some web applications running in Internet > Explorer. We want to use Tomcat as servlet engine / webs

Re: context-relative path in JNDI variables

2007-09-12 Thread Pid
You both could consider using Ant, which would enable you to write a script to deploy an application and execute whichever renaming scheme you wish to, as you do so. Tomcat/bin contains 'catalina-tasks.xml', which defines some JMX task definitions which provide the necessary functions. p [EMAI

Re: Tomcat and SessionHandling

2007-09-12 Thread Pid
Leon Rosenberg wrote: > first, if you are new to servlets and webapps, you should probably > hire a consultant in your area to help you out a little, and there are > many in germany. > > second, you don't need own session handling, what you do need is a > context for each window in your session, s

Re: context-relative path in JNDI variables

2007-09-12 Thread Pid
Christopher Schultz wrote: > Pid, > > Pid wrote: >> You both could consider using Ant, which would enable you to write a >> script to deploy an application and execute whichever renaming scheme >> you wish to, as you do so. > > The OP /is/ using ant. > >

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Pid
Hassan Schroeder wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > > OK, one more time: > >> export JAVA_HOME="watevr".but still nothing. > > First, open a new terminal window. The default OS X shell is > tcsh, so first thing type "bash". (erm, why?) > At the next prompt type "

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Pid
Caldarale, Charles R wrote: >> From: Pid [mailto:[EMAIL PROTECTED] >> Subject: Re: beginer question abt JSP with Tomcat >> >> You may not need to set JAVA_HOME in this case, and can probably >> comment the references to it out, in your 'profile' file.

Re: Further documentation on j_security_check

2007-09-14 Thread Pid
nessus wrote: > 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 d

Re: beginer question abt JSP with Tomcat

2007-09-14 Thread Pid
minky arora wrote: > OK..as expected , I may need little more help. > > I am trying to shutdown Tomcat and am getting the foll: > *** > RNAi:/users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin > meenaksharora$ ./shutdown.sh > Using CATALINA_BASE: /users/meenaksharora/java/tomcat/apache

Re: beginer question abt JSP with Tomcat

2007-09-14 Thread Pid
minky arora wrote: > AND I also tried running my own JSP example file and this is wat I get: > org.apache.jasper.JasperException: The absolute uri: > http://java.sun.com/jsf/html cannot be resolved in either web.xml or > the jar files deployed with this application > > org.apache.jasper.comp

Re: changing the default application

2007-09-20 Thread Pid
Thomas Schweikle wrote: > Hi! > > How can I change the default application from the tomcat > "ROOT/index.jsp" page to an application installed in > "$CATALINA_HOME/Catalina/localhost/app.xml"? > > I found the default application in "web.xml" and changed it from > > > default >

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread Pid
What's immediately before the shutdown description in the logs? p Martin Cavanagh wrote: > Why would windows report it as crashing then? > > I know I didn't shut it down, I was sleeping, as I assume everyone else > was who had access to the system.. > > Thanks > > Martin > > David Delbe

Re: Basic Toimcat5.5 admin question

2007-09-21 Thread Pid
Chris Baty wrote: > Hi guys, > I finally got Tomcat5.5 going on Etch AMD and I start studying the JSP > developers guide but I get stuck in the beginning. The book says to create > a new directory under ROOT but I don't have permission in my default > account. The last install I d

Re: Cannot activate Tomcat Manager

2008-01-29 Thread Pid
Jonathan Mast wrote: I'm having trouble enabling the Manager webapp on Tomcat I've altered the server.xml and tomcat-users.xml files appropriately but when I type in www.mysite.com/manager I get an error saying the location doesn't exist. On my local Windoze machine, I've gotten the Manager app

Re: Only see html/code

2008-02-02 Thread Pid
Chris Baty wrote: Thanks everyone for their patience and support. I reviewed my overall file structure, web.xml, and server.xml. I re-read http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html which is an excellent tutorial. I was missing: in the Host section of server.xml. I've found that th

Re: appBase

2008-02-03 Thread Pid
Paul Wallace wrote: Hi, Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully formed path e.g: or (assuming mysite is two folders above CATALINA_HOME) Neither work and an HTTP 400 is returned. This stops the show also in server.xml: How do I point th

Re: j_security_check

2008-02-03 Thread Pid
stServlet *does* execute, with params(Password=foo) & POST method So, look further down in your logs, for the 2nd execution of TestServlet. regards, Pid This code works just fine on tomcat 5.0. After upgrading to 6.0, i am seeing this bizarre behaviour Any thoughts?

Re: j_security_check

2008-02-03 Thread Pid
The second POST should still occur, but it should occur after the initial GET is recovered after authentication. Your confusion is that you are seeing the 1st GET, when you expect (incorrectly) the POST. When you make the first request, you are not authenticated, which causes the 401 & the r

Re: appBase

2008-02-03 Thread Pid
(please only reply to the list). What errors are described in tomcat/logs/catalina.out or any other relevant log files? (e.g. the log for localhost) Which OS are you deploying on? p Paul Wallace wrote: Thanks Pid, My folder structure is as you expected. In server.xml I have: and

Re: Need help with multiple sites in server.xml file, almost there but not quite!

2008-02-09 Thread Pid
bump what? your message starts here >>> charley wrote: bump? anyone? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <<<

Re: running different versions of the same app

2008-02-17 Thread Pid
John Pedersen wrote: Hi, I want to experiment on using different styles and layouts in my pages. use a javascript CSS style switcher, or select a different CSS sheet based on a URL parameter. In order to get www.appName.com pointing at my app, I have had to put the app into the ROOT folder

Re: running different versions of the same app

2008-02-17 Thread Pid
John Pedersen wrote: 'how easy do you need development to be?' How easy can it get? Yes, I can switch the css easy enough, but the changes are more than just styles. And I want to test the app with real customers. I don't want them using subdirectories. What I would like is webapps/version1/ <

Re: Strange Redirection

2008-02-28 Thread Pid
Stephen Nelson-Smith wrote: I have deployed an application under Tomcat, fronted by Apache. I am experiencing what looks like strange redirects when I try to use the application. The front page is a login screen, but if I try to login, Tomcat attempts to locate a resource called /Login.jsp, whi

Re: Can't start tomcat 5.5.26 service on windows

2008-03-11 Thread Pid
Eric Hawkes wrote: Hi, The GUI has proved useful for debugging, but didn't solve the problem. It appears to read/write the registry, so settings made from the command line are picked up in the GUI tool, and vice versa. Our Java setup is slightly non-standard. I'm not sure how non-stand

Re: Changing HTTP port from 8080 prevents HTTPS redirects, Tomcat 5.5

2008-03-11 Thread Pid
OS? JVM version? Tomcat version? p mikebgx wrote: 8090 is in quotes btw, ie "8090" mikebgx wrote: Hi, When I change Tomcat's HTTP port to other than 8080, redirections to SSL port (8443) stop working. With HTTP port set to 8080 it all works fine. The only change I make is editing server.x

Re: API call to reload Tomcat web application

2008-03-16 Thread Pid
jamieb wrote: Hi there I am busy implementing an auto update facility for a Tomcat web application. As part of the auto update process, the auto update code needs to unpack the changed class files and reload the Tomcat web application. I am aware that you can configure Tomcat to automatically

Re: Tomcat on Leopard

2008-03-16 Thread Pid
Alan Chaney wrote: I'd guess that you copied the text in the tutorial using an editor which converted it to an RTF (Rich Text Format). The text you show in your email is rtf markup. The startup_tomcat file is a shell script which is setting the following environment variables JAVA_HOME -

Re: API call to reload Tomcat web application

2008-03-17 Thread Pid
a failure if the app itself is down. p Thanks Jamie Pid-2 wrote: jamieb wrote: Hi there I am busy implementing an auto update facility for a Tomcat web application. As part of the auto update process, the auto update code needs to unpack the changed class files and reload the Tomcat web a

Re: Error Page Question

2008-03-19 Thread Pid
Peter Stavrinides wrote: Unfortunately this solution doesn't solve it, I can only override 404 pages?, for 503 pages it simply ignores the override in web.xml, anybody got any other suggestions? I thought used to be possible to customise the built in error pages with XSL, but I can't seem to

Re: Overriding Password in JDBC Realm

2008-03-20 Thread Pid
Emsley, I (Iain) wrote: I'm trying to implement a JDBC realm to compare a cookie against a database to authenticate an identity but my current application falls over trying to get a password where one doesn't exist (they are checked earlier on in the cycle in another section of the programme).

Re: PHP problem

2008-03-24 Thread Pid
DIGLLOYD INC wrote: I don't know the answer, but how does one use PHP with Tomcat? (Thanks, if you have time for a pointer, I hadn't see docs on this). You know that every time an admin configures PHP on Tomcat a Java developer dies somewhere, right? There are a couple of ways; configure PH

Re: Bending Jasper to My Will

2008-04-19 Thread Pid
Andy Clark wrote: I have been going through the Jasper source code to figure out how to make it do what I want but have been unsuccessful. So I thought I would ask the experts. (Please let me know if there is a better forum for this particular question.) I want Jasper to look for JSP and Tag fil

Re: Share session cookie across subdomains

2008-04-19 Thread Pid
how about adding either, a property that allows you to specify the number of domain parts (accounting for domain.co.uk for example), or the actual domain? p Zach Cox wrote: I'm working on a site that has a single web app in Tomcat that handles lots of subdomains via wildcard DNS: - site

Re: Tomcat Production Configuration

2008-05-06 Thread Pid
Hi, I'm not sure if this will apply in your case, but I found that offloading the mail to a second (relatively low spec as it happens) local machine improved the mail output rate considerably - mailouts went in about 1/4 of the previous time. The local mail server was using CPU cycles and th

Re: Multiple Hits to same JSP

2008-05-13 Thread Pid
What are the hits actually for, the same page or separate pages? Is the requestor hitting a page and then getting all of the associated images, scripts, css etc? How many extra files per page do you have on average? A client with caching turned off, or behind a badly configured proxy/cache

Re: [EMAIL PROTECTED] Clustering

2008-05-23 Thread Pid
Ch Praveena wrote: Thank you all for your responses.. But still I am at lot of confusion as I was not the actual person who have designed the code. Anyway, I will try to solve the issue at the earliest. And here is an issue for the Tomcat designers. It was already known that Jboss internally use

Re: jsp session values - setting and getting problems

2008-05-28 Thread Pid
Kimberly Begley wrote: Hi, The starting point of the app is the user uploading a zip file the file is processed and a summary of the results displayed (in the form I spoke of). It's basically a form that doesn't have any parameters but displays a button that goes to the report.jsp page when push

Re: modify requested resource before compiling

2008-05-30 Thread Pid
So... If you want to transform some XML into some different XML? "XSLT, which is a language for transforming XML documents into other XML documents." http://www.w3.org/TR/xslt If your 'other namespace' is just a generic placeholder, you could make it match the namespace of a Tag Library (w

Re: Virtual Hosting with Auto Deploy

2008-05-31 Thread Pid
Vin Miller wrote: Hello, I have searched the internet extensively and have not been able to find an answer to my problem. I have a Virtual Private Server hosting account pre configured with Tomcat 5.5.26. My goal is to have multiple domain names, each with their own java app, served by this on

Re: installing Tomcat Container

2008-06-02 Thread Pid
ramya lekha wrote: Hi, I had used Apache Tomcat server in Windows. But now I need to install Tomcat in Unix. The Unix server already contains Apache server in it. So, do I need to install the Tomcat container in order to run the Tomcat Server. I had already downloaded the tar file "apache-tomcat

Re: Tomcat sessions in profiler

2008-06-02 Thread Pid
Hassan Schroeder wrote: On Mon, Jun 2, 2008 at 12:45 PM, <[EMAIL PROTECTED]> wrote: This is internal so no spiders, and no monitoring on it. Nothing in the logs either... OK, that last seems wierd to me, especially since the JavaDoc for HttpSession says: = The servlet container uses this i

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread Pid
Johnny Kewl wrote: - Original Message - From: "Propes, Barry L " <[EMAIL PROTECTED]> To: "Tomcat Users List" Hi, I am integrating two websites using single sign on. I have two sites namely aaa.com and bbb.com. I enabled SingleSignOn valve in server.xml file, and trying to acces

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread Pid
gate a principal upwards. Maybe one of the mod_jk committers has better info. p I am really sorry if I am confusing you. Please let me know still if you need any other details. Thanks, Sridhar Pid-2 wrote: Johnny Kewl wrote: - Original Message - From: "Propes, Barry L "

Re: MySQL DBCP Connection Example?

2008-10-20 Thread Pid
Markus Schönhaber wrote: > Martin Gainty: > >> Im not baiting you but rebutting your wrong answer to davids right answer >> you pick fights with people and state what they say is wrong without doing >> any research > > Oh, please, this is ridiculous! > You are wrong - as you are so often. And al

Re: Committing sendRedirect()

2008-10-21 Thread Pid
Tore Eriksson wrote: > Hello everybody, > > As I found a solution to my problem, I thought I would share it in case > someone else comes up against the same issue. The reason for the client > not acting on the redirect is that sendRedirect does not send any > Content-length header, and the client

Re: Tomcat is running but page is not displayed

2008-10-22 Thread Pid
Danny_HY052 wrote: > Hi, I am using Tomcat 5 for my j2ee application which uses JSP, servlets , > java and oracle 10g at the backend. > > When the tomcat is running i am able to access the application, however, > after some time when i try again to access the application i get "Page > cannot be Di

Re: How can I use a class in javax package from the jar file in WEB-INF/lib instead of the one in common/lib.

2008-10-24 Thread Pid
Kevin SeongHyun Lee wrote: > Hello, > > I'm trying to use JavaMail and the necessary libraries are in the > WEB-INF/lib of my application. It works fine in my development > environment. However, the problem is that after it is installed in the > production environment and tries to send an email, i

Re: Convenient web application configuration.

2008-10-30 Thread Pid
Jason Cipriani wrote: > I'm using Tomcat 6.0.18 on Windows XP SP3, Windows Server 2003, and > Windows Vista (UAC disabled). > > I have a web application with a lot of configuration options, all > currently stored as servlet initialization parameters in > WEB-INF/web.xml. The parameters are site sp

Re: 140.211.11.130

2008-10-31 Thread Pid
Philippe Couas wrote: > Hi, > > My UNIX logs give me trace OU_PKTS_DROP DST=140.211.11.130 . > It seems that is apache foundation ? > Why ? Because you're viewing a page at Apache.org? Without more information it's not going to be very easy to provide much more of an insight. Perhaps you coul

Re: multiple Set-Cookie headers in initial http response

2008-11-12 Thread Pid
André Warnier wrote: > Markus Reis wrote: Our Tomcat 5.5 sends 30 cookie (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; domain=null; path=/) >>> Are they all identical? >> >> No. They are ALL different (and they also differ from response to >> response) >> and 900 S

Re: Tomcat threads, II

2008-11-12 Thread Pid
2 users, load average: 0.19, 0.09, > 0.03 > Tasks: 82 total, 1 running, 81 sleeping, 0 stopped, 0 zombie > Cpu(s): 2.0%us, 0.3%sy, 0.0%ni, 97.7%id, 0.0%wa, 0.0%hi, 0.0%si, > 0.0%st > Mem:516920k total, 509716k used, 7204k free,71992k buffers > Swap: 1297564k t

Re: Get Security subject from Tomcat

2008-11-13 Thread Pid
Christopher Schultz wrote: > Arash, > > Arash Bizhan zadeh wrote: >> Sure [reading the servlet API] might help. Reading my mail would have helped >> too. I need the >> Subject not the principal. > > Ouch. You're gonna get the cold shoulder with that kind of snarkiness. > Your original message sa

Re: Get Security subject from Tomcat

2008-11-13 Thread Pid
Pid wrote: > Christopher Schultz wrote: >> Arash, >> >> Arash Bizhan zadeh wrote: >>> Sure [reading the servlet API] might help. Reading my mail would have >>> helped too. I need the >>> Subject not the principal. >> Ouch. You're gonna

Re: Form Based Authenticattion - j_security_check does not redirect from http to https

2008-12-09 Thread Pid
SKantS wrote: > > > Justin Randall-5 wrote: >> >> Hello, >> >> Are you using other filters? >> >> If you are you will need the method to look like the below: >> >> public void doFilter(ServletRequest request, ServletResponse response, >> FilterChain filterChain) throws IOException, ServletExc

Re: Tomcat resources

2008-12-10 Thread Pid
Caldarale, Charles R wrote: >> From: Kees de Kooter [mailto:[EMAIL PROTECTED] >> Subject: Re: Tomcat resources >> >> Is this some would-be turing machine babbling away or is there are >> genuine question here? > > Might be time to repost Andre's list... > http://marc.info/?l=tomcat-user&m=12282306

Re: How can the login page see parameters in the original request?

2008-12-30 Thread Pid
removeps-gro...@yahoo.com wrote: > Only if certain secret fields and values are present, do I want to generate > the login page. They're not really secret if you're passing them as parameters. It sounds like you're trying to over-engineer something, which often results in no security improveme

Re: Tomcat Not Releasing URL Connection

2008-12-30 Thread Pid
Troy Davidson wrote: > Hello, > > I've searched for an answer to this problem, but haven't found anything yet. > > Here is the problem: > > I have an application that connects to a 3rd party vendors server to request > updated information. This connection is created and closed in the Java code

Re: tomcat 5, writing file to a directory

2009-01-05 Thread Pid
Angelo Chen wrote: > Hi, > > I run tomcat 5 under root(sudo startup.sh), and my app writes some files to > a directory located in another user's directory, it works. > > but if I run tomcat under a user called tomcat5, it will fail as tomcat5 has > no permission to write files to that users direc

Re: Tutorial for implementing a valve

2009-01-06 Thread Pid
Gregor Schneider wrote: > Dear all, > > I'd like to try something in Tomcat 6, and therefore I have to > implement it as a valve. > > I know that I have to implement org.apache.catalina.valve, however, I > got no clue where to start. > > - In which jar among all the jars delivered with Tomcat do

Re: j_security_check with https

2009-01-06 Thread Pid
Diego Armando Gusava wrote: > i dont know how to request j_security_check on https! > > i attemped http://wiki.apache.org/tomcat/SSLWithFORMFallback but didnt work I think the above attempts to find an SSL cert, but falls back to FORM auth. Which isn't perhaps what you want? > >

Re: j_security_check with https

2009-01-07 Thread Pid
Justin Randall wrote: > Howdy, > > First, to clear an incorrect point made... > > There is a point of switching back to HTTP after HTTPS. From a server load > perspective having to perform SSL computations for every single HTTP request > can be a serious performance bottleneck. As for the sec

Re: j_security_check with https

2009-01-07 Thread Pid
Pid wrote: > Justin Randall wrote: >> Howdy, >> >> First, to clear an incorrect point made... >> >> There is a point of switching back to HTTP after HTTPS. From a server load >> perspective having to perform SSL computations for every single HTTP r

Re: j_security_check with https

2009-01-07 Thread Pid
Justin Randall wrote: > Hello, > > I'm not going to bother responding to the many posts that said the solution I > mentioned was wrong, instead I'll just provide the example of how to do it, > since it works. > > > > . lines removed . > > package blah; > > . lines removed ..

Re: single instance of background job?

2009-01-12 Thread Pid
Quartz has a clustering facility that makes this easy, the OpenSymphony website has more docs on this, investigate the forums/community there. org.quartz.jobStore.isClustered = true Using a JDBC JobStore with the cluster config should ensure that the job only runs once within the cluster. p

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-13 Thread Pid
Nathan Potter wrote: > I mapped one of my servlets to be the default servlet: > > > hyrax > * > > > And since it doesn't serve static content like the Tomcat > DefaultServlet, I'm not seeing the expected behavior for the error-page > mappings. Which is kind of a bummer:

Re: Tomcat 6.x security-constraint redirection problem... please help!

2009-01-14 Thread Pid
Martin Gainty wrote: > please display non-proprietary attributes of HTTPS (Port 8443 or 443) > Connector element values from %TOMCAT_HOME%/conf/server.xml OP: Don't attempt to decipher or respond to the above, it's a red herring. You could instead tell us exactly which 6.x you are using and on w

Re: Tomcat 6.x security-constraint redirection problem... please help!

2009-01-15 Thread Pid
samsina wrote: > See inline... > > > Pid-2 wrote: >> Martin Gainty wrote: >>> please display non-proprietary attributes of HTTPS (Port 8443 or 443) >>> Connector element values from %TOMCAT_HOME%/conf/server.xml >> OP: Don't attempt to decipher

Re: Tomcat 6.x security-constraint redirection problem... please help!

2009-01-16 Thread Pid
Christopher Schultz wrote: > Pid, > > Pid wrote: >> There's a couple of things that may be confusing the config below, which >> have some simple corrections. > >> I usually place "login.jsp" and "error.jsp" in "WEB-INF/login/"

Re: Dara P Maginnis/IR/AIB is out of the office.

2009-01-16 Thread Pid
that was annoying after 3 copies... someone unsubscribe him please? p dara.p.magin...@aib.ie wrote: > I will be out of the office starting 16/01/2009 and will not return until > 18/01/2009. > > I will out of the office and will action my mails on my return > > > Dara.P.Maginnis > AIB IFS > I

Re: Dara P Maginnis/IR/AIB is out of the office.

2009-01-16 Thread Pid
André Warnier wrote: > #12 : make sure that the Tomcat users list gets your absentee email > notifications. #12a : Especially if all you're doing is announcing that you're not working at the weekend. p > dara.p.magin...@aib.ie wrote: >> I will be out of the office starting 16/01/2009 and will

Re: [OT] Tomcat 6.x security-constraint redirection problem... please help!

2009-01-16 Thread Pid
Christopher Schultz wrote: > Pid, > > Pid wrote: >> I have an app with a page which contains a flash object (displays a nice >> graph) that calls a groovy script periodically to get data. > >> If the user session times out in between requests for the script then &

Re: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Pid
johnrock wrote: > > Caldarale, Charles R wrote: >>> Isn't this a very standard thing to do? >> No; one normally deploys webapps under the appBase. >> - Chuck >> > > Ok, I would like to follow the normal, best practices way. If you will > indulge me one more try: > > What is the best way to con

Re: How to turn off JNDI datasource connection pooling

2009-01-16 Thread Pid
Caldarale, Charles R wrote: >> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >> Subject: RE: How to turn off JNDI datasource connection pooling >> >> Look at the construct in the servlet spec. > > O.k., that was too simplistic. You'll also need the following. > > Does your DB d

Re: How to turn off JNDI datasource connection pooling

2009-01-17 Thread Pid
Caldarale, Charles R wrote: >> From: Pid [mailto:p...@pidster.com] >> Subject: Re: How to turn off JNDI datasource connection pooling >> >> I'm getting a little confused trying to follow this thread. > > There was a distinct lack of specifics in the beginning

Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread Pid
matyg wrote: > Yes, I know this page, but it is not understoodable from what is described > how it should be done. > They write there "All such classes are visible to both Tomcat internal > classes, and to web applications". Classes placed inside a webapp should not be visible to the container. Th

Re: How to enforece status like manager authentication for my web app?

2009-01-23 Thread Pid
kaprasi wrote: > Hi, > > I have written a simple web-app and I have deployed it in tomcat-6.0.18. > I want to ensure that a particular jsp file can't be accessed directly. > As in, in the tomcat page (http://localhost:8080/) on the left side there is > a link titled Status. > Clicking on which bri

Re: different jsessionid for different webapps

2009-01-23 Thread Pid
Stefano Nichele wrote: > Hi All, > I have a strange (for me?) requirement for my application. > Basically I have webapp A deployed in Tomcat A and webpp B deployed in > Tomcat B. webappA is the "main" webapplication that provides the main > web page to the the browser. That page contains an IFrame

Re: different jsessionid for different webapps

2009-01-24 Thread Pid
Christopher Schultz wrote: > Pid, > > Pid wrote: >> Stefano Nichele wrote: >>> Hi All, >>> I have a strange (for me?) requirement for my application. >>> Basically I have webapp A deployed in Tomcat A and webpp B deployed in >>> Tomcat B. web

Re: Tomcat and jsecurity help

2009-01-26 Thread Pid
juanmanuelsanchez wrote: > Im trying to make tomcat work with my jsecurity setup but Im having some > problems. > My jsp's are in different folders to make them more organized in sake of > security. So I have a main folder called JSP with 3 subfolders in it. > > So I have 3 tags setup depending

Re: Tomcat and jsecurity help

2009-01-27 Thread Pid
juanmanuelsanchez wrote: > Dosent seem to work, my idea is to have a common folder where everybody could > go, and other 3 where just authorized people can see the jsp. Thats why you > see 4 different security-constrain tags. > > Everybody should login no matter what. > > I think one of the probl

Re: virtual hosts

2009-01-28 Thread Pid
Josh Pollara wrote: > I am making a transition from apache http -> tomcat. DNS is all configured > correctly etc. example.com and *.example.com point to the same place. > > I'm quite certain that tomcat does not support wildcard virtual hosts, I just > wanted to confirm with someone who was posi

<    1   2   3   4   5   6   7   8   9   10   >