Solved

how to give windows sharing folder path in linux

Posted on 2006-06-22
9
251 Views
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?;
0
Comment
Question by:chaitu chaitu
9 Comments
 
LVL 35

Expert Comment

by:girionis
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>
0
 
LVL 35

Expert Comment

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

Expert Comment

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

should be

file:\\\\<path to your file>
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 92

Expert Comment

by:objects
ID: 16959402
mount the drive on your linux box (using samba for example) and specify the path to the directory in the mounted drive
0
 
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
/jboss/server/log/x.log
now i want to changed it to
file:\\\\mysystemnumber\sharing\x.log
0
 
LVL 25

Expert Comment

by:Cyclops3590
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

http://www.experts-exchange.com/Operating_Systems/Linux/Q_21895391.html
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16960450
Make


/jboss/server/log

a symlink to the Samba-mounted windows directory
0
 
LVL 35

Accepted Solution

by:
girionis earned 250 total points
ID: 16961394
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
even odd program using while loop 3 43
Way to decrease size of apk file 9 71
login jsp example 24 51
Convert from a json string array to a Java object 3 35
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.

832 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