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
7 replies
Subscribers
5 subscribers
Views
4182 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
User Last Login
Aram Serpekian
Certified Lead Developer
over 7 years ago
If we have a distributed environment with multiple JBoss servers. How can we through the public JAVA APIs access the the login-audit.csv on each of the servers?
The problem we're trying to solve is to find the last login timestamp for users.
OriginalPostID-261980
Discussion posts and replies are publicly visible
0
Josh
Certified Lead Developer
over 7 years ago
There is a shared component that will get this in Appian :
forum.appian.com/.../summary
If you download and unpack the jar you can see how this is achieved with the API. I've attached it for convenience!
GetUserLoginDetails.java
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aram Serpekian
Certified Lead Developer
over 7 years ago
Yes, I am aware of this plugin. It only works if the platform has 1 JBoss server. We need the solution if there are multiple JBoss servers. Thank you
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 7 years ago
Hmm. Have you read through the news post for the log collector plugin? There are some comments about environments with multiple JBoss servers:
forum.appian.com/.../e-132833
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aram Serpekian
Certified Lead Developer
over 7 years ago
Thank you Josh, I read the comments and I've checked the JAVA code in the plugin, It does not solve the problem of accessing multiple JBoss servers...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 7 years ago
if the logs are mounted on NFS shared folder, both the log reader plugin and the above shared component works fine. Anyway, the best practice is to use NFS shared folder for logs in clustered environment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
georgej
over 7 years ago
Try a custom servlet which will log the details into DB once a user tries to login. We have taken this route..and it is working perfect
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
@georgej, were you able to write the custom servlet without any modifications to the Appian product files? I have heard of this approach - which involves adding a filter in web.xml.. Are you doing something similar?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel