Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

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
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic