Comments (3)
I have the same problem with in our installation of PL/Java. Segmentation fault received.
SELECT sqlj.install_jar(:triggersJar, 'triggers', false);
psql:triggers/install_triggers.sql:1: WARNING: java.lang.UnsatisfiedLinkError: org.postgresql.pljava.internal.Backend._getStatementCacheSize()I
psql:triggers/install_triggers.sql:1: ERROR: Unable to load class org/postgresql/pljava/internal/ExecutionPlan using CLASSPATH '-Djava.class.path=/usr/local/pgsql-9.1/lib/activemq-all.jar:/usr/local/pgsql-9.1/lib/postgresql.jar:/usr/local/pgsql-9.1/lib/pljava.jar:/usr/local/pgsql-9.1/lib/pljava.so:/usr/local/pgsql-9.1/lib/slf4j-log4j12-1.6.4.jar:/usr/local/pgsql-9.1/lib/log4j-1.2.15.jar:/usr/local/pgsql-9.1/lib/commons-logging-1.1.1.jar:/opt/jetty/resources'
SELECT sqlj.set_classpath('public', 'triggers');
Looks rather like incompatibility of the PL/Java and version 9.1
from pljava.
I am a bit perplexed by this bug report - are you still in a position where you could give more details, or did you get it working eventually?
From the information above, I don't think this can involve an incompatibility with a PostgreSQL version. The _getStatementCacheSize
function is not part of PostgreSQL, it's part of PL/Java itself, so somehow PL/Java got built in a way that left it with problems finding its own function symbols. What's more strange is that the line that registers that function with JNI and the function definition itself don't appear to have changed in the source code at all in eleven years.
To figure this out, it might take more details on the exact environment where you built PL/Java, maybe a log from the build ... if you are still able to provide that.
Thanks!
from pljava.
Nothing heard from the original reporter in a couple of months, the report is old, and 1.5.0-SNAPSHOT is testing well on several platforms and PG versions up to 9.5. Closing.
from pljava.
Related Issues (20)
- 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
- pljava.ddr This script file related issues HOT 13
- Execute Java Code at PostgreSQL startup to "Get Things Ready" HOT 1
- I meet a compile error while compiling PL/Java using maven HOT 6
- How to implement a special top-N group function? HOT 1
- How to set classpath including multiple jars? HOT 2
- Reminder - there are official-ish releases for Debian + TestContainer notes
- Getting Build Failure issue after 'mvn clean install'. HOT 6
- pljava-so: TypeError: null is not an Object in <eval> 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.