Instalacion de openwms

184 views
Skip to first unread message

Reinaldo Palacio

unread,
May 1, 2011, 10:18:55 PM5/1/11
to OPENWMS.org
Estoy investigando sobre software openwms y encontre este. Mi primer
problema es que no se como instalarlo. Traté de montarlo con
Glashfish3 pero no se puede.

Me podrias explicar como hacerlo funcionar

Muchas gracias por tu tiempo

Felicidades

Heiko Scherrer

unread,
May 3, 2011, 5:16:32 AM5/3/11
to ope...@googlegroups.com
Hi Reinaldo,

OpenWMS.org is not designed to be a JEE application with EJB and that stuff. Furthermore it is a lightweight modularized OSGi application
running on OSGi platforms like SpringSource dmServer or Eclipse Virgo webserver. Please read the README file attached
to the downloaded ZIP and follow the steps to install OpenWMS.org on dmServer.

Of course running OpenWMS.org as a packaged WAR inside any certified JEE application server shall not be a problem,
some modifications on the Spring DM configuration has to be done to replace OSGi references with pure Spring.


2011/5/2 Reinaldo Palacio <reipa...@gmail.com>

Reinaldo Palacio

unread,
May 23, 2011, 3:04:16 PM5/23/11
to OPENWMS.org
I have tried to deploy from the Virgo console the file
org.openwms.client.flex.wrapper.war Virgo but it has this message:

Artifact Console: 'Deployment Error' failed Dependency satisfaction''

And I can not follow

thanks

reinaldo

Heiko Scherrer

unread,
May 23, 2011, 5:43:42 PM5/23/11
to ope...@googlegroups.com
Why so complicated?
Download SpringSource dmServer latest 2.0.4, don't use Eclipse Virgo so far.

Then download the zip file of openwms.org and unzip it *over* your
server installation.

Then start the server and browser to localhost:8080/openwms

Thats all.

Heiko

2011/5/23 Reinaldo Palacio <reipa...@gmail.com>

Reinaldo Palacio

unread,
May 23, 2011, 9:59:58 PM5/23/11
to OPENWMS.org
I have done as you sey
This is the result wend I write localhost:8080/openwms

HTTP Status 404 - /openwms
type Status report
message /openwms
description The requested resource (/openwms) is not available.
Apache Tomcat/6.0.29


to have pacience with me

reinaldo
thanks

Heiko Scherrer

unread,
May 24, 2011, 1:01:45 AM5/24/11
to ope...@googlegroups.com

Okay. Did you read the rest of the installation manual? Please have a look at the documentation, part III Installation & Deployment. Which database do you have? In any case you can send me the server log file to find out whats missing.

Reinaldo Palacio

unread,
May 24, 2011, 10:46:15 PM5/24/11
to OPENWMS.org
Hi Heiko

I followed the aid literally. This is what the console shows me when I
run the server:

[2011-05-24 21:31:16.359] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.osgi.webcontainer.tomcat' version
'1.0.1.RELEASE'.
[2011-05-24 21:31:16.859] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.server.web.core' version '2.0.4.RELEASE'.
[2011-05-24 21:31:17.046] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.server.web.dm' version '2.0.4.RELEASE'.
[2011-05-24 21:31:17.640] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.server.web.tomcat' version '2.0.4.RELEASE'.
[2011-05-24 21:31:19.828] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.osgi.webcontainer.core' version '1.0.1.RELEASE'.
[2011-05-24 21:31:19.843] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.osgi.webcontainer.tomcat' version '1.0.1.RELEASE'.
[2011-05-24 21:31:19.859] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.server.web.core' version '2.0.4.RELEASE'.
[2011-05-24 21:31:19.875] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.server.web.dm' version '2.0.4.RELEASE'.
[2011-05-24 21:31:19.890] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.server.web.tomcat' version '2.0.4.RELEASE'.
[2011-05-24 21:31:19.906] system-artifacts <DE0001I>
Installed plan
'com.springsource.server.web' version '2.0.4.RELEASE'.
[2011-05-24 21:31:19.953] system-artifacts <DE0004I>
Starting plan '
com.springsource.server.web' version '2.0.4.RELEASE'.
[2011-05-24 21:31:19.968] system-artifacts <DE0004I>
Starting bundle
'com.springsource.osgi.webcontainer.core' version '1.0.1.RELEASE'.
[2011-05-24 21:31:20.031] start-signalling-1 <DE0005I>
Started bundle
'com.springsource.osgi.webcontainer.core' version '1.0.1.RELEASE'.
[2011-05-24 21:31:20.031] system-artifacts <DE0004I>
Starting bundle
'com.springsource.osgi.webcontainer.tomcat' version '1.0.1.RELEASE'.
[2011-05-24 21:31:21.593] system-artifacts <TC0000I>
Starting Tomcat
.
[2011-05-24 21:31:21.750] system-artifacts <TC0010I>
Creating HTTP/1
.1 connector with scheme http on port 8080.
[2011-05-24 21:31:21.781] system-artifacts <TC0010I>
Creating HTTP/1
.1 connector with scheme https on port 8443.
[2011-05-24 21:31:21.796] system-artifacts <TC0010I>
Creating AJP/1.
3 connector with scheme http on port 8009.
[2011-05-24 21:31:21.953] system-artifacts <TC0001I>
Started Tomcat.

[2011-05-24 21:31:21.984] system-artifacts <DE0004I>
Starting bundle
'com.springsource.server.web.core' version '2.0.4.RELEASE'.
[2011-05-24 21:31:22.015] system-artifacts <DE0004I>
Starting bundle
'com.springsource.server.web.dm' version '2.0.4.RELEASE'.
[2011-05-24 21:31:22.046] start-signalling-1 <DE0005I>
Started bundle
'com.springsource.server.web.dm' version '2.0.4.RELEASE'.
[2011-05-24 21:31:22.093] system-artifacts <DE0005I>
Started bundle
'com.springsource.server.web.tomcat' version '2.0.4.RELEASE'.
[2011-05-24 21:31:22.546] start-signalling-2 <DE0005I>
Started bundle
'com.springsource.server.web.core' version '2.0.4.RELEASE'.
[2011-05-24 21:31:22.546] start-signalling-1 <DE0005I>
Started bundle
'com.springsource.osgi.webcontainer.tomcat' version '1.0.1.RELEASE'.
[2011-05-24 21:31:22.562] start-signalling-1 <DE0005I>
Started plan 'c
om.springsource.server.web' version '2.0.4.RELEASE'.
[2011-05-24 21:31:22.578] Thread-2 <UR0001I> User
region rea
dy.
[2011-05-24 21:31:22.750] deployer-recovery <DE0000I>
Installing plan
'com.springsource.server.admin.plan' version '2.0.4.RELEASE'.
[2011-05-24 21:31:24.000] deployer-recovery <DE0000I>
Installing bund
le 'com.springsource.server.admin.content' version '2.0.4.RELEASE'.
[2011-05-24 21:32:42.781] deployer-recovery <DE0000I>
Installing bund
le 'com.springsource.server.admin.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:09.890] deployer-recovery <DE0001I>
Installed bundl
e 'com.springsource.server.admin.content' version '2.0.4.RELEASE'.
[2011-05-24 21:33:09.906] deployer-recovery <DE0001I>
Installed bundl
e 'com.springsource.server.admin.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:09.921] deployer-recovery <DE0001I>
Installed plan
'com.springsource.server.admin.plan' version '2.0.4.RELEASE'.
[2011-05-24 21:33:09.953] deployer-recovery <DE0004I>
Starting plan '
com.springsource.server.admin.plan' version '2.0.4.RELEASE'.
[2011-05-24 21:33:09.968] deployer-recovery <DE0004I>
Starting bundle
'com.springsource.server.admin.content' version '2.0.4.RELEASE'.
[2011-05-24 21:33:10.468] start-signalling-3 <DE0005I>
Started bundle
'com.springsource.server.admin.content' version '2.0.4.RELEASE'.
[2011-05-24 21:33:10.765] deployer-recovery <DE0004I>
Starting bundle
'com.springsource.server.admin.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:10.812] Thread-3 <WE0000I>
Starting web bu
ndle 'com.springsource.server.admin.web' version '2.0.4.RELEASE' with
context pa
th '/admin'.
[2011-05-24 21:33:14.203] Thread-3 <WE0001I>
Started web bun
dle 'com.springsource.server.admin.web' version '2.0.4.RELEASE' with
context pat
h '/admin'.
[2011-05-24 21:33:14.218] start-signalling-3 <DE0005I>
Started bundle
'com.springsource.server.admin.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:14.234] start-signalling-3 <DE0005I>
Started plan 'c
om.springsource.server.admin.plan' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.328] deployer-recovery <DE0000I>
Installing par
'com.springsource.server.repository.hosted' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.343] deployer-recovery <DE0000I>
Installing bund
le 'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.ser
ver.repository.hosted.core' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.359] deployer-recovery <DE0000I>
Installing bund
le 'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.ser
ver.repository.hosted.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.796] deployer-recovery <DE0001I>
Installed bundl
e 'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.serv
er.repository.hosted.core' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.812] deployer-recovery <DE0001I>
Installed bundl
e 'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.serv
er.repository.hosted.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.828] deployer-recovery <DE0001I>
Installed bundl
e 'com.springsource.server.repository.hosted-2.0.4.RELEASE-
synthetic.context' ve
rsion '2.0.4.RELEASE'.
[2011-05-24 21:33:15.828] deployer-recovery <DE0001I>
Installed par '
com.springsource.server.repository.hosted' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.875] deployer-recovery <DE0004I>
Starting par 'c
om.springsource.server.repository.hosted' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.890] deployer-recovery <DE0004I>
Starting bundle
'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.serve
r.repository.hosted.core' version '2.0.4.RELEASE'.
[2011-05-24 21:33:15.984] deployer-recovery <DE0004I>
Starting bundle
'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.serve
r.repository.hosted.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:16.015] Thread-3 <WE0000I>
Starting web bu
ndle 'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.s
erver.repository.hosted.web' version '2.0.4.RELEASE' with context path
'/com.spr
ingsource.server.repository'.
[2011-05-24 21:33:16.015] deployer-recovery <DE0004I>
Starting bundle
'com.springsource.server.repository.hosted-2.0.4.RELEASE-
synthetic.context' ver
sion '2.0.4.RELEASE'.
[2011-05-24 21:33:16.109] start-signalling-4 <DE0005I>
Started bundle
'com.springsource.server.repository.hosted-2.0.4.RELEASE-
synthetic.context' vers
ion '2.0.4.RELEASE'.
[2011-05-24 21:33:16.968] start-signalling-4 <DE0005I>
Started bundle
'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.server
.repository.hosted.core' version '2.0.4.RELEASE'.
[2011-05-24 21:33:19.062] Thread-3 <WE0001I>
Started web bun
dle 'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.se
rver.repository.hosted.web' version '2.0.4.RELEASE' with context path
'/com.spri
ngsource.server.repository'.
[2011-05-24 21:33:19.078] start-signalling-3 <DE0005I>
Started bundle
'com.springsource.server.repository.hosted-2.0.4.RELEASE-
com.springsource.server
.repository.hosted.web' version '2.0.4.RELEASE'.
[2011-05-24 21:33:19.093] start-signalling-3 <DE0005I>
Started par 'co
m.springsource.server.repository.hosted' version '2.0.4.RELEASE'.
[2011-05-24 21:33:19.921] deployer-recovery <DE0000I>
Installing bund
le 'com.springsource.server.splash' version '2.0.4.RELEASE'.
[2011-05-24 21:33:20.203] deployer-recovery <DE0001I>
Installed bundl
e 'com.springsource.server.splash' version '2.0.4.RELEASE'.
[2011-05-24 21:33:20.234] deployer-recovery <DE0004I>
Starting bundle
'com.springsource.server.splash' version '2.0.4.RELEASE'.
[2011-05-24 21:33:20.250] Thread-3 <WE0000I>
Starting web bu
ndle 'com.springsource.server.splash' version '2.0.4.RELEASE' with
context path
'/'.
[2011-05-24 21:33:20.562] Thread-3 <WE0001I>
Started web bun
dle 'com.springsource.server.splash' version '2.0.4.RELEASE' with
context path '
/'.
[2011-05-24 21:33:20.578] start-signalling-3 <DE0005I>
Started bundle
'com.springsource.server.splash' version '2.0.4.RELEASE'.
[2011-05-24 21:33:21.593] fs-watcher <HD0001I> Hot
deployer pr
ocessing 'INITIAL' event for file
'com.springsource.server.admin-2.0.4.RELEASE.p
lan'.
[2011-05-24 21:33:21.625] fs-watcher <HD0005I> Hot
deploy not
performed because file
'com.springsource.server.admin-2.0.4.RELEASE.plan' is alr
eady deployed.
[2011-05-24 21:33:21.640] fs-watcher <HD0001I> Hot
deployer pr
ocessing 'INITIAL' event for file
'com.springsource.server.repository.hosted-2.0
.4.RELEASE.par'.
[2011-05-24 21:33:21.656] fs-watcher <HD0005I> Hot
deploy not
performed because file
'com.springsource.server.repository.hosted-2.0.4.RELEASE.
par' is already deployed.
[2011-05-24 21:33:21.671] fs-watcher <HD0001I> Hot
deployer pr
ocessing 'INITIAL' event for file
'com.springsource.server.splash-2.0.4.RELEASE.
war'.
[2011-05-24 21:33:21.687] fs-watcher <HD0005I> Hot
deploy not
performed because file
'com.springsource.server.splash-2.0.4.RELEASE.war' is alr
eady deployed.
[2011-05-24 21:33:21.703] fs-watcher <HD0001I> Hot
deployer pr
ocessing 'INITIAL' event for file
'org.openwms.client.flex.wrapper.war'.
[2011-05-24 21:33:26.171] fs-watcher <DE0000I>
Installing bund
le 'org.openwms.client.flex.wrapper' version '0.0.1.SNAPSHOT'.
[2011-05-24 21:33:32.015] fs-watcher <DE0002E>
Installation of
bundle 'org.openwms.client.flex.wrapper' version '0.0.1.SNAPSHOT'
failed. com.s
pringsource.kernel.deployer.core.DeploymentException: commit failed
at
com.springsource.kernel.install.pipeline.stage.resolve.internal.Commi
tStage.process(CommitStage.java:50)
at
com.springsource.kernel.install.pipeline.internal.StandardPipeline.do
ProcessTree(StandardPipeline.java:71)
at
com.springsource.kernel.install.pipeline.internal.CompensatingPipelin
e.doProcessTree(CompensatingPipeline.java:81)
at
com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.
process(AbstractPipelineStage.java:50)
at
com.springsource.kernel.install.pipeline.internal.StandardPipeline.do
ProcessTree(StandardPipeline.java:71)
at
com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.
process(AbstractPipelineStage.java:50)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.driveInstallPipeline(PipelinedApplicationDeployer.java:277)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.doInstall(PipelinedApplicationDeployer.java:160)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.install(PipelinedApplicationDeployer.java:132)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.deploy(PipelinedApplicationDeployer.java:196)
at
com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.
deploy(HotDeploymentFileSystemListener.java:185)
at
com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.
deployIfNotDeployed(HotDeploymentFileSystemListener.java:197)
at
com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.
onChange(HotDeploymentFileSystemListener.java:98)
at
com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystem
Checker.java:183)
at
com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.ja
va:144)
at
com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69)

at java.lang.Thread.run(Thread.java:662)
Caused by: org.osgi.framework.BundleException: Failed to start bundle
'org.openw
ms.common.domain' version '0.0.1.SNAPSHOT'
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.startBundle(StandardQuasiFramework.java:330)
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.startBundles(StandardQuasiFramework.java:319)
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.commit(StandardQuasiFramework.java:308)
at
com.springsource.kernel.install.pipeline.stage.resolve.internal.Commi
tStage.process(CommitStage.java:48)
... 16 common frames omitted
Caused by: org.osgi.framework.BundleException: The bundle could not be
resolved.
Reason: Missing Constraint: Import-Package:
org.apache.commons.lang.enum; versi
on="0.0.0"
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverEr
ror(AbstractBundle.java:1313)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolution
FailureException(AbstractBundle.java:1297)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:309)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
tBundle.java:280)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
tBundle.java:272)
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.startBundle(StandardQuasiFramework.java:328)
... 19 common frames omitted

[2011-05-24 21:33:32.125] fs-watcher <DE0003E>
Install failed
for bundle 'org.openwms.client.flex.wrapper' version '0.0.1.SNAPSHOT'.
[2011-05-24 21:33:32.156] fs-watcher <HD0002E> Hot
deploy fail
ed for file 'org.openwms.client.flex.wrapper.war'.
com.springsource.kernel.deplo
yer.core.DeploymentException: commit failed
at
com.springsource.kernel.install.pipeline.stage.resolve.internal.Commi
tStage.process(CommitStage.java:50)
at
com.springsource.kernel.install.pipeline.internal.StandardPipeline.do
ProcessTree(StandardPipeline.java:71)
at
com.springsource.kernel.install.pipeline.internal.CompensatingPipelin
e.doProcessTree(CompensatingPipeline.java:81)
at
com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.
process(AbstractPipelineStage.java:50)
at
com.springsource.kernel.install.pipeline.internal.StandardPipeline.do
ProcessTree(StandardPipeline.java:71)
at
com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.
process(AbstractPipelineStage.java:50)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.driveInstallPipeline(PipelinedApplicationDeployer.java:277)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.doInstall(PipelinedApplicationDeployer.java:160)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.install(PipelinedApplicationDeployer.java:132)
at
com.springsource.kernel.deployer.core.internal.PipelinedApplicationDe
ployer.deploy(PipelinedApplicationDeployer.java:196)
at
com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.
deploy(HotDeploymentFileSystemListener.java:185)
at
com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.
deployIfNotDeployed(HotDeploymentFileSystemListener.java:197)
at
com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.
onChange(HotDeploymentFileSystemListener.java:98)
at
com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystem
Checker.java:183)
at
com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.ja
va:144)
at
com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69)

at java.lang.Thread.run(Thread.java:662)
Caused by: org.osgi.framework.BundleException: Failed to start bundle
'org.openw
ms.common.domain' version '0.0.1.SNAPSHOT'
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.startBundle(StandardQuasiFramework.java:330)
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.startBundles(StandardQuasiFramework.java:319)
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.commit(StandardQuasiFramework.java:308)
at
com.springsource.kernel.install.pipeline.stage.resolve.internal.Commi
tStage.process(CommitStage.java:48)
... 16 common frames omitted
Caused by: org.osgi.framework.BundleException: The bundle could not be
resolved.
Reason: Missing Constraint: Import-Package:
org.apache.commons.lang.enum; versi
on="0.0.0"
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverEr
ror(AbstractBundle.java:1313)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolution
FailureException(AbstractBundle.java:1297)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:309)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
tBundle.java:280)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
tBundle.java:272)
at
com.springsource.kernel.userregion.internal.quasi.StandardQuasiFramew
ork.startBundle(StandardQuasiFramework.java:328)
... 19 common frames omitted



Thanks

Reinaldo

Heiko Scherrer

unread,
May 25, 2011, 3:11:34 AM5/25/11
to ope...@googlegroups.com
Hi Reinaldo,

ok. It seems that only the openwms.org web application (bundle org.openwms.client.flex.wrapper.war) is getting deployed. I don't see, that the services and infrastructure bundles are installed and started properly.

So please verify that the openwms.org plan is started:

-  open <dm_server_dir>/config/com.springsource.kernel.userregion.properties

The last line of this file must contain the openwms.org plan file, that the services are started up automatically

initialArtifacts=repository:plan/com.springsource.kernel.userregion.springdm, repository:plan/org.openwms.app.plan, repository:plan/com.springsource.server.web

Reinaldo Palacio

unread,
May 25, 2011, 12:57:49 PM5/25/11
to OPENWMS.org
Hi Heiko

Wend I insert:
initialArtifacts=repository:plan/
com.springsource.kernel.userregion.springd m,
*repository:plan/org.openwms.app.plan*,
repository:plan/com.springsource.server.web

and run start.bat on the dmserver dir, the console don't show me
nothin.

I change

initialArtifacts=repository:plan/
com.springsource.kernel.userregion.springdm,
repository:plan/org.openwms.app.plan,
repository:plan/com.springsource.server.web , the console close
automaticly

I think its springdm not springd m?

finaly it doesn't function well.
That should work just as the manuals say.
wait so hard to me?

here it's a copy of my file:

baseBundles = \
file:lib/kernel/
com.springsource.kernel.userregion-2.0.4.RELEASE.jar@start

packageImports =\
com.springsource.kernel.artifact.*;version="[2,3)",\
com.springsource.kernel.core;version="[2,3)",\
com.springsource.kernel.deployer.core;version="[2,3)",\
com.springsource.kernel.deployer.core.event;version="[2,3)",\
com.springsource.kernel.install.*;version="[2,3)",\
com.springsource.kernel.osgi.*;version="[2,3)",\
com.springsource.kernel.model.management;version="[2,3)",\
com.springsource.kernel.module;version="[2,3)",\
com.springsource.kernel.serviceability;version="[2,3)",\
com.springsource.kernel.serviceability.*;version="[2,3)",\
com.springsource.kernel.services.work;version="[2,3)",\
com.springsource.kernel.shell.*;version="[2,3)",\
com.springsource.kernel.shim.*;version="[2,3)",\
com.springsource.osgi.medic.*;version="[1.0,2)",\
com.springsource.repository;version="[2.0,3)",\
com.springsource.repository.*;version="[2.0,3)",\
com.springsource.util.*;version="[2.0,3)",\
org.apache.commons.logging;version="[1.0.0,2.0.0)",\
org.apache.commons.logging.impl;version="[1.0.0,2.0.0)",\
org.aspectj.*;version="[1.6.5.RELEASE,2.0.0)",\
org.osgi.service.cm;version="0",\
org.osgi.service.event;version="0",\
org.slf4j;version="[1.5.10,2)",\
org.slf4j.spi;version="[1.5.10,2)"

serviceImports =\
com.springsource.kernel.deployer.core.ApplicationDeployer,\
com.springsource.kernel.deployer.core.DeployUriNormaliser,\
com.springsource.kernel.install.artifact.ScopeServiceRepository,\
com.springsource.kernel.services.work.WorkArea,\
com.springsource.repository.ArtifactBridge,\
com.springsource.kernel.shell.state.StateService,\
com.springsource.repository.RepositoryFactory,\
com.springsource.repository.HashGenerator,\
com.springsource.osgi.medic.eventlog.EventLoggerFactory,\
com.springsource.repository.Repository,\
com.springsource.kernel.core.Shutdown,\
org.osgi.service.cm.ConfigurationAdmin,\
org.osgi.service.event.EventAdmin,\
com.springsource.osgi.medic.dump.DumpGenerator,\
com.springsource.kernel.shim.scope.ScopeFactory,\
com.springsource.kernel.shim.serviceability.TracingService

serviceExports =\

com.springsource.kernel.install.artifact.InstallArtifactLifecycleListener,
\
com.springsource.kernel.install.artifact.ArtifactIdentityDeterminer,\
com.springsource.kernel.install.pipeline.stage.transform.Transformer,
\
com.springsource.kernel.module.ModuleContextAccessor,\
com.springsource.osgi.medic.dump.DumpContributor,\
com.springsource.kernel.osgi.quasi.QuasiFrameworkFactory,\
com.springsource.kernel.osgi.framework.OsgiFramework,\
com.springsource.kernel.osgi.framework.ImportExpander,\
com.springsource.kernel.osgi.framework.PackageAdminUtil,\
org.osgi.service.event.EventHandler,\
org.osgi.service.cm.ConfigurationListener,\
org.osgi.service.cm.ManagedService,\
org.osgi.service.cm.ManagedServiceFactory

inheritedFrameworkProperties =\
eclipse.bundle.setTCCL,\
eclipse.enableStateSaver,\
osgi.java.profile,\
osgi.parentClassloader,\
osgi.context.bootdelegation,\
osgi.compatibility.bootdelegation,\
osgi.java.profile.bootdelegation,\
osgi.hook.configurators.include

initialArtifacts=repository:plan/
com.springsource.kernel.userregion.springdm,
repository:plan/org.openwms.app.plan,
repository:plan/com.springsource.server.web

thanks
Reinaldo

Heiko Scherrer

unread,
May 25, 2011, 1:40:57 PM5/25/11
to ope...@googlegroups.com
Hi Reinaldo,

could you please send me the server log file by mail?

You find it here:
<dm_server_dir>/serviceability/logs/log.log

regards,
Heiko

2011/5/25 Reinaldo Palacio <reipa...@gmail.com>

Heiko Scherrer

unread,
May 25, 2011, 5:51:11 PM5/25/11
to ope...@googlegroups.com
Hi Reinaldo,

probably I found out what the problem is. As I remember you are using SpringSource dmServer in version 2.0.5
If so, please check at the top of the configuration file that the version is right:

*NOT*

baseBundles = \
 file:lib/kernel/
com.springsource.kernel.userregion-2.0.4.RELEASE.jar@start

but:
baseBundles = \
 file:lib/kernel/
com.springsource.kernel.userregion-2.0.5.RELEASE.jar@start

Please check and let me know.

Heiko

2011/5/25 Reinaldo Palacio <reipa...@gmail.com>
Hi Heiko

Heiko Scherrer

unread,
May 25, 2011, 6:33:00 PM5/25/11
to ope...@googlegroups.com
Okay I updated the dmServer configuration file as well as the README and uploaded the zip file to the download area.
Now it works with SpringSource dmServer 2.0.5 out of the box. Don't forget to setup a PostgreSQL database server with
a database OPENWMS and the same username/password configuration.

I apologize for the trouble you had.

Regards,
Heiko

2011/5/25 Reinaldo Palacio <reipa...@gmail.com>
Hi Heiko

Reinaldo Palacio

unread,
May 25, 2011, 10:12:20 PM5/25/11
to OPENWMS.org
Hi Heiko

I have again installed the new updated version 2.0.5 dm server. I
followed the installation manual.
when I run the console, run startup.bat and it says dm server is
starting. Then it finishes with a message shut down and close the
console automatically. The server can not start.

Then I can`t try openwms

Thanks for your help

reinaldo

Reinaldo Palacio

unread,
May 25, 2011, 10:29:45 PM5/25/11
to OPENWMS.org


Hi Heiko

this is what happens when I run the server

C:\springsource-dm-server-2.0.5.RELEASE\bin>startup.bat
[2011-05-25 21:25:36.968] startup-tracker <KE0001I>
Kernel starting
.
[2011-05-25 21:25:44.312] kernel-dm-11 <SH0001I> dm
Kernel ssh s
hell available on port 2401.
[2011-05-25 21:25:44.515] startup-tracker <KE0002I>
Kernel started.

[2011-05-25 21:25:44.734] system-artifacts <DE0000I>
Installing plan
'com.springsource.kernel.userregion.springdm' version
'2.0.4.RELEASE'.
[2011-05-25 21:25:47.546] system-artifacts <DE0000I>
Installing bund
le 'org.springframework.osgi.core' version '1.2.1'.
[2011-05-25 21:25:48.656] system-artifacts <DE0000I>
Installing bund
le 'org.springframework.osgi.extender' version '1.2.1'.
[2011-05-25 21:25:49.015] system-artifacts <DE0000I>
Installing bund
le 'org.springframework.osgi.io' version '1.2.1'.
[2011-05-25 21:25:49.187] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.kernel.agent.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:49.296] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.kernel.deployer.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:53.765] system-artifacts <DE0001I>
Installed bundl
e 'org.springframework.osgi.core' version '1.2.1'.
[2011-05-25 21:25:53.765] system-artifacts <DE0001I>
Installed bundl
e 'org.springframework.osgi.extender' version '1.2.1'.
[2011-05-25 21:25:53.781] system-artifacts <DE0001I>
Installed bundl
e 'org.springframework.osgi.io' version '1.2.1'.
[2011-05-25 21:25:53.796] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.kernel.agent.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:53.812] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.kernel.deployer.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:53.812] system-artifacts <DE0001I>
Installed plan
'com.springsource.kernel.userregion.springdm' version '2.0.4.RELEASE'.
[2011-05-25 21:25:53.875] system-artifacts <DE0004I>
Starting plan '
com.springsource.kernel.userregion.springdm' version '2.0.4.RELEASE'.
[2011-05-25 21:25:53.906] system-artifacts <DE0004I>
Starting bundle
'org.springframework.osgi.core' version '1.2.1'.
[2011-05-25 21:25:53.921] start-signalling-1 <DE0005I>
Started bundle
'org.springframework.osgi.core' version '1.2.1'.
[2011-05-25 21:25:53.937] system-artifacts <DE0004I>
Starting bundle
'org.springframework.osgi.extender' version '1.2.1'.
[2011-05-25 21:25:54.875] start-signalling-1 <DE0005I>
Started bundle
'org.springframework.osgi.extender' version '1.2.1'.
[2011-05-25 21:25:54.875] system-artifacts <DE0004I>
Starting bundle
'org.springframework.osgi.io' version '1.2.1'.
[2011-05-25 21:25:54.906] system-artifacts <DE0004I>
Starting bundle
'com.springsource.kernel.agent.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:54.906] start-signalling-1 <DE0005I>
Started bundle
'org.springframework.osgi.io' version '1.2.1'.
[2011-05-25 21:25:54.953] system-artifacts <DE0004I>
Starting bundle
'com.springsource.kernel.deployer.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:54.953] start-signalling-1 <DE0005I>
Started bundle
'com.springsource.kernel.agent.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:55.125] start-signalling-1 <DE0005I>
Started bundle
'com.springsource.kernel.deployer.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:55.140] start-signalling-1 <DE0005I>
Started plan 'c
om.springsource.kernel.userregion.springdm' version '2.0.4.RELEASE'.
[2011-05-25 21:25:55.250] system-artifacts <DE0000I>
Installing plan
'com.springsource.server.web' version '2.0.4.RELEASE'.
[2011-05-25 21:25:55.781] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.osgi.webcontainer.core' version '1.0.2.RELEASE'.
[2011-05-25 21:25:56.406] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.osgi.webcontainer.tomcat' version
'1.0.2.RELEASE'.
[2011-05-25 21:25:56.609] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.server.web.core' version '2.0.5.RELEASE'.
[2011-05-25 21:25:56.687] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.server.web.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:56.843] system-artifacts <DE0000I>
Installing bund
le 'com.springsource.server.web.tomcat' version '2.0.5.RELEASE'.
[2011-05-25 21:25:58.531] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.osgi.webcontainer.core' version '1.0.2.RELEASE'.
[2011-05-25 21:25:58.546] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.osgi.webcontainer.tomcat' version '1.0.2.RELEASE'.
[2011-05-25 21:25:58.562] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.server.web.core' version '2.0.5.RELEASE'.
[2011-05-25 21:25:58.578] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.server.web.dm' version '2.0.5.RELEASE'.
[2011-05-25 21:25:58.578] system-artifacts <DE0001I>
Installed bundl
e 'com.springsource.server.web.tomcat' version '2.0.5.RELEASE'.
[2011-05-25 21:25:58.593] system-artifacts <DE0001I>
Installed plan
'com.springsource.server.web' version '2.0.4.RELEASE'.
[2011-05-25 21:25:58.640] system-artifacts <DE0004I>
Starting plan '
com.springsource.server.web' version '2.0.4.RELEASE'.
[2011-05-25 21:25:58.640] system-artifacts <DE0004I>
Starting bundle
'com.springsource.osgi.webcontainer.core' version '1.0.2.RELEASE'.
[2011-05-25 21:25:58.703] system-artifacts <DE0004I>
Starting bundle
'com.springsource.osgi.webcontainer.tomcat' version '1.0.2.RELEASE'.
[2011-05-25 21:25:58.703] start-signalling-1 <DE0005I>
Started bundle
'com.springsource.osgi.webcontainer.core' version '1.0.2.RELEASE'.
[2011-05-25 21:25:59.375] system-artifacts <TC0011E>
Failed to start
Tomcat. Port 8080 is in use.
[2011-05-25 21:25:59.390] System Bundle Shutdown <KE0010I>
Shutdown initia
ted.

C:\springsource-dm-server-2.0.5.RELEASE\bin>

Heiko Scherrer

unread,
May 26, 2011, 12:54:42 AM5/26/11
to ope...@googlegroups.com

Two things to your environment. In the last line you see the message Tomcat port 8080 is in use. That means there is another process running that blocks 8080. So find it and stop it.

Second. In the log I see a mix of version 2.0.4 and 2.0.5

Last. When I download the openwms.org zip file and unzip over a fresh installation of dmserver 2.0.5 it works fine.

Regards
Heiko

Reinaldo Palacio

unread,
May 26, 2011, 4:36:33 PM5/26/11
to OPENWMS.org
Hi Heiko


I'm sorry. it Does not work.
I will not bother you anymore
I wait a easy to install version

I thank you for your help

Thanks
reinaldo

Reply all
Reply to author
Forward
0 new messages