For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 2 replies, 2 voices, and was last updated 19 years, 9 months ago by
Russ.
-
AuthorPosts
-
RussMemberI am moving several projects to MyEclipse. What I did was to strip out all the ibm specific mapping files (as recommended by this forum) and created new projects within MyEclipse. I ported over only the source code into the new projects and re-created all the settings for the specific projects. I was able to get the projects to compile properly with the exception of the Web Services project, but we know why that won’t work with MyEclipse (X-Fire vs AXIS issue). Next we installed the latest production ready version of JBOSS (4.0.5) and ran its windows installer. I was able to get the server to come up with the basic installation with no errors. From here, I started tweaking the server to add JMS functionality, then I deployed the J2EE project to JBOSS with no problems. The last step was to bring up JBOSS with the new settings and project. What happen next I can not fully explain. When I started the server, an error displayed involving the JBOSS log4j component. I have not changed the log4j.xml settings, so I am confused why this error would even happen:
20:05:44,757 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 20:05:44,757 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 20:05:44,757 ERROR [STDERR] log4j:ERROR [WebappClassLoader delegate: false repositories: /WEB-INF/classes/ ----------> Parent Classloader: java.net.FactoryURLClassLoader@31c43f ] whereas object of type 20:05:44,757 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@ab95e6]. 20:05:44,820 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows. 20:05:44,820 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppenderI checked to ensure I had the log4j-boot.jar within the server area. I found log4j-boot.jar found in <JBOSS_DIR>/lib. Also the log4j.xml file is the only place where the class OnlyOnceErrorHandler is specifically mentioned. I am at a lost to explain why there is an issue.
Can someone shed some light on this for me? Is this a version issue with log4j?
Thanks for reading my post.
Russ
November 16, 2006 at 10:55 am #262044
Riyad KallaMemberRuss,
Does the app server start correctly from the command line, is this issue only when starting from MyEclipse? You might try adding any additional JARs to the app server’s classpath under it’s connector’s setting even if they are still in the /lib dir.November 16, 2006 at 2:56 pm #262076
RussMemberokay, we have gotten pass this isse by adding the jar files to the JBoss classpath. You can close this issue
-
AuthorPosts
