struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashuin Sharma Chamorro" <asha...@IsthmusIT.com>
Subject ear problem
Date Tue, 24 Apr 2007 22:23:36 GMT
I have 3 struts applications (.war ) inside one .ear.

One of these application's classes extend a base class that is defined
in an external .jar.

Somehow if I deploy the three applications separately everything works
fine,

But once I deploy only the .ear, it fails when creating the extended
class. Both classes are public and everything.

It seems like It just don't allows to extend classes from other .jars
but that is impossible, as im executing

This action, which is extending Action from struts.jat?? so I don't
understand why that happens?? Can somebody help me?

 

Im using Jboss, and the external .jar is included in the lib folder
inside the server instance.

 

 

This is the error im getting.

 

 

16:21:38,803 ERROR [[action]] Servlet.service() for servlet action threw
exception

java.lang.NoClassDefFoundError: org/apache/struts/action/ActionMessages

        at
com.dsi.evaccine.common.manager.BasicManager.<init>(BasicManager.java:22
)

        at
com.dsi.evaccine.web.enrollment.queue.business.AccountManager.<init>(Acc
ountManager.java:30)

        at
com.dsi.evaccine.web.enrollment.queue.struts.GetAccountsAction.execute(G
etAccountsAction.java:33)

        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)

        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)

        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

 

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)

        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:175)

        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:74)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)

        at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnecti
onValve.java:156)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)

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

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)

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

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

        at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
Thread.java:112)

        at java.lang.Thread.run(Thread.java:595)

Ashuin Sharma
Software Developer
Isthmus Inc.
The Costa Rica IT Outsourcing Company 
www.isthmusit.com <blocked::http://www.isthmusit.com/>  
asharma@isthmusit.com 
Office +1 (506) 560-1600
Mobile +1 (506) 817-4059
Fax  +1 (506) 560-1610
San Jose, Costa Rica 
********************************************
The information contained in this e-mail is privileged and confidential,
this information is intended only for the use of the individual or
entity to which it is addressed. If you are not the intended recipient,
you are hereby notified that any use, dissemination, distribution, copy
or taking action in reliance upon this email is strictly prohibited. If
you have received this e-mail in error, please immediately notify the
sender and then delete this e-mail in its entirety.
********************************************


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message