title: how to run apache's vysper xmpp server
body: <p>I'm having issue running vysper.</p>
  
  <ol>
  <li>Download/Extract Files frome <a href="http://mina.apache.org/vysper-project/downloads.html" rel="nofollow">here</a> (Apache Vysper 0.7 Release)</li>
  <li>Modified the spring-config.xml to have additional users/passwords</li>
  </ol>
  
  <p>Just updated this section:</p>
  
  <pre><code> &lt;bean id="addUsers" class="org.apache.vysper.spring.AddUserHelper"&gt;
          &lt;constructor-arg index="0"&gt;
              &lt;map&gt;
                  &lt;entry key="admin@test" value="Password" /&gt;
                  &lt;entry key="darewreck@test" value="Password" /&gt;
                  &lt;!--&lt;entry key="user2@vysper.org" value="CHOOSE A SECURE PASSWORD" /&gt;--&gt;
                  &lt;!--&lt;entry key="user3@vysper.org" value="CHOOSE A SECURE PASSWORD" /&gt;--&gt;
              &lt;/map&gt;
          &lt;/constructor-arg&gt;
          &lt;property name="storageProviderRegistry" ref="storageRegistry" /&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>I'm assumign that "test" is the registered domain for the server when it runs?<br>
  Or is there a place you specify the domain of the server?</p>
  
  <ol start="3">
  <li>executed /bin/run.bat</li>
  </ol>
  
  <blockquote>
    <p>16:16:22,415 | INFO  |
    org.springframework.context.support.ClassPathXmlApplicationContext |
    Refreshing
    org.springframework.context.support.ClassPathXmlApplicationContext@625e068:
    startup date [Mon Sep
         16 16:16:22 PDT 2013]; root of context hierarchy
        16:16:22,457 | INFO  | org.springframework.beans.factory.xml.XmlBeanDefinitionReader |
    Loading XML bean definitions from class path resource
    [spring-config.xml]
        16:16:22,514 | INFO  | org.springframework.beans.factory.support.DefaultListableBeanFactory |
    Pre-instantiating singletons in
    org.springframework.beans.factory.support.DefaultListableBeanFactory@19f9e
        414: defining beans [inmemoryStorageRegistry,jcrStorageRegistry,addUsers,tcpEndpoint,server];
    root of factory hierarchy
        16:16:22,762 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | replacing
    the storage provider registry with
    org.apache.vysper.storage.inmemory.MemoryStorageProviderRegistry
        16:16:22,821 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... servicediscovery (1.0beta)
        16:16:22,825 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... roster (1.0beta)
        16:16:22,877 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0092 Software Version (1.0)
        16:16:22,881 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0202 Entity Time (1.0)
        16:16:22,883 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0054 Vcard-temp (1.0)
        16:16:22,883 | ERROR | org.apache.vysper.xmpp.modules.extension.xep0054_vcardtemp.VcardTempModule
    | no VcardTempPersistenceManager found
        16:16:22,883 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0199 XMPP Ping (2.0)
        16:16:22,883 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0049 Private Data (1.2)
        16:16:22,884 | ERROR | org.apache.vysper.xmpp.modules.extension.xep0049_privatedata.PrivateDataModule
    | no PrivateDataPersistenceManager found
        16:16:22,884 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0050 Ad-hoc Commands (1.2)
        16:16:22,885 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0133 Service Administration (1.1)
        16:16:22,885 | INFO  | org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
    module... XEP-0045 Multi-user chat (1.24)
        16:16:22,891 | WARN  | org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule | No
    room storage provider found, using the default (in memory)
        16:16:22,891 | WARN  | org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule | No
    occupant storage provider found, using the default (in memory)</p>
  </blockquote>
  
  <ol start="4">
  <li>Opened an XMPP client (Swift) (Any XMPP client should work)</li>
  </ol>
  
  <p>User: darewreck@test
  Password: Password</p>
  
  <p>However, Swift Client receives an encryption error.  I'm not really sure what I'm doing wrong.</p>
  
  <p>The server prints out:</p>
  
  <pre><code>16:18:49,571 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = INITIATED
  16:18:56,582 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza: &lt;stream:stream xmlns:stream="http://etherx.jabber.org/streams" to="test" version="1.0"&gt;&lt;/stream:stream
  &gt;
  16:18:56,584 | INFO  | stanza.client | stream
  16:18:56,585 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = STARTED
  16:18:56,588 | INFO  | stanza.server | stream.starttls[required]
  16:18:56,590 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza: &lt;starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"&gt;&lt;/starttls&gt;
  16:18:56,591 | INFO  | stanza.client | starttls
  16:18:56,592 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = ENCRYPTION_STARTED
  16:18:56,604 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = CLOSED
  </code></pre>
  
  <p>Is there something i'm not configuring correctly with the authentication/password provided in the spring-config.xml file?</p>