aspose file tools*
The moose likes JBoss/WildFly and the fly likes Anyone know what cause this Error installing to Start: name=jboss:service=NamingProviderURLWriter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Anyone know what cause this Error installing to Start: name=jboss:service=NamingProviderURLWriter" Watch "Anyone know what cause this Error installing to Start: name=jboss:service=NamingProviderURLWriter" New topic
Author

Anyone know what cause this Error installing to Start: name=jboss:service=NamingProviderURLWriter

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 582
When I start JBoss I get the following error:

ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss:service=NamingProviderURLWriter state=Create mode=Manual requiredState=Installed



In my jboss-service.xml i have the following



org.jboss.naming.NamingProviderURLWriter is contained in the following jar :C:\appservers\jboss-5.1.0.GA\common\lib\jboss.jar.

I am more interested in what fires of this sort of error.

Thanks for any help

uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

Have you made any changes to the existing JBoss? or you are getting this error while deploying your application?
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 582
Hi Utam

The problem is caused when NamingProviderURLWriter creates a file :

C:\appservers\jboss-5.1.0.GA\server\bgifunds\data\jnp-service

jnp-service is used for start up.

Windows locks this file, an so it cant be written to causing the java.io.IOException: Access is denied error.

The solution is disabling Windows Indexing Service .
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

FYI https://issues.jboss.org/browse/JBAS-7674 (see if that workaround in that JIRA is applicable for JBoss AS5 and if it works).

[My Blog] [JavaRanch Journal]
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 582
Hi,

Yes I thought about removing NamingProviderURLWriter but was not sure of its true role.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Anyone know what cause this Error installing to Start: name=jboss:service=NamingProviderURLWriter