<commit_before>
package apps;
import joseki.rdfserver;

public class Run_rdfserver
{
    static {
//        setPropertyDefault("org.apache.commons.logging.Log",
//                "org.apache.commons.logging.impl.Jdk14Logger");
        setPropertyDefault("org.apache.commons.logging.Log",
                "org.apache.commons.logging.impl.Log4JLogger");
        
        setPropertyDefault("java.util.logging.config.file", "etc/logging.properties");
        setPropertyDefault("log4j.configuration", "file:log4j.properties") ;
    }
    
    
    public static void main(String[] args)
    {
        String a[] = {"joseki-dev.n3"} ;
        boolean x = Thread.currentThread().isDaemon() ;
        rdfserver.main(a) ;
        
        // Hmm -- exiting causes an exit even though other treads are around on some systems.
        // So the other threads must be daemon threads.  But why?
        
        
//        for ( ; ; )
//            try {
//                Runtime.getRuntime().wait(10000) ;
//            } catch (Exception ex) {}
    }
    
    static void setPropertyDefault(String name, String value)
    {
        if ( System.getProperty(name) == null )
            System.setProperty(name, value) ;
    }
}<commit_msg>Hack - loop after server started (observed, under Eclipse, one machine, Java 1.5.0) that program exits.  Does not else where.  Eclipse setting?<commit_after>
package apps;
import joseki.rdfserver;

public class Run_rdfserver
{
    static {
//        setPropertyDefault("org.apache.commons.logging.Log",
//                "org.apache.commons.logging.impl.Jdk14Logger");
        setPropertyDefault("org.apache.commons.logging.Log",
                "org.apache.commons.logging.impl.Log4JLogger");
        
        setPropertyDefault("java.util.logging.config.file", "etc/logging.properties");
        setPropertyDefault("log4j.configuration", "file:log4j.properties") ;
    }
    
    
    public static void main(String[] args)
    {
        String a[] = {"joseki-dev.n3"} ;
        
        rdfserver.main(a) ;
        
        // One one of my machines, the web server seems to have daemon threads
        // and so this exits now.  But why?
        // So the other threads must be daemon threads.  But why?

        for ( ; ; )
            try {
                Runtime.getRuntime().wait(10000) ;
            } catch (Exception ex) {}
    }
    
    static void setPropertyDefault(String name, String value)
    {
        if ( System.getProperty(name) == null )
            System.setProperty(name, value) ;
    }
}
{'fraction_non_alphanumeric': 0.11827111984282908, 'fraction_numerical': 0.009823182711198428, 'mean_word_length': 2.049101796407186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6317462', 'n_tokens_mistral': 751, 'n_tokens_neox': 726, 'n_words': 163}