how to give windows sharing folder path in linux

Posted on 2006-06-22
Last Modified: 2010-03-31
i have deployed application in jboss in linux environment;my environment is windows.i want to drop jboss logs in my sharing folder c:/sharing/x.log;Is it possible?;
Question by:chaitu chaitu
LVL 35

Expert Comment

ID: 16959327
You coudl (possibly) do it if you define the logs to be in a network machine (given that you have access) by using the file protocol:

file:///<path to your file>
LVL 35

Expert Comment

ID: 16959344
Or maybe: \\<ip or dns of the machine you want your logs>\sharing\x.log
LVL 35

Expert Comment

ID: 16959354
> file:///<path to your file>

should be

file:\\\\<path to your file>
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

LVL 92

Expert Comment

ID: 16959402
mount the drive on your linux box (using samba for example) and specify the path to the directory in the mounted drive
LVL 20

Author Comment

by:chaitu chaitu
ID: 16959525
as i told u i deployed jboss in linux;in log4j.xml file in presently it is
now i want to changed it to
LVL 25

Expert Comment

ID: 16959592
chaituu, please do not double post the same question.  if you want the Q seen in two or more places, do pointer questions instead
LVL 86

Expert Comment

ID: 16960450


a symlink to the Samba-mounted windows directory
LVL 35

Accepted Solution

girionis earned 250 total points
ID: 16961394

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
simple java question 3 59
couple of eclipse 5 46
Java string replace 11 54
How do I remove an object from a 3 40
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question