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
8 replies
Subscribers
7 subscribers
Views
2911 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am developing one custom smart service. When I deploy it on the appian. It giv
hrishikeshd
over 11 years ago
I am developing one custom smart service. When I deploy it on the appian. It give me error like
org.xhtmlrenderer.util.XRRuntimeException: Could not instantiate any SAX 2 parser, including JDK default. The name of the class to use should have been read from the org.xml.sax.driver System property, which is set to:
problem with generated xml file.I am not getting how to set xml parser on Appian or something like that. Any suggestions ?...
OriginalPostID-81394
OriginalPostID-81394
Discussion posts and replies are publicly visible
0
Sathya Srinivasan
Appian Employee
over 11 years ago
What version of Appian are you using. Are the JDK version of the plug-in and the one running the App server the same?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hrishikeshd
over 11 years ago
I am using Appian 6.7.1. Sorry but what does the JDK Version of the plug-in means ? My local jdk version and that of the App server is same.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
By JDK version of the plug-in, I meant the runtime JDK version you're using to compile the plug-in code. 6.7.1 uses JDK 6. If you happen to have your plug-in developed against JDK7 (from Eclipse), you may have issues deploying them as you now have a version mismatch.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hrishikeshd
over 11 years ago
ok. it's jdk 6 only.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
Okay, so where is the library for the parser stored? Is it part of the plug-in or is it being referenced in your development environment and not exported along with the plug-in bundle?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hrishikeshd
over 11 years ago
I tried with the both. First it was part of the libs in Plugin and then I copied it into the app server. I got the same error. where should I keep it ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
the file should be part of the plug-in. Don't put it in the app-server. So the only issue now is to check why it's not able to reference to the lib. You mentioned about a property file that links to this lib location. Is this getting loaded? Where are you using this? You can put some logging to find out if the property file is being consumed in the first place.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hrishikeshd
over 11 years ago
Ok. The lib should be part of plugin.I am not getting which property file. Actually I am creating smart service which convert html to pdf. so I think it should have create some xml file during conversion and it is not able to parse that xml. thtsy giving this error.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel