I have'nt increased the logging level. I also suspect the same that its  not
even starting. All the S1 action works but not S2 links/actions



newton.dave wrote:
> 
> Have you increased the logging level for S2 and XWork? Is there anything 
> in the log file on app startup? It sounds to me like it's not even
> starting.
> 
> Dave
> 
> SanJ.SANJAY wrote:
>> I think I have explained every step and procedure I have followed for
>> this
>> application in this thread. 
>> And I also have tested Sample Appluication that comes with struts2
>> distribution and it runs fine and I can execute all the lesson examples
>> there. 
>> 
>> The only difference I see here is the Sample Application I deployas a
>> complete different war file while for my application it has the same war
>> as
>> been used with my current S1 (as I am running S1 and S2 together).
>> 
>> 
>> 
>> Musachy Barroso wrote:
>>> at this point anything can be wrong with your config, from missing the
>>> filter configuration in web.xml, to trying to run the webapp in IIS.
>>> Take the blank web app and start learning with it, or follow a
>>> tutorial, or use the maven archetype to create a new app.
>>>
>>> musachy
>>>
>>> On Wed, Feb 18, 2009 at 11:44 AM, SanJ.SANJAY <girish...@gmail.com>
>>> wrote:
>>>> Running http://struts.apache.org/2.x/docs/config-browser-plugin.html
>>>> also
>>>> giving the same error :
>>>>
>>>> HTTP Status 404 - /starter/config-browser/index.action
>>>>
>>>> type Status report
>>>>
>>>> message /starter/config-browser/index.action
>>>>
>>>> description The requested resource
>>>> (/starter/config-browser/index.action)
>>>> is
>>>> not available.
>>>>
>>>> Even though I have the browse plugin jar in classpath.
>>>>
>>>> It seems like a big confusion ....any insights on this??
>>>>
>>>>
>>>>
>>>>
>>>> SanJ.SANJAY wrote:
>>>>> Thanks fr the link Musachy, yes going to that link does'nt show
>>>>> anything
>>>>> at the JBoss server console and the IE says:
>>>>> HTTP Status 404 - There is no Action mapped for action name truts2.
>>>>>
>>>>>
>>>>>
>>>>> Musachy Barroso wrote:
>>>>>> and going to /truts2/reportIndex1.action doesn't show anything? Add
>>>>>> the config browser to your app and check what urls it is mapping:
>>>>>> http://struts.apache.org/2.x/docs/config-browser-plugin.html
>>>>>>
>>>>>> musachy
>>>>>>
>>>>>> On Fri, Feb 13, 2009 at 11:28 AM, SanJ.SANJAY <girish...@gmail.com>
>>>>>> wrote:
>>>>>>> No, I removed as it was creating issues with actionPackages params I
>>>>>>> guess.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Musachy Barroso wrote:
>>>>>>>> Do you have the Codebehind plugin in the classpath?
>>>>>>>>
>>>>>>>> musachy
>>>>>>>>
>>>>>>>> On Fri, Feb 13, 2009 at 11:10 AM, SanJ.SANJAY <girish...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>> Here
>>>>>>>>>
>>>>>>>>> struts.xml:
>>>>>>>>> <struts>
>>>>>>>>>
>>>>>>>>>    <package name="truts2" namespace="/truts2"
>>>>>>>>> extends="struts-default">
>>>>>>>>>        <action name="reportIndex1"
>>>>>>>>> class="com.cec.truts2.reportIndex1">
>>>>>>>>>                <result>/jsp/report.jsp</result>
>>>>>>>>>        </action>
>>>>>>>>>    </package>
>>>>>>>>>
>>>>>>>>> </struts>
>>>>>>>>>
>>>>>>>>> web.xml:
>>>>>>>>>
>>>>>>>>> <filter>
>>>>>>>>>                <filter-name>struts2</filter-name>
>>>>>>>>>                <filter-class>
>>>>>>>>>                       
>>>>>>>>> org.apache.struts2.dispatcher.FilterDispatcher
>>>>>>>>>                </filter-class>
>>>>>>>>>                  <init-param>
>>>>>>>>>            <param-name>actionPackages</param-name>
>>>>>>>>>            <param-value>com.cec.truts2</param-value>
>>>>>>>>>        </init-param>
>>>>>>>>>        </filter>
>>>>>>>>>
>>>>>>>>>        <filter-mapping>
>>>>>>>>>                <filter-name>struts2</filter-name>
>>>>>>>>>                        <url-pattern>/*</url-pattern>
>>>>>>>>>        </filter-mapping>
>>>>>>>>>    <listener>
>>>>>>>>>
>>>>>>>>> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>>>>>>>>>    </listener>
>>>>>>>>>        <listener>
>>>>>>>>>                <listener-class>
>>>>>>>>>                       
>>>>>>>>> org.apache.struts2.tiles.StrutsTilesListener
>>>>>>>>>                </listener-class>
>>>>>>>>>        </listener>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> SanJ.SANJAY wrote:
>>>>>>>>>> I have the same configuration for struts.xml
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> mgainty wrote:
>>>>>>>>>>>
>>>>>>>>>>> Here is a typical Struts configuration from WEB-INF/web.xml
>>>>>>>>>>> which
>>>>>>>>>>> maps
>>>>>>>>>>> any references to struts
>>>>>>>>>>> to org.apache.struts2.dispatcher.FilterDispatcher
>>>>>>>>>>>
>>>>>>>>>>>     <filter-mapping>
>>>>>>>>>>>         <filter-name>struts</filter-name>
>>>>>>>>>>>         <url-pattern>/*</url-pattern>
>>>>>>>>>>>     </filter-mapping>
>>>>>>>>>>>     <filter>
>>>>>>>>>>>         <filter-name>struts</filter-name>
>>>>>>>>>>>
>>>>>>>>>>> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
>>>>>>>>>>>         <init-param>
>>>>>>>>>>>             <param-name>actionPackages</param-name>
>>>>>>>>>>>             <param-value>org.almayer.web.action</param-value>
>>>>>>>>>>>         </init-param>
>>>>>>>>>>>     </filter>
>>>>>>>>>>>
>>>>>>>>>>> HTH
>>>>>>>>>>> Martin
>>>>>>>>>>> ______________________________________________
>>>>>>>>>>> Disclaimer and confidentiality note
>>>>>>>>>>> Everything in this e-mail and any attachments relates to the
>>>>>>>>>>> official
>>>>>>>>>>> business of Sender. This transmission is of a confidential
>>>>>>>>>>> nature
>>>>>>>>>>> and
>>>>>>>>>>> Sender does not endorse distribution to any party other than
>>>>>>>>>>> intended
>>>>>>>>>>> recipient. Sender does not necessarily endorse content contained
>>>>>>>>>>> within
>>>>>>>>>>> this transmission.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Date: Fri, 13 Feb 2009 07:25:25 -0800
>>>>>>>>>>>> From: girish...@gmail.com
>>>>>>>>>>>> To: user@struts.apache.org
>>>>>>>>>>>> Subject: Re: Action mapping issue while Integrating S2 and S1
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Ok thanks Dave, I have run standalone S2 from the
>>>>>>>>>>>> SampleApplication
>>>>>>>>>>>> that
>>>>>>>>>>>> comes with the source code and which runs fine. Yes, I have the
>>>>>>>>>>>> devMode
>>>>>>>>>>>> turned on and tried removing it and it gave the same error.
>>>>>>>>>>>> Also am not using any logging of XWorks yet.
>>>>>>>>>>>>
>>>>>>>>>>>> In my current application(existing S1), the PATH is like this
>>>>>>>>>>>>
>>>>>>>>>>>> appContext/src/com/cec/struts1/actions/...
>>>>>>>>>>>>
>>>>>>>>>>>> and WEB-INF is:
>>>>>>>>>>>> appContext/web/WEB-INF/...
>>>>>>>>>>>>
>>>>>>>>>>>> So for S1, struts-config.xml always resolve the actions when I
>>>>>>>>>>>> access
>>>>>>>>>>>> as
>>>>>>>>>>>> http://localhost:8080/appContext/action.do
>>>>>>>>>>>>
>>>>>>>>>>>> But strangely S2 can't access the S2 actions from
>>>>>>>>>>>> "appContext/src/com/cec/struts2/actions/"
>>>>>>>>>>>> when I try to access like this
>>>>>>>>>>>>
>>>>>>>>>>>> http://localhost:8080/appContext/someAction.action
>>>>>>>>>>>>
>>>>>>>>>>>> Also I can use and execute the S2 tags in existing S1 jsp
>>>>>>>>>>>> pages.
>>>>>>>>>>>> So
>>>>>>>>>>>> its
>>>>>>>>>>>> confusing....
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> newton.dave wrote:
>>>>>>>>>>>>> SanJ.SANJAY wrote:
>>>>>>>>>>>>>> Anyone knows what is the right place top put the struts.xml
>>>>>>>>>>>> file? I
>>>>>>>>>>>> think
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> issue with my problem stated below is that context is not
>>>>>>>>>>>>>> able
>>>>>>>>>>>> to
>>>>>>>>>>>> find
>>>>>>>>>>>>>> struts.xml file and that is the reason it is not avle to map
>>>>>>>>>>>> actions.
>>>>>>>>>>>>>> I tried putting it in WEB-INF/classes also but didn't work.
>>>>>>>>>>>>> That's where it belongs; you're doing something else wrong.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Have you gotten a standalone S2 application to work?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Are there any errors on startup? Do you have devMode turned
>>>>>>>>>>>>> on?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Have you increased the logging levels of XWork and S2?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Dave
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>>>>>>>>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>> http://www.nabble.com/Action-mapping-issue-while-Integrating-S2-and-S1-tp21982941p21998515.html
>>>>>>>>>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>>>>>>>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>>>>>>>>>
>>>>>>>>>>> _________________________________________________________________
>>>>>>>>>>> Windows Liveā„¢: E-mail. Chat. Share. Get more ways to connect.
>>>>>>>>>>> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>> http://www.nabble.com/Action-mapping-issue-while-Integrating-S2-and-S1-tp21982941p21999471.html
>>>>>>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>>>>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>>>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/Action-mapping-issue-while-Integrating-S2-and-S1-tp21982941p21999858.html
>>>>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Action-mapping-issue-while-Integrating-S2-and-S1-tp21982941p22082858.html
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>
>>>>
>>>
>>>
>>> -- 
>>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>>
>>> ---------------------------------------------------------------------
>>> 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Action-mapping-issue-while-Integrating-S2-and-S1-tp21982941p22093117.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to