Comments (2)
Keeping this issue (of the original three) open as a reminder there could be better documentation of how to backup/restore, and maybe better error messages from classloading/method resolution.
From the details above, it does not appear the OP had a problem related to typemap_entry
. It seems more likely that the proper jar entries were not found or the right methods could not be found within them. It would have been helpful to know what was in jar_repository
and jar_entry
. Looking at the code where that message is produced, it seems there must have been a class, but the method was not found. Perhaps there was a version mismatch in the classes loaded?
It is possible that the JNI getStaticMethodID
method creates an exception that would contain additional information not currently included in the message PL/Java reports. If so, perhaps the message could be made more helpful.
from pljava.
It appears the original reporter will not be back. There was probably not a PL/Java problem here, and it will be hard to get more information about the reporter's situation. Some response to the issues I can see may help future readers who see this ticket.
The Unable to find static method
messages would have been accompanied by the details of the underlying Java exceptions, but those details would have gone to stderr
directly, instead of through the PostgreSQL logging system. I am not sure (for Windows) how to view the messages that were printed to stderr
, but it will be helpful in troubleshooting. Future developments in the logging infrastructure should improve this.
PL/Java itself was operating, ruling out problems with the dynamic library path or pljava.classpath
. However, pljava.classpath
only needed to have pljava.jar
in it. The jdbc jar is not needed (for any purpose in PL/Java, unless the reporter specifically wrote Java code using it to open other database connections), and the Mission.jar
only needed to be installed with sqlj.install_jar
, not to be in the pljava.classpath
(which is only where PL/Java needs to find its own code).
Conversely, sqlj.install_jar
did not need to be done for pljava.jar
, only for Mission.jar
.
Those are minor misconfigurations that did not cause the reported problem, but clarifying them may save someone else a bit of time. Whatever was happening for the poster will not be known without more reported detail.
Therefore, closing.
from pljava.
Related Issues (20)
- Java 20 breaks `LexicalsTest.testSeparator` HOT 3
- "cannot parse AS string" for 1-letter identifiers HOT 1
- JSONB type mapping HOT 2
- wiki update: prebuilt docker images HOT 2
- Vulnerability scan: multiple issues HOT 12
- `NEWLINE` pattern can fail to match HOT 1
- wiki update: testcontainers magic HOT 2
- Error building against PostgreSQL 16 HOT 4
- Fails on s390x HOT 1
- Always prompts that the language pljava does not exist HOT 4
- Class Loading issue HOT 31
- Question: How to install Pl/Java into AWS RDS Postgres HOT 2
- Compilen error occuring while running mvn clean install HOT 2
- dependency not adding..issue in plugin HOT 1
- fatal error: postgres.h: No such file or directory HOT 2
- XML parsing errors reported as `XX000` when DOM API is used HOT 1
- Documentation comments for sandboxed and unsandboxed grants in pljava.policy inverted HOT 6
- Publish PlJava to a public Maven Repository HOT 2
- Unhelpful output when build fails because no platform rules matched HOT 10
- undefined symbol: GetMemoryChunkContext HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pljava.