Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
Could someone please help me understand what thia stack trace is saying? catalina.log File Type: ASCII English text, with very long lines INFO main org.apache.catalina.startup.Catalina - Initialization processed in 875 ms INFO main org.apache.catalina.core.StandardService - Starting service C

RE: set-cookie

2010-05-24 Thread banto
great guys for a great forum!!! n828cl wrote: > >> 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. > Ei

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

Re: Javamelody

2010-05-24 Thread Konstantin Kolinko
2010/5/24 Emeric Vernat : > 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 MonitoringFilte

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 Moscow|Geneva|Seattle|N

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 >> /examples/serv

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 R

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 error

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 ne

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 t

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 Date: May 24, 2010 3:5

Re: stuck confused an need help please

2010-05-24 Thread Ken Bowen
eApps.com provides a virtual system env; you ssh in and it looks/feels like your own unix system (CentOS 5); in addition, there is a web- based control panel. They've been pretty supportive for me over the years. glancing at dailyrazor, I think you'll find the prices somewhat higher, but i

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

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 mysql>connect usern...@host mysql>supply password if you cannot access ALL of the requested tables with e

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 advice

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 retriev

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" Sent: Mon

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" Sent: Monday, May 24, 2010 9:19 PM To: "Tomcat Users List" Subjec

Re: stuck confused an need help please

2010-05-24 Thread Hassan Schroeder
On Mon, May 24, 2010 at 12:11 PM, Yucca Nel 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 > prepended to everythi

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 t

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" Sent: Monday, May 24, 2010 9:14 PM To: "Tomcat Users List" Subject: Re: stuck confused an need help ple

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" Sent: Monday, May 24, 2010 9:10 PM To: "Tomcat Users List" Subject: Re: s

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. Thanks,

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 enviro

Re: stuck confused an need help please

2010-05-24 Thread Hassan Schroeder
On Mon, May 24, 2010 at 12:00 PM, Yucca Nel 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 Schroeder -

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" Sent: Monday, May 24, 2010 9:00 PM To: "Tomcat Users List" Subject: Re: stuck confused an need help please yes but I don't know why access I being denied? The credentials

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 f

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: 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 > > allow="\\machine43name" /> like this. As Mark said, use the actual name as it appears in the HTTP header, not the Windows corruption of it. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: stuck confused an need help please

2010-05-24 Thread Hassan Schroeder
On Mon, May 24, 2010 at 11:37 AM, Yucca Nel 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 :-) > ERROR main org.apach

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: like this. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, May 24, 2010 12:56 PM To: Tomcat Users List Subject: RE: Remote Host Filter > Fr

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 s

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="\\machine43name" > > Why do you have a leading backwards slash on the allow? That looks like Windows name. You need to use the DNS name. Mark >

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="\\machine43name" Why do you have a leading backwards slash on the allow? Why do you have a thingie buried in the allow? (Hint: send to the list in plain-text only, not HTML.) - Chuck THIS COM

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 allow="\\machine43name

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 th

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 htt

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 web.xm

Re: Connecting openBD via Tomcat to Apache2

2010-05-24 Thread Christian Adelbrecht
2010/5/24 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 > >

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

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 v

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: 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: http://code.google.com/p/

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

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

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 www.testdoma

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

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

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 [mailto:ma...@apache.org]

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 wi

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. S

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: 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: 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: 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

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: D

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 wrote: > On 24 May 2010 12:48, Ozgu

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 org.apache.catalina.rea

Re: Javamelody

2010-05-24 Thread Peter Crowther
On 24 May 2010 12:48, Ozgur Ozdemircili 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 java.util.Timer API but has failed t

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 a

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 org.apache

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

2010-05-24 Thread Konstantin Kolinko
2010/5/24 deligeli : > > 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 work with el-

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 messag

Re: Tomat monitoring

2010-05-24 Thread Ozgur Ozdemircili
Hi, Thanks for all the feedback. Actually the answer that Emeric gave is the one I was looking for. Finally I decided to open the Jmx port doing the necessary changes and install Javamelody for all the prod servers. Ill keep you updated about the experience. Salut! Özgür Özdemircili http://ww