• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying WAR on Weblogic

 
Abhi Don
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to deploy my WAR (un exploded) on Weblogic 10.3 and getting folowing error

"java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded"

and when i removed the log4j.properties from WEB-INF the server is started with loads of logs in the console and when I try to get the loghin page I get permgen space error.

I also tried increasing the memmory (to the max server allowed me to) bt then also I am getting the same error (perm gen).

Please help.
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhi Don wrote:I also tried increasing the memmory (to the max server allowed me to) bt then also I am getting the same error (perm gen)


How did you increase the memory? - http://faq.javaranch.com/java/TellTheDetails
 
Abhi Don
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using "set JAVA_OPTS=%JAVA_OPTS% -Xms256M -Xmx1300M -XX:PermSize=128M -XX:MaxPermSize=256M"
 
Ankur Srivastav
Ranch Hand
Posts: 57
Eclipse IDE Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you generate the war?
 
Andy Kay
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhi,

I think I have a fix for this. It looks like "Archived Real Path Enabled" option needs to be enabled in weblogic console.
Please check this blog entry for the steps.

http://ananthkannan.blogspot.com/2009/12/log4jconfiglistener-deployment-issue.html

Good luck.
Andy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic