geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <...@geronimo.apache.org>
Subject [jira] Resolved: (DAYTRADER-76) DayTrader 2.1.3 : Exception while processing container metadata for EJB: TradeSLSBBean in unit: dt-ejb.jar with Jboss AS 5.1.0
Date Mon, 11 Oct 2010 13:41:32 GMT

     [ https://issues.apache.org/jira/browse/DAYTRADER-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Forrest Xia resolved DAYTRADER-76.
----------------------------------

    Resolution: Fixed

This NPE is caused by a jboss 5.1.0.GA limitation that it cannot endure unused resource-ref
definitions in jboss.xml, for more details, check http://community.jboss.org/thread/110811
for some discussion about this problem.

Anyway, the jboss.xml itself has invalid definition about jdbc resource, so remove them.

Committed to 2.1.3 branch at revision 1021343. Please verify if this fix the problem in your
environment.

> DayTrader 2.1.3 : Exception while processing container metadata for EJB: TradeSLSBBean
in unit: dt-ejb.jar with Jboss AS 5.1.0
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DAYTRADER-76
>                 URL: https://issues.apache.org/jira/browse/DAYTRADER-76
>             Project: DayTrader
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1.3
>         Environment: Jboss AS 5.1.0
> Sun JDK 1.6_021
> Mandriva Linux 2010.1
> Mysql JDBC driver 5.1.13 (mysql-connector-java-5.1.13-bin.jar)
> Mysql Server 5.1.46
> Profile default for Jboss serveur (./run.sh -c default).
>            Reporter: Yannick LE NY
>            Assignee: Forrest Xia
>            Priority: Critical
>             Fix For: 2.1.3
>
>
> Hello,
> I have downloaded the latest revision for Day Trader 2.1.3
> in the svn here 
> http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1.3/?sortby=file
> and compiled it with :
> * JDK 1.6_021
> * Mandriva Linux 2010.1
> * Maven 2.2.1
> by following the instructions in the file
> http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1.3/README.jboss5?revision=907211&view=markup&sortby=file
> But when I launch Jboss AS 5.1.0, I have the following error in the logs :
> 12:02:04,445 ERROR [Ejb3Deployment] Exception while processing container metadata for
EJB: TradeSLSBBean in unit: dt-ejb.jar
> 12:02:04,447 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/home/user/jboss-svn/jboss-5.1.0.GA/server/default/deploy/daytrader-ear-2.1.3.ear/
state=PreReal mode=Manual requiredState=Real
> org.jboss.deployers.spi.DeploymentException: Error deploying dt-ejb.jar: Exception while
processing container metadata for EJB: TradeSLSBBean in unit: dt-ejb.jar
> In my daytrader-ear-2.1.3.ear, in deploy folder, I have dt-ejb.jar in this ear file.
> Any idea to fix this problem.
> I try DayTrader 2.2 in the trunk svn, but I can not compile it with success.
> Best regards.
> ++++++++++++++++++++++++++++++
> 12:02:04,445 ERROR [Ejb3Deployment] Exception while processing container metadata for
EJB: TradeSLSBBean in unit: dt-ejb.jar
> 12:02:04,447 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/home/user/jboss-svn/jboss-5.1.0.GA/server/default/deploy/daytrader-ear-2.1.3.ear/
state=PreReal mode=Manual requiredState=Real
> org.jboss.deployers.spi.DeploymentException: Error deploying dt-ejb.jar: Exception while
processing container metadata for EJB: TradeSLSBBean in unit: dt-ejb.jar
>         at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)
>         at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
>         at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
>         at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
>         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
>         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
>         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
>         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
>         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
>         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
>         at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
>         at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
>         at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
>         at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
>         at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
>         at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
>         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
>         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
>         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
>         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
>         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
>         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
>         at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
>         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
>         at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
>         at org.jboss.Main.boot(Main.java:221)
>         at org.jboss.Main$1.run(Main.java:556)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.Exception: Exception while processing container metadata for EJB:
TradeSLSBBean in unit: dt-ejb.jar
>         at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:549)
>         at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
>         ... 34 more
> Caused by: java.lang.NullPointerException
>         at org.jboss.injection.ResourceHandler.loadXmlResourceRefs(ResourceHandler.java:185)
>         at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:335)
>         at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:588)
>         at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:418)
>         at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:527)
>         ... 35 more
> 12:02:04,491 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete
deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> DEPLOYMENTS IN ERROR:
>   Deployment "vfszip:/home/user/jboss-svn/jboss-5.1.0.GA/server/default/deploy/daytrader-ear-2.1.3.ear/"
is in error due to the following reason(s): java.lang.NullPointerException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message