Port event mechanism and full dupex socket -AIO with Completion Port

Hi,
I just started to port code from Windows OS to Solaris. I need a way to implement something similar to AIO with Completion Port from Windows on Solaris OS. After initial investigation I have discovered port - events API.
It is quite elegant.
The problem is that I can't figure out if it is possible to use single port to achieve full duplex socketing.
This means is it possible to serve both POLLIN & POLLOUT for given socket ( PORT_SOURCE_FD ) with single port ?
From port_associate man pages it seems that it is not possible to achieve something like that.
"... If the specified object is already
associated with the specified port, the port_associate()
function serves to update the events and user arguments of
the association. ..."
Does this means that I need to create two separate ports - one for POLLIN events and the other for POLLOUT events in order to be able to achieve full duplex concurrent socket ?
Since I'm quite new in Solaris development I would kindly ask you to give me a hint what would be the best way to implement something similar to Windows Asynchronous IO With Completion Port on Solaris OS.
Many thanks
Mirko

Hi,
Yes, it can't use single port to achieve full duplex socketing, under win32, there have some tools, for example [serial port splitter|http://www.softsea.com/review/Serial-Port-Splitter.html], can allow you to share one serial port among several applications, but Slaris can't support this, and the funcation port_associate() need use two separate ports.

Similar Messages

  • I can't sync with FireWire port and I can't charge with USB port!!

    Hi. I've a old model of iPod (M9244Y). After the last update, my iPod does sync with the FireWire port.
    I tried with another PCs and Mac but it does work. Finaly I buyed an USB cable and this one syncs but not charge.
    I've restored to early versions of iPod Updaters but it does not work again. Can I do somethig to fix it?
    Why I can't sync with the FireWire port?
    Please help me, I can't live without iPod, I can't live without music!!!

    Do you have other Firewire devices? Do they work? Could be the FW ports are not working right.
    First thing to do is reset the FW chip set on the mother board. Unfortunately, when you power down the computer there is always a bit of power still applied to the motherboard to keep things alive and this usually includes the ports to do stuff like detect when a device wants to wake up the computer. The downside of this is when a bus/port chipset goes into a weird state, power cycling the computer won't work.
    So first thing to try is resetting the chipset and to do this you have to power down the computer and completely unplug the computer from the wall power (unplug the power cord to your Mac). Also unplug everything from the Mac's ports (USB, FW, Ethernet, etc.) to make sure no parasitic power is still there to keep the chip alive. Now let it sit for ten minutes (give those big power caps in there time to discharge). Now plug it back in, start up the Mac and see if your FW ports and the drive work any better.
    Patrick

  • Can I use a 2009 iMac as external display for 2007 macbook pro with DVI port only

    I have a late 2009 imac with minidisplay port and  a 2007 macbook pro with DVI port. I connected a mini diaplay port to DVI cable but all I get on the imac is a blank screen when I press F2. Can I use the imac this way?

    I'm not sure if it works with DVI but your late 2009 must be a 27". Try Command-F2 or Copmmand-Fn-F2

  • What is the weblogic process or file opened with udp port?

    I'm running weblogic 8.1 on linux AS 3.0, whenever I bring it up, there is a process that listens on udp, although my weblogic runs on default tcp port 7001. What file or process opened with up port (32770)? I'm curious to know whats running with udp..
    Thanks

    Does anyone know why weblogic opens udp port/ which process maps to the port?
    Thanks

  • Thumbnail and full event photos different

    The photos that I see when I scroll across a thumbnail in iPhoto are not the same photos I see when I open the event.  The thumbnail photos are the ones that should be there, but when I open the event, I see pictures from a different event.  Any ideas?

    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Slow download on Mac and Linux using sockets

    We have a need to download as much as possible for a couple seconds using sockets, and we have noticed that Adobes flash player on Mac and Linux are slower then Windows while we get good results on all tree OS using Goggles flash player in Chrome.
    Our setup, client side, is a 1 Gbit/s internet connection throttle by a 100 Mbit/s switch. On the server side, we have an Apache web server (during testing) on a 1 Gbit/s internet connection.
    For testing purposes, we download as much as possible of a 2 Gb big file for approximately 10 seconds. After we connect to the server, via a socket, we send an http request to start downloading the file. Using bytesAvailable, we get the number of bytes downloaded every half second, calculate the average speed for that half second and store that value in an array. After 20 times, we stop downloading and close the socket connection. Finally we calculate the average download speed of the 20 measurements.
    All tests are preformed on version 11.6.602.180 except for Adobe Flash player on Ubuntu were the 11.2 r202 version. Adobe Flash player on Firefox 19.0.2 (other browsers were tested with similar results) and Google Flash player on Chrome 26.0.1410.43. Each OS/player was tested 5 times and presents the average.
    Windows 7 Enterprise (64-bit) 
    Mac OS X 10.6.8 (64 bit) 
    Ubuntu 12.10 (64 bit) 
    Adobe Flash player (NPSWF32_11_6_602_180.dll)
    92.73 Mbit/s 
    14.53 Mbit/s 
    44.25 Mbit/s 
    Google Flash player (pepflashplayer.dll)
    91,89 Mbit/s 
    89.46 Mbit/s 
    91.57 Mbit/s 
    doConnect();
    function doConnect():void {
        socket = new Socket(url,port);
        socket.addEventListener(Event.CONNECT, connectHandler);
    function connectHandler(event:Event):void {
        writeln("GET " + path + " HTTP/1.1");
        writeln("Host: " + url);
        writeln("Connection: close");
        writeln("");
        nStart = new Date().time;
        startTimer();
        socket.flush();
    function writeln(str:String):void {
        str +=  "\n";
        socket.writeUTFBytes(str);
    function startTimer(){
        startTime = new Date().time;
        var myTimer:Timer = new Timer(500,20);// 0.5 seconds 20 times
        myTimer.addEventListener(TimerEvent.TIMER, timeMeasurement);
        myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, timeMeasurementComplete);
        myTimer.start();
    function timeMeasurement():void {
        receivedData = socket.bytesAvailable;
        var varJunk:ByteArray = new ByteArray();
        while (socket.bytesAvailable > 4){
            socket.readBytes(varJunk);
        var split:Number = new Date().time - startTime;
        var speed:Number = receivedData * 8 / ((new Date().time - startTime) / 1000);
        startTime = new Date().time;
        downloadList.push(speed);
        receivedData = 0;
    function timeMeasurementComplete():void{
        var len:int = downloadList.length;
        var sum:Number = 0;
        for (var i:int = 0; i < len ; i++) {
            sum +=  downloadList[i];
        downloadResult = sum / len;
        socket.removeEventListener(Event.CONNECT, connectHandler);
        if(socket.connected){
            socket.close();
    In further investigation we built an easy Flash based latency meter. We download a small txt-file, measuring the time between just before we send http-request and until we receive a response from the web server.
    We have the setup as for the speed tests, but we do this 5 * 20 times with each OS/player.
    Windows 7 Enterprise (64-bit) 
    Mac OS X 10.6.8 (64 bit) 
    Ubuntu 12.10 (64 bit) 
    Adobe Flash player 
    4.30 ms 
    66.67 ms 
    10.49 ms 
    Google Flash player 
    4.25 ms 
    4.28 ms 
    4.19 ms 
    doConnect();
    private function doConnect():void{
        socket = new Socket(url,port);
        socket.addEventListener(Event.CONNECT, connectHandler);
        socket.addEventListener(ProgressEvent.SOCKET_DATA, socketDataHandler);
    private function connectHandler(event:Event):void{
        writeln("GET " + path + " HTTP/1.1");
        writeln("Host: " + url);
        socket.flush();
        nStart = new Date().time;
    private function writeln(str:String):void{
        str +=  "\n";
        socket.writeUTFBytes(str);
    private function socketDataHandler(event:ProgressEvent):void{
        var latecy:Number = new Date().time - nStart; // latency in ms
    Using a packet analyzer (Wireshark) on the OS X/Adobe player, the time from http-request is sent to data is received is approximately 2 ms. An ack is sent less then 0.04 ms after the packet is received. Using the socketData event to send a new http-request, just after we measure the time for the last package, can see event created delays. We have a delay between 64 and 67 ms compare that to OS X/Google player with between 1 and 3 ms delay.
    Note: When playing around a timer, that fired a number of times during parts of a large number of latency measurements, we notice that measurements when the timer was running were better. Testing having a empty timer firing as fast as possible constantly during both download and latency measurements we got significantly better results on OS X/Adobe player, although not good. Average download 31,82 Mbit/s and average latency 16,59 ms.

    Bumping this topic again as it's still sort of bugging me, but the problem has been isolated to a few certain sites. On some i get the maximum speed and on others i get snailspeed. One of the slow ones unfortunately is basically anything that has to do with Apple....So all Quicktime movie trailers, iTunes stuff, movies etc are slow, except podcasts that are German. I'm downloading the 30 day trial of iWork and i'm getting whopping 19,2KB/s, when i should be getting about 1300KB/s. You can just imagine the frustration:/
    I'm just wondering am i alone on this or is anybody else excperienceing similar? And as usual, on windows i'm getting full speed all the time, anywhere, grrrr....!
    -CC

  • Unity 4.2(1) and CME 4.1(0) Error - CME ports reregister every 60 seconds

    Hello,
    I have an integration between Unity 4.2(1) and CME 4.1(0) which, until Friday last week was working fine.
    I got a complaint that users couldn't get theri voicemail and have found that the ports on CME unregister and register every 60 seconds (see below)
    Has anyone seen this before and knows a solution.
    I've checked that the TSP v8.2(1) is supported for both and I've completely removed the config from CME and redone, but no change.
    Any Ideas ?
    Thanks
    Chris
    MA-CAS-2851-01#
    Apr 12 14:31:09.703: %IPPHONE-6-UNREGISTER_ABNORMAL: ephone-90:CAS-VI1 IP:10.15.28.111 Socket:14 DeviceType:Phone has unregistered abnormally.
    Apr 12 14:31:09.707: %IPPHONE-6-REGISTER_NEW: ephone-90:CAS-VI1 IP:10.15.28.111 Socket:7 DeviceType:App has registered.
    MA-CAS-2851-01#
    Apr 12 14:31:29.931: %IPPHONE-6-UNREGISTER_ABNORMAL: ephone-91:CAS-VI2 IP:10.15.28.111 Socket:22 DeviceType:Phone has unregistered abnormally.
    Apr 12 14:31:29.931: %IPPHONE-6-REGISTER_NEW: ephone-91:CAS-VI2 IP:10.15.28.111 Socket:14 DeviceType:App has registered.
    MA-CAS-2851-01#

    Hi,
    I have already booted the server, had no choice as Unity shut down completely when I made a change in UTIM !
    The only events I see are in the App log of EventViewer and they're merely telling me via a TSP error that a port has unregistered.
    The Unity server has multiple integrations, ports : 24 to CM4, 6 to CM7 and 2 to CME. (32 ports in total)
    Only the CME has any issues and it was working perfectly well for the last 3 months !
    Any thoughts?
    Chris

  • Training & Event management and Appraisal

    Hi,
    Can anyone tell us that Training & Event management and Appraisal are available standard ESS package?
    Thanks,
    Anumit

    Yes, Training & Event management and Appraisal are available in ITS based ESS business package.
    But latest ESS business package(webdynpro based) do not have training and event management. You may need to deploy Learning solution. Full functionality of Appraisal is available with ehp4 of ESS BP.

  • Allow Non-Administrator accounts to create event sources and write to event logs

    We are setting up BizTalk 2013 in Windows Server 2012 and one of the requirements is to allow the service account to create sources and write in event logs (Application) of the BizTalk servers. We have found what it seems to be a simple solution for this
    without giving service accounts local admin rights.
    Give Full control for the following registry keys to the service accounts or groups to allow creating of event sources and write to event logs:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security
    Note: when changing permissions for EventLog key, the child keys will inherit the permissions by default except Security key which must be done manually.
    Initial tests using a .net test app seems to work as expected. New event sources are being created in the event logs and writing to the event logs after that works perfectly.
    The above method has been deployed in production and this is the most suitable solution for us.

    Hi Keong6806,
    Thanks a lot for posting and sharing here.
    Do you have any other questions regarding this topic? If not I would change the type as 'Discussion' then.
    Best Regards,
    Elaine
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • What are the options for integrating the event catalog and event landing pages in our website?

    We'd like to integrate the event catalog and event landing pages into our website but would prefer not to use the standard iframe embed code. Are there other solutions available, like an API or something else?
    Reason for this is that when we tried it with the iframe embed code the event catalog seems to load quite slow in a webpage on our website. Plus it seems we can't change the width and height of the event catalog with the CQ5 editor, or have the event catalog embed dynamically change in size depending on the amount of events in the catalog.

    Keeping everything in one scene is the better way to go.  Scenes are useful for animators who do not use navigation, they just make movies that play frame after frame without stopping.  But for anything that involves navigating the timeline you will have less headaches if you just avoid them and keep everything in the one main timeline.
    There are primarily two approaches to implementing pages in a timeline.  Either spread them out along the timeline and navigate from frame to frame to access them, or create them as movieclips (all in the same frame) and manage their visibility.  The latter approach makes it easier to maintain the status of a one page if navigating to another is necessary.  And you might find it useful to mix these two approaches at times.
    When you have everything on one timeline, you can have a layer dedicated to actionscript that you extend the full length of the timeline, which makes shareable code, such as variables and functions, available to anything along the timeline.  This avoids any need to have duplicate function definitions since you can have the same single function available to multiple pages in the site.  I usually use two actions layers... one for the shared stuff which has all code in frame 1 only, and another for frame specific code such as timeline commands and other action coding that needs to happen at particular frames.

  • [SOLVED] ADF BC : event mechanism

    hi
    I'm not sure what I am looking for, but I was wondering if ADF BC had some kind of "event mechanism" to "notify the view of changes in the model"?
    For example, what if I would like to be "notified" (in my view implementation), if a change to some SCOTT.EMP.SAL value would cause the average SCOTT.EMP.SAL value to be above some limit?
    Because ADF BC has this "Active Data Model" implementation, it looks like some "event mechanism" could fit in.
    For things that "go wrong" there is already a "Bundled Exception Mode" feature in place, but maybe a general "event mechanism" could be similar.
    many thanks
    Jan Vervecken

    Thanks for your reply Steve.
    Based on both your sample applications 98 and 101 I have been able to create an example application that has some kind of "model to view event mechanism":
    http://verveja.footsteps.be/~verveja/files/oracle/ADFEventMechanismStuff-v0.05.zip
    It enables me to "react" in the view implementation to "events in the model", like this:
    public class EmpViewAllPanel
         extends JPanel
         implements JUPanel
         private void myInit()
              JboWarningEventBindingContainer vJboWarningEventBindingContainer =
                   (JboWarningEventBindingContainer)panelBinding;
              vJboWarningEventBindingContainer.addJboWarningEventListener(
                   new JboWarningEventListener()
                        public void handleJboWarningEvent(JboWarningEvent pJboWarningEvent)
                             myHandleJboWarningEvent(pJboWarningEvent);     
         public void myHandleJboWarningEvent(JboWarningEvent pJboWarningEvent)
              if (pJboWarningEvent instanceof AverageSalEvent)
                   AverageSalEvent vAverageSalEvent = (AverageSalEvent)pJboWarningEvent;
                   fMyStatusPanel.setAverageSalAlert(
                        !vAverageSalEvent.isAverageSalBelowLimit());
              else if (pJboWarningEvent instanceof CreateEmpEvent)
                   CreateEmpEvent vCreateEmpEvent = (CreateEmpEvent)pJboWarningEvent;
                   fMyStatusPanel.setEmpCreateDate(vCreateEmpEvent.getCreateDate());
    }All suggestions for improvement are welcome.
    I also wonder if there would be an alternative that does not require a DCBindingContainer subclass as a JboExceptionHandler implementation?
    regards
    Jan Vervecken

  • Can i run UDP  client and UDP  server socket program in the same pc ?

    hi all.
    when i execute my UDP client socket program and UDP server socket program in the same pc ,
    It's will shown the error msg :
    "Address already in use: Cannot bind"
    but if i run UDP client socket program in the remote pc and UDP server socket program run in local pc , it's will success.
    anybody know what's going on ?
    any help will be appreciated !

    bobby92 wrote:
    i have use a specified port for UDP server side , and for client define the server port "DatagramSocket clientSocket= new DatagramSocket(Server_PORT);"Why? The port you provide here is not the target port. It's the local port you listen on. That's only necessary when you want other hosts to connect to you (i.e. when you're acting as a server).
    The server should be using that constructor, the client should not be specifying a port.
    so when i start the udp server code to listen in local pc , then when i start UDP client code in local pc ,i will get the error "Address already in use: Cannot bind"Because your client tries to bind to the same port that the server already bound to.

  • Windows : Syncing photos Events, Faces and Places from Phtoshop Elements 8

    Hi everyone,
    I buy an iPad yesturday and i try to sync my photos.
    I'm a PC user (windows 7 x64) so I try to use Photoshop Elements 8 in order to sync my photo with iTunes as describe in the iTunes manual.
    Unfortunatly, I can sync the photo albums only ... but I can't sync events, faces and places information...
    Is it normal ? Doesn't PSE 8 support the syncing of these information ??
    If this is correct, is there an issue to have a full support in iPad Photo or do you know some app able to sync this ?
    Thanks for your replies and excuse my english!
    Mathieu from France.

    Your English is better than my French.
    For the folders syncing with windows pc's Photo albums:
    1) Create a master sync folder on your pc with no photo files at the root level of the folder.
    2) Create sub-folders within the master sync folder with the subfolders named what you want the ipad's photo albums to be named.
    3) Place the photo files you want to sync in the appropriate subfolder within the master sync folder.
    4) In itunes on the photos tab, select the master folder as the sync folder.
    5) After syncing, each subfolder will be an album on the ipad with the proper photos contained there-in.
    For the Places; The ipad should display Places information for any photo with geotagging data. This is stored with the photo in the metadata. It is the Lat/Long of the photo. This info must be included on the photo file before syncing.
    For the Events, I use separate folders within the master sync folder for each event. (see above).
    I am not sure how Events and Faces works with PSE8 or if the method PSE8 uses is compatable with the ipad. iPhoto on a mac works for events and faces on the ipad, based on posts I have read here.

  • IPod Classic not syncing or connecting, and full of orange "other".

    I have a 120GB black classic iPod, and I received it as a Christmas present nearly 2 years ago.
    I recently restored it, since I was already having troubles, and updated to iTunes 10. When I connect it to my computer, it will occasionally show up in "My Computer" as "Removable Disk L:" (I set it to L, since I named my iPod Levi. Laugh if you want).
    However, when I click on it, Windows Explorer freezes up. I'm unable to reformat it through CMD, or through Disk Management. Disk Management freezes up, and CMD just can't find the drive itself.
    When my iPod isn't connected, I go to the settings, and it says that 111GB are used, and it's full of the orange "Other"!
    I have reset it, I have tried a different chord, computer, and USB port, I have restarted my computer, I have reinstalled iTunes (at least 4 times) and I've been trying to restore it. I've gotten errors saying my iPod needs to be reformatted to work with Windows... Don't you hate redundancy?
    I have had this problem in the past, but that was only because of a corrupted music file.
    I'm looking for help as to how to fix this problem, restore my iPod, and sync everything on to it again, only without having to fork out money for someone to do it, or tell me it can't be fixed.

    Hi, welcome to Apple Discussions.
    A few ideas for you to consider...
    "Other" is the measure of used space on the iPod not taken up by Audio, Video & Photos. This includes the iPod's library and artwork plus any files you may have copied to your iPod in disk mode. The overhead for the library & artwork data is typically 1-2% of the size of the media, e.g. for 100Gb of Audio & Video expect to have around 1.5Gb of "Other". This information is needed for the iPod's operation and cannot be removed.
    If you have significantly larger amounts of "Other", not related to files you've intentionally placed on the iPod, then these are probably disconnected copies of your media files or iPod libraries left over from failed sync operations. The only way to recover the space is to do a full restore.
    If you have copies of all your media in your iTunes library this isn't a problem, but if you've been manually managing the content then I guess you'll want to try to recover the files from it first. See this post by Zevoneer on transferring files from the iPod to your computer. Some of the tools rely on the iPod having a healthy library which yours obviously doesn't however the manual method mentioned towards the end of the post would work.
    <hr>
    *Diagnostics Mode*
    It's possible that your iPod's hard drive has started to fail. Take your iPod and place your right thumb on the centre SELECT button and your left on the top MENU button. Press down both thumbs for about 6 seconds until your iPod reboots. Immediately move your left thumb around to the rewind button |<< on the left and hold this down together with SELECT for a further 6 seconds. Your iPod should now switch into Diagnostic Boot mode. Press MENU for *Manual Test*, then select *IO > HardDrive > HDSMARTData* to reveal your stats. For comparison here are mine for my 2 year old 6th Generation Classic:
    Retracts: 889
    Reallocs: 12
    Pending Sectors: 0
    PowerOn Hours: 2202
    Start/Stops: 894
    Temp: Current 24c
    Temp: Min 10c
    Temp: Max 50c
    Take a note of your results. When finished press *SELECT & MENU* for 6 seconds to reset the iPod again.
    With modern disc drives sectors are no longer marked bad by a disc scan, if the SMART firmware detects a sector it has trouble accessing it will attempt to invisibly reallocate it to a spare area of the disc.
    Note that I've only 12 remapped sectors and none pending. To help explain what the numbers mean here is an extract from the Wikipedia S.M.A.R.T. article:
    *Reallocated Sectors Count*
    Count of reallocated sectors. When the hard drive finds a read/write/verification error, it marks this sector as "reallocated" and transfers data to a special reserved area (spare area). This process is also known as remapping, and "reallocated" sectors are called remaps. This is why, on modern hard disks, "bad blocks" cannot be found while testing the surface – all bad blocks are hidden in reallocated sectors. However, as the number of reallocated sectors increases, the read/write speed tends to decrease. The raw value normally represents a count of the number of bad sectors that have been found and remapped. Thus, the higher the attribute value, the more sectors the drive has had to reallocate.
    *Pending sector count*
    Number of "unstable" sectors (waiting to be remapped, because of read errors). If an unstable sector is subsequently written or read successfully, this value is decreased and the sector is not remapped. Read errors on a sector will not remap the sector (since it might be readable later); instead, the drive firmware remembers that the sector needs to be remapped, and remaps it the next time it's written.
    Large numbers of Reallocs or Pending Sectors would suggest your drive is failing and that you may need to repair or replace your iPod. Check your stats after another attempt to update your iPod. If the numbers increase that again points to hard drive failure. While it won't be good news at least you'll know it isn't some random software problem and you can decide what to do next.
    <hr>
    If the drive is essentially OK but iTunes isn't restoring it try Erase your iPod - The Super Fix for most iPod Problems. Basically a low level format of the iPod’s hard drive to try to get around whatever problems are stopping iTunes from restoring it properly.
    <hr>
    Once you've restored your iPod don't rush to dump all the data back exactly as it was before. I have found that lots of large or complex smart playlists can sometimes trigger constant reboots or dumping of the iPod's library. In addition, larger transfers can fail leaving data in an inconsistent state. Try this technique for populating the iPod in stages.
    *Break up large transfers*
    In iTunes select the menu item *File... New Smart Playlist*. Change the first drop-down box to Playlist, the next to is and the next to Music. Tick against *Limit to*, type in say 10, then change the drop-down to GB, and set the last drop-down to artist. When you click OK you can enter a name for the playlist, e.g. Transfer. Now sync this playlist to your iPod rather than your entire library. When the sync is complete modify the rule ( *File... Edit playlist* ) to increase the size by your chosen amount, then sync and repeat. You can experiment with different size increments, if it doesn't work just choose something a bit smaller until it works each time. Before long you should have all your music on your iPod. Once that's done you can move on to other media such as podcasts, videos, photos, playlists etc.
    tt2

  • Database link with the alias and full description in the connect string

    Hi,
    i have created database link with alias in tnsentry and full description
    and suppose i have removed the tnsnames.ora file what will be the impact on the database link that is whether database link will work or not i am sure db link created with alias won't work and how about db link created with full description and which one you prefer
    Thanks

    # Parameter file initora for Database prd
    ### Global database name is db_name.db_domain
    global_names = TRUE
    db_name = prd
    db_domain = world
    # TNSNAMES.ORA for prd ###############################
    prd.world = (DESCRIPTION = (ADDRESS = (COMMUNITY = tcp.world)
    (PROTOCOL = TCP) (Host = 100.10.100.1) (Port = 1521))
    (CONNECT_DATA = (SID = prd) (GLOBAL_NAME = prd.world)
    (SERVER = DEDICATED)))
    Our database link points from the local database test to the remote database prd. Therefore we need the global database name for prd. Ask the remote database administrator for these information or connect to prd and execute the following query on prd:
    SQL> select GLOBAL_NAME from GLOBAL_NAME;
    GLOBAL_NAME
    prd.WORLD
    CREATE DATABASE LINK prd
    CONNECT TO system IDENTIFIED BY system_passwd
    USING 'prd';--- alias
    so the connection description will be ---select ename from [email protected]
    useful link
    http://www.akadia.com/services/ora_dblinks.html

Maybe you are looking for