I don't think the launch script is actually calling the JNLP. It just
calls the actual java class directly from the server, as opposed to
the JNLP file doing it.
Here's all the Component and Java stuff involved:
Main.html page:
<WEBOBJECT NAME=JavaClientLink>click here</WEBOBJECT>
Main.wod:
JavaClientLink: WOHyperlink {
href = javaClientLink;
}
Main.java
public String javaClientLink() {
return WOJavaClientComponent.webStartActionURL(context(),
JavaClient.class.getName());
}
Which Calls JavaClient component:
JavaClient.html
<WEBOBJECT NAME=JavaClientComponent></WEBOBJECT>
JavaClient.wod
JavaClientComponent: WOJavaClientComponent {
applicationClassName =
"com.webobjects.eogeneration.EODynamicApplication";
applicationName = "Bakery Management Admin";
applicationDescription = "Bakery Management Admin Application";
downloadClientClasses = "noDownloadClientClasses";
vendor = "David Avendasora, Best Maid Cookie Company";
}
JavaClient.java
package com.bestmaid.bakeryManagement.server;
import com.webobjects.appserver.*;
public class JavaClient extends WOComponent {
public JavaClient(WOContext context) {
super(context);
}
}
On Mar 13, 2008, at 4:41 PM, Florijan Stamenkovic wrote:
On Mar 13, 2008, at 10:33, David Avendasora wrote:
It appears to be listing _two_ files there. One is in the "/Library/
WebServer/Documents" directory. This is a Servlet deployment sent
to "/Library/Tomcat/webapps/". Of course it can't find it in there.
The second file seems to be the proper URL, but it can't find that
either.
Any guesses?
Well, it sounds like the reference you have to the JNLP in your
WebComponent is somehow screwed up. Maybe if you posted the
component bindings, somebody would be able to see the problem more
clearly...
Apparently (since you actually CAN open the JNLP through the launch
script) this has nothing to do with the JC part of things. Maybe you
can log how and where WOLips finds and launches the JNLP?
I'm just guessing here, WebStart is not really my thing...
F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]