Announcement Announcement Module
Collapse
No announcement yet.
Updated:exception when deploying a webapp, Java 1.4.0 error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Updated:exception when deploying a webapp, Java 1.4.0 error

    UPDATE:
    The problem is that the Webserver is running on a Solaris machine, with Java 1.4.0_02, and My testing env is 1.4.2_06 the error appers in my testing env as well when I rollback to java 1.4.0_02

    Any ideas?

    I get this Exception when I deploy my webapp to a tomcat 4.1.24 server, the app runs perfectly on my local machine, also on a tomcat 4.1.24.

    I dont get why this happens, it loads all the xml bean files, but fails on the last file. As I said, runs perfectly on my local machine, all the files are where they should be. I just dont even know where to start.
    Any help would be appriciated!
    ...
    172462 [HttpProcessor[8080][4]] INFO org.springframework.beans.factory.xml.XmlBeanDefin itionReader - Loading XML bean definitions from ServletContext resource [/xml/routingConfig.xml]
    172501 [HttpProcessor[8080][4]] INFO org.springframework.beans.factory.xml.XmlBeanDefin itionReader - Loading XML bean definitions from ServletContext resource [/xml/Components.xml]
    173164 [HttpProcessor[8080][4]] WARN org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class org.springframework.beans.factory.BeanCreationExce ption
    On the page, the stacktrace:

    javax.servlet.ServletException: Error creating bean with name 'ComponentList' defined in ServletContext resource [/xml/Emu.xml]: Can't resolve reference to bean 'RDS' while setting property 'components[0]'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'RDS' defined in ServletContext resource [/xml/Components.xml]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
    at org.apache.struts.action.RequestProcessor.processE xception(RequestProcessor.java:523)
    at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:421)
    at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:551)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:2415)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:509)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.connector.http.HttpProcessor.p rocess(HttpProcessor.java:1040)
    at org.apache.catalina.connector.http.HttpProcessor.r un(HttpProcessor.java:1151)
    at java.lang.Thread.run(Thread.java:536)


    root cause

    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'ComponentList' defined in ServletContext resource [/xml/Emu.xml]: Can't resolve reference to bean 'RDS' while setting property 'components[0]'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'RDS' defined in ServletContext resource [/xml/Components.xml]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'RDS' defined in ServletContext resource [/xml/Components.xml]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
    java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1480)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1396)
    at java.lang.Runtime.loadLibrary0(Runtime.java:772)
    at java.lang.System.loadLibrary(System.java:832)
    at sun.security.action.LoadLibraryAction.run(LoadLibr aryAction.java:50)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoa der.java:38)
    at sun.awt.DebugHelper.(DebugHelper.java:29)
    at java.awt.Component.(Component.java:502)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:130)
    at sun.beans.infos.ComponentBeanInfo.class$(Component BeanInfo.java:17)
    at sun.beans.infos.ComponentBeanInfo.(ComponentBeanIn fo.java:17)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Construc tor.java:274)
    at java.lang.Class.newInstance0(Class.java:296)
    at java.lang.Class.newInstance(Class.java:249)
    at java.beans.Introspector.instantiate(Introspector.j ava:1263)
    at java.beans.Introspector.findExplicitBeanInfo(Intro spector.java:401)
    at java.beans.Introspector.(Introspector.java:331)
    at java.beans.Introspector.getBeanInfo(Introspector.j ava:132)
    at org.springframework.beans.CachedIntrospectionResul ts.(CachedIntrospectionResults.java:140)
    at org.springframework.beans.CachedIntrospectionResul ts.forClass(CachedIntrospectionResults.java:82)
    at org.springframework.beans.BeanWrapperImpl.setIntro spectionClass(BeanWrapperImpl.java:370)
    at org.springframework.beans.BeanWrapperImpl.setWrapp edInstance(BeanWrapperImpl.java:328)
    at org.springframework.beans.BeanWrapperImpl.setWrapp edInstance(BeanWrapperImpl.java:310)
    at org.springframework.beans.BeanWrapperImpl.(BeanWra pperImpl.java:192)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:327)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:239)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:176)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:105)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveManagedList(BeanDefinit ionValueResolver.java:193)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:109)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:920)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:731)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:340)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:239)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
    at actions.EmuShowTreeAction.execute(EmuShowTreeActio n.java:77)
    at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:551)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:2415)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:509)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
    at org.apache.catalina.connector.http.HttpProcessor.p rocess(HttpProcessor.java:1040)
    at org.apache.catalina.connector.http.HttpProcessor.r un(HttpProcessor.java:1151)
    at java.lang.Thread.run(Thread.java:536)

  • #2
    Updated, see first post.

    Comment


    • #3
      Solved,
      java 1.4.0 was loding the awt.Component class instead
      of my base.Component class, Renamed the class, works fine. wierd error.

      Comment

      Working...
      X