Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
9 replies
Subscribers
7 subscribers
Views
4044 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
How can I debug/trace what is occurring during the polling interval for receivin
cathya
over 12 years ago
How can I debug/trace what is occurring during the polling interval for receiving email? I have created the ejb-jar.xml using the documentation and added the debug = true command as shown but I do not know how/where to follow what is happening on each poll of the email server. I understand these logs are not written to the standard application.server log and that I need to use JBOSS console to view them, but can someone please tell me how I do this? Thank-you....
OriginalPostID-30514
OriginalPostID-30514
Discussion posts and replies are publicly visible
0
Sunny
Appian Employee
over 12 years ago
Are you running Jboss in Windows or Linux environment?
For windows, you have to start Jboss in foreground. i.e In a command prompt. You can view those debug statements in Jboss console.
In linux, it is much easier. You can forward the console output in nohup.out file. Like run.sh & > nohup.out.
This file should have all the email polling debug statements.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cathya
over 12 years ago
Thanks for the response. It's Windows. So, I started jboss using the command line run.bat in the jboss folder under the appian install. Should I start seeing polling messages scroll by every 5 minutes if that is what my interval is set at? And if nothing happens?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sunny
Appian Employee
over 12 years ago
Yes, you should be see debug statements in Jboss console window for every poll. If the debug is true and configuration is correct, you should be seeing a lot of data for each email polling.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cathya
over 12 years ago
Thanks for your help sunny. I have determined that the connection to the email server is failing due to authentication issues. Even though I have the startttls set to true in the file, the log always shows isSSL as false. I believe that is my problem. I know you can't use ssl to send mail so I connect to aspmx.l.google.com in the custom.properties and I can send mail from appian. But how do I get the isSSL value set to true in the ejb-jar.xml?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sean.berquist
Appian Employee
over 12 years ago
If you are using IMAP you must set the storeProtocol to IMAPS in addition to setting starttls to true.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sean.berquist
Appian Employee
over 12 years ago
also make sure protocol is lower case, so it would be imaps not IMAPS
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cathya
over 12 years ago
Thanks Sean. I'm using pop3 with startttls set to true. Is this not valid so I have to use imaps?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sunny
Appian Employee
over 12 years ago
Use pop3s in the protocol
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
iseyfi
over 12 years ago
I am having similar issues. I enabled debugging but I am unable to see the logs. We are using a managed server in WebLogic.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel