Firstly, apologies for the delay in getting back about this, it has
been a busy time in work.
Also, my thanks to the posters who have responded so helpfully.
Unfortunately I haven't been able to get this up and running yet and
am having another go now.
My failure to do so really is down to my lack of a basic understanding
of how WonderLand works. I have found a few guides online but nothing
that has solved my problems completely so if anyone could point me in
the correct direction that would be much appreciated.
@Ric
> I bet he didn't edit the my.run.properties and my.build.properties files in
> his wonderland directory.
>
Yep, your right there, I hadn't done that. I have now created the
following files:
owl@openwonderland:~/.wonderland-server/0.5$ cat
/home/owl/.wonderland-server/0.5/my.run.properties
# Default directories for deployment files
wonderland.config.dir=/home/owl/.wonderland-server/0.5
wonderland.webserver.wfs.root=${wonderland.config.dir}/wfs
wonderland.webserver.modules.root=${wonderland.config.dir}/modules
wonderland.log.dir=${wonderland.config.dir}/log
wonderland.run.dir=${wonderland.config.dir}/run
# Whether or not to automatically start any configured apps (such as the
# Darkstar server) when the web server starts up
wonderland.runner.autostart=true
# Whether or not to shutdown any applications launched through the web
# UI when the web server exits
wonderland.runner.autostop=true
#The IP address of the web server
wonderland.webserver.host=134.226.14.32
#Enable persistence of the virtual world between server restarts
# None - the database is cleared on each restart
# Full - all state is persisted between restarts
wonderland.sgs.persistence=full
&
owl@openwonderland:~/.wonderland-server/0.5$ cat
/home/owl/.wonderland-server/0.5/my.build.properties
#
# my.build.properties.example
#
# Rename this file to 'my.build.properties' to change local properties
during the build.
# This file can be used to set the server, username and password to
use with 'ant deploy'.
#
# IMPORTANT SECURITY NOTE: if a password is set in this file, be sure
to set permissions
# so that other users do not have access to the file (eg 'chmod 400
my.build.properties
# on Unix).
#
# the url of the server to connect to
wonderland.web.url =
http://openwonderland.tcd.ie:8080/
# the username to user when logging in to the server
wonderland.web.username = <snip>
# the password to use when logging in to the server
wonderland.web.password = <snip>
I am using the binary version and launch it as follows:
java -jar /home/owl/openwonderland/Wonderland.jar
/home/owl/.wonderland-server/0.5/my.run.properties
1) Is that the correct manner to launch the jar file and configuring
it to use the my.run.properties file?
2) How do I tell it to use the my.build.properties file? I have it in
the same directory as the my.run.properties file.
> To the OP, you have to specify the ipaddress of your server in those files.
Thanks, I have specified the IP address in the my.run.properties file
but don't see where it would be specified in the my.build.properties
file.
> If you have correctly setup your host and domainname and they properly point
> to your ipaddress you can use them, otherwise stick to >static< IP addresses
> for the server to face the localnet or the world.
This has been done, the server has been setup properly from that
perspective, it is accessible from our local network via its hostname.
> You can use wonderland as localhost, but the server and client will run only
> on the local machine. If I recall correctly only the .4 version of
> wonderland used tomcat. Some correct me if I recollect wrongly.
>
> Then your browser has to know to use javaws for java network applications.
> Use one of those java test web pages to check your browser settings.
>
> Plus, for awhile Ubuntu used a leaky version of the nVidia driver. Do
> whatever it takes to install the newest version. I had to install the driver
> using the nVidia "run" file until they finally updated the driver. But that
> is if you successfully get to the wonderland client and find no login.
> Enjoy! Ric
@Carlos
> Hello,
>
> Please attach your launch-openwonderland.sh
Ummm, pardon my complete ignorance here but where do I find that?
Currently I try to launch and fail to do so using the following
method:
java -jar /home/owl/openwonderland/Wonderland.jar
/home/owl/.wonderland-server/0.5/my.run.properties
As mentioned above
> and be sure after you shutdown the server that you cannot go to the tomcat page. That is there are no other server in your machine
Hmm, If I stop tomcat:
root@openwonderland:~# /etc/init.d/tomcat6 stop
* Stopping Tomcat servlet engine tomcat6
...done.
root@openwonderland:~# /etc/init.d/tomcat6 status
* Tomcat servlet engine is not running.
Then try to launch wonderland, nothing works:
owl@openwonderland:~$ ./launch-openwonderland.sh
Oct 23, 2014 9:12:50 AM
org.jdesktop.wonderland.webserver.launcher.WebServerLauncher main
WARNING: Launching Open Wonderland version 0.5 rev. 4895 (1-September-2014)
Oct 23, 2014 9:12:50 AM
org.jdesktop.wonderland.webserver.launcher.WebServerLauncher
compareVersions
WARNING: Comparing versions. Jar file: 1409555531000 Directory: 1409555531000
Oct 23, 2014 9:12:55 AM
org.jdesktop.wonderland.common.utils.ScannedClassLoader createDB
WARNING: Scanned classes in 4463 ms.
Oct 23, 2014 9:12:57 AM com.sun.enterprise.security.ssl.SSLUtils
checkCertificateDates
SEVERE: java_security.expired_certificate
Oct 23, 2014 9:12:57 AM com.sun.enterprise.security.ssl.SSLUtils
checkCertificateDates
SEVERE: java_security.expired_certificate
Oct 23, 2014 9:13:00 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-checksums.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:03 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-wfs.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:04 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-help.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:05 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-modules.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:11 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-runner.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:11 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-asset.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:12 AM
org.jdesktop.wonderland.modules.service.ModuleManager redeployAll
WARNING: [MODULES] deploying 70 modules.
Oct 23, 2014 9:13:19 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/webdeploy/darkstar-darkstarserver.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:22 AM com.sun.enterprise.web.WebModule setI18nInfo
WARNING: webmodule.defaultLocaleDeprecated
Oct 23, 2014 9:13:35 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/webdeploy/error-report-error-report.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:41 AM
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "CREATE TABLE
MEMBERENTITY (GROUPID VARCHAR(255) NOT NULL, MEMBERID VARCHAR(255) NOT
NULL, OWNER SMALLINT DEFAULT 0, groupcolumn VARCHAR(255), PRIMARY KEY
(GROUPID, MEMBERID))": java.sql.SQLE
xception: Table/View 'MEMBERENTITY' already exists in Schema 'APP'.
Oct 23, 2014 9:13:41 AM
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "CREATE TABLE
GROUPENTITY (ID VARCHAR(255) NOT NULL, PRIMARY KEY (ID))":
java.sql.SQLException: Table/View 'GROUPENTITY' already exists in
Schema 'APP'.
Oct 23, 2014 9:13:41 AM
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "ALTER TABLE
MEMBERENTITY ADD CONSTRAINT MMBRNTITYgrpcolumn FOREIGN KEY
(groupcolumn) REFERENCES GROUPENTITY (ID)": java.sql.SQLException:
Constraint 'MMBRNTITYGRPCOLUMN' already exists in Sc
hema 'APP'.
Oct 23, 2014 9:13:41 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/webdeploy/security-groups-security-groups.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:42 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/webdeploy/servermanager-servermanager-web.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:44 AM
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "CREATE TABLE
MEMBERENTITY (GROUPID VARCHAR(255) NOT NULL, MEMBERID VARCHAR(255) NOT
NULL, OWNER SMALLINT DEFAULT 0, groupcolumn VARCHAR(255), PRIMARY KEY
(GROUPID, MEMBERID))": java.sql.SQLE
xception: Table/View 'MEMBERENTITY' already exists in Schema 'APP'.
Oct 23, 2014 9:13:44 AM
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "CREATE TABLE
GROUPENTITY (ID VARCHAR(255) NOT NULL, PRIMARY KEY (ID))":
java.sql.SQLException: Table/View 'GROUPENTITY' already exists in
Schema 'APP'.
Oct 23, 2014 9:13:45 AM
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "ALTER TABLE
MEMBERENTITY ADD CONSTRAINT MMBRNTITYgrpcolumn FOREIGN KEY
(groupcolumn) REFERENCES GROUPENTITY (ID)": java.sql.SQLException:
Constraint 'MMBRNTITYGRPCOLUMN' already exists in Sc
hema 'APP'.
Oct 23, 2014 9:13:45 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/webdeploy/security-session-noauth-security-session-noauth.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Oct 23, 2014 9:13:45 AM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/owl/.wonderland-server/0.5/run/webdeploy/admin-tools-admin-tools.war/WEB-INF/lib,
is ignored, it not a directory, a jar file or a zip file
Shutdown hook registered
[EL Info]: 2014-10-23
09:13:46.261--ServerSession(152454088)--EclipseLink, version: Eclipse
Persistence Services - 2.0.0.v20091127-r5931
[EL Info]: 2014-10-23
09:13:46.268--ServerSession(152454088)--file:/home/owl/.wonderland-server/0.5/run/webdeploy/security-groups-wonderland-security-groups-weblib.jar_WonderlandGroupPU
login successful
[EL Warning]: 2014-10-23
09:13:46.295--ServerSession(152454088)--Exception [EclipseLink-4002]
(Eclipse Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Table/View 'MEMBERENTITY'
already exists in Schema 'APP'.
Error Code: 30000
Call: CREATE TABLE MEMBERENTITY (GROUPID VARCHAR(255) NOT NULL,
MEMBERID VARCHAR(255) NOT NULL, OWNER SMALLINT DEFAULT 0, groupcolumn
VARCHAR(255), PRIMARY KEY (GROUPID, MEMBERID))
Query: DataModifyQuery(sql="CREATE TABLE MEMBERENTITY (GROUPID
VARCHAR(255) NOT NULL, MEMBERID VARCHAR(255) NOT NULL, OWNER SMALLINT
DEFAULT 0, groupcolumn VARCHAR(255), PRIMARY KEY (GROUPID,
MEMBERID))")
[EL Warning]: 2014-10-23
09:13:46.31--ServerSession(152454088)--Exception [EclipseLink-4002]
(Eclipse Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Table/View 'GROUPENTITY'
already exists in Schema 'APP'.
Error Code: 30000
Call: CREATE TABLE GROUPENTITY (ID VARCHAR(255) NOT NULL, PRIMARY KEY (ID))
Query: DataModifyQuery(sql="CREATE TABLE GROUPENTITY (ID VARCHAR(255)
NOT NULL, PRIMARY KEY (ID))")
[EL Warning]: 2014-10-23
09:13:46.368--ServerSession(152454088)--Exception [EclipseLink-4002]
(Eclipse Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Constraint
'MMBRNTITYGRPCOLUMN' already exists in Schema 'APP'.
Error Code: 30000
Call: ALTER TABLE MEMBERENTITY ADD CONSTRAINT MMBRNTITYgrpcolumn
FOREIGN KEY (groupcolumn) REFERENCES GROUPENTITY (ID)
Query: DataModifyQuery(sql="ALTER TABLE MEMBERENTITY ADD CONSTRAINT
MMBRNTITYgrpcolumn FOREIGN KEY (groupcolumn) REFERENCES GROUPENTITY
(ID)")
Oct 23, 2014 9:13:46 AM
org.jdesktop.wonderland.webserver.launcher.WebServerLauncher main
SEVERE: Error loading web server
java.lang.IllegalArgumentException: No such type: full
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl$PersistenceType.parsePersistenceType(DarkstarRunnerImpl.java:119)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.getPersistenceType(DarkstarRunnerImpl.java:708)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.checkColdstart(DarkstarRunnerImpl.java:411)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.setDarkstarProperties(DarkstarRunnerImpl.java:324)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.deployFiles(DarkstarRunnerImpl.java:272)
at org.jdesktop.wonderland.runner.BaseRunner.start(BaseRunner.java:242)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.start(DarkstarRunnerImpl.java:240)
at org.jdesktop.wonderland.runner.RunManager.doInit(RunManager.java:219)
at org.jdesktop.wonderland.runner.RunManager$1.startupComplete(RunManager.java:155)
at org.jdesktop.wonderland.utils.AppServerMonitor.fireStartupComplete(AppServerMonitor.java:84)
at org.jdesktop.wonderland.webserver.RunAppServer.<init>(RunAppServer.java:136)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:379)
at org.jdesktop.wonderland.webserver.launcher.WebServerLauncher.main(WebServerLauncher.java:224)
Error java.lang.IllegalArgumentException: No such type: full starting web server
java.lang.IllegalArgumentException: No such type: full
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl$PersistenceType.parsePersistenceType(DarkstarRunnerImpl.java:119)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.getPersistenceType(DarkstarRunnerImpl.java:708)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.checkColdstart(DarkstarRunnerImpl.java:411)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.setDarkstarProperties(DarkstarRunnerImpl.java:324)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.deployFiles(DarkstarRunnerImpl.java:272)
at org.jdesktop.wonderland.runner.BaseRunner.start(BaseRunner.java:242)
at org.jdesktop.wonderland.modules.darkstar.server.DarkstarRunnerImpl.start(DarkstarRunnerImpl.java:240)
at org.jdesktop.wonderland.runner.RunManager.doInit(RunManager.java:219)
at org.jdesktop.wonderland.runner.RunManager$1.startupComplete(RunManager.java:155)
at org.jdesktop.wonderland.utils.AppServerMonitor.fireStartupComplete(AppServerMonitor.java:84)
at org.jdesktop.wonderland.webserver.RunAppServer.<init>(RunAppServer.java:136)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:379)
at org.jdesktop.wonderland.webserver.launcher.WebServerLauncher.main(WebServerLauncher.java:224)
[RunManager] Stopping all apps
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Open Wonderland Forum" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/openwonderland/MoaSBT60AWg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to