SocketException: Invalid argument

2005-10-11 Thread Luis Torres

Hello everyone,

I have a question regarding an error I'm seeing more every day in my 
catalina.out


11/10/2005 12:08:34 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
GRAVE: Remote Host /10.49.156.64 SocketException: Invalid argument

It happens with diverse IP addresses, both inside our NAT and outside of 
it. The server is not behind a firewall and has a public IP address.


The setup is: Tomcat 4.131, default ports, JDK 1.5.0 update 2, Solaris 9

There's only one application on that server and it hasn't been modified 
in some weeks and looking in the web I found ppl with the same problem 
but so far no solutions.


Any ideas?

Luis

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



Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Luis Torres

Hello,

Im running Tomcat 4.01, 4.03, 4.131, 5.5.4 and 5.5.9 on Solaris 8/9 and 
also in AIX 4.3 with no problems at all.


The OS takes care of passing the processing to a particular CPU.

Regards,

Luis

Andrew Miehs wrote:


Hi Asha,

Asha Nallana wrote:


We are using Tomcat4.1.18, JDK1.4.2, Apache1.3 and mod_jk2.



And somewhere you mentioned Redhat 7.3. Isn't that VERY old?

can you provide the output of

uname -a
ps auxw
netstat -anp

and probably server.xml

Does this setup work? Did it ever work? or are you trying to get it to 
work for the first time?


I would seriously suggest though, that you get someone in to help you 
look at this problem,
as it sounds like you may require quite a bit of help to get it up and 
running - (probably about

3 weeks of using this mailing list)

Regards

Andrew

-
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: R: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Luis Torres

Or just try:

tar xvf filename.tar

without the -

Luis

Ron Price wrote:


Try running this command:

[EMAIL PROTECTED] local]# md5sum jakarta-tomcat-5.5.9.tar.gz
35ea177af353446af1de3c762a4f0f4d jakarta-tomcat-5.5.9.tar.gz
^
|---you should get this big string here, if it doesn't match then it was
corrupted in the download if your number matches mine you have something
else going on...

;-)


On 9/8/05, Liz Donaldson [EMAIL PROTECTED] wrote:
 


You must use the gnu version of tar ...


Hari Mailvaganam wrote:

   


There could be a corruption during the download - try to download from
another mirror.

regards,

Hari

On 9/8/05, Ratti Michele [EMAIL PROTECTED] wrote:


 


Thank you, Ben.
I tried but I get the same error.
:|



Da: Ben Souther [mailto:[EMAIL PROTECTED]
Inviato: gio 08/09/2005 20.29
A: Tomcat Users List
Oggetto: Re: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz



I just downloaded and tried with:
tar -zxvf jakarta-tomcat-5.5.9.tar.gz
on FC2

Try downloading it again


On Thu, 2005-09-08 at 14:14, Ratti Michele wrote:


   


Good morning everybody!

I'd like to use Tomcat so I download this file
jakarta-tomcat-5.5.9.tar.gz
But I'm not able to uncompress it.
On Linux I have this error: tar: A lone zero block at 25257
On Solaris I have this error: tar: Directory checksum error

Can someone help me?
I need this file. It's quiet urgent.
Thank you very much.

Michele


 


--
Ben Souther
F.W. Davison  Co.

CONFIDENTIALITY NOTICE:

This e-mail message, and any accompanying documents, is for the sole use
of
the intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure, distribution or
copying is prohibited. If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.





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


   



 



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



Re: Multiple IP addresses

2005-09-03 Thread Luis Torres
If you are using a security certificate it willl certainly complain if 
the IP or hostname of the server is changed.


Regards,

Luis

Fadil wrote:


this is a good idea, and I try these multiples, I get two IP, like this :
   



 


IPA:80 = IPServer:80 (IIS server)
IPB:80 = IPServer:8443(Tomcat Server but SSL port)
   



 


So I tried to setup tomcat, by add IPB in all connector and in host.
   



I changed config in server.xml by adding IPServer and not the IPB, it stay 
to me only (I think a keystore pb) :


GRAVE: Erreur au dÚmarrage du point de contact
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:765)
at java.security.KeyStore.load(KeyStore.java:652)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(
JSSESocketFactory.java:278)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(
JSSESocketFactory.java:220)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(
JSSE14SocketFactory.java:143)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(
JSSE14SocketFactory.java:109)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(
JSSESocketFactory.java:98)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(
PoolTcpEndpoint.java:261)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(
PoolTcpEndpoint.java:281)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1527)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
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:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start
GRAVE: Catalina.start:
LifecycleException: Le dÚmarrage du gestionnaire de protocole a ÚchouÚ: 
java.io.IOException: Keystore was tampered with, or password was incorrect

at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1529)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
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:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start

What password expect tomcat if we don't specify it in server.xml ?

 



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



Re: Hi...

2005-08-03 Thread Luis Torres

gzip -d jakarta-tomcat-5.5.9.tar.gz | tar -xf

Just guessing but worth a shot

Luis

Markus Schönhaber wrote:


Am Mittwoch, 3. August 2005 17:39 schrieb Tom Spence:
 


Hello I am rookie...

I plan to download the source but it can't open by using tar command while
I am using AIX 5.2.  Should I download binary file?

I apprecaite your help...
   



If you can't unpack the source you'll might get the same problem with the 
binaries, I guess.

Don't know anything about AIX but i think
gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x
should be worth a try.

Regards
 mks

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



mod_jk or jk2??

2005-08-03 Thread Luis Torres

Hello everyone,

I see lots of posts saying that they are using or implementing jk2? For 
what I understand, that has been replaced by mod_jk... so which one is 
better or what is recommended??


I also have found better documentation related to jk2 so that adds to 
the puzzle.


Regards,

Luis

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



Re: Having problem posting to the group

2005-08-01 Thread Luis Torres

I have that same problem since 2 weeks or so.

I did see your post about WARs not being unpacked though  =)

Adios

Luis

Spammed TooMuch wrote:


Hi Ike,

I've been having the same problem since Friday. But, I
did get your post. So it appears to be going out to
the list, it is just also giving you the error. 


Which means maybe my posts worked as well -- did you
see one titled WARs not being unpacked in Embedded
Tomat?. Perhaps it was sent to the list. Since no one
responded and I got the same error email you did, I
didn't think it was posted.

cheers,
Chuck

--- Ikonne, Ike [EMAIL PROTECTED] wrote:

 


Hi all,

Could anyone explain to me why I can't post to
[EMAIL PROTECTED]

I get the following error message when I make a post
to the group:


Unable to deliver message to the following
address(es)
tomcat-user@jakarta.apache.org.
Remote host said: 554 delivery error: This user
doesn't have an ac


I know that I subscribe to the group and I do
receive postings from the 
members of the group.


Thanks,

Ike



   


-
 


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


   







Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 



-
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: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Luis Torres

Sounds like something that can be done with frames or iframes

Regards,

Luis

Rob Hunt wrote:


Yes, I know you can make many mappings to a given servlet/jsp, but that's not 
what I'm asking for.

When an HTTP client requests /playoffs/gameScores.htm, I'm hoping there's some 
slight-of-hand trick/feature that will cause Tomcat to serve 
/teams/gameScores.htm WITHOUT a redirect so that it appears to the client that 
they're getting /playoffs/gameScores.htm.
 



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



mod_jk + CPU load

2005-07-18 Thread Luis Torres

Hello everyone,

I'm using Apache 2.043 + mod_jk 1.2.6 + Tomcat 4.03 (x2) + JDK 1.4.0 on 
Solaris 9


As load increases one of the tomcat instances takes up about 35% of CPU 
while the apache process takes another 30%. Tomcat Standalone didnt 
present this problem and it stayed always at 5% maximum. When load 
decreases the CPU usage is still there and doesnt go away until I 
restart apache.


If i look into mod_jk.log I can see about 10 errors per hour like the 
following:
[Thu Jul 14 20:50:22 2005]  [jk_ajp_common.c (1146)]: ERROR sending data 
to client. Connection aborted or network problems
[Thu Jul 14 20:50:22 2005]  [jk_ajp_common.c (1462)]: ERROR: Client 
connection aborted or network problems


My setup is exactly the same as described in the guide by Pascal Forget: 
http://raibledesigns.com/tomcat/


I had to go back to tomcat standalone because after about 3 hours of 
being in that state tomcat just stops servicing requests, but I would 
like to find the cause of it.


The closest thing related to this is this bug in apache which wasn't 
after all:

http://issues.apache.org/bugzilla/show_bug.cgi?id=27757

Hope someone can shed some light on this.

Luis


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



Re: File Download dialog launched errantly

2005-07-11 Thread Luis Torres

Hi,

Actually that sounds right. You can't display WML data in a standard 
browser and that's why you get the download dialog.


To see that type of content you can test using a WAP browser like winwap 
(not free but you get a trial) or an online WAP emulator such as 
wapsilon http://www.wapsilon.com.


If it displays ok in one of those two then you are on the right track  :)

Hasta luego.

Luis

Kirby, Stephen (Civ, ARL/CISD) wrote:


Hi,

I am using a WML file as my welcome-file.  When I try to launch the web
page I'm getting a File Download dialog for some reason.  (it's
tomcat-5.5.9 and it shows tomcat works fine when I leave the welcome
file as index.jsp)

The web.xml already had the MIME mapping for wml extension files so I
don't think that's the problem. 
(from web.xml)

mime-mapping
   !-- WML Source --
   extensionwml/extension
   mime-typetext/vnd.wap.wml/mime-type
   /mime-mapping 


I've triple-checked the wml file and can't see anything wrong:

?xml version=1.0?
!DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN
http://www.wapforum.org/DTD/wml_1.1.xml;
wml
card id=myFirstCard title=First Card
 p align=center
  Hi there..
 /p
/card
/wml

I've seen mention of a http.conf file -- is that relevant to jakarta
tomcat; if so what line is added to recognize wml?

TIA
-Steve

 



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



Re: newbie can't start tomcat

2005-07-08 Thread Luis Torres
It may not be the best solution because you may have a special 
attachment to Java 1.4 but since you are running Solaris you can install 
JDK 1.5 anywhere (even /export/home) without it colliding with the 
overall SO Java installation.


So why not use JDK 1.5, set your JAVA_HOME to your new Java directory 
and enjoy the weekend?


I have Tomcat 5.5.4 running with JDK 1.5.02 on Solaris 9 and it worked 
basically out of the box doing nothing more than setting JAVA_HOME  
CATALINA_HOME   =)


---
Luis

dsimmons wrote:


I have been googling the archives and anyplace else I can think of for
my particular problem, for about three days, without success.

ANY help would be greatly appreciated.

I suspect a simple path problem or a missing component, but honestly
I've been through about a half-dozen install/troubleshoot tomcat
checklists without finding it.

I have placed as much diagnostic information as I could think of at:
http://www.lib.siu.edu/dsimmons

Thanks,
Doug Simmons
SIUC

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



Mapping everything to Tomcat? (mod_jk)

2005-07-07 Thread Luis Torres

Hello Everyone, first post to the list  =)

I have a test setup with Solaris 9, Apache 2.043, mod_jk and two tomcats 
(4.131  JDK 1.5.0)


To have the Tomcats handling the applications, first I used the 
following lines but the problem was that my jsp's where taken by tomcat 
but my images, css and other elements where served by apache, hence my 
images, styles, etc where not found by the server since they are all 
inside /webapps/app_name/images

---
Lines of httpd.conf:
JkMount /*.jsp loadbalancer
JkMount /servlet/* loadbalancer

Also, servlets never worked using this directives.

To solve this, probably in not the best manner I just passed everything 
to tomcat using (in httpd.conf):

JkMount /* loadbalancer

This worked without a glitch altough I havent done extensive testing.

So the question is... what is the best way to achieve this?? And, How 
bad can things get if I leave it like that. The server is meant to be 
used only as an apps server and not a normal web server so I'm using 
apache strictly as a front end for load balancing and all the things you 
get with mod_jk


Thanks,

Luis

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



Tomcat manager using mod_jk?

2005-07-07 Thread Luis Torres

Hello again,

Same setup: Solaris 9, Apache 2.043, mod_jk and two tomcats (4.131  JDK 
1.5.0)


Any of you guys know if there's a way to access the tomcat manager 
application or something similar when using mod_jk??


Right now the only way I have found is to leave tomcat accepting 
requests directly and calling http://server_name:port/manager/ for each 
tomcat.


Any ideas about this or about other aplication to monitor activity in 
mod_jk?


Any help is appreciated,

Luis

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