From: Steve L. (JIRA) <ji...@sm...> - 2011-05-25 10:41:38
|
[ http://jira.smartfrog.org/jira/browse/SFOS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12438#comment-12438 ] Steve Loughran commented on SFOS-205: ------------------------------------- LoggerTest is failing, because CompoundImpl is trying to instantiate the Logger class, even though it doesn't have an sfClass attribute: Class org.smartfrog.test.system.components.logger.LoggerTest testCaseTCP35 Error HERE tcp35 failed to deploy 'logger' component. SmartFrogResolutionException:: Unresolved Reference: HERE sfClass, source: HOST localhost:rootProcess:tcp35:logger, Reference not found SmartFrogDeploymentException: HERE tcp35 failed to deploy 'logger' component. SmartFrogResolutionException:: Unresolved Reference: HERE sfClass, source: HOST localhost:rootProcess:tcp35:logger, Reference not found, cause: SmartFrogResolutionException:: Unresolved Reference: HERE sfClass, source: HOST localhost:rootProcess:tcp35:logger, Reference not found at org.smartfrog.sfcore.common.SmartFrogDeploymentException.forward(SmartFrogDeploymentException.java:187) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:124) at org.smartfrog.sfcore.processcompound.PrimHostDeployerImpl.deploy(PrimHostDeployerImpl.java:140) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:260) at org.smartfrog.sfcore.deployer.SFDeployer.deploy(SFDeployer.java:94) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployComponentDescription(CompoundImpl.java:159) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployWithChildren(CompoundImpl.java:565) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployWith(CompoundImpl.java:548) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:114) at org.smartfrog.sfcore.processcompound.PrimHostDeployerImpl.deploy(PrimHostDeployerImpl.java:140) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:260) at org.smartfrog.sfcore.deployer.SFDeployer.deploy(SFDeployer.java:94) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployComponentDescription(CompoundImpl.java:159) at org.smartfrog.sfcore.processcompound.ProcessCompoundImpl.sfDeployComponentDescription(ProcessCompoundImpl.java:236) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) at sun.rmi.transport.Transport$1.run(Transport.java:159) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142) at org.smartfrog.sfcore.processcompound.ProcessCompoundImpl_Stub.sfDeployComponentDescription(Unknown Source) at org.smartfrog.sfcore.common.ActionDeploy.Deploy(ActionDeploy.java:167) at org.smartfrog.sfcore.common.ActionDeploy.doDeploy(ActionDeploy.java:307) at org.smartfrog.sfcore.common.ActionDeploy.execute(ActionDeploy.java:282) at org.smartfrog.sfcore.common.ConfigurationAction.execute(ConfigurationAction.java:139) at org.smartfrog.sfcore.common.ConfigurationDescriptor.execute(ConfigurationDescriptor.java:1089) at org.smartfrog.SFSystem.runConfigurationDescriptor(SFSystem.java:355) at org.smartfrog.test.SmartFrogTestBase.deployApplication(SmartFrogTestBase.java:686) at org.smartfrog.test.SmartFrogTestBase.deployExpectingSuccess(SmartFrogTestBase.java:624) at org.smartfrog.test.system.components.logger.LoggerTest.testCaseTCP35(LoggerTest.java:45) Caused by: SmartFrogResolutionException:: Unresolved Reference: HERE sfClass, source: HOST localhost:rootProcess:tcp35:logger, Reference not found at org.smartfrog.sfcore.prim.PrimDeployerImpl.getPrimClass(PrimDeployerImpl.java:191) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:98) at org.smartfrog.sfcore.processcompound.PrimHostDeployerImpl.deploy(PrimHostDeployerImpl.java:140) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:260) at org.smartfrog.sfcore.deployer.SFDeployer.deploy(SFDeployer.java:94) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployComponentDescription(CompoundImpl.java:159) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployWithChildren(CompoundImpl.java:565) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployWith(CompoundImpl.java:548) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:114) at org.smartfrog.sfcore.processcompound.PrimHostDeployerImpl.deploy(PrimHostDeployerImpl.java:140) at org.smartfrog.sfcore.prim.PrimDeployerImpl.deploy(PrimDeployerImpl.java:260) at org.smartfrog.sfcore.deployer.SFDeployer.deploy(SFDeployer.java:94) at org.smartfrog.sfcore.compound.CompoundImpl.sfDeployComponentDescription(CompoundImpl.java:159) at org.smartfrog.sfcore.processcompound.ProcessCompoundImpl.sfDeployComponentDescription(ProcessCompoundImpl.java:236) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) at sun.rmi.transport.Transport$1.run(Transport.java:159) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) > Logging services tests are failing > ---------------------------------- > > Key: SFOS-205 > URL: http://jira.smartfrog.org/jira/browse/SFOS-205 > Project: SmartFrog > Issue Type: Bug > Components: testharness > Reporter: Steve Loughran > Assignee: Julio Guijarro > > [Marking as core because in fact much of logging is in there now] > after moving the tests to components/logging services, they are failing. > this is initially because > Parsing include file org/smartfrog/services/logger/logger.sf : Include file: org/smartfrog/services/logger/logger.sf not found], cause: SmartFrogParseException:: org.smartfrog.sfcore.languages.sf.ParseException: Parsing include file org/smartfrog/services/logger/logger.sf : Include file: org/smartfrog/services/logger/logger.sf not found, deployedContext: included > I dont know when the logger.sf file moved to core, but these tests must not have worked since then. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |