Results 1 to 6 of 6

Thread: Establish Spring Framework on weblogic 8.1

  1. #1
    Join Date
    Mar 2005
    Location
    Turkey
    Posts
    3

    Default Establish Spring Framework on weblogic 8.1

    Hi All,

    i try to make a spring web application on Bea Weblogic.When i deploy my application i got following message:

    log4j:WARN No appenders could be found for logger (org.springframework.web.servlet.DispatcherServlet )
    Please initilaze the log4j system properly.
    I'm newbie for the Spring Framework.Have you any idea or setting i must do?

    Thanks in advance

    Arzu

  2. #2
    Join Date
    Aug 2004
    Location
    Amsterdam, Netherlands
    Posts
    450

    Default

    Spring features a Log4jConfigListener which you should add to your web.xml file. You also have to provide it a log4jConfigLocation context-param. This should be done on all servers except for JBoss. Have a look at one of the samples, they all include how to wire it.

    regards.
    Alef Arendsen
    Alef Arendsen
    SpringSource
    http://www.springsource.com

  3. #3
    Join Date
    Mar 2005
    Location
    Turkey
    Posts
    3

    Default Another same problem

    Hi ,
    now i can deploy my application but still same message i see on the weblogic monitor.And also i cannot run the spring controller in browser.Following error displaying in the internet explorer:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    Thank u verymuch

  4. #4
    Join Date
    Jun 2005
    Location
    District of Columbia, US
    Posts
    13

    Default

    I'm having similar problem. My project worked fine when I deploy it to weblogic locally, but when I deploy it to a weblogic server(in production) over the network, I get the following:

    <User defined listener org.springframework.web.util.Log4jConfigListener failed: java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded.>


    sami

  5. #5
    Join Date
    Jun 2005
    Location
    Singapore
    Posts
    2

    Default

    Hi

    Avoid deploying the web application in a war file. I have the whole application deployed as a EAR file. And within the EAR file, the web application is unzipped to a folder within the EAR file and it works !
    Mallim Ink (Beta)
    http://www.mallim.per.sg

  6. #6
    Join Date
    Jun 2005
    Location
    District of Columbia, US
    Posts
    13

    Default

    Quote Originally Posted by mallim
    Hi

    Avoid deploying the web application in a war file. I have the whole application deployed as a EAR file. And within the EAR file, the web application is unzipped to a folder within the EAR file and it works !
    That worked! So, thanks.

    Sami
    sami

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 5
    Last Post: Aug 9th, 2008, 05:30 AM
  3. Replies: 2
    Last Post: May 26th, 2005, 02:30 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •