Domanda

Change the port to 9999 domain.xml file and add the server again in Netbeans, but the error persists

È stato utile?

Soluzione

If the error persists after changing the port, what you should do is eliminate domain.xml is located in the installation directory + glassfish \ domains \ domain1 \ config and then delete all projects that no longer exist. If this project does not exists delete

<applications> 
    <Application context-root = "/ MyProject" location = "file :/ C :/ Users / Administrator / Documents / NetBeansProjects / MyProject / build / web /" name = "MyProject" directory-deployed = "true" object-type = "user"> 
      <property name="preserveAppScopedResources" value="true"> </ property> 
      <property name="appLocation" value="file:/C:/Users/Administrador/Documents/NetBeansProjects/MyProject/build/web/"> </ property> 
      <property name="defaultAppName" value="web"> </ property> 
      <property name="keepSessions" value="true"> </ property> 
      <module name="MyProject"> 
        <Engine sniffer="jpa"> </ engine> 
        <Engine sniffer="security"> </ engine> 
        <Engine sniffer="web"> </ engine> 
      </ Module> 
    </ Application> 

Then remove from the Netbeans Glassfish server and add it again and ready for me it worked

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top