Hi Chris,

Will check for sure.

On Wed, Sep 24, 2014 at 5:22 PM, chris snow (JIRA) <j...@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/STRATOS-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146238#comment-14146238
> ]
>
> chris snow commented on STRATOS-776:
> ------------------------------------
>
> Is it possible for someone with Carbon internals knowledge to debug and
> resolve this issue?
>
> > Stratos in docker image not starting
> > ------------------------------------
> >
> >                 Key: STRATOS-776
> >                 URL: https://issues.apache.org/jira/browse/STRATOS-776
> >             Project: Stratos
> >          Issue Type: Bug
> >            Reporter: chris snow
> >            Priority: Blocker
> >             Fix For: 4.1.0 M1
> >
> >
> > Stratos image is not starting.  It hangs at the following:
> > {code}
> > JAVA_HOME environment variable is set to
> /usr/lib/jvm/java-7-openjdk-amd64/
> > CARBON_HOME environment variable is set to /opt/apache-stratos
> > [2014-09-06 18:56:06,392]  INFO
> {org.wso2.carbon.server.extensions.PatchInstaller} -  Patch changes detected
> > [2014-09-06 18:56:07,657]  INFO
> {org.wso2.carbon.server.util.PatchUtils.console} -  Backed up plugins to
> patch0000
> > [2014-09-06 18:56:12,857]  INFO
> {org.wso2.carbon.server.util.PatchUtils.console} -  Patch verification
> started
> > [2014-09-06 18:56:13,257]  INFO
> {org.wso2.carbon.server.util.PatchUtils.console} -  Patch verification
> successfully completed without encountering any issues.
> > [2014-09-06 18:56:16,884]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
> Carbon...
> > [2014-09-06 18:56:16,892]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
> Linux 3.13.0-24-generic, amd64
> > [2014-09-06 18:56:16,892]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home        :
> /usr/lib/jvm/java-7-openjdk-amd64/jre
> > [2014-09-06 18:56:16,893]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version     :
> 1.7.0_55
> > [2014-09-06 18:56:16,893]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM          :
> OpenJDK 64-Bit Server VM 24.51-b03,Oracle Corporation
> > [2014-09-06 18:56:16,893]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home      :
> /opt/apache-stratos
> > [2014-09-06 18:56:16,893]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir    :
> /opt/apache-stratos/tmp
> > [2014-09-06 18:56:16,894]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  User             :
> root, en-US, Etc/UTC
> > [2014-09-06 18:56:17,084]  WARN
> {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -  The
> default keystore (wso2carbon.jks) is currently being used. To maximize
> security when deploying to a production environment, configure a new
> keystore with a unique password in the production server profile.
> > [2014-09-06 18:56:17,093]  WARN
> {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -
> Swap Memory size (MB): 767 of the system is below the recommended minimum
> size :2048
> > [2014-09-06 18:56:20,300]  INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
> Registry in 404ms
> > [2014-09-06 18:56:21,335]  INFO
> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
> Registry Mode    : READ-WRITE
> > [2014-09-06 18:56:21,419]  INFO
> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
> UserStoreMgtDSComponent activated successfully.
> > {code}
> > *Steps to repeat:*
> > - Install Vagrant from www.vagrantup.com (don't use your distro's
> package)
> > - Install Virtualbox from www.virtualbox.org (don't use your distro's
> package)
> > - git clone https://github.com/snowch/vagrant-stratos-runtime.git
> > - cd vagrant-stratos-runtime.git
> > - vagrant up --provision
> > - look for output:
> > {code}
> > ==============================================
> > Starting Stratos docker images.
> > To view the stratos log file, run the command:
> > docker logs -f <<image_id>>
> > ==============================================
> > {code}
> > - vagrant ssh
> > - run docker logs -f <<image_id>>
> > *To debug:*
> > - vagrant ssh (if not already ssh'd in to the box)
> > - run 'bash stop_stratos_containers.sh'
> > - comment out the line immediately after the line "# Start Stratos
> container as daemon" in run-example.sh
> > - uncomment the last line after: "# To run stratos interactively - e.g.
> for debugging" in run-example.sh
> > - run 'bash run-example.sh'
> > - sudo bash run-nsenter.sh <<image_id>>  # this will take some time to
> download the nsenter image
> > - You are now at a bash prompt inside the stratos docker image
> > - Edit '/usr/local/bin/run', for example to add the -DosgiConsole option
> > - now run the script '/usr/local/bin/run'
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to