[Bug 54334] New: Tomcat 7.0.27 and Tomcat 7.0.34 Issues to share files from one system to another system with in the lan

2012-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54334

Bug ID: 54334
   Summary: Tomcat 7.0.27 and Tomcat 7.0.34 Issues to share files
from one system to another system with in the lan
   Product: Tomcat 7
   Version: unspecified
  Hardware: PC
Status: NEW
  Severity: critical
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: uday.che...@gmail.com
Classification: Unclassified

Hi Team,

Description:-

1. My Application was in Windows 2008 server R2 with Tomcat-7.0.27 as a service
and MySql database.

2. My application has an active directory configuration, for multiple users on
particular domain based.

3. So the corresponding domain user had ex:- Windows-7 operating system, then
the user was take the url of app from Windows Server 2008 R2
Ex:-(http://172.55.889.230:8080/X).

4. Active directory user was accessed the application using URL
(http://172.55.889.230:8080/X).

5. Active directory user operating system was ex:- Windows-7 now user going to
upload the files from ex:-windows-7 through accessed application to data base ,
Data base was(MySql) was installed in Windows server 2008 R2, when the tomcat 
installed and MySql data base installed on the location.

6. When an Active directory user is going to upload the files from user
system(ex:-Windows-7-32-bit) to database , the database location
(windows-2008-R2-64-bit).

7. Application had a active directory user configuration, by using this active
directory user accessed application through URL in his system(ex:-windows-7).


Now The Issue is :-

When an active directory user was going to upload the files from his system
(ex:-windows-7) to database.
It shows an error called "Files path does not exist" .

In this i am using Tomcat -7.0.27 installed in Windows -Server -R2 2008 as a
windows service and JDK-6,  

I run the tomcat-7.0.27 as service in Windows-server 2008 R2, and i tried
latest version 7.0.34 as well.

If i stop the tomcat 7.0.27 service then i start tomcat as manually, when i
click ex:- startup.bat

File uploding is successfully from active directory user(windows-7) to windows
server 2008 R2 , MySql database.


How Should i take this uploading process working on a Tomcat service level???

Other wise is there any alternative please suggest me!!

Thanks,
Uday

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 54334] Tomcat 7.0.27 and Tomcat 7.0.34 Issues to share files from one system to another system with in the lan

2012-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54334

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID
 OS||All

--- Comment #1 from Mark Thomas  ---
Bugzilla is not a support forum. Please use the users mailing list.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Heads up: comments coming to live TC 7 docs

2012-12-20 Thread Christopher Schultz
Rainer,

On 12/15/12 6:04 AM, Rainer Jung wrote:
> André, Chris, Chuck and Pid have moderator status. Every ASF committer
> is also a moderator if she logs in using her LDAP credentials.

D'oh. I wish I had known that -- I wouldn't have created a separate set
of credentials. Care to remove my duplicate login?

-chris



signature.asc
Description: OpenPGP digital signature


[Bug 54314] Code generation of TagPlugins: When and Otherwise error when they are used without outside

2012-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54314

--- Comment #5 from Christopher Schultz  ---
Sheldon, what /should/ the result be when you improperly-nest these tags?

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1424733 - in /tomcat/trunk/webapps/examples/WEB-INF: ./ classes/websocket/snake/

2012-12-20 Thread markt
Author: markt
Date: Thu Dec 20 22:17:50 2012
New Revision: 1424733

URL: http://svn.apache.org/viewvc?rev=1424733&view=rev
Log:
Switch the snake WebSocket example to the new API.

Added:

tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java
   (with props)

tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.java
  - copied, changed from r1424057, 
tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/SnakeWebSocketServlet.java
Removed:

tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/SnakeWebSocketServlet.java
Modified:
tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Location.java
tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Snake.java
tomcat/trunk/webapps/examples/WEB-INF/web.xml

Modified: 
tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Location.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Location.java?rev=1424733&r1=1424732&r2=1424733&view=diff
==
--- tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Location.java 
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Location.java 
Thu Dec 20 22:17:50 2012
@@ -29,13 +29,13 @@ public class Location {
 public Location getAdjacentLocation(Direction direction) {
 switch (direction) {
 case NORTH:
-return new Location(x, y - SnakeWebSocketServlet.GRID_SIZE);
+return new Location(x, y - SnakeAnnotation.GRID_SIZE);
 case SOUTH:
-return new Location(x, y + SnakeWebSocketServlet.GRID_SIZE);
+return new Location(x, y + SnakeAnnotation.GRID_SIZE);
 case EAST:
-return new Location(x + SnakeWebSocketServlet.GRID_SIZE, y);
+return new Location(x + SnakeAnnotation.GRID_SIZE, y);
 case WEST:
-return new Location(x - SnakeWebSocketServlet.GRID_SIZE, y);
+return new Location(x - SnakeAnnotation.GRID_SIZE, y);
 case NONE:
 // fall through
 default:

Modified: 
tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Snake.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Snake.java?rev=1424733&r1=1424732&r2=1424733&view=diff
==
--- tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Snake.java 
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/snake/Snake.java 
Thu Dec 20 22:17:50 2012
@@ -17,19 +17,18 @@
 package websocket.snake;
 
 import java.io.IOException;
-import java.nio.CharBuffer;
 import java.util.ArrayDeque;
 import java.util.Collection;
 import java.util.Deque;
 
-import org.apache.catalina.websocket.WsOutbound;
+import javax.websocket.Session;
 
 public class Snake {
 
 private static final int DEFAULT_LENGTH = 5;
 
 private final int id;
-private final WsOutbound outbound;
+private final Session session;
 
 private Direction direction;
 private int length = DEFAULT_LENGTH;
@@ -37,35 +36,34 @@ public class Snake {
 private final Deque tail = new ArrayDeque<>();
 private final String hexColor;
 
-public Snake(int id, WsOutbound outbound) {
+public Snake(int id, Session session) {
 this.id = id;
-this.outbound = outbound;
-this.hexColor = SnakeWebSocketServlet.getRandomHexColor();
+this.session = session;
+this.hexColor = SnakeAnnotation.getRandomHexColor();
 resetState();
 }
 
 private void resetState() {
 this.direction = Direction.NONE;
-this.head = SnakeWebSocketServlet.getRandomLocation();
+this.head = SnakeAnnotation.getRandomLocation();
 this.tail.clear();
 this.length = DEFAULT_LENGTH;
 }
 
 private synchronized void kill() {
 resetState();
-try {
-CharBuffer response = CharBuffer.wrap("{'type': 'dead'}");
-outbound.writeTextMessage(response);
-} catch (IOException ioe) {
-// Ignore
-}
+sendMessage("{'type': 'dead'}");
 }
 
 private synchronized void reward() {
 length++;
+sendMessage("{'type': 'kill'}");
+}
+
+
+protected void sendMessage(String msg) {
 try {
-CharBuffer response = CharBuffer.wrap("{'type': 'kill'}");
-outbound.writeTextMessage(response);
+session.getRemote().sendString(msg);
 } catch (IOException ioe) {
 // Ignore
 }
@@ -73,17 +71,17 @@ public class Snake {
 
 public synchronized void update(Collection snakes) {
 Location nextLocation = head.getAdjacentLocation(direction);
-if (nextLocation.x >= Snake

[Bug 53481] Support SSL_OP_CIPHER_SERVER_PREFERENCE / SSLHonorCipherOrder

2012-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53481

--- Comment #6 from Christopher Schultz  ---
(In reply to comment #5)
> Note that this feature requires an updated version of Tomcat Native.
> See bug 53969 for details.

Specifically, tcnative 1.1.25 or later.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 54314] Code generation of TagPlugins: When and Otherwise error when they are used without outside

2012-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54314

--- Comment #6 from Sheldon Shao  ---
No tagPlugins the JSP works very well. 
With tagPlugins setup should not give compilation error even at some corner
case.

(In reply to comment #5)
> Sheldon, what /should/ the result be when you improperly-nest these tags?

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org