Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with security manager call in post-install.xql #17

Open
duncdrum opened this issue Apr 7, 2024 · 0 comments
Open

Problem with security manager call in post-install.xql #17

duncdrum opened this issue Apr 7, 2024 · 0 comments
Labels

Comments

@duncdrum
Copy link
Contributor

duncdrum commented Apr 7, 2024

the Xquery test is missing the production credentials so this won't pass either

There are likely twitter -> X api changes to consider as well

logs (truncated):

2024-04-07 22:30:51 07 Apr 2024 20:30:51,847 [main] ERROR (AutoDeploymentTrigger.java [execute]:127) - Exception during deployment of app twitter.xar: Error found while processing repo.xml: exerr:ERROR org.exist.EXistException: Database instance 'exist' is not available [at line 90, column 17, source: /exist/etc/../data/expathrepo/twitter-1.0.0-SNAPSHOT/post-install.xql] 
2024-04-07 22:30:51 org.expath.pkg.repo.PackageException: Error found while processing repo.xml: exerr:ERROR org.exist.EXistException: Database instance 'exist' is not available [at line 90, column 17, source: /exist/etc/../data/expathrepo/twitter-1.0.0-SNAPSHOT/post-install.xql]
2024-04-07 22:30:51     at org.exist.repo.Deployment.deploy(Deployment.java:469) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.repo.Deployment.installAndDeploy(Deployment.java:281) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.repo.AutoDeploymentTrigger.execute(AutoDeploymentTrigger.java:125) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.storage.StartupTriggersManager.startPreMultiUserSystem(StartupTriggersManager.java:61) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.storage.BrokerPoolServicesManager.startPreMultiUserSystemServices(BrokerPoolServicesManager.java:264) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.storage.BrokerPool._initialize(BrokerPool.java:682) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.storage.BrokerPool.initialize(BrokerPool.java:451) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.storage.BrokerPools.configure(BrokerPools.java:177) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.storage.BrokerPools.configure(BrokerPools.java:112) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.jetty.JettyStart.run(JettyStart.java:217) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.jetty.JettyStart.main(JettyStart.java:103) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
2024-04-07 22:30:51     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
2024-04-07 22:30:51     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
2024-04-07 22:30:51     at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
2024-04-07 22:30:51     at org.exist.start.Main.invokeMain(Main.java:153) ~[exist-start-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.start.Main.runEx(Main.java:292) ~[exist-start-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.start.Main.run(Main.java:158) ~[exist-start-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.start.Main.main(Main.java:95) ~[exist-start-6.2.0.jar:6.2.0]
2024-04-07 22:30:51 Caused by: org.exist.xquery.XPathException: exerr:ERROR org.exist.EXistException: Database instance 'exist' is not available [at line 90, column 17, source: /exist/etc/../data/expathrepo/twitter-1.0.0-SNAPSHOT/post-install.xql]
2024-04-07 22:30:51     at org.exist.xquery.functions.securitymanager.AccountManagementFunction.eval(AccountManagementFunction.java:237) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.xquery.BasicFunction.eval(BasicFunction.java:73) ~[exist-core-6.2.0.jar:6.2.0]
2024-04-07 22:30:51     at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:62) ~[exist-core-6.2.0.jar:6.2.0]
…
@duncdrum duncdrum added the bug label Apr 7, 2024
duncdrum added a commit that referenced this issue Apr 7, 2024
add dbutil module
declare undeclared deps
skip test for error

see #17
close #14
duncdrum added a commit that referenced this issue Apr 7, 2024
add dbutil module
declare undeclared deps
skip test for error

see #17
close #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant