Re: [exec] interact with bat

2010-08-12 Thread Siegfried Goeschl
Hi, just to clarify the problem and script del /p d:\133.mht dir deletes the file but ask for keyboard input (/P Give a Yes/No Prompt before deleting). The prompt is displayed so far but the file is not deleted and directory is listed (whcih should not be the case). I played around with it

[fs] Problem with FTP:

2010-08-12 Thread Mike Baranski
I have the following URL: ftp://myuser:mypassw...@mysite.net/home/myuser/test-xls and am trying to copy a file into that directory. Here is the code I'm using: FileObject sourceFile = fsManager.resolveFile(/tmp/test.txt); FileObject

[Logging] : Logs populating in the same file for 2 web applications on OC4J

2010-08-12 Thread Jasmin Mehta
Brent, I could write up log4j.xml and implement RepositorySelector as you suggested in the URL. But still my logs are going to the same log file for 2 web applications deployed on the same OC4J instance. I have OC4J Application server 10.1.3.5.0 where I have deployed 2 web applications on

Re: [Logging] : Can commons.logging be used without log4j

2010-08-12 Thread Jasmin Mehta
Can you pl be more specific on classpath? I found webapp-classpath-first check box during the deployment which now I have it checked. And that gets reflected on orion-web.xml as well. Also I added \WEB-INF\log4j.xml in my additional classpath. But still the logs are created in only 1 file for

[scxml] double evaluation of expr in assignments

2010-08-12 Thread Fabrizio Morbini
Hi, problem: i would like to assign to a variable, v1, the value of another variable, v2, but the name v2 is the result of an expression. For example, assume you have an inspect event that should assign to a predetermined variable the value of the variable whose name is passed as payload to the

Re: [scxml] double evaluation of expr in assignments

2010-08-12 Thread Rahul Akolkar
On Thu, Aug 12, 2010 at 2:51 PM, Fabrizio Morbini fmorb...@gmail.com wrote: Hi, problem: i would like to assign to a variable, v1, the value of another variable, v2, but the name v2 is the result of an expression. For example, assume you have an inspect event that should assign to a

[exec] redirect output via command

2010-08-12 Thread Thomas Tanneberger
Hi All, while I am playing with Apache Common Exec I found out that is it obviously not possible to redirect output into a file via command. I want to exec cksum file file.chsum.txt. I get the output of cksum in ecplise but it is not written to disk. code public static String CHKSUM_CMD2 =

Re: [email] embed/include dynamic Java Server Pages content in email/NTLM Authentication to Exchange Server

2010-08-12 Thread Ferindo Middleton
I did some further research into the original Taglibs Mailer I was using ( http://jakarta.apache.org/taglibs/doc/mailer-doc/mailer-1.1/index.html). I was using one of the three ways that mail can be sent using that tag: simply using the name of the SMTP host and authentication userid password

RE: [fs] Problem with FTP:

2010-08-12 Thread Frank van der Kleij
I think you that your code is converting the target folder to the source file. It is a bit strange and dangerous as well the way VFS works, I once deleted a folder with lots of semi-important files like that... You should first resolve the full path of the target file: FileObject targetFile =