aspose file tools*
The moose likes Tomcat and the fly likes Error in tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error in tomcat 5.5" Watch "Error in tomcat 5.5" New topic
Author

Error in tomcat 5.5

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
hi,

I have a web application which is working fine in tomcat 4.1 using jdk 1.4 . But due to out of memory errors which were coming i decided to upgrade to tomcat 5.5 . But when i ported to tomcat5.5 i get the following error .

Jul 12, 2005 11:51:27 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /infusion threw load() exception
javax.servlet.ServletException: Error while initializing FlowBuilder server
at com.flowbuilder.server.FlowbuilderServlet.init(FlowbuilderServlet.java:94)
at com.flowbuilder.FlowBuilderServlet.init(FlowBuilderServlet.java:18)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at com.flowbuilder.FlowBuilderServlet.init(FlowBuilderServlet.java:14)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
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:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NoClassDefFoundError: javax/mail/internet/InternetAddress
at com.flowbuilder.service.router.service.RouterManagerFactory.openService(RouterManagerFactory.java:19)
at com.flowbuilder.util.cs.AbstractServer.loadServices(AbstractServer.java:214)
at com.flowbuilder.util.cs.AbstractServer.startServices(AbstractServer.java:272)
at com.flowbuilder.server.FlowbuilderServlet.doInit(FlowbuilderServlet.java:200)
at com.flowbuilder.server.FlowbuilderServlet.init(FlowbuilderServlet.java:92)
... 20 more
Jul 12, 2005 11:51:33 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 12, 2005 11:51:33 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 12, 2005 11:51:35 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 12, 2005 11:51:35 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@44ffb2')
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1ef3ccd')
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@180f545')
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@f77511')
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@26dfcc')
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@2eef15')
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 12, 2005 11:57:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()

i am still using jdk1.4 not 1.5 , and i have used the jar files in the compact.zip which is given in the tomcat site. Rest all example are working fine only when i activate my application i get this error

My configuration is windows 2000 prof., jdk1.4,tomcat5.5


Can anyone have any idea abt it



Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

at com.flowbuilder.server.FlowbuilderServlet.init(FlowbuilderServlet.java:94)


What's on line 94 of your FlowbuilderServlet?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Originally posted by felix thomas:

Caused by: java.lang.NoClassDefFoundError: javax/mail/internet/InternetAddress
at com.flowbuilder.service.router.service.RouterManagerFactory.openService(RouterManagerFactory.java:19)



And have you got the javax.mail package on classpath?


The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
And have you got the javax.mail package on classpath?

Tomcat ignores the environment Classpath - it has its own rules for locating libraries - see the class-loader-howto.html file under webapps/tomcat-docs of a typical installation.
I have mailapi.jar under CATALINA_HOME/common/lib
Bill
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Originally posted by William Brogden:

Tomcat ignores the environment Classpath


Oops! I meant Tomcat classpath.
Working with web apps mostly, I dont even think about the System classpath anymore, and it slipped my mind that this could be ambiguous.

Thanks for the correction William.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in tomcat 5.5