Posted content length exceeds limit of 12326933 deploying war

De Wikillano
Saltar a: navegación, buscar

Al intentar desplegar un .war des la la consola web de administración, sun One nos devuelve el siguiente error:

Posted content length of exceeds limit of 12326933 exceeds limit of 10485760"

esto es un bug de la aplicación que deberia solucionarse en los siguiente service packs del software, mientras podemos deployar el war manualmente desde consola.

Antes de todo hay que hacer lo siguiente:

desde la Web de administracion del webserver

  • parar la instancia
  • borrar el ultimo despliege
  • aplicar cambios

entonces desde comandos:


cd [ruta de instalacion]/bin/https/bin

bash-2.03# ./wdeploy deploy -u /hello -i hello -v https-hello -d /projectos/webapps/helloworld /root/deploys/hello.war
[wdeploy] The war file name is /root/deploys/hello.war
[wdeploy] Deploying  web application
[wdeploy] Loading  new configuration
[wdeploy] Exception when reconfiguring the server failure: server not running
[wdeploy] Exception is ignored, please reconfigure manually...
[wdeploy] Web application deploy successful


arrancar la instancia y listo, ya funciona,

sintaxis:

The syntax for the command is as follows:

wdeploy deploy -u uri_path -i instance -v vs_id [-d directory] war_file

  • uri_path Specify the URI prefix (a path to access the web application from the browser).
  • instance Specify the server instance name. (Note: Do not include "https" in the front.)
  • vs_id Specify the Virtual Server name as it appears on the Manage Virtual Servers page.
  • directory Specify a directory to extract WAR files. If this directory doesn't exist already, it will be created for you now.
  • war_file Specify the name of the WAR file.
Herramientas personales