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=)
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...
-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.
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!
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,
On márc. 31, 12:34, "Nussbaum-Jones, Nina" <nina.nussbaum-
-----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.
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!
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
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
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 »
regards,
jW
> ...
>
> read more »
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 »
-----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
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 »
> ...
>
> read more »
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
"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.
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.