shutdown tomcat 5.0.28

2004-12-10 Thread Martin, Stefan
Hello newsgroup,
 
i have problems to shut down tomcat slide 2.1rc1. debug information told me
that everything went down, but the java process is running after the
shutdown.

Mit freundlichen Grüßen

 

Stefan Martin

 

Informatikzentrum Niedersachsen (IZN)

OEUNIX
Göttinger Chaussee 259
30459 Hannover

Tel: +49 511 120 27067
Fax: +49 511 120 99 27067

Mobil: +49 163 25 24 328


E-Mail:  
[EMAIL PROTECTED]
Internet:   http://www.izn.de

 


Tomcat 5.0.28 shutdown

2004-12-10 Thread Martin, Stefan
hello newsgroup,
 
java.net.ConnectException: A remote host refused an attempted connect
operation.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.j
 

Mit freundlichen Grüßen

 

Stefan Martin

 

Informatikzentrum Niedersachsen (IZN)

OEUNIX
Göttinger Chaussee 259
30459 Hannover

Tel: +49 511 120 27067
Fax: +49 511 120 99 27067

Mobil: +49 163 25 24 328


E-Mail:  
[EMAIL PROTECTED]
Internet:   http://www.izn.de

 


RE: Getting "WARNING: No active transaction"

2004-12-10 Thread Andriy Olefirenko
Try to begin/commit transaction using SlideTransaction. Should help.


> -Original Message-
> From: Manishi Mehta [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 1:01 AM
> To: [EMAIL PROTECTED]
> Subject: Getting "WARNING: No active transaction"
> 
> I am trying to create a folder under node "content" using following method
> 
> structure.create(slideToken, new SubjectNode("/content"), folder);
> 
> It's giving me following error, can anyone tell me what wrong I am doing.
> 
> WARNING - WARNING: No active transaction
> 
> org.apache.slide.store.txfile.AbstractTxFileStoreService
> - WARNING - Thread Thread[main,5,main] marked transaction branch null for
> rollba
> ck. Cause: Not inside tx
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



New Wiki page on Slide concurrency

2004-12-10 Thread Oliver Zeigermann
http://wiki.apache.org/jakarta-slide/ConcurrencyIssues

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Constructing a WebdavResource for a resource that doesn't exist throws

2004-12-10 Thread Max Muller
Hola,
	I hope this isn't a redundant post, I have searched through some of  
the back archives but I haven't come across an answer.

Essentially this is the bit of code that I'm trying to get to run:
HttpURL rootUrl = new HttpURL(uploadServerURL + "/" +  
providerFolderName);
rootUrl.setUserinfo(userName, password);
WebdavResource providerDirectory = new WebdavResource(rootUrl);

if (!providerDirectory.exists()) {
log.info("Provider directory: " + providerFolderName + "  
does not exist, creating.");
providerDirectory.mkcolMethod();
}

However the constructor of the WebdavResource throws an HttpException  
with status code 404. The 404 bit makes sense because the first time  
this bit of code runs the directory hasn't been created yet. I have  
verified this with both the 2.0 and 2.1RC1 versions of the WebDAV  
client. Constructing the WebdavResource for just the rootUrl works just  
fine in the above example. Any pointers on what I must be doing wrong  
would be greatly appreciated. Thanks!

Regards,
Max
Stack dump from the 2.1RC1:
at  
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java: 
3467)
at  
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java: 
3423)
at  
org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java: 
967)
at  
org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.j 
ava:912)
at  
org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java: 
1894)
at  
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java: 
1301)
at  
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java: 
1320)
at  
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java: 
1408)
at  
org.apache.webdav.lib.WebdavResource.(WebdavResource.java:290)

RE: Constructing a WebdavResource for a resource that doesn't exist throws

2004-12-10 Thread Bernd Kühl
An implicit property find request is done without knowing whether the URL 
specifies a null resource or not. I agree that the exception makes no sense for 
this case and the situation should be handled smarter.

As workaround create the WebdavResource in this way:

WebdavResource webdavResourceTempFile = new WebdavResource(
httpURL, WebdavResource.NOACTION, 0
);

> -Original Message-
> From: Max Muller [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 6:49 PM
> To: [EMAIL PROTECTED]
> Subject: Constructing a WebdavResource for a resource that doesn't exist
> throws
> 
> Hola,
>   I hope this isn't a redundant post, I have searched through some of
> the back archives but I haven't come across an answer.
> 
> Essentially this is the bit of code that I'm trying to get to run:
> 
>  HttpURL rootUrl = new HttpURL(uploadServerURL + "/" +
> providerFolderName);
>  rootUrl.setUserinfo(userName, password);
>  WebdavResource providerDirectory = new WebdavResource(rootUrl);
> 
>  if (!providerDirectory.exists()) {
>  log.info("Provider directory: " + providerFolderName + "
> does not exist, creating.");
>  providerDirectory.mkcolMethod();
>  }
> 
> However the constructor of the WebdavResource throws an HttpException
> with status code 404. The 404 bit makes sense because the first time
> this bit of code runs the directory hasn't been created yet. I have
> verified this with both the 2.0 and 2.1RC1 versions of the WebDAV
> client. Constructing the WebdavResource for just the rootUrl works just
> fine in the above example. Any pointers on what I must be doing wrong
> would be greatly appreciated. Thanks!
> 
> Regards,
>   Max
> 
> Stack dump from the 2.1RC1:
> 
>  at
> org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:
> 3467)
>  at
> org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:
> 3423)
>  at
> org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:
> 967)
>  at
> org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.j
> ava:912)
>  at
> org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:
> 1894)
>  at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:
> 1301)
>  at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:
> 1320)
>  at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:
> 1408)
>  at
> org.apache.webdav.lib.WebdavResource.(WebdavResource.java:290)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



default content

2004-12-10 Thread Roy Russo
Hi folks,
Is there any way to bundle default content inside the slide.war? I'd like 
for my slide root localhost/slide/files/ to have some default files or even 
default collections.

For example:
localhost/slide/files
|- index.html
|- /images
Roy Russo
JBoss Portal Developer
JBoss, Inc.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


WCK Save As

2004-12-10 Thread Jeff Wagner
I'm using WCK to create a custom WebDAV store.  I'm running into a 
problem when attempting to do a Save As from Word.  I saw that a 
similiar problem was fixed for the Slide implementation: 
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgId=1434142

I'm curious if there is a work around for WCK.  Any suggestions?
Thanks,
Jeff
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]