Ryan,
please find hereafter the report of the longwell-semantic bank new 
configuration process after replacing the longwell.bat with the last one you 
sent me. Still some errors occurred, related to the  steps concerning 
semantic bank configuration and Jetty server starting (the longwell profile 
is not retrieved).

Still a question, please: after the succesfull configuration, do some 
intermediate steps occurr before the bank account declaration in Piggy Bank 
and subsequent publishing of piggy bank items?

Regards,
Giuseppe

C:\longwell-2.4>longwell.bat /c semantic-bank
[INFO]: 
MAVEN_OPTS=-Djava.awt.headless=true -Dlongwell.configuration=semantic-ba
nk -Xms32M -Xmx256M -Djetty.port=8080
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building SIMILE Longwell
[INFO]    task-segment: [jetty:run]
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing jetty:run
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-management/6
.0.0/jetty-management-6.0.0.pom
3K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/servlet-api-2.5/6.
0.0/servlet-api-2.5-6.0.0.pom
2K downloaded
Downloading: 
http://repo.mergere.com/maven2/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0
.1.pom
155b downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty/6.0.0/jetty-
6.0.0.pom
2K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-util/6.0.0/j
etty-util-6.0.0.pom
2K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-naming/6.0.0
/jetty-naming-6.0.0.pom
2K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/start/6.0.0/start-
6.0.0.pom
1K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jsp-2.0/6.0.0/jsp-
2.0-6.0.0.pom
6K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jsp-api-2.0/6.0.0/
jsp-api-2.0-6.0.0.pom
2K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/slf4j/jcl104-over-slf4j/1.0.1/jc
l104-over-slf4j-1.0.1.pom
622b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'570dd691a9
ac70a305a08e215d25465255fb042b'; remote = 
'7c9f90669a3c7d85641adaba45d3568342bf7
b5a' - RETRYING
Downloading: 
http://repo.mergere.com/maven2/org/slf4j/jcl104-over-slf4j/1.0.1/jc
l104-over-slf4j-1.0.1.pom
622b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'570dd691a9
ac70a305a08e215d25465255fb042b'; remote = 
'7c9f90669a3c7d85641adaba45d3568342bf7
b5a' - IGNORING
Downloading: 
http://repo.mergere.com/maven2/org/slf4j/slf4j-simple/1.0.1/slf4j-s
imple-1.0.1.pom
392b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'd3c4e3a03c
39fae121c8b16c4ed8185619f330cf'; remote = 
'2b435d8390b3a997377e2c23edd856dc2f73b
96c' - RETRYING
Downloading: 
http://repo.mergere.com/maven2/org/slf4j/slf4j-simple/1.0.1/slf4j-s
imple-1.0.1.pom
392b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'd3c4e3a03c
39fae121c8b16c4ed8185619f330cf'; remote = 
'2b435d8390b3a997377e2c23edd856dc2f73b
96c' - IGNORING
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-plus/6.0.0/j
etty-plus-6.0.0.pom
4K downloaded
Downloading: http://repo.mergere.com/maven2/javax/mail/mail/1.4/mail-1.4.pom
993b downloaded
Downloading: 
http://repo.mergere.com/maven2/javax/activation/activation/1.1/acti
vation-1.1.pom
1K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/start/6.0.0/start-
6.0.0.jar
15K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-util/6.0.0/j
etty-util-6.0.0.jar
104K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/slf4j/jcl104-over-slf4j/1.0.1/jc
l104-over-slf4j-1.0.1.jar
6K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/slf4j/slf4j-simple/1.0.1/slf4j-s
imple-1.0.1.jar
13K downloaded
Downloading: http://repo.mergere.com/maven2/ant/ant/1.6.5/ant-1.6.5.jar
1009K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty/6.0.0/jetty-
6.0.0.jar
417K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-management/6
.0.0/jetty-management-6.0.0.jar
22K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-plus/6.0.0/j
etty-plus-6.0.0.jar
38K downloaded
Downloading: 
http://repo.mergere.com/maven2/javax/activation/activation/1.1/acti
vation-1.1.jar
61K downloaded
Downloading: http://repo.mergere.com/maven2/javax/mail/mail/1.4/mail-1.4.jar
379K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-naming/6.0.0
/jetty-naming-6.0.0.jar
26K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/jsp-api-2.0/6.0.0/
jsp-api-2.0-6.0.0.jar
53K downloaded
Downloading: 
http://repo.mergere.com/maven2/org/mortbay/jetty/servlet-api-2.5/6.
0.0/servlet-api-2.5-6.0.0.jar
132K downloaded
Downloading: 
http://repo.mergere.com/maven2/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0
.1.jar
485K downloaded
[INFO] [jetty:run]
[INFO] Configuring Jetty for project: SIMILE Longwell
[INFO] Webapp source directory = C:\longwell-2.4\src\main\webapp
[INFO] web.xml file = C:\longwell-2.4\src\main\webapp\WEB-INF\web.xml
[INFO] Classes = C:\longwell-2.4\target\classes
0 [main] INFO org.mortbay.log - Logging to 
[EMAIL PROTECTED] vi
a org.mortbay.log.Slf4jLog
[INFO] Context path = /
[INFO] Tmp directory = C:\longwell-2.4\target\work
[INFO] Web defaults =  jetty default
[INFO] Webapp directory = C:\longwell-2.4\src\main\webapp
[INFO] Starting jetty null ...
406 [main] INFO org.mortbay.log - jetty-6.0.x
[INFO] Classpath = [file:/C:/longwell-2.4/target/classes/, 
file:/C:/Documents%20
and%20Settings/CDC/.m2/repository/concurrent/concurrent/1.3.4/concurrent-1.3.4.j
ar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/edu/mit/simile/fresne
l-vocabularies/1.0-alpha/fresnel-vocabularies-1.0-alpha.jar, 
file:/C:/Documents%
20and%20Settings/CDC/.m2/repository/commons-codec/commons-codec/1.3/commons-code
c-1.3.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/junit/junit/3.
8.1/junit-3.8.1.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/velo
city/velocity-dep/1.4/velocity-dep-1.4.jar, 
file:/C:/Documents%20and%20Settings/
CDC/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.j
ar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/javax/servlet/servlet
-api/2.4/servlet-api-2.4.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/reposi
tory/openrdf/openrdf-util/2.0-alpha-3-jre1.4/openrdf-util-2.0-alpha-3-jre1.4.jar
, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/retroweaver/retroweaver
-rt/1.2.2/retroweaver-rt-1.2.2.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/
repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar, 
file:/C:/Document
s%20and%20Settings/CDC/.m2/repository/openrdf/rio/2.0-alpha-3-jre1.4/rio-2.0-alp
ha-3-jre1.4.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/velocity
/velocity/1.4/velocity-1.4.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repo
sitory/log4j/log4j/1.2.13/log4j-1.2.13.jar, 
file:/C:/Documents%20and%20Settings/
CDC/.m2/repository/commons-collections/commons-collections/3.1/commons-collectio
ns-3.1.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/whirlycache/w
hirlycache/1.0.1/whirlycache-1.0.1.jar, 
file:/C:/Documents%20and%20Settings/CDC/
.m2/repository/isaviz/isaviz-fsl/0.6.3-jre1.4/isaviz-fsl-0.6.3-jre1.4.jar, 
file:
/C:/Documents%20and%20Settings/CDC/.m2/repository/antlr/antlr/2.7.5/antlr-2.7.5.
jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/lucene/lucene/1.4.3/
lucene-1.4.3.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/openrdf
/sesame/2.0-alpha-3-jre1.4/sesame-2.0-alpha-3-jre1.4.jar, 
file:/C:/Documents%20a
nd%20Settings/CDC/.m2/repository/edu/mit/simile/fresnel/1.1-alpha/fresnel-1.1-al
pha.jar, 
file:/C:/Documents%20and%20Settings/CDC/.m2/repository/openrdf/openrdf-
model/2.0-alpha-3-jre1.4/openrdf-model-2.0-alpha-3-jre1.4.jar]
[INFO] Loading properties for configuration 'semantic-bank' from 
C:\longwell-2.4
\src\main\webapp\semantic-bank\configuration.properties
[INFO] semantic-bank extends longwell
[INFO] Loading properties for configuration 'longwell' from 
C:\longwell-2.4\src\
main\webapp\longwell\configuration.properties
[INFO] Starting configuration: semantic-bank
[ERROR] VM #addNarrowingButton: error : too few arguments to macro. Wanted 3 
got
 0
