aspose file tools*
The moose likes JNLP and Web Start and the fly likes iam hetting error when compile a File open service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "iam hetting error when compile a File open service" Watch "iam hetting error when compile a File open service" New topic
Author

iam hetting error when compile a File open service

karthikeyan perumal
Greenhorn

Joined: Apr 12, 2005
Posts: 1
how to solve this propblem
i include my classpath javaws.jar
and jnlp.jar related files...


javax.jnlp.UnavailableServiceException: uninitialized

at javax.jnlp.ServiceManager.lookup(ServiceManager.java:44)

at TabClient.writeMethod(TabClient.java:1519)

at TabClient.submitMethod(TabClient.java:1276)

at TabClient$1.actionPerformed(TabClient.java:582)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Window.dispatchEventImpl(Window.java:1606)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

jnlpexceptionuninitialized

thankx for advane .....


how to solve this propblem
i include my classpath javaws.jar
Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182
Hi,

How the FileOpenService initialization is done? - code?
Examples are here:
http://java.sun.com/products/javawebstart/docs/developersguide.html#api
Do you have:

security>
<all-permissions/>
</security>

in your jnlp? Found some docs about this not being necessary, but you might give it a try.

BR,
Cristian
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iam hetting error when compile a File open service
 
Similar Threads
JInternalFrame
internal frame
error handling
how to use parseInt()
problem regarding batch file