0 Replies Latest reply on Apr 25, 2005 8:23 AM by Apo tralas

    JBoss and OpenAMF

    Apo tralas Newbie

      Hello all,

      after upgrading from JBoss 4.0.0 to 4.0.2RC1 (& 4.0.1 the same problem). I have problem deploying the same openamf.ear.
      Could someone point me the changes made that are not allow the openamf.ear to be deployed? Is there any new security constraint? I can see some exceptions from the logger, but I can't identify the error.

      Follows the exceptions thrown during the deployment and application.xml & jboss.xml.

      regards,
      Apo


      ?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss-app
      PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN"
      "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd">
      <jboss-app>
      <loader-repository>
      org.openamf:loader=openamf.ear
      <loader-repository-config>
      java2ParentDelegation=false
      </loader-repository-config>
      </loader-repository>
      </jboss-app>
      ?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>


      <display-name>OpenAMF</display-name>


      openamf-ejb.jar



      <web-uri>openamf.war</web-uri>






      13:45:46,406 INFO [EARDeployer] Init J2EE application: file:/home/amanol/tmp/jboss/jboss-4.0.2RC1/server/default/deploy/openamf.ear
      13:45:47,633 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: org.openamf:loader=openamf.war, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false)
      13:45:48,075 INFO [EjbModule] Deploying TestStatelessEJB
      13:45:48,221 INFO [EjbModule] Deploying TestStatefulEJB
      13:45:48,661 INFO [EJBDeployer] Deployed: file:/home/amanol/tmp/jboss/jboss-4.0.2RC1/server/default/tmp/deploy/tmp33999openamf.ear-contents/openamf-ejb.jar
      13:45:48,746 INFO [TomcatDeployer] deploy, ctxPath=/openamf, warUrl=file:/home/amanol/tmp/jboss/jboss-4.0.2RC1/server/default/tmp/deploy/tmp33999openamf.ear-contents/openamf.war/
      13:45:49,565 ERROR [Digester] End event threw exception
      java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:890)
      at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:192)
      at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
      at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1057)
      ........................[snip]
      Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
      at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:996)
      at org.apache.catalina.core.StandardWrapper.start(StandardWrapper.java:1628)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1884)
      ... 92 more
      Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
      at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416)
      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
      ... 100 more
      Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
      at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
      ... 101 more
      13:45:49,582 ERROR [ContextConfig] Parse error in default web.xml
      org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
      at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2719)
      at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2745)
      at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)