jakarta-tomcat-4.1.31, takes unusual load about 20-90% while sleeping.

2006-01-04 Thread Muhammad Islam
Hi,

Environment: Redhat Linux 2.4

Tomcat does not clean up the sleeping clild process, moreover it consumes
unusual load for the sleeping process.

I really appreciate any help regarding this.

Regards,
shagor

**


unable to load classes

2006-01-04 Thread Nehal Sangoi

Hi,

I have 2 of my application specific jarfiles which need to be used by all
other applications too in tomcat 5.5.9 on linux. Hence, i am placing both
the jarfiles into common/lib of tomcat binary and linking them into
shared/lib of application which use them.

But, unfortunately, i get Null Pointer Exception. And my jarfiles or say
classes are not getting loaded.

If i put those jarfiles into application's WEB-INF/lib, it works fine.

One of my jar contains servlet API in it.

What could be the possible reason of failing the class loading from
common/lib path?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: hex dump

2006-01-04 Thread Bill Barker

"feghoul mohamed" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> hello everybody
>
> i am seeing the following in my catalina.out log file.
>
> 12 34 00 1d 00 1b 49 44 3d 52 50 36 31 39 31 32  |
> .4ID=RP61912
> 26 63 6f 72 70 73 3d 73 61 69 73 69 65 2e 6a 73  |
> &corps=saisie.js
> 70
>
> My environment is Solaris, Apache2.0.50, Tomcat
> 4.1.30, mod_jk .
>
> i want to disable the hex dump to the file...some
> security informations ( password for example) are
> displayed !!
>

Can't be done on 4.1.30.  Well, you could grab the tomcat-ajp.jar from a 
recent 5.5 release and replace the corresponding jar in 4.1.30 (probably 
called tomcat-jk or something).  You might need to replace tomcat-coyote.jar 
as well (I don't remember).  Then you shouldn't see the messages unless 
you've enabled DEBUG logging level.  All Tomcat versions use the same 
Connector code, so this kind of partial-upgrade should work.  However, 
pretty much nobody wants to run a hybrid Tomcat version ;-).

> Does anyone have any ideas on why this following
> comes in the logs?
>

There should be a logging message just before the dump that explains why 
Tomcat isn't happy.  Depending on how you've setup logging, it possible that 
it's in another log file.

What it is, is that Tomcat is dumping the Request data it received when it 
encounters what it thinks is a serious error (so that the Tomcat developers 
can see what went wrong from the bug report :).  In TC 5.5 (and possible in 
TC 5.0) it requires DEBUG log level to see it.  This will also be true in TC 
4.1.32 and TC 3.3.3 if they ever see the light of day ;-).

>
> cheers.
> mfeghoul.
>
>
>
> __
> Yahoo! DSL - Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



hello

2006-01-04 Thread remm
The message cannot be represented in 7-bit ASCII encoding and has been sent as 
a binary attachment.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat connection prob.

2006-01-04 Thread Brian Shacklett
Just a thought... do you have any software firewalls on your machine? 
Norton Internet Security, Mcaffee Personal Firewall and others can cause 
a lot of headaches when it comes to networking.


issac young wrote:

Hi *Caldarale*

Sorry for the lack of information in my post ... actually this is the first
time i use this mail list ...

so my OS is win xp + sp2 and i have disabled the firewall i am not hosting
anything right now, juz using the default tomcat web application (there is a
testing one inside i believe)... so ... the problem is that i can only
access my tomcat using 127.0.0.1 on my server ... now the localhost is also
ok ...

the problem now is .. how can i expose my tomcat server to other PCs in my
network ??? ie use other pc to access the server ...


Thx in advance


Regards


issac


On 1/4/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
  

From: issac young [mailto:[EMAIL PROTECTED]
Subject: tomcat connection prob.
  
lt only works fine for address 127.0.0.1 not even for localhost and

other pcs in the same network can't access the tomcat either ...
  

You didn't bother to tell us what OS you're running on, whether you have
a hosts file, a firewall, other network configuration strangeness, or
even the actual error you're getting...

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.5.9 on Win2003 crashes as service but runs from startup.bat

2006-01-04 Thread Roger Alix-Gaudreau
Hi everyone,
 
I've encountered a problem while installing Tomcat and deploying my
company's JSF application, and I'm hoping someone can help point me
toward a solution, as I've not had much luck digging through Google thus
far.
 
I'm using Tomcat 5.5.9 and Java 1.5.0_02.  Until today, we've been
starting and stopping Tomcat manually, using startup.bat and
shutdown.bat, and everything works as expected in both my Windows 2000
SP4 development environment and our Windows 2003 Enterprise Edition SP1
services/test environment.  The only modification to server.xml is to
include a Realm element for my database, to log the credentials and
other necessary data for container-managed security.
 
Today, I used service.bat (included in Tomcat\bin) to install Tomcat as
a service, so that manual startup and shutdown would not be necessary.
I made one change to service.bat - I had to add a jar file to the
PR_CLASSPATH variable so that the installed service would have access to
a class that is normally identified in the CLASSPATH environment
variable.  In all other respects, service.bat is the same as was
packaged in the original Tomcat 5.5.9 zip.
 
When I install Tomcat as a service on my Windows 2000 SP4 machine, the
service starts up and I'm able to load the Tomcat page, load my
application and work as expected.  When I install Tomcat as a server on
my Windows 2003 SP1 machine, however, the service terminates
unexpectedly within a few moments.
 
The Event Viewer shows an event ID of 7034.  Running "sc query Tomcat5"
to get more details shows me a WIN32_EXIT_CODE of 1067, which translates
to "The service terminated unexpectedly" in the Windows SDK docs.
Looking in the Tomcat logs, I find the following error message related
to initializing the JVM:
JVMPI not supported with this garbage collector; please
refer to the GC/JVMPI documentation
 
I'm using whatever garbage collector settings are default for the
1.5.0_02 JVM, so I'm at a loss to explain why it works on one machine
but not the other, unless it's got something to do with an operating
system incompatibility.
 
Has anyone else seen this problem?  If so, is there a solution?  Am I
required to upgrade Java or Tomcat?
 
Thanks in advance for any help and advice you might be able to offer.
 
__
Roger Alix-Gaudreau  |  Senior Analyst, RFID Development
Manhattan Associates, Inc.
Phone: +1 678-597-6881
Cell: +1 401-368-9980
mailto:[EMAIL PROTECTED]  
http://www.manh.com  
 
MOMENTUM 2006
Supply Chain Know How. Right Now.
 
Want to make your supply chain better... and your job easier?
Join us for Momentum 2006, May 21-24, in Orlando, Florida. Visit
www.manh-momentum.com http://www.manh-momentum.com/>  today
and register early for best rates.
 


RE: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-04 Thread Caldarale, Charles R
> From: Gary Blomquist [mailto:[EMAIL PROTECTED] 
> Subject: RE: Cannot create JDBC driver of class '' for 
> connect URL 'null' Exception Help
> 
> I took the following from the server.xml in 5.0.28 (that was working)
> and pasted it in the 5.5.x server.xml and I get the "Cannot create
JDBC 
> driver" error.
> 
> Is there a change re: deployment between Tomcat 5.0.x and 
> Tomcat 5.5.x?

RTFM.  The ResourceParameter element is no longer used in 5.5.  The
following is taken from:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

"You MUST also define the needed resource parameters as attributes of
the Resource element..."

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-04 Thread Gary Blomquist

I am also getting this error in 5.5.9 and 5.5.12.  I have the mysql
driver in  $CATALINA_HOME/common/lib.  My application was working in
5.0.28.

I took the following from the server.xml in 5.0.28 (that was working)
and pasted it 
in the 5.5.x server.xml and I get the "Cannot create JDBC driver" error.

   

  



  
factory
 
org.apache.commons.dbcp.BasicDataSourceFactory
  
  maxActive10
  maxWait500
 
usernameroot
 
passwordroot
  
driverClassName
com.mysql.jdbc.Driver
  
  
url
jdbc:mysql://localhost/hello
  



I have Hello2.war in the webapps directory.

Is there a change re: deployment between Tomcat 5.0.x and Tomcat 5.5.x?

Thanks,

Gary

-Original Message-
From: Eric Munson [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 02, 2006 6:44 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Cannot create JDBC driver of class '' for connect URL
'null' Exception Help

I found the error, there was a misspelling of the Context object in one
of the context.xml files.  When it was corrected everything worked.
Thanks for all of your help.

Thanks,
Eric

On 1/2/06, Eric Munson <[EMAIL PROTECTED]> wrote:
> Thanks for your reply, but I have already moved the proper driver into

> the $CATALINA_HOME/common/lib.  Is there anything else that would 
> cause this behavior?
>
> Thanks,
> Eric
> On 1/2/06, Roberto Rios <[EMAIL PROTECTED]> wrote:
> > Copy your jdbc driver into [tomcat]/common/lib
> >
> > 
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



trimSpaces in 5.5.15

2006-01-04 Thread Dennis
I upgraded from 5.5.12 to 5.5.15 and notices that the trimSpaces setting
in tomcat's web.xml is not functioning the same.  We have a few jsp tags
(written as tag files in the /WEB-INF/tags directory).

Code (a javascript generated by jsp ):

var someArray = [ 'a', 'b', '' ];

Old output:

var someArray = [ 'a', 'b', 'something' ];

New output:

var someArray = [ 'a', 'b', '










something' ];

That won't work for us unfortunately.

Is this a bug perhaps?  I searched around for docs or changes with the
trimSpaces setting and didn't find anything to indicate that it
shouldn't work as it always has.

Thoughts?

Thanks
Dennis

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



apr port + tomcat

2006-01-04 Thread Fenlason, Josh
Title: Message



I'm running into a 
problem with Tomcat 5.5.12 and tomcat-native-1.1.0.  I get 
the exception below when I try to restart Tomcat after it has served 
dynamic content for Apache.  If I stop both Apache and Tomcat and wait 
a while and restart them, they startup fine.  This seems very similar to 
another recent post on this list, http://www.mail-archive.com/users@tomcat.apache.org/msg03327.html.  
I'm just calling 
/bin/shutdown.sh to stop Tomcat 
and I don't see any errors during shutdown.  Am I doing something wrong on 
shutdown?  Or is there a bug in the shutdown process?  I've only 
noticed this on Solaris and not on Linux and Windows.  I don't experience 
this problem when I run Tomcat without the native connector.  I've attached 
the complete catalina.out in case that's helpful.  Thanks in 
advance.
,
Josh.
 
Jan 4, 2006 8:33:30 
AM org.apache.coyote.http11.Http11AprProtocol initSEVERE: Error initializing 
endpointjava.lang.Exception: Socket bind failed: 
125    at 
org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:544)    
at 
org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:115)    
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1016)    
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:580)    
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:762)    
at 
org.apache.catalina.startup.Catalina.load(Catalina.java:488)    
at 
org.apache.catalina.startup.Catalina.load(Catalina.java:508)    
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    
at 
java.lang.reflect.Method.invoke(Method.java:585)    
at 
org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)    
at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: DeltaManager and useDirtyFlag

2006-01-04 Thread Peter Rossbach

It is only usefull for SimpleTcpReplicationManager. The DeltaManager
can detect the change attribute and replicate only this part of the  
session.


Peter

Am 04.01.2006 um 20:18 schrieb Dennis:


The clustering documentation says that the useDirtyFlag can be used to
configure the number of session replications.  If I remember  
correctly,

this is only true for the SimpleTcpReplicationManager.  I did a quick
search through the DeltaManager code and verified that the  
useDirtyFlag

is indeed not being used (5.5.15)

My question then:
 Is the useDirtyFlag obsolete with DeltaManager?
 e.g.  Is this session replicated with DeltaManager?

Hashtable map = (Hashtable)session.getAttribute ( "map" );
map.put ( "something", "val" );


Last time I visited this issue (5.5.9 or so), The DeltaManager did not
work in the above case and I had to switch to
SimpleTcpReplicationManager and set useDirtyFlag to false.  If that is
still the case, it seems strange that the sample server.xml with the
download still has this...

==SNIP==
 
==SNIP==

Thoughts?

-Dennis


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



custom configuration file overwriting

2006-01-04 Thread Reed, Mark \(MREED\)
We are placing some configuration files in our war file.
Once the app is deployed and we want to update it, we don't want to overwrite 
certain config files that may have been customized, but we do want to maintain 
the default config files in the war for initial deployments.
 
We have thought of a couple of ways to accomplish this such as implementing a 
Lifecycle Listener to perform the copy/deploy/copy back operation of these 
files.
 
Is there a more eloquent way to accomplish this that anyone has implemented.
 
Regards MRR


DeltaManager and useDirtyFlag

2006-01-04 Thread Dennis
The clustering documentation says that the useDirtyFlag can be used to
configure the number of session replications.  If I remember correctly,
this is only true for the SimpleTcpReplicationManager.  I did a quick
search through the DeltaManager code and verified that the useDirtyFlag
is indeed not being used (5.5.15)

