Sorry...... In fact I even didn't that Sling has a process that must be killed via the task manager, I thought it should be very enough to log off the computer...... So maybe that's the reason why 503 happened..... And can you help me solve the Automated Sling client library tests problem? http://localhost:8080/sling-test/sling/sling-test.html I can not even finish this most fundamental test. I use the Sling Standalone Application downloaded from the Apache Sling website.
On Thu, Oct 14, 2010 at 12:45 PM, Mark Adamcin <[email protected]> wrote: > That's not enough. You must kill the process. > > Did your Sling server shutdown when you logged off the Windows machine? Or > do you have it running as a system process? > > Mark Adamcin > Acquity Group > > > > On Thu, Oct 14, 2010 at 9:43 AM, Zhongmiao Li <[email protected]> > wrote: > > > Thanks for your reply! In fact I just stop Sling from the Web Console, > it's > > that enough? But then I logged off the system and after I logged in > again, > > I > > still could not enter the Web Console..... "503 ...... missing > repository". > > > > On Thu, Oct 14, 2010 at 8:50 AM, Mark Adamcin <[email protected]> wrote: > > > > > Did you only stop Sling from the Web Console? Or did you also stop the > > > server process from the command line or from Task Manager? > > > > > > "Yesterday I stop the Sling server in the web console, than I can not > > > start it again...... And I can't access the web console, there is > always > > > "can not access....due to missing repository". So I delete all of them > > and > > > start a new Sling. Then I did no modification at all and now I can't > POST > > > anything at all(localhost or 127.0.0.1 or real IP), always:" > > > > > > Mark Adamcin > > > Acquity Group > > > > > > > > > > > > On Thu, Oct 14, 2010 at 12:43 AM, Zhongmiao Li <[email protected]> > > > wrote: > > > > > > > Thanks very very much for your reply! > > > > First let me clarify my previous situation. My IP is dynamically > > > allocated > > > > but in fact is always 141.83.80.149. System is XP and there is no VM. > > And > > > > downloading via 3 kinds of IP all succeed( I didn't try GET in HTML, > > just > > > > type in the address of the resource). > > > > Yesterday I stop the Sling server in the web console, than I can not > > > > start it again...... And I can't access the web console, there is > > always > > > > "can not access....due to missing repository". So I delete all of > them > > > and > > > > start a new Sling. Then I did no modification at all and now I can't > > POST > > > > anything at all(localhost or 127.0.0.1 or real IP), always: > > > > Error while processing /content/nemoclient > > > > Status > > > > 500 > > > > Message > > > > javax.jcr.AccessDeniedException: /: not allowed to modify item > > > > Location /nemoclient < > > http://admin:[email protected]:8080/nemoclient> > > > > Parent > > > > Location /content <http://admin:[email protected]:8080/content> > Path > > > > /content/nemoclient > > > > Referer <http://admin:[email protected]:8080/content/nemoclient> > > > > ChangeLog > > > > > > > > created("/content"); > > > > created("/content/nemoclient"); > > > > created("/content/nemoclient/eiffelturm"); > > > > modified("/content/nemoclient/eiffelturm/jcr:lastModified"); > > > > modified("/content/nemoclient/eiffelturm/jcr:mimeType"); > > > > modified("/content/nemoclient/eiffelturm/jcr:data"); > > > > > > > > In fact, since it's always AccessDenied, I think may be something is > > > wrong > > > > with the privilege setting. So what should I modify to the > > configuration? > > > > My > > > > HTML uploading code is as follows: > > > > <form action="http://141.83.80.149:8080/content/nemoclient" > > > method="POST" > > > > enctype="multipart/form-data"><h2>Name</h2><p><input type="text" > > > > name="title" /></p><p><input type="file" name="eiffelturm" > > > /></p><p><input > > > > type="submit"></p></form> > > > > > > > > -- > > > > Best regards > > > > Li Zhongmiao > > > > Digital Media, College of Computer Science, Zhejiang University > > > > > > > > > > > > > > > -- > > Best regards > > Li Zhongmiao > > Digital Media, College of Computer Science, Zhejiang University > > > -- Best regards Li Zhongmiao Digital Media, College of Computer Science, Zhejiang University
