AnsweredAssumed Answered

JbossAS 6.1 - Mail service configuration

Question asked by kuflu01 on May 6, 2015
Latest reply on May 7, 2015 by kuflu01



I'm trying to configure mail service on JBossAS 6.1 and I keep getting following error:

{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"mail-service.xml\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"mail-service.xml\".PARSE: JBAS018733: Failed to process phase PARSE of deployment \"mail-service.xml\"

    Caused by: JBAS017224: Failed to parse service xml [\"/C:/Windows/System32/content/mail-service.xml\"]

    Caused by: java.lang.IllegalStateException: Not a textual event (START_ELEMENT)"}}}}


I'm not sure, but for me it looks like problem with reading mail-service.xml:


<?xml version="1.0" encoding="UTF-8"?>


  <mbean code="org.jboss.mail.MailService" name="jboss:service=Mail">

    <attribute name="JNDIName">java:/Mail</attribute>

    <attribute name="User">nobody</attribute>

    <attribute name="Password">password</attribute>

    <attribute name="Configuration">


        <property name="" value="pop3"/>

        <property name="mail.transport.protocol" value="smtp"/>

        <property name="mail.user" value="nobody"/>

        <property name="" value=""/>

        <property name="" value="localhost"/>

        <property name="mail.smtp.port" value="25"/>

        <property name="mail.from" value=""/>

        <property name="mail.debug" value="false"/>







I'm out of ideas (I've tried to find soluttion on google, but no luck so far).


Anynone had that issue solved?