[appengine-java] Re: Production Strange behavior for Struts 2 Iterator Tag

2010-02-17 Thread MKumar
Hi,

Thanks for the reply. Well I had not included <%@ page
isELIgnored="false" %> at top of the page. But Now I am happy that my
code is running on production too. I don't know how this miracle has
happened. I had changed little bit :


   
">


To


   



notice changed " to '

When I initially made this change server was giving me error, but
fortunately after some time Production server started running
smoothly. Still clueless regarding the server behavior?

On Feb 17, 11:10 pm, Brian  wrote:
> I asume the top of your page has
>
> <%@ page isELIgnored="false" %>
>
> ?
>
> On Feb 16, 11:27 pm, MKumar  wrote:
>
> > Hi,
>
> > I have a struts2 based application running beautifully till time.
>
> > I am using struts2 tag extensively, and its working fine and pulling
> > the stuffs effectively from valuestack.
>
> > 
> >    
> > "> > value="loginId"/>
> > 
>
> > Above snippet of code run soothly on appengine sdk 1.3.1 on
> > development machine.
>
> > When I try the same on production it throws an internal server error
> > due to following reason:
>
> > org.apache.tiles.impl.BasicTilesContainer render: Error rendering tile
> > java.lang.ClassCastException:
> > org.apache.struts2.views.jsp.IteratorStatus cannot be cast to
> > java.lang.String
> >         at com.google.appengine.runtime.Request.process-
> > d6ff5789e159d872(Request.java)
> >         at org.apache.struts2.components.Property.start(Property.java:141)
> >         at
> > org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSup 
> > port.java:
> > 53)
> >         at
> > org.apache.jsp.WEB_002dINF.content.admin.mgmt.tiles.super_002dhome_002dtile 
> > s_jsp._jspx_meth_s_property_24(super_002dhome_002dtiles_jsp.java:
> > 665)
>
> > If I run the following snippet It run successfully on prod :
>
> > 
> >    
> > 
>
> > So I am filling that in production environment inclusion of the struts
> > tag  inside double quote create
> > exception. I had used this tag for long time and didn't faced any
> > problem till in other environment.
>
> > Is somebody will explain why its happening?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Production Strange behavior for Struts 2 Iterator Tag

2010-02-16 Thread MKumar
Hi,

I have a struts2 based application running beautifully till time.

I am using struts2 tag extensively, and its working fine and pulling
the stuffs effectively from valuestack.


   
">


Above snippet of code run soothly on appengine sdk 1.3.1 on
development machine.

When I try the same on production it throws an internal server error
due to following reason:

org.apache.tiles.impl.BasicTilesContainer render: Error rendering tile
java.lang.ClassCastException:
org.apache.struts2.views.jsp.IteratorStatus cannot be cast to
java.lang.String
at com.google.appengine.runtime.Request.process-
d6ff5789e159d872(Request.java)
at org.apache.struts2.components.Property.start(Property.java:141)
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:
53)
at
org.apache.jsp.WEB_002dINF.content.admin.mgmt.tiles.super_002dhome_002dtiles_jsp._jspx_meth_s_property_24(super_002dhome_002dtiles_jsp.java:
665)

If I run the following snippet It run successfully on prod :


   


So I am filling that in production environment inclusion of the struts
tag  inside double quote create
exception. I had used this tag for long time and didn't faced any
problem till in other environment.

Is somebody will explain why its happening?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: GAE For Java with struts2 And I am not able to access development admin console

2010-02-02 Thread MKumar
Thanks Andy Booth,

You had answered very well to my problem, Now I got the nudge of the
problem. I will opt my self for this scenario.

Mrityunjay Kumar

On Feb 1, 6:05 pm, "andy.booth"  wrote:
> This occurs with most frameworks that use a filter with a wildcard
> mapping to dispatch all requests, the Development server's admin
> Servlets are no longer found, and are instead being processed by the
> your framework (Struts).
>
> 
>         frameworkDispatcher
>         /*
> 
>
> I'm unsure on the best way to resolve this - as I'm not from a Java
> background, I don't know the best way to set up the filter mappings.
>
> However, when I required access to the Admin in Development, I simply
> temporarily commented out the framework's default filter with the
> wildcard mapping, accessed the Admin, then added the filter again when
> needing to run the app.
>
> Andy
>
> On Jan 30, 1:11 pm, MKumar  wrote:
>
> > Hi,
> > I am using JAVA GAE , Everything is working fine, but I am not able to
> > access the Admin console, which as given in documentation can be
> > accessed usinghttp://localhost:/_ah/admin
>
> > But its giving me following error:
> > HTTP ERROR: 404
>
> > There is no Action mapped for namespace /_ah and action name admin.
> > RequestURI=/_ah/admin
>
> > For your information, I had neither used data storage, or queing etc.
> > in application, But wanted to directly enter some data using admin
> > console.
>
> > Please give me some idea so I can access the admin console for data
> > entery on development server.
>
> > Thanks
> > Mrityunjay Kumar

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] GAE For Java with struts2 And I am not able to access development admin console

2010-01-31 Thread MKumar
Hi,
I am using JAVA GAE , Everything is working fine, but I am not able to
access the Admin console, which as given in documentation can be
accessed using http://localhost:/_ah/admin

But its giving me following error:
HTTP ERROR: 404

There is no Action mapped for namespace /_ah and action name admin.
RequestURI=/_ah/admin

For your information, I had neither used data storage, or queing etc.
in application, But wanted to directly enter some data using admin
console.

Please give me some idea so I can access the admin console for data
entery on development server.

Thanks
Mrityunjay Kumar

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.