خرید بک لینک

Vote count: 0

I am triying to deploy a client app to a remote Glassfish 4.1.1 server. I am using NetBeans 8.1 and when I select the Deploy option the Server Log shows the following error:

[2016-06-15T19:31:39.582-0500] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=46 _ThreadName=admin-listener(4)] [timeMillis: 1466037099582] [levelValue: 1000] [[
Exception while deploying the app [EjbClient] : Specified library jar C:%5CUsers%5CAngel-LAP%5CDocuments%5CNetBeansProjects%5CejbRemoteLib%5Cdist%5CejbRemoteLib.jar does not exist: /opt/glassfish4/glassfish/domains/domain1/lib/applibs/C:%5CUsers%5CAngel-LAP%5CDocuments%5CNetBeansProjects%5CejbRemoteLib%5Cdist%5CejbRemoteLib.jar]]

The app has the library ejbRemoteLib.jar and it can't be found. I think that encoded backslashes (%5C) are de issue and the source URL to get de library jar is corrupted. I was researching about this issue and I found that GlassFish has the encoded backslashes disabled, so they suggest to use the following command at the server side to enable them:

asadmin set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.encoded-slash-enabled=true

I did it but the problem persists. The error in the client app console in NetBeans is:

Distributing C:UsersAngel-LAPDocumentsNetBeansProjectsEJBclientdistEjbClient.jar to [GlassFish Server]
GlassFish Server, deploy, null, false
C:UsersAngel-LAPDocumentsNetBeansProjectsEJBclientnbprojectbuild-impl.xml:985: The module has not been deployed.
See the server log for details.

And the line 985 with error in build-impl.xml according de prievious error is in the following label:

<target if="netbeans.home" name="-run-deploy-nb">
    <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

Do you have any suggestion to solve the issue?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 27 خرداد 1395 ساعت: 8:19

صفحه بندی