Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7674

Windows file locking problem with the data/jnp-service.url file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.M2
    • JBossAS-5.1.0.GA, 6.0.0.M1
    • Management services
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      The purpose of the data/jnp-service.url is to allow JON to discover the socket on which the JNDI server is listening. If JON is not being used, the creation of this file can be eliminated.

      To do this, edit the deploy/naming-jboss-beans.xml file and comment out or delete the following bean:

      <bean name="NamingProviderURLWriter"
      class="org.jboss.naming.NamingProviderURLWriter">
      <property name="server"><inject bean="JBossServer"/></property>
      <property name="bootstrapAddress"><inject bean="RemoteNamingBean" property="bindAddress"/></property>
      <property name="bootstrapPort"><inject bean="RemoteNamingBean" property="port"/></property>
      </bean>

      Show
      The purpose of the data/jnp-service.url is to allow JON to discover the socket on which the JNDI server is listening. If JON is not being used, the creation of this file can be eliminated. To do this, edit the deploy/naming-jboss-beans.xml file and comment out or delete the following bean: <bean name="NamingProviderURLWriter" class="org.jboss.naming.NamingProviderURLWriter"> <property name="server"><inject bean="JBossServer"/></property> <property name="bootstrapAddress"><inject bean="RemoteNamingBean" property="bindAddress"/></property> <property name="bootstrapPort"><inject bean="RemoteNamingBean" property="port"/></property> </bean>

    Description

      In some circumstances, windows is reporting the AS is holding a lock on the data/jnp-service.url file when it isn't running.

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: