geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Genender (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (GERONIMO-1560) [DayTrader] EJB spec violations
Date Fri, 02 Jun 2006 16:23:31 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1560?page=all ]
     
Jeff Genender closed GERONIMO-1560:
-----------------------------------

    Resolution: Fixed

Yep...I had fixed this.  Please re-open if you still have issues.

> [DayTrader] EJB spec violations
> -------------------------------
>
>          Key: GERONIMO-1560
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1560
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: sample apps
>     Reporter: Vincent Massol

>
> Just for fun I've tried to deploy the ejb module in JBoss 4.0.2. Here's what I got:
> 2006-01-31 17:55:47,383 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract void publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal,
double) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,393 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract void queueOrderOnePhase(Integer) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,393 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract OrderDataBean completeOrderOnePhase(Integer) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,403 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract OrderDataBean completeOrderOnePhaseDirect(Integer) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,403 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract void cancelOrderOnePhaseDirect(Integer) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,423 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract void cancelOrderOnePhase(Integer) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,423 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract double investmentReturn(double, double) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,443 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract QuoteDataBean pingTwoPhase(String) throws Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,443 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:

> Bean   : TradeEJB
> Method : public abstract AccountDataBean getAccountData(String) throws FinderException,
Exception
> Section: 7.11.5
> Warning: The methods in the remote interface must include java.rmi.RemoteException in
their throws clause.
> 2006-01-31 17:55:47,483 ERROR [org.jboss.deployment.MainDeployer] could not create deployment:
file:/C:/dev/m2book/code/j2ee/daytrader/modules/ejb/target/daytrader-ejb-1.0-SNAPSHOT.jar
> org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see
above for error messages.
> 	at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
> 	at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
> 	at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> 	at $Proxy8.deploy(Unknown Source)
> 	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
> 	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
> 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
> 	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
> 	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
> 	at $Proxy0.start(Unknown Source)
> 	at org.jboss.system.ServiceController.start(ServiceController.java:418)
> 	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> 	at $Proxy4.start(Unknown Source)
> 	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
> 	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> 	at $Proxy5.deploy(Unknown Source)
> 	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
> 	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
> 	at org.jboss.Main.boot(Main.java:195)
> 	at org.jboss.Main$1.run(Main.java:463)
> 	at java.lang.Thread.run(Thread.java:534)
> 2006-01-31 17:55:48,214 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete
Deployment listing:
> --- Incompletely deployed packages ---
> org.jboss.deployment.DeploymentInfo@49fc4cb5 { url=file:/C:/dev/m2book/code/j2ee/daytrader/modules/ejb/target/daytrader-ejb-1.0-SNAPSHOT.jar
}
>   deployer: org.jboss.ejb.EJBDeployer@12fb0af
>   status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above
for error messages.
>   state: FAILED
>   watch: file:/C:/dev/m2book/code/j2ee/daytrader/modules/ejb/target/daytrader-ejb-1.0-SNAPSHOT.jar
>   altDD: null
>   lastDeployed: 1138726547133
>   lastModified: 1138726547113
>   mbeans:
> I fear that JBoss is right and these should be fixed... :-)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message