• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploying WAR on Weblogic

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
using "set JAVA_OPTS=%JAVA_OPTS% -Xms256M -Xmx1300M -XX:PermSize=128M -XX:MaxPermSize=256M"
 
Ranch Hand
Posts: 57
Eclipse IDE PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How did you generate the war?
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic