Comments (4)
Was this GlassFish 4.0, 4.1 or Payara 4.1.144?
from payara.
Apologies I just realised you are on Payara 4.1.
I tried your steps and didn't have a problem. The error you are getting is caused by the failure to autocreate the required JBatch tables.
Could you tell me whether you are using Payara 4.1.144 or a build of the current Master branch?
from payara.
Hi Steve,
I'm running on Payara 4.1.144, the one which I've downloaded from payara.co's website. When I posted this, I too have self doubts if this error could actually be reproduced, in fact, I have tried to wipe out the whole payara directory, unzip the payara.zip file again and re-setup the server as I use to have, run my app and...surprisingly the error is gone...
My code previously which triggered the error stated above is something like this:
StatelessBeanA
@TransactionAttribute( TransactionAttributeType.REQUIRED)
:- someMethod() which calls the below
-> StatelessBeanB
@TransactionAttribute( TransactionAttributeType.MANDATORY)
batchMethod(), which calls the below
-> batchJob.start()
With this, I wouldn't know if the transaction (which involves the application DB, which in my case is MariaDB) and Payara's Java DB) or the Executor Service (e.g. concurrent/__defaultManagedExecutorService) for the batch job is the cause of the issue here...
Anyway, we can mark this as unable to reproduce for now, but if I could find a consistent way of reproducing it, I'll drop you a comment. Sorry to have taken your time on this.
from payara.
No problem, the error is from the JBatch code and is because for some reason the tables haven't been created in your Derby database. These should be autocreated the first time JBatch is initialised. Deleting the whole directory will delete the Derby database as well so I suspect this time the database has been initialised correctly.
There may be a stack trace in the log indicating why creation of the tables failed.
from payara.
Related Issues (20)
- Bug Report: ClassCopierOrdinaryImpl is missing HOT 5
- Bug Report: Deploying applications to Virtual Servers payara 6 (and 5) is extremely difficult and has to be done manually when instances are defined. HOT 17
- Bug Report: Could not initialize class ClassCopierOrdinaryImpl HOT 3
- Bug Report: When a file is inserted into a project using file upload, it mounts temporary files, but they are not deleted/FISH-8311 HOT 1
- Bug Report: Payara API packages not released to Maven Central or Payara Nexus since 6.2023.9 HOT 2
- Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: CDI deployment failure:Unable to cast config source to type class io.smallrye.config.SmallRyeConfig -- Unable to cast config source to type class io.smallrye.config.SmallRyeConfigBug Report: HOT 5
- Bug Report: deployment fails with NPE when MPC value is only available profiled
- Bug Report: Application deployment and AS startup takes more RAM (ever growing) and too long (more than twice the time it took on previous releases) HOT 11
- Bug Report: unable to connect SSL enabled RDS instance through payara6 HOT 2
- Bug Report: CVE-2023-52428 in Connect2id Nimbus JOSE+JWT
- Using new eclipselink version 4.0.2 HOT 5
- allowLinking does not work HOT 9
- No fish.payara.api:payara-api maven artifact for version 6.2023.11 HOT 2
- Bug Report: Custom taglibs broken because old Mojarra version /FISH-8142 HOT 9
- [Regression] New HTTP/2 Warnings HOT 14
- Bug Report: Arquillian adapter does not pass system properties to tests HOT 2
- Enhancement: Upgrade to Weld 5.1.x HOT 1
- Bug Report: Fails to deploy CAR module HOT 7
- Bug Report: asadmin --help fails/ FISH-8437 HOT 1
- Bug Report: /metrics - invalid prometheus format (HELP duplicates)/FISH-8522 HOT 1
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 payara.