I am using SPECjAppServer2002 to test some tests on jboss4.0.zip. The database I use is oracle 9i.
I have downloaded related specj toolkit and followed the instructions. After I ran the following command under $JBOSS_HOME/bin
run.sh -c specj
I got the following errors:
.............................................
2004-10-26 21:32:38,004 INFO [org.jboss.ejb.EjbModule] Deploying ReceiverSes
2004-10-26 21:32:38,014 INFO [org.jboss.ejb.EjbModule] Deploying SupplierAuditSes
2004-10-26 21:32:39,293 ERROR [org.jboss.ejb.EntityContainer] Starting failed jboss.j2ee:jndiName=SequenceEnt,service=EJB
org.jboss.deployment.DeploymentException: Failed to obtain type-mapping metadata from the metadata library MBean: jboss.jdbc:datasource=DefaultDS,service=metadata is not registered.; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jdbc:datasource=DefaultDS,service=metadata is not registered.)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.obtainTypeMappingFromLibrary(JDBCEntityMetaData.java:1482)
............................................
I didnt find out the "metadata" service mentioned in specj/conf/jboss-service.xml, deploy/ejb-deployer.xml, ear-deployer.xml
Any solution to this issue? Thanks in advance.
I have fixed the problem. It is all because run.sh invoked jboss32-oracle-ds.xml instead of jboss40-oracle-ds.xml.