Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now we can run the Docker container:

  1. "sudo docker run -p 9669:9700 run 127.0.0.1:9700:9669 --name our_odysseus -t 3adf9650f4ed"
Code Block
languagebash
titleStarting the container
tobi@tobi-VirtualBox:~/Documents/odysseusdocker$ sudo docker run -p 9669127.0.0.1:9700 run:9669 --name our_odysseus -t 3adf9650f4ed
Starting Odysseus ...
Odysseus:
GTK+ Version Check
0    INFO  Core  - Current size of heap:     1.0 GB - de.uniol.inf.is.odysseus.core.Activator.start(Activator.java:61) 
2423   INFO  Core  - Maximum size of heap:     1.0 GB - de.uniol.inf.is.odysseus.core.Activator.start(Activator.java:64) 
2526   INFO  Core  - Free memory of the heap:     879.4 MB - de.uniol.inf.is.odysseus.core.Activator.start(Activator.java:67) 
5027   INFO  Core  - Running VM with:     amd64 - de.uniol.inf.is.odysseus.core.Activator.start(Activator.java:70) 
1280999  INFO  OdysseusConfiguration  - Read config file from /root/.odysseus/odysseus.conf - de.uniol.inf.is.odysseus.core.server.OdysseusConfiguration.loadProperties(OdysseusConfiguration.java:86) 
30992662 WARN  LogicalOperatorBuilder  - URL for SetTimeProgressMarker not available! - de.uniol.inf.is.odysseus.logicaloperator.LogicalOperatorBuilder.addLogicalOperator(LogicalOperatorBuilder.java:243) 
37343271 INFO  OdysseusServerApplication  - Odysseus application is fully started! - de.uniol.inf.is.odysseus.product.server.starter.OdysseusServerApplication.start(OdysseusServerApplication.java:31) 
osgi> 57965353 INFO  SingleSchedulerManager  - No Scheduler-Config-File found. - de.uniol.inf.is.odysseus.scheduler.manager.singleschedulermanager.SingleSchedulerManager.activate(SingleSchedulerManager.java:113) 
57995354 INFO  SingleSchedulerManager  - New Scheduler-Config-File created - de.uniol.inf.is.odysseus.scheduler.manager.singleschedulermanager.SingleSchedulerManager.activate(SingleSchedulerManager.java:126) 
58365406 INFO  SingleSchedulerManager  - Active scheduler. class de.uniol.inf.is.odysseus.scheduler.singlethreadscheduler.SimpleThreadSchedulerMSLimitSourcesPerThread - de.uniol.inf.is.odysseus.scheduler.manager.singleschedulermanager.SingleSchedulerManager.activate(SingleSchedulerManager.java:137) 
81817524 INFO  WebServicePublisher  - Webservice published at http://0:0:0:0:0:0:0:0:9669/odysseus - de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server.WebServicePublisher.publish(WebServicePublisher.java:106) 

As you can see above, Odysseus started. We also exposed one port the the outside: port 9669 is forwarded to port 9700, wherefore we should be able to see the WebService in our host machine. Just open http://localhost:9700/odysseus?wsdl in a browser on your host machine.You should be able to see an XML-file describing the Odysseus WebService.