java - Deployment issue in Glassfish 3.1.2.2 -
i'm facing deployment issue while trying deploy main war file initiates task.
totally there 3 war files among i'm able deploy 2 war file successfully, deployment fails 1 specific war.
i'm facing issue couple of days before works fine.
no changes made in server settings .
i thought compilation issue tried redeploy backup file took in aug,july throws me same exception.
error- error occurred during deployment: exception while preparing app : java.net.connectexception: connection refused: connect -- connection refused: connect. please see server.log more details.
server logs:
[#|2017-09-11t00:46:35.536-0700|info|glassfish3.1.2|org.glassfish.admingui|_threadid=65;_threadname=thread-2;|redirecting /index.jsf|#] [#|2017-09-11t00:46:35.974-0700|info|glassfish3.1.2|org.glassfish.admingui|_threadid=67;_threadname=thread-2;|admin console: initializing session attributes...|#] [#|2017-09-11t00:47:13.642-0700|warning|glassfish3.1.2|org.apache.catalina.connector.request|_threadid=4387;_threadname=thread-2;|pwc4011: unable set request character encoding utf-8 context , because request parameters have been read, or servletrequest.getreader() has been called|#] [#|2017-09-11t00:47:16.756-0700|severe|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_threadid=4374;_threadname=thread-2;|exception while invoking class org.glassfish.webservices.webservicesdeployer prepare method|#] [#|2017-09-11t00:47:16.756-0700|severe|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_threadid=4374;_threadname=thread-2;|exception while preparing app|#] [#|2017-09-11t00:47:16.756-0700|severe|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_threadid=4374;_threadname=thread-2;|java.net.connectexception: connection refused -- connection refused java.lang.runtimeexception: java.net.connectexception: connection refused -- connection refused @ org.glassfish.webservices.webservicesdeployer.prepare(webservicesdeployer.java:193) @ com.sun.enterprise.v3.server.applicationlifecycle.preparemodule(applicationlifecycle.java:871) @ com.sun.enterprise.v3.server.applicationlifecycle.deploy(applicationlifecycle.java:410) @ com.sun.enterprise.v3.server.applicationlifecycle.deploy(applicationlifecycle.java:240) @ org.glassfish.deployment.admin.deploycommand.execute(deploycommand.java:389) @ com.sun.enterprise.v3.admin.commandrunnerimpl$1.execute(commandrunnerimpl.java:348) @ com.sun.enterprise.v3.admin.commandrunnerimpl.docommand(commandrunnerimpl.java:363) @ com.sun.enterprise.v3.admin.commandrunnerimpl.docommand(commandrunnerimpl.java:1085) @ com.sun.enterprise.v3.admin.commandrunnerimpl.access$1200(commandrunnerimpl.java:95) @ com.sun.enterprise.v3.admin.commandrunnerimpl$executioncontext.execute(commandrunnerimpl.java:1291) @ com.sun.enterprise.v3.admin.commandrunnerimpl$executioncontext.execute(commandrunnerimpl.java:1259) @ org.glassfish.admin.rest.resourceutil.runcommand(resourceutil.java:214) @ org.glassfish.admin.rest.resourceutil.runcommand(resourceutil.java:207) @ org.glassfish.admin.rest.resources.templatelistofresource.createresource(templatelistofresource.java:148) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:601) @ com.sun.jersey.spi.container.javamethodinvokerfactory$1.invoke(javamethodinvokerfactory.java:60) @ com.sun.jersey.server.impl.model.method.dispatch.abstractresourcemethoddispatchprovider$responseoutinvoker._dispatch(abstractresourcemethoddispatchprovider.java:205) @ com.sun.jersey.server.impl.model.method.dispatch.resourcejavamethoddispatcher.dispatch(resourcejavamethoddispatcher.java:75) @ com.sun.jersey.server.impl.uri.rules.httpmethodrule.accept(httpmethodrule.java:288) @ com.sun.jersey.server.impl.uri.rules.sublocatorrule.accept(sublocatorrule.java:134) @ com.sun.jersey.server.impl.uri.rules.righthandpathrule.accept(righthandpathrule.java:147) @ com.sun.jersey.server.impl.uri.rules.sublocatorrule.accept(sublocatorrule.java:134) @ com.sun.jersey.server.impl.uri.rules.righthandpathrule.accept(righthandpathrule.java:147) @ com.sun.jersey.server.impl.uri.rules.resourceclassrule.accept(resourceclassrule.java:108) @ com.sun.jersey.server.impl.uri.rules.righthandpathrule.accept(righthandpathrule.java:147) @ com.sun.jersey.server.impl.uri.rules.rootresourceclassesrule.accept(rootresourceclassesrule.java:84) @ com.sun.jersey.server.impl.application.webapplicationimpl._handlerequest(webapplicationimpl.java:1469) @ com.sun.jersey.server.impl.application.webapplicationimpl._handlerequest(webapplicationimpl.java:1400) @ com.sun.jersey.server.impl.application.webapplicationimpl.handlerequest(webapplicationimpl.java:1349) @ com.sun.jersey.server.impl.application.webapplicationimpl.handlerequest(webapplicationimpl.java:1339) @ com.sun.jersey.server.impl.container.grizzly.grizzlycontainer._service(grizzlycontainer.java:182) @ com.sun.jersey.server.impl.container.grizzly.grizzlycontainer.service(grizzlycontainer.java:147) @ org.glassfish.admin.rest.adapter.restadapter.service(restadapter.java:148) @ com.sun.grizzly.tcp.http11.grizzlyadapter.service(grizzlyadapter.java:179) @ com.sun.enterprise.v3.server.hk2dispatcher.dispath(hk2dispatcher.java:117) @ com.sun.enterprise.v3.services.impl.containermapper$hk2dispatchercallable.call(containermapper.java:354) @ com.sun.enterprise.v3.services.impl.containermapper.service(containermapper.java:195) @ com.sun.grizzly.http.processortask.invokeadapter(processortask.java:860) @ com.sun.grizzly.http.processortask.doprocess(processortask.java:757) @ com.sun.grizzly.http.processortask.process(processortask.java:1056) @ com.sun.grizzly.http.defaultprotocolfilter.execute(defaultprotocolfilter.java:229) @ com.sun.grizzly.defaultprotocolchain.executeprotocolfilter(defaultprotocolchain.java:137) @ com.sun.grizzly.defaultprotocolchain.execute(defaultprotocolchain.java:104) @ com.sun.grizzly.defaultprotocolchain.execute(defaultprotocolchain.java:90) @ com.sun.grizzly.http.httpprotocolchain.execute(httpprotocolchain.java:79) @ com.sun.grizzly.protocolchaincontexttask.docall(protocolchaincontexttask.java:54) @ com.sun.grizzly.selectionkeycontexttask.call(selectionkeycontexttask.java:59) @ com.sun.grizzly.contexttask.run(contexttask.java:71) @ com.sun.grizzly.util.abstractthreadpool$worker.dowork(abstractthreadpool.java:532) @ com.sun.grizzly.util.abstractthreadpool$worker.run(abstractthreadpool.java:513) @ java.lang.thread.run(thread.java:722) caused by: org.glassfish.deployment.common.deploymentexception: java.net.connectexception: connection refused -- connection refused @ java.net.plainsocketimpl.socketconnect(native method) @ java.net.abstractplainsocketimpl.doconnect(abstractplainsocketimpl.java:339) @ java.net.abstractplainsocketimpl.connecttoaddress(abstractplainsocketimpl.java:200) @ java.net.abstractplainsocketimpl.connect(abstractplainsocketimpl.java:182) @ java.net.sockssocketimpl.connect(sockssocketimpl.java:391) @ java.net.socket.connect(socket.java:579) @ java.net.socket.connect(socket.java:528) @ sun.net.networkclient.doconnect(networkclient.java:180) @ sun.net.www.http.httpclient.openserver(httpclient.java:378) @ sun.net.www.http.httpclient.openserver(httpclient.java:473) @ sun.net.www.http.httpclient.<init>(httpclient.java:203) @ sun.net.www.http.httpclient.new(httpclient.java:290) @ sun.net.www.http.httpclient.new(httpclient.java:306) @ sun.net.www.protocol.http.httpurlconnection.getnewhttpclient(httpurlconnection.java:995) @ sun.net.www.protocol.http.httpurlconnection.plainconnect(httpurlconnection.java:931) @ sun.net.www.protocol.http.httpurlconnection.connect(httpurlconnection.java:849) @ sun.net.www.protocol.http.httpurlconnection.getinputstream(httpurlconnection.java:1299) @ java.net.url.openstream(url.java:1037) @ org.glassfish.webservices.webservicesdeployer.downloadfile(webservicesdeployer.java:433) @ org.glassfish.webservices.webservicesdeployer.downloadwsdlsandschemas(webservicesdeployer.java:300) @ org.glassfish.webservices.webservicesdeployer.setupjaxwsservicefordeployment(webservicesdeployer.java:244) @ org.glassfish.webservices.webservicesdeployer.prepare(webservicesdeployer.java:174) ... 53 more |#]
there's not lot go on here, looks have jax-ws web service trying download wsdl/schema. url file may wrong or unresolvable other reason because glassfish cannot file needs deployment.
Comments
Post a Comment