auth system problem

91 views
Skip to first unread message

gail

unread,
Mar 26, 2010, 3:03:47 PM3/26/10
to Open Wonderland Forum
Dear Developers!

I've got a problem with installing the auth module, at firstly i tried
with the binary but after remove the no-auth module from the module's
list, the server does not work.
At secund i tried build the server from the source, but there are no
folder libary like these:

<top-dir>
<top-dir>/wonderland
<top-dir>/wonderland-modules
<top-dir>/wonderland-modules/stable
<top-dir>/wonderland-modules/unstable

i did this modification in /wonderland/modules/tools/build.xml :

<!-- all projects -->
<filelist dir="${current.dir}" id="all.projects">
<file name="darkstar/build.xml"/>
<file name="security-group/build.xml"/>
<file name="security-session-common/build.xml"/>
<!--file name="security-session-noauth/build.xml"/-->
<file name="presence-manager/build.xml"/>


And i did not found this libary, file: /wonderland-modules/stable/
build.xml, so i could not change....

I tried the bin, and the source with differently like this:
c:\wonder\pass.pass (it contains the password)->the server does not
work
c:/wonder/pass.pass (it contains the password)->the server does not
work


But another idea about the auth system: Why it can not build in the
binary originally? (with a general password)...hm.. 'cause the area of
the webpage's administrator is very important to maintain the server,
and i think nobody do want to loose the control over the own
server.... Could it solve by building it originally?

And the bugs lists:
1. If you take control over an app, than you can hardly attach the app
to the hud....and vica versa.
2. If you edit an object you click elsewhere than the object is
reseted to the original place.
3. If you plug in a microphone, and after you plug out than at
generally there is a voice error window

The minimal requirements: =)
I tried to install the server to an old pc (~1,000Mhz pentium3 with
386 MB ram)...and it works (can login in etc.):DDD So the minimum
requirement is very low=)

gail

unread,
Mar 30, 2010, 4:17:30 AM3/30/10
to Open Wonderland Forum
I tried several ways to solve my problem like in the tutorial, but i
did not do. So here is my log files (build from binary)
I installed the binary and i remove the the no auth module-> i
installed the auth module->i changed the passwordfile location so the
result is:

Log
Executing: [c:\Program Files\Java\jdk1.6.0_18\jre\bin\java, -cp, C:
\Documents and Settings\SERVER(SAMPLE)\.wonderland-server\0.5-dev\run
\darkstar_server\run\lib\ant\ant-launcher.jar, -Dant.home=C:\Documents
and Settings\SERVER(SAMPLE)\.wonderland-server\0.5-dev\run
\darkstar_server\run\lib\ant, org.apache.tools.ant.launch.Launcher, -
Dsgs.coldstart=true, -Drunner.location=localhost, -Dsgs.password.file
=c:/wonder/wonderland.password , -Dsgs.port=1139, -
Dsgs.managers=:com.sun.mpk20.voicelib.impl.app.VoiceManagerImpl:org.jdesktop.wonderland.modules.security.server.service.SecurityManagerImpl:org.jdesktop.wonderland.modules.security.server.service.CellResourceManagerImpl,
-Dwonderland.web.server.url=http://server-7d52e881:8080/, -
Drunner.name=Darkstar Server, -Dsgs.wfs.root=worlds/gardenarches-wfs, -
Dsgs.services=:com.sun.mpk20.voicelib.impl.service.voice.VoiceServiceImpl:org.jdesktop.wonderland.modules.security.server.service.SecurityService:org.jdesktop.wonderland.modules.security.server.service.CellResourceService,
-f, C:\Documents and Settings\SERVER(SAMPLE)\.wonderland-server\0.5-dev
\run\darkstar_server\run\run.xml]
Buildfile: C:\Documents and Settings\SERVER(SAMPLE)\.wonderland-server
\0.5-dev\run\darkstar_server\run\run.xml

-run-setup:

-run-coldstart:

core-clean-server:
[delete] Deleting directory C:\Documents and Settings\SERVER(SAMPLE)
\.wonderland-server\0.5-dev\run\darkstar_server\run\core\data\sgs

-run-server:

-core-server-setup-bdb-platform:

-core-server-setup-assertions:

-core-server-setup-no-assertions:

-core-server-setup-debug:

-core-server-setup-classpath:

-core-setup-server:
[mkdir] Created dir: C:\Documents and Settings\SERVER(SAMPLE)
\.wonderland-server\0.5-dev\run\darkstar_server\run\core\data\sgs
[mkdir] Created dir: C:\Documents and Settings\SERVER(SAMPLE)
\.wonderland-server\0.5-dev\run\darkstar_server\run\core\data\sgs\dsdb
[copy] Copying 1 file to C:\Documents and Settings\SERVER(SAMPLE)
\.wonderland-server\0.5-dev\run\darkstar_server\run\core\data\sgs
[copy] Copying 1 file to C:\Documents and Settings\SERVER(SAMPLE)
\.wonderland-server\0.5-dev\run\darkstar_server\run\core\data\sgs

core-run-server:
[java] 2010.03.30. 10:15:12
org.jdesktop.wonderland.server.auth.WebServiceAuthenticator
[java] INFO: Loading WebServie authenticator
[java] 2010.03.30. 10:15:12 com.sun.sgs.impl.kernel.Kernel
[java] SEVERE: Failed on Kernel boot
[java] java.lang.reflect.InvocationTargetException
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
[java] at com.sun.sgs.impl.kernel.Kernel.getAuthenticator(Kernel.java:
787)
[java] at com.sun.sgs.impl.kernel.Kernel.(Kernel.java:278)
[java] at com.sun.sgs.impl.kernel.Kernel.main(Kernel.java:1147)
[java] Caused by: java.lang.ExceptionInInitializerError
[java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.getAuthenticationService(ServerAuthentication.java:
60)
[java] at org.jdesktop.wonderland.server.auth.WebServiceAuthenticator.
(WebServiceAuthenticator.java:52)
[java] ... 7 more
[java] Caused by: java.lang.IllegalStateException: Error
authenticating Darkstar server
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication.
(ServerAuthentication.java:87)
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication
$SingletonHolder.(ServerAuthentication.java:149)
[java] ... 9 more
[java] Caused by:
org.jdesktop.wonderland.common.login.AuthenticationException
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.getCookieName(AuthenticationServiceImpl.java:
163)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.
(AuthenticationServiceImpl.java:55)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationManager.login(AuthenticationManager.java:
81)
[java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.noAuthLogin(ServerAuthentication.java:
114)
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication.
(ServerAuthentication.java:82)
[java] ... 10 more
[java] Caused by: java.io.FileNotFoundException:
http://server-7d52e881:8080/security-session-noauth/security-session-noauth/identity/getCookieNameForToken
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
[java] at sun.net.www.protocol.http.HttpURLConnection
$6.run(HttpURLConnection.java:1368)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:
1362)
[java] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:
1016)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.getCookieName(AuthenticationServiceImpl.java:
153)
[java] ... 14 more
[java] Caused by: java.io.FileNotFoundException:
http://server-7d52e881:8080/security-session-noauth/security-session-noauth/identity/getCookieNameForToken
[java] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:
1311)
[java] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.getCookieName(AuthenticationServiceImpl.java:
150)
[java] ... 14 more
[java] Exception in thread "main"
java.lang.reflect.InvocationTargetException
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
[java] at com.sun.sgs.impl.kernel.Kernel.getAuthenticator(Kernel.java:
787)
[java] at com.sun.sgs.impl.kernel.Kernel.(Kernel.java:278)
[java] at com.sun.sgs.impl.kernel.Kernel.main(Kernel.java:1147)
[java] Caused by: java.lang.ExceptionInInitializerError
[java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.getAuthenticationService(ServerAuthentication.java:
60)
[java] at org.jdesktop.wonderland.server.auth.WebServiceAuthenticator.
(WebServiceAuthenticator.java:52)
[java] ... 7 more
[java] Caused by: java.lang.IllegalStateException: Error
authenticating Darkstar server
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication.
(ServerAuthentication.java:87)
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication
$SingletonHolder.(ServerAuthentication.java:149)
[java] ... 9 more
[java] Caused by:
org.jdesktop.wonderland.common.login.AuthenticationException
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.getCookieName(AuthenticationServiceImpl.java:
163)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.
(AuthenticationServiceImpl.java:55)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationManager.login(AuthenticationManager.java:
81)
[java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.noAuthLogin(ServerAuthentication.java:
114)
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication.
(ServerAuthentication.java:82)
[java] ... 10 more
[java] Caused by: java.io.FileNotFoundException:
http://server-7d52e881:8080/security-session-noauth/security-session-noauth/identity/getCookieNameForToken
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
[java] at sun.net.www.protocol.http.HttpURLConnection
$6.run(HttpURLConnection.java:1368)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:
1362)
[java] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:
1016)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.getCookieName(AuthenticationServiceImpl.java:
153)
[java] ... 14 more
[java] Caused by: java.io.FileNotFoundException:
http://server-7d52e881:8080/security-session-noauth/security-session-noauth/identity/getCookieNameForToken
[java] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:
1311)
[java] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.getCookieName(AuthenticationServiceImpl.java:
150)
[java] ... 14 more
[java] Java Result: 1

run:

BUILD SUCCESSFUL
Total time: 13 seconds

And the darkstar server does not work...

Nussbaum-Jones, Nina

unread,
Mar 30, 2010, 8:32:43 AM3/30/10
to openwon...@googlegroups.com
I got this exception when I didn't have the wonderland.webserver.password.file parameter defined in in my properties file. What is the command line you are using to run this?

-run-setup:

-run-coldstart:

-run-server:

-core-server-setup-bdb-platform:

-core-server-setup-assertions:

-core-server-setup-no-assertions:

-core-server-setup-debug:

-core-server-setup-classpath:

[java] at org.jdesktop.wonderland.server.auth.WebServiceAuthenticator.(WebServiceAuthenticator.java:52)


[java] ... 7 more
[java] Caused by: java.lang.IllegalStateException: Error authenticating Darkstar server
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication.(ServerAuthentication.java:87)

[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication$SingletonHolder.(ServerAuthentication.java:149)


[java] ... 9 more
[java] Caused by:org.jdesktop.wonderland.common.login.AuthenticationException
[java] at org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.getCookieName(AuthenticationServiceImpl.java:163)

[java] at org.jdesktop.wonderland.common.login.AuthenticationServiceImpl.(AuthenticationServiceImpl.java:55)

run:

To unsubscribe from this group, send email to openwonderland+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Gobinder Singh

unread,
Mar 30, 2010, 8:21:26 PM3/30/10
to openwon...@googlegroups.com
Hi Nussbaum-Jones, Nina,
 
i m using ubuntu and i also defined the wonderland.webserver.password.file parameter in my.run.properties file and i also specified the sgs.password properties in the Darkstar properties but when i restarts the Darkstar server, its not run.

hav u faced this problem too????

gail

unread,
Mar 31, 2010, 5:39:47 AM3/31/10
to Open Wonderland Forum
OK. I tried on linux too, and the darkstar server does not run. The
authentication for the web page is working, but the darkstar does not
run=( At the moment i have got the same error log on linux and
windows:
*******************************************************************************************************************************
DARKSTAR:

Log
Executing: [/home/gail/Letöltések/jdk1.6.0_18/jre/bin/java, -cp, /home/
gail/.wonderland-server/0.5-dev/run/darkstar_server/run/lib/ant/ant-
launcher.jar, -Dant.home=/home/gail/.wonderland-server/0.5-dev/run/
darkstar_server/run/lib/ant, org.apache.tools.ant.launch.Launcher, -
Dsgs.password.file=/home/gail/.wonderland-server/0.5-dev/
wonderland.password, -
Dsgs.services=:com.sun.mpk20.voicelib.impl.service.voice.VoiceServiceImpl:org.jdesktop.wonderland.modules.security.server.service.SecurityService:org.jdesktop.wonderland.modules.security.server.service.CellResourceService,
-Dwonderland.web.server.url=http://gail-desktop:8080/, -
Dsgs.managers=:com.sun.mpk20.voicelib.impl.app.VoiceManagerImpl:org.jdesktop.wonderland.modules.security.server.service.SecurityManagerImpl:org.jdesktop.wonderland.modules.security.server.service.CellResourceManagerImpl,
-Drunner.location=localhost, -Dsgs.port=1139, -Drunner.name=Darkstar
Server, -Dsgs.wfs.root=worlds/gardenarches-wfs, -f, /home/
gail/.wonderland-server/0.5-dev/run/darkstar_server/run/run.xml]
Buildfile: /home/gail/.wonderland-server/0.5-dev/run/darkstar_server/
run/run.xml

-run-setup:

-run-coldstart:

-run-server:

-core-server-setup-bdb-platform:

-core-server-setup-assertions:

-core-server-setup-no-assertions:

-core-server-setup-debug:

-core-server-setup-classpath:

-core-setup-server:
[copy] Copying 1 file to /home/gail/.wonderland-server/0.5-dev/run/
darkstar_server/run/core/data/sgs

core-run-server:
[java] 2010.03.31. 11:09:45
org.jdesktop.wonderland.server.auth.WebServiceAuthenticator
[java] INFO: Loading WebServie authenticator [java] 2010.03.31.
11:09:51 com.sun.sgs.impl.kernel.Kernel [java] SEVERE: Failed on


Kernel boot [java] java.lang.reflect.InvocationTargetException
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
[java] at com.sun.sgs.impl.kernel.Kernel.getAuthenticator(Kernel.java:
787)
[java] at com.sun.sgs.impl.kernel.Kernel.(Kernel.java:278)
[java] at com.sun.sgs.impl.kernel.Kernel.main(Kernel.java:1147)
[java] Caused by: java.lang.ExceptionInInitializerError
[java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.getAuthenticationService(ServerAuthentication.java:
60)

[java] at org.jdesktop.wonderland.server.auth.WebServiceAuthenticator.
(WebServiceAuthenticator.java:52)
[java] ... 7 more
[java] Caused by: java.lang.IllegalStateException: Error
authenticating Darkstar server [java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.
(ServerAuthentication.java:87)
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication
$SingletonHolder.(ServerAuthentication.java:149)
[java] ... 9 more
[java] Caused by:

org.jdesktop.wonderland.common.login.AuthenticationException: Invalid
username or password [java] at
org.jdesktop.wonderland.common.login.AuthenticationManager.webServiceLogin(AuthenticationManager.java:
228)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationManager.login(AuthenticationManager.java:
98)
[java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.authLogin(ServerAuthentication.java:
145)
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication.
(ServerAuthentication.java:84)
[java] ... 10 more

org.jdesktop.wonderland.common.login.AuthenticationException: Invalid
username or password [java] at
org.jdesktop.wonderland.common.login.AuthenticationManager.webServiceLogin(AuthenticationManager.java:
228)
[java] at
org.jdesktop.wonderland.common.login.AuthenticationManager.login(AuthenticationManager.java:
98)
[java] at
org.jdesktop.wonderland.server.auth.ServerAuthentication.authLogin(ServerAuthentication.java:
145)
[java] at org.jdesktop.wonderland.server.auth.ServerAuthentication.
(ServerAuthentication.java:84)
[java] ... 10 more
[java] Java Result: 1

run:

BUILD SUCCESSFUL
Total time: 24 seconds
Process exitted, return value: 0
***************************************************************************************************************************
SAS

Executing: [/home/gail/Letöltések/jdk1.6.0_18/jre/bin/java, -cp, /home/
gail/.wonderland-server/0.5-dev/run/shared_application_server/run/lib/
ant/ant-launcher.jar, -Dant.home=/home/gail/.wonderland-server/0.5-dev/
run/shared_application_server/run/lib/ant,
org.apache.tools.ant.launch.Launcher, -Dsas.password.file=/home/
gail/.wonderland-server/0.5-dev/wonderland.password, -
Dwonderland.web.server.url=http://gail-desktop:8080/, -
Drunner.location=localhost, -Drunner.name=Shared Application Server, -
f, /home/gail/.wonderland-server/0.5-dev/run/shared_application_server/
run/run.xml]
Buildfile: /home/gail/.wonderland-server/0.5-dev/run/
shared_application_server/run/run.xml

-find-properties:

run:
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[java] 2010.03.31. 11:10:02
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain
[java] WARNING: Connecting to server http://gail-desktop:8080/ [java]
2010.03.31. 11:10:10
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain
[java] SEVERE: Exception java.lang.RuntimeException: Cannot
authenticate user sasxprovider [java] 2010.03.31. 11:10:10
org.jdesktop.wonderland.modules.sasxremwin.provider.SasXrwProviderMain
[java] SEVERE: Cannot connect to server http://gail-desktop:8080/
[java] Java Result: 1

BUILD SUCCESSFUL
Total time: 20 seconds
Process exitted, return value: 0
****************************************************************************************************************************
so this is a log of linux (ubuntu). I do not understand why invalid
username or password?

I run the server from binary like this:
java -jar Wonderland.jar my.run.properties

the Wonderland.jar is located in /home/gail/Letöltések/ Wonderland.jar
the my.run.properties file is located in /home/gail/Letöltések/
my.run.properties

I haven't got any idea to solve this problem?!!!

I have found in the console that there some sql problem:
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.SQLException: A(z) 'MEMBERENTITY'
Table/View már létezik a(z) 'APP' Schema táblában.
2010.03.31. 11:30:13
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: A(z) 'GROUPENTITY' Table/View már létezik a(z)
'APP' Schema táblában.
2010.03.31. 11:30:13
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:
A(z) 'MMBRNTITYGRPCOLUMN' Constraint már létezik a(z) 'APP' Schema
táblában.
2010.03.31. 11:30:14
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/gail/.wonderland-server/0.5-dev/run/webdeploy/
security-groups-security-groups.war/WEB-INF/lib, is ignored, it not a
directory, a jar file or a zip file classLoader = WebappClassLoader
(delegate=true; repositories=WEB-INF/classes/)
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@19d4f72
2010.03.31. 11:30:18
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/gail/.wonderland-server/0.5-dev/run/webdeploy/
servermanager-servermanager-web.war/WEB-INF/lib, is ignored, it not a
directory, a jar file or a zip file classLoader = WebappClassLoader
(delegate=true; repositories=WEB-INF/classes/)
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@19d4f72
2010.03.31. 11:30:34
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.SQLException: A(z) 'MEMBERENTITY'
Table/View már létezik a(z) 'APP' Schema táblában.
2010.03.31. 11:30:34
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: A(z) 'GROUPENTITY' Table/View már létezik a(z)
'APP' Schema táblában.
2010.03.31. 11:30:35
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:
A(z) 'MMBRNTITYGRPCOLUMN' Constraint már létezik a(z) 'APP' Schema
táblában.
2010.03.31. 11:30:35
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "CREATE TABLE USERENTITY
(ID VARCHAR(255) NOT NULL, EMAIL VARCHAR(255), PASSWORDHASH
VARCHAR(255), FULLNAME VARCHAR(255), PRIMARY KEY (ID))":
java.sql.SQLException: A(z) 'USERENTITY' Table/View már létezik a(z)
'APP' Schema táblában.
2010.03.31. 11:30:35
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.SQLException: A(z) 'MEMBERENTITY'
Table/View már létezik a(z) 'APP' Schema táblában.
2010.03.31. 11:30:35
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: A(z) 'GROUPENTITY' Table/View már létezik a(z)
'APP' Schema táblában.
2010.03.31. 11:30:35
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:
A(z) 'MMBRNTITYGRPCOLUMN' Constraint már létezik a(z) 'APP' Schema
táblában.
2010.03.31. 11:30:35
org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
WARNING: Got SQLException executing statement "CREATE TABLE USERENTITY
(ID VARCHAR(255) NOT NULL, EMAIL VARCHAR(255), PASSWORDHASH
VARCHAR(255), FULLNAME VARCHAR(255), PRIMARY KEY (ID))":
java.sql.SQLException: A(z) 'USERENTITY' Table/View már létezik a(z)
'APP' Schema táblában.
2010.03.31. 11:30:36
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner
index
WARNING: File, /home/gail/.wonderland-server/0.5-dev/run/webdeploy/
security-session-auth-security-session-auth.war/WEB-INF/lib, is
ignored, it not a directory, a jar file or a zip file classLoader =
WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@19d4f72
Shutdown hook registered
-----------------------------------------------------------
Wonderland web server started successfully.
Log files are in /home/gail/.wonderland-server/0.5-dev/log
Web server running on http://gail-desktop:8080/
-----------------------------------------------------------
[EL Info]: 2010-03-31 11:30:58.156--ServerSession(13831731)--
EclipseLink, version: Eclipse Persistence Services - 2.0.0.v20091127-
r5931 [EL Info]: 2010-03-31 11:30:58.243--ServerSession(13831731)--
file:/home/gail/.wonderland-server/0.5-dev/run/webdeploy/security-
session-auth-wonderland-security-session-auth-
weblib.jar_WonderlandUserPU login successful [EL Warning]: 2010-03-31
11:30:58.551--ServerSession(13831731)--Exception [EclipseLink-4002]
(Eclipse Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A(z) 'USERENTITY' Table/
View már létezik a(z) 'APP' Schema táblában.
Error Code: 30000
Call: CREATE TABLE USERENTITY (ID VARCHAR(255) NOT NULL, EMAIL
VARCHAR(255), PASSWORDHASH VARCHAR(255), FULLNAME VARCHAR(255),
PRIMARY KEY (ID))
Query: DataModifyQuery(sql="CREATE TABLE USERENTITY (ID VARCHAR(255)
NOT NULL, EMAIL VARCHAR(255), PASSWORDHASH VARCHAR(255), FULLNAME
VARCHAR(255), PRIMARY KEY (ID))") 2010.03.31. 11:30:59
org.jdesktop.wonderland.servermanager.client.PingDataCollector
serverStopped
WARNING: Disconnect from gail-desktop 1139 [EL Info]: 2010-03-31
11:34:18.941--ServerSession(21756913)--EclipseLink, version: Eclipse
Persistence Services - 2.0.0.v20091127-r5931 [EL Info]: 2010-03-31
11:34:18.993--ServerSession(21756913)--file:/home/gail/.wonderland-
server/0.5-dev/run/webdeploy/security-session-auth-wonderland-security-
session-auth-weblib.jar_WonderlandGroupPU login successful [EL
Warning]: 2010-03-31 11:34:19.33--ServerSession(21756913)--Exception
[EclipseLink-4002] (Eclipse Persistence Services - 2.0.0.v20091127-
r5931): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A(z) 'MEMBERENTITY' Table/
View már létezik a(z) 'APP' Schema táblában.
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]: 2010-03-31 11:34:19.432--
ServerSession(21756913)--Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A(z) 'GROUPENTITY' Table/
View már létezik a(z) 'APP' Schema táblában.
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]: 2010-03-31 11:34:19.515--
ServerSession(21756913)--Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A(z) 'MMBRNTITYGRPCOLUMN'
Constraint már létezik a(z) 'APP' Schema táblában.
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)") [EL Info]: 2010-03-31 11:34:19.854--ServerSession(31509433)--
EclipseLink, version: Eclipse Persistence Services - 2.0.0.v20091127-
r5931 [EL Info]: 2010-03-31 11:34:19.865--ServerSession(31509433)--
file:/home/gail/.wonderland-server/0.5-dev/run/webdeploy/security-
groups-wonderland-security-groups-weblib.jar_WonderlandGroupPU login
successful [EL Warning]: 2010-03-31 11:34:20.156--
ServerSession(31509433)--Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A(z) 'MEMBERENTITY' Table/
View már létezik a(z) 'APP' Schema táblában.
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]: 2010-03-31 11:34:20.348--
ServerSession(31509433)--Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A(z) 'GROUPENTITY' Table/
View már létezik a(z) 'APP' Schema táblában.
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]: 2010-03-31 11:34:20.476--
ServerSession(31509433)--Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.0.0.v20091127-r5931):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A(z) 'MMBRNTITYGRPCOLUMN'
Constraint már létezik a(z) 'APP' Schema táblában.
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)")

sorry i'm from Hungary.

I try this day to fix IP for the server..maybe..if somebody know about
this error please post here!

gail

unread,
Mar 31, 2010, 6:31:38 AM3/31/10
to Open Wonderland Forum
I solved the problem....So you have to change the users of the
password of the servers (darkstar etc) to what is in the
wonderland.password...=) So it's already closed subject=)

Nussbaum-Jones, Nina

unread,
Mar 31, 2010, 6:34:02 AM3/31/10
to openwon...@googlegroups.com

Are you redefining the location of the wonderland.config.dir?  This wound up causing me problems.  Once Jonathan fixed the Windows log file name, I went back to the default.  See if that’s your problem.  Also, what build are you using?

 

From: openwon...@googlegroups.com [mailto:openwon...@googlegroups.com] On Behalf Of Gobinder Singh
Sent: Tuesday, March 30, 2010 8:21 PM
To: openwon...@googlegroups.com
Subject: Re: auth system problem

 

Hi Nussbaum-Jones, Nina,

gail

unread,
Mar 31, 2010, 6:46:02 AM3/31/10
to Open Wonderland Forum
I'm using the newest building (binary not from source). And finally
it's work. I try at this day to make it from source. I it will works,
i try on windows too...

On márc. 31, 12:34, "Nussbaum-Jones, Nina" <nina.nussbaum-

Nussbaum-Jones, Nina

unread,
Mar 31, 2010, 6:54:14 AM3/31/10
to openwon...@googlegroups.com
Glad the puzzle is solved! :)

-----Original Message-----
From: openwon...@googlegroups.com [mailto:openwon...@googlegroups.com] On Behalf Of gail
Sent: Wednesday, March 31, 2010 6:32 AM
To: Open Wonderland Forum
Subject: Re: auth system problem


--
To unsubscribe, reply using "remove me" as the subject.

gail

unread,
Apr 2, 2010, 6:25:40 AM4/2/10
to Open Wonderland Forum
Sot it works from source too under linux. So this is my tutorial for
the authmodule from source:

1. You have to run at firstly like: ant run-server
2. You have to remove from the list of the modules the no-auth module
(on admin's page)
3. Install the auth module in this list.
4. Set the details of the different servers like: Darkstar Server -
sgs.password.file;Shared App Server sas.password.file;Voice Bridge
voicebridge.password.file; and at the right column you have to write
the path of the future password file, in my case : /home/
gail/.wonderland-server/0.5-dev/wonderland.password
5. Change the passwords of the all default users (admin, darkstar
etc.) to that password what will be in the password file
6. If all these are set, than you have to turn off the server
7. Make the passworld file in the above mentioned folder, and chmod
400 wonderland.password
8. The seventh step is to disable security-session-noauth from
building. We do this in <top-dir>/wonderland/modules/tools/build.xml,
by commenting out the line as shown below:


<!-- all projects -->
<filelist dir="${current.dir}" id="all.projects">
<file name="darkstar/build.xml"/>
<file name="security-group/build.xml"/>
<file name="security-session-common/build.xml"/>
<!--file name="security-session-noauth/build.xml"/-->
<file name="presence-manager/build.xml"/>

9. Copy the auth.jar in the <top-dir>/wonderland/modules/dist/
10. Remove the no-auth jar file from <top-dir>/wonderland/modules/
dist/
11. Remove the no-auth jar file from <top-dir>/wonderland/modules/
tools/security-no-auth/dist/
12. Write the location of the wonderland.password in the
my.run.properties file : wonderland.webserver.password.file=/home/
gail/.wonderland-server/0.5-dev/wonderland.password
13. restart the server and try it!

Message has been deleted

Gobinder Singh

unread,
Apr 7, 2010, 11:17:58 PM4/7/10
to openwon...@googlegroups.com

Hi  gail,

can u tell me step by step tutorial from binary becoz i m working on binary build not from the source file.so will u plz help regarding this matter ?
Thnaks

Ric Moore

unread,
Apr 8, 2010, 2:03:18 AM4/8/10
to openwon...@googlegroups.com
On Thu, 2010-04-08 at 15:17 +1200, Gobinder Singh wrote:
>
> Hi gail,
>
> can u tell me step by step tutorial from binary becoz i m working on
> binary build not from the source file.so will u plz help regarding
> this matter ?
> Thnaks

Why not use the source nightly build?? The binary is "one size fits all"
while a nightly build stands a much better chance of running on your
machine. At least, In My Humble Opinion, if you're going to be running a
dedicated server. If something goes wrong, then hopefully it'll be fixed
soon and a simple nightly update will dnload the corrected files.

Jus' my two cents, Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256
https://nuoar.dev.java.net/
Verizon Cell # 434-774-4987


wezzax

unread,
Apr 8, 2010, 4:46:53 AM4/8/10
to Open Wonderland Forum
Guys,

I have encountered this problem twice when trying to install session-
auth module!

The module page clearly indicate the session-auth is pending to be
installed!!

I think a rollback function is needed for module (un)installation!

Nightly build 2008-03-18!

--- 1st restart:
Apr 1, 2010 3:56:29 PM
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM
initialize
WARNING: Error instantiating helper
java.lang.IllegalStateException: Unable to find class
org.jdesktop.wonderland.modules.securitysession.weblib.SessionResolverImpl
at
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.createSessionManager(WonderSAM.java:
252)
at
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.initialize(WonderSAM.java:
81)
at
org.jdesktop.wonderland.webserver.DefaultSAM.initialize(DefaultSAM.java:
53)
at
com.sun.enterprise.security.jmac.config.GFServerConfigProvider.createModuleInfo(GFServerConfigProvider.java:
230)
at
com.sun.enterprise.security.jmac.config.GFServerConfigProvider
$GFAuthConfig.getModuleInfo(GFServerConfigProvider.java:988)
at
com.sun.enterprise.security.jmac.config.GFServerConfigProvider
$GFServerAuthConfig.getAuthContext(GFServerConfigProvider.java:1026)
at
com.sun.enterprise.security.jmac.config.ConfigHelper.getServerAuthContext(ConfigHelper.java:
154)
at
com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1238)
at
com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:
1123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
580)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
615)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:
97)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:
85)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
185)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:
332)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
233)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:
165)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:
791)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:
170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:
135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
88)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:
76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:
53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:
57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool
$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool
$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.jdesktop.wonderland.modules.securitysession.weblib.SessionResolverImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.createSessionManager(WonderSAM.java:
242)
... 30 more
Apr 1, 2010 3:57:10 PM
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM
initialize
WARNING: Error instantiating helper
java.lang.IllegalStateException: Unable to find class
org.jdesktop.wonderland.modules.securitysession.weblib.SessionResolverImpl
at
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.createSessionManager(WonderSAM.java:
252)
at
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.initialize(WonderSAM.java:
81)
at
org.jdesktop.wonderland.webserver.DefaultSAM.initialize(DefaultSAM.java:
53)
at
com.sun.enterprise.security.jmac.config.GFServerConfigProvider.createModuleInfo(GFServerConfigProvider.java:
230)
at
com.sun.enterprise.security.jmac.config.GFServerConfigProvider
$GFAuthConfig.getModuleInfo(GFServerConfigProvider.java:988)
at
com.sun.enterprise.security.jmac.config.GFServerConfigProvider
$GFServerAuthConfig.getAuthContext(GFServerConfigProvider.java:1026)
at
com.sun.enterprise.security.jmac.config.ConfigHelper.getServerAuthContext(ConfigHelper.java:
154)
at
com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1238)
at
com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:
1123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
580)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
615)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:
97)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:
85)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
185)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:
332)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
233)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:
165)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:
791)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:
170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:
135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
88)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:
76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:
53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:
57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool
$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool
$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.jdesktop.wonderland.modules.securitysession.weblib.SessionResolverImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.createSessionManager(WonderSAM.java:
242)
... 30 more


---2nd restart

SEVERE: Exception while deploying the app
java.io.IOException: org.xml.sax.SAXParseException: cvc-complex-type.
2.4.a: Invalid content was found starting with element 'init-param'.
One of '{"http://java.sun.com/xml/ns/javaee":run-as, "http://
java.sun.com/xml/ns/javaee":security-role-ref}' is expected.
at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:
163)
at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:
78)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:
612)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:
554)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:
262)
at
org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:
214)
at
org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:
144)
at
org.jdesktop.wonderland.webserver.WonderlandAppServer.deploy(WonderlandAppServer.java:
95)
at
org.jdesktop.wonderland.webserver.WebDeployer.doDeploy(WebDeployer.java:
203)
at
org.jdesktop.wonderland.webserver.WebDeployer.deployFile(WebDeployer.java:
165)
at
org.jdesktop.wonderland.webserver.WebDeployer.deploy(WebDeployer.java:
99)
at
org.jdesktop.wonderland.modules.service.DeployManager.deploy(DeployManager.java:
109)
at
org.jdesktop.wonderland.modules.service.ModuleManager.redeployAll(ModuleManager.java:
165)
at
org.jdesktop.wonderland.webserver.RunAppServer.<init>(RunAppServer.java:
109)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.jdesktop.wonderland.webserver.launcher.WebServerLauncher.main(WebServerLauncher.java:
194)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'init-param'. One of
'{"http://java.sun.com/xml/ns/javaee":run-as, "http://java.sun.com/xml/
ns/javaee":security-role-ref}' is expected.
at
com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:
304)
at
com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:
225)
at
com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:
614)
at
com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:
366)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:
238)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:
247)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:
208)
at
com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:
148)
at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:
155)
... 20 more
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'init-param'. One of
'{"http://java.sun.com/xml/ns/javaee":run-as, "http://java.sun.com/xml/
ns/javaee":security-role-ref}' is expected.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:
195)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:
131)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:
384)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:
318)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator
$XSIErrorReporter.reportError(XMLSchemaValidator.java:417)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:
3181)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:
1805)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:
705)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:
400)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:
648)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:
140)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:
511)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
808)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
737)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:
119)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at
com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:
298)
... 28 more

> Linux user# 44256https://nuoar.dev.java.net/
> Verizon Cell # 434-774-4987

wezzax

unread,
Apr 8, 2010, 4:49:22 AM4/8/10
to Open Wonderland Forum
Also, no page on glassfish can be shown! Not even the front page!!

On Apr 8, 4:46 pm, wezzax <wez...@gmail.com> wrote:
> Guys,
>
> I have encountered this problem twice when trying to installsession-authmodule!
>

> The module page clearly indicate thesession-authis pending to be

> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: ...
>
> read more »

jagwire

unread,
Apr 8, 2010, 11:02:26 AM4/8/10
to Open Wonderland Forum
I feel silly asking this, but you reference a session-auth, the wiki
page calls it security-sesion-auth. Could there be a typo in your
configuration, wezzax?

regards,
jW

> ...
>
> read more »

wezzax

unread,
Apr 8, 2010, 11:29:35 AM4/8/10
to Open Wonderland Forum
the full module filename is security-session-auth.jar

I didn't type the whole thing cause I know/assume you guys will know
what I am talking about!

No typing involved yet, the whole damn thing crashed when I first
restart wonderland...

> ...
>
> read more »

Nussbaum-Jones, Nina

unread,
Apr 8, 2010, 11:51:33 AM4/8/10
to openwon...@googlegroups.com
My authentication woes were numerous. I don't know if I can help this specific problem but I'll try. Is the authentication module in the pending directory? (.wonderland-server\0.5-preview3\run\content\modules\pending\security-session-auth) That's my first question. IF it is, then you need to move that directory to .wonderland-server\0.5-preview3\run\content\modules\installed. Am I on the right track here?

-----Original Message-----
From: openwon...@googlegroups.com [mailto:openwon...@googlegroups.com] On Behalf Of wezzax
Sent: Thursday, April 08, 2010 11:30 AM
To: Open Wonderland Forum
Subject: Re: auth system problem

wezzax

unread,
Apr 9, 2010, 3:54:06 AM4/9/10
to Open Wonderland Forum
Yes, the module is extracted and sitting in the pending directory!

I moved it to the installed dir and still get this:

(Is it because of the java.sun.com?)

SEVERE: Exception while deploying the app
java.io.IOException: org.xml.sax.SAXParseException: cvc-complex-type.
2.4.a: Invalid content was found starting with element 'init-param'.
One of '{"http://java.sun.com/xml/ns/javaee":run-as, "http://

java.sun.com/xml/ns/javaee":security-role-ref}' is expected.
at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:
163)
at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:
78)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:
612)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:
554)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:
262)
at
org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:
214)

39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.jdesktop.wonderland.webserver.launcher.WebServerLauncher.main(WebServerLauncher.java:
194)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:

Invalid content was found starting with element 'init-param'. One of

'{"http://java.sun.com/xml/ns/javaee":run-as, "http://java.sun.com/xml/
ns/javaee":security-role-ref}' is expected.

Invalid content was found starting with element 'init-param'. One of

'{"http://java.sun.com/xml/ns/javaee":run-as, "http://java.sun.com/xml/
ns/javaee":security-role-ref}' is expected.


On Apr 8, 11:51 pm, "Nussbaum-Jones, Nina" <nina.nussbaum-

> ...
>
> read more »

wezzax

unread,
Apr 9, 2010, 6:20:21 AM4/9/10
to Open Wonderland Forum
thanks to the non-clear version# of the auth module, my pain lasted at
least 3 days...

> ...
>
> read more »

Gobinder Singh

unread,
Apr 11, 2010, 8:25:39 PM4/11/10
to openwon...@googlegroups.com
hi Wezzax ,

did the problem u was facing regarding authentication module solved. if it is fixed then can u tel me the whole procedure to apply authentication on the wonderland . i m using ubuntu operating system

Thanks

wezzax

unread,
Apr 12, 2010, 4:49:17 AM4/12/10
to Open Wonderland Forum
Actually, the version of the auth on the download page is not clear,
it's just plain v0.1. But actually it's v0.1.-1, a newer version! I
don't know why the -1, but at least the uploader should also update
the version# on download page! I had to download the new version and
do a file-compare with the old one to find out it's new!! Simply put,
I used an older version!

And to answer your question, http://wiki.java.net/bin/view/Javadesktop/ProjectWonderlandAuthentication05
should have all the answer!

Just make sure u have all the password file set for the all the
servers, the funny thing is I don't need to set the password file for
web server for it to run, but I set it anyway! Don't hesitate to post
the error parts of the logs here, it may be faster for ppl to find the
problem.

cheers.

On Apr 12, 8:25 am, Gobinder Singh <gobinder.2...@gmail.com> wrote:
> hi Wezzax ,
>

> did the problem u was fac*ing regarding authentication module solved. if it
> is fixed then can u tel me the whole procedure to *apply authentication on

Gobinder Singh

unread,
Apr 15, 2010, 9:53:00 PM4/15/10
to openwon...@googlegroups.com


Thanks for suggestion i done the authetication successfully. i have only few steps left. i want to add the following property
"wonderland.webserver.password.file=/Users/jkaplan/.wonderland-server/0.5-dev/wonderland"
 into my.run.properties. because i m configuring the wonderland using binary build and i browse through the folder ".wonderland-server" but i did not see any file named as my.run.properties.
so can u tell me wht should i do ?


BDA_vel

unread,
Apr 16, 2010, 4:20:03 AM4/16/10
to Open Wonderland Forum
Hi Gobinder Singh

You must write your own my.run.properties.

1. create my.run.properties
2. edit and add your String into the my.run.properties
wonderland.webserver.password.file=/Users/jkaplan/.wonderland-server/
0.5-d­ev/wonderland
3. start your wonderland with: java -jar <path>/wonderland.jar <path>/
my.run.properties

Good luck

On 16 Apr., 03:53, Gobinder Singh <gobinder.2...@gmail.com> wrote:
> Thanks for suggestion i done the authetication successfully. i have only few
> steps left. i want to add the following property
>
> "wonderland.webserver.password.file=/Users/jkaplan/.wonderland-server/0.5-d­ev/wonderland"
>
>  into my.run.properties. because i m configuring the wonderland using binary
> build and i browse through the folder "*.wonderland-server*" but i did not
> see any file named as my.run.properties.
> so can u tell me wht should i do ?
>
> --
> Subscription settings:http://groups.google.com/group/openwonderland/subscribe?hl=en

Miss Somaa

unread,
Feb 22, 2014, 3:56:30 PM2/22/14
to openwon...@googlegroups.com
I face this problem also

shared Application server & Darkstar dont running

when i see the log there is this :
shared application:

[java] SEVERE: Exception java.lang.RuntimeException: Cannot authenticate user sasxprovider
Darkstar
core-run-server:
[java] Listening for transport dt_socket at address: 8890

when i attach Debug  by netBeans it disconnect from the darkstar?
can any one know why?

---------------------------------------------------------
the full log for Darkstar application:
----------------------------------------------------------------
Executing: [/usr/lib/jvm/java-7-oracle/jre/bin/java, -cp, /home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/lib/ant/ant-launcher.jar, -Dant.home=/home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/lib/ant, org.apache.tools.ant.launch.Launcher, -Dsgs.password.file=/home/asmaa/src/wonderland.password, -Drunner.location=localhost, -Dsgs.port=1139, -Dsgs.managers=:org.jdesktop.wonderland.modules.sqlservice.server.SqlManager:org.jdesktop.wonderland.modules.security.server.service.SecurityManagerImpl:org.jdesktop.wonderland.modules.security.server.service.CellResourceManagerImpl:com.sun.mpk20.voicelib.impl.app.VoiceManagerImpl, -Dwonderland.web.server.url=http://asmaa-Inspiron-3521:8080/, -Dsqlservice.properties.file=/home/asmaa/.wonderland-server/0.5-dev/mysql.properties, -Drunner.name=Darkstar Server, -Dsgs.wfs.root=none, -Dsgs.server.debug=false, -Dsgs.services=:org.jdesktop.wonderland.modules.sqlservice.server.SqlServiceImpl:org.jdesktop.wonderland.modules.security.server.service.SecurityService:org.jdesktop.wonderland.modules.security.server.service.CellResourceService:com.sun.mpk20.voicelib.impl.service.voice.VoiceServiceImpl, -f, /home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/run.xml]
Buildfile: /home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/run.xml


-run-setup:

-run-coldstart:

-run-server:

-core-server-setup-bdb-platform:

-core-server-setup-assertions:

-core-server-setup-no-assertions:

-core-server-setup-debug:

-core-server-setup-classpath:

-core-setup-server:
[mkdir] Created dir: /home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/core/data/sgs
[mkdir] Created dir: /home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/core/data/sgs/dsdb
[copy] Copying 1 file to /home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/core/data/sgs
[copy] Copying 1 file to /home/asmaa/.wonderland-server/0.5-dev/run/darkstar_server/run/core/data/sgs

core-run-server:
[java] Listening for transport dt_socket at address: 8890


Ric Moore

unread,
Feb 22, 2014, 5:17:15 PM2/22/14
to openwon...@googlegroups.com
On 02/22/2014 03:56 PM, Miss Somaa wrote:
> I face this problem also
>
> shared Application server & Darkstar dont running
>
> when i see the log there is this :
> shared application:
> [java] SEVERE: Exception java.lang.RuntimeException: Cannot authenticate

What is your IP address and the result of:
hostname -f?

Ric



--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
/https://linuxcounter.net/cert/44256.png /

Miss Somaa

unread,
Feb 23, 2014, 7:33:03 AM2/23/14
to openwon...@googlegroups.com

my address is             


the result of hostname -f
asmaa-Inspiron-3521
which is the name of my local

Miss Somaa

unread,
Feb 23, 2014, 1:12:23 PM2/23/14
to openwon...@googlegroups.com
Thank you very much it run with me now !!

Iam so happy

Ric Moore

unread,
Feb 23, 2014, 2:54:46 PM2/23/14
to openwon...@googlegroups.com
On 02/23/2014 01:12 PM, Miss Somaa wrote:
> Thank you very much it run with me now !!


hostname -f should show your hostname + domainname. Usually you want a
hostname that is short, followed by your domainname.com or .net or .org
or .whatever. If you wish to be on the net, you will have to register a
domainname.

Be very careful as some of the cheaper registrars will KEEP and OWN your
domainname, so you cannot change domainname services. Then you will need
to contact your ISP for a static IP address or use one of those DynDNS
services. I've never used one, and wouldn't as it can be difficult to
employ reliably 100%. Plus, your ISP could still shut you down, if they
don't like it, for running a high-traffic server.
Good luck! Ric

Carlos Rafael Ramirez

unread,
Feb 23, 2014, 3:02:01 PM2/23/14
to openwonderland

I recommend godaddy I hadn't had any problems with them and I was able to move it to another company when I needed. The domain cost abou 14 dollars per year

--
You received this message because you are subscribed to the Google Groups "Open Wonderland Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwonderland+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ric Moore

unread,
Feb 23, 2014, 3:20:29 PM2/23/14
to openwon...@googlegroups.com
On 02/23/2014 03:02 PM, Carlos Rafael Ramirez wrote:
> I recommend godaddy I hadn't had any problems with them and I was able
> to move it to another company when I needed. The domain cost abou 14
> dollars per year

And, they host the Linux Show! I use network solutions. Their billing
machine went ape and emptied my bank account, so I get a much better
rate from them, after I got done giving them a piece of my mind, without
the brakes set. I'm GOLD! <evil grin> :) Ric
Reply all
Reply to author
Forward
0 new messages