DO NOT REPLY [Bug 43327] Socket bind fails on tomcat startup when using apr

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43327





--- Comment #11 from Mark Thomas <[EMAIL PROTECTED]>  2008-06-03 00:06:13 PST 
---
David,
IPv6 is enabled. I was using tcnative 1.1.13. It might be worth testing with
that. Also, could you provide the contents of /etc/network/interfaces and the
connector elements of your server.xml. Finally, are you starting with jsvc?
Meanwhile, I'll double check I have IPv6 enabled.

Siegmund,
Where does jsvc fit into this? Are you saying you only see this issue when
starting via jsvc but not when starting from the scripts?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 43327] Socket bind fails on tomcat startup when using apr

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43327





--- Comment #12 from David Pashley <[EMAIL PROTECTED]>  2008-06-03 00:42:48 PST 
---
I did a diff from what is in tomcat6-6.0.16/bin/tcnative.tar.gz and
tcnative-1.1.13 and the only differences were svn commit info in the comments,
so there is no code difference what so ever.

I am running via jsvc:
root  3966  0.0  0.1   2056   364 ?Ss   May30   0:00 /usr/bin/jsvc
-user tomcat6 -cp
/usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar
-outfile /var/lib/tomcat6/logs/catalina.out -errfile
/usr/share/tomcat6/logs/catalina.err -pidfile /var/run/tomcat6.pid
-Djava.awt.headless=true -Xmx128M
-Djava.endorsed.dirs=/usr/share/tomcat6/common/endorsed
-Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6
-Djava.io.tmpdir=/var/lib/tomcat6/temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties
org.apache.catalina.startup.Bootstrap
tomcat6   3974  0.0 10.4 282728 27484 ?Sl   May30   2:40 /usr/bin/jsvc
-user tomcat6 -cp
/usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar
-outfile /var/lib/tomcat6/logs/catalina.out -errfile
/usr/share/tomcat6/logs/catalina.err -pidfile /var/run/tomcat6.pid
-Djava.awt.headless=true -Xmx128M
-Djava.endorsed.dirs=/usr/share/tomcat6/common/endorsed
-Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6
-Djava.io.tmpdir=/var/lib/tomcat6/temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties
org.apache.catalina.startup.Bootstrap


my interfaces file is:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
# post-up ethtool -K eth0 tx off

#
# The commented out line above will disable TCP checksumming which
# might resolve problems for some users.  It is disabled by default
#

results in:

1: lo:  mtu 16436 qdisc noqueue 
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host 
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast qlen 1000
link/ether aa:00:0a:00:02:3b brd ff:ff:ff:ff:ff:ff
inet 10.0.2.59/16 brd 10.0.255.255 scope global eth0
inet6 fe80::a800:aff:fe00:23b/64 scope link 
   valid_lft forever preferred_lft forever



My only enabled connectors are:







-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] New: JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120

   Summary: JVM crash
   Product: Tomcat 5
   Version: 5.0.28
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P3
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Tomcat JVM crashes with access violation error. I have attached hs_err*.log
files. Please can you assist?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



Fwd: Configuration Query

2008-06-03 Thread Quintin Beukes
Just a correction, I mentioned catalina.sh in my e-mail, it was meant
to be Catalina.java. I'm so used to typing catalina.sh that I didn't
even notice that as an error.


-- Forwarded message --
From: Quintin Beukes <[EMAIL PROTECTED]>
Date: Tue, Jun 3, 2008 at 3:58 PM
Subject: Configuration Query
To: dev@tomcat.apache.org


Hey,

I haven't been able to get an answer anywhere else, so this is my last
resort. This isn't related to development of tomcat itself for the
purpose of committing to the original project, but it's definitely
related to development off tomcat to customize it for our company.

I am trying to add more elements to the  element in
server.xml. They should go next to  elements (before/after
doesn't matter).

So far I have discovered that I can do it by extending RuleSetBase to
say MyRuleSet, and then adding it in Catalina.java like so:
digester.addRuleSet(new EngineRuleSet("Server/Service/"));
digester.addRuleSet(new MyRuleSet("Server/Service/Engine/")); // add this line
digester.addRuleSet(new HostRuleSet("Server/Service/Engine/"));
digester.addRuleSet(new ContextRuleSet("Server/Service/Engine/Host/"));

But is there any way I can do this in a "plugin" type of way.
Currently I am specifying my own  and  elements (just
extending the existing ones and overriding where necessary). These
classes I dump in a jar and put it inside $CATALINA_HOME/lib. Is there
any way I can do configuration customization using this method? I
don't want to extend the Tomcat source code, since I am not making a
new product and would still like to benefit from updates.

If not, wouldn't it perhaps be a good idea to support this? Maybe
alter the XML schema to support an 
or something? Then inside catalina.sh one adds rulesets that loads the
class in the className attribute as a ruleset, supplying as the prefix
the parent of the current  element.

--
Quintin Beukes



-- 
Quintin Beukes

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



Configuration Query

2008-06-03 Thread Quintin Beukes
Hey,

I haven't been able to get an answer anywhere else, so this is my last
resort. This isn't related to development of tomcat itself for the
purpose of committing to the original project, but it's definitely
related to development off tomcat to customize it for our company.

I am trying to add more elements to the  element in
server.xml. They should go next to  elements (before/after
doesn't matter).

So far I have discovered that I can do it by extending RuleSetBase to
say MyRuleSet, and then adding it in Catalina.java like so:
digester.addRuleSet(new EngineRuleSet("Server/Service/"));
digester.addRuleSet(new MyRuleSet("Server/Service/Engine/")); // add this line
digester.addRuleSet(new HostRuleSet("Server/Service/Engine/"));
digester.addRuleSet(new ContextRuleSet("Server/Service/Engine/Host/"));

But is there any way I can do this in a "plugin" type of way.
Currently I am specifying my own  and  elements (just
extending the existing ones and overriding where necessary). These
classes I dump in a jar and put it inside $CATALINA_HOME/lib. Is there
any way I can do configuration customization using this method? I
don't want to extend the Tomcat source code, since I am not making a
new product and would still like to benefit from updates.

If not, wouldn't it perhaps be a good idea to support this? Maybe
alter the XML schema to support an 
or something? Then inside catalina.sh one adds rulesets that loads the
class in the className attribute as a ruleset, supplying as the prefix
the parent of the current  element.

-- 
Quintin Beukes

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120


Ezhil <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120


Ezhil <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120





--- Comment #1 from Filip Hanik <[EMAIL PROTECTED]>  2008-06-03 08:58:18 PST ---
you haven't attached anything yet, there is no attachment here


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120





--- Comment #2 from Ezhil <[EMAIL PROTECTED]>  2008-06-03 09:02:20 PST ---
Created an attachment (id=22059)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22059)
hs err log file


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120





--- Comment #3 from Ezhil <[EMAIL PROTECTED]>  2008-06-03 09:02:47 PST ---
Created an attachment (id=22060)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22060)
hs err log file 2


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120





--- Comment #4 from Ezhil <[EMAIL PROTECTED]>  2008-06-03 09:03:05 PST ---
Created an attachment (id=22061)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22061)
hs err log file 3


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120





--- Comment #5 from Ezhil <[EMAIL PROTECTED]>  2008-06-03 09:05:17 PST ---
I have added the files. I suppose I added ZIP of those logs prior.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45120] JVM crash

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45120


Filip Hanik <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #6 from Filip Hanik <[EMAIL PROTECTED]>  2008-06-03 10:57:18 PST ---
This is a crash in the Documentum code, I've seen this alot with the documentum
DLL and is not related to tomcat.
I suggest talking to your vendor for support


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 43327] Socket bind fails on tomcat startup when using apr

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43327





--- Comment #13 from Siegmund Gorr <[EMAIL PROTECTED]>  2008-06-03 12:55:11 PST 
---
Update on JSVC and APR

Involving debugging I found that my problem with JSVC and APR could be drilled
down to SSL library access I did not found the reason why it hangs - may be the
privileges are not sufficient after switching from root to the www-user. After
a time period (on my three servers approx. 6 min. the startup suddenly
continues - like a timeout has been reached.

My problems could be resolved by deactivating ssl in the tomcat apr
configuration which might be a hint for other server operators as well. 
We are handling the ssl separat and do not pass the data via the Apache mod_jk
module to the AJP handler (which is been boosted by APR).
So configuration in httpd.conf is

JkOptions +ForwardkeySize +ForwardURICompat -ForwardDirectories
JkExtractSSL off
JkRequestLogFormat "%w %V %T"

And whithin server.xml


Sorry but I did not find the reason why this problems is not existing when we
start tomcat without jsvc.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45125] New: RemoveAbandonedTimeout jndi datasource documentation conflicts with information displayed in Manager

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45125

   Summary: RemoveAbandonedTimeout jndi datasource documentation
conflicts with information displayed in Manager
   Product: Tomcat 6
   Version: 6.0.14
  Platform: Macintosh
   URL: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-
examples-howto.html
OS/Version: Mac OS X 10.4
Status: NEW
  Severity: normal
  Priority: P2
 Component: Documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22066)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22066)
screen shot of tomcat manager that displays the RemoveAbandonedTimeout in
minutes

The documentation for the RemoveAbandonedTimeout attribute appears to conflict
with the display in the Tomcat Manager.

Quoting from:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html

=== BEGIN ===
Use the removeAbandonedTimeout attribute to set the number of seconds a dB
connection has been idle before it is considered abandoned.
  removeAbandonedTimeout="60"
=== END ===

In the Manager Commands column, beside the Expire session button the text
reads:  "with idle >= N minutes, where N corresponds to the value of the
removeAbandonedTimeout attribute set in context.xml (see screenshot).

The documentation says "seconds" and the Manager says "minutes."   

I would like to know which is correct.  I am having trouble with unexpired sql
connections and am trying to determine how I should set the
removeAbandonedTimeout parameter.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 45125] RemoveAbandonedTimeout jndi datasource documentation conflicts with information displayed in Manager

2008-06-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45125


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-06-03 15:48:00 PST ---
You are confusing http session timeouts with abandoned db connections.

The users list is probably the best place for your enquiry.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



Silent uninstallation of tomcat

2008-06-03 Thread RalfB

Hi,

I would like to conduct a silent uninstallation of Tomcat. uninstall.exe /S
works, but there are still some folders and files left. I would like to
remove them all. Does someone has an idea?

Thank you,
Ralf
-- 
View this message in context: 
http://www.nabble.com/Silent-uninstallation-of-tomcat-tp17637119p17637119.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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