Hello,

I've run into an odd problem getting 1.6 working I can't figure out.
Basically I've got it built and installed properly but when I go to
deploy the webapp portion it will not work.

Here are some specifics of the environment:
Solaris 10 OS setup in a Zone architecture (basically everything runs in
a series of virtual machines)
Sun Java Application Server 9.1
Other apps running in the App Server include a couple Dspace 1.3.2
repositories and a Solr app

I've got the server logs and it seems to be something related to log4j.
When I googled a couple of the exceptions I found alot about class
loading issues and such but nothing obviously useful.  

The really odd thing is I can get the same exact install working with
the version Sun App Server but on another zone (virtual machine) without
a problem.  I just can't get it working on the zone its supposed to live
in when we move it to production.  I've tried both the xmlui and the
jspui and they throw the same errors.  

I also tried updating all the log4j libs in the older repositories to
the version Maven grabbed to use with 1.6 hoping it might be some shared
library issue but that didn't solve it.  

I'd appreciate any help/suggestions anyone might have.

Thanks,
Rusty Earl
Digital Library Initiatives
NCSU Libraries


Here is the relevant part of the server log for an attempted deployment
of the xmlui:

[#|2010-03-09T16:11:15.681-0500|SEVERE|sun-appserver9.1|
javax.enterprise.system.container.web|
_ThreadID=152;_ThreadName=Thread-640;_RequestID=95fa8815-d3a3-4faa-a49d-4b2b40604b5b;|WebModule[/xmlui]PWC1257:
 Error configuring application listener of class 
org.springframework.web.context.request.RequestContextListener
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@b67377 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@b67377 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
        at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
        at
org.springframework.web.context.request.RequestContextListener.<init>(RequestContextListener.java:55)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4459)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5176)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1581)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
        at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
        at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
        at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
        at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
        at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
        at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
        at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
        at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
        at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
        at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
        at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
        at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
        at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
        at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
        at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
        at $Proxy1.invoke(Unknown Source)
        at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
        at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145)
        at
com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: No
suitable Log constructor [Ljava.lang.Class;@b67377 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        ... 54 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.getConstructor(Class.java:1629)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
        ... 55 more
|#]

[#|2010-03-09T16:11:15.682-0500|SEVERE|sun-appserver9.1|
org.apache.catalina.core.StandardContext|
_ThreadID=152;_ThreadName=Thread-640;_RequestID=95fa8815-d3a3-4faa-a49d-4b2b40604b5b;|PWC1258:
 Skipped installing application listeners due to previous error(s)|#]

[#|2010-03-09T16:11:15.682-0500|SEVERE|sun-appserver9.1|
org.apache.catalina.core.StandardContext|
_ThreadID=152;_ThreadName=Thread-640;_RequestID=95fa8815-d3a3-4faa-a49d-4b2b40604b5b;|PWC1306:
 Startup of context /xmlui failed due to previous errors|#]






------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to