org.xmldb.api.base.XMLDBException

HTTP server returned unexpected status: Unauthorized


Solutions on the web12

Solution icon of github
via GitHub by zacheryt757
, 7 months ago
HTTP server returned unexpected status: Unauthorized

Solution icon of github
HTTP server returned unexpected status: Unauthorized

Solution icon of apache
via xml-xindice-users by Natalia Shilenkova, 1 year ago
Failed to execute command 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error parsing Document

Solution icon of apache
via xml-xindice-users by Jethro Grassie, 1 year ago
Failed to execute command 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error parsing Document

Solution icon of apache
via xml-xindice-users by Natalia Shilenkova, 1 year ago
Failed to execute command 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error parsing Document

Solution icon of apache
via xml-xindice-users by Jethro Grassie, 1 year ago
Failed to execute command 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error parsing Document

Solution icon of apache
via xml-xindice-users by Natalia Shilenkova, 1 year ago
Failed to execute command >> 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error >> parsing Document at >> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:125) at >> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(CollectionImpl.java:241) at >> org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:89)

Solution icon of apache
via xml-xindice-users by Jethro Grassie, 1 year ago
Failed to execute command 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: > Error parsing Document at > org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:125) at > org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(CollectionImpl.java:241) at > org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:89)

Solution icon of github
exerr:ERROR <AST>:0:0: unexpected AST node: DynamicFunction [at line 6, column 10]

Solution icon of web
Failed to invoke method queryP in class org.exist.xmlrpc.RpcConnection: org.exist.xquery.StaticXQueryException: exerr:ERROR org.exist.xquery.XPathException: exerr:ERROR err:XPST0003 in line 1, column 58: unexpected token: .

Stack trace

  • org.xmldb.api.base.XMLDBException: HTTP server returned unexpected status: Unauthorized at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:98) at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:80) at org.exist.xmldb.DatabaseImpl.readCollection(DatabaseImpl.java:279) at org.exist.xmldb.DatabaseImpl.getRemoteCollection(DatabaseImpl.java:241) at org.exist.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:164) at org.exist.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:153) at org.xmldb.api.DatabaseManager.getCollection(Unknown Source) at org.exist.client.InteractiveClient.connect(InteractiveClient.java:327) at org.exist.client.InteractiveClient.connectToDatabase(InteractiveClient.java:2335) at org.exist.client.InteractiveClient.run(InteractiveClient.java:2423) at org.exist.client.InteractiveClient.main(InteractiveClient.java:289) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.exist.start.Main.invokeMain(Main.java:126) at org.exist.start.Main.run(Main.java:448) at org.exist.start.Main.main(Main.java:50) Caused by: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status: Unauthorized at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream(XmlRpcSunHttpTransport.java:94) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:152) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143) at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147) at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:89) ... 17 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago