portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Ruttimann <roger.ruttim...@earthlink.net>
Subject Re: Jetspeed-2 plugin Apache DS server
Date Sat, 12 Nov 2005 22:00:31 GMT
I found the problem.

The first / in the path gets stripped out. If I define
    org.apache.jetspeed.portal.home = //home/rogerrut/workspace/jetspeed-2
the server starts up fine but defining the path without a double // 
gives me the error.


Roger

David Le Strat wrote:

>Roger,
>
>This is weird, the location of apacheds-server.xml is:
>
>org.apache.jetspeed.plugin.ldap.conf
>   ="${org.apache.jetspeed.portal.home}/
>     ${org.apache.jetspeed.portal.ldap.dir}/
>     apacheds-server.xml"
>
>Have you defined org.apache.jetspeed.portal.ldap.dir
>as a full path somewhere?
>
>Regards,
>
>David Le Strat
>
>--- Roger Ruttimann <roger.ruttimann@earthlink.net>
>wrote:
>
>  
>
>>I tried to launch the Apache DS server ( maven
>>j2:start.ldap.server) but 
>>it failed with a file not found exception.
>>
>>I'm running it on a Linux box.
>>
>>It seems that the path are not right since the
>>config file is there ( 
>>target/portal-ldap/apacheds-server.xml). The
>>Jetspeed home path is 
>>appended twice (at least it looks like)
>>Where is it all set?
>>
>>Thanks
>>Roger
>>
>>Output:
>>j2:_start.ldap:
>>    [echo] ====================================
>>    [echo] Starting Apache LDAP
>>    [echo] ====================================
>>    [delete] Deleting directory 
>>
>>    
>>
>/home/rogerrut/workspace/jetspeed-2/target/apacheds/logs
>  
>
>>    [mkdir] Created dir: 
>>
>>    
>>
>/home/rogerrut/workspace/jetspeed-2/target/apacheds/logs
>  
>
>>    [java] [16:50:33] INFO
>>[org.apache.ldap.server.ServerMain] - server: 
>>loading settings from 
>>
>>    
>>
>/home/rogerrut/workspace/jetspeed-2//target/portal-ldap/apacheds-server.xml
>  
>
>>    [java] [16:50:33] INFO 
>>
>>    
>>
>[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
>  
>
>>- 
>>Loading XML bean definitions from file 
>>
>>    
>>
>[/home/rogerrut/workspace/jetspeed-2/home/rogerrut/workspace/jetspeed-2/target/portal-ldap/apacheds-server.xml]
>  
>
>>    [java] Exception in thread "main" 
>>
>>    
>>
>org.springframework.beans.factory.BeanDefinitionStoreException:
>  
>
>>IOException parsing XML document from file 
>>
>>    
>>
>[/home/rogerrut/workspace/jetspeed-2/home/rogerrut/workspace/jetspeed-2/target/portal-ldap/apacheds-server.xml];
>  
>
>>nested exception is java.io.FileNotFoundException: 
>>
>>    
>>
>home/rogerrut/workspace/jetspeed-2/target/portal-ldap/apacheds-server.xml
>  
>
>>(No such file or directory)
>>    [java] java.io.FileNotFoundException: 
>>
>>    
>>
>home/rogerrut/workspace/jetspeed-2/target/portal-ldap/apacheds-server.xml
>  
>
>>(No such file or directory)
>>    [java]      at
>>java.io.FileInputStream.open(Native Method)
>>
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail:
>>jetspeed-dev-unsubscribe@portals.apache.org
>>For additional commands, e-mail:
>>jetspeed-dev-help@portals.apache.org
>>
>>
>>    
>>
>
>
>________________________
>David Le Strat
>Blogging @ http://dlsthoughts.blogspot.com
>
>
>	
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message