Всем доброго времени суток. Народ помогите разобраться с web start приложение я очистил построил запустил проверил на работоспособность работает потом развернул на сервере glassfish 3.1.2.1 опять развернул только уже через консоль администратора создал web start jnlp файл запустил и тут полезли ошибки Unable to launch the application From : https://acer:8181/__JWSappclient/.../__main.jnlpError: Unable to load resource: https://acer:8181/__JWSappclient/__system/_...ystem_s1as.jnlplaunch file: Код | <jnlp spec="1.0+" codebase="https://acer:8181/___JWSappclient/___app/ApplicationClient1" href="___dyn/___main.jnlp"> <information> <title>ApplicationClient1</title> <vendor>Application Client</vendor> <homepage href="${appclient.information.homepage.filepath}"/> <description kind="one-line">ApplicationClient1</description> <description kind="short">ApplicationClient1</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <java version="1.6+" java-vm-args=""/> <jar href="ApplicationClient1Client.jar" main="true"/> <jar href="https://acer:8181/___JWSappclient/___system/s1as/glassfish/lib/gf-client.jar"/> <jar href="https://acer:8181/___JWSappclient/___system/s1as/glassfish/modules/gf-client-module.jar"/> <extension name="___system" href="https://acer:8181/___JWSappclient/___system/___dyn/___system_s1as.jnlp"/> <extension name="___client" href="___dyn/___client.jnlp"/> <property name="appclient.system.codebase" value="https://acer:8181/___JWSappclient/___system"/> <property name="appclient.is.jws" value="true"/> <property name="agent.args" value="mode=jws,client=url=https://acer:8181/___JWSappclient/___app/ApplicationClient1/ApplicationClient1Client.jar,arg=-targetserver,arg=acer:3700"/> <property name="client.facade.jar.path" value="ApplicationClient1Client.jar"/> <property name="full.app.codebase.path" value="https://acer:8181/___JWSappclient/___app/ApplicationClient1"/> <property name="sun-acc.xml.content" value="<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE client-container PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Application Client Container//EN" "http://www.sun.com/software/appserver/dtds/sun-application-client-container_1_2.dtd">
<client-container> <target-server name="bat-s10-1" address="localhost" port="3700"/> <log-service file="" level="WARNING"/> <message-security-config auth-layer="SOAP"> <!-- turned off by default --> <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client"> <request-policy auth-source="content"/> <response-policy auth-source="content"/> <property name="encryption.key.alias" value="s1as"/> <property name="signature.key.alias" value="s1as"/> <property name="dynamic.username.password" value="false"/> <property name="debug" value="false"/> </provider-config> <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client"> <request-policy auth-source="content"/> <response-policy auth-source="content"/> <property name="encryption.key.alias" value="s1as"/> <property name="signature.key.alias" value="s1as"/> <property name="dynamic.username.password" value="false"/> <property name="debug" value="false"/> <property name="security.config" value="${security.config.path}"/> </provider-config> </message-security-config> </client-container>"/> <property name="appclient.login.conf.content" value="/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * */
default { com.sun.enterprise.security.auth.login.ClientPasswordLoginModule required debug=false; };
certificate { com.sun.enterprise.security.auth.login.ClientCertificateLoginModule required debug=false; };"/> <property name="message.security.config.provider.security.config" value="<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-->
<!-- This client side config file pairs with wss-server-config-1.0.xml on the server and supports the following UseCases: Usecase 1: Authentication by Protected UsernameToken Usecase 3: Encrypted UsernameToken and MessageBody Usecase 4: Response Encryption Key Learnt from Incoming Message
Certificate Alias Information : 1. A certificateAlias under the <xwss:Encrypt> element signifies the certificate of the recipient of the message. 2. A certificateAlias under the <xwss:Sign> element sig jnlp file truncated after 10K
|
exeption: Код | com.sun.deploy.net.FailedDownloadException: Unable to load resource: https://acer:8181/___JWSappclient/___system/___dyn/___system_s1as.jnlp at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source) at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source) at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source) at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(Unknown Source) at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source) at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source) at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source) at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
|
wrapped exeption: Код | java.io.FileNotFoundException: https://acer:8181/___JWSappclient/___system/___dyn/___system_s1as.jnlp at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source) at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source) at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source) at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source) at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(Unknown Source) at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source) at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source) at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source) at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: https://acer:8181/___JWSappclient/___system/___dyn/___system_s1as.jnlp at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source) ... 19 more
|
Помогите разобраться пожалуйста я пробовал порты с 8080 на 8181 менять в самом jnlp файле так же путь сам прописывал к jar но безрезультатно.
|