users@glassfish.java.net

Exclude files from publish

From: <forums_at_java.net>
Date: Thu, 15 Sep 2011 04:49:41 -0500 (CDT)

Hi,

i try to publish a project to Glassfish 2.1.x on Eclipse J2EE Indigo using
this Adapter fix: Normal 0 21 false false false DE X-NONE X-NONE /* Style
Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle";
mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes;
mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm
5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan; font-size:11.0pt;
font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;}
http://java.net/jira/browse/GLASSFISHPLUGINS-332 [1]

Any publish fails with JAVA IO exceptions, while during publish the .svn
folders are also copied to the glassfish application folder:

[code]

SCHWERWIEGEND: WEB0123: WebModule [bpa] failed to deploy and has been
disabled
java.lang.IllegalStateException: ContainerBase.addChild: start:
LifecycleException:  java.io.FileNotFoundException:
D:\bpa\workspace_eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\bpa\WEB-INF\menu\disabled\.svn
(Zugriff verweigert)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:992)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
    at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
    at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
    at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
    at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
    at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
    at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
    at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
    at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
    at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
    at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
    at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
    at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
    at $Proxy1.invoke(Unknown Source)
    at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
    at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
    at
com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
    at
com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
    at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
    at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)

[/code]

Is it possible to exclude the .svn folders from publish?


[1] http://java.net/jira/browse/GLASSFISHPLUGINS-332

--
[Message sent by forum member 'hellhound']
View Post: http://forums.java.net/node/843305