Hi,

I am working with jboss-soa-p.4.2.0 which consist of JBoss ESB 4.2.1 GA .I want to develop a service that gets invoked as soon as some specific email comes to my mail id. I have a pop3 mail server.

For this i used the sample that is given in JCA Message inflow and i have made the changes in jbossesb file but when Iam executing the sample i get following error . It is unable to perform folder check .All my mails are received in my inbox. How  should i define the folder name in the jbosesb.xml? Or is there any other problem?
Code:

2008-08-26 12:41:14,988 INFO  [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstar
t_helloworld_mail_Request_esb] stopped
2008-08-26 12:41:15,081 INFO  [org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer] create esb serv
ice, Quickstart_helloworld_mail.esb
2008-08-26 12:41:15,097 INFO  [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstar
t_helloworld_mail_Request_esb] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2008-08-26 12:41:15,097 INFO  [org.jboss.resource.deployment.RARDeployment] Required license terms e
xist, view META-INF/ra.xml in .../tmp/deploy/tmp15160Quickstart_helloworld_mail.esb-contents/mail-ra
.rar
2008-08-26 12:41:15,222 INFO  [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_N
ON_CLUSTERED started.
2008-08-26 12:41:46,222
 ERROR [org.jboss.resource.adapter.mail.inflow.MailActivation] Failed to execute folder check, spec=MailActivationSpec(mailServer=192.168.120.210, storeProtocol=pop, mailFolder=Inbox, pollingInterval=30000, messageSelector=null, userName=neha.pandey@robotics, maxMessages=1, debug=false, starttls=false)
2008-08-26 12:42:17,190
 ERROR [org.jboss.resource.adapter.mail.inflow.MailActivation] Failed to execute folder check, spec=MailActivationSpec(mailServer=192.168.120.210, storeProtocol=pop, mailFolder=Inbox, pollingInterval=30000, messageSelector=null, userName=neha.pandey@robotics, maxMessages=1, debug=false, starttls=false)


My jboss esb file is

Code:
 <services>
     <service category="MailServiceESB" name="MailListener"
             description="Hello World Mail Service">
         <listeners>
             <jca-gateway name="Mail-JCA-Gateway"
                 adapter="Quickstart_helloworld_mail.esb#mail-ra.rar"
                 endpointClass="org.jboss.soa.esb.samples.quickstart.helloworld_mail.MailEndpoint"
                 is-gateway="true" transacted="false">
                <activation-config>
                         <property name="mailServer" value="192.168.120.210"/>
                         <property name="storeProtocol" value="pop"/>
                         <property name="mailFolder" value="*"/>
                         <property name="userName" value="neha.pandey@lntrobotics"/>
                         <property name="password" value="Newuser123"/>
                         <property name="pollingInterval" value="30000"/>
                 </activation-config>
             </jca-gateway>
             <jms-listener name="JMS-ESBListener"
                          busidref="quickstartEsbChannel"
                          maxThreads="1"
                    />
         </listeners>
         <actions>
                <action name="action1"
                        class="org.jboss.soa.esb.samples.quickstart.helloworld_mail.MyMailListenerAction"
                        process="displayMessage"
                        />      
                 <action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln">
                   <property name="printfull" value="true"/>
                 </action>
         </actions>
     </service>
   </services>

What should i do?        


Thanks & Regards,
Neha Pandey
Center of Excellence - SOA Group
L &T Infotech Limited
Gate no. - 5, Technology Center ,
4th Floor - West side
Powai.
Mumbai 400 072.

______________________________________________________________________