LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2005, 01:41 PM   #1
PerfectReign
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Rep: Reputation: 33
Using Samba to Access Files From Apache/Tomcat?


I have recently replaced a Win2K/IIS server with a new server running SLES 9/Apache/Tomcat for a major facilities application. I've got the site (jsp) up and running and pulling data from a SQL Server database.

Now, the next step is to determine how best to pull Autocad files into a shared directory so that the *.dwf files can be displayed by the web applicaiton. The autocad files are stored on a Win2003 File Server inside a domain on a shared folder.

I'm guessing I'd want to setup a SMB link to the Windows server from the SLES machine and have that link mounted.

Is this a good strategy? Are there any issues you can forsee?
 
Old 05-07-2005, 02:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well if you need to get them there from windows, there's not any easier option. just make sure it's secure of the files are ending up on a webserver.
 
Old 05-16-2005, 09:45 AM   #3
PerfectReign
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Original Poster
Rep: Reputation: 33
I'm sorry, I totally missed your follow up.

Here's what we did.

The files reside on the Windows (2003, I think) file server. \\is_dom1\cafm\CAD

We've setup a mount point under SMB with a startup script to mount that to the SLES box: \opt\cafm\cad

This way, the Tomcat server can see the files (without needing update permissions) and the Autocad users can publish without having to go through SMB.

Thanks!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access MySQL, Webmin, Tomcat, Apache treotan Linux - Newbie 1 12-04-2004 04:22 PM
Samba / XP login failures while tring to access shared files (works with win2k) Zero-0-Effect General 2 01-24-2004 09:27 PM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM
Win98 can't access Linux files, via Samba cornell Linux - General 8 07-19-2001 01:54 PM
Apache access by samba Dweezil Linux - Newbie 4 04-21-2001 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration