You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Raj Saini <ra...@gmail.com> on 2009/05/29 12:45:38 UTC

[Triplesec] Server startup problem after running configuration wizard.

Hi,

I am trying to run the Triplesec server. I could install the server successfully and ran the configuration wizard. On completion of configuration wizard, server dies when it restarts. I found the below stack trace in the standard out logs of tomcat. It looks there is a problem with the Spring configuration but I am not sure what does it mean. May be someone more knowledgeable about Triplesec can help me.

<stacktrace>
[05:16:28] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on org.safehaus.triplesec.Service.init(InstallationLayout, String[])
org.springframework.beans.factory.BeanDefinitionStoreException: Line 255 in XML document from URL [file:/usr/local/triplesec-0.7.1/conf/server.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Attribute value "7dayofficePartitionConfiguration" of type ID must be a name.
org.xml.sax.SAXParseException: Attribute value "7dayofficePartitionConfiguration" of type ID must be a name.
        at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:222)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
        at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:81)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:89)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:74)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:65)
        at org.safehaus.triplesec.Service.init(Service.java:245)
</stacktrace>


Re: [Triplesec] Server startup problem after running configuration wizard.

Posted by Alex Karasulu <ak...@gmail.com>.
Raj,

Tsec right now is not in the best shape it can be.  We're in fact waiting to
release ApacheDS 2.0 in the very near future before revamping Tsec
completely.  This initial version really was a prototype of what can be
done.

Regards.

On Fri, May 29, 2009 at 6:45 AM, Raj Saini <ra...@gmail.com> wrote:

> Hi,
>
> I am trying to run the Triplesec server. I could install the server
> successfully and ran the configuration wizard. On completion of
> configuration wizard, server dies when it restarts. I found the below stack
> trace in the standard out logs of tomcat. It looks there is a problem with
> the Spring configuration but I am not sure what does it mean. May be someone
> more knowledgeable about Triplesec can help me.
>
> <stacktrace>
> [05:16:28] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on
> org.safehaus.triplesec.Service.init(InstallationLayout, String[])
> org.springframework.beans.factory.BeanDefinitionStoreException: Line 255 in
> XML document from URL [file:/usr/local/triplesec-0.7.1/conf/server.xml] is
> invalid; nested exception is org.xml.sax.SAXParseException: Attribute value
> "7dayofficePartitionConfiguration" of type ID must be a name.
> org.xml.sax.SAXParseException: Attribute value
> "7dayofficePartitionConfiguration" of type ID must be a name.
>       at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
>       at
> org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
>       at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:222)
>       at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
>       at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
>       at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
>       at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
>       at
> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
>       at
> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:81)
>       at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
>       at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
>       at
> org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:89)
>       at
> org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:74)
>       at
> org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:65)
>       at org.safehaus.triplesec.Service.init(Service.java:245)
> </stacktrace>
>
>


-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org