this sounds suspiciously like a permissions problem assuming you started $GF with startserv.bat the com.sun.aas.installRoot attribute is set as $AS_INSTALL set D01=-Dcom.sun.aas.installRoot="$AS_INSTALL"
$GF_HOME/domains/domain1/config/server.policy contents would contain the necessary permissions for deployment-javaee-core.jar to create,get and set the ContextLoader grant codebase "file:${com.sun.aas.installRoot}/lib/deployment-javaee-core.jar" { permission java.lang.RuntimePermission "createClassLoader"; permission java.lang.RuntimePermission "getClassLoader"; permission java.lang.RuntimePermission "setContextClassLoader"; } as our time is not compensated ..you would be well advised to enroll with paid support scenario from anyone on this list Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Subject: RE: Convention Plugin not being picked up. > Date: Wed, 21 Apr 2010 12:39:10 +0100 > From: chris.mi...@spsa.pnn.police.uk > To: user@struts.apache.org; list-rea...@sysbliss.com > > NOT PROTECTIVELY MARKED > > > Thanks, > > It is also worth noting that I have tested just deploying the WAR and > everything works fine. Just when that WAR is deployed within an EAR > nothing gets picked up. > > Chris > > -----Original Message----- > From: jonathan doklovic [mailto:list-rea...@sysbliss.com] > Sent: 20 April 2010 16:38 > To: Struts Users Mailing List > Subject: Re: Convention Plugin not being picked up. > > Also, you can add: > > log4j.category.org.apache.struts2.convention=TRACE > > to your log4j.properties to get exhaustive logging about convention > wiring up actions. > > - Jonathan > > Miles, Chris wrote: > > NOT PROTECTIVELY MARKED > > > > > > > > Hi, > > > > Thanks. My config only contains > > > > <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC > > "-//Apache Software Foundation//DTD Struts Configuration > > 2.0//EN" > > "http://struts.apache.org/dtds/struts-2.0.dtd"> > > <struts> > > <package name="checkout" extends="struts-default" > > namespace="/actions"/> </struts> > > > > My actions are contained within the WAR file within the EAR. No JARs > > in place. There is nothing in the setup documentation about setting > > the package property? > > > > Chris > > > > -----Original Message----- > > From: jonathan doklovic [mailto:list-rea...@sysbliss.com] > > Sent: 20 April 2010 15:48 > > To: Struts Users Mailing List > > Subject: Re: Convention Plugin not being picked up. > > > > I would also look at your struts config for the following: > > > > struts.convention.default.parent.package - should be the name of your > > default package declared in the config > > > > struts.convention.action.includeJars - if your actions are in separate > > > jars, you may need to add a pattern here so convention will scan them > > > > - Jonathan > > > > Miles, Chris wrote: > > > >> > >> > >> > >> Hi, > >> > >> I am using the convention plugin, not the older codebehind plugin. > >> The > >> > > > > > >> convention plugin exists in my lib directory. I am calling actions by > >> > >> /namespace/actionName.action > >> > >> Thanks > >> > >> Chris > >> > >> > >> > >>> Good Afternoon Chris > >>> > >>> best to look at the usage of the code behind plugin > >>> http://struts.apache.org/2.1.6/docs/codebehind-plugin.html > >>> > >>> a few fundamentals: > >>> did you copy the codebehind jar to WEB-INF/lib? > >>> is your Action mapping adhering to the convention of > >>> /NAMESPACE/ACTION.(jsp|vm|ftl) > >>> > >>> > >> > >> > >>> I am using Glassfish 2.1 and deploying my application with the > >>> convention plugin, but none of my annotations are being processed > >>> which leads me to believe that the plugin is not being loaded. There > > >>> is nothing in the server logs mentioning any messages or errors. The > > >>> config browser plugin tells me anything I define in a config file, > >>> but > >>> > >>> > >> > >> > >>> not through annotations. > >>> > >>> > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > NOT PROTECTIVELY MARKED > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > NOT PROTECTIVELY MARKED > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3