Including large number of jars in classpath...

Hello,
I have an application that relies on over 100 jars and a set of classes - I have been using an IDE to set the classpath so far, which has been fine, but I need to distribute the application to others, and so need to bundle the classes, preferably as a jar. I have tried multiple variations of setting the classpath within the manifest for the jar file (that includes only my source), and have finally resorted to setting the classpath using a batch file and running directly using the classes. Neither method works - the classpath seems to be too long - the best results I've got are with the bat file, but this loads all but the last 8 jars - taking out a few jars adds one or two more, so this seems to confirm a maximum length for the classpath. (FYI, I have previously used the manifest to set the classpath and this has been fine, but in this case I had only two jars.)
Has anyone come across this problem, and if so, have you managed to find a solution - I've combed through the relevant postings to this forum and have found similar problems but no actual Manifest or bat file example apart from a description of what was done, all of which I've tried, and none of which worked. The option to use the wildcard * in the classpath environment variable doesn't work because I cannot use JDK1.6 - the external libraries need to run on JDK1.5 - I have actually tried this but it is not expanded.
Aba-Sah

Another option is to package (or "flatten") all the dependencies into a single JAR. I use the following Groovy script in ANT builds to copy files from many JARs to a single location ...
<!-- set up a groovy task -->
<taskdef name="groovy"
          classname="org.codehaus.groovy.ant.Groovy"
     classpathref="compile-cp"/>
<!-- you'll need to adapt this to your environment -->
<target name="flattenLibs">
          <mkdir dir="${dist-temp}"/>
          <groovy>
               import java.io.*;
               import java.util.zip.*;
               import java.util.jar.*;
               def copyBinary(isDir, dfile, is) {
                    def file = new File( dfile )
                    if ( isDir ) {
                         file.mkdirs()
                    else {
                         def preIndex = Math.max( dfile.lastIndexOf( "/" ), dfile.lastIndexOf( "\\" ) )
                         if ( preIndex > 0 )
                              new File( dfile.substring( 0, preIndex + 1 ) ).mkdirs()
                         def fout = new BufferedOutputStream( new FileOutputStream( file ) )
                         try {
                              byte[] buffer = new byte[ 1024 ]
                              int i
                              while ( ( i = is.read( buffer, 0, buffer.length ) ) > 0 )
                                   fout.write( buffer, 0, i )
                              fout.close()
                         finally {
                              fout.close()
               def destDir = project.getProperty( "dist-temp" )
               if ( destDir.endsWith( "\\" ) || destDir.endsWith( "/" ) )
                    destDir = destDir.subString( 0, destDir.length() - 1 )
               // Look at "core-cp"
               def libs = []
               project.getReference( "core-cp" ).list().each { pe ->
                    if ( pe.endsWith( ".jar" ) )
                         libs.add( pe )
               def noisy = "true".equalsIgnoreCase( project.getProperty( "noisy" ) )
               // Copy:
               libs.each { lib ->
                    def jfile = new JarFile( new File( lib ) )
                    def e = jfile.entries()
                    while ( e.hasMoreElements() ) {
                         def entry = e.nextElement()
                         def name = entry.getName()
                         if ( noisy )
                              println "Copying \"${name}\" ..."
                         def is = new BufferedInputStream( jfile.getInputStream( entry ) )
                         try {
                              copyBinary( entry.isDirectory(), "${destDir}/${name}", is )
                         finally {
                              is.close()
          </groovy>
     </target>

Similar Messages

  • Ears, wars, support jars, and CLASSPATH

    I am trying to migrate an application from WLS 5.1 to 6.1. There are 25
    EJB jars with an equal number of support jars, most of which are referenced
    by multiple EJBs. There are also a large number of jsps, and html pages.
    I have tried packaging an ear that contains the 25 ejb jars, a war file
    containing the web pages. I have attempted to include the support jars in
    the ear as well.
    In all attempts, the only way I get class references sastisfied is to
    include all the jars on the system CLASSPATH. But this defeats the purpose
    of packaging, since none of the components referenced in the system
    CLASSPATH will be re-deployable.
    The online documents refer to separate class loaders and classpaths for the
    war and ejbs, but no detail as to how classes are found by the loaders.
    Unless I put all the jars into the CLASSPATH, jsp pages cannot reference the
    EJBs, and EJBs are unable to reference other EJBs.

    Thanks,
    Now if I could just get Webgain Visual Cafe to allow me to include the
    Classpath entries in the generated manifests for the EJB jars.
    "Gregory Gerard" <[email protected]> wrote in message
    news:3ba24da1$[email protected]..
    You need to mangle all the Manifest files within the EAR and EJB-JARs and
    WAR to get the right thing to happen. Check out this PDF on Sun's site:
    http://java.sun.com/j2ee/j2ee-1_3-pfd4-spec.pdf
    section 8.1.1.2
    I don't entirely understand all the restrictions and formatting -- Ihaven't
    found an example ear file out there that implements a non-trivial case.
    greg
    "Carl Lawstuen" <[email protected]> wrote in message
    news:3ba21d8e$[email protected]..
    I am trying to migrate an application from WLS 5.1 to 6.1. There are
    25
    EJB jars with an equal number of support jars, most of which arereferenced
    by multiple EJBs. There are also a large number of jsps, and htmlpages.
    I have tried packaging an ear that contains the 25 ejb jars, a war file
    containing the web pages. I have attempted to include the support jarsin
    the ear as well.
    In all attempts, the only way I get class references sastisfied is to
    include all the jars on the system CLASSPATH. But this defeats thepurpose
    of packaging, since none of the components referenced in the system
    CLASSPATH will be re-deployable.
    The online documents refer to separate class loaders and classpaths forthe
    war and ejbs, but no detail as to how classes are found by the loaders.
    Unless I put all the jars into the CLASSPATH, jsp pages cannot referencethe
    EJBs, and EJBs are unable to reference other EJBs.

  • A simple way in sending message on a large number of contacts?

    Is there a simple way in sending a large number of contacts? I mean, i'll send my message on a group, i.e. "hello" to "classmates" group. I know it is present during ios4 &amp; 5 version? Why now on ios7? How's that? Some of my contacts are changing new numbers so i can't add them to my inbox.

    When a device that is connected to an icloud account has it's contacts deleted, the same contacts at icloud.com are also deleted and then the changes propagate to other computers and devices also connected to the same icloud account.   In other words, the contacts are deleted everywhere.  Also, any iOS backup to icloud does not include contacts or any of the other Apple data, like calendars, reminders, etc.  The only way you can get that data back is if it was on a computer which has been frequently backed up.  You restore the data from the backup.  (This reference to "backup" is a local backup, it has nothing to do with icloud.)

  • How do I create new versions of a large number of images, and place them in a new location?

    Hello!
    I have been using Aperture for years, and have just one small problem.  There have been many times where I want to have multiple versions of a large number of images.  I like to do a color album and B&W album for example.
    Previously, I would click on all the images at one, and select new version.  The problem is this puts all of the new versions in a stack.  I then have to open all the stacks, and one by one move the new versions to a different album.  Is there any way to streamline this proccess?  When it's only 10 images, it's no problem.  When it's a few hundred (or more) its rather time consuming..
    What I'm hoping for is a way to either automatically have new versions populate a separate album, or for a way to easily select all the new versions I create at one time, and simply move them with as few steps as possible to a new destination.
    Thanks for any help,
    Ricardo

    Ricardo,
    in addition to Kirby's and phosgraphis's excellent suggestions, you may want to use the filters to further restrict your versions to the ones you want to access.
    For example, you mentioned
      I like to do a color album and B&W album for example.
    You could easily separate the color versions from the black-and-white versions by using the filter rule:
    Adjustment includes Black&white
         or
    Adjustment does not include Black&white
    With the above filter setting (Add rule > Adjustment includes Black&White) only the versions with Black&White adjustment are shown in the Browers. You could do similar to separate cropped versions from uncropped ones.
    Regards
    Léonie

  • Large number of JSP performance

    Hi,
    a colleague of me made tests with a large number of JSP and identified a
    performance problem.
    I believe I found a solution to his problem. I tested it with WLS 5.1 SP2
    and SP3 and MS jview SDK 4.
    The issue was related to the duration of the initial call of the nth JSP,
    our situation as we are doing site hosting.
    The solution is able to perform around 14 initial invocations/s no matter if
    the invocation is the first one or the
    3000th one and the throughput can go up to 108 JSPs/s when the JSP are
    already loaded, the JSPs being the
    snoopservlet example copied 3000 times.
    The ratio have more interest than the values as the test machine (client and
    WLS 5.1) was a 266Mhz laptop.
    I repeat the post of Marc on 2/11/2000 as it is an old one:
    Hi all,
    I'm wondering if any of you has experienced performance issue whendeploying
    a lot of JSPs.
    I'm running Weblogic 4.51SP4 with performance pack on NT4 and Jdk1.2.2.
    I deployed over 3000 JSPs (identical but with a distinct name) on myserver.
    I took care to precompile them off-line.
    To run my tests I used a servlet selecting randomly one of them and
    redirecting the request.
    getServletContext().getRequestDispatcher(randomUrl).forward(request,response);
    The response-time slow-down dramaticaly as the number of distinct JSPs
    invoked is growing.
    (up to 100 times the initial response time).
    I made some additional tests.
    When you set the properties:
    weblogic.httpd.servlet.reloadCheckSecs=-1
    weblogic.httpd.initArgs.*.jsp=..., pageCheckSeconds=-1, ...
    Then the response-time for a new JSP seems linked to a "capacity increase
    process" and depends on the number of previously activated JSPs. If you
    invoke a previously loaded page the server answers really fast with no
    delay.
    If you set previous properties to any other value (0 for example) the
    response-time remains bad even when you invoke a previously loaded page.SOLUTION DESCRIPTION
    Intent
    The package described below is design to allow
    * Fast invocation even with a large number of pages (which can be the case
    with Web Hosting)
    * Dynamic update of compiled JSP
    Implementation
    The current implementation has been tested with JDK 1.1 only and works with
    MS SDK 4.0.
    It has been tested with WLS 5.1 with service packs 2 and 3.
    It should work with most application servers, as its requirements are
    limited. It requires
    a JSP to be able to invoke a class loader.
    Principle
    For a fast invocation, it does not support dynamic compilation as described
    in the JSP
    model.
    There is no automatic recognition of modifications. Instead a JSP is made
    available to
    invalidate pages which must be updated.
    We assume pages managed through this package to be declared in
    weblogic.properties as
    weblogic.httpd.register.*.ocg=ocgLoaderPkg.ocgServlet
    This definition means that, when a servlet or JSP with a .ocg extension is
    requested, it is
    forwarded to the package.
    It implies 2 things:
    * Regular JSP handling and package based handling can coexist in the same
    Application Server
    instance.
    * It is possible to extend the implementation to support many extensions
    with as many
    package instances.
    The package (ocgLoaderPkg) contains 2 classes:
    * ocgServlet, a servlet instantiating JSP objects using a class loader.
    * ocgLoader, the class loader itself.
    A single class loader object is created.
    Both the JSP instances and classes are cached in hashtables.
    The invalidation JSP is named jspUpdate.jsp.
    To invalidate an JSP, it has simply to remove object and cache entries from
    the caches.
    ocgServlet
    * Lazily creates the class loader.
    * Retrieves the target JSP instance from the cache, if possible.
    * Otherwise it uses the class loader to retrieve the target JSP class,
    create a target JSP
    instance and stores it in the cache.
    * Forwards the request to the target JSP instance.
    ocgLoader
    * If the requested class has not the extension ocgServlet is configured to
    process, it
    behaves as a regular class loader and forwards the request to the parent
    or system class
    loader.
    * Otherwise, it retrieves the class from the cache, if possible.
    * Otherwise, it loads the class.
    Do you thing it is a good solution?
    I believe that solution is faster than standard WLS one, because it is a
    very small piece of code but too because:
    - my class loader is deterministic, if the file has the right extension I
    don't call the classloader hierarchy first
    - I don't try supporting jars. It has been one of the hardest design
    decision. We definitely need a way to
    update a specific page but at the same time someone post us NT could have
    problems handling
    3000 files in the same directory (it seems he was wrong).
    - I don't try to check if a class has been updated. I have to ask for
    refresh using a JSP now but it could be an EJB.
    - I don't try to check if a source has been updated.
    - As I know the number of JSP I can set pretty accurately the initial
    capacity of the hashtables I use as caches. I
    avoid rehash.

    Use a profiler to find the bottlenecks in the system. You need to determine where the performance problems (if you even have any) are happening. We can't do that for you.

  • Large number of JSP performance [repost for grandemange]

    Hi,
    a colleague of me made tests with a large number of JSP and identified a
    performance problem.
    I believe I found a solution to his problem. I tested it with WLS 5.1 SP2
    and SP3 and MS jview SDK 4.
    The issue was related to the duration of the initial call of the nth JSP,
    our situation as we are doing site hosting.
    The solution is able to perform around 14 initial invocations/s no matter if
    the invocation is the first one or the
    3000th one and the throughput can go up to 108 JSPs/s when the JSP are
    already loaded, the JSPs being the
    snoopservlet example copied 3000 times.
    The ratio have more interest than the values as the test machine (client and
    WLS 5.1) was a 266Mhz laptop.
    I repeat the post of Marc on 2/11/2000 as it is an old one:
    Hi all,
    I'm wondering if any of you has experienced performance issue whendeploying
    a lot of JSPs.
    I'm running Weblogic 4.51SP4 with performance pack on NT4 and Jdk1.2.2.
    I deployed over 3000 JSPs (identical but with a distinct name) on myserver.
    I took care to precompile them off-line.
    To run my tests I used a servlet selecting randomly one of them and
    redirecting the request.
    getServletContext().getRequestDispatcher(randomUrl).forward(request,response);
    The response-time slow-down dramaticaly as the number of distinct JSPs
    invoked is growing.
    (up to 100 times the initial response time).
    I made some additional tests.
    When you set the properties:
    weblogic.httpd.servlet.reloadCheckSecs=-1
    weblogic.httpd.initArgs.*.jsp=..., pageCheckSeconds=-1, ...
    Then the response-time for a new JSP seems linked to a "capacity increase
    process" and depends on the number of previously activated JSPs. If you
    invoke a previously loaded page the server answers really fast with no
    delay.
    If you set previous properties to any other value (0 for example) the
    response-time remains bad even when you invoke a previously loaded page.SOLUTION DESCRIPTION
    Intent
    The package described below is design to allow
    * Fast invocation even with a large number of pages (which can be the case
    with Web Hosting)
    * Dynamic update of compiled JSP
    Implementation
    The current implementation has been tested with JDK 1.1 only and works with
    MS SDK 4.0.
    It has been tested with WLS 5.1 with service packs 2 and 3.
    It should work with most application servers, as its requirements are
    limited. It requires
    a JSP to be able to invoke a class loader.
    Principle
    For a fast invocation, it does not support dynamic compilation as described
    in the JSP
    model.
    There is no automatic recognition of modifications. Instead a JSP is made
    available to
    invalidate pages which must be updated.
    We assume pages managed through this package to be declared in
    weblogic.properties as
    weblogic.httpd.register.*.ocg=ocgLoaderPkg.ocgServlet
    This definition means that, when a servlet or JSP with a .ocg extension is
    requested, it is
    forwarded to the package.
    It implies 2 things:
    * Regular JSP handling and package based handling can coexist in the same
    Application Server
    instance.
    * It is possible to extend the implementation to support many extensions
    with as many
    package instances.
    The package (ocgLoaderPkg) contains 2 classes:
    * ocgServlet, a servlet instantiating JSP objects using a class loader.
    * ocgLoader, the class loader itself.
    A single class loader object is created.
    Both the JSP instances and classes are cached in hashtables.
    The invalidation JSP is named jspUpdate.jsp.
    To invalidate an JSP, it has simply to remove object and cache entries from
    the caches.
    ocgServlet
    * Lazily creates the class loader.
    * Retrieves the target JSP instance from the cache, if possible.
    * Otherwise it uses the class loader to retrieve the target JSP class,
    create a target JSP
    instance and stores it in the cache.
    * Forwards the request to the target JSP instance.
    ocgLoader
    * If the requested class has not the extension ocgServlet is configured to
    process, it
    behaves as a regular class loader and forwards the request to the parent
    or system class
    loader.
    * Otherwise, it retrieves the class from the cache, if possible.
    * Otherwise, it loads the class.
    Do you thing it is a good solution?
    I believe that solution is faster than standard WLS one, because it is a
    very small piece of code but too because:
    - my class loader is deterministic, if the file has the right extension I
    don't call the classloader hierarchy first
    - I don't try supporting jars. It has been one of the hardest design
    decision. We definitely need a way to
    update a specific page but at the same time someone post us NT could have
    problems handling
    3000 files in the same directory (it seems he was wrong).
    - I don't try to check if a class has been updated. I have to ask for
    refresh using a JSP now but it could be an EJB.
    - I don't try to check if a source has been updated.
    - As I know the number of JSP I can set pretty accurately the initial
    capacity of the hashtables I use as caches. I
    avoid rehash.
    Cheers - Wei

    I dont know the upper limit, but I think 80 is too much. I have never used more than 15-20. For Nav attributes, a seperate tables are created which causes the Performance issue as result in new join at query run time. Just ask your business guy, if these can be reduced.One way could be to model these attributes as seperate characteristics. It will certainly help.
    Thanks...
    Shambhu

  • How can I format a large number to have comma separators?

    I have numbers that are very large, i.e., in the billions. I want to format the display to show comma separators.
    For example:
    8000000000 => 8,000,000,000
    Is there an easy way to do this?

    Robert,
    There is no way (to my knowledge) to include comma separators in a numeric control or indicator in LabVIEW. If you want commas, you will need to use a string. I have attached an example VI to this post that demonstrates how I would include comma separators in a large number string. There might be an easier way, but this was the first thing that came to mind.
    I hope this helps. Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    commas.vi ‏24 KB

  • Internal Error 500 started appearing even after setting a large number for postParametersLimit

    Hello,
    I adopted a CF 9 web-application and we're receiving the Internal 500 Error on a submit from a form that has line items for a RMA.
    The server originally only had Cumulative Hot Fix 1 on it and I thought if I installed Cumulative Hot Fix 4, I would be able to adjust the postParametersLimit variable in the neo-runtime.xml.  So, I tried doing this, and I've tried setting the number to an extremely large number (last try was 40000), and I'm still getting this error.  I've tried putting a <cfabort> on the first line on the cfm file that is being called, but I'm still getting the 500 error.
    As I mentioned, it's a RMA form and if the RMA has a few lines say up to 20 or 25 it will work.
    I've tried increasing the following all at the same time:
    postParameterSize to 1000 MB
    Max size of post data 1000MB
    Request throttle Memory 768MB
    Maximum JVM Heap Size - 1024 MB
    Enable HTTP Status Codes - unchecked
    Here's some extra backgroun on this situation.  This is all that happened before I got the server:
    The CF Server is installed as a virtual machin and was originally part of a domain that was exposed to the internet and the internal network.  The CF Admin was exposed to the internet.
    AT THIS TIME THE RMA FORM WORKED PROPERLY, EVEN WITH LARGE NUMBER OF LINE ITEMS.
    The CF Server was hacked, so they did the following:
    They took a snapshot of the CF Server
    Unjoined it from the domain and put it in the DMZ.
    The server can no longer connect to the internet outbound, inbound connections are allowed through SSL
    Installed cumulative hot fix 1 and hot fix APSB13-13
    Changed the Default port for SQL on the SQL Server.
    This is when the RMA form stopped working and I inherited the server.  Yeah!
    Any ideas on what i can try next or why this would have suddenly stopped working after making the above changes on the server.
    Thank you

    Start from the beginning. Return to the default values, and see what happens. To do so, proceed as follows.
    Temporarily shut ColdFusion down. Create a back-up of the file neo-runtime.xml, just in case.
    Now, open the file in a text editor and revert postParametersLimit and postSizeLimit to their respective default values, namely,
    <var name='postParametersLimit'><number>100.0</number></var>
    <var name='postSizeLimit'><number>100.0</number></var>
    That is, 100 parameters and 100 MB, respectively. (Note that there is no postParameterSize! If you had included that element in the XML, remove it.)
    Restart ColdFusion. Test and tell.

  • Assigning large number if character to a Codepage

    Do  we have a tool / process  which can assign large number of character to a code page, which cannot be done by SAP SPUM4. There are 18 languages and 10 code pages.
    Languages listed below,
    French,English,German,Italian,Spanish,Portuguese,Bulgarian,Japanese,Chinese,Danish,Russian,Dutch,Finnish,Malaysian,Czech,Hungarian,Norwegian,Swedish
    we run SPUM4 in our Development Environment and found 450.000 words without a language associated. This corresponds to 2,5 months of movements from our ERP  productive clients. After applying a dictionary and language patterns provided by SAP, we have now 274.000 words left (and 150.000 duplicates).  I need to find other ways to decrease this number so that I end up with a workable list of words.

    There is no method but assigning them more or less manually or using hints.
    You may check for special characters in languages, e. g. the polish ł will be displayed as ³ when you login in English - although this may also be a different character.
    We had the same "problem" with 8 languages (including more than one Asian language) so it was cumbersome.
    Markus

  • Huge memory usage while parsing a large number of files

    hi,
    I use ORACLE8i XML parser class in my app.The problem is that
    when I parse a large number of xml files ,memory usage is so
    huge as more than 100M byte.Even worse,sometime I saw virtual
    memory low dialog.Could anybody give me some idea about this.
    any reply are welcome.Thanks a lot.

    Hi Mike. Yes I do have this enabled but this should only be requesting login to view the normal (open) applications. What I end up getting, after I login, is all the applications restarting. In the case of the synchronising files the database has to rebuild itself every time (160,000 files), and nothing has been happening while logged out. Using the Caffeine app I have still enabled the screensaver using a hot corner and had to log back in after 10 minutes but all the applications were still running, including the synchronisation. I am pretty sure my laptop has not gone into sleep mode, or it wouldn't have to reopen the apps, but it also has not shutdown as I get a login box as soon as I press any key. I can't understand the problem, and what makes it even stranger is that it is happening on two separate MacBooks at the same time. Thanks for the suggestion – really appreciated.
    OldGnome - thanks for the suggestion for the other app. I chose Caffeine as this has really good user reviews but the other one doesn't seem to have any, but I might still try it. Again thanks for your help.

  • TS4009 I deleted a large number of contacts on one iphone when i got a new one. icloud must have automatically synced to the old one, then synced my new one to that, thus deleting many contacts. can i restore them?

    I deleted a large number of contacts on one iphone when i got a new one. icloud must have automatically synced to the old one, then synced my new one to that, thus deleting many contacts. can i restore them? can i retrieve a snapshot of my icloud as it existed yesterday?

    When a device that is connected to an icloud account has it's contacts deleted, the same contacts at icloud.com are also deleted and then the changes propagate to other computers and devices also connected to the same icloud account.   In other words, the contacts are deleted everywhere.  Also, any iOS backup to icloud does not include contacts or any of the other Apple data, like calendars, reminders, etc.  The only way you can get that data back is if it was on a computer which has been frequently backed up.  You restore the data from the backup.  (This reference to "backup" is a local backup, it has nothing to do with icloud.)

  • Problems syncing large number of photos while choosing all photos option

    I have 17,800 photos and have experienced problems with trying to sync in iTunes since release day 1.
    If I choose to sync using the all photos option, the iPad will reboot during synch and appears to finish. Ipad will become unresponsive and hang with the apple logo on screen and a hard reset will then be required.
    Then when trying to launch photo app in iPad it displays "updating library" for a minute or 2 and then photo app crashes back to home screen.
    Have tried many options in trying to solve this including restore iPad software, deleting photo cache in iTunes, rebuilding iTunes library, etc.
    Only solution I have found was to break down my 17,800 photos into events and choose to synch events instead of the all photos option and that works, getting all 17,800 photos into iPad. Photos take about 5.8 gb of storage.
    There is definitely a problem with iTunes here in synching large number of photos using the all photos option and I have reported this to AppleCare support via two support calls. There does not appear to be a awareness of this issue in tech supports knowledge base and I am surprised to that there are not a large number of incidents reported as there are a few discussions started here on the issues of photo sync.
    Hopefully this post will help others with the same issue.
    Message was edited by: amfca

    Solved problem of synching iPad with desktop containing large photo library (20,000 photos): In summary, solution was to rename, copy and live iPHoto Library to XHD and reduce size of library on home (desktop) drive.
    In the home directory, rename "iPhoto Library" to "iPhoto Global" (or any other name you want), and copy into an external hard drive via simple drag and drop method.
    Then, go back to the newly renamed iPhoto Global and rename it again, to iPhoto 2010. Now, open iPhoto by holding down the Alt/Option key and opening iPhoto. This provides option to choose library iPhoto 2010. Open the library, and eliminate every photo before 2010. This got us down to a few thousand photos and a much smaller library. Synch this smaller library with the iPad.
    Finally, I suggest downloading a program "iPhoto Library Manager" and using this to organize and access the two libraries you now have (which could be 2, 10 or however many different libraries you want to use.) The iPhoto program doesn't want you to naturally have more than one library, but a download called iPhoto Library Manager allows user to segregate libraries for different purposes (eg. personal, work, 2008, 2009, etc.). Google iPhoto Library Manager, download, and look for links to video tutorials which were very helpful.
    I did not experience any problems w/ iPhoto sequencing so can't address that concern.
    Good luck!

  • Ramifications of large number of connections.

    Our application uses direct driver connections. We are thinking about increasing the number of connections in /etc/odbc.ini to a very large number.
    (1) Are there any ramifications in increasing this attribute?
    (2) I read that each connection takes 1 semaphore. Does TT use all the semaphores when odbc.ini is first read or as needed?
    TimesTen 6.0.4
    RedHat Linux
    Thanks,
    Linda

    Hi Linda
    The 'Connections' attribute will tell TimesTen what the maximum number of connections is expected to be to the data store. TimesTen will then pre-allocate one semaphore for each connection at the time the data store is loaded.
    If you exceed this value (e.g. you set Connections to 200 and actualy make 300 concurrent connections) then you wont get an error, also TimesTen wont crash, but connections #201->300 will perform sub-optimally.
    So I'd recommend you 1) work out what your maximum number of connections is 2) set the kernel parameters relating to semaphores appropriately (see the section in the install guide relevant to your OS for info on how to do this) 3) set the value in your odbc.ini 4) reload your data store.
    Keep in mind that you are allowed ~2000 connections to a data store, and this figure also must include internal connections (like the rep agent, cache agent etc).
    If you anticipate make a great number of connections, it is probably better to consider implementing a connection pool. There is documentation on this in the guides, and some examples can be found on how to achieve it in the demo directory.

  • [solved] Large number of services enabled during first boot

    I just set up Arch Linux on a VM and was surprised to see a large number of services enabled in systemd during the first boot, including ftpd! I have set up several Arch Linux installations before, and have never encountered this before.
    To be sure, I installed a second time. While still booted in the install ISO, I checked and verified that only a few services were enabled. After the first boot into the system, sure enough, a large number of services were enabled.
    Any ideas as to what might be causing this?
    Edit #1: found the following in journalctl. It looks like a bunch of packages are missing systemd preset files, and services that are missing preset files are enabled by default.
    Edit #2: filed a bug report: https://bugs.archlinux.org/task/41711
    Edit #3: until this is fixed, a workaround is to get systemd-214-2 from ARM and downgrade to that before your first boot into the new installation. After you've booted, you should be able to upgrade back to the current systemd and have everything work out.
    Edit #4: Fixed in systemd-216-3. If you installed and rebooted prior to 216-3 hitting [core], see here for a proper fix.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about iptables.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-root-fs.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable systemd-networkd-wait-online.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about busnames.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-remount-fs.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kpropd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about nscd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-setup-dev.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-done.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rsyncd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rlogin.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udev-trigger.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sys-kernel-config.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable systemd-journal-gatewayd.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about gpm.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about paths.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-remote.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about system-update.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-wall.path, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about quotaon.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-setup.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about final.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-initctl.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about talk.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-modules-load.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udevd-kernel.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about proc-sys-fs-binfmt_misc.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about nss-lookup.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about local-fs.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-switch-root.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dev-mqueue.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kpropd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-parse-etc.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-reboot.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about updatedb.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.resolve1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kadmind.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-update-utmp.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about ftpd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kdc.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journald.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about graphical.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sshd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-sysusers.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sys-kernel-debug.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-vconsole-setup.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about ldconfig.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable console-shell.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-console.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about machine.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-flush.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rescue.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.timedate1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about proc-sys-fs-binfmt_misc.automount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-firstboot.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-catalog-update.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sockets.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-hybrid-sleep.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-initctl.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about cryptsetup-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-resolved.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-hibernate.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-wall.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-logind.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sys-fs-fuse-connections.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-update-done.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about emergency.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about slices.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about iptables.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about logrotate.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-quotacheck.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about tmp.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dm-event.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-done.timer.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable console-getty.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-localed.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about printer.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-clean.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journald.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-shutdownd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about uuidd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.locale1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rsh.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-timesyncd.service.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable kexec.target.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-collect.service.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-drop.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about suspend.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about mkinitcpio-generate-shutdown-ramfs.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable [email protected].
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-update-utmp-runlevel.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about cryptsetup.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-fs.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about smartcard.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dbus.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-console.path, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-random-seed.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about uuidd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about basic.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about remote-fs-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dhcpcd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about logrotate.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sshdgenkeys.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-fsck-root.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about fstrim.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-suspend.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about swap.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.login1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-replay.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journald-dev-log.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about timers.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable rescue.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about user.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-sysctl.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about fstrim.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sysinit.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about hybrid-sleep.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dev-hugepages.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udev-hwdb-update.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-upload.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-shutdownd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about emergency.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-user-sessions.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sound.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable poweroff.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dbus.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable systemd-journal-gatewayd.socket.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about talk.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable remote-fs.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about shadow.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about system.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about bluetooth.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable syslog.socket.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about getty.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-kexec.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable halt.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about -.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about network-online.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sleep.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dm-event.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-clean.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about kmod-static-nodes.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about multi-user.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.machine1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about hibernate.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-networkd.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about nss-user-lookup.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-halt.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about umount.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about network.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-timedated.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udevd-control.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about ip6tables.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sshd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about time-sync.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about updatedb.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sigpwr.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-poweroff.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-udevadm-cleanup-db.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rpcbind.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about shadow.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about network-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-switch-root.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable debug-shell.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-hostnamed.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about telnet.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable reboot.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.hostname1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rsyncd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-machined.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about local-fs-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-remote.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udev-settle.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-binfmt.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udevd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about shutdown.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-cleanup.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Populated /etc with preset unit settings.
    Things enabled before first boot (based on contents of /etc/system/systemd/*.wants):
    getty.target.wants:
    * [email protected]
    multi-user.target.wants:
    * [email protected]
    * iptables.service
    * remote-fs.target
    * sshd.service
    sysinit.target.wants:
    (none)
    Stuff additionally enabled and started during first boot (also based on /etc/system/systemd/*.wants):
    default.target.wants:
    * systemd-readahead-collect.service
    * systemd-readahead-replay.service
    multi-user.target.wants:
    * dhcpcd.service * krb5-kpropd.service
    * fstrim.service * nscd.service
    * ftpd.service * rsyncd.service
    * gpm.service * systemd-journal-upload.service
    * ip6tables.service * systemd-networkd.service
    * krb5-kadmind.service * systemd-resolved.service
    * krb5-kdc.service
    sockets.target.wants:
    * krb5-kpropd.socket * systemd-journal-remote.socket
    * rlogin.socket * talk.socket
    * rsh.socket * telnet.socket
    * rsyncd.socket * uuidd.socket
    * sshd.socket
    sysinit.target.wants:
    * dm-event.service
    * systemd-timesyncd.service
    system-update.target.wants:
    * systemd-readahead-drop.service
    Explicitly installed packages:
    dhcpcd iputils procps-ng systemd-sysvcompat
    diffutils linux-grsec psmisc tar
    dnsutils logrotate reflector vim-systemd
    file mlocate rsync wget
    gradm mtr s-nail which
    grub openssh screen whois
    inetutils pacman
    Last edited by tazmanian (2014-09-10 23:11:42)

    +1.
    Here is the ports these services are listening:
    $ ss -tpl
    State      Recv-Q Send-Q                                                                                                       Local Address:Port                                                                                                           Peer Address:Port   
    LISTEN     0      128                                                                                                                      *:llmnr                                                                                                                     *:*       
    LISTEN     0      128                                                                                                                      *:ssh                                                                                                                       *:*       
    LISTEN     0      128                                                                                                                     :::llmnr                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::19532                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::tell                                                                                                                     :::*       
    LISTEN     0      128                                                                                                                     :::ssh                                                                                                                      :::*       
    LISTEN     0      128                                                                                                                     :::telnet                                                                                                                   :::*       
    LISTEN     0      128                                                                                                                     :::login                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::shell                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::rsync                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::git                                                                                                                      :::*

  • Mail - how to send to large number of recipients?

    How can I send an email to a large number of recipients that I hold addresses for in a document without a) adding them to my contacts, and b) so that they can't all see each others addresses?

    I thought about using BCC, but it seems a little messy although it would do the job.
    Messy how?  That's exactly what it's for.  In fact, there's no other way to hide addresses from other recipients of the message.  The only other way to do it would be to script automated sending of one message per address, and that would get quite messy!
    What is the maximum number of recipients that Mail can handle?
    There's no limit enforced by Mail, AFAIK.  The limits come from the SMTP server you're using.
    One of the issues I had when using Outlook on Windows for this by copying and pasting from a text document, was that if there was an invalid/non-existent address in the list, it would just return an error and I was never quite sure if the whole thing didn't send, or if it was just to the dodgy address(es).
    In Mail, you'll just get a bounce message for any addresses that don't exist.  The one exception to that is addresses on the same server that you're sending from...  often, the server will simply reject the attempt to send to an address that it knows doesn't exist.  I'm not sure what kind of message the server returns in that case, though, and suspect it depends on the server.  It's been a while since I've seen such a problem.

Maybe you are looking for

  • RDF report not displaying result in E-business suite.

    Hi, I have designed a very simple rdf report in Oracle Reports 10g.It has a single select query in it which selects some columns.When I run the report in the report builder then I get the proper result but when I run the report from E-business suite(

  • Homesharing from PC to iTunes

    i just updated to the new itunes version 11.1.1 on both my mac and on the pc computer and now i cant use home sharing. both computers are authorised and using the same apple id. my mac library comes up on the pc but no music will show. i want to move

  • Press the esc key for startup menu

    My HP mini netbook won'tload to the start-up page.  I'm using Windows 7. I get the following messgae "Press the Esc key for startup menu" but when I do nothing happens.

  • CS5 converting .eps files

    I discovered, much to my horror, when I first began using CS5 that when I created an .eps file in Illustrator that my files were being converted to Photoshop .eps files. Using the Get Info window, I had to change the option in the Open With box back

  • How to convert images which is not supported by the ImageIO?

    I have made one project. In that i have used some images and render them on some screen. Now there are many images which is not supported by the ImageIO class bcz its showing me exception like javax.imageio.IIOException: Unsupported Image Typeso what