Re: Error message

2007-04-13 Thread Rashmi Rubdi
According to the docs: http://java.sun.com/javase/6/docs/api/java/lang/ClassFormatError.html Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file. ByteChunk is in tomcat-coyote.jar , replace

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Thomas Polliard
Tim Thanks for the help, That FIXED it :)... Thanks for the reference it was indeed helpful. Thomas - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Tim Lucia
> -Original Message- > From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Sent: Friday, April 13, 2007 2:36 AM > To: Tomcat Users List > Subject: Re: getResourceAsStream returning blank (NOT NULL) > > > InputStream in = getClass().getResourceAsStream(sPackageNameWithSlashes); > > If the class

RE: unecessary JAR files

2007-04-13 Thread Tim Lucia
mv + java should do the trick. If you get a ClassNotFoundException, then the jar file is utilized. Tim > -Original Message- > From: Pierre Goupil [mailto:[EMAIL PROTECTED] > Sent: Friday, April 13, 2007 11:28 AM > To: Tomcat Users List > Subject: Re: unecessary JAR files > > Hello, Worl

Re: Error message

2007-04-13 Thread Martin Gainty
Dwight- Must be too much heat because I havent seen this since IBM J2RE 1.4.2 Which JDK are you using? Which version Tomcat? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If yo

Error message

2007-04-13 Thread Dwight Farris
Has anyone seen an error message similar to the following? java.lang.ClassFormatError: Illegal exception table range in class file org/apache/tomcat/util/buf/ByteChunk Dwight (520) 626-9913 (520) 626-6345 (fax) (952) 237-0606 (cell) -

Re: Stuck in SYN_RECV when binding to ip

2007-04-13 Thread robert lazarski
On 4/13/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: On 4/13/07, robert lazarski <[EMAIL PROTECTED]> wrote: > I'm using the tomcat that is embedded into jboss 4.0.5 , 5.5.17 I believe. Did you check with JBoss's support/forum ? -Rashmi I'm using just tomcat 5.5.20 now for testing - same pro

Re: Stuck in SYN_RECV when binding to ip

2007-04-13 Thread Rashmi Rubdi
On 4/13/07, robert lazarski <[EMAIL PROTECTED]> wrote: I'm using the tomcat that is embedded into jboss 4.0.5 , 5.5.17 I believe. Did you check with JBoss's support/forum ? -Rashmi - To start a new topic, e-mail: [EMAIL PROTE

Re: Tomcat Datbase Connection Pooling

2007-04-13 Thread Daniel Stephens
it also contributes to the other parameters like removeAbandoned, etc.. If I remember right when the validation Query runs the evictor thread gets called and then abandoned connections are relieved.They all kinda work together. On 4/13/07, Venky Vasant <[EMAIL PROTECTED]> wrote: Thanks i had ch

Re: Stuck in SYN_RECV when binding to ip

2007-04-13 Thread robert lazarski
On 4/13/07, robert lazarski <[EMAIL PROTECTED]> wrote: eth0 Link encap:Ethernet HWaddr 00:0C:29:5D:68:E7 inet addr:xxx.xxx.166.53 Bcast:xxx.xxx.166.63 Mask: 255.255.255.240 inet6 addr: fe80::20c:29ff:fe5d:68e7/64 Scope:Link UP BROADCAST RUNNING MULTICAST M

Re: Problem reading the Accept-Encoding header from a request

2007-04-13 Thread Rashmi Rubdi
As far as I understand, the Accept-Encoding header is set by the *browser*. It is also possible to override the browser headers with HttpResponse's addHeader (if the header doesn't exist) or setHeader (to overwrite the header) So you may want to try either one of: response.addHeader("Accept-Enc

Re: Tomcat Datbase Connection Pooling

2007-04-13 Thread Venky Vasant
Thanks i had checked the document, i was specifically looking at the Validation query at an abstract database going down, network going down should need validation query to check if the connection object still good What might be other scenarios if any where a validation query is needed Regards

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
I tried the management console way because I was not sure I was getting the xml right. I will stick with that until I find something wrong with the generated xml. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 11:09 AM To: Tomcat Users List

TOMCAT 5.0.28 Start-up issue

2007-04-13 Thread Dwight Farris
Hello All, When I start TOMCAT 5.0.28 on a MAC OS X server; I intermittently receive the following errors: web1:~/tomcat/bin dfarris$ ./startup.sh Using CATALINA_BASE: /Volumes/Data/home/dfarris/tomcat Using CATALINA_HOME: /Volumes/Data/home/dfarris/tomcat Using CATALINA_TMPDIR: /Volumes/Data

Re: DB2 DataSource.

2007-04-13 Thread Rashmi Rubdi
On 4/13/07, Fargusson.Alan <[EMAIL PROTECTED]> wrote: I am putting my Resource inside the GlobalNamingResource. Do I need anything in the Context node? If you are using GlobalNamingResource you don't need the Context node because it is global to all contexts and not just one context. I hav

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
I am putting my Resource inside the GlobalNamingResource. Do I need anything in the Context node? I have been doing this two different ways. My latest attempts I have used the management console which generates the server.xml file. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL

Re: jakarta connection

2007-04-13 Thread Rashmi Rubdi
On 4/13/07, Cesare Vairetti <[EMAIL PROTECTED]> wrote: [Fri Apr 13 12:39:22 2007] [3860:3172] [error] jk_ajp_common.c (1942): (ajp13w) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port It could be possible that something in your code is causing a me

Re: Problem reading the Accept-Encoding header from a request

2007-04-13 Thread Rashmi Rubdi
The problem arose when I was writing a special compression filter I tried your code in a JSP directly (without using any other custom compression filter) and it prints as follows: Accept-Encoding gzip,deflate some other headers.. accept text/xml,application/xml,application/xhtml

Re: DB2 DataSource.

2007-04-13 Thread Rashmi Rubdi
As Len Popp mentioned before, the syntax for Connection Pooling is different for certain versions of Tomcat. If you carefully follow the documentation of "JDBC DataSources" for *your* version of Tomcat http://tomcat.apache.org/ , and do some additional minor research on the pseudo-code presented

RE: Question on setting up LDAP...

2007-04-13 Thread Smith, Corey
Hello and how are things? Well I am convinced that having to type in the domain in front of my user name is causing the Invalid escape sequence error in the web apps log. I guess my question is how can I either remove that domain\ in front of my username before the realm searches for the ui

Stuck in SYN_RECV when binding to ip

2007-04-13 Thread robert lazarski
Hi all, I'm using the tomcat that is embedded into jboss 4.0.5 , 5.5.17 I believe. I'm running opensuse 10.1 with kernel 2.6.16.13 . I'm trying to test our app which is now behind a load balancer. I've tried with and without apr to the same effect. My ifconfig shows: eth0 Link encap:Etherne

Re: Problem reading the Accept-Encoding header from a request

2007-04-13 Thread Martin Gainty
Read this excellent tutorial http://www.sitepoint.com/blogs/2006/03/15/do-you-know-your-character-encodings/ To change the encoding one must change the charset meta tag as in - Original Message - From: "Christian Hvitved" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 13

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Your right. My ResourceParam syntax is different. I didn't look closely at that. My values are mostly the same. -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 9:25 AM To: Tomcat Users List Subject: Re: DB2 DataSource. It should *not* look the

Re: DB2 DataSource.

2007-04-13 Thread Len Popp
It should *not* look the same, because the syntax of the element changed after 5.0. Look for in the 5.0 documentation. -- Len On 4/13/07, Fargusson.Alan <[EMAIL PROTECTED]> wrote: Thanks. I am using 5.0.28, but what I have looks like what you have. I will take a closer look to make sure I d

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Thanks. I am using 5.0.28, but what I have looks like what you have. I will take a closer look to make sure I didn't miss something. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 5:59 PM To: Tomcat Users List Subject: Re: DB2 DataSource.

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
I think I have all the jar files in the right place. In fact I can access DB2 when I use DriverManager. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 11:14 PM To: Tomcat Users List Cc: Martin Gainty Subject: Re: DB2 DataSource. Hi, I'd been

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Actually my program works when I use DriverManager. It only failes when I use a DataSource. -Original Message- From: Pulkit Singhal [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 10:06 PM To: Tomcat Users List Cc: Martin Gainty Subject: Re: DB2 DataSource. The following is co

Problem reading the Accept-Encoding header from a request

2007-04-13 Thread Christian Hvitved
Hi support list I am having a problem, with reading the Accept-Encoding header from a request, which seems very simple. I use Tomcat 6.0.10 on a dansih windows xp. The problem arose when I was writing a special compression filter (I don't want to use the one that ships with tomcat). When the s

Re: Java Web Parts v1.1 Beta 1 released

2007-04-13 Thread Anoop kumar V
Thank you Frank - it is a fine project. On 4/13/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Woops, sorry about that folks... I didn't see the Cc list before I clicked Reply All. Didn't mean to cross-reply. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technolo

Re: HTTPS service

2007-04-13 Thread Martin Gainty
Lately I see alot of permgen errors With Hibernate I see javassist bytecode provider causing permgen errors thankfully a solution is to use the cglib provider by changing hibernate.properties hibernate.bytecode.provider.javassist to hibernate.bytecode.provider cglib http://forum.springframewor

Re: unecessary JAR files

2007-04-13 Thread Pierre Goupil
Hello, World ! Another question asked by the OP which is of interest to me : does anyone have a tool that can profile whether or not a jar file gets utilized during an application? Cheers, Pierre 2007/4/13, Peter Crowther <[EMAIL PROTECTED]>: > From: Rashmi Rubdi [mailto:[EMAIL PROTECT

Re: Java Web Parts v1.1 Beta 1 released

2007-04-13 Thread Frank W. Zammetti
Woops, sorry about that folks... I didn't see the Cc list before I clicked Reply All. Didn't mean to cross-reply. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Pr

RE: HTTPS service

2007-04-13 Thread Robert Harper
I see this more often that I'd like on my development system. When I look in the stdout log file, I see a "ConcurentModificationException" in the trace. I have found that I reduce my chances by waiting a few more seconds before I restart. For memory issues, look at your app and make sure that you

Re: Java Web Parts v1.1 Beta 1 released

2007-04-13 Thread Frank W. Zammetti
Hi Anoop, http://javawebparts.sourceforge.net Click the Javadocs link, that's the easiest way to see what's available. The project is organized as 11 packages, such as javawebparts.filter and javawebparts.servlet for example, it's usually pretty obvious where things will be found (and the descri

Re: AW: Ajax xmlhttprequest

2007-04-13 Thread Pid
Richard Dunne wrote: If you take any .html file and rename it .php for instance, the file will change to the php icon. PHP is installed of course (I have PHP5) It renders exactly the same as an html page does. Once the file is within your context folder, it will be listed in the context dir

Re: Java Web Parts v1.1 Beta 1 released

2007-04-13 Thread Anoop kumar V
hey - Where would I find pertinent information about the project. I mean suppose I want to look up what all types of filters are available for reuse, where is that infromations. Thanks, Anoop On 4/8/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Hey everyone... just a quick weekend note to t

Re: AW: Ajax xmlhttprequest

2007-04-13 Thread Richard Dunne
If you take any .html file and rename it .php for instance, the file will change to the php icon. PHP is installed of course (I have PHP5) It renders exactly the same as an html page does. Once the file is within your context folder, it will be listed in the context dir in localhost under tha

HTTPS service

2007-04-13 Thread Jayson Enriquez
Hi all ~ When restarting Tomcat Services (due to increasing memory); our HTTPS site gives a 404 error (Page cannot be displayed). The HTTP site is just fine. After restarting the service the second time, HTTPS is back up and running.Has anybody experienced or have heard of this issue before

Re: AW: Ajax xmlhttprequest

2007-04-13 Thread Pid
I'm going to ask a potentially stupid question here: how have you configured / are you running PHP code on Tomcat? Have you called the PHP file directly to see what output it generates? p Konstantin Breu wrote: You can try to use a tool like fiddler, to see better what happens at the reque

Re: jakarta connection

2007-04-13 Thread Martin Gainty
error 61 is no Data I would suggest looking at all your forms and setup default values (numeric for numeric data fields, alphanumeric for alphanumeric fields) for each field M-- This email message and any files transmitted with it contain confidential information intended only for the person(s

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Martin Gainty
I have to inquire why you are performing init() operations in the constructor? Did you move your operations from the constructor to a separate init() as earlier suggested? Also.. ensure your startup initialisation file 'pam.properties' is located in the same folder as your Pam class (or optional

jakarta connection

2007-04-13 Thread Cesare Vairetti
Hi everybody, I have a web site running IIS6 and a Jakarta connector to link a section of our web site to an internal tomcat 5.5 server. On our web site we use an applet java program that use a servlet running on tomcat to make some query. For a while the applet running good, then the log of the

RE: Question on setting up LDAP...

2007-04-13 Thread Smith, Corey
Here is my realm I am using in my server.xml file and the web apps xml file Corey R. Smith Information Systems System Analyst/Programmer EMH Regional Healthcare System Office: (440) 326-5228 Pager: (440) 758-6541 Cell:(440) 315-4812 Fax:(440) 329-7792 Visit our web site

RE: unecessary JAR files

2007-04-13 Thread Peter Crowther
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] > On 4/12/07, Kevin Gutch <[EMAIL PROTECTED]> wrote: > > Do unnecessary jar files affect performance of an application? > > Only if the classes in the JAR files are called, but then that > wouldn't make the JAR file unnecessary :-) . There are a cou

AW: Ajax xmlhttprequest

2007-04-13 Thread Konstantin Breu
You can try to use a tool like fiddler, to see better what happens at the requests. Have you tried to change the xmlhttprequest call so that it requests a static html file from tomcat? Does that work? Which progid do you use to instantiate the xmlhttprequest object (if you instantiate it via new Ac

Re: Tomcat 6.0.x & OpenEJB

2007-04-13 Thread Peter Rossbach
HI David, I think the tomcat 6 basic classloader layout has not changed. Look at Bootstrap.java: private void initClassLoaders() { try { commonLoader = createClassLoader("common", null); if( commonLoader == null ) { // no config file, default t

Re: Ajax xmlhttprequest

2007-04-13 Thread Richard Dunne
My php webpage renders just like an html page on localhost:8080, but when I run an xmlhttprequest against the tomcat (jakarta) server from within the webpage, the request shows a readystate of 1, and thats as far as it gets. The request goes throught the reaystates 1-4 and status 200 in winodws

Re: Ajax xmlhttprequest

2007-04-13 Thread Richard Dunne
Not familiar with xxx.so. file.php is within my context. Richard - Original Message From: dimitryous r. <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Friday, April 13, 2007 11:34:00 AM Subject: Re: Ajax xmlhttprequest Hi, I can't give you a response. But would

Re: Ajax xmlhttprequest

2007-04-13 Thread Johnny Kewl
OK... more than a little confused I think you saying when you run it against Apache Server... it works But when you run the script again tomcat it doesnt... Show us the Script in the web page and show us the Servlet or JSP in tomcat You can also show us the php if u want... Then we can

Re: nsapi_redirector.so

2007-04-13 Thread Rajiv M
Cheers! - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ajax xmlhttprequest

2007-04-13 Thread dimitryous r.
Hi, I can't give you a response. But would like to know how you manage to be able to get a index.php (for example) page out of your Apache Tomcat server. Sould I recompile the whole stuff? Should I add some xxx.so file to my Apache config? TIA dimitryous. On 8 avr. 07, at 14:55, Richard

Re: nsapi_redirector.so

2007-04-13 Thread Rainer Jung
You will definitely have to read a bit about standard configuration of Sun Web Server. The web server docs will tell you, that the order of NameTrans directives is relevant. I expect the file system rule comes first in your config, before the jk NameTrans. If you want to debug such issues: w