Print at Dec 18, 2025, 3:23:10 AM

Posted by SimonAIG at May 11, 2011, 6:51:42 PM
Viewer problems
I am new to 3d and Java. I have done a little VB programming. I am having a problem with the viewer, I have a 3d project that I want to embed into my website. I have downloaded SweetHome3DViewer-3.2.1 and modified the .html file to:

var attributes = {codebase:".",
code:"com.eteks.sweethome3d.applet.SweetHome3DViewer",
archive:jars,
width:"40%", height:"40%"};
var parameters = {java_arguments:"-Xmx512m",
navigationPanel:"true",
homeURL:"http://80.247.0.159/3d/Full.sh3d"};

Then down loaded it with the ./lib files. When I try to open http://80.247.0.159/3d/Full.sh3d i see the Java rotating icon for 2 to 3 minutes and the a message flashes up saying opening home. Next I get a error message of ‘Can’t open home http://80.247.0.159/3d/Full.sh3d do you have any ideas. Here is the error log.



basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 119670 us, pluginInit dt 14070298 us, TotalTime: 14189968 us
network: Cache entry found [url: http://80.247.0.159/3d/lib/Loader3DS1_2u.jar, version: null] prevalidated=true/0
network: Connecting http://80.247.0.159/3d/lib/Loader3DS1_2u.jar with proxy=DIRECT
network: ResponseCode for http://80.247.0.159/3d/lib/Loader3DS1_2u.jar : 304
network: Encoding for http://80.247.0.159/3d/lib/Loader3DS1_2u.jar : null
network: Disconnect connection to http://80.247.0.159/3d/lib/Loader3DS1_2u.jar
cache: Reading Signers from 4515 http://80.247.0.159/3d/lib/Loader3DS1_2u.jar | C:\Documents and Settings\Simon Brookes\Application Data\Sun\Java\Deployment\cache\6.0\0\24697800-452f1b9c.idx
cache: Read manifest for http://80.247.0.159/3d/lib/Loader3DS1_2u.jar: read=139 full=1509
network: Cache entry found [url: http://80.247.0.159/3d/lib/windows/i386/java3d.jar, version: null] prevalidated=true/0
network: Connecting http://80.247.0.159/3d/lib/windows/i386/java3d.jar with proxy=DIRECT
network: ResponseCode for http://80.247.0.159/3d/lib/windows/i386/java3d.jar : 304
network: Encoding for http://80.247.0.159/3d/lib/windows/i386/java3d.jar : null
network: Disconnect connection to http://80.247.0.159/3d/lib/windows/i386/java3d.jar
cache: Reading Signers from 4515 http://80.247.0.159/3d/lib/windows/i386/java3d.jar | C:\Documents and Settings\Simon Brookes\Application Data\Sun\Java\Deployment\cache\6.0\13\13db650d-6dd7cf27.idx
cache: Read manifest for http://80.247.0.159/3d/lib/windows/i386/java3d.jar: read=342 full=342
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1e51060
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
network: Cache entry not found [url: http://80.247.0.159/3d/Full.sh3d, version: null]
network: Connecting http://80.247.0.159/3d/Full.sh3d with proxy=DIRECT