Olá caros colegas...
Tenho uma aplicação Jee com front end Swing disponivel ao cliente via Java Web Start (JWS)...
O server JBoss 4.0 está num host remoto e toda a aplicação funciona muito bem ainda em testes...
Em alguns casos que nao consegui resolver, nem descobrir o motivo, após o download do client (gerenciado pelo jws)
o programa não executa localmente e dá o seguinte erro:
Could not find main-class in br.icondev.client.login.IconLogin
<application-desc main-class="br.icondev.client.login.IconLogin">
</application-desc>
</jnlp>
Visto que está classe esta coreta e contém sim o método main, pois funciona em outros client's
Nos casos de erro tambem não encontrei pontos em comuns, um era SO Win 7 com java 6 e outro era WinXp...
Não sei exatamente que pontos investigar... limpei 'N' vezes o cache do java no painel de controle, reinstalei o jre e não resolveu...
Alguem tem alguma sugestão? :cry:
Note.: testei em 10 client's diferentes e uns 3 deu pau, nos outros funcionou perfeitamente...
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="6.0+" codebase="http://www.hostremoto.com.br/servlet" href ="sistema.jnlp">
<information>
<title>Teste</title>
<vendor>Teste</vendor>
<homepage href="http://www.hostremoto.com.br" />
<description kind="short">Sistemas imobiliarios</description>
<shortcut online="True">
<desktop/>
<menu submenu="SubMenu"/>
</shortcut>
<icon kind="shortcut" href="icon.ico" />
<icon kind="splash" href="splash.jpg" width="438" height="139"/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="prompt-update"/>
<resources>
<j2se version="1.4+" />
<java href="http://java.sun.com/products/autodl/j2se" version="1.6.0+"/>
<jar href="http://www.hostremoto.com.br/servlet/app/IconApplication.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconClientLogin.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconCommon.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconComponentes.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconContaBancaria.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconEntitys.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconFind.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconImages.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconInterface.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconLocacao.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconUsuario.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconCondominio.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconCondomino.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/app/IconUnidade.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/terceiros/miglayout15-swing.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/terceiros/swingx-1.6.jar" download="lazy" />
<jar href="http://www.hostremoto.com.br/servlet/terceiros/swingx-beaninfo-1.6.jar" download="lazy" />
<property name="sun.jnu.encoding" value="UTF-8" />
<property name="file.encoding" value="UTF-8" />
</resources>
<application-desc main-class="br.icondev.client.login.IconLogin">
</application-desc>
</jnlp>