[Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Angela Day
That was it.  Under webapps, I still had both copies of maverick jars.  I was 
so focused on JDOM, I didn't think to look for two copies of maverick.  I had 
looked for that in the lib directory in my source, but didn't think to look 
under webapps.

Thanks for your help everyone.

 
Angela Day
National Autism Association of Central Texas

http://www.naacentraltexas.org






From: "mav-user-requ...@lists.sourceforge.net" 

To: mav-user@lists.sourceforge.net
Sent: Thu, April 22, 2010 3:39:37 PM
Subject: Mav-user Digest, Vol 2, Issue 6

Send Mav-user mailing list submissions to
mav-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/mav-user
or, via email, send a message with subject or body 'help' to
mav-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
mav-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mav-user digest..."


Today's Topics:

   1. Re: NoClassDefFoundError and I have all the right jarfiles
  (Eelco Hillenius)
   2. NoClassDefFoundError and I have all the right jar files
  (Angela Day)


--

Message: 1
Date: Thu, 22 Apr 2010 10:36:01 -0700
From: Eelco Hillenius 
Subject: Re: [Mav-user] NoClassDefFoundError and I have all the right
jarfiles
To: Discussion about using the maverick MVC framework

Message-ID:

Content-Type: text/plain; charset=ISO-8859-1

Any chance you might have another maverick jar in your class path somehow?

Eelco



--

Message: 2
Date: Thu, 22 Apr 2010 13:39:29 -0700 (PDT)
From: Angela Day 
Subject: [Mav-user] NoClassDefFoundError and I have all the right jar
files
To: mav-user@lists.sourceforge.net
Message-ID: <419446.72756...@web33302.mail.mud.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

It looks like it is failing on a call to a jdom Document or Element but I have 
jdom in the lib directory with maverick and everything else.  Element and 
Document are definitely classes in the jar file.  I am really stuck.  It is 
failing on line 140.  I would really appreciate some more ideas.  What am I 
missing?
Thanks,
Angela

/* */ package org.infohazard.maverick.flow;
/* */ 
/* */ import java.util.HashMap;
/* */ import java.util.Iterator;
/* */ import java.util.List;
/* */ import java.util.Map;
/* */ import javax.servlet.ServletConfig;
/* */ import org.apache.commons.logging.Log;
/* */ import org.apache.commons.logging.LogFactory;
/* */ import org.infohazard.maverick.transform.DocumentTransformFactory;
/* */ import org.infohazard.maverick.transform.XSLTransformFactory;
/* */ import org.infohazard.maverick.util.XML;
/* */ import org.infohazard.maverick.view.DocumentViewFactory;
/* */ import org.infohazard.maverick.view.NullViewFactory;
/* */ import org.infohazard.maverick.view.RedirectViewFactory;
/* */ import org.infohazard.maverick.view.TrivialViewFactory;
/* */ import org.jdom.Document;
/* */ import org.jdom.Element;
/* */ 
/* */ public class Loader
/* */ {
/* */   protected static final String TAG_MODULES = "modules";
/* */   protected static final String TAG_VIEWFACTORY = "view-factory";
/* */   protected static final String TAG_CONTROLLERFACTORY = 
"controller-factory";
/* */   protected static final String TAG_TRANSFORMFACTORY = 
"transform-factory";
/* */   protected static final String TAG_SHUNTFACTORY = "shunt-factory";
/* */   protected static final String ATTR_PROVIDER = "provider";
/* */   protected static final String TAG_COMMANDS = "commands";
/* */   protected static final String TAG_COMMAND = "command";
/* */   protected static final String ATTR_COMMAND_NAME = "name";
/* */   protected static final String TAG_VIEWS = "views";
/* */   protected static final String PARAM_DEFAULT_VIEW_TYPE = 
"default-view-type";
/* */   protected static final String PARAM_DEFAULT_TRANSFORM_TYPE = 
"default-transform-type";
/*  57 */   private static Log log = LogFactory.getLog(Loader.class);
/* */ 
/*  60 */   protected Map commands = new HashMap();
/* */   protected ServletConfig servletCfg;
/* */   protected MasterFactory masterFact;
/* */   protected ViewRegistry viewReg;
/* */   protected CommandFactory commandFact;
/* */ 
/* */   public Loader(Document doc, ServletConfig dispatcherConfig)
/* */ throws ConfigException
/* */   {
/*  82 */ this.servletCfg = dispatcherConfig;
/*  83 */ this.masterFact = new MasterFactory(dispatcherConfig);
/* *

[Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Angela Day
It looks like it is failing on a call to a jdom Document or Element but I have 
jdom in the lib directory with maverick and everything else.  Element and 
Document are definitely classes in the jar file.  I am really stuck.  It is 
failing on line 140.  I would really appreciate some more ideas.  What am I 
missing?
Thanks,
Angela

/* */ package org.infohazard.maverick.flow;
/* */ 
/* */ import java.util.HashMap;
/* */ import java.util.Iterator;
/* */ import java.util.List;
/* */ import java.util.Map;
/* */ import javax.servlet.ServletConfig;
/* */ import org.apache.commons.logging.Log;
/* */ import org.apache.commons.logging.LogFactory;
/* */ import org.infohazard.maverick.transform.DocumentTransformFactory;
/* */ import org.infohazard.maverick.transform.XSLTransformFactory;
/* */ import org.infohazard.maverick.util.XML;
/* */ import org.infohazard.maverick.view.DocumentViewFactory;
/* */ import org.infohazard.maverick.view.NullViewFactory;
/* */ import org.infohazard.maverick.view.RedirectViewFactory;
/* */ import org.infohazard.maverick.view.TrivialViewFactory;
/* */ import org.jdom.Document;
/* */ import org.jdom.Element;
/* */ 
/* */ public class Loader
/* */ {
/* */   protected static final String TAG_MODULES = "modules";
/* */   protected static final String TAG_VIEWFACTORY = "view-factory";
/* */   protected static final String TAG_CONTROLLERFACTORY = 
"controller-factory";
/* */   protected static final String TAG_TRANSFORMFACTORY = 
"transform-factory";
/* */   protected static final String TAG_SHUNTFACTORY = "shunt-factory";
/* */   protected static final String ATTR_PROVIDER = "provider";
/* */   protected static final String TAG_COMMANDS = "commands";
/* */   protected static final String TAG_COMMAND = "command";
/* */   protected static final String ATTR_COMMAND_NAME = "name";
/* */   protected static final String TAG_VIEWS = "views";
/* */   protected static final String PARAM_DEFAULT_VIEW_TYPE = 
"default-view-type";
/* */   protected static final String PARAM_DEFAULT_TRANSFORM_TYPE = 
"default-transform-type";
/*  57 */   private static Log log = LogFactory.getLog(Loader.class);
/* */ 
/*  60 */   protected Map commands = new HashMap();
/* */   protected ServletConfig servletCfg;
/* */   protected MasterFactory masterFact;
/* */   protected ViewRegistry viewReg;
/* */   protected CommandFactory commandFact;
/* */ 
/* */   public Loader(Document doc, ServletConfig dispatcherConfig)
/* */ throws ConfigException
/* */   {
/*  82 */ this.servletCfg = dispatcherConfig;
/*  83 */ this.masterFact = new MasterFactory(dispatcherConfig);
/* */ 
/*  87 */ this.viewReg = new ViewRegistrySimple(this.masterFact);
/*  88 */ this.commandFact = new CommandFactory(this.viewReg);
/* */ 
/*  90 */ setupCoreModules();
/* */ 
/*  92 */ loadDocument(doc);
/* */   }
/* */ 
/* */   public Map getCommands()
/* */   {
/* 101 */ return this.commands;
/* */   }
/* */ 
/* */   protected void setupCoreModules()
/* */ throws ConfigException
/* */   {
/* 111 */ TransformFactory docTrans = new DocumentTransformFactory();
/* 112 */ docTrans.init(null, this.servletCfg);
/* 113 */ this.masterFact.defineTransformFactory("document", docTrans);
/* */ 
/* 115 */ TransformFactory xsltTrans = new XSLTransformFactory();
/* 116 */ xsltTrans.init(null, this.servletCfg);
/* 117 */ this.masterFact.defineTransformFactory("xslt", xsltTrans);
/* */ 
/* 120 */ ViewFactory document = new DocumentViewFactory();
/* 121 */ document.init(null, this.servletCfg);
/* 122 */ this.masterFact.defineViewFactory("document", document);
/* */ 
/* 124 */ ViewFactory redirect = new RedirectViewFactory();
/* 125 */ redirect.init(null, this.servletCfg);
/* 126 */ this.masterFact.defineViewFactory("redirect", redirect);
/* */ 
/* 128 */ ViewFactory trivial = new TrivialViewFactory();
/* 129 */ trivial.init(null, this.servletCfg);
/* 130 */ this.masterFact.defineViewFactory("trivial", trivial);
/* */ 
/* 132 */ ViewFactory nullViewFact = new NullViewFactory();
/* 133 */ nullViewFact.init(null, this.servletCfg);
/* 134 */ this.masterFact.defineViewFactory("null", nullViewFact);
/* */   }
/* */ 
/* */   protected void loadDocument(Document doc)
/* */ throws ConfigException
/* */   {
/* 144 */ Element root = doc.getRootElement();
/* */ 
/* 147 */ String defaultTransformType = XML.getValue(root, 
"default-transform-type");
/* 148 */ if (defaultTransformType != null) {
/* 149 */   this.masterFact.setDefaultTransformType(defaultTransformType);
/* */ }
/* */ 
/* 152 */ String defaultViewType = XML.getValue(root, "default-view-type");
/* 153 */ if (defaultViewType != n

Re: [Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Eelco Hillenius
Any chance you might have another maverick jar in your class path somehow?

Eelco

--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/


Re: [Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Jeff Schnitzer
There is considerable mystery here, because the NoClassDefFoundError
in your stack trace was clearly thrown out of Loader.java line 140.
This is not a valid line of code.  You can see for yourself, line 140
is a comment:

http://mav.cvs.sourceforge.net/viewvc/mav/maverick/src/java/org/infohazard/maverick/flow/Loader.java?revision=1.17&view=markup

I don't know how to explain this inconsistency, but I can tell you how
I would solve your problem:

Install the JD plugin for Eclipse:

http://java.decompiler.free.fr/

You simply open the Loader class using the Type finder and you will
see the decompiled source code annotated with line numbers.  You can
see what is *actually* at line #140 and that will hopefully provide
further clue as to what classes are missing.

Jeff

On Thu, Apr 22, 2010 at 9:50 AM, Angela Day  wrote:
> I didn't change maverick.  Just pulled in the jar file, that is all.  I am
> using it as-is  maverick.  The log file doesn't have any error messages but
> stops just before reading the maverick file.
>
> Here is the log file:
> 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] DEBUG
> tdhca.maverick.Dispatcher  - Database is DEV
> 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO
> org.infohazard.maverick.Dispatcher  - Starting configuration load
> 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO
> org.infohazard.maverick.Dispatcher  - Loading config from
> jndi:/localhost/alligator/WEB-INF/alligator-maverick.xml
> 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO
> org.infohazard.maverick.flow.MasterFactory  - Transform factory for
> "document" is org.infohazard.maverick.transform.DocumentTransformFactory
> 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO
> org.infohazard.maverick.flow.MasterFactory  - Transform factory for "xslt"
> is org.infohazard.maverick.transform.XSLTransformFactory
> 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO
> org.infohazard.maverick.flow.MasterFactory  - View factory for "document" is
> org.infohazard.maverick.view.DocumentViewFactory
> 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO
> org.infohazard.maverick.flow.MasterFactory  - View factory for "redirect" is
> org.infohazard.maverick.view.RedirectViewFactory
> 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO
> org.infohazard.maverick.flow.MasterFactory  - View factory for "trivial" is
> org.infohazard.maverick.view.TrivialViewFactory
> 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO
> org.infohazard.maverick.flow.MasterFactory  - View factory for "null" is
> org.infohazard.maverick.view.NullViewFactory
>
> Here is the maverick.xml file
> 
> 
>
> 
>     
>         
>         
>     
>     
>
>         
>
>         
>             
>             
>                 
>                 
>             
>             
>             
>         
>
>         
>             
>             
>                 
>             
>         
>
>         
>             
>             
>         
>
>         
>             
>             
>                 
>                 
>                 
>             
>             
>             
>                 
>             
>         
>
>         
>             
>             
>                 
>
>             
>         
>         
>             
>             
>                 
>             
>         
>         
>             
>             
>                 
>
>             
>             
>                 
>             
>         
>         
>             
>             
>                 
>             
>             
>                 
>             
>         
> ...
>
>
>     
> 
>
>
> Thanks for your help.
> Angela
>
>
> --
>
> ___
> %(real_name)s mailing list
> %(real_name)s...@%(host_name)s
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> Archives are available at
> http://www.mail-archive.com/mav-user%40lists.sourceforge.net/
>

--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/

[Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Angela Day
I didn't change maverick.  Just pulled in the jar file, that is all.  I am 
using it as-is  maverick.  The log file doesn't have any error messages but 
stops just before reading the maverick file.

Here is the log file:
851304 2010-04-22 10:31:55,585 [http-8080-Processor23] DEBUG 
tdhca.maverick.Dispatcher  - Database is DEV
851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO  
org.infohazard.maverick.Dispatcher  - Starting configuration load
851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO  
org.infohazard.maverick.Dispatcher  - Loading config from 
jndi:/localhost/alligator/WEB-INF/alligator-maverick.xml
851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO  
org.infohazard.maverick.flow.MasterFactory  - Transform factory for "document" 
is org.infohazard.maverick.transform.DocumentTransformFactory
851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO  
org.infohazard.maverick.flow.MasterFactory  - Transform factory for "xslt" is 
org.infohazard.maverick.transform.XSLTransformFactory
851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO  
org.infohazard.maverick.flow.MasterFactory  - View factory for "document" is 
org.infohazard.maverick.view.DocumentViewFactory
851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO  
org.infohazard.maverick.flow.MasterFactory  - View factory for "redirect" is 
org.infohazard.maverick.view.RedirectViewFactory
851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO  
org.infohazard.maverick.flow.MasterFactory  - View factory for "trivial" is 
org.infohazard.maverick.view.TrivialViewFactory
851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO  
org.infohazard.maverick.flow.MasterFactory  - View factory for "null" is 
org.infohazard.maverick.view.NullViewFactory

Here is the maverick.xml file


 



























































   
 


   
 





  
  





...   






Thanks for your help.
Angela--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/

Re: [Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Thomas Wheeler
Angela,
 
As I recall, Tomcat gives you several places to dump jar files: there's
the webapp's WEB-INF/lib/ directory, Tomcat's common/lib/ directory, and
shared/lib. My general rule was to put everything related to the
application into the webapp's lib/ whenever possible.
 
Also, Tomcat ignores your CLASSPATH, so don't rely on that for loading
classes. And make sure your JAVA_HOME is set correctly (best to point it
to a JDK instead of just a JRE).
 
Disclaimer: It's been a while since I've done anything with Tomcat. So
take this advice with a shaker or so of salt. :)
 
Regards,
Thomas



From: Angela Day [mailto:akc...@yahoo.com] 
Sent: Wednesday, April 21, 2010 3:41 PM
To: mav-user@lists.sourceforge.net
Subject: [Mav-user] NoClassDefFoundError and I have all the right jar
files




I am getting the following error when I try to run my application

javax.servlet.ServletException: Servlet.init() for servlet dispatcher
threw exception

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
74)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
3)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
java.lang.Thread.run(Thread.java:595)


root cause 

java.lang.NoClassDefFoundError


org.infohazard.maverick.flow.Loader.loadDocument(Loader.java:140)
org.infohazard.maverick.flow.Loader.(Loader.java:88)

org.infohazard.maverick.Dispatcher.reloadConfig(Dispatcher.java:239)
tdhca.maverick.Dispatcher.reloadConfig(Dispatcher.java:287)
org.infohazard.maverick.Dispatcher.init(Dispatcher.java:159)
tdhca.maverick.Dispatcher.init(Dispatcher.java:309)
javax.servlet.GenericServlet.init(GenericServlet.java:212)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
74)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
3)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)


org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
java.lang.Thread.run(Thread.java:595)


I am running:

Torque 3.3
Java 1.5
Maverick 2.2.4
Ant 1.8.0
Velocity 1.3
Tomcat 5.5.28
Eclipse 3.5.1
JSP 1.2
JDOM 1.1.1
commonts_logging 1.1
jdom 1.1.1
commons-beanutils 1.7.0
commons-collections 3.2

Any help you can give would be greatly appreciated!

Thanks,

 

Angela Day

National Autism Association of Central Texas


http://www.naacentraltexas.org








--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/

Re: [Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Eelco Hillenius
Are there more logs you can share? Anything that points to what class it is
trying to locate? I don't work with Tomcat often, but remember that
sometimes things get scattered throughout multiple logs.

Eelco

On Thu, Apr 22, 2010 at 8:24 AM, Angela Day  wrote:

> Thanks for the idea.  I tried lowering the jdom, with no success.   Any
> other suggestions would be really appreciated.
>
> Thanks,
>
> Angela Day
>
> National Autism Association of Central Texas
>
> http://www.naacentraltexas.org
>
>
>
>
> --
> *From:* Angela Day 
> *To:* mav-user@lists.sourceforge.net
> *Sent:* Wed, April 21, 2010 3:40:44 PM
> *Subject:* NoClassDefFoundError and I have all the right jar files
>
>
>
>
> I am getting the following error when I try to run my application
>
> javax.servlet.ServletException: Servlet.init() for servlet dispatcher threw 
> exception
>   
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>   
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>
>   
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>   
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>   org.apache.tomcat.util.net 
> .PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>
>   org.apache.tomcat.util.net 
> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>   
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>
>
>   java.lang.Thread.run(Thread.java:595)
>
> *root cause*
>
> java.lang.NoClassDefFoundError
>
>   org.infohazard.maverick.flow.Loader.loadDocument(Loader.java:140)
>   org.infohazard.maverick.flow.Loader.(Loader.java:88)
>   org.infohazard.maverick.Dispatcher.reloadConfig(Dispatcher.java:239)
>   tdhca.maverick.Dispatcher.reloadConfig(Dispatcher.java:287)
>
>   org.infohazard.maverick.Dispatcher.init(Dispatcher.java:159)
>   tdhca.maverick.Dispatcher.init(Dispatcher.java:309)
>   javax.servlet.GenericServlet.init(GenericServlet.java:212)
>   
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>
>   
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>   
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>   
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>
>   
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>
>   
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>   
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>   java.lang.Thread.run(Thread.java:595)
>
>
> I am running:
>
> Torque 3.3
> Java 1.5
> Maverick 2.2.4
> Ant 1.8.0
> Velocity 1.3
> Tomcat 5.5.28
> Eclipse 3.5.1
> JSP 1.2
> JDOM 1.1.1
> commonts_logging 1.1
> jdom 1.1.1
> commons-beanutils 1.7.0
> commons-collections 3.2
>
> Any help you can give would be greatly appreciated!
>
> Thanks,
>
>
> Angela Day
>
> National Autism Association of Central Texas
>
> http://www.naacentraltexas.org
>
>
>
>
>
>
>
>
> --
>
> ___
> %(real_name)s mailing list
> %(real_name)s...@%(host_name)s
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> Archives are available at
> http://www.mail-archive.com/mav-user%40lists.sourceforge.net/
>
--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/

Re: [Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Jeff Schnitzer
Without knowing what's in your modified Maverick jar, it's impossible for
anyone to help :-(

Find out what's at line 140 of Loader.java.  Decompile the code with JD in
Eclipse if you have to.

Jeff

On Thu, Apr 22, 2010 at 8:24 AM, Angela Day  wrote:

> Thanks for the idea.  I tried lowering the jdom, with no success.   Any
> other suggestions would be really appreciated.
>
> Thanks,
>
> Angela Day
>
> National Autism Association of Central Texas
>
> http://www.naacentraltexas.org
>
>
>
>
> --
> *From:* Angela Day 
> *To:* mav-user@lists.sourceforge.net
> *Sent:* Wed, April 21, 2010 3:40:44 PM
> *Subject:* NoClassDefFoundError and I have all the right jar files
>
>
>
>
> I am getting the following error when I try to run my application
>
> javax.servlet.ServletException: Servlet.init() for servlet dispatcher threw 
> exception
>   
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>   
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>   
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>   
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>   org.apache.tomcat.util.net 
> .PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>   org.apache.tomcat.util.net 
> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>   
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>
>   java.lang.Thread.run(Thread.java:595)
>
> *root cause*
>
> java.lang.NoClassDefFoundError
>
>   org.infohazard.maverick.flow.Loader.loadDocument(Loader.java:140)
>   org.infohazard.maverick.flow.Loader.(Loader.java:88)
>   org.infohazard.maverick.Dispatcher.reloadConfig(Dispatcher.java:239)
>   tdhca.maverick.Dispatcher.reloadConfig(Dispatcher.java:287)
>   org.infohazard.maverick.Dispatcher.init(Dispatcher.java:159)
>   tdhca.maverick.Dispatcher.init(Dispatcher.java:309)
>   javax.servlet.GenericServlet.init(GenericServlet.java:212)
>   
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>   
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>   
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>   
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>   
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>
>   
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>   
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>   java.lang.Thread.run(Thread.java:595)
>
>
> I am running:
>
> Torque 3.3
> Java 1.5
> Maverick 2.2.4
> Ant 1.8.0
> Velocity 1.3
> Tomcat 5.5.28
> Eclipse 3.5.1
> JSP 1.2
> JDOM 1.1.1
> commonts_logging 1.1
> jdom 1.1.1
> commons-beanutils 1.7.0
> commons-collections 3.2
>
> Any help you can give would be greatly appreciated!
>
> Thanks,
>
>
> Angela Day
>
> National Autism Association of Central Texas
>
> http://www.naacentraltexas.org
>
>
>
>
>
>
>
>
> --
>
> ___
> %(real_name)s mailing list
> %(real_name)s...@%(host_name)s
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> Archives are available at
> http://www.mail-archive.com/mav-user%40lists.sourceforge.net/
>
--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/

[Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-22 Thread Angela Day
Thanks for the idea.  I tried lowering the jdom, with no success.   Any other suggestions would be really appreciated.Thanks,Angela DayNational Autism Association of Central Texashttp://www.naacentraltexas.orgFrom: Angela Day To: mav-user@lists.sourceforge.netSent: Wed, April 21, 2010 3:40:44 PMSubject: NoClassDefFoundError and I have all the right jar files
   I am getting the following error when I try to run my
 applicationjavax.servlet.ServletException: Servlet.init() for servlet dispatcher threw exception	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	java.lang.Thread.run(Thread.java:595)root cause java.lang.NoClassDefFoundError
	org.infohazard.maverick.flow.Loader.loadDocument(Loader.java:140)	org.infohazard.maverick.flow.Loader.(Loader.java:88)	org.infohazard.maverick.Dispatcher.reloadConfig(Dispatcher.java:239)	tdhca.maverick.Dispatcher.reloadConfig(Dispatcher.java:287)	org.infohazard.maverick.Dispatcher.init(Dispatcher.java:159)	tdhca.maverick.Dispatcher.init(Dispatcher.java:309)	javax.servlet.GenericServlet.init(GenericServlet.java:212)	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)	java.lang.Thread.run(Thread.java:595)I am running:Torque 3.3Java 1.5Maverick 2.2.4Ant 1.8.0Velocity 1.3Tomcat 5.5.28Eclipse 3.5.1JSP 1.2JDOM 1.1.1commonts_logging 1.1jdom 1.1.1commons-beanutils 1.7.0commons-collections 3.2Any help you can give would be greatly appreciated!Thanks, Angela DayNational Autism Association of Central Texashttp://www.naacentraltexas.org
   
--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/

Re: [Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-21 Thread Jeff Schnitzer
Well this is a blast from the past.

It's hard to tell what's going on here since the reported line number
(Loader:140) doesn't actually point at real code.  Have you customized the
Maverick source?

Clearly there is something missing on the classpath.  Perhaps JDOM had an
incompatible change... try the 0.9 version?

Jeff

On Wed, Apr 21, 2010 at 1:40 PM, Angela Day  wrote:

>  I am getting the following error when I try to run my application
>
> javax.servlet.ServletException: Servlet.init() for servlet dispatcher threw 
> exception
>   
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>   
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>   
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>   
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>   
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>   
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>   
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>   java.lang.Thread.run(Thread.java:595)
>
> *root cause*
>
> java.lang.NoClassDefFoundError
>
>   org.infohazard.maverick.flow.Loader.loadDocument(Loader.java:140)
>   org.infohazard.maverick.flow.Loader.(Loader.java:88)
>   org.infohazard.maverick.Dispatcher.reloadConfig(Dispatcher.java:239)
>   tdhca.maverick.Dispatcher.reloadConfig(Dispatcher.java:287)
>   org.infohazard.maverick.Dispatcher.init(Dispatcher.java:159)
>   tdhca.maverick.Dispatcher.init(Dispatcher.java:309)
>   javax.servlet.GenericServlet.init(GenericServlet.java:212)
>   
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>   
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>   
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>   
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>   
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>
>   
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>   
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>   java.lang.Thread.run(Thread.java:595)
>
>
> I am running:
>
> Torque 3.3
> Java 1.5
> Maverick 2.2.4
> Ant 1.8.0
> Velocity 1.3
> Tomcat 5.5.28
> Eclipse 3.5.1
> JSP 1.2
> JDOM 1.1.1
> commonts_logging 1.1
> jdom 1.1.1
> commons-beanutils 1.7.0
> commons-collections 3.2
>
> Any help you can give would be greatly appreciated!
>
> Thanks,
>
>
> Angela Day
>
> National Autism Association of Central Texas
>
> http://www.naacentraltexas.org
>
>
>
>
>
> --
>
> ___
> %(real_name)s mailing list
> %(real_name)s...@%(host_name)s
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> Archives are available at
> http://www.mail-archive.com/mav-user%40lists.sourceforge.net/
>
--
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/

[Mav-user] NoClassDefFoundError and I have all the right jar files

2010-04-21 Thread Angela Day
   I am getting the following error when I try to run my applicationjavax.servlet.ServletException: Servlet.init() for servlet dispatcher threw exception	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)	java.lang.Thread.run(Thread.java:595)root cause java.lang.NoClassDefFoundError
	org.infohazard.maverick.flow.Loader.loadDocument(Loader.java:140)	org.infohazard.maverick.flow.Loader.(Loader.java:88)	org.infohazard.maverick.Dispatcher.reloadConfig(Dispatcher.java:239)	tdhca.maverick.Dispatcher.reloadConfig(Dispatcher.java:287)	org.infohazard.maverick.Dispatcher.init(Dispatcher.java:159)	tdhca.maverick.Dispatcher.init(Dispatcher.java:309)	javax.servlet.GenericServlet.init(GenericServlet.java:212)	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)	java.lang.Thread.run(Thread.java:595)I am running:Torque 3.3Java 1.5Maverick 2.2.4Ant 1.8.0Velocity 1.3Tomcat 5.5.28Eclipse 3.5.1JSP 1.2JDOM 1.1.1commonts_logging 1.1jdom 1.1.1commons-beanutils 1.7.0commons-collections 3.2Any help you can give would be greatly appreciated!Thanks, Angela DayNational Autism Association of Central Texashttp://www.naacentraltexas.org
   --
___
%(real_name)s mailing list
%(real_name)s...@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at 
http://www.mail-archive.com/mav-user%40lists.sourceforge.net/