Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

applet launcher gets stuck

Thread view: 
Thorsten Kiefer - 28 Mar 2008 19:41 GMT
Hi,
I'm deploying an applet using java3d with the applet launcher.
Code :

<html>
<head>
</head>
<body>
<applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
width=640
height=480
archive="test3d3.jar,
http://download.java.net/media/applet-launcher/applet-launcher.jar,
http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar,
http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar,
http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar">
<param name="codebase_lookup" value="false">
<param name="subapplet.classname" value="test3d3.MainApplet">
<param name="subapplet.displayname" value="My Java 3D Applet">
<param name="jnlpNumExtensions" value="1">
<param name="jnlpExtension1"
value="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp">
<param name="progressbar" value="true">
<param name="noddraw.check" value="true">
</applet>
</body>
</html>

But the loader stops with the message "Starting applet My Java 3D Applet".
Can you help me with that ?

Best regards
Thorsten
Roedy Green - 28 Mar 2008 23:10 GMT
On Fri, 28 Mar 2008 19:41:10 +0100, Thorsten Kiefer
<webmaster@nillakaes.de> wrote, quoted or indirectly quoted someone
who said :

><applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
>width=640
[quoted text clipped - 15 lines]
><param name="noddraw.check" value="true">
></applet>

0. that should read
code="org.jdesktop.applet.util.JNLPAppletLauncher.class"

1. I have always seen it with the archive as a RELATIVE url to the
this HTML page.

2. I suspect you might have better luck if you put all those jars in
the same directory as test3d3.jar.  There are rules against Applets
talking to other than the mother server.  You can't even talk to jars
in sibling directories. The rules may apply to jars as well.

3. you might consider repackaging all those jars into one.

4. Applets are supposed to be tiny things.  A mother like this should
probably be a Java Web Start App or a stand alone app to avoid having
to download all those libraries every time you run..
see http://mindprod.com/jgloss/javawebstart.html

Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Roedy Green - 28 Mar 2008 23:10 GMT
On Fri, 28 Mar 2008 19:41:10 +0100, Thorsten Kiefer
<webmaster@nillakaes.de> wrote, quoted or indirectly quoted someone
who said :

>But the loader stops with the message "Starting applet My Java 3D Applet".
>Can you help me with that ?

turn on your console. There may be more hints there.  See
http://mindprod.com/jgloss/console.html
Signature


Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Thorsten Kiefer - 29 Mar 2008 11:06 GMT
> On Fri, 28 Mar 2008 19:41:10 +0100, Thorsten Kiefer
> <webmaster@nillakaes.de> wrote, quoted or indirectly quoted someone
[quoted text clipped - 5 lines]
> turn on your console. There may be more hints there.  See
> http://mindprod.com/jgloss/console.html

Great !! Thats it !!!!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.