cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
811
Views
0
Helpful
1
Replies

Http status 500 when login to Location Server Api

androidcisco7
Level 1
Level 1

Hello!!

Fisrt of all, sorry for my english.....
I have a problem.....
I installed the Cisco Location Services Plug-in for Eclipse so after installation appeared jar files to eclipse\plugins\cisco.locationapi\lib

and in the Tomcat folder appeared the LocationServerAPI.war.

After these, i started Tomcat and I clicked on Browser http://localhost:8080/LocationServerAPI/
and we have this >>
Localhost.jpg

i wrote Server Ip, Port:8080, my username and password and i had this error >>

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that  prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationException
     javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:183)
     org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:40)
     org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:66)
     org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:86)
     org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:58)
     org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:690)
     org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:109)
     org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)
     org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180)
     org.apache.axis2.client.ServiceClient.initializeTransports(ServiceClient.java:189)
     org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:118)
     org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:114)
     com.cisco.www.location.xsd.LocationServiceStub.<init>(LocationServiceStub.java:680)
     com.cisco.www.location.xsd.LocationServiceStub.<init>(LocationServiceStub.java:704)
     com.cisco.gui.Main.stub(Main.java:37)
     com.cisco.gui.Main.processRequest(Main.java:53)
     com.cisco.gui.Main.doPost(Main.java:146)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

note The full stack trace of the root cause is available in the  Apache Tomcat/7.0.5 logs.


Apache Tomcat/7.0.5

Can you help me???Do you have any idea???
Thanks in advance!

1 Reply 1

androidcisco7
Level 1
Level 1

Tell me, If you want to explain my problem even more!

Review Cisco Networking for a $25 gift card