?
Solved

how to give windows sharing folder path in linux

Posted on 2006-06-22
9
Medium Priority
?
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 750 total points
ID: 16961394
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 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