My question then:
 Is the useDirtyFlag obsolete with DeltaManager?
 e.g.  Is this session replicated with DeltaManager?
   
Hashtable map = (Hashtable)session.getAttribute ( "map" );
map.put ( "something", "val" );


Last time I visited this issue (5.5.9 or so), The DeltaManager did not
work in the above case and I had to switch to
SimpleTcpReplicationManager and set useDirtyFlag to false.  If that is
still the case, it seems strange that the sample server.xml with the
download still has this...

==SNIP==
 
==SNIP==

Thoughts?

-Dennis


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where can I get JspC / Jasper2 argument overview?

2006-01-04 Thread Tim Funk
See all the set methods in 
http://tomcat.apache.org/tomcat-5.5-doc/jasper/docs/api/org/apache/jasper/JspC.html


Typically I use the  ant delete task after the compilation is done. I also 
exclude index.jsp so welcome file mappings work OK.



   
  
  
   



-Tim

Charl Gerber wrote:

All the examples only show a set few, but where can I
get a complete list of all the possible options and
arguments I can set?

I particularly want to remove source jsp files from a
war if they have been compiled.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Where can I get JspC / Jasper2 argument overview?

2006-01-04 Thread Charl Gerber
All the examples only show a set few, but where can I
get a complete list of all the possible options and
arguments I can set?

I particularly want to remove source jsp files from a
war if they have been compiled.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with Tomcat deployer

2006-01-04 Thread Charl Gerber
Seems my problem was due to a bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38046


--- Charl Gerber <[EMAIL PROTECTED]> wrote:

> > I'm curious: which one is the "correct" deployer
> > tool?
> 
> The binary distributed as the deployer for Tomcat
> 5.5.12. They specificly say that you have to update
> the deployer when you update Tomcat.
> 
> Here's the exact error message:
> 
> [jasper2] java.lang.IllegalStateException: No Java
> compiler available
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with Tomcat deployer

2006-01-04 Thread Charl Gerber
> I'm curious: which one is the "correct" deployer
> tool?

The binary distributed as the deployer for Tomcat
5.5.12. They specificly say that you have to update
the deployer when you update Tomcat.

Here's the exact error message:

[jasper2] java.lang.IllegalStateException: No Java
compiler available


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Configuration Question

2006-01-04 Thread Hassan Schroeder
Scott Purcell wrote:

> So when a user hits my site like so: http://www.xxx.com
> it calls the site and all is good. But here is my problem. On some
> search engines for whatever reason, the url shows this:
> http://xxx.com leaving out the www. It still brings open the site,
> but there is a problem. My site runs all https, and when I registered
> my ssl certificate, it is under the http://www.xxx.com. And when the
> user hits the site without the 'www' it brings up a invalid
> certificate. It shows the lock, but it says it is not certified by
> verisign.
> 
> Any ideas why this is occuring, and any ideas to redirect the bad url
> to the good one?

My configuration is the opposite -- the cert is for "example.com",
not "www.example.com". But I use a Filter to redirect any requests
for the "wrong" address to the preferred one.

HTH!
-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Configuration Question

2006-01-04 Thread David Delbecq
Le Mercredi 4 Janvier 2006 15:10, Scott Purcell a écrit :
> I am running Tomcat 5.5x on a Win2000 box.
> 
> I purchased a DNS name, and I have that configurated in the server.xml. So 
when a user hits my site like so: http://www.xxx.com it calls the site and 
all is good. But here is my problem. On some search engines for whatever 
reason, the url shows this: http://xxx.com leaving out the www. It still 
brings open the site, but there is a problem. My site runs all https, and 
when I registered my ssl certificate, it is under the http://www.xxx.com. And 
when the user hits the site without the 'www' it brings up a invalid 
certificate. It shows the lock, but it says it is not certified by verisign.
> 
> Any ideas why this is occuring, and any ideas to redirect the bad url to the 
good one?
> 
Adult sites run on tomcat now? :p

