Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > struts plug-in for struts-menu causing action not to preload

Reply
Thread Tools

struts plug-in for struts-menu causing action not to preload

 
 
dawnsk1@yahoo.com
Guest
Posts: n/a
 
      02-14-2005
Hi all,

I'm hoping that this is the correct forum and someone can help me out
with a problem that has been driving me nutty lately. I'm working
with struts-menu-2.3 and I'm seeing an exception every time I include
the plug-in definition in my struts-config.xml.

Per the struts-menu website, I have included these lines in my
struts-config:
------------------------------------------------------------------
<plug-in className="net.sf.navigator.menu.MenuPlugIn">
<set-property property="menuConfig"
value="/WEB-INF/menu-config.xml"/>
</plug-in>
------------------------------------------------------------------

When I bring up my application server, I see an exception when this
plug-in is trying to be referenced:
------------------------------------------------------------------
[java] <Feb 14, 2005 9:23:47 AM EST> <Error> <HTTP> <BEA-101216>
<Servlet: "action" failed to preload on startup in Web application:
"cst".
[java] javax.servlet.ServletException:
org/apache/struts/action/PlugIn
[java] at
weblogic.servlet.internal.ServletStubImpl.createSe rvlet(ServletStubImpl.java:909)
[java] at
weblogic.servlet.internal.ServletStubImpl.createIn stances(ServletStubImpl.java:873)
[java] at
weblogic.servlet.internal.ServletStubImpl.prepareS ervlet(ServletStubImpl.java:812)
[java] at
weblogic.servlet.internal.WebAppServletContext.pre loadServlet(WebAppServletContext.java:3281)
[java] at
weblogic.servlet.internal.WebAppServletContext.pre loadServlets(WebAppServletContext.java:3226)
[java] at
weblogic.servlet.internal.WebAppServletContext.pre loadResources(WebAppServletContext.java:3207)
[java] at
weblogic.servlet.internal.WebAppServletContext.set Started(WebAppServletContext.java:5737)
[java] at
weblogic.servlet.internal.WebAppModule.start(WebAp pModule.java:874)
[java] at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEA pplicationContainer.java:2106)
[java] at
weblogic.j2ee.J2EEApplicationContainer.activate(J2 EEApplicationContainer.java:2147)
[java] at
weblogic.management.deploy.slave.SlaveDeployer$Com ponentActivateTask.activateContainer(SlaveDeployer .java:2434)
[java] at
weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.doCommit(SlaveDeployer.java:2352)
[java] at
weblogic.management.deploy.slave.SlaveDeployer$Tas k.commit(SlaveDeployer.java:2136)
[java] at
weblogic.management.deploy.slave.SlaveDeployer$Tas k.checkAutoCommit(SlaveDeployer.java:2235)
[java] at
weblogic.management.deploy.slave.SlaveDeployer$Tas k.prepare(SlaveDeployer.java:2130)
[java] at
weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.prepare(SlaveDeployer.java:2315)
[java] at
weblogic.management.deploy.slave.SlaveDeployer.pro cessPrepareTask(SlaveDeployer.java:866)
[java] at
weblogic.management.deploy.slave.SlaveDeployer.pre pareDelta(SlaveDeployer.java:594)
[java] at
weblogic.management.deploy.slave.SlaveDeployer.pre pareUpdate(SlaveDeployer.java:50
[java] at
weblogic.drs.internal.SlaveCallbackHandler$1.execu te(SlaveCallbackHandler.java:25)
[java] at
weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:219)
[java] at
weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:17
------------------------------------------------------------------

My environment is struts-1.2.4 and weblogic-8.1-sp2.

I'm at my wits end trying to figure out why this is happening. At
one time I thought that the jar I downloaded was corrupt, but I have
tried multiple mirrors, versions, and packagings (war and jar) and
still see the same exception.

If anyone has any suggestions at all, regardless if you might think it
is only a minor suggestion, I would greatly greatly greatly appreciate
hearing from you.

Thank you all very much,
-Dawn

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts: 1 action, 1 Form, several views handled by 1 only action. Any idea for better design? John Java 0 06-26-2007 11:22 PM
Can we call an Action from another Action in struts??? vyshu Java 1 04-27-2007 09:19 AM
Struts mapping action to action??? runescience Java 3 02-07-2006 04:07 PM
Struts Forward to an Action from an to Action and URLs rjweytens Java 6 06-25-2004 01:49 PM
Struts Static Action Form vs Dyanamic Action Form Joe Bloggs Java 1 08-03-2003 02:30 AM



Advertisments