[ERROR] VM #addBroadeningButton: error : too few arguments to macro. Wanted 
3 go
t 0
[ERROR] VM #addTextSearchButton: error : too few arguments to macro. Wanted 
1 go
t 0
5031 [main] INFO com.whirlycott.cache.CacheManager - Creating new 
CacheManager s
ingleton
5047 [main] WARN com.whirlycott.cache.CacheManager - Could not load 
/whirlycache
.xml file. Falling back to defaults.
[INFO] Configuration file watcher initialized.
6562 [main] INFO org.mortbay.log - Started SelectChannelConnector @ 
0.0.0.0:8080

[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 5 seconds.
35250 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator -
 Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
[ERROR] Could not retrieve profile: longwell
65250 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator -
 Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
95250 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator -
 Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
125250 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
155250 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
185266 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
215266 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
245266 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 0; Questions: 0; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: ?
[INFO] Created account longwell/buxg
[INFO] Uploaded to account longwell/buxg
275266 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 102; Questions: 346; Hits: 46; Adaptive r/w ratio: 5%; Total 
hitrate: 13
%
305281 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 102; Questions: 346; Hits: 46; Adaptive r/w ratio: 5%; Total 
hitrate: 13
%
335297 [Whirlycache Tuner ( default )] INFO 
com.whirlycott.cache.CacheDecorator
- Size: 102; Questions: 346; Hits: 46; Adaptive r/w ratio: 5%; Total 
hitrate: 13
%

----- Original Message ----- 
From: "Ryan Lee" <[EMAIL PROTECTED]>
To: "Giuseppe Bux" <[EMAIL PROTECTED]>
Cc: "General List" <[email protected]>
Sent: Wednesday, October 04, 2006 7:35 PM
Subject: Re: Installing Semantic Bank


> Giuseppe Bux wrote:
>> Dear Ryan,
>> Trial step 1: after replacing the outdated longwell files with the ones
>> you sent me, I tried to configure again longwell with the semantic-bank
>> extension and here the related message report follows: it  still
>> highlights a build error.
>
> > C:\longwell-2.4>longwell.bat /c semantic-bank
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO] The plugin 'org.apache.maven.plugins:maven-jetty6-plugin' does
> > not exist or no valid version could be found
>
> Ah, that's what I get for not testing changes to the Windows files.  An
> amended longwell-bat is attached (which I also didn't test... but it
> should be right this time).
>
>> Trial step 2: as you suggested as alternative I downloaded the previous
>> longwell version 1.1 and, as from the related readme file, I ran the
>> build.bat, but still without success: the related report here follows
>> the previous mentioned one.
>> What can I do now?
>
> Longwell 1.1 has been deprecated.
>
> -- 
> Ryan Lee                 [EMAIL PROTECTED]
> W3C Research Engineer    +1.617.253.5327
> http://simile.mit.edu/
>


--------------------------------------------------------------------------------


> @echo off
> rem
> rem Configuration variables
> rem
> rem JAVA_HOME
> rem   Home of Java installation.
> rem
> rem JAVA_OPTIONS
> rem   Extra options to pass to the JVM
> rem
>
> rem --- First two utilities for 
> exiting --------------------------------------------
>
> goto endUtils
>
> :usage
> echo Usage: %0 [options]
> echo where [options] include:
> echo.
> echo  /h print this message and exit
> echo.
> echo  /c _configuration_ the configuration that longwell should start
> echo     default: longwell
> echo.
> echo  /p _path_ is the paths where longwell will look for configurations
> echo     default:  ./src/main/webapp/
> echo.
> echo  /d _database_ the directory were the triple store files reside
> echo     default:  ./src/main/webapp/WEB-INF/database
> echo.
> echo  /a _action_ is what to do, the default is run
> echo   supported _action_s are:
> echo    run          Run longwell
> echo    debug        Run longwell and turn on JVM remote debug
> echo    profile      Run longwell and turn on JVM profiling with HProf
> echo    shark        Run longwell and turn on JVM profiling with Apple 
> Shark (MacOSX only)
> echo    yourkit      Run longwell and turn on JVM profiling with YourKit
> echo    jmx          Run longwell and turn on JVM monitoring with JMX and 
> JConsole
> echo.
> echo  /r _rdf_ is the directory where the RDF data to load is
> echo   default: no data is loaded
> goto end
>
> :fail
> echo See: '%0 /h' for usage.
> goto end
>
> :endUtils
>
> if not "%JAVA_HOME%" == "" goto gotJavaHome
> echo You must set JAVA_HOME to point at your Java Development Kit 
> installation
> goto fail
> :gotJavaHome
>
> set MAVEN_OPTS=-Djava.awt.headless=true
> set ACTION=run
>
> rem --- Argument parsing --------------------------------------------
>
> :loop
> if ""%1"" == """" goto endArgumentParsing
> if ""%1"" == ""/h"" goto usage
> if ""%1"" == ""/d"" goto arg-d
> if ""%1"" == ""/c"" goto arg-c
> if ""%1"" == ""/p"" goto arg-p
> if ""%1"" == ""/r"" goto arg-r
> if ""%1"" == ""/a"" goto arg-a
> echo ERROR: Unknown Argument: '%1'
> goto fail
>
> :arg-c
> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.configuration=%2
> goto shift2loop
>
> :arg-d
> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.store.dir=%2
> goto shift2loop
>
> :arg-p
> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.configuration.path=%2
> goto shift2loop
>
> :arg-r
> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.data=%2
> goto shift2loop
>
> :arg-a
> set ACTION="$2"
> goto shift2loop
>
> :shift2loop
> shift
> shift
> goto loop
>
> :endArgumentParsing
>
>
> rem --- Fold in Environment 
> Vars --------------------------------------------
>
> if not "%JAVA_OPTIONS%" == "" goto gotJavaOptions
> set JAVA_OPTIONS=-Xms32M -Xmx256M
> :gotJavaOptions
> set MAVEN_OPTS=%MAVEN_OPTS% %JAVA_OPTIONS%
>
> if not "%JETTY_PORT%" == "" goto gotJettyPort
> set JETTY_PORT=8080
> :gotJettyPort
> set MAVEN_OPTS=%MAVEN_OPTS% -Djetty.port=%JETTY_PORT%
>
>
> rem ----- Respond to the 
> action ----------------------------------------------------------
>
> if ""%ACTION%"" == ""run"" goto doRun
> if ""%ACTION%"" == ""debug"" goto doDebug
> if ""%ACTION%"" == ""profile"" goto doProfile
> if ""%ACTION%"" == ""shark"" goto doShark
> if ""%ACTION%"" == ""yourkit"" goto doYourKit
> if ""%ACTION%"" == ""jmx"" goto doJMX
>
> :doRun
> goto doIt
>
> :doDebug
> set 
> MAVEN_OPTS=%MAVEN_OPTS% -Xdebug 
> -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
> goto doIt
>
> :doProfile
> set 
> MAVEN_OPTS=%MAVEN_OPTS% -Xrunhprof:heap=all,cpu=samples,thread=y,depth=3
> goto doIt
>
> :doShark
> set MAVEN_OPTS=%MAVEN_OPTS% -Xrunshark
> goto doIt
>
> :doYourKit
> set MAVEN_OPTS=%MAVEN_OPTS% -agentlib:yjpagent
> goto doIt
>
> :doJMX
> set MAVEN_OPTS=%MAVEN_OPTS% -Dcom.sun.management.jmxremote
> goto doIt
>
> :doIt
>
> echo [INFO]: MAVEN_OPTS=%MAVEN_OPTS%
>
> if not "%MAVEN_PARAMS%" == "" goto withMavenParams
> mvn jetty:run
> goto end
>
> :withMavenParams
> mvn %MAVEN_PARAMS% jetty:run
>
> :end
>
> 

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to