Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: Weird XJ3D exception on VRML file loaded by UR on: 2005-05-09 22:20:24
To Alan_W:
- Thank you for your help. Unfortunately I found that link on Google too :-/ , before deciding to post this topic, and it didn't help me at all - it's a very bogus phrase, that doesn't point to any solution in my case: I already have the XJ3D installed properly, in the /lib/ext directory. And also, this time around, Google is not a very good friend I'm afraid, as it finds only 2 similar posts on JavaInterest Archives. Thanx again, though, even just for the intention of helping me!

To Jeff:
- Thanx at least for trying to point me in the right direction about the kind of forums I should be posting my message in.
  As I stated in my original message, the loader is the one supplied by I didn't have any luck posting on a forum of theirs, as it seems to be kind of deserted  Huh . That's why I decided to post it on other forums as well, sorry if I have offended you in any way by doing that!
  I tried the Sun version of the loader tonight, but even though this one can connect to my Tomcat server, it has problems of compatibility with some nodes in my VRML files... I understand that Sun did not implement a full-spec VRML97 compatible loader... kind of unprofessional of them.
  By the way, I use a VRML loader only as a tool to to load my geometries (which I export in a VRML format from 3DMax)... why that would be insane and irrational I leave it to others to decide...
  Thank you anyway.
2  Game Development / Newbie & Debugging Questions / Weird XJ3D exception on VRML file loaded by URL on: 2005-05-09 16:46:15
I have the following problem:
- I have an applet that loads and shows (actually it used to show, back when it was written as an application, not an applet Sad ) a VRML scene, using a XJ3D VRML Loader.
- The VRML files are on the server, in a subdirectory of the directory where the applet is stored.
- I use the following code for obtaining the Scene from the VRML Loader:

VRML97Loader loader = new VRML97Loader(VRML97Loader.LOAD_LIGHT_NODES | VRML97Loader.LOAD_VIEW_GROUPS);
URL url = null;
Scene scene = null;

try { url = new URL("http://[ Tomcat ServerIP ]:8080/project/obj/something.wrl"); }
catch (MalformedURLException badUrl) { System.out.println("Malformed URL for object loading"); }

try {
      if (url != null)
            scene = loader.load(url);
} catch(Exception e) {

- When I load the applet, I receive the following Exception:

org.ietf.uri.UnsupportedServiceException: http is not supported
org.ietf.uri.UnsupportedServiceException: http is not supported
     at org.ietf.uri.URL.getResource(
     at org.web3d.vrml.sav.InputSource.getCharacterStream(
     at org.web3d.parser.GeneralisedReader.parse(
     at org.web3d.j3d.loaders.SequentialContentLoader.loadContent( )
     at org.web3d.j3d.loaders.BaseLoader.load(
     at org.web3d.j3d.loaders.BaseLoader.load(
     at FileManager.LoadScene(

 Does anybody know why this happens? Does the XJ3D VRML97Loader not support loading a file through Internet connection? Why does its constructor take a URL parameter then?

 I took care of applet permissions on the Tomcat web server, it has AllPermission set, so this should not be a problem.

 If anybody can help me solve this problem, or knows of an alternative method to achieve the same goal, I would greatly appreciate the help!

(the reason I turned my application into an applet is to "simplify" the way I get hold of my VRML files over Internet, as this is my first project involving network programming, and I am completely "unaware" of how to get the files from server to client computer)
Pages: [1]
nelsongames (19 views)
2018-04-24 18:15:36

nelsongames (17 views)
2018-04-24 18:14:32

ivj94 (607 views)
2018-03-24 14:47:39

ivj94 (51 views)
2018-03-24 14:46:31

ivj94 (400 views)
2018-03-24 14:43:53

Solater (65 views)
2018-03-17 05:04:08

nelsongames (110 views)
2018-03-05 17:56:34

Gornova (175 views)
2018-03-02 22:15:33

buddyBro (746 views)
2018-02-28 16:59:18

buddyBro (93 views)
2018-02-28 16:45:17
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!