"Cannot run this command because Java services are not enabled"

Solution Unverified - Updated -

Issue

Following error is seen when instantiating a CMP Entity Bean:

javax.ejb.CreateException: Could not create entity: com.sybase.jdbc2.jdbc.SybSQLException: Cannot run this command because Java services are not enabled. A user with System Administrator (SA) role must reconfigure the system to enable Java.

Environment

  • JBoss Enterprise Application Platform 4.3
  • JBoss Enterprise Application Platform 5.x

Database:

  • Sybase

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.