-
1. Re: Can't see the .war after deploy
abhijithumbe Aug 15, 2017 9:29 PM (in response to garrahan-gfuente)If the application is deployed through management console and CLI utility it goes under $JBOSS_HOME/standalone/data directory.
-
2. Re: Can't see the .war after deploy
garrahan-gfuente Aug 16, 2017 11:32 AM (in response to abhijithumbe)Thank you very much Abhijit Humbe for your quick reply!
When I look in the directory that you indicated I did not find it.
But your answer led me to perform a search in all the subdirectories of the wildfly (Before it I did not know if the deployment copied it into the structure of the wildfly or left it from where I had done the deploy)
In short, thanks to your answer I found it in the %WILDFLY_HOME%\standalone\temp\ directory!!
And the new questions are:
Should I do anything to get my war file to pass from %WILDFLY_HOME%\standalone\temp\ directory to %WILDFLY_HOME%\standalone\data\ ?
Is there something wrong with my installation? I use: WildFly 10.0 Final in WIndows 10
Thanks in advance!!
-
3. Re: Can't see the .war after deploy
claudio4j Aug 17, 2017 10:59 AM (in response to garrahan-gfuente)Users may deploy in two ways
- manually copy files to deployments directory (only standalone mode)- use web console or jboss-cli to upload deployment, this mechanism will upload archives and will store it under directories named with hash number and will rename the archibe to "content", as this example:
/opt/jboss-eap-7.0/domain/data/content/0b/69c3e47f28b29327fb3a98b6928e84851ed8f3/content
You can look at domain.xml for the deployments section
<deployment name="wildfly-helloworld.war" runtime-name="wildfly-helloworld.war">
<content sha1="0b69c3e47f28b29327fb3a98b6928e84851ed8f3"/>
</deployment>
You can retrieve the archive from data directory, but I would not trust files from temp directories,
-
4. Re: Can't see the .war after deploy
garrahan-gfuente Aug 17, 2017 2:27 PM (in response to claudio4j)Thank you Claudio Miranda 4 your reply!
I perform the manual deployment of the oracle driver (odbc6.jar) and the deployment of my application through the browser on port 9990 and both work very well!
I agree with you that we can not rely on temporary directories, because of this I want to verify that the directory where my application was deployed
(%WILDFLY_HOME%\standalone\tmp) is correct in the windows 10 environment and the wildfly version 10.0 final
Here are the files I have found:
C:\wildfly10\standalone\tmp>dir
El volumen de la unidad C es Windows
El número de serie del volumen es: FC9F-0C95
Directorio de C:\wildfly10\standalone\tmp
15/08/2017 04:38 p. m. <DIR> .
15/08/2017 04:38 p. m. <DIR> ..
11/08/2017 03:38 p. m. <DIR> auth
15/08/2017 05:01 p. m. <DIR> openspecimen.war
15/08/2017 04:38 p. m. 21 startup-marker
15/08/2017 04:37 p. m. <DIR> vfs
1 archivos 21 bytes
I think the ../opt directory is proper Of linux environments.
I think the ../opt directory (you indicated) is specific to linux environments...Am I wrong?
Actually ... I want to know if my installation has something wrongly configured, because it's working fine, but in the %WILDFLY_HOME%\standalone\tmp directory.
%WILDFLY_HOME% is set to: C:\wildfly10
Thanks again...
Gustavo
-
5. Re: Can't see the .war after deploy
claudio4j Aug 18, 2017 10:46 AM (in response to garrahan-gfuente)> I think the ../opt directory (you indicated) is specific to linux environments...Am I wrong?
Correct, linux and windows differs in the path separator.
> Actually ... I want to know if my installation has something wrongly configured, because it's working fine, but in the %WILDFLY_HOME%\standalone\tmp directory.
Look in the WILDFLY_HOME/log/server.log if there are error messages.
The tmp directory is used only for temporary data, not sure what information you want to extract from there.
-
6. Re: Can't see the .war after deploy
ehugonnet Aug 21, 2017 2:47 AM (in response to claudio4j)During runtime the enabled war files are exploded by vfs in the tmp directory. Those files will be deleted on stop / restart / disable.
The reference content is in the content data directory for recreating the tmp files.