× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



log4j is an open source logger, and a very good one, at that. It may be
made a part of each new EJB project by default in your RAD environment,
but the same set up may not be there in our myEclipse environment. Look
at the java resources in your RAD project. See "log4j.jar"? Copy and
paste that jar into your myEclipse project. Should clear up the compile
error. You can also download the jar file from apache.org.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of hockchai Lim
Sent: Monday, November 23, 2009 2:44 PM
To: java400-l@xxxxxxxxxxxx
Subject: MyEclipse - Deployment RMIC compile error

I'm trying to compare the differences between the myEcliplse IDE & RAD
IDE to see if myEclipse can be used as the replacement for RAD. When I
try to deploy my EJB application in myEclipse, I'm getting the RMIC
compile error.
It seems like the problem is caused by RMIC not able to find the
org.apache.log4j.LogManager, that is used by the my
com.arch.boss.transaction.Job.class. I'm not very familiar with RMIC
and myEclipse and could not quite understand why it is trying to
execute/compile the job.java/job.class. Can anyone help?

thanks





Error generating RMI code: RMIC command failed on project: Boss with
message:

RMIC caught the following exception during processing

java.lang.RuntimeException: com.arch.boss.transaction.Job

. . . . . .

Caused by: java.lang.NoClassDefFoundError: org.apache.log4j.LogManager

at com.arch.boss.log.Log.<clinit>(Log.java:39)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)

at com.arch.boss.transaction.Job.<clinit>(Job.java:33)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)

at java.io.ObjectStreamClass.hasStaticInitializer(Native Method)

... 76 more

Caused by: java.lang.ClassNotFoundException

at
com.ibm.tools.rmic.iiop.DirectoryLoader.loadClass(DirectoryLoader.java:1
21)

at java.lang.ClassLoader.loadClass(ClassLoader.java:609)

... 83 more


--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.