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

Exception when running job in GlassFish 4.1.1 #25

Open
bgoetzmann opened this issue Mar 21, 2017 · 0 comments
Open

Exception when running job in GlassFish 4.1.1 #25

bgoetzmann opened this issue Mar 21, 2017 · 0 comments

Comments

@bgoetzmann
Copy link

bgoetzmann commented Mar 21, 2017

Hi,

I followed the HOL with NetBeans 8.2 and GlassFish 4.1.1 (the version bundled with NetBeans 8.2).
After deploying the application, when I want to run job (link Sales, and then "Run Job" button), I get this exception :
java.util.ServiceConfigurationError: javax.batch.operations.JobOperator: Provider com.ibm.jbatch.container.api.impl.JobOperatorImpl could not be instantiated

with this cause:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.EmbeddedDriver

Looking at GlassFish Batch Runtime Configuration, I realized that GlasssFish uses __TimerPool as connection pool connection; and we have org.apache.derby.jdbc.EmbeddedXADataSource defined as datasource classname.
So, is there a missing jar in GlassFish?

A work around, is to specify another connection pool.

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

No branches or pull requests

1 participant