error deploying RAR on AS8 (runs fine on JBoss4)
(This thread moved here from Sun System Application Server - Migration)
Hi Vikas.
Below is an excerpt from the verifiers results file:
<failed>
<test>
<test-name>tests.connector.ConnectorArchiveClassesLoadable</test-name>
<test-assertion>All classes inthis Connector Archive are loadable. Please refer to J2EE 1.4 Specification Section #8.1.2for further information.</test-assertion>
<test-description>For [ app-adapter#app-adapter#app-adapter ]
classes [ com.sun.jdmk.comm.HtmlAdaptorServer ] referenced by [ org.apache.log4j.jmx.Agent] are not found
Please either bundle the above mentioned classes in the application or use optional packaging supportfor them.
</test-description>
</test>
<test>
<test-name>tests.connector.CheckResourceAdapterClassSerializable</test-name>
<test-assertion>The specified resourceadapter-classimplements the java.io.Serializable interface. Please refer to J2EE Connector Architecture Specification Section #17.5.1.2for further information.</test-assertion>
<test-description>For [ app-adapter#app-adapter#app-adapter ]
Error: resourceadapter-class [ ases.jca.AppAdapter ] does not implement java.io.Serializable.
</test-description>
</test>
<test>
<test-name>tests.connector.CheckResourceAdapterJavaBean</test-name>
<test-assertion> </test-assertion>
<test-description>For [ app-adapter#app-adapter#app-adapter ]
Error: The resourceadapter-class [ ases.jca.AppAdapter ] does not provide accessor methodsfor [ EisProductName ].
</test-description>
</test>
</failed>
The ResourceAdapter class provides following methods:
public String getEisProductName(){
return eisProductNameProperty;
}
publicvoid setEisProductName(final String eisProductNameProperty){
this.eisProductNameProperty = eisProductNameProperty;
}
and finally an excerpt from the DD
<resourceadapter-class>ases.jca.AppAdapter</resourceadapter-class>
<config-property>
<description>Name der ASES-Anwendung</description>
<config-property-name>EisProductName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>Test ASES-EIS</config-property-value>
</config-property>
Thanks in advance.
Thomas

