Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Error Message Reference

- Previous: Chapter 9 NAM Error Messages
- Next: Chapter 11 SYNC Error Messages

# Chapter 10 `RAR` Error Messages

This chapter describes messages for errors with a `RAR` prefix.

# `RAR` Messages

    RAR5004

`JDBC driver threw an exception while recovery.`

Cause:

Resource Adapter threw an exception during recovery in case of connectors.

Solution:

Check database or EIS log for details. Check whether the connection pool configuration is proper. Check whether `domain.xml` is accessible.

    RAR5005

`The XA resource has been deleted before attempting recovery`

Cause:

The XA resource is no longer referenced in `domain.xml`. The database server that the XA resource points to is no longer running.

The configuration information for the XA Resource has been changed before attempting recovery.

Solution:

Check that the XA Resource and the pool it points to is still defined in `domain.xml`. Check that the XA Resource is present in the list of resource-refs in `domain.xml`. Check that the Database server is up and running. Check if the configuration info of the XA resource and the pool it points to is sane. In particular check that the `datasourceclassname` in the pool is correct and the XA resource points to the correct pool.

    RAR5007

`Exception while creating persistent manager resource.`

Solution:

Check whether the persistent manager factory class is configured properly and is available in the classpath. Check whether the JDBC resource name is correct and is configured properly.

    RAR5008

`Naming provider and port are not set in the initial context`

Cause:

The Naming provider is not up.

Solution:

Check the `jndi.properties` file has the naming provider host and port specified. Check if the naming provider is up and listening on the port specified in `domain.xml`

    RAR5009

`Could not create an instance of factory-class.`

Solution:

Make sure that factory-class name is configured correctly. Make sure that factory-class is available in the classpath of the application server

    RAR5010

`External JNDI resource has a wrong factory-class configuration`

Solution:

Verify that factory class is an instance of `javax.naming.spi.InitialContextFactory`.

    RAR5011

`Could not create Initial Context.`

Solution:

Make sure that the `external-jndi-resource` configuration is sufficient to create an initial context.

    RAR5012

`Could not create Initial context factory.`

Solution:

Make sure that the `external-jndi-resource` configuration is sufficient to create an initial context factory.

    RAR5015

`Classpath is not properly set in `domain.xml``

Cause:

The application server process does not have read permissions on the directory that holds the classes/jar.

Solution:

Check that the classpath attribute in the `java-config` includes a reference to the jar/package directory for the class. You do not have read permissions on the directory that holds the classes/jar.

    RAR5020

`Could not configure persistent manager resource properly.`

Solution:

Make sure that the JDBC resource name, you have configured is correct. Check whether the persistent manager factory class is proper. Check whether the persistent manager factory class has a `setConnectionFactoryName` method.

    RAR5035

`Error while closing the physical connection.`

`Error while destroying the connector managed connection.`

Solution:

Examine the exception stack trace for details.

    RAR5038

`Could not create a physical connection.`

Solution:

Connection pool is configured incorrectly. Check that database is running properly. Check that EIS (in case of connectors) is running properly. Check that SJS MQ (in case of JMS) is running properly. Verify that network connection to Database/EIS/MQ is properly configured.

    RAR5042

`The XA resource has been deleted before attempting recovery.`

Cause:

The XA resource is not properly referenced because:

- The XA resource is no longer referenced in `domain.xml`. The database server that the XA resource points to is no longer running

- The configuration information for the XA Resource has been changed before attempting recovery

Solution:

Check that the XA Resource and the pool it points to is still defined in `domain.xml`. Check that the XA Resource is present in the list of resource-refs in `domain.xml`. Check that the Database server is up and running. Check if the configuration info of the XA resource and the pool it points to is sane. In particular check that the `datasourceclassname` in the pool is correct and the XA resource points to the correct pool.

    RAR5043

`Exception while creating persistent manager resource.`

Solution:

Check whether the persistent manager factory class is configured properly and is available in the classpath. Check whether the JDBC resource name is correct and is configured properly.

    RAR5044

`Could not configure persistent manager resource properly.`

Solution:

Make sure that the JDBC resource name, you have configured is correct. Check whether the persistent manager factory class is proper. Check whether the persistent manager factory class has a `setConnectionFactoryName` method.

    RAR5045

`Naming provider and port are not set in the JNDI provider's property file`

Cause:

The Naming provider is not up

Solution:

Check the `jndi.properties` file has the naming provider host and port specified. Check if the naming provider is up and listening on the port specified in `domain.xml`.

    RAR5046

`Classpath is not properly set in `domain.xml``

Cause:

You do not have read permissions on the directory that holds the classes/jar.

Solution:

Check that the classpath attribute in the `java-config` includes a reference to the jar/package directory for the class. Check that the directory where the classes/jars reside have read permission for the application server process.

    RAR5047

`Could not create Initial Context.`

Solution:

Make sure that the `external-jndi-resource` configuration is sufficient to create an initial context.

    RAR5048

`The configuration for the JDBC resource could not be read from `domain.xml``

Cause:

This is an internal server error. Please contact Sun Microsystems with the complete error log

    RAR5058

`Could not create physical connection during connection pool resizing.`

Solution:

Check whether your network connection to the database or EIS is proper. Check your database/ EIS logs for possible connection creation errors.

    RAR5063

`The class specified in `datasourceclassname` attribute in the `jdbc-connection-pool` is not of type `javax.sql.XADataSource`. Please consult your database vendor's documentation to identify the class that implements the `javax.sql.XADataSource``

Solution:

Check if the `datasourceclass` implements the `javax.sql.XADataSource` interface. Try using the `javap` tool for this purpose.

    RAR5065

`The class specified in `datasourceclassname` attribute in the `jdbc-connection-pool` is not of type `javax.sql.ConnectionPoolDataSource`. Please consult your database vendor's documentation to identify the class that implements the `javax.sql.ConnectionPoolDataSource`.`

Solution:

Check if the `datasourceclass` implements the `javax.sql.ConnectionPoolDataSource` interface. Try using the `javap` tool for this purpose.

    RAR5066

`Exception while getting pooled connection.`

Cause:

The Database server is not up and running. The connection pool is full and cannot allocate more connections. The Database server threw some unexpected exception. Please study the exception message for more details

    RAR5068

`There are no managed connections in the connection pool at this time`

`There is an internal server error. Please contact Sun Microsystems with the complete log message.`

Solution:

This is an internal server error. Please contact Sun Microsystems with the complete error log. This is an internal server error. Please contact Sun Microsystems with the complete error log.

    RAR5069

`The Connection object is now invalid due to database restart`

Cause:

The connection object is now invalid since the database has either restarted or is not up and running. The JDBC driver cannot provide the required information.

Solution:

Switch on the connection validation property of the connection pool and try again. If the database has restarted, restart the application server as well or set the connection validation property in the pool to avoid this in the future. If the database server is not up, please bring it up. Check the server log and please contact Sun Microsystems with the complete error log.

    RAR5070

`The Connection object is now invalid due to database restart.`

Cause:

The connection object is now invalid since the database has either restarted or is not up and running. The JDBC driver cannot provide the required information.

Solution:

Switch on the connection validation property of the connection pool and try again. If the database has restarted, restart the application server as well or set the connection validation property in the pool to avoid this in the future. If the database server is not up, please bring it up. Check the server log and please contact Sun Microsystems with the complete error log.

    RAR5074

`The Connection object is now invalid due to database restart`

Cause:

The connection object is now invalid since the database has either restarted or is not up and running. The JDBC driver cannot provide the required information.

Solution:

Switch on the connection validation property of the connection pool and try again. If the database has restarted, restart the application server as well or set the connection validation property in the pool to avoid this in the future. If the database server is not up, please bring it up. Check the server log and please contact Sun Microsystems with the complete error log.

    RAR5087

`The Connection object is now invalid due to database restart`

Cause:

The connection object is now invalid since the database has either restarted or is not up and running. The JDBC driver cannot provide the required information.

Solution:

Switch on the connection validation property of the connection pool and try again. If the database has restarted, restart the application server as well or set the connection validation property in the pool to avoid this in the future. If the database server is not up, please bring it up. Check the server log and please contact Sun Microsystems with the complete error log.

    RAR5099

`Classpath is not properly set in `domain.xml``

Cause:

The application server process does not have read permissions on the directory that holds the classes/jar.

Solution:

Check if the server classpath specified in the `java-config` element in `domain.xml` has an entry for the jar containing this class. Check that the directory where the classes/jars reside have read permission for the application server process.

    RAR5100

`Classpath is not properly set in `domain.xml``

Cause:

The application server process does not have read permissions on the directory that holds the classes/jar.

Solution:

Verify that the read permissions on the classes/jar directory are set properly.

    RAR5101

`The Application Server process does not have read access to the directory where this class resides.`

`The Application Server process does not have security permissions to access this code.`

Solution:

Check if the application server has read permissions on the directory where this class/jar containing this class resides. Check if your security manager policy is configured properly.

    RAR5102

`The application server process do not have permission to access the code base where the class resides.`

`This is an internal server/JVM error. Please contact Sun Microsystems with the complete error log.`

Solution:

See if the application server process has permission to read the directory where the class/jar resides. Check if all relevant JVM patches are installed on your machine. Please contact Sun Microsystems with the complete error log.

    RAR5103

`Error configuring the `DataSource` object.`

Cause:

The pool parameters in `domain.xml` are improper. The application server process does not have enough permissions to access the `DataSource` class.

Solution:

Check that the pool parameters specified in `domain.xml` are correct. For example, check that parameters that expect numeric values are numerals. Check that the application server process has permissions to read the directory where the class resides.

    RAR5104

`Error configuring the `DataSource` object.`

Cause:

The pool parameters in `domain.xml` are improper. The application server process does not have enough permissions to access the `DataSource` class.

Solution:

Check that the pool parameters specified in `domain.xml` are correct. For example, check that parameters that expect numeric values are numerals. Check that the application server process has permissions to read the directory where the class resides.

    RAR5105

`The connection validation method is incorrect, it should be one of `auto-commit`, `meta-data`, `table`.`

`The connection is no longer valid. It could have been rendered invalid due to database restart/shutdown.`

Solution:

Check if the connection validation is one of: `auto-commit`, `meta-data`, or `table`. If the method is table, check that the table name is correct. If the database has been restarted, restart the application server as well. If the database is down, start it up.

    RAR5106

`The database connection is invalid.`

Cause:

The cause can be either:

- The database has been shutdown or restarted.

- The network connection to the database has been lost.

Solution:

If the database has been restarted, restart the application server as well. To avoid this in the future set the connection validation property in the pool. Check that the database is up and running and the network connection to the database is still alive.

    RAR5107

`The database connection is invalid.`

Cause:

The cause can be either:

- The database has been shutdown or restarted.

- The network connection to the database has been lost.

Solution:

If the database has been restarted, restart the application server as well. To avoid this in the future set the connection validation property in the pool. Check that the database is up and running and the network connection to the database is still alive.

    RAR5108

`The database connection is invalid.`

Cause:

The cause can be either

- The database has been shutdown or restarted.

- The network connection to the database has been lost.

Solution:

If the database has been restarted, restart the application server as well. To avoid this in the future set the connection validation property in the pool. Check that the database is up and running and the network connection to the database is still alive.

    RAR5109

`JDBC driver has thrown an `SQLException` while setting the isolation level.`

Solution:

Check your connection pool configuration and make sure that the isolation level is correct. Check whether your driver supports the isolation level you have specified in the connection pool.

    RAR5110

`The URL specified is incorrect.`

`The database server is not up and running.`

Solution:

Check if the URL specified in the `getConnection` call is correct. Consult the JDBC driver vendor's documentation for the correct URL format. Check that the Database server is up and running.

    RAR5111

`The class specified in `datasourceclassname` attribute in the `jdbc-connection-pool` is not of type `javax.sql.DataSource`.`

Solution:

Please consult your database vendor’s documentation to identify the class that implements `javax.sql.DataSource`. Try using the `javap` tool for this purpose.

    RAR5112

`The class specified in `datasourceclassname` attribute in the `jdbc-connection-pool` is not of type `javax.sql.XADataSource`.`

Solution:

Please consult your database vendor’s documentation to identify the class that implements the `javax.sql.XADataSource`. Try using the `javap` tool for this purpose.

    RAR5113

`Error creating a connection from the supplied information.`

Cause:

The connection pool is full and cannot allocate more connections. The Database server threw some unexpected exception. Please study the exception message for more details.

Solution:

Check that the Database server is up and running. Check if the size of your connection pool is sufficiently large for serving all requests. Check the server log and please contact Sun Microsystems with the full error log.

    RAR5114

`Error creating a connection from the supplied info.`

Cause:

The Connection pool is full and incapable of serving more requests at this point. The database is down. Please try later. There is an internal server error. Please contact Sun Microsystems with the complete log message.

Solution:

Check if the database server is correctly configured. Check if your pool size is sufficient to server all simultaneous connection requests. Check the server log and contact Sun Microsystems with the complete error message

    RAR5116

`Error creating a connection from the supplied info.`

Cause:

The Database server is not up and running. The connection pool is full and cannot allocate more connections. The Database server threw some unexpected exception. Please study the exception message for more details.

Solution:

Check that the Database server is up and running. Check if the size of your connection pool is sufficiently large for serving all requests. Check the server log and please contact Sun Microsystems with the full error log.

    RAR5117

`Error while obtaining a connection from the pool.`

Solution:

Check your connection pool configuration.

    RAR6000

`Illegal access Error while instantiating one of the resource adapter JavaBeans like `ManagedConnectionFactory` or `ResourceAdapter` JavaBean classes.`

Solution:

Check whether the resource adapter has any specific security requirements.

    RAR6001

`Error while locating one of the resource adapter JavaBeans like `ManagedConnectionFactory` or `ResourceAdapter` JavaBean classes.`

Solution:

Check if the resource adapter is bundled properly. Resource adapter jar file deployment descriptor specifies correct class names.

    RAR6002

`Error while instantiating one of the resource adapter JavaBeans like `ManagedConnectionFactory` or `ResourceAdapter` JavaBean.`

Solution:

Check if the resource adapter is bundled properly with all the classes.

    RAR6004

`Illegal access Error while instantiating one of the resource adapter JavaBeans like `ManagedConnectionFactory` or `ResourceAdapter` JavaBean classes.`

Solution:

Check whether the resource adapter has any specific security requirements.

    RAR6005

`Error while creating `ManagedConnectionFactory`.`

Solution:

Check if the resource adapter is bundled properly. Check whether connection pool configuration has correct properties for MCF. Check resource adapter documentation for configuring correct properties of MCF.

    RAR6007

`Runtime could not obtain list of resources of this resource adapter.`

Solution:

Check whether the resource adapter configuration is proper.

    RAR6008

`Resource Adapter threw an exception during `ResourceAdapter.stop()` method.`

Solution:

Check your resource adapter documentation about `ResourceAdapter.stop()` method.

    RAR6009

`A resource (connection pool, connector resource or admin object) pertaining to the resource adapter is existing.`

Solution:

Check whether the cascade option of `undeploy` is false.

    RAR6010

`Resource Adapter is already active in the connector runtime.`

Solution:

Check whether a previous resource adapter deployment is still available.

    RAR6012

Solution:

There is an internal server error. Please contact Sun Microsystems with the complete log message. Check whether resource adapter threw a null pointer exception.

    RAR6013

Solution:

There is an internal server error. Please contact Sun Microsystems with the complete log message.

    RAR6014

`Incomplete or erroneous resource adapter deployment.`

Solution:

Check whether the RA deployment is proper and complete.

    RAR6015

`Connection pool is not created properly.`

Solution:

Check your resource configuration, whether you are using correct connection pool name.

    RAR6016

`Resource Adapter is not yet initialized in the connector runtime.`

Solution:

Check whether the deployment of the resource adapter is complete.

    RAR6017

`Incomplete or erroneous connection pool creation.`

Solution:

Check whether connection pool is created and is proper.

    RAR6019

`Incomplete or erroneous resource adapter deployment.`

Solution:

Check whether the RA deployment is proper and complete.

    RAR6021

`Error while creating `ManagedConnectionFactory`.`

Solution:

Check if the resource adapter is bundled properly. Check whether connection pool configuration has correct properties for MCF. Check whether the resource adapter require security permissions to load the classes. Some adapters require `getClassLoader()` permission.

    RAR6022

``NullPointerException` while creating `ManagedConnectionFactory`.`

Solution:

Check whether resource adapter throws null pointer exception.

    RAR6023

Solution:

There is an internal server error. Please contact Sun Microsystems with the complete log message.

    RAR6025

`Could not read the deployment descriptor of the resource adapter.`

Solution:

Check whether the resource adapter is packaged correctly. Check the correctness of deployment descriptor.

    RAR6026

`Could not parse the deployment descriptor of the resource adapter.`

Solution:

Check whether the resource adapter is packaged correctly. Check the correctness of deployment descriptor.

    RAR6028

`Resource Adapter does not contain resource adapter JavaBean.`

Solution:

Make sure that the resource adapter is 1.5 compliant.

    RAR6030

`MCF cleanup in connector runtime failed.`

Solution:

Check whether connection pool has already been deleted.

    RAR6032

`Connection Pool Name of the Resource configuration is wrong.`

Solution:

Check whether the connection pool is created.

    RAR6034

`Resource Adapter Name of the admin object configuration is wrong.`

Solution:

Check whether the resource adapter is deployed.

    RAR6035

`Could not start the resource adapter instance.`

Solution:

Check whether `domain.xml` is accessible. Check your resource adapter documentation for possible causes of failure during `ResourceAdapter.start()`.

    RAR6036

`Resource Adapter throws exception during `ManagedConnectionFactory.setResourceAdapter()`.`

Solution:

If you are using third party resource adapter, contact resource adapter vendor. If you are a resource adapter developer, please check the resource adapter code.

    RAR6037

`Resource Adapter threw an exception during `ResourceAdapter.stop()` method.`

Solution:

Check your resource adapter documentation about `ResourceAdapter.stop()` method.

    RAR7001

`Could not unzip the MQ resource adapter archive from upgraded MQ.`

Solution:

Check whether new MQ resource adapter archive in `imq_home/lib` is accessible.

    RAR7004

`Resource Adapter is requesting endpoints to the MDB, before MDB deployment is complete.`

Solution:

There is an internal server error. Please contact Sun Microsystems with the complete log message.

    RAR7005

`Could not access the class loader specific to the MDB.`

Solution:

There is an internal server error. Please contact Sun Microsystems with the complete log message.

    RAR7006

``ActivationSpec` validation failed.`

Solution:

Check your JMS related configuration in MDB deployment descriptor. Check your activation configuration in the MDB deployment descriptor.

    RAR7007

`Resource Adapter is trying to invoke an unknown method during message delivery.`

Solution:

Check your resource adapter documentation for possible issues during message delivery.

    RAR7010

`Could not find the connection pool specified.`

Solution:

Try the following:

- Check whether the connection pool creation was successful. Check whether the pool name used is correct.

- There is an internal server error. Please contact Sun Microsystems with the complete log message.

    RAR7014

`Could not read `shutdown-timeout-in-seconds` from `domain.xml` properly.`

Solution:

Make sure that `domain.xml` is configured correctly.

    RAR7092

`Wrong `transaction-support` connection pool attribute setting.`

Cause:

The connection pool specifies a `transaction-support` attribute value that is greater than the one specified in the pool according to this mathematical inequality: `NoTransaction` < `LocalTransaction` < `XATransaction`.

Solution:

Change the `transaction-attribute` value in the pool to be less than or equal to the one specified in the resource adapter’s `ra.xml`.

    RAR7096

`Error while trying to invoke the setter method for the specified property.`

Solution:

Check if the value and the property name specified are valid.

    RAR7097

`Error in finding a mutator method for the specified property.`

Solution:

Check if the property has been specified correctly and an appropriate public setter `method [method]` is available in the class.

- Previous: Chapter 9 NAM Error Messages
- Next: Chapter 11 SYNC Error Messages

- © 2010, Oracle Corporation and/or its affiliates