el-api2.2 is not compatible with tomcat6 and jsp

2010-05-24 Thread deligeli
Hi! Please see my post here: http://old.nabble.com/using-new-el-api-2.2-with-myfaces2.0-and-tomcat6-ts28649111.html and actually i saw here: http://old.nabble.com/JSP-2.2---EL-2.2-implementation-complete-ts27169437.html that is shoule be completed! could you please help? -- View this

Re: el-api2.2 is not compatible with tomcat6 and jsp

2010-05-24 Thread Konstantin Kolinko
2010/5/24 deligeli odel...@sintecmedia.com: actually i saw here: http://old.nabble.com/JSP-2.2---EL-2.2-implementation-complete-ts27169437.html that is shoule be completed! The JSP 2.2 EL 2.2 implementation complete thread talks about Tomcat 7. Tomcat 6 implements JSP 2.1 only and cannot

Javamelody

2010-05-24 Thread Ozgur Ozdemircili
Hi, I have installed Javamelody version 1.15. In my catalina.out there appears error messages: GRAVE: Error filterStart 24-may-2010 13:46:13 org.apache.catalina.core.StandardContext start GRAVE: Falló en arranque del Contexto [/javamelody] debido a errores previos 24-may-2010 13:46:13

Re: Javamelody

2010-05-24 Thread Mark Thomas
On 24/05/2010 12:48, Ozgur Ozdemircili wrote: Hi, I have installed Javamelody version 1.15. In my catalina.out there appears error messages: GRAVE: Error filterStart 24-may-2010 13:46:13 org.apache.catalina.core.StandardContext start GRAVE: Falló en arranque del Contexto [/javamelody] debido

Re: Javamelody

2010-05-24 Thread Peter Crowther
On 24 May 2010 12:48, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: I have installed Javamelody version 1.15. In my catalina.out there appears error messages: [...] GRAVE: A web application appears to have started a TimerThread named [javamelody javamelody] via the

JAAS: why would I be getting a 403 after a Successfully passed all security constraints

2010-05-24 Thread dB .
I am trying to implement JAAS. I got a custom module written and it seems to work. FINE: Checking roles GenericPrincipal[dblock(Everyone,)] May 24, 2010 7:56:45 AM org.apache.catalina.realm.RealmBase hasRole FINE: Username dblock has role Everyone May 24, 2010 7:56:45 AM

Re: Javamelody

2010-05-24 Thread Ozgur Ozdemircili
For the record Just opened up a issue. Let`s see how it ends there: http://code.google.com/p/javamelody/issues/detail?id=25 Thanks. Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Mon, May 24, 2010 at 1:56 PM, Peter Crowther peter.crowt...@melandra.com wrote:

thread deadlock issue in WebappClassLoader (Tomcat 6.0.26)

2010-05-24 Thread PJ Fanning
Hi, We've been seeing the occasional deadlock in WebappClassLoader and upgraded to Tomcat 6.0.26 because of https://issues.apache.org/bugzilla/show_bug.cgi?id=48694. The fix in 48694 does not seem to have gotten rid of the deadlock altogether. Here are 2 threads that are deadlocked. Name:

Re: thread deadlock issue in WebappClassLoader (Tomcat 6.0.26)

2010-05-24 Thread Rainer Jung
On 24.05.2010 14:08, PJ Fanning wrote: Hi, We've been seeing the occasional deadlock in WebappClassLoader and upgraded to Tomcat 6.0.26 because of https://issues.apache.org/bugzilla/show_bug.cgi?id=48694. The fix in 48694 does not seem to have gotten rid of the deadlock altogether. Could you

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
Ranier, Again, thanks for the reply below. Apparently I do not have something setup correctly because I cannot get a LOG file created when I execute a single request that is a valid login ID. I'm sure I've setup something incorrectly and any help/direction would be greatly appreciated. Here

Re: JAAS: why would I be getting a 403 after a Successfully passed all security constraints

2010-05-24 Thread Mark Thomas
On 24/05/2010 13:00, dB. wrote: I am trying to implement JAAS. I got a custom module written and it seems to work. FINE: Checking roles GenericPrincipal[dblock(Everyone,)] May 24, 2010 7:56:45 AM org.apache.catalina.realm.RealmBase hasRole FINE: Username dblock has role Everyone May 24, 2010

RE: thread deadlock issue in WebappClassLoader (Tomcat 6.0.26)

2010-05-24 Thread PJ Fanning
Thanks Rainer for the quick response. That code change looks like it will get rid of the deadlock issue. Do you have any idea if it affects performance in a marked way? Synchronizing on the class loader object instance should lead to a lot more contention. Still better than getting deadlocks.

Re: thread deadlock issue in WebappClassLoader (Tomcat 6.0.26)

2010-05-24 Thread Mark Thomas
On 24/05/2010 13:47, PJ Fanning wrote: Thanks Rainer for the quick response. That code change looks like it will get rid of the deadlock issue. Do you have any idea if it affects performance in a marked way? Synchronizing on the class loader object instance should lead to a lot more contention.

RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-05-24 Thread Caldarale, Charles R
From: ago...@libero.it [mailto:ago...@libero.it] Subject: R: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA ERROR [org.apache.tomcat.util.net.JIoEndpoint] Socket accept failed java.net.SocketException: socket closed This isn't really a problem with the

RE: JAAS: why would I be getting a 403 after a Successfully passed all security constraints

2010-05-24 Thread dB .
Thanks. The problem was between the computer and the chair. I forgot to remove a security filter I was testing earlier that had an unfortunate side effect of eating an error. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Mark Thomas

Re: set-cookie

2010-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Banto, On 5/22/2010 12:01 PM, banto wrote: Hi Chuck, i have found out who is generating that in my code: dispatcher.forward(request, response); the response contains also the set cookie header...it is automatically done by tomcat... You

Re: Question on workers.properties file

2010-05-24 Thread André Warnier
Hi. Your general settings look ok to me. See in text. Savoy, Melinda wrote: Ranier, Again, thanks for the reply below. Apparently I do not have something setup correctly because I cannot get a LOG file created when I execute a single request that is a valid login ID. What is the exact URL

Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Christian Adelbrecht
Hi there! I am very new to tomcat and I have a little problem serving pages... After the installation of tomcat, mod_jk and openbd everything was fine. The manager worked and so on. Now I tried to connect a Domains via the vhost setting in apache2 to tomcat. When I go to the domain

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
Andre, Thanks for the reply. I was finally able to get my the LOG file created. I had NOT setup my virtual website, SCMIS, in addition to the JAKARTA virtual website in IIS and consequently I kept using Tomcat to authenticate instead of using IIS to do so and it was never hitting my website

Re: Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Pid
On 24/05/2010 16:12, Christian Adelbrecht wrote: Hi there! I am very new to tomcat and I have a little problem serving pages... After the installation of tomcat, mod_jk and openbd everything was fine. The manager worked and so on. Now I tried to connect a Domains via the vhost setting

Re: Javamelody

2010-05-24 Thread Emeric Vernat
Hi Ozgur and others, Ok, I am here. Thanks for the issue about this log. I have tomcat 6.0.26 but I have not reproduced the issue yet. Yes there is a timer thread in javamelody, and it is correctly canceled in the destroy method as can be seen here in the http filter:

Re: Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Christian Adelbrecht
hi! What are the exact OS Linux 2.6.18-6-k7 , JVM, 1.6.0_16-b01 Tomcat, Apache Tomcat/6.0.20 HTTPD Apache 2.2.3 and mod_jk versions mod_jk 1.2.27 ? p

RE: Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Caldarale, Charles R
From: Christian Adelbrecht [mailto:christian.adelbre...@gmail.com] Subject: Re: Connecting openBD via Tomcat to Apache2 Tomcat, Apache Tomcat/6.0.20 HTTPD Apache 2.2.3 and mod_jk versions mod_jk 1.2.27 Don't suppose you'd consider upgrading those to a bit more recent versions?

Re: Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Pid
On 24/05/2010 16:53, Christian Adelbrecht wrote: hi! What are the exact OS Linux 2.6.18-6-k7 , JVM, 1.6.0_16-b01 Tomcat, Apache Tomcat/6.0.20 HTTPD Apache 2.2.3 and mod_jk versions mod_jk 1.2.27 Note: there are more recent versions of all of

Re: Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Christian Adelbrecht
2010/5/24 Pid p...@pidster.com On 24/05/2010 16:53, Christian Adelbrecht wrote: hi! What are the exact OS Linux 2.6.18-6-k7 , JVM, 1.6.0_16-b01 Tomcat, Apache Tomcat/6.0.20 HTTPD Apache 2.2.3 and mod_jk versions mod_jk 1.2.27 Note:

Re: Way to record what URL an error originated from in my localhost file?

2010-05-24 Thread laredotornado
My needs are in my Tomcat/localhost log file, I would like as much information as possible to appear accompanying exceptions that get generated in there. At the least, I would like to have the request URI precede the error in the localhost log. Even though I have defined error pages in my

RE: Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Caldarale, Charles R
From: Christian Adelbrecht [mailto:christian.adelbre...@gmail.com] Subject: Re: Connecting openBD via Tomcat to Apache2 In some newsgroups I read, that tomcat is slower than apache Hasn't been true for several years. You should seriously consider simplifying your life by eliminating httpd

RE: Way to record what URL an error originated from in my localhost file?

2010-05-24 Thread Caldarale, Charles R
From: laredotornado [mailto:laredotorn...@gmail.com] Subject: Re: Way to record what URL an error originated from in my localhost file? Even though I have defined error pages in my web.xml file, that doesn't interact with the localhost log, right? Correct; you have to write code in the

Remote Host Filter

2010-05-24 Thread Propes, Barry L
Hello, I'm trying to implement the RemoteHostValve into my app configuration and getting a forbidden. In my META-INF/context.xml file in the manager folder, I changed from a RemoteAddrValve, filtered by IP address (which worked successfully) to the RemoteHostValve, using

RE: Remote Host Filter

2010-05-24 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: Remote Host Filter allow=\\machine43namefile://\\machine43name Why do you have a leading backwards slash on the allow? Why do you have a file: thingie buried in the allow? (Hint: send to the list in plain-text only, not

Re: Remote Host Filter

2010-05-24 Thread Mark Thomas
On 24/05/2010 18:56, Caldarale, Charles R wrote: From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: Remote Host Filter allow=\\machine43namefile://\\machine43name Why do you have a leading backwards slash on the allow? That looks like Windows name. You need to use the DNS

Heap size for two container sharing single JVM

2010-05-24 Thread Johan Martinez
Hi, I am using Tomcat 5.5.27 core package on CentOS 5.3. I need to add tomcat-6 on the same machine and it will share the same JDK instance. Do I need to setup java heap space separately for both containers? For a single container I am adding heap space (Xmx) option to JAVA_OPTS in catalina.sh

RE: Remote Host Filter

2010-05-24 Thread Propes, Barry L
Sorry about thatHTML was the default setting -- let me switch it. I had the following: Valve className=org.apache.catalina.valves.RemoteHostValve allow=\\machine43name / like this. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent:

Re: stuck confused an need help please

2010-05-24 Thread Hassan Schroeder
On Mon, May 24, 2010 at 11:37 AM, Yucca Nel yucca...@live.co.za wrote: I have been getting mysql SELECT privilege denied exception even though user has all access to database. There would seem to be a contradiction between the above statement and the first error in your log example :-)

RE: Remote Host Filter

2010-05-24 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: Remote Host Filter Valve className=org.apache.catalina.valves.RemoteHostValve allow=\\machine43name / like this. As Mark said, use the actual name as it appears in the HTTP header, not the Windows corruption of it. -

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
yes but I don't know why access I being denied? The credentials I am providing sre 100% correct sn the database user has ALL privileges so could anyone perhaps think o a possible reason why I am getting these errors? I have confirmed with hosting provider that user exists and credentials are

RE: Heap size for two container sharing single JVM

2010-05-24 Thread Caldarale, Charles R
From: Johan Martinez [mailto:jmart...@gmail.com] Subject: Heap size for two container sharing single JVM it will share the same JDK instance. All that means is that the same JDK is used as the process templates for the each JVM instance. Do I need to setup java heap space separately for

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
I forgot to mention I am using myswl 5, and tomcat 6 -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:00 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: stuck confused an need help please yes but I don't know why

Re: stuck confused an need help please

2010-05-24 Thread Hassan Schroeder
On Mon, May 24, 2010 at 12:00 PM, Yucca Nel yucca...@live.co.za wrote: The credentials I am providing sre 100% correct Not according to the log file you sent. Are you saying that you have successfully logged in to MySQL from the command line on the server using those credentials? -- Hassan

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
Perhaps the real issue herw for mr personally (and I hope anyone using dailyrazor) could answer if it's normal to not be able to use mysql in a production environment where I DON't have to have my dailyrazor username prepended to everything related in mysql? Is this a norm in prodyction

RE: Remote Host Filter

2010-05-24 Thread Propes, Barry L
I believe that's my problem, there. A few years back I tried to use both .getRemoteAddr and .getRemoteHost in one of my servlets to retrieve those user agent variables (both IP and machine names), and both returned the IP address. So I'm probably stuck using the RemoteAddrValve filter.

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
there is no cli for myswl using cpanel. Only php mysql admin and I know I am using the credentials provided when I created the user in php admin -- From: Hassan Schroeder hassan.schroe...@gmail.com Sent: Monday, May 24, 2010 9:10 PM To: Tomcat

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
Oh and my hosting provider sent me a snipped of the cli where they logged in with my credentials so that is not the issue -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:14 PM To: Tomcat Users List users@tomcat.apache.org

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
here is copy of email sent from hosting provider ... Dear Customer, We see no permisson problems with your database: # mysql --database=yucca123_thejarbar --user=yucca123_hiber --password=myPass Reading table information for completion of table and column names You can turn off this feature

Re: stuck confused an need help please

2010-05-24 Thread Hassan Schroeder
On Mon, May 24, 2010 at 12:11 PM, Yucca Nel yucca...@live.co.za wrote: Perhaps the real issue herw for mr personally  (and I hope anyone using dailyrazor) could answer if it's normal to not be able to use mysql in a production environment where I DON't have to have my dailyrazor username

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
Perhapa somwonw can recommend me another hosting provider (will gladly refer them) and one where they don't add silly prefix names o everything done in mysql? -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:19 PM To: Tomcat

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
aplogies there are 2 users and both credentials are configured correct one for hibernate and one for tomcat what I maen is that my dailyraor username is eg. and everything in mysql gets prepended with xxx like xxx_mydatabase xxx_myusername xxx_mytable From: Hassan Schroeder

IIS Authentication for Single-Signon

2010-05-24 Thread Savoy, Melinda
I started a post last week on the WORKERS.PROPERTIES file but that post got to be very long. After getting answers from those on this list to help me resolve the issue with the worker.properties file. I would like to submit another question on resolving IIS authentication in helping me

Re: set-cookie

2010-05-24 Thread banto
chris, useful info. however when i print the current thread stack trace with a HttpSessionListener i see few info; something like this Ljava.lang.STackTraceElement;@4313455 i´m using something like System.out.println(Thread.currentThread().getStackTrace()); in the sessionCreated(). any

RE: stuck confused an need help please

2010-05-24 Thread Martin Gainty
it *is* important that you follow the directions provided to you as hassan mentioned you need to go to mysql command prompt and try to open the connection with the username/password mysqlconnect usern...@host mysqlsupply password if you cannot access ALL of the requested tables with

RE: set-cookie

2010-05-24 Thread Caldarale, Charles R
From: banto [mailto:banto...@gmail.com] Subject: Re: set-cookie i´m using something like System.out.println(Thread.currentThread().getStackTrace()); What you got was a display of the array object - not very interesting. Either iterate through the array, displaying each entry, or just do

Additional comments: stuck confused an need help please

2010-05-24 Thread Ken Bowen
-- wrt: eApps, the user names are just whatever you make them -- it's really a virtual unix. -- wrt: You get what you pay for --- one of the ONLY exceptions to this that I've encountered in life is the Tomcat list!! --Ken Begin forwarded message: From: Ken Bowen kbo...@als.com Date: May

Re: IIS Authentication for Single-Signon

2010-05-24 Thread André Warnier
Melinda; on the one hand you are right, this would have been a better title for your issue than workers.properties. But on the other hand, now you are creating confusion by starting another thread (that makes it 3 now). Which one should we answer now ? And, if this third one, then the first

Re: Question on workers.properties file

2010-05-24 Thread André Warnier
Savoy, Melinda wrote: Andre, Thanks for the reply. I was finally able to get my the LOG file created. I had NOT setup my virtual website, SCMIS, in addition to the JAKARTA virtual website in IIS and consequently I kept using Tomcat to authenticate instead of using IIS to do so and it was

R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-05-24 Thread ago...@libero.it
Thanks for suggestion. But i have win2008 with dual quad core processor, 4GB ram. The CPU usage is to 5% and ram is used to the 75% when error occours. What block the reload time of page (in presence of error all is more slow the IE page often is white)? What i can investigate when the

mod_jk stability issues

2010-05-24 Thread LES
I am having some trouble keeping a mod_jk setup stable. At this point, I feel like I am too far into trial and error mode and would like some help figuring out how to identify the problem. My current setup involves, two linux (RHEL 5) server each running two tomcat instances (6.0.20). A third

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
Andre, Sorry for creating confusion on the other post. I will stick with this post as well. I made changes to the setting here: I think the problem is right there, and in the worker mappings you mentioned earlier : /examples/*=scmisWorker /examples/*.jsp=scmisWorker

RE: Question on workers.properties file

2010-05-24 Thread dB .
I am curious whether you're using IIS for anything other than single sign-on / authentication? If you're not, check out http://waffle.codeplex.com - there's a new Negotiate (Kerberos + NTLM) authenticator. This could remove IIS from your entire picture. dB. @ dblock.org

Re: Javamelody

2010-05-24 Thread Konstantin Kolinko
2010/5/24 Emeric Vernat ever...@free.fr: Looking at catalina.out that you attached in Comment 1 of http://code.google.com/p/javamelody/issues/detail?id=25 I see the following line: 24-may-2010 17:49:19 org.apache.catalina.core.StandardContext start GRAVE: Error filterStart So my guess is that

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
Yes. dB, we are a microsoft shop for all practical purposes. We were the first Java web app that was created here at our company and now since JCIFS is not NTLMv2 compliant we had thought we'd go ahead and use IIS that is being used for everything else internet and intranet wise. Thanks for