EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB36773: Error when configuring WebServices on Websphere 7 "Exception caught in TestService. Exception text = javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0x45) found in the prologue of the document"


Community Admin

• Strategy


Error when configuring WebServices on Websphere 7 "Exception caught in TestService. Exception text = javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0x45) found in the prologue of the document"

DETAILED DESCRIPTION:
In order to use Strategy Office, the MicroStratetegy Web Service application needs to be deployed and configured.
After the deployment of the StrategyWS.war file in a WebSphere (version 7.0.0.9) environment and customizing the projectsources.xml file to the required  Project Source, the application is tested by accessing the URL
http ://<host>:<Port>/StrategyWS/
 
After all information is given to the forms and the "run" button is pressed, the TestService page results in an exception:
TestService Results (1) Exception caught in TestService. Exception text = javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0x45) found in the prologue of the document
 
The Application Server Error Log has Java errors of the form
 
java.lang.NoClassDefFoundError: org.apache.woden.resolver.URIResolver  
 at java.lang.J9VMInternals.verifyImpl(Native Method)                  
 at java.lang.J9VMInternals.verify(J9VMInternals.java:72)              
 at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)         
 at                                                                    
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServicesFromWeb
Inf(WarBasedAxisConfigurator.java:316) at                                                                    
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBas
edAxisConfigurator.java:281)                                           
 at                                                                    
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:82)                           
 at                                                                    
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
t.java:519)                                                            
 at                                                                    
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:437) 
 at                                                                    
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:
358)    
 
CAUSE:
Some class definitions are not found by the Application Server as class loading has not been configured for the Web Services Application.
 
ACTION:
 
Check note KB31951 and follow the instructions provided to enable class loading, then retry the test.
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 7, 2017

Last Updated:

June 7, 2017