I developed a simple Struts app named "ecapp" on win2k, then dropped it's war file 
into Tomcat 3.3.1 running on a Sun box.

When requesting this action:
http://thesunbox.com:8080/ecapp/dbopsAction.do;jsessionid=9fimfkovb1?action=listusers
I get this reply:
"Status code: 500 request:R( /ecapp + /dbopsAction.do + null) msg:No action instance 
for path /dbopsAction could be created"

I figure this is a path problem. However, the dbopsAction class is in 
ecapp/WEB-INF/classes, as it should be.

The struts-config has this for the action mapping, which works fine in w2K:
<action
  path="/dbopsAction"
  type="dbopsAction"
  scope="request">
</action>

On the Sun box, I also set up an apps-ecapp.xml file to explicitly inform tomcat about 
the context for the ecapp app:
<webapps>
  <Context path="/ecapp"
     codeBase="webapps/ecapp"
     --- // realm stuff here 
     --- // log stuff here (works fine)
  </Context>
</webapps>

In sum: the ecapp jsp's are callable, but just the app can't find the dbopsAction 
class.

Suggestions?

Thanks!

Reply via email to