You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2011/04/04 00:45:05 UTC

[jira] [Created] (WOOKIE-196) initDB = True in distribution files

initDB = True in distribution files
-----------------------------------

                 Key: WOOKIE-196
                 URL: https://issues.apache.org/jira/browse/WOOKIE-196
             Project: Wookie
          Issue Type: Bug
          Components: Build and Distributions
    Affects Versions: 0.9.0
            Reporter: Ross Gardler
            Priority: Blocker
             Fix For: 0.9.0


> - stopping standalone and run ./startup.sh again: all previously deployed widgets are "gone" except the "unsupported widget" widget
>    ->  standalone is not repeatable runnable

That sounds like we have initDB set to true (which is the default in src). We probably want this to be false in the release.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WOOKIE-196) initDB = True in distribution files

Posted by "Paul Sharples (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015359#comment-13015359 ] 

Paul Sharples commented on WOOKIE-196:
--------------------------------------

okay, just tested on both ubuntu & macos - seems the backquotes are the problem, should be " double quotes instead

> initDB = True in distribution files
> -----------------------------------
>
>                 Key: WOOKIE-196
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-196
>             Project: Wookie
>          Issue Type: Bug
>          Components: Build and Distributions
>    Affects Versions: 0.9.0
>            Reporter: Ross Gardler
>            Priority: Blocker
>             Fix For: 0.9.0
>
>
> > - stopping standalone and run ./startup.sh again: all previously deployed widgets are "gone" except the "unsupported widget" widget
> >    ->  standalone is not repeatable runnable
> That sounds like we have initDB set to true (which is the default in src). We probably want this to be false in the release.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WOOKIE-196) initDB = True in distribution files

Posted by "Paul Sharples (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015329#comment-13015329 ] 

Paul Sharples commented on WOOKIE-196:
--------------------------------------

Ubuntu 11.04
Server and browser separate machines?: No
Servlet Engine: embedded, Tomcat 6.0.32, Tomcat 7.0.11
Java version: 1.6.0_24 (64-bit)
Browsers tested: Firefox 4.0

The first time we run wookie we want to create the database though don't we? 

The startup script is supposed to look for the widgetDatabase folder on boot and create it if it does not exist. Its been reported that this is working for windows (using the batch file) & on the mac (using the shell script below) so this may possibly be ubuntu specific. (ie the 'if' part is broke)

PROGARGS=
if [ -d ./widgetDatabase ]; then
    PROGARGS=`initDB=false`
fi
java -classpath lib/*:build/webapp/wookie/WEB-INF/lib/*:build/webapp/wookie/WEB-INF/classes org.apache.wookie.server.Start $PROGARGS

> initDB = True in distribution files
> -----------------------------------
>
>                 Key: WOOKIE-196
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-196
>             Project: Wookie
>          Issue Type: Bug
>          Components: Build and Distributions
>    Affects Versions: 0.9.0
>            Reporter: Ross Gardler
>            Priority: Blocker
>             Fix For: 0.9.0
>
>
> > - stopping standalone and run ./startup.sh again: all previously deployed widgets are "gone" except the "unsupported widget" widget
> >    ->  standalone is not repeatable runnable
> That sounds like we have initDB set to true (which is the default in src). We probably want this to be false in the release.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira