Does this error occur while using my code ? Then maybe there�s something wrong with the config file of your tomcat or that of slide. What did you do to get slide working ?
> Hi Frinds, > > i am trying to connect to server ....but if i execute > the code....i am getting the error like... > > > SEVERE: Unexpected error > java.lang.SecurityException: Unable to locate a login > configuration > at > com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct > orAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC > onstructorAccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > at > java.lang.Class.newInstance0(Class.java:308) > at java.lang.Class.newInstance(Class.java:261) > at > javax.security.auth.login.Configuration$3.run(Configuration.java:221) > > at > java.security.AccessController.doPrivileged(Native > Method) > at > javax.security.auth.login.Configuration.getConfiguration(Configuratio > n.java:215) > at > javax.security.auth.login.LoginContext$1.run(LoginContext.java:170) > > > Plz help me...how to configure the slide into alrady > exit tomcat..... > > Thanks > srinivas.... > > > --- Mark Breitner <[EMAIL PROTECTED]> wrote: > > > Hi, I don�t know exactly where your error is but > > here is a code snippet that > > works for me : > > > > Bye, > > Mark > > > > String ServerPath = > > "http://localhost:8080/slide/files/abc.txt"; > > org.apache.webdav.lib.WebdavResource resource = > > null; > > > > org.apache.commons.httpclient.HttpURL url1 = new > > org.apache.commons.httpclient.HttpURL("admin", > > "admin", "localhost", 8080, > > "/slide/files"); > > resource = new > > org.apache.webdav.lib.WebdavResource(url1); > > resource.putMethod(ServerPath, "abc"); > > resource.close(); > > > > > > > > > Hi Friends, > > > > > > I am new this group...i don't the exact work > > flow....i would like to > > > connect to server from client...but i am getting > > this error... > > > > > > May 9, 2005 5:34:13 PM > > org.apache.commons.httpclient.HttpMethodDirector > > > isRedire > > > ctNeeded > > > INFO: Redirect requested but followRedirects is > > disabled > > > org.apache.commons.httpclient.HttpException > > > at > > > > > > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja > > > va:3467) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja > > > va:3423) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java > > > :967) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResourc > > > e.java:912) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.jav > > > a:1894) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1 > > > 301) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1 > > > 320) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1 > > > 408) > > > at > > > > > > org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290) > > > at SlideTest.main(SlideTest.java:19) > > > > > > > > > what is the problem....how can i solve this > > problem....what is the error i > > > wrote in this code... > > > > > > WebdavResource container = null; > > > HttpURL hrl = new > > HttpURL("http://localhost:99/slide/files"); > > > hrl.setUserinfo("tomcat","tomcat"); > > > WebdavResource wdr = new > > WebdavResource(hrl); > > > container = new WebdavResource(hrl); > > > if (container == null) > > > { > > > throw new > > Exception("Container WebdavResource is > > > null!"); > > > } > > > > > container.putMethod("/slide/files/hello.txt", "Hello > > > world\n"); > > > > > > container.close(); > > > > > > > > > Plz help me.... > > > > > > thanks for ur helping.. > > > Srinivas > > > > > > > > > --------------------------------- > > > Do you Yahoo!? > > > Yahoo! Mail - You care about security. So do we. > > > > -- > > +++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne > > Limits +++ > > Always online ab 4,99 Euro/Monat: > > http://www.gmx.net/de/go/dsl > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- +++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++ Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