It is possible the search bots were misled by some header found in your 
response. Is you tomcat service configured for www.xxx.com host or simply for 
anyhost (in which case it might add a content-location of xxx.com in response 
as it is tomcat's computer hostname).

Go to http://www.xxx.com/admin/, fill in username/password of admin and modify 
the default host to respond only to alias www.xxx.com

Of course, requests in the form http(s)://xxx.com will not be responded 
anymore. You could also, on a temporary basis, put a second Host entry for 
alias xxx.com which will send a 'moved permanently' response.


> Many thanks,
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Pingouins dans les champs, hiver méchant

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RESOLVED: tomcat sends certain files with missing chunks

2006-01-04 Thread Hasan, Nadeem
FYI, disabling apr (tomcat-native-1.1.0) fixed this problem for me.

-Original Message-
From: Hasan, Nadeem [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 04, 2006 9:10 AM
To: 'Tomcat Users List'; 'Martin Gainty'
Cc: '[EMAIL PROTECTED]'
Subject: RE: tomcat sends certain files with missing chunks


Hi Martin,

If you mean by trying to access them from same host, I have done that and got 
same results. Both dynamic and static pages show this behavior. Tomcat access 
log shows status code 200, with correct content length. So both in HTTP header 
and in the log it says it has sent all of the content, but in reality, the 
client side gets it with a hole in the middle.

Thanks a lot.

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 5:26 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: tomcat sends certain files with missing chunks


did you try to run one of the pages under localhost to see if the page would 
render?
what does your tomcat log say?
Martin-
- Original Message - 
From: "Hasan, Nadeem" <[EMAIL PROTECTED]>
To: 
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 03, 2006 4:50 PM
Subject: tomcat sends certain files with missing chunks


> Hi all,
> 
> I just upgraded our Tomcat installation on our dev box to 5.5.12 and I am 
> seeing very strange results. Certain files are sent by Tomcat with a large 
> hole in the middle. In the response header, it does report the size 
> (Content-Length) correctly, but when transferring the file itself, it skips a 
> portion somewhere in the middle. I am seeing this behaviour consistently with 
> at least 2 files. I have a packet dump of the whole transaction that I can 
> provide if needed.
> 
> Here is my environment:
> 
> OS: SUSE 9.3
> Tomcat: 5.5.12
> JRE: J2SE5 1.5.0_06
> 
> Let me know if any more information is required.
> 
> Thanks a lot.
> --
> Nadeem Hasan
> ATLAS - Equity IT
> 
> 
> ==
> Please access the attached hyperlink for an important electronic 
> communications disclaimer: 
> 
> http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
> 
> ==
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat sends certain files with missing chunks

2006-01-04 Thread Hasan, Nadeem
Hi Martin,

If you mean by trying to access them from same host, I have done that and got 
same results. Both dynamic and static pages show this behavior. Tomcat access 
log shows status code 200, with correct content length. So both in HTTP header 
and in the log it says it has sent all of the content, but in reality, the 
client side gets it with a hole in the middle.

Thanks a lot.

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 5:26 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: tomcat sends certain files with missing chunks


did you try to run one of the pages under localhost to see if the page would 
render?
what does your tomcat log say?
Martin-
- Original Message - 
From: "Hasan, Nadeem" <[EMAIL PROTECTED]>
To: 
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 03, 2006 4:50 PM
Subject: tomcat sends certain files with missing chunks


> Hi all,
> 
> I just upgraded our Tomcat installation on our dev box to 5.5.12 and I am 
> seeing very strange results. Certain files are sent by Tomcat with a large 
> hole in the middle. In the response header, it does report the size 
> (Content-Length) correctly, but when transferring the file itself, it skips a 
> portion somewhere in the middle. I am seeing this behaviour consistently with 
> at least 2 files. I have a packet dump of the whole transaction that I can 
> provide if needed.
> 
> Here is my environment:
> 
> OS: SUSE 9.3
> Tomcat: 5.5.12
> JRE: J2SE5 1.5.0_06
> 
> Let me know if any more information is required.
> 
> Thanks a lot.
> --
> Nadeem Hasan
> ATLAS - Equity IT
> 
> 
> ==
> Please access the attached hyperlink for an important electronic 
> communications disclaimer: 
> 
> http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
> 
> ==
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Configuration Question

2006-01-04 Thread Scott Purcell
I am running Tomcat 5.5x on a Win2000 box.

I purchased a DNS name, and I have that configurated in the server.xml. So when 
a user hits my site like so: http://www.xxx.com it calls the site and all is 
good. But here is my problem. On some search engines for whatever reason, the 
url shows this: http://xxx.com leaving out the www. It still brings open the 
site, but there is a problem. My site runs all https, and when I registered my 
ssl certificate, it is under the http://www.xxx.com. And when the user hits the 
site without the 'www' it brings up a invalid certificate. It shows the lock, 
but it says it is not certified by verisign.

Any ideas why this is occuring, and any ideas to redirect the bad url to the 
good one?

Many thanks,



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: correctly setting the java.library.path in tomcat under windows

2006-01-04 Thread Richard Toren

 Caldarale, Charles R wrote:

From: Richard Toren [mailto:[EMAIL PROTECTED] 
Subject: Specifying java.library.path using Tomcat 5.5 as a 
Windows Service


The question is how to do this when using 
Tomcat installed with the Windows installer?
   



Use the Java tab of bin\tomcat5w.exe to set properties when running as a
service.

Watch out for access permission problems, since processes running as a
service usually use a generic account, not the one you installed Tomcat
(or 3rd-party libraries) with.

- Chuck

 

I find it hard to believe that access permissions are involved as all 
the library files are in the same location.  Adding a java.library.path 
to the tomcat5w.exe
only directs the inital load to the proper location and then I get the 
error from my first message.


Richard

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with Tomcat deployer

2006-01-04 Thread Caldarale, Charles R
> From: Charl Gerber [mailto:[EMAIL PROTECTED] 
> Subject: Problem with Tomcat deployer
> 
> I'm using Tomcat 5.5.12 with the correct deployer tool.

I'm curious: which one is the "correct" deployer tool?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: hex dump

2006-01-04 Thread Caldarale, Charles R
> From: feghoul mohamed [mailto:[EMAIL PROTECTED] 
> Subject: RE: hex dump
> 
> i 've searched any "print" in the sources of the
> applications .. but no print..

Try looking for references to System.out or System.err as well.  You may
also need to examine any 3rd-party packages you're using in your
applications.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: hex dump

2006-01-04 Thread feghoul mohamed
thanks for your reply chuck

possibly that comes from the application but i don't
know where.

we 'got several wabapp applications deployed in the
same cntainer.
But we 'got this in only two webapp applications.

i 've searched any "print" in the sources of the
applications ..
but no print..

cheers
mfeghoul.


--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:

> > From: David Delbecq [mailto:[EMAIL PROTECTED] 
> > Subject: Re: hex dump
> > 
> > did you try with java.util.logging configuration?
> > See
> http://tomcat.apache.org/tomcat-5.5-doc/logging.html
> 
> The OP is using 4.1.30, so that info doesn't apply.
> 
> > Le Mercredi 4 Janvier 2006 13:56, feghoul mohamed
> a �crit :
> > > i want to disable the hex dump to the
> file...some
> > > security informations ( password for example)
> are
> > > displayed !!
> 
> I'm not aware of any hex dumps produced by Tomcat
> (although admittedly I'm not familiar with the
> version 4 levels); I suspect the output is coming
> from your application, not Tomcat itself.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
> OTHERWISE PROPRIETARY MATERIAL and is thus for use
> only by the intended recipient. If you received this
> in error, please contact the sender and delete the
> e-mail and its attachments from all computers.
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: hex dump

2006-01-04 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] 
> Subject: Re: hex dump
> 
> did you try with java.util.logging configuration?
> See http://tomcat.apache.org/tomcat-5.5-doc/logging.html

The OP is using 4.1.30, so that info doesn't apply.

> Le Mercredi 4 Janvier 2006 13:56, feghoul mohamed a écrit :
> > i want to disable the hex dump to the file...some
> > security informations ( password for example) are
> > displayed !!

I'm not aware of any hex dumps produced by Tomcat (although admittedly I'm not 
familiar with the version 4 levels); I suspect the output is coming from your 
application, not Tomcat itself.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 5.0.28 and 64 bit and Libc

2006-01-04 Thread Caldarale, Charles R
> From: Shawn Snodgrass [mailto:[EMAIL PROTECTED] 
> Subject: 5.0.28 and 64 bit and Libc
> 
> Having weird install problems need a quick sanity check, 
> version 5.0.28 will run on 64 bit architecture right?

The Tomcat download from tomcat.apache.org is pure Java and is therefore
platform and architecture independent.  (The APR module in recent 5.5
levels is platform-dependent, but that isn't present in 5.0.28.)  Make
sure you're using a GNU-compatible utility to untar the download.
You'll need a 64-bit JVM to have Tomcat actually use the extended
capabilities of your CPU.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: hex dump

2006-01-04 Thread David Delbecq
did you try with java.util.logging configuration?
See http://tomcat.apache.org/tomcat-5.5-doc/logging.html
Le Mercredi 4 Janvier 2006 13:56, feghoul mohamed a écrit :
> hello everybody
> 
> i am seeing the following in my catalina.out log file.
> 
> 12 34 00 1d 00 1b 49 44 3d 52 50 36 31 39 31 32  |
> .4ID=RP61912
> 26 63 6f 72 70 73 3d 73 61 69 73 69 65 2e 6a 73  |
> &corps=saisie.js
> 70   
> 
> My environment is Solaris, Apache2.0.50, Tomcat
> 4.1.30, mod_jk . 
> 
> i want to disable the hex dump to the file...some
> security informations ( password for example) are
> displayed !!
> 
> Does anyone have any ideas on why this following 
> comes in the logs?
> 
> 
> cheers.
> mfeghoul.
> 
> 
>   
> __ 
> Yahoo! DSL – Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Pingouins dans les champs, hiver méchant

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



hex dump

2006-01-04 Thread feghoul mohamed
hello everybody

i am seeing the following in my catalina.out log file.

12 34 00 1d 00 1b 49 44 3d 52 50 36 31 39 31 32  |
.4ID=RP61912
26 63 6f 72 70 73 3d 73 61 69 73 69 65 2e 6a 73  |
&corps=saisie.js
70   

My environment is Solaris, Apache2.0.50, Tomcat
4.1.30, mod_jk . 

i want to disable the hex dump to the file...some
security informations ( password for example) are
displayed !!

Does anyone have any ideas on why this following 
comes in the logs?


cheers.
mfeghoul.



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 5.0.28 and 64 bit and Libc

2006-01-04 Thread Peter Crowther
> From: Shawn Snodgrass [mailto:[EMAIL PROTECTED] 
> Having weird install problems need a quick sanity check, 
> version 5.0.28 will
> run on 64 bit architecture right?
> 
> Tomcat Version = 5.0.28
> 
> Architecture = AMD64
> 
> OS = Linux ES 3.0
> 
> Libraries = All 64 bit

What JVM are you using?

- Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



5.0.28 and 64 bit and Libc

2006-01-04 Thread Shawn Snodgrass
Having weird install problems need a quick sanity check, version 5.0.28 will
run on 64 bit architecture right?

Tomcat Version = 5.0.28

Architecture = AMD64

OS = Linux ES 3.0

Libraries = All 64 bit

Thanks in advance guys

--
Shawn Snodgrass
[EMAIL PROTECTED]


It seems this list has merge with maven-announce?

2006-01-04 Thread Ron Piterman

Thats new to me.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying war to ROOT

2006-01-04 Thread Bahadır Yağan

Bjørge Solli wrote:


If using linux or unix, you could try making ROOT a symlink.
  

Yes, symlink works. Either as ROOT/ or ROOT.war

Bahadir


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying war to ROOT

2006-01-04 Thread Bjørge Solli
On Tuesday 03 January 2006 20:24, Bahadir Yagan wrote:
> I will deploy my application to Tomcat 5.5, which will be the only
> application on that server. I want it to be deployet to root of the
> application server. Tomcat displays "webapps/ROOT" by default. My
> application works if I extract it to ROOT folder. Is it possible to
> deploy a WAR file that will be deployed to root of tomcat server.
> (accessed as http://localhost/)


If using linux or unix, you could try making ROOT a symlink.

-- 
Bjørge Solli - Office:+47 55205847 cellph.:+47 91614343
Nansen Environmental and Remote Sensing Center - Bergen, Norway
http://www.nersc.no Reception: +47 55205800
Dept.: Mohn-Sverdrup Center for Global Ocean Studies 
   and Operational Oceanography

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Top posting (was RE: question)

2006-01-04 Thread Bjørge Solli
On Tuesday 03 January 2006 22:31, George Sexton wrote:
> Since most people use threaded mail readers that go from oldest to newest,
> this isn't much of a problem for most people.
>
> You should look for a better mail reader.

I'm sorry. What was not a problem? My mailreader uses threads.

Ok, seriously, even though I am not active on this list I am on others. I 
seldom take the effort to answer people who top-post without giving me a clue 
to what they are answering. I do not have the time to go backwards in the 
thread to understand what it's all about, but I might have the time for a 
short answer. I think this list is so active that I am sertain others feel 
the same in here.

-- 
Bjørge Solli

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]