Lookups across directories

Hi-
I have a situation where my environment contains one common JNDI server that contains
objects used across all applications and several "local" JNDI directories that
service only particular applications. I'd like to devise a way using the JNDI
servers to make a lookup that included both a "local" and a "common" directory
server in one call. I imagine that this functionality might be handled by importing
references to the common directory. However, I can't find information about if
such a feature exists in weblogic and if it does, how to configure it.
I'm aware that I could write a JNDI lookup wrapper layer that could be configured
with the information of all valid directories and then direct my application
developers to use the wrapper exclusively. Before I do that, I want to be sure
that there is nothing already in the weblogic infrastructure that solves the problem
already.
Thanks.

My Main Program -Location "E:\WorkOnJava"
import JavaStuff.*;
class hello
     public static void main(String args[])
          throws java.io.IOException
          System.out.println("Hello");
          Spot objSpot = new Spot(4);
          Spot another = objSpot;
          System.out.println(objSpot.size);
          System.out.println(another.size);
          String piStr = "3.14159";
          Float pi = Float.valueOf(piStr);
          System.out.println(pi);
Which wants to use - Location E:\JavaStuff\Javaprograms
package JavaStuff;
public class hi
     public static void main(String[] args)
          throws java.io.IOException
          final int a=1;
          int i = 17;
i >>=1;
System.out.println(i);
          System.out.println("Hello World!");
          System.out.println(a);
Error I m getting -
E:\WorkOnJava>javac hello.java
hello.java:2: package JavaStuff does not exist
import JavaStuff.*;
^
1 error

Similar Messages

  • Replace files across directories

    A client was hit with a Crypto virus recently. To resolve the issue, I have restored their backup to a directory on a server. After days of replacing a corrupt with a 'clean' file, the client expects us to replace each corrupt file.
    Is there a quick way to replace all .doc, .xls, .PDF, and JPG files in a directory sturcture that has been modified prior to the 22nd but not after the 24th?
    A nice file copy utility may event do the job.
    Thanks.
    -svm
    Genius is always standing in the midst of smarter company...

    Hi,
    You can use robocopy command line below to replace all .doc, .xls, .PDF, and JPG files in a directory structure:
    robocopy c:\source c:\destination /E *.doc *.xls *.PDF *.JPG
    For more detaile information about robocopy, you could refer to the article below:
    Robocopy
    http://technet.microsoft.com/en-us/library/cc733145.aspx
    If you want to copy files besed on timestamp, you need to scripts to do this work.
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How are JNDI lookups load balanced through software?

    Presumably they are not generally speaking.
              I can see how HTTP Requests are via HttpClusterServlet but how are the
              JNDI lookups handled if the client isn't specify a specific node in their
              intialcontext?
              

    Is there any way of doing that with one nic only?
              Rajesh Mirchandani <[email protected]> wrote in message news:<[email protected]>...
              > You machine could be multi-homed.
              >
              > Robert Nicholson wrote:
              >
              > > Specifically how can I run multiple clusternodes on the same machine and
              > > still load balance my JNDI lookups across them if obviously they are not all
              > > running on the same port and I cannot use
              > >
              > > ht.put(Context.PROVIDER_URL, "t3://acme1,acme2,acme3:7001");
              > >
              > > like syntax.
              > >
              > > "Robert Nicholson" <[email protected]> wrote in message
              > > news:[email protected]..
              > > > Presumably they are not generally speaking.
              > > >
              > > > I can see how HTTP Requests are via HttpClusterServlet but how are the
              > > > JNDI lookups handled if the client isn't specify a specific node in their
              > > > intialcontext?
              > > >
              > > >
              

  • Powerbuilder application crashes after upgrade to 12.5.2 (build 5006)

    I have already seen few similar posts on this forum for similar issue. However, I feel mine is different from those and could be some basic steps am missing. Thanks in advance for any comments.
    We are evaluating the effort and benefits of migrating our PB 10.2.1 (build 9731) application to  PB 12.5 Classic. After downloading the trial version from the SAP site, I could migrate the application easily with only a handful of warnings. However, while running the application either from build (EXE) or from IDE, it crashes (windows application failure) frequently. In addition to that, few of our application screens opens as blank screen (doesn’t display anything in the DW attached).
    My operating system is Windows 7 (32 bit) Service Pack 1. The application has many calls external DLLs (both windows standard and custom), as samples at the bottom. I believe that the correct (from PB 12.5) DLLs are copied to Powerbuilder home directory (C:\Software\Sybase\PowerBuilder 12.5 & C:\Software\Sybase\Shared\PowerBuilder) and the source code directory in my attempt to ensure that there are no issues with DLLs. However, initially I had installed powerbuilder 12.5 also under the same root as Power builder 10.0, but as I read few posts that DLLs from different version residing in same place can cause issues, uninstalled and installed PB 12.5 on different location.
    Our PB application also interact with the .Net modules of the application by communicating through a custom DLL. However, that seems still working and I am able to open the .Net screens from the migrated application.
    Below are the main scenarios in which the application crashes and every time I get a DLL error as given below.
    1. While running the application from IDE and selecting ‘Exit’ from the main window. This will close any instantiated objects and close the mutex by calling the windows API.
    function ulong CreateMutexA(ulong lpMutexAttributes, boolean bInitialOwner, ref string lpName) library "kernel32.dll" alias for "CreateMutexW" function ulong GetLastError() library "kernel32.dll" alias for "GetLastError;Ansi"
    function ulong CloseHandle(ulong hMutex) library  "kernel32.dll" alias for "CloseHandle;Ansi"
    This will result in the below crash.
    Faulting application name: PB125.EXE, version: 12.5.2.5006, time stamp: 0x50f93412
    Faulting module name: kernel32.dll, version: 6.1.7601.17932, time stamp: 0x503275b9
    Exception code: 0xc0000005 Fault offset: 0x0004c372
    Faulting process id: 0x2bdc
    Faulting application start time: 0x01cf3e72371227c9
    Faulting application path: C:\Software\Sybase\PowerBuilder 12.5\PB125.EXE
    Faulting module path: C:\Windows\system32\kernel32.dll
    Report Id: 8feef8fc-aa65-11e3-8049-f500274aecdc
    2. Opening of certain windows results in the below crash. If I try to debug the code and move mouse over the line of code being executed, then also I get the same crash. I don’t do the mouse move then I can proceed with the same line, however it will crash at a later line calling ‘classname’.
    Problem Event Name: APPCRASH
    Application Name: PB125.EXE
    Application Version: 12.5.2.5006
    Application Timestamp: 50f93412
    Fault Module Name: PBVM125.dll
    Fault Module Version: 12.5.2.5006
    Fault Module Timestamp: 50f93437
    Exception Code: c0000005
    Exception Offset: 00175357
    OS Version: 6.1.7601.2.1.0.256.48
    Locale ID: 3081
    Additional Information 1: 38ca
    Additional Information 2: 38ca6ad0537dbd0555785bd862b8e94f
    Additional Information 3: 0cd5
    Additional Information 4: 0cd54a5b6672f15bf2ca366539d89c12
    3. Few of the application screen opens but doesn’t display the datawindow attached to it.

    ... many calls external DLLs (both windows standard and custom),
    You have a very complex application and it is unlikely that you will receive much help in this type of setting.  As Chris has already pointed out, previous efforts appear to have been done in a sloppy manner; something indicated by the ANSI qualifiers on API functions that are not needed or relevant.  In addition, the PB alias of CreateMutexA for the API function CreateMutexW is also suggestive.
    I believe that the correct (from PB 12.5) DLLs are copied to Powerbuilder home directory (C:\Software\Sybase\PowerBuilder 12.5 & C:\Software\Sybase\Shared\PowerBuilder)
    You should be very very careful about doing things like this.  One should not simply scatter DLLs across directories without very good reasons as it often leads to strange problems.  On a machine with the IDE installed, you should allow PB to install everything where it wants them.  Copying or moving files is something done as a last resort - it is certainly something that you need to document in case you need to undo it or redo it at a later time.
    Lastly, you might reconsider attempting this with the trial version.  I don't how "current" the trial version is but I suspect it might be a bit buggier than the most current maintenance build.  I'm guessing that you will have to do a bit more than recompiling to get the functionality related to "opening .Net screens" working.  It might help to try creating a new application and put in some basic functionality to interact with all of these external processes, screens, dlls, etc since I suspect this is where the bulk of your problems exist.

  • Move file with space in the filename - SM49

    Hi,
    I am using operating system command, MV, to move files across directories in application server. If the filename has spaces, this move fails. Can you please tell me if any escape character can solve this issue? I have already tried using backslash, single and double quotes.
    Thanks,
    Hema

    here's the solution:
    http://www.freebsd.org/cgi/man.cgi?query=file&apropos=0&sektion=0&manpath=FreeBSD+8.1-RELEASE&format=html
    The one significant difference between this version and System V is that
         this version treats any white space as a delimiter, so that spaces in
         pattern strings must be escaped.  For example,
            >10        string  language impress        (imPRESS data)
         in an existing magic file would have to be changed to
            >10        string  language\ impress        (imPRESS data)
    hope that helps

  • Best way to access Choice column 'choices'?

    Hi,
    Background: I have a Choice field passed down from a Content Type Hub to a content type used in a Document Library in another site collection. This choice column has a lot of 'choice entries' (<Choice 1>, <Choice 2>
    etc....). These entries will probably increase or possibly change in time. A colleague is writing a simple front end solution that uses a separate SQL backend which requires to know the 'choice entries'.
    Issue: So as to have the most up to date list of 'choices', the colleague has a requirement to 'look at' or export these choice entries from the SharePoint backend - and is asking for the sql table where they
    are held.
    I am aware that being touchy-feely with the back-end is not a good idea, but out of interest have done some research into the table location but have made no progress so far.
    Questions:
    1) Can the values be directly 'read' from the SQL backend and if so how?
    2) Is there a better way to achieve this that is straightforward?
    Many thanks in advance for any time and thought put into this issue
    Jason

    1. No.
    2. to perform a "live" lookup, the SQL way, would require an ODBC or ADO.Net to SharePoint adapter, which could be used as a Linked Server within SQL. This is BEYOND impractical.
    3. the BETTER approach would be to use something like a PowerShell script to pull the choices into a SQL database, which would be run on a scheduled task.
    4. Alternatively, depending on how the CHOICE field was defined for use, it may be possible to change the column from being a CHOICE field to being a BCS ("external data") field, and point it to some external database table that can also be used
    by this other thing... there are implications that may suggest that this approach is NOT desirable, but it may be worth considering
    it should also be pointed out, that as far as integration goes, best practice is to NOT perform direct lookups across systems... integrated data points should be REPLICATED to a LOCAL copy, as to ensure that the related data is using relationships local
    to the database. By doing so, if the remote system ever changes, the only change is in the integration... any application that's doing the lookup (using the LOCAL copy), or queries that utilize relationships (such as JOINs) will still continue working fine
    (albeit they may be using outdated data until the integration is updated).
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Stacking yet again............

    There have been other topics about stacking, and it seems pretty universal that the functionality of stacking is severely compromised in V2 (maybe fixed in 2.1?) by not being able to stack across directories (raw files in one tree, derivatives in another), and in collections... Hopefully, if this isn't fixed in 2.1, it'll be fixed VERY SOON......
    BUT, my question this time is about stacks being visible between LR and Bridge. Typically, I stack images that were either bracketed or shot for a panorama. If I stack a set of images in Bridge it doesn't appear that the stack is available in LR. synchronizing or updating thumbnails doesn't appear to get the stack information. Likewise, if I stack a set in LR, the stack doesn't appear to be available in Bridge even with an explicit "save metadata".....
    What do I need to do to have my stacks be visible/available between these applications?

    Hi Everyone,
    Bear in mind that, as with any project of this nature, the LR designers (who are indeed photographers) are not the programers. My involvement with another Adobe project let me view the frustration first hand as the people defining the project on this side of the planet would be told that it couldn't be done by the team on the other side of the planet.
    So in the spirit of the season, please remember that those LR designers are probably feeling the same frustration that you do and on top of that they are receiving the blame for that which they cannot control by people on the forum - and they do read what's posted on the forum. Also I see in the news that Adobe announced that 600 people were being laid off due to the current economic crisis so it can't be much fun around there at the moment.
    If you really want a feature the most productive thing you can do to get it added is to ask for it but include a justification for it just as if you were presenting it to the programmers (who are not photographers). It is the ammunition that internal marketing uses to get the code writers to change something.
    One last point to consider. Some requested feature (like allowing Stacks across folders) may seem trivial but it may involve something much more complex in its execution. When I was writing books for Corel, a common occurrence was to have a request for a simple change but it would be close enough to launch that it would not be added out of the very real fear that it would break something else in the very large complex application. So, some of the features we want many very well be on the must list for LR3.
    Happy holidays
    Dave Huss
    Adobe Photoshop Lightroom 2, A Digital Photographer's Guide

  • Performance Issue - DG4MSQL

    Hi.
    We have a DB Link using DG4MSQL from Oracle 11.1.0.7.0 to a SQL Server 2005 database.
    When running a query that returns immediately in native SQL server over the DB link, the response time is ~0.6 - 1 seconds. In other words the performance is very noticeable worse. This is for a very simple query on a small table (few rows), e.g. select columnA, columnB from table@sqlllink where id=56.
    Granted we know there will be overhead over the DB link but the overhead seems to be very large for that simple a query. Subsequent executions of the same query return in ~0.15 seconds so there must be some caching going on. If I was to change the id to another row, e.g. where id=57, then the query again takes ~0.6 - 1 seconds to return the first time it is run, then ~0.15 seconds on subsequent executions.
    Are there any settings we can change to improve the performance over the DB link or any other advice to increase performance? The servers are in close proximity so bandwidth and latency should not be an issue.
    Thanks

    When using SQL Server profiler we see the sql statements coming in, including a where clause.
    Each statement comes through as a series of 'declare', 'sp_cursorfecth' and 'sp_unprepare' statements which from what I understand is due to the driver translation.
    For us the overhead for a single query seems prohibitive for doing sequential processing. Pulling over a large number of records over the link is relatively fast but the overhead for each individual statement makes it not usable for individual record level lookups across the gateway. Granted we were expecting there to be overhead, each request is going through several layers of translation and marshaling, but the overhead is much larger than we had anticipated.
    Is anyone using DG4MSQL and seeing good performance for inidividual queries? When we take an arbitrary SQL statetment and execute it over the link it consistently takes ~1.6 - 2 seconds the first time the statement executes, is anyone seeing better performance in general than that? Just would like to know if this is on par with what can be expected or if it is possible to see better performance.

  • Windows server firewall blocking active directory authentication?

    I'm having problems with authenticating macs on our windows 2003 server domain. When windows firewall is activated, mac clients(10.4) can no longer login. I've tried opening a number of ports e.g.TCP/UDP 53. UDP 464. but no luck. Any ideas which ports are necessary for the AD plugin to work properly?
    Thanks.
    macpro   Mac OS X (10.4.8)   1gb ram

    Why are you enabling Windows firewall on a domain controller?
    My recommendation is to turn it off and protect your entire site with a hardware firewall. The ports you need to open up are the very ones you should be blocking from the world to prevent attacks.
    Short of that:
    http://www.microsoft.com/downloads/details.aspx?FamilyID=c2ef3846-43f0-4caf-9767 -a9166368434e&displaylang=en
    User Login and Authentication
    A user network logon across a firewall uses the following:
    • Microsoft-DS traffic (445/tcp, 445/udp)
    • Kerberos authentication protocol (88/tcp, 88/udp)
    • Lightweight Directory Access Protocol (LDAP) ping (389/udp)
    • Domain Name System (DNS) (53/tcp, 53/udp)
    Computer Login and Authentication
    A computer logon to a domain controller uses the following:
    • Microsoft-DS traffic (445/tcp, 445/udp)
    • Kerberos authentication protocol (88/tcp, 88/udp)
    • LDAP ping (389/udp)
    • DNS (53/tcp, 53/udp)
    Access File Resource
    File access uses SMB over IP (445/tcp, 445/udp).
    Perform a DNS Lookup
    To perform a DNS lookup across a firewall ports 53/tcp and 53/udp must be open. DNS is used for name resolution and supports other services such as the domain controller locator
    ...

  • Connection EJB --- Radius Server (RFC 2865)

    Hi,
    I have to use a Radius Server as a log host for a Network Access Server (NAS). The Radius has to forward the logging infos (not a database row but a pair of Strings or something similar) to the session bean that handles the request incoming from the NAS via HttpServlet.
    The Radius is a Java API with an abstract void write(int a, String b) method. What is essential to implement in this method to make the Radius send data to the session bean? Note that the session bean resides in another zone (DMZ) than the the ejb container.
    To my point of view I have to make a lookup with the help of JNDI to obtain a reference to the session bean's remote interface. Thus I can pass a message to (a suitable method of) the session bean.
    Can I make a lookup across the borderline of two different zones (DMZs)?
    Regards, Olaf

    Errata:
    The Radius Server resides in another DMZ than the ejb container.

  • How BI is useful for BASIS candidate

    Dear Friends,
    Please clarify me on this topic
    I am a BASIS consultant and planning to change as BI consultant can you please tell me how it is useful to me in my career.
    With BASIS knowledge if I learn BI can i get good opportunities please guide me
    Even I am planning to go thorough BI certification if every thing goes fine.
    Thanks,
    Vinod Kumar

    Hi Suman,
    1) Does i need to know any database concepts before starting MDM..?
    No.... (But if u knw then its well & good)
    2) Out of your experience , may i know in what scenarios MDM is applicable?
    MDM is master Data Management.......... Which is used to hv a single master copy(of data) accross the Enterprise.
    If u have 2-3 Legacy systems, 2-3 SAP R3 systems in ur Enterprise Landscape, then each one can have redundant, incorrect data..... All systems may not have up-to-date data.
    So u can consolidate this data in MDM, using de-duplication.
    Also u can use this correct data from MDM, in BI for reporting purpose.
    3) Is there any major change in 7.1 compared to 5.5 of MDM, if what are the major changes we can see in 7.1 of MDM?
    In 7.1 they have given additional functionalities:
    1. You can have more than 1 main table in a repository (In MDM 5.5 u can have only 1 main table.... & having  lookup across repositories is not possible in MDM.......... but u can achieve this thr Portal)
    2 . In MDM 7.1 u will find new table called Tuple.
         Its basically nesting of tables.
    3.  U will find new adapter in PI for MDM.......... No need to use FTP anymore
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/206fed62-b48b-2b10-70b0-f12a99b9fe46
    Thanks,
    Maheshwari

  • Synchronizing multiple Mac Mini Server Open Directories across branch offices

    Greetings from Central Asia -
    The non-profit that I work with has been undergoing a long-overdue IT upgrade and we recently purchased some Mac Mini Servers (still running Snow Leopard Server) to act as the core of our network across our 3 offices in 3 different cities.
    We have employees moving between offices regularly, so I'm hoping to find a way to synchronize our user database between our head office and our branch offices instead of creating separate databases in each location.  We use RADIUS and pfSense with a CaptivePortal for controlling who has internet access as well as have file shares, so keeping user database management to a minimum is an ideal.
    I come from a mostly Microsoft Domain background with regards to these things so I'm not entirely sure where to start.  Hopefully some hopeful folks here will steer me in the right direction!
    I have a (mostly) unrelated question though - OS X Server seems to have two separate user databases - the "local" DB and the LDAP/OpenDirectory DB.  Is there a way to make these function together? When creating users and assigning them to groups, which is best practice to use? How do I give an LDAP/OD user login rights to the server?
    Thanks in advance,
    Tim

    I would prefer to keep the two databases seperate, with the local database providing a few specific users with access when OD is inaccessable.
    The local database is basically a self-hosted LDAP server. 
    The local and OD databases do function with the appearance of one single user account presentation at login and for typical operations, too.
    Do keep all of the usernames unique; the local users, as well as the OD users.
    For your configuration, the usual pattern here is one or more open directory replicas in each lobe of the network.
    These replicas then coordinate with the master copy among themselves.  You'll have one distributed copy, but the lobes won't be tied to authentication across what may or may not be an entirely stable network; users authenticate off the local replica.
    There are also folks that use Microsoft Active Directory as the back-end for Mac OS X, as well; there are various means to this end, including what is known as the magic triangle configuration.
    As for learning more about OD, I'd read the Snow Leopard Server Open Directory administration documentation as a starting point.  The Lion Server documentation is thin.
    The Mac Enterprise Mailing List archives can also be enlightening; that's probably the most concentrated source of information on more complex management environments.

  • JSP Session across different directories

    I have two different JSP pages in two different directories. So, I have:
    upperDirectory/directory1/jsp1.jsp and upperDirectory/directory2/jsp2.jsp
    The thing is that when I set a session attribute in jsp1.jsp, I cannot access it from jsp2.jsp. Then I checked and turned out that the session is different. It doesn't close jsp1's session. But it's like I have two sessions open at the same time because I access the two JSPs from two different directories. This does not happen when I put jsp1 and jsp2 in the same directory.
    Is this suppose to happen? Is this regular, expected behavior? I'm using IPlanet webserver, by the way.
    Thanks so much,
    r

    You're absolutely right. From the API at Sun:
    "Session information is scoped only to the current web application (ServletContext), so information stored in one context will not be directly visible in another. "
    Thanks.

  • Sharing an iTunes Library across multiple user account and a network.

    Sharing an iTunes Music Library across multiple user accounts.
    Hello Everybody!
    Firstly, this was designed to be run in Mac OS X 10.4 Tiger. It will not work with earlier versions of Mac OS X! Sorry.
    Here's a handy tip for keeping your hard drive neat and tidy, it also saves space, what in effect will be done is an iTunes music library will be shared amongst multiple users on the same machine. There are advantages and disadvantages to using this method.
    • Firstly I think it might be worthwhile to state the advantages and disadvantages to using this approach.
    The advantages include:
    - Space will be saved, as no duplicate files will occur.
    - The administrator will be able to have complete control over the content of the iTunes library, this may be useful for restricting the content of the Library; particularly for example if computer is being used at and education institution, business or any other sort of institution where things such as explicit content would be less favorable.
    - The machine will not be slowed by the fact that every user has lots of files.
    The disadvantages to this system include.
    - The fact that the account storing the music will have to be logged in, and iTunes will have to be active in that account.
    - If the account housing the music is not active then nobody can use the iTunes library.
    - There is a certain degree of risk present when an administrator account must be continually active.
    - Fast User Switching must be enabled.
    Overview:
    A central account controls all music on the machine/network, this is achieved by storing iTunes files in a public location as opposed to in the user's directory. In effect the system will give all users across the machine/network access to the same music/files without the possibility of files 'doubling up' because two different users like the same types of music. This approach saves valuable disk space in this regard and may therefore prove to be useful in some situations.
    This is a hearty process to undertake, so only follow this tutorial if you're willing to go all the way to the end of it.
    Process:
    Step 1:
    Firstly, we need to organize the host library, I tidied mine up, removing excess playlists, random files, things like that. this will make thing a bit easier in the later stages of this process.
    Once the library is tidied up, move the entire "iTunes" folder from your Home directory to the "//localhost" directory (The Macintosh HD) and ensure that files are on the same level as the "Applications", "Users", "Library" and "System" directories; this will ensure that the files in the library are available to all users on the machine (this also works for networks)
    Optionally you can set the ownership of the folder to the 'administrator' account (the user who will be hosting the library.), you may also like to set the permissions of 'you can' to "Read & Write" (assuming that you are doing this through the user who will host the library); secondly you should set the "Owner" to the administrator who will be hosting the library and set their "access" to "Read & Write" (this will ensure that the administrator has full access to the folder). The final part of this step involves setting access for the "Others" tab to "Read Only" this will ensure that the other users can view but not modify the contents on the folder.
    Overview:
    So far we have done the following steps:
    1. Organized the host library.
    2. Placed the iTunes directory into a 'public' directory so that other users may use it. (this step is essential if you plan on sharing the library across multiple accounts on the same machine. NOTE: this step is only necessary if you are wanting to share you library across multiple accounts on the same machine, if you simply want to share the music across a network, use the iTunes sharing facility.
    3. set ownership and permissions for the iTunes music folder.
    Step 2:
    Currently the administrator is the only user who can use this library, however we will address this soon. In this step we will enable iTunes music sharing in the administrator's account, this will enable other users to access the files in the library.
    If you are not logged in as the administrator, do so; secondly, open iTunes and select "Preferences" from the "iTunes" menu, now click the "Sharing" tab, if "share my library on my local network" is not checked, the radio buttons below this will now become active, you may choose to share the entire libraries contents, or share only selected content.
    Sharing only selected content may be useful if their is explicit content in the library and minors use the network or machine that the library is connected to.
    If you have selected "share entire library" go to Step 3, if you have selected share "share selected playlists" read on.
    After clicking "share selected playlists" you must then select the playlists that you intend to share across your accounts and network. Once you have finished selecting the playlists, click "OK" to save the settings.
    Overview:
    In this step we:
    1. Enabled iTunes sharing in the administrator's account, now, users on the local network may access the iTunes library, however, users on the same machine may not.
    Step 3:
    Now we will enable users on the same machine to access the library on the machine. This is achieved by logging in as each user, opening iTunes, opening iTunes preferences, and clicking "look for shared music". now all users on the machine may also access the library that the administrator controls.
    This in effect will mean that the user will not need to use their user library, it will be provided to them via a pseudo network connection.
    As a secondary measure, I have chosen to write a generic login script that will move any content from the user's "Music/iTunes/iTunes Music" directory to the trash and then empties the user's trash.
    This is done through the use of an Automator Application: this application does the following actions.
    1. Uses the "Finder" action "Get Specified Finder Items"
    1a. The user's "~/Music/iTunes/iTunes Music" folder
    2. Uses the "Finder" action "Get Folder Contents"
    3. Uses the "Finder" action "Move to Trash"
    4. Uses the "Automator" action "Run AppleScript"
    4a. with the following:
    on run {input, parameters}
    tell application "Finder"
    empty trash
    end tell
    return input
    end run
    IMPORTANT: Once the script is adapted to the user account it must be set as a login item. in order to keep the script out of the way i have placed it in the user's "Library" directory, in "Application Support" under "iTunes".
    Overview:
    Here we:
    1. Enabled iTunes sharing in the user accounts on the host machine, in effect allowing all users of the machine to view a single iTunes library.
    2. (Optional) I have created a login application that will remove any content that has been added to user iTunes libraries, this in effect stops other users of the machine from adding music and files to iTunes.
    Step 4:
    If it is not already enabled, open system preferences and enable Fast User Switching in Accounts Options.
    Summary:
    We have shared a single iTunes library across multiple user account, while still allowing for network sharing. This method is designed to save space on machines, particularly those with smaller hard drives.
    I hope that this hint proves to be helpful and I hope everybody will give me feedback on my process.
    regards,
    Pete.
    iBook G4; 60GB Hard Drive, 512MB RAM, Airport Extreme   Mac OS X (10.4.6)   iWork & iLife '06, Adobe CS2, Final Cut Pro. Anything and Everything!!!

    how to share music between different accounts on a single computer

  • How can I make Firefox 4's "File Upload" window start in the same directory across all sites?

    I upload webcomic image files to multiple sites every day--the same file to multiple sites--through the "File Upload" window that comes up in Firefox when you click on a site's "Browse..." file request field.
    In Firefox 3 (under Windows XP), when I used Firefox's "File Upload" window to upload files, the "File Upload" window would come up showing the last directory from which I'd uploaded anything to ANY site.
    In Firefox 4, on the other hand, the "File Upload" window comes up showing the last directory from which I last uploaded to that specific domain.
    I'd like to know if there's an about:config setting--I couldn't find one when searching for "file," "upload," or "dir"--to revert to the Firefox 3 behavior. The reason is that now in Firefox 4, because I typically upload two files to four different web sites per day--one file to all four sites, then later in the day, a second file to all four sites--I have to switch from the first upload directory to the second upload directory in each of the four "File Upload" windows for the second file, whereas in Firefox 3 I only had to do that once. Here's how it used to go:
    In Firefox 3:
    # "File Upload" for file 1 at smbhax.com: have to browse to the local directory where the file is located, since it's a different location than file 2 from the previous day.
    # "File Upload" for file 1 at drunkduck.com: desired local directory is already selected.
    # "File Upload" for file 1 at smackjeeves.com: desired local directory is already selected.
    # "File Upload" for file 1 at comicfury.com: desired local directory is already selected.
    # "File Upload" for file 2 at smbhax.com: have to browse to the local directory where the file is located, since it's a different directory than file 1.
    # "File Upload" for file 2 at drunkduck.com: desired local directory is already selected.
    # "File Upload" for file 2 at smackjeeves.com: desired local directory is already selected.
    # "File Upload" for file 2 at comicfury.com: desired local directory is already selected.
    and here's how it goes under Firefox 4:
    # "File Upload" for file 1 at smbhax.com: have to browse to the local directory where the file is located, since it's a different location than file 2 from the previous day.
    # "File Upload" for file 1 at drunkduck.com: have to browse to the local directory where the file is located, since it's a different location than file 2 from the previous day.
    # "File Upload" for file 1 at smackjeeves.com: have to browse to the local directory where the file is located, since it's a different location than file 2 from the previous day.
    # "File Upload" for file 1 at comicfury.com: have to browse to the local directory where the file is located, since it's a different location than file 2 from the previous day.
    # "File Upload" for file 2 at smbhax.com: have to browse to the local directory where the file is located, since it's a different directory than file 1.
    # "File Upload" for file 2 at drunkduck.com: have to browse to the local directory where the file is located, since it's a different directory than file 1.
    # "File Upload" for file 2 at smackjeeves.com: have to browse to the local directory where the file is located, since it's a different directory than file 1.
    # "File Upload" for file 2 at comicfury.com: have to browse to the local directory where the file is located, since it's a different directory than file 1.
    So basically, where under Firefox 3 I only had to browse through my directories twice per day to upload two files to four sites, under Firefox 4, I have to browse through my directories eight times per day to accomplish the same thing.

    You can use the Remember Password bookmarklet: <br />
    https://www.squarefree.com/bookmarklets/forms.html#remember_password <br /> ''Has worked for me when I have needed it to save a password on a web site that used autocomplete=off.'' As far as the Bug that '''cor-el''' linked, I can't remember ever running across a website that did it like that.
    Or, you can use the Saved Password Editor extension, which includes a means of manually adding Username/Passwords to Firefox. <br />
    https://addons.mozilla.org/en-US/firefox/addon/60265

Maybe you are looking for

  • How do I install Photoshop CS2 on a new Mac desktop ?

    I have not used my Photoshop CS2 for a few years;   I used to have it on my PC and It loaded and worked fine-   But I had a lot of trouble  between PC and viruses, and so now,   I have chosen an Apple Mac desktop. I have had it for about a week now.

  • Missing part list is incomplete while creating Production Order and 2 components are not shown in the list.

    Hi Team, We are facing issue for availability check. During creation of Production order, the missing part list is not complete and it should show componenet A in the Missing part list. Below is the details: Production Order quantity: 100 kg Componen

  • SSL connection, KeyManager and TrustManager

    Hello everyone, I am trying to established an SSL connection to a OC4J Server. The server is correctly configured, as the communications using Internet Explorer goes well. I am using JDK 1.3.1_06 with JSSE 1.0.3 and OC4J 9.0.3. But now I have a stand

  • Problem in preventing Joptionpane from closing??

    Hi all, I am using Joptionpane in which i am having 3 optional buttons clicking on one of these buttons, i should pop up another dialog with optionpane being alive(i.e. not closed). Here the problem is that as soon as i click on one of the buttons in

  • MacBook Pro System CPU Spikes When Unplugged

    Upgraded to Mavericks a few days ago and,whenever I unplug my MacBook Pro 13" (Early 2011 - 2.3GHz Intel Core i5 - 16GB RAM 1333MHz) and run just on the battery, my system CPU usage goes through the roof which results in my Mac running/responding ver