Hi ALl ,
I am using
JBoss server and Java5 with Oracle 10g as the database and facing some problem while deploying the entities as this:
[STDOUT] [TopLink Warning]: 2007.06.27 11:06:25.109--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class src.FirstSessionBean. The class is ignored.
11:06:25,125 INFO [STDOUT] [TopLink Warning]: 2007.06.27 11:06:25.125--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class com.hughes.testEjb.TestClient. The class is ignored.
11:06:25,125 INFO [STDOUT] [TopLink Warning]: 2007.06.27 11:06:25.125--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class src.Employee. The class is ignored.
11:06:25,125 INFO [STDOUT] [TopLink Warning]: 2007.06.27 11:06:25.125--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class src.FirstSession. The class is ignored.
11:06:25,250 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=sample123.ear,jar=persist.jar,name=FirstSessionBean,service=EJB3 with dependencies:
Here is my persistence.xml:
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"> <persistence-unit name="testApp" transaction-type="JTA">
<provider> oracle.toplink.essentials.PersistenceProvider</provider>
<jta-data-source>
java:/system</jta-data-source>
<properties>
<property name="toplink.jdbc.driver" value="oracle.jdbc.OracleDriver"/> <!-- update to match database-->
<property name="toplink.jdbc.url" value="jdbc
racle:thin:@localhost:1521:XE"/> <!-- update to match database-->
<property name="toplink.jdbc.password" value="amit"/> <!-- update to match database-->
<property name="toplink.jdbc.user" value="system"/> <!-- update to match database-->
</properties>
</persistence-unit>
</persistence>
Please can anyone let me know where the problem lies in the configurayion .