tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yoav Shapira" <yoa...@MIT.EDU>
Subject RE: Problems with tomcat 3.3.2 and IBM JRE 1.3.0
Date Mon, 01 Aug 2005 13:43:21 GMT
Hi,
Oh, that is unfortunate.  1.3.0 is the single buggiest release in Sun's
history, if I recall correctly a report I read a couple of years ago.  Both
1.2.7 and 1.3.1 are significantly better ;(  I'm sorry I can't help more, as
I'm neither a Tomcat 3.x nor an AIX expert.  My only suggestion would be:
can you run the thing on Linux?  That'll enable you to use a more updated
OS, JDK, Tomcat... But I'm guessing if you could do that, you already would
have ;(

Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA
yoavs@computer.org / yoavsh@sloan.mit.edu


> -----Original Message-----
> From: Eduardo Piva [mailto:efpiva@gmail.com]
> Sent: Monday, August 01, 2005 7:37 AM
> To: tomcat-dev@jakarta.apache.org
> Subject: Problems with tomcat 3.3.2 and IBM JRE 1.3.0
> 
> Hello list,
> 
> I'm trying to use tomcat 3.3.2 with JDK 1.3.0. I'm developing an
> application in Linux/Windows, using SUN JDK 1.3.0 and tomcat 3.3.2 to
> test everything locally and everything is going fine. This application
> will run on an AIX 4, and in this machine the only JRE the sysadmins
> managed to install was IBM JRE 1.3.0:
> 
> 
>  $ java -version
> java version "1.3.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
> Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT
> enabled: jitc))
> 
> 
> I don't know why, but tomcat 3.3.2 doesn't starts in this machine. I
> need to run the tomcat in this machine, mainly because of internal
> problems here in the company I'm working to.
> 
> The sysadmin installed tomcat 3.3.1a in this machine, which start's
> correctly. With this version, my application refuses to start in the
> AIX. In Linux with JDK 1.3.0, it start's correctly.
> 
> I have two questions:
> 
> 1 - Why jakarta-tomcat 3.3.2 doesn't start's with IBM jdk 1.3.0? Does
> anyone here managed to do that?
> 2 - Why my application doesn't start in jakarta-tomcat 3.3.1a in IBM jdk
> 1.3.0?
> 3 - Does anyone here uses AIX 4 and knows another VM than the one
> supplied by IBM for the AIX? AIX 4 is an old version and IBM does not
> supply JRE 1.4 neither 1.5 for this version. If anyone know how to use
> a newer version, please help me. :)
> 
> The logs for both problems 1 and 2 are supplied below:
> 
> For tomcat 3.3.2, here is the log (after this log, there is the log
> for my application starting in tomcat 3.3.1a):
> $ ./startup
> Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging-
> api.jar
> Using JAVA_HOME: /usr/java130
> Using TOMCAT_HOME: /home/aep022/jakarta-tomcat-3.3.2/
> ERROR reading /home/aep022/jakarta-tomcat-3.3.2/conf/server.xml
> At Line 209 /Server/ContextManager/Http10Connector/ port=8080
> secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10
> java.util.MissingResourceException: Can't find bundle for base name
> org.apache.tomcat.util.net.res.LocalStrings, locale en_US
>         at
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java
> (Compiled
> Code))
>         at
> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled
> Code))
>         at java.util.ResourceBundle.getBundle(ResourceBundle.java:547)
>         at
> org.apache.tomcat.util.res.StringManager.<init>(StringManager.java:78)
>         at
> org.apache.tomcat.util.res.StringManager.<init>(StringManager.java:70)
>         at
> org.apache.tomcat.util.res.StringManager.getManager(StringManager.java:249
> )
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.<init>(PoolTcpEndpoint.java:58)
>         at
> org.apache.tomcat.modules.server.PoolTcpConnector.<init>(PoolTcpConnector.
> java:60)
>         at
> org.apache.tomcat.modules.server.Http10Interceptor.<init>(Http10Intercepto
> r.java:68)
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:254)
>         at
> org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:797)
>         at
> org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516)
>         at
> org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114)
>         at
> org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java(Compiled
> Code))
>         at
> org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValid
> ator.java(Compiled
> Code))
>         at
> org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScan
> ner.java(Compiled
> Code))
>         at
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(
> XMLDocumentScanner.java(Compiled
> Code))
>         at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanne
> r.java:380)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
>         at
> org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:334)
>         at
> org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlR
> eader.java:137)
>         at
> org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlR
> eader.java:113)
>         at
> org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:3
> 93)
>         at
> org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.j
> ava:613)
>         at
> org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:791)
>         at
> org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)
>         at
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Suppor
> t.java:166)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:
> 76)
>         at
> org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:773)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:
> 52)
>         at org.apache.tomcat.startup.Main.execute(Main.java:272)
>         at org.apache.tomcat.startup.Main.main(Main.java:98)
> EmbededTomcat: exception initializing ContextManager
> org.apache.tomcat.core.TomcatException: Root cause - Can't find bundle
> for base name org.apache.tomcat.util.net.res.LocalStrings, locale
> en_US
>         at java.lang.Exception.<init>(Exception.java:44)
>         at
> org.apache.tomcat.core.TomcatException.<init>(TomcatException.java:41)
>         at
> org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlR
> eader.java:141)
>         at
> org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlR
> eader.java:113)
>         at
> org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:3
> 93)
>         at
> org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.j
> ava:613)
>         at
> org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:791)
>         at
> org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)
>         at
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Suppor
> t.java:166)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:
> 76)
>         at
> org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:773)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:
> 52)
>         at org.apache.tomcat.startup.Main.execute(Main.java:272)
>         at org.apache.tomcat.startup.Main.main(Main.java:98)
> Guessed home=/home/aep022/jakarta-tomcat-3.3.2
> 
> 
> 
> When I try to start my application, here is the log:
> 
> 
> 
> 2005-08-01 08:33:10 - Ctx(/acompdc) : Validating web.xml
> EmbededTomcat: Init time 16188
> 2005-08-01 08:33:14 - Ctx(/acompdc) : Exception in init  Error
> creating bean with name 'authDAO' defined in ServletContext resource
> [/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
> bean 'roleDAO' while setting property 'roleDAO'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'roleDAO' defined in ServletContext resource
> [/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
> bean 'sqlMapClient' while setting property 'sqlMapClient'; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'sqlMapClient' defined in ServletContext
> resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
> bean failed; nested exception is java.lang.NoSuchMethodError:
> javax.xml.parsers.DocumentBuilderFactory: method
> setIgnoringComments(Z)V not found -
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authDAO' defined in ServletContext resource
> [/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
> bean 'roleDAO' while setting property 'roleDAO'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'roleDAO' defined in ServletContext resource
> [/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
> bean 'sqlMapClient' while setting property 'sqlMapClient'; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'sqlMapClient' defined in ServletContext
> resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
> bean failed; nested exception is java.lang.NoSuchMethodError:
> javax.xml.parsers.DocumentBuilderFactory: method
> setIgnoringComments(Z)V not found
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'roleDAO' defined in ServletContext resource
> [/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
> bean 'sqlMapClient' while setting property 'sqlMapClient'; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'sqlMapClient' defined in ServletContext
> resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
> bean failed; nested exception is java.lang.NoSuchMethodError:
> javax.xml.parsers.DocumentBuilderFactory: method
> setIgnoringComments(Z)V not found
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sqlMapClient' defined in ServletContext
> resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
> bean failed; nested exception is java.lang.NoSuchMethodError:
> javax.xml.parsers.DocumentBuilderFactory: method
> setIgnoringComments(Z)V not found
> java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory:
> method setIgnoringComments(Z)V not found
>         at
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:128)
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
>         at
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfig
> Parser.java:78)
>         at
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClien
> tBuilder.java:62)
>         at
> org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(
> SqlMapClientFactoryBean.java:258)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:962)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.createBean(AbstractAutowireCapableBeanFactory.java:354)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abst
> ractBeanFactory.java:223)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abst
> ractBeanFactory.java:147)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.reso
> lveReference(BeanDefinitionValueResolver.java:176)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.reso
> lveValueIfNecessary(BeanDefinitionValueResolver.java:105)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:916)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.populateBean(AbstractAutowireCapableBeanFactory.java:727)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.createBean(AbstractAutowireCapableBeanFactory.java:336)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abst
> ractBeanFactory.java:223)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abst
> ractBeanFactory.java:147)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.reso
> lveReference(BeanDefinitionValueResolver.java:176)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.reso
> lveValueIfNecessary(BeanDefinitionValueResolver.java:105)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:916)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.populateBean(AbstractAutowireCapableBeanFactory.java:727)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
> ry.createBean(AbstractAutowireCapableBeanFactory.java:336)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abst
> ractBeanFactory.java:223)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abst
> ractBeanFactory.java:147)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preIn
> stantiateSingletons(DefaultListableBeanFactory.java:277)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(Abs
> tractApplicationContext.java:312)
>         at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationC
> ontext.refresh(AbstractRefreshableWebApplicationContext.java:134)
>         at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:230)
>         at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(Co
> ntextLoader.java:156)
>         at
> org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderSer
> vlet.java:81)
>         at javax.servlet.GenericServlet.init(GenericServlet.java)
>         at
> org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java(Compile
> d
> Code))
>         at
> org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java(Compiled
> Code))
>         at
> org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(LoadOnStartu
> pInterceptor.java(Compiled
> Code))
>         at org.apache.tomcat.core.Context.init(Context.java:542)
>         at
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:597)
>         at
> org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.j
> ava:564)
>         at
> org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
>         at
> org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
>         at
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown
> Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
> Source)
>         at
> org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:
> 87)
>         at org.apache.tomcat.startup.Main.execute(Main.java:313)
>         at org.apache.tomcat.startup.Main.main(Main.java:140)
> 
> 
> Thanks for any help!
> 
> Eduardo.
> 
> 
> 
> --
> Eduardo Fernandes Piva
> efpiva@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



Mime
View raw message