Hi folks,
I am getting an error "Failed to Load MetaData"
just after including container configuration in my sesssion bean's jboss.xml file.
Here are the container configuration I have used.
...
<container-configurations>
<container-configuration>
<container-name>SessionBeans Configuration</container-name>
<container-invoker-conf>
True
</container-invoker-conf>
<container-pool-conf>
1000
</container-pool-conf>
<commit-option>A</commit-option>
</container-configuration>
</container-configurations>
....
I have included the line
<configuration-name>SessionBeansConfiguration</configuration-name>
inside my session bean
The details of Error :
ERROR [org.jboss.deployment.MainDeployer] could not create deployment: njar:file:/home/jboss/jboss-3.0.0_tomcat-4.0.3/server/default/tmp/deploy/server/default/deploy/file1.jar
org.jboss.deployment.DeploymentException: Failed to load metadata; - nested throwable: (java.lang.NullPointerException)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:331)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:631)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
Any idea about how to fix this ERROR? Please.
Thanks
configuration name and container name do not match (one has extra whitespace between the words in it).