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
2 replies
Subscribers
5 subscribers
Views
1178 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi, I have written a smart service and added its jar to admin/plugins folde
pkate
over 11 years ago
Hi,
I have written a smart service and added its jar to admin/plugins folder. It worked beautifully. Now i decided to remove of all hard coded values and use resource bundle for various properties required. I used ResourceBundle rb = new ResourceBundle("conf.custom");
I redeployed in admin/plugins folder - but it complained that ResourceBundle cannot be found.
So i moved this jar file to lib dir under appian/ear/suite.ear/lib. But now i got the error message "CannotInstantiateClass" for my smart service.
So i added a default constructor, after which i got the error message "ClassCastException: Cannot cast class to AbstractActivity". My SmartService extends AppianSmartService and uses annotations.
Any pointers on what needs to be done here?
Thanks in advance. ...
OriginalPostID-42474
OriginalPostID-42474
Discussion posts and replies are publicly visible
Parents
0
pkate
over 11 years ago
I did go through this. But this requires we create a new properties file with predefined name. But i want to use my application's existing property file and read from it. And this approach does not support that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
pkate
over 11 years ago
I did go through this. But this requires we create a new properties file with predefined name. But i want to use my application's existing property file and read from it. And this approach does not support that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data