Building powertac server

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Building powertac server

daniel.ross
Hello,

I am trying to build the powertac server.  I used a fresh clone.  My first attempt to run the install failed.  After some digging I found an error.  It turns out that one of the module references in the server's root pom.xml file was misspelled.

It should be:
<module>modules/taxauthority</module>
Instead of:
<module>modules/taxAuthority</module>

After the fix, mvn install worked as expected.

I do not have permissions on the repository to push the change so if someone with the necessary permissions could do that it would be appreciated..

When I ran the ./powertac.sh command I get the following error.  Any ideas as to what would be causing this?


hivemind@zergling:~/code/powertac_auto/server$ ./powertac.sh
[2010-12-16 23:27:34.636] startup-tracker              <KE0001I> Kernel starting.
[2010-12-16 23:27:38.383] startup-tracker              <KE0002I> Kernel started.
[2010-12-16 23:27:38.567] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:38.665] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:38.682] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:38.691] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:38.698] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:38.705] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.382] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:39.386] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:39.389] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:39.393] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.397] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.400] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:39.429] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:39.436] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:39.444] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:39.448] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:39.788] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:39.792] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:39.798] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:39.804] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.816] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.825] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.903] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.907] start-signalling-2           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:39.911] Thread-2                     <UR0001I> User region ready.
[2010-12-16 23:27:40.922] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'powertac.plan'.
[2010-12-16 23:27:40.986] fs-watcher                   <DE0000I> Installing plan 'powertac.plan' version '0.0.1'.
[2010-12-16 23:27:41.042] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.integration' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.058] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.bundle.ws.xml' version '1.5.9'.
[2010-12-16 23:27:41.070] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.integration.xml' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.094] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.jms' version '3.0.5.RELEASE'.
[2010-12-16 23:27:41.105] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.integration.jms' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.116] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.common' version '0.0.1'.
[2010-12-16 23:27:41.123] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.accountingservice' version '0.0.1'.
[2010-12-16 23:27:41.130] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.auctioneer' version '0.0.1'.
[2010-12-16 23:27:41.138] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.competitioncontroller' version '0.0.1'.
[2010-12-16 23:27:41.146] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.customer' version '0.0.1'.
[2010-12-16 23:27:41.154] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.databaseservice' version '0.0.1'.
[2010-12-16 23:27:41.161] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.distributionutility' version '0.0.1'.
[2010-12-16 23:27:41.167] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.liquidityprovider' version '0.0.1'.
[2010-12-16 23:27:41.174] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.physicalenvironment' version '0.0.1'.
[2010-12-16 23:27:41.181] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.tariffruleenforcer' version '0.0.1'.
[2010-12-16 23:27:41.188] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.taxauthority' version '0.0.1'.
[2010-12-16 23:27:41.240] fs-watcher                   <DE0302E> Error parsing Spring configuration file 'META-INF/spring/databaseService-context.xml' in bundle 'org.powertac.server.module.databaseservice' version '0.0.1'. org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:179)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.scanConfigFile(SpringConfigServiceModelScanner.java:90)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.doScope(ServiceScoper.java:162)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:88)
    at org.eclipse.virgo.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:137)
    at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.scope(StandardPlanInstallArtifact.java:175)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:50)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:32)
    at org.eclipse.virgo.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:165)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:55)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:271)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:151)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:123)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:190)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)
    at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
    at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
    at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:58)
    at java.lang.Thread.run(Thread.java:662)

[2010-12-16 23:27:41.248] fs-watcher                   <DE0002E> Installation of plan 'powertac.plan' version '0.0.1' failed. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Error parsing configuration file 'META-INF/spring/databaseService-context.xml'.
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:182)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.scanConfigFile(SpringConfigServiceModelScanner.java:90)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.doScope(ServiceScoper.java:162)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:88)
    at org.eclipse.virgo.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:137)
    at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.scope(StandardPlanInstallArtifact.java:175)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:50)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:32)
    at org.eclipse.virgo.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:165)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:55)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:271)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:151)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:123)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:190)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)
    at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
    at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
    at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:58)
    at java.lang.Thread.run(Thread.java:662)
Caused by: org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:179)
    ... 27 common frames omitted

[2010-12-16 23:27:41.255] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.integration' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.259] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.bundle.ws.xml' version '1.5.9'.
[2010-12-16 23:27:41.263] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.integration.xml' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.267] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.jms' version '3.0.5.RELEASE'.
[2010-12-16 23:27:41.270] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.integration.jms' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.275] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.common' version '0.0.1'.
[2010-12-16 23:27:41.279] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.accountingservice' version '0.0.1'.
[2010-12-16 23:27:41.283] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.auctioneer' version '0.0.1'.
[2010-12-16 23:27:41.287] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.competitioncontroller' version '0.0.1'.
[2010-12-16 23:27:41.290] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.customer' version '0.0.1'.
[2010-12-16 23:27:41.294] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.databaseservice' version '0.0.1'.
[2010-12-16 23:27:41.298] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.distributionutility' version '0.0.1'.
[2010-12-16 23:27:41.302] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.liquidityprovider' version '0.0.1'.
[2010-12-16 23:27:41.306] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.physicalenvironment' version '0.0.1'.
[2010-12-16 23:27:41.310] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.tariffruleenforcer' version '0.0.1'.
[2010-12-16 23:27:41.313] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.taxauthority' version '0.0.1'.
[2010-12-16 23:27:41.317] fs-watcher                   <DE0003E> Install failed for plan 'powertac.plan' version '0.0.1'.
[2010-12-16 23:27:41.328] fs-watcher                   <HD0002E> Hot deploy failed for file 'powertac.plan'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Error parsing configuration file 'META-INF/spring/databaseService-context.xml'.
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:182)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.scanConfigFile(SpringConfigServiceModelScanner.java:90)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.doScope(ServiceScoper.java:162)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:88)
    at org.eclipse.virgo.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:137)
    at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.scope(StandardPlanInstallArtifact.java:175)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:50)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:32)
    at org.eclipse.virgo.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:165)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:55)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:271)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:151)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:123)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:190)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)
    at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
    at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
    at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:58)
    at java.lang.Thread.run(Thread.java:662)
Caused by: org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:179)
    ... 27 common frames omitted



Daniel Ross
Reply | Threaded
Open this post in threaded view
|

Re: Building powertac server

Carsten Block
Administrator
Thanks Daniel for reporting it. We'll fix that asap.

Best,
Carsten

Am 17.12.2010 um 06:30 schrieb daniel.ross [via Power TAC Developers]:

Hello,

I am trying to build the powertac server.  I used a fresh clone.  My first attempt to run the install failed.  After some digging I found an error.  It turns out that one of the module references in the server's root pom.xml file was misspelled.

It should be:
<module>modules/taxauthority</module>
Instead of:
<module>modules/taxAuthority</module>

After the fix, mvn install worked as expected.

I do not have permissions on the repository to push the change so if someone with the necessary permissions could do that it would be appreciated..

When I ran the ./powertac.sh command I get the following error.  Any ideas as to what would be causing this?


hivemind@zergling:~/code/powertac_auto/server$ ./powertac.sh
[2010-12-16 23:27:34.636] startup-tracker              <KE0001I> Kernel starting.
[2010-12-16 23:27:38.383] startup-tracker              <KE0002I> Kernel started.
[2010-12-16 23:27:38.567] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:38.665] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:38.682] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:38.691] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:38.698] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:38.705] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.382] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:39.386] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:39.389] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:39.393] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.397] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.400] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:39.429] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:39.436] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:39.444] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'.
[2010-12-16 23:27:39.448] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:39.788] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2010-12-16 23:27:39.792] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:39.798] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.io' version '1.2.1'.
[2010-12-16 23:27:39.804] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.816] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.825] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.903] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'.
[2010-12-16 23:27:39.907] start-signalling-2           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
[2010-12-16 23:27:39.911] Thread-2                     <UR0001I> User region ready.
[2010-12-16 23:27:40.922] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'powertac.plan'.
[2010-12-16 23:27:40.986] fs-watcher                   <DE0000I> Installing plan 'powertac.plan' version '0.0.1'.
[2010-12-16 23:27:41.042] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.integration' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.058] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.bundle.ws.xml' version '1.5.9'.
[2010-12-16 23:27:41.070] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.integration.xml' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.094] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.jms' version '3.0.5.RELEASE'.
[2010-12-16 23:27:41.105] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.springframework.integration.jms' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.116] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.common' version '0.0.1'.
[2010-12-16 23:27:41.123] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.accountingservice' version '0.0.1'.
[2010-12-16 23:27:41.130] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.auctioneer' version '0.0.1'.
[2010-12-16 23:27:41.138] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.competitioncontroller' version '0.0.1'.
[2010-12-16 23:27:41.146] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.customer' version '0.0.1'.
[2010-12-16 23:27:41.154] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.databaseservice' version '0.0.1'.
[2010-12-16 23:27:41.161] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.distributionutility' version '0.0.1'.
[2010-12-16 23:27:41.167] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.liquidityprovider' version '0.0.1'.
[2010-12-16 23:27:41.174] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.physicalenvironment' version '0.0.1'.
[2010-12-16 23:27:41.181] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.tariffruleenforcer' version '0.0.1'.
[2010-12-16 23:27:41.188] fs-watcher                   <DE0000I> Installing bundle 'powertac.plan-0.0.1-org.powertac.server.module.taxauthority' version '0.0.1'.
[2010-12-16 23:27:41.240] fs-watcher                   <DE0302E> Error parsing Spring configuration file 'META-INF/spring/databaseService-context.xml' in bundle 'org.powertac.server.module.databaseservice' version '0.0.1'. org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:179)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.scanConfigFile(SpringConfigServiceModelScanner.java:90)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.doScope(ServiceScoper.java:162)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:88)
    at org.eclipse.virgo.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:137)
    at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.scope(StandardPlanInstallArtifact.java:175)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:50)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:32)
    at org.eclipse.virgo.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:165)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:55)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:271)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:151)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:123)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:190)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)
    at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
    at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
    at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:58)
    at java.lang.Thread.run(Thread.java:662)

[2010-12-16 23:27:41.248] fs-watcher                   <DE0002E> Installation of plan 'powertac.plan' version '0.0.1' failed. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Error parsing configuration file 'META-INF/spring/databaseService-context.xml'.
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:182)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.scanConfigFile(SpringConfigServiceModelScanner.java:90)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.doScope(ServiceScoper.java:162)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:88)
    at org.eclipse.virgo.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:137)
    at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.scope(StandardPlanInstallArtifact.java:175)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:50)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:32)
    at org.eclipse.virgo.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:165)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:55)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:271)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:151)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:123)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:190)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)
    at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
    at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
    at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:58)
    at java.lang.Thread.run(Thread.java:662)
Caused by: org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:179)
    ... 27 common frames omitted

[2010-12-16 23:27:41.255] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.integration' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.259] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.bundle.ws.xml' version '1.5.9'.
[2010-12-16 23:27:41.263] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.integration.xml' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.267] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.jms' version '3.0.5.RELEASE'.
[2010-12-16 23:27:41.270] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.springframework.integration.jms' version '2.0.0.RELEASE'.
[2010-12-16 23:27:41.275] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.common' version '0.0.1'.
[2010-12-16 23:27:41.279] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.accountingservice' version '0.0.1'.
[2010-12-16 23:27:41.283] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.auctioneer' version '0.0.1'.
[2010-12-16 23:27:41.287] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.competitioncontroller' version '0.0.1'.
[2010-12-16 23:27:41.290] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.customer' version '0.0.1'.
[2010-12-16 23:27:41.294] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.databaseservice' version '0.0.1'.
[2010-12-16 23:27:41.298] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.distributionutility' version '0.0.1'.
[2010-12-16 23:27:41.302] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.liquidityprovider' version '0.0.1'.
[2010-12-16 23:27:41.306] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.physicalenvironment' version '0.0.1'.
[2010-12-16 23:27:41.310] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.tariffruleenforcer' version '0.0.1'.
[2010-12-16 23:27:41.313] fs-watcher                   <DE0003E> Install failed for bundle 'powertac.plan-0.0.1-org.powertac.server.module.taxauthority' version '0.0.1'.
[2010-12-16 23:27:41.317] fs-watcher                   <DE0003E> Install failed for plan 'powertac.plan' version '0.0.1'.
[2010-12-16 23:27:41.328] fs-watcher                   <HD0002E> Hot deploy failed for file 'powertac.plan'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Error parsing configuration file 'META-INF/spring/databaseService-context.xml'.
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:182)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.scanConfigFile(SpringConfigServiceModelScanner.java:90)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.doScope(ServiceScoper.java:162)
    at org.eclipse.virgo.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:88)
    at org.eclipse.virgo.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:137)
    at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.scope(StandardPlanInstallArtifact.java:175)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:50)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:32)
    at org.eclipse.virgo.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:165)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:55)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:271)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:151)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:123)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:190)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)
    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)
    at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
    at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
    at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:58)
    at java.lang.Thread.run(Thread.java:662)
Caused by: org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    at org.eclipse.virgo.kernel.install.artifact.internal.SpringConfigServiceModelScanner.parseConfigFile(SpringConfigServiceModelScanner.java:179)
    ... 27 common frames omitted



Daniel Ross



View message @ http://power-tac-developers.975333.n3.nabble.com/Building-powertac-server-tp2103050p2103050.html
To start a new topic under Power TAC Developers, email [hidden email]
To unsubscribe from Power TAC Developers, click here.

Reply | Threaded
Open this post in threaded view
|

Re: Building powertac server

grampajohn
Administrator
This evening I thought I would try to build the server. I did a fresh checkout from github, made sure the common module was there. Then I did the maven install as instructed at https://github.com/powertac/server/wiki/Getting-started. Here's what I see, at the point of the first error (at least I think it's the first one - this thing generates a large amount of output:

[INFO] ------------------------------------------------------------------------
[INFO] Building Competition Controller Module 0.0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ competitioncontroller ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ competitioncontroller ---
[INFO] Compiling 3 source files to /home/jcollins/development/powertac/server/modules/competitioncontroller/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[6,56] package org.powertac.server.module.databaseservice.domain does not exist
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[17,10] cannot find symbol
symbol  : class Competition
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[27,9] cannot find symbol
symbol  : class Competition
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[31,29] cannot find symbol
symbol  : class Competition
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[24,23] cannot find symbol
symbol  : class Competition
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[48,15] cannot find symbol
symbol  : variable Idle
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[52,15] cannot find symbol
symbol  : variable Scheduled
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[57,15] cannot find symbol
symbol  : variable Initialized
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[61,15] cannot find symbol
symbol  : variable Running
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[64,15] cannot find symbol
symbol  : variable Finished
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[67,15] cannot find symbol
symbol  : variable Interrupted
location: class org.powertac.server.module.competitioncontroller.CompetitionController
[INFO] 11 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PowerTAC Project .................................. SUCCESS [47.445s]
[INFO] Common ............................................ SUCCESS [1:01.800s]
[INFO] Accounting Service Module ......................... SUCCESS [1.415s]
[INFO] Auctioneer Module ................................. SUCCESS [1.474s]
[INFO] Competition Controller Module ..................... FAILURE [0.918s]
[INFO] Customer Module ................................... SKIPPED
[INFO] databaseservice ................................... SKIPPED
[INFO] Distribution Utility Module ....................... SKIPPED
[INFO] Liquidity Provider Module ......................... SKIPPED
[INFO] Physical Environment Module ....................... SKIPPED
[INFO] Tariff Rule Enforcer Module ....................... SKIPPED
[INFO] Tax Authority Module .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:53.635s
[INFO] Finished at: Wed Dec 22 18:52:25 CST 2010
[INFO] Final Memory: 26M/90M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project competitioncontroller: Compilation failure: Compilation failure:
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[6,56] package org.powertac.server.module.databaseservice.domain does not exist
[ERROR] /home/jcollins/development/powertac/server/modules/competitioncontroller/src/main/java/org/powertac/server/module/competitioncontroller/CompetitionController.java:[17,10] cannot find symbol

... and so on.

John
Reply | Threaded
Open this post in threaded view
|

Re: Building powertac server

daniel.ross
That is the same error that I received when I tried to 'mvn install' the master yesterday.