Bjorn:
Thanks for noticing the resource-ref issue. There may be more related
issues. I'll talk about that in my next e-mail.
Unless you really do want the latest (and possibly unstable code), you
should probably be pulling the tagged 2.0 sources or the distribution.
It's pretty clear that 2.1 is not quite stable yet.
This is really a completely new thread, so I cut out all of the older
stuff pertaining to the JBoss 4.0.0 problems below which were resolved
by your upgrade.
Noticed something about the logs below. TRACE level is only in log4j
1.2.12. Roller is using 1.2.11. We didn't move to 1.2.12 due to some
issues reported with it, but it may be fine to use it.
Something looks like its expecting TRACE and 1.2.12. Either it is
harmless or you end up with a misconfigured log4j. If the rest of
logging seems to be working right it may be ok. You may also have too
many log4j implementations in the classloader hierarchy; if you have
1.2.12 in a level that is "visible" to the webapp, you may be able to
remove the log4j jar from the Roller WEB-INF/lib; or replace the one in
the webapp with 1.2.12; or fix your other configs not to mention TRACE.
--a.
Björn Ingimundarson wrote:
After successfully deploying Roller 1.2 on JBoss 4.0.3 I decided it
was time to upgrade my Roller version so I fetched the latest source
from SVN and built it. I updated my database launched JBoss with my
upgraded Roller (2.1 the database says).
The first time I started JBoss with the new Roller I got an exception
reporting that it was unable to map the rollerdb datasource.
jdbc/rollerdb was defined in my jboss-web.xml but no longer defined in
web.xml. Why was this removed from web.xml. When I added this back to
web.xml like it was before the server started up properly except for
one stack trace on INFO level.
00:21:31,143 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
log4j:ERROR Could not create level [TRACE]. Reported error follows.
00:21:31,143 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
java.lang.ClassCastException
00:21:31,143 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.xml.DOMConfigurator.parseLevel(DOMConfigurator.java:521)
00:21:31,143 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:437)
00:21:31,153 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:344)
00:21:31,153 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:790)
00:21:31,153 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:675)
00:21:31,163 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:625)
00:21:31,163 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:611)
00:21:31,173 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
00:21:31,173 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
00:21:31,183 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at org.apache.log4j.Category.getInstance(Category.java:519)
00:21:31,183 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)
00:21:31,193 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.runtime.log.LogManager.createLogSystem(LogManager.java:127)
00:21:31,193 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.runtime.RuntimeInstance.initializeLogger(RuntimeInstance.java:553)
00:21:31,203 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:226)
00:21:31,203 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:461)
00:21:31,203 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.runtime.RuntimeSingleton.init(RuntimeSingleton.java:208)
00:21:31,213 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at org.apache.velocity.app.Velocity.init(Velocity.java:106)
00:21:31,243 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.servlet.VelocityServlet.initVelocity(VelocityServlet.java:193)
00:21:31,243 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:162)
00:21:31,243 INFO
[org.apache.velocity.runtime.log.SimpleLog4JLogSystem.init(SimpleLog4JLogSystem.java:63)]
at
org.roller.presentation.velocity.BasePageServlet.init(BasePageServlet.java:49)
Roller however seems to run without a hitch despite of this.
And oh man Roller 2 is cool :)
Best Regards,
Bjorn Ingimundarson
Anil Gangolli wrote: