Hi,

I have installed and tested OpenMeetings r4589 under jdk1.6.0_25 (os
Windows XP).
Everything 's working except for uploading files. I have looked up
"openmeetings.log" file and noticed that the paths to the uploaded
files are incorrect, I mean there's a problem with slashes in the
paths. The problem also concerns some of the default images used by
openmeetings. The extracts from the log:

1. the default image "_chat_profile_pic.jpg" (the image is present) in
the "openmeetings\default" directory. Notice the double backslash in
the "full_path".
--------------
fileName = CHAT
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 94
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] -

parentPath = null
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 107
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - sid: 8640ffa9627382912c3bb6c38ab17c1b
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 225
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - requestedFile: _no.jpg current_dir: c:
\red5\webapps\openmeetings\upload\profiles\profile_1\
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 237
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - LOG DownloadHandler: The request file is not
readable
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 241
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - LOG ERROR requestedFile: _no.jpg
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 245
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - LOG endsWith d.jpg
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 247
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - LOG moduleName: chat
DEBUG 11-19 19:22:37.867 DownloadHandler.java 791156 280
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - full_path: c:\red5\webapps\openmeetings\
\default\_chat_profile_pic.jpg
ERROR 11-19 19:22:37.883 DownloadHandler.java 791172 367
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - Error downloading:
java.lang.Exception: Invalid file requested
---------------

2. the uploaded file (the file is present in the "upload
\843649c3c06bafcda80b9ba0f9d68c4b" directory). Notice doubled slashes
and backslashes in the "current_dir" and "full_path":
---------------
fileName = 843649c3c06bafcda80b9ba0f9d68c4b.swf
DEBUG 11-19 19:24:15.836 DownloadHandler.java 889125 94
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] -

parentPath = /843649c3c06bafcda80b9ba0f9d68c4b/
DEBUG 11-19 19:24:15.836 DownloadHandler.java 889125 107
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - sid: 8640ffa9627382912c3bb6c38ab17c1b
DEBUG 11-19 19:24:15.836 DownloadHandler.java 889125 225
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - requestedFile:
843649c3c06bafcda80b9ba0f9d68c4b.swf current_dir: c:\red5\webapps
\openmeetings\upload\files\/843649c3c06bafcda80b9ba0f9d68c4b/\
DEBUG 11-19 19:24:15.836 DownloadHandler.java 889125 280
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - full_path: c:\red5\webapps\openmeetings\upload
\files\/843649c3c06bafcda80b9ba0f9d68c4b/
\843649c3c06bafcda80b9ba0f9d68c4b.swf
ERROR 11-19 19:24:15.836 DownloadHandler.java 889125 367
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-1] - Error downloading:
java.lang.Exception: Invalid file requested
----------------

Is there any solution to this problem?

Thanks in advance

Krzysztof

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to openmeetings-user@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to