On Sat, Jan 22, 2011 at 10:17 AM, Subash Chaturanga <[email protected]> wrote: > On Sat, Jan 22, 2011 at 11:15 PM, Luciano Resende <[email protected]>wrote: > >> On Sat, Jan 22, 2011 at 9:38 AM, Subash Chaturanga <[email protected]> >> wrote: >> > INFO: Server startup in 11302 ms >> >> Before the server startup, do you see the upload service endpoint >> being registered properly ? And is that what the UI is using for >> uploading the image from the client (when you see the error) ? >> > > Actually I didn't specifically check whether upload service endpoint is > properly registered. But it was there in web.composite. > As I got a doubt of such issues could happen, I got a new checkout from the > trunk to a separate directory and deployed its photark war on tomcat and > still i have the same problem.(as this is a new checkout from trunk, which > properly works, i thought it has to be my tomcat or some problem) . > > The upload service (denoted from the > constant photark.constants.UploadEndpoint) is suppose to be in side > upload.js, isnt it? Yes the code line i mentioned was the place it stops. > But It doUpload() method doesnt seems call any methods on > JCRImageUploadServiceImpl. > doUpload() uploads the files using dojox.form.FileUploader.upload() method. > > > Thank you > /subash > >
So, here is what I did : - cleaned up my tomcat -- removed old photark -- removed the repository (%tomcat%/bin/photark) - synced to latest trunk code - rebuilt photark - deployed to tomcat - loged in as super admin - created a new album and upload several images Everything worked as expected... Do you have local changes that might be affecting the behavior ? Otherwise, could you please try the same steps I did and see if you have better results ? -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/
