JBoss EAP 5.2 is not starting on windows machine

Solution Verified - Updated -

Issue

  • While running EAP 5.2 on windows machine , following error appears in the JBoss EAP server.log file :
ERROR [org.jboss.system.server.profileservice.repository.ScopedProfileServiceController] (main) Error installing to Create: name=ProfileKey@45ff4ac0[domain=default, server=default, name=farm] state=Configured mode=On Demand requiredState=Installed
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    ... 
Caused by: java.lang.RuntimeException: java.io.IOException
    at org.jboss.system.server.profileservice.repository.clustered.local.AbstractContentMetadataPersister.load(AbstractContentMetadataPersister.java:76)
    at org.jboss.system.server.profileservice.repository.clustered.local.AbstractLocalContentManager.<init>(AbstractLocalContentManager.java:136)
    at org.jboss.system.server.profileservice.repository.clustered.local.file.FilesystemLocalContentManager.<init>(FilesystemLocalContentManager.java:64)
    ... 
Caused by: java.io.IOException
    at org.jboss.net.protocol.file.FileURLConnection.<init>(FileURLConnection.java:102)
    at org.jboss.net.protocol.file.Handler.openConnection(Handler.java:40)
    at java.net.URL.openConnection(URL.java:971)
    at java.net.URL.openStream(URL.java:1037)
    at org.jboss.system.server.profileservice.repository.clustered.local.JAXBRepositoryContentMetadataPersister.loadMetadata(JAXBRepositoryContentMetadataPersister.java:85)
    at org.jboss.system.server.profileservice.repository.clustered.local.AbstractContentMetadataPersister.load(AbstractContentMetadataPersister.java:68)
    ... 30 more
Caused by: java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/jboss-eap-5.2/jboss-as/server/server/data/farm-repository-contents.xml
    at java.net.URI$Parser.fail(URI.java:2829)
    at java.net.URI$Parser.checkChars(URI.java:3002)
    at java.net.URI$Parser.parseHierarchical(URI.java:3086)
    at java.net.URI$Parser.parse(URI.java:3034)
    at java.net.URI.<init>(URI.java:595)
    at java.net.URL.toURI(URL.java:938)
    at org.jboss.net.protocol.file.FileURLConnection.<init>(FileURLConnection.java:85)
    ... 35 more

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.