|
[
Permlink
| « Hide
]
Jeff Turner [Atlassian] added a comment - 01/Dec/04 02:04 AM
Same problem on Weblogic 8.1
The getLevel & getLoggerName methods were added with log4j 1.2.6 so weblogic 8.1 should be fine. (it uses log4j 1.2.8)
8.1 SP4 should be okay
Hi,
as a workaround I put some log4j-1.2.8.jar as first Jar in CLASSPATH for pre-compiling and it works in WLS81 SP3: <target name="weblogic.precompile" depends="compile, check.weblogic.present" unless="skip.precompile"> See here: [host1]/opt/data/jira/atlassian-jira-enterprise-3.0.3 $ ./build.sh weblogic.war init: compile: check.weblogic.present: weblogic.precompile: weblogic.war: -------------------------------------------------- /opt/data/jira/atlassian-jira-enterprise-3.0.3/dist-weblogic/atlassian-jira-3.0.3.war -------------------------------------------------- BUILD SUCCESSFUL Joerg. Thanks for the pointer! We will fix this up for the next release.
Fixed problems with WLS7 & 8.1sp3 prior. Note that both of the logging fields used for fix have been deprecated. Using this for compatability with pre 1.2.6 logj. This will cause failures with the upcoming log4j 3.0, but we'll cross that bridge when we come to it.
The elements doesn't provide that much vital information and really probably can be omitted if neccessary. I'm getting this same issue with Jira 3.1.1 Enterprise (eval) running under WL 8.1 SP4, Red Hat Enterprise Linux AS.
I don't believe WebLogic uses log4J - the current <a href="http://edocs.beasys.com/wls/docs81/javadocs/weblogic/logging/package-summary.html">logging docs</a> refer to JDK 1.4's underlying java.util.logging package. No biggie. This bug is reported to have reappeared in 3.6.1 with a different version of weblogic (unknown at this stage but the precompiler stack trace has different line numbers)
emailed support query While compiling Jira application, I am getting following error. Can you see what could be the problem. Note: Recompile with -deprecation for details. check.weblogic.present: weblogic.precompile: weblogic.war: BUILD FAILED If I use precompile, Build completes with few errors but is not deployment fails. init: clean: compile: Copying 4 files to /opt/bea_jira/user_projects/domains/jira-domain/atlassian-jira-enterprise-3.6.1/tmp/build/war Note: /opt/bea_jira/user_projects/domains/jira-domain/atlassian-jira-enterprise-3.6.1/src/BugzillaImportBean.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. check.weblogic.present: weblogic.precompile: /opt/bea_jira/user_projects/domains/jira-domain/atlassian-jira-enterprise-3.6.1/tmp/build/ symbol : variable level at weblogic.jspc.doCompile(jspc.java:861) java.lang.Exception: [Compilation errors : ] /opt/bea_jira/user_projects/domains/jira-domain/atlassian-jira-enterprise-3.6.1/tmp/build/ symbol : variable level at weblogic.jspc.doCompile(jspc.java:864) Java Result: 1 weblogic.war: -------------------------------------------------- /opt/bea_jira/user_projects/domains/jira-domain/atlassian-jira-enterprise-3.6.1/dist-weblogic/atlassian-jira-3.6.1.war -------------------------------------------------- BUILD SUCCESSFUL I am seeing this same issue with 3.10.2 and Weblogic 8.1 SP4. Will try the workaround for now.
The fix for this issue has not been able to make it into JIRA v3.12. We are hoping to incorporate it into v3.12.1. As of writing however, there are 163 items scheduled as Fix For v3.12.1. We will not be able to include all of them.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||