I created one .java file and complied it with sucess.
I placed this .java in org.jboss.nukes.examples package.
when i run build.xml and then deployed with build.xml everything works fine. and i was able to see my result on browser.
Now i tried to create .sar and .ear manually and when i run jboss i encounter folowing error.
I placed this .ear file in jboss/server/default/deploy/nukes
org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/wowdev/portal/jboss-3.2.3/server/default/nukes/nukes-date.sar; - nested throwable: (javax.management.InstanceNotFoundException: nukes.blocks:name=date is not registered.)
Caused by: javax.management.InstanceNotFoundException: nukes.blocks:name=date is not registered.
Have you tried just deploying the sar?
Could you list the contents (with paths) of the sar file and show us your *-service.xml file?