Why we need at Http11AprProtocol a synchronization?

2006-03-14 Thread Peter Rossbach

At a small review I find this inside:

o.a.coyote.http11.Http11AprProtocol
..
public boolean process(long socket) {
...
L: 619
   if (proto.getDomain() != null) {
synchronized (this) {
try {
RequestInfo rp = processor.getRequest 
().getRequestProcessor();

...

==
Why the RequestInfo MbeanServer registration need a synchronization?

regards
peter




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



svn commit: r385839 - in /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes: ./ io/ tcp/bio/ tcp/nio/

2006-03-14 Thread fhanik
Author: fhanik
Date: Tue Mar 14 09:22:04 2006
New Revision: 385839

URL: http://svn.apache.org/viewcvs?rev=385839view=rev
Log:
Implemented a blocking IO receiver, threaded

Added:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReceiver.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/TcpReplicationThread.java
Modified:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ChannelReceiver.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/ObjectReader.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioSender.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/MultipointBioSender.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReceiver.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ThreadPool.java

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ChannelReceiver.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ChannelReceiver.java?rev=385839r1=385838r2=385839view=diff
==
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ChannelReceiver.java
 (original)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/ChannelReceiver.java
 Tue Mar 14 09:22:04 2006
@@ -44,7 +44,7 @@
  * set ack mode
  * @param isSendAck
  */
-public void setSendAck(boolean isSendAck);
+public void setSendAck(boolean sendack);
 
 /**
  * get the listing ip interface

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/ObjectReader.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/ObjectReader.java?rev=385839r1=385838r2=385839view=diff
==
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/ObjectReader.java
 (original)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/ObjectReader.java
 Tue Mar 14 09:22:04 2006
@@ -20,6 +20,7 @@
 import java.nio.channels.SocketChannel;
 import org.apache.catalina.tribes.ChannelMessage;
 import java.io.IOException;
+import java.net.Socket;
 
 
 
@@ -62,6 +63,16 @@
 this.buffer = new XByteBuffer(43800,true);
 }
 }
+public ObjectReader(Socket socket, ListenCallback callback) {
+try{
+this.buffer = new XByteBuffer(socket.getReceiveBufferSize(), true);
+}catch ( IOException x ) {
+//unable to get buffer size
+log.warn(Unable to retrieve the socket receiver buffer size, 
setting to default 43800 bytes.);
+this.buffer = new XByteBuffer(43800,true);
+}
+this.callback = callback;
+}
 
 /**
  * get the current SimpleTcpCluster
@@ -125,6 +136,10 @@
 return pkgCnt;
 }
 
+public int bufferSize() {
+return buffer.getLength();
+}
+
 /**
  * Returns the number of packages that the reader has read
  * @return int
@@ -141,6 +156,12 @@
  */
 public int write(ByteBuffer buf) throws java.io.IOException {
 return getChannel().write(buf);
+}
+
+public void close() {
+this.callback = null;
+this.channel = null;
+this.buffer = null;
 }
 
 }

Added: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReceiver.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReceiver.java?rev=385839view=auto
==
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReceiver.java
 (added)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReceiver.java
 Tue Mar 14 09:22:04 2006
@@ -0,0 +1,306 @@
+/*
+ * Copyright 1999,2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License); you may not
+ * use this file except in compliance with the License. You may obtain a copy 
of
+ * the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing 

svn commit: r385849 - in /tomcat/container/tc5.5.x/modules/groupcom: src/share/org/apache/catalina/tribes/tcp/ src/share/org/apache/catalina/tribes/tcp/bio/ src/share/org/apache/catalina/tribes/tcp/ni

2006-03-14 Thread fhanik
Author: fhanik
Date: Tue Mar 14 10:41:41 2006
New Revision: 385849

URL: http://svn.apache.org/viewcvs?rev=385849view=rev
Log:
Refactored receivers both NIO and blocking IO into a receiver base

Added:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/ReceiverBase.java
Modified:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReceiver.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/TcpReplicationThread.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReceiver.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/TcpReplicationThread.java

tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/ChannelCreator.java

Added: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/ReceiverBase.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/ReceiverBase.java?rev=385849view=auto
==
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/ReceiverBase.java
 (added)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/ReceiverBase.java
 Tue Mar 14 10:41:41 2006
@@ -0,0 +1,263 @@
+/*
+ * Copyright 1999,2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License); you may not
+ * use this file except in compliance with the License. You may obtain a copy 
of
+ * the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations 
under
+ * the License.
+ */
+package org.apache.catalina.tribes.tcp;
+
+import java.io.IOException;
+import java.net.InetAddress;
+import java.net.InetSocketAddress;
+import java.net.ServerSocket;
+
+import org.apache.catalina.tribes.ChannelMessage;
+import org.apache.catalina.tribes.ChannelReceiver;
+import org.apache.catalina.tribes.MessageListener;
+import org.apache.catalina.tribes.io.ListenCallback;
+import org.apache.catalina.tribes.tcp.nio.ThreadPool;
+
+/**
+ * pTitle: /p
+ *
+ * pDescription: /p
+ *
+ * pCopyright: Copyright (c) 2005/p
+ *
+ * pCompany: /p
+ *
+ * @author not attributable
+ * @version 1.0
+ */
+public abstract class ReceiverBase implements ChannelReceiver, ListenCallback {
+
+public static final int OPTION_SEND_ACK = 0x0001;
+public static final int OPTION_SYNCHRONIZED = 0x0002;
+public static final int OPTION_DIRECT_BUFFER = 0x0004;
+
+
+protected static org.apache.commons.logging.Log log = 
org.apache.commons.logging.LogFactory.getLog(ReceiverBase.class);
+
+protected MessageListener listener;
+protected String host;
+protected InetAddress bind;
+protected int port;
+protected boolean sendack;
+protected boolean sync;
+protected int rxBufSize = 43800;
+protected int txBufSize = 25188;
+protected int tcpThreadCount;
+protected boolean doListen = false;
+protected ThreadPool pool;
+protected boolean direct = true;
+protected long tcpSelectorTimeout;
+
+public ReceiverBase() {
+}
+
+/**
+ * getMessageListener
+ *
+ * @return MessageListener
+ * @todo Implement this org.apache.catalina.tribes.ChannelReceiver method
+ */
+public MessageListener getMessageListener() {
+return listener;
+}
+
+/**
+ *
+ * @return The port
+ * @todo Implement this org.apache.catalina.tribes.ChannelReceiver method
+ */
+public int getPort() {
+return port;
+}
+
+public int getRxBufSize() {
+return rxBufSize;
+}
+
+public int getTxBufSize() {
+return txBufSize;
+}
+
+public int getTcpThreadCount() {
+return tcpThreadCount;
+}
+
+/**
+ *
+ * @return boolean
+ * @todo Implement this org.apache.catalina.tribes.ChannelReceiver method
+ */
+public boolean getSendAck() {
+return sendack;
+}
+
+/**
+ * setMessageListener
+ *
+ * @param listener MessageListener
+ * @todo Implement this org.apache.catalina.tribes.ChannelReceiver method
+ */
+public void setMessageListener(MessageListener listener) {
+this.listener = listener;
+}
+
+
+/**
+ *
+ * @param isSendAck boolean
+ * @todo Implement this org.apache.catalina.tribes.ChannelReceiver method
+ */
+public void setSendAck(boolean sendAck) {
+this.sendack = sendAck;
+}
+public void 

DO NOT REPLY [Bug 31125] - conf/web.xml not valid

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31125.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-03-14 20:08 ---
The bug here is in the spec, not the xml.

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

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



svn commit: r385875 - in /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes: group/ group/interceptors/ io/ mcast/ tcp/ tcp/bio/ tcp/nio/ tipis/

2006-03-14 Thread fhanik
Author: fhanik
Date: Tue Mar 14 12:23:15 2006
New Revision: 385875

URL: http://svn.apache.org/viewcvs?rev=385875view=rev
Log:
Refactored threading and thread pooling 

Added:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/ThreadPool.java
  - copied, changed from r385872, 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ThreadPool.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/WorkerThread.java
  - copied, changed from r385649, 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/WorkerThread.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReplicationThread.java
  - copied, changed from r385872, 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/TcpReplicationThread.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReplicationThread.java
  - copied, changed from r385849, 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/TcpReplicationThread.java
Removed:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/TcpReplicationThread.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/TcpReplicationThread.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ThreadPool.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/WorkerThread.java
Modified:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/ChannelCoordinator.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/ChannelInterceptorBase.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/FragmentationInterceptor.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/GzipInterceptor.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/OrderInterceptor.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/DirectByteArrayOutputStream.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/ListenCallback.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/ObjectReader.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/mcast/Constants.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/mcast/McastMembership.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/mcast/McastService.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/mcast/McastServiceImpl.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/ReceiverBase.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/bio/BioReceiver.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReceiver.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tipis/LazyReplicatedMap.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tipis/ReplicatedMapEntry.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tipis/Response.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tipis/RpcCallback.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tipis/RpcChannel.java

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tipis/Streamable.java

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/ChannelCoordinator.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/ChannelCoordinator.java?rev=385875r1=385874r2=385875view=diff
==
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/ChannelCoordinator.java
 (original)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/ChannelCoordinator.java
 Tue Mar 14 12:23:15 2006
@@ -24,6 +24,7 @@
 import org.apache.catalina.tribes.Channel;
 import org.apache.catalina.tribes.InterceptorPayload;
 import org.apache.catalina.tribes.MessageListener;
+import 

svn commit: r385876 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReplicationThread.java

2006-03-14 Thread fhanik
Author: fhanik
Date: Tue Mar 14 12:24:32 2006
New Revision: 385876

URL: http://svn.apache.org/viewcvs?rev=385876view=rev
Log:
optimzed imports

Modified:

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReplicationThread.java

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReplicationThread.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReplicationThread.java?rev=385876r1=385875r2=385876view=diff
==
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReplicationThread.java
 (original)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/NioReplicationThread.java
 Tue Mar 14 12:24:32 2006
@@ -22,7 +22,6 @@
 
 import org.apache.catalina.tribes.io.ObjectReader;
 import org.apache.catalina.tribes.tcp.Constants;
-import org.apache.catalina.tribes.tcp.ReceiverBase;
 import org.apache.catalina.tribes.tcp.WorkerThread;
 
 /**



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



DO NOT REPLY [Bug 38967] New: - Windows setclasspath.bat still requires the JDK

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=38967.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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

   Summary: Windows setclasspath.bat still requires the JDK
   Product: Tomcat 5
   Version: 5.5.15
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When setclasspath.bat is called on windows, it requires that the JDK be
installed.  Tomcat 5.5 is supposed to be compatible with the JRE since the JDT
jar was included.

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

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



svn commit: r385888 - in /tomcat/container/tc5.5.x: catalina/src/bin/catalina.sh catalina/src/bin/digest.sh catalina/src/bin/shutdown.sh catalina/src/bin/startup.sh catalina/src/bin/tool-wrapper.sh ca

2006-03-14 Thread keith
Author: keith
Date: Tue Mar 14 13:04:40 2006
New Revision: 385888

URL: http://svn.apache.org/viewcvs?rev=385888view=rev
Log:
[38761]  relative symlinks to the shell scripts were not
handled correctly.  Both ant and (reportedly) maven are
using the suggested fix already.

Contributed by Adam Murray.

Modified:
tomcat/container/tc5.5.x/catalina/src/bin/catalina.sh
tomcat/container/tc5.5.x/catalina/src/bin/digest.sh
tomcat/container/tc5.5.x/catalina/src/bin/shutdown.sh
tomcat/container/tc5.5.x/catalina/src/bin/startup.sh
tomcat/container/tc5.5.x/catalina/src/bin/tool-wrapper.sh
tomcat/container/tc5.5.x/catalina/src/bin/version.sh
tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/container/tc5.5.x/catalina/src/bin/catalina.sh
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/bin/catalina.sh?rev=385888r1=385887r2=385888view=diff
==
--- tomcat/container/tc5.5.x/catalina/src/bin/catalina.sh (original)
+++ tomcat/container/tc5.5.x/catalina/src/bin/catalina.sh Tue Mar 14 13:04:40 
2006
@@ -58,7 +58,7 @@
 while [ -h $PRG ]; do
   ls=`ls -ld $PRG`
   link=`expr $ls : '.*- \(.*\)$'`
-  if expr $link : '.*/.*'  /dev/null; then
+  if expr $link : '/.*'  /dev/null; then
 PRG=$link
   else
 PRG=`dirname $PRG`/$link

Modified: tomcat/container/tc5.5.x/catalina/src/bin/digest.sh
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/bin/digest.sh?rev=385888r1=385887r2=385888view=diff
==
--- tomcat/container/tc5.5.x/catalina/src/bin/digest.sh (original)
+++ tomcat/container/tc5.5.x/catalina/src/bin/digest.sh Tue Mar 14 13:04:40 2006
@@ -11,7 +11,7 @@
 while [ -h $PRG ] ; do
   ls=`ls -ld $PRG`
   link=`expr $ls : '.*- \(.*\)$'`
-  if expr $link : '.*/.*'  /dev/null; then
+  if expr $link : '/.*'  /dev/null; then
 PRG=$link
   else
 PRG=`dirname $PRG`/$link

Modified: tomcat/container/tc5.5.x/catalina/src/bin/shutdown.sh
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/bin/shutdown.sh?rev=385888r1=385887r2=385888view=diff
==
--- tomcat/container/tc5.5.x/catalina/src/bin/shutdown.sh (original)
+++ tomcat/container/tc5.5.x/catalina/src/bin/shutdown.sh Tue Mar 14 13:04:40 
2006
@@ -11,7 +11,7 @@
 while [ -h $PRG ] ; do
   ls=`ls -ld $PRG`
   link=`expr $ls : '.*- \(.*\)$'`
-  if expr $link : '.*/.*'  /dev/null; then
+  if expr $link : '/.*'  /dev/null; then
 PRG=$link
   else
 PRG=`dirname $PRG`/$link

Modified: tomcat/container/tc5.5.x/catalina/src/bin/startup.sh
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/bin/startup.sh?rev=385888r1=385887r2=385888view=diff
==
--- tomcat/container/tc5.5.x/catalina/src/bin/startup.sh (original)
+++ tomcat/container/tc5.5.x/catalina/src/bin/startup.sh Tue Mar 14 13:04:40 
2006
@@ -20,7 +20,7 @@
 while [ -h $PRG ] ; do
   ls=`ls -ld $PRG`
   link=`expr $ls : '.*- \(.*\)$'`
-  if expr $link : '.*/.*'  /dev/null; then
+  if expr $link : '/.*'  /dev/null; then
 PRG=$link
   else
 PRG=`dirname $PRG`/$link

Modified: tomcat/container/tc5.5.x/catalina/src/bin/tool-wrapper.sh
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/bin/tool-wrapper.sh?rev=385888r1=385887r2=385888view=diff
==
--- tomcat/container/tc5.5.x/catalina/src/bin/tool-wrapper.sh (original)
+++ tomcat/container/tc5.5.x/catalina/src/bin/tool-wrapper.sh Tue Mar 14 
13:04:40 2006
@@ -29,7 +29,7 @@
 while [ -h $PRG ]; do
   ls=`ls -ld $PRG`
   link=`expr $ls : '.*- \(.*\)$'`
-  if expr $link : '.*/.*'  /dev/null; then
+  if expr $link : '/.*'  /dev/null; then
 PRG=$link
   else
 PRG=`dirname $PRG`/$link

Modified: tomcat/container/tc5.5.x/catalina/src/bin/version.sh
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/bin/version.sh?rev=385888r1=385887r2=385888view=diff
==
--- tomcat/container/tc5.5.x/catalina/src/bin/version.sh (original)
+++ tomcat/container/tc5.5.x/catalina/src/bin/version.sh Tue Mar 14 13:04:40 
2006
@@ -11,7 +11,7 @@
 while [ -h $PRG ] ; do
   ls=`ls -ld $PRG`
   link=`expr $ls : '.*- \(.*\)$'`
-  if expr $link : '.*/.*'  /dev/null; then
+  if expr $link : '/.*'  /dev/null; then
 PRG=$link
   else
 PRG=`dirname $PRG`/$link

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=385888r1=385887r2=385888view=diff
==
--- 

DO NOT REPLY [Bug 38968] New: - Unable to access files in other network drives

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=38968.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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

   Summary: Unable to access files in other network drives
   Product: Tomcat 5
   Version: 5.5.15
  Platform: Other
OS/Version: Windows 2000
Status: NEW
  Severity: critical
  Priority: P5
 Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


Dear Sir/Madam,
   My Servlet is unable to access some files which are found under I:\ drive 
(within network) if I copy the same file to local system d:\ drive it will work 
fine, but when these files placed in I:\ drive it will give 
FileNotFoundException . Please if you can give me some solution for this ,it 
will be great.

Regards
  Govardhan

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

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



DO NOT REPLY [Bug 38967] - Windows setclasspath.bat still requires the JDK

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=38967.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-03-14 21:17 ---
You probably have JAVA_HOME pointing to the JRE and JRE_HOME empty when you
should have JAVA_HOME empty and JRE_HOME pointing to the JRE.

PS Bugzilla is not a support forum.

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

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



DO NOT REPLY [Bug 38967] - Windows setclasspath.bat still requires the JDK

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=38967.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |




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

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



DO NOT REPLY [Bug 32081] - Wrapper scripts require a JDK to be present.

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=32081.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2006-03-14 21:22 ---
*** Bug 38967 has been marked as a duplicate of this bug. ***

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

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



DO NOT REPLY [Bug 38967] - Windows setclasspath.bat still requires the JDK

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=38967.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2006-03-14 21:22 ---


*** This bug has been marked as a duplicate of 32081 ***

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

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



DO NOT REPLY [Bug 38968] - Unable to access files in other network drives

2006-03-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=38968.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-03-14 21:59 ---
Bugzilla is not a support forum. Use the users list.

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

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



apache-tomcat-5.5.15-src/connectors/jni/native/configure

2006-03-14 Thread Jean-frederic Clere

Hi,

Why aren´t we providing a configure in the released sources?

Cheers

Jean-Frederic


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



RE: bad permissions in the 5.5.16 sources tar file.

2006-03-14 Thread Bill Barker
 

 -Original Message-
 From: Jean-frederic Clere [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 14, 2006 2:34 PM
 To: Tomcat Developers List
 Subject: bad permissions in the 5.5.16 sources tar file.
 
 Hi,
 
 I am trying to build libtcnative-1.so using the 5.5.16 
 sources tar file 
 and I have the following problem:
 +++
 buildconf: line 83: build/get-version.sh: Permission denied
 [EMAIL PROTECTED]:~/apache-tomcat-5.5.16-src/connectors/jni/na
tive$ ls 
 -lt build/get-version.sh
 -rw-r--r-- 1 tomcat5 tomcat5 1156 Mar  5 02:25 build/get-version.sh
 +++
 Strange permissions in trunk are ok, any hints?
 

Urm, 'chmod +x build/*.sh'?

They probably should have svn:executable set on them at some point.

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



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication 
in error, please notify us immediately by e-mail and then delete all copies of 
this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through 
the Internet is not secure. Do not send confidential or sensitive information, 
such as social security numbers, account numbers, personal identification 
numbers and passwords, to us via ordinary (unencrypted) e-mail.


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



Re: bad permissions in the 5.5.16 sources tar file.

2006-03-14 Thread Jean-frederic Clere

Bill Barker wrote:




 


-Original Message-
From: Jean-frederic Clere [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 14, 2006 2:34 PM

To: Tomcat Developers List
Subject: bad permissions in the 5.5.16 sources tar file.

Hi,

I am trying to build libtcnative-1.so using the 5.5.16 
sources tar file 
and I have the following problem:

+++
buildconf: line 83: build/get-version.sh: Permission denied
[EMAIL PROTECTED]:~/apache-tomcat-5.5.16-src/connectors/jni/na
   

tive$ ls 
 


-lt build/get-version.sh
-rw-r--r-- 1 tomcat5 tomcat5 1156 Mar  5 02:25 build/get-version.sh
+++
Strange permissions in trunk are ok, any hints?

   



Urm, 'chmod +x build/*.sh'?
 

Sure... But my question was more why are the permission not ok in the 
tar file?



They probably should have svn:executable set on them at some point.

 


Cheers

Jean-Frederic

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



   





This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication 
in error, please notify us immediately by e-mail and then delete all copies of 
this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through 
the Internet is not secure. Do not send confidential or sensitive information, 
such as social security numbers, account numbers, personal identification 
numbers and passwords, to us via ordinary (unencrypted) e-mail.


-
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: apache-tomcat-5.5.15-src/connectors/jni/native/configure

2006-03-14 Thread Yoav Shapira
Certainly not by malice ;)  If the configure script was there and
build.xml was patched to pick it up, it would be picked up and
included in the release ;)

Yoav

On 3/14/06, Jean-frederic Clere [EMAIL PROTECTED] wrote:
 Hi,

 Why aren´t we providing a configure in the released sources?

 Cheers

 Jean-Frederic


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




--
Yoav Shapira
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

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