jQuery in Action, 2nd edition
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
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Reply 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: 521
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: 521
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: 8208
    
  71

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: 521
Hi,

Yes I thought about removing NamingProviderURLWriter but was not sure of its true role.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Anyone know what cause this Error installing to Start: name=jboss:service=NamingProviderURLWriter
 
Similar Threads
Server started with Deployment Errors
Problem deploying two war files to one instance of jboss-5.1.0.GA
cannot deploy to jboss 5.0.1 server
Error starting up my jboss
problem while starting jboss5.0