Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Error while deploying .ear file

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Error while deploying .ear file

    While deploying .ear file in Oracle application server 10g, i am getting following error

    Error:
    Deployment failed: Nested exception
    Resolution:

    Base Exception:
    java.rmi.RemoteException
    deploy failed: ;nested exception is:
    oracle.oc4j.admin.internal.DeployerExceptionLError initializing ejb-module;Exception Error loading class 'xxxxx':
    java.lang.NoClassDefFoundErrorLorg/apache/log4j/Logger.deploy failed:;nested Exception is:
    oracle.oc4j.admin.internal.DeployerExceptionLError initializing ejb-module;Exception Error loading class 'xxxxx':
    java.lang.NoClassDefFoundError;rg/apache/log4j/Logger
    I use eclipse IDE with web server .

    Any suggestions are highly appreciated.


  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: Error while deploying .ear file

    Looks to me like you need to place the log4j.jar file in your application servers lib folder or on the classpath in one way or another.

    // Json

Similar Threads

  1. How to solve NullPointerException in runtime?
    By Koren3 in forum What's Wrong With My Code?
    Replies: 16
    Last Post: September 20th, 2017, 11:25 PM
  2. Replies: 3
    Last Post: April 26th, 2011, 02:51 AM
  3. Truncated class file error
    By Koâk in forum Exceptions
    Replies: 4
    Last Post: June 23rd, 2009, 11:23 AM
  4. [SOLVED] Interesting error cipher while sending message
    By Koren3 in forum Java Networking
    Replies: 0
    Last Post: April 29th, 2009, 09:54 AM
  5. Proper output for Non preemptive scheduling problem
    By haygaurav in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 4th, 2009, 07:58 AM