{I did deploy with the example in contrib/tck-candidate to run a simple webapp
to only start a repository. Well, some times it worked (importing namespaces,
nodetypes and content with the servlet), but after changed the persistence to
db it does not work anymore. Follow the errors in the eclipse console, I need
help:
17:33:26,809 INFO [TomcatDeployer] deploy, ctxPath=/inicio_repositorio,
warUrl=file:/usr/lib/jboss4/server/default/deploy/inicio_repositorio.war/
17:33:27,676 INFO [STDOUT] log4j:ERROR A
"org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a
"org.apache.log4j.spi.ErrorHandler" variable.
17:33:27,678 INFO [STDOUT] log4j:ERROR The class
"org.apache.log4j.spi.ErrorHandler" was loaded by
17:33:27,678 INFO [STDOUT] log4j:ERROR [WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
] whereas object of type
17:33:27,679 INFO [STDOUT] log4j:ERROR
"org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED]
17:33:27,818 INFO [STDOUT] log4j:ERROR Could not create an Appender. Reported
error follows.
17:33:27,819 INFO [STDOUT] java.lang.ClassCastException:
org.jboss.logging.appender.DailyRollingFileAppender }
The error above is caused by jboss problem, see
http://jira.atlassian.com/browse/JRA-6823.
"
One way to solve the classloader issue is by reverting the JBoss configuration
to the old classloading model.
Edit the file
<jboss>/server/default/jbossweb-tomcat55.sar/META-INF/jboss-service.xml
Change the following lines:
<attribute name="Java2ClassLoadingCompliance">true</attribute>
<attribute name="UseJBossWebLoader">true</attribute>
(both are default set to false in jboss-4.0.2).
Note: this is a global setting for JBoss, so if you have more .war's deployed
in JBoss, this might affect them too. If that is a problem for you, you could
make this change for jira only, by editing the jboss-web.xml in the jira war;
see JBoss site for more details."
about the another error, I see another ways but it doesn't work correctly. I
dont know how to do to the webapp works.....