what is the problem with this implementation...using Jboss 3.2.2..i am testing the workbook examples....ejbJbossworbook..but i am getting this error _____________________________________________
what is the solution?? _____________________________________________ 22:04:22,389 WARN [verifier] EJB spec violation: Bean : CustomerEJB Method : public Integer ejbCreate(Integer) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 22:04:22,419 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. 2.2/server/default/deploy/titan.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile d, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A bstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 92) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:976) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:395) at java.lang.Thread.run(Thread.java:534) 22:04:22,679 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss -3.2.2/server/default/deploy/jmx-console.war/ 22:04:22,899 INFO [EmbeddedTomcatService] deploy, ctxPath=/jmx-console, warUrl= file:/C:/jboss-3.2.2/server/default/deploy/jmx-console.war/ 22:04:23,370 INFO [Engine] ContextConfig[/jmx-console]: Added certificates -> r equest attribute Valve 22:04:23,420 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:[EMAIL PROTECTED] 22:04:23,430 INFO [Engine] StandardManager[/jmx-console]: Seeding random number generator class java.security.SecureRandom 22:04:23,440 INFO [Engine] StandardManager[/jmx-console]: Seeding of random num ber generator has been completed 22:04:23,450 INFO [Engine] StandardWrapper[/jmx-console:default]: Loading conta iner servlet default 22:04:23,460 INFO [Engine] StandardWrapper[/jmx-console:invoker]: Loading conta iner servlet invoker 22:04:24,241 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.2/server/ default/deploy/jmx-console.war/ 22:04:24,291 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss -3.2.2/server/default/deploy/management/web-console.war 22:04:25,493 INFO [EmbeddedTomcatService] deploy, ctxPath=/web-console, warUrl= file:/C:/jboss-3.2.2/server/default/tmp/deploy/tmp9424web-console.war/ 22:04:25,794 INFO [Engine] ContextConfig[/web-console]: Added certificates -> r equest attribute Valve 22:04:25,844 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:[EMAIL PROTECTED] 22:04:25,854 INFO [Engine] StandardManager[/web-console]: Seeding random number generator class java.security.SecureRandom 22:04:25,864 INFO [Engine] StandardManager[/web-console]: Seeding of random num ber generator has been completed 22:04:26,455 INFO [Engine] StandardWrapper[/web-console:default]: Loading conta iner servlet default 22:04:26,535 INFO [Engine] StandardWrapper[/web-console:invoker]: Loading conta iner servlet invoker 22:04:27,476 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.2/server/ default/deploy/management/web-console.war 22:04:27,486 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope ration 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: [EMAIL PROTECTED] { url=file:/C:/jboss-3.2.2/server/de fault/deploy/titan.jar } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages. state: FAILED watch: file:/C:/jboss-3.2.2/server/default/deploy/titan.jar lastDeployed: 1100622861788 lastModified: 1100622861748 mbeans: ]MBeans waiting for classes: MBeans waiting for other MBeans: 22:04:27,566 INFO [URLDeploymentScanner] Started jboss.deployment:type=Deployme ntScanner,flavor=URL 22:04:27,676 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.2/server/ default/conf/jboss-service.xml 22:04:27,696 INFO [Server] JBoss (MX MicroKernel) [3.2.2 (build: CVSTag=JBoss_3 _2_2 date=200310182216)] Started in 45s:866ms View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855399#3855399 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855399 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user