|
WebStart05
This material is distributed under the GNU General Public License Version 2. To obtain a copy of the original source code, make a request on the Wonderland Forum. Open Wonderland v0.5: Launching Clients using Java Web Startby Jordan Slott (jslott@dev.java.net) and Jonathan Kaplan (jonathankap@gmail.com) IntroductionSupport for Java Web Start is built into Open Wonderland v0.5. The Wonderland server automatically supports launching clients from Java Web Start when you compile Open Wonderland from the source code (or from binary releases in the future). With Java Web Start, clients only need to open a URL in a web browser, and as long as Java SE 6 is installed on their system, the Open Wonderland client will be automatically downloaded and launched. The Open Wonderland Server URLWhen you start the Open Wonderland server, a web server is started which enables users to launch the client. This web page defaults to port 8080. For example, if the host name of your server is www.company.com, then the URL of the Open Wonderland client page will be http://www.company.com:8080. If you are unsure what the host name of your machine is, you can use the IP address of your server instead. When you start the server, it displays a message with the URL of the web server. For example: [java] -----------------------------------------------------------
[java] Wonderland web server started successfully.
[java] Log files are in /Users/me/.wonderland-server/0.5-dev/log
[java] Web server running on http://129.148.173.164:8080/
[java] -----------------------------------------------------------Launching a ClientIf you open the URL in a web browser, you should see the page below. Click the "Launch Wonderland 0.5" button to launch the client. It only needs to download the client software once; future attempts will use a cached version of the software. (click the image for a full-sized version). Displaying the Error LogWhen debugging a problem with Wonderland, it is often helpful to open the error log. This displays error messages that may explain problems you are experiencing in Wonderland. To open the error log, select the "Error Log" item from the "Help" menu:
This will bring up the error log window, which displays messages. You may be asked to configure the error log, for example to show more detail about a certain problem. If so, you can use the "configure" button on the error log window:
If you are submitting a bug report to the Wonderland forum or the issue tracker, you will want to generate an error report. This includes lots of extra data to help track down the problem. To generate an error report, click on the "error report" button on the error log window shown above. Then copy and paste the resulting report into the bug report or forum post:
Displaying the Java ConsoleIn some situations, the error needed to debug Wonderland may not be included in the error log. In this case, you may need to turn on the Java console, which displays all log messages for the client. To turn on the Java console: Showing the Java Console on Windows
Showing the Java Console on Mac OS
Showing the Java Console on Linux/Solaris
|
hi, i get teh wonderland.jar i run it by console with wondows except. it runs. i launch the java webstart. it ask me a login i thought i must imagine one. the webstart run but all is black in the window off java wabstart.
Error report generated 23 nov. 2010 16:31:31
-------- System Information -------- Java version: 1.6.0_22 Java vendor:Sun Microsystems Inc. OS:Windows XP OS version: 5.1 OS architecture: x86
Max memory: 518979584 Total memory: 129892352 Free memory: 78670952
-------- Graphics Information -------- GL_ARB_fragment_program...true GL_ARB_fragment_shader...false GL_ARB_shader_objects...false GL_ARB_texture_non_power_of_two...false GL_ARB_vertex_buffer_object...true GL_ARB_vertex_program...true GL_ARB_vertex_shader...false GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB...0 GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB...0 GL_MAX_TEXTURE_COORDS_ARB...8 GL_MAX_TEXTURE_IMAGE_UNITS_ARB...16 GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT...2.0 GL_MAX_TEXTURE_UNITS...8 GL_MAX_VARYING_FLOATS_ARB...0 GL_MAX_VERTEX_ATTRIBS_ARB...16 GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB...0 GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB...0 GL_SGIS_generate_mipmap...true GL_SHADING_LANGUAGE_VERSION_ARB... GL_VERSION_1_2...true GL_VERSION_2_0...false GL_VERSION_2_1...false GL_VERSION_3_0...false
-------- Error Log -------- WARNING 16:26:43 org.jdesktop.wonderland.client.jme.Webstart webstartSetup Running from Java Web Start. Performing setup. WARNING 16:29:19 org.jdesktop.wonderland.common.utils.ScannedClassLoader? createDB Scanned classes in 2484 ms. WARNING 16:29:21 org.jdesktop.wonderland.client.jme.JmeClientMain? <init> Error connecting to default server http://mauffret-leborg:8080/ java.io.IOException: Error connecting to http://mauffret-leborg:8080/
Caused by: org.jdesktop.wonderland.client.comms.ServerUnavailableException?: No running Darkstar server found for http://mauffret-leborg:8080/ WARNING 16:29:58 org.jdesktop.wonderland.client.jme.JmeClientMain?$2$1 run Error connecting to http://mauffret-leborg:8080 java.io.IOException: Error connecting to http://mauffret-leborg:8080 Caused by: org.jdesktop.wonderland.client.comms.ServerUnavailableException?: No running Darkstar server found for http://mauffret-leborg:8080/ WARNING 16:30:01 org.jdesktop.wonderland.client.jme.JmeClientMain?$2$1 run Error connecting to http://mauffret-leborg:8080 java.io.IOException: Error connecting to http://mauffret-leborg:8080 Caused by: org.jdesktop.wonderland.client.comms.ServerUnavailableException?: No running Darkstar server found for http://mauffret-leborg:8080/-------- Threads -------- JBullet Physics Thread TIMED_WAITING
pool-2-thread-5 WAITING
Java2D Disposer WAITING
Processor 3 WAITING
pool-2-thread-9 WAITING
pool-2-thread-4 WAITING
Long sleeping thread TIMED_WAITING
Signal Dispatcher RUNNABLE
EventDistributor? WAITING
Javaws Secure Thread WAITING
CacheMemoryCleanUpThread? WAITING
TimerQueue? WAITING
pool-1-thread-1 WAITING
Attach Listener RUNNABLE
DestroyJavaVM RUNNABLE
pool-2-thread-2 WAITING
pool-2-thread-6 WAITING
pool-2-thread-10 WAITING
HeaderPanel? Allocator Thread TIMED_WAITING
Processor 0 WAITING
Finalizer WAITING
AWT-Windows RUNNABLE
AWT-EventQueue?-1 WAITING
derby.rawStoreDaemon TIMED_WAITING
Processor 1 WAITING
Invoker Thread for App Base WAITING
derby.antiGC WAITING
pool-2-thread-7 WAITING
CacheCleanUpThread? WAITING
traceMsgQueueThread WAITING
Timer-0 WAITING
Processor Manager Thread WAITING
JME BufferUtils? Reference Queue Monitor WAITING
pool-2-thread-8 WAITING
AWT-Shutdown WAITING
pool-2-thread-3 WAITING
pool-2-thread-1 WAITING
Processor 2 WAITING
AWT-EventQueue?-0 RUNNABLE
MTGame Renderer TIMED_WAITING
Reference Handler WAITING
I get "Your GlassFish? Enterprise Server Is Now Running" page, there is absolutely nothing about OpenWonderland there. What exactly is the meaning of this?
For using Open Wonderland you need to install it first, as explained e.g. in: http://openwonderland.org/index.php?option=com_content&view=article&id=70&Itemid=64
When you do so, it will AUTOMATICALLY install a special version of GlassFish?. You should NOT install any GlassFish? by yourself, and if you already did (as it seems) you must un-install it.
-michel