Re: [Stripes-users] SCMWeb Runtime Exception - PHA - SAVOYM - QA

2011-06-09 Thread Savoy, Melinda
Thanks for the reply.  I'll try it.  I appreciate all the help.

Regards.

From: Janne Jalkanen [mailto:janne.jalka...@ecyrd.com]
Sent: Thursday, June 09, 2011 8:01 AM
To: Stripes Users List
Subject: Re: [Stripes-users] SCMWeb Runtime Exception - PHA - SAVOYM - QA


Yup. Just delete the contents of work, not work itself.

/Janne

On 9 Jun 2011, at 15:56, Savoy, Melinda wrote:


Thank you Janne and Ben.  If you guys don't mind what is probably a stupid 
question I would appreciate just a little more feedback.

Being new to Tomcat admin, I'd like to ask about the following.  In the tomcat 
"work" directory I have a subdirectory called Catalina and within that 
directory 2 more subdirectories called localhost and my app's directory called 
"scmis".  I just want to confirm that I DO NOT delete the "work" directory but 
only delete the contents of that directory which include the subdirectories 
I've just identified?   Is that correct?

Thank you again.



From: Ben Gunter [mailto:gunter...@gmail.com]
Sent: Thursday, June 09, 2011 7:44 AM
To: Stripes Users List
Subject: Re: [Stripes-users] SCMWeb Runtime Exception - PHA - SAVOYM - QA

Yes, you need to clean up the cached compiled JSPs. There have been changes in 
the 1.5.x series to the layout tags. Some of them now implement BodyTag that 
did not before and vice versa.

-Ben
On Thu, Jun 9, 2011 at 12:53 AM, Janne Jalkanen 
mailto:janne.jalka...@ecyrd.com>> wrote:

Clean your servlet container compiled JSP pages. (e.g. empty the "work" 
directory from $TOMCAT_HOME, other containers may differ) and ensure your 
stripes.jar is not corrupted (jar tvf stripes-1.5.5.jar).

I've seen this occasionally too, though only on dev systems. It's usually a 
configuration/caching issue.

/Janne

On Jun 9, 2011, at 01:07 , Savoy, Melinda wrote:

> Sorry but I forgot to mention that we're running Stripes 1.5.5
>
> Thanks again.
>
> -Original Message-
> From: Savoy, Melinda
> Sent: Wednesday, June 08, 2011 5:06 PM
> To: 'Stripes Users List'
> Subject: FW: SCMWeb Runtime Exception - PHA - SAVOYM - QA
>
> We have a numerous web server regions where we run our Stripes web app. The 
> code that we have is identical across all our server regions (DEV, QA, UAT, 
> PROD).  Interesting enough just this afternoon, I started getting this error 
> in my QA region where I'm getting the following error:
>
> java.lang.NoSuchMethodError: 
> net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
>   at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)
>
> We're getting this error as soon as we try to access our web site.
>
> The stack trace is directly below.
>
> Any suggestions on why this would be happening would be appreciated.  I'm not 
> sure why this would not be running in this server but running on all our 
> other web server regions.
>
> Thanks in advance for any direction/suggestions.
>
> -Original Message-
> From: SCMIS Application 
> [mailto:nore...@texashealth.org<mailto:nore...@texashealth.org>]
> Sent: Wednesday, June 08, 2011 4:57 PM
> To: Savoy, Melinda; Burgoon, Ken
> Subject: SCMWeb Runtime Exception - PHA - SAVOYM - QA
>
>
> The SCMWeb Inventory/Purchasing system has encountered an ERROR.
>
> Login Account : SAVOYM
> Region: QA
> Entity: PHA
> Stack trace   : java.lang.NoSuchMethodError: 
> net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
>   at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>   at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at root.servlet.HttpFilter.doFilter(HttpFilter.java:37)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>   at 
> org.apach

Re: [Stripes-users] SCMWeb Runtime Exception - PHA - SAVOYM - QA

2011-06-09 Thread Savoy, Melinda
Thank you Janne and Ben.  If you guys don't mind what is probably a stupid 
question I would appreciate just a little more feedback.

Being new to Tomcat admin, I'd like to ask about the following.  In the tomcat 
"work" directory I have a subdirectory called Catalina and within that 
directory 2 more subdirectories called localhost and my app's directory called 
"scmis".  I just want to confirm that I DO NOT delete the "work" directory but 
only delete the contents of that directory which include the subdirectories 
I've just identified?   Is that correct?

Thank you again.



From: Ben Gunter [mailto:gunter...@gmail.com]
Sent: Thursday, June 09, 2011 7:44 AM
To: Stripes Users List
Subject: Re: [Stripes-users] SCMWeb Runtime Exception - PHA - SAVOYM - QA

Yes, you need to clean up the cached compiled JSPs. There have been changes in 
the 1.5.x series to the layout tags. Some of them now implement BodyTag that 
did not before and vice versa.

-Ben
On Thu, Jun 9, 2011 at 12:53 AM, Janne Jalkanen 
mailto:janne.jalka...@ecyrd.com>> wrote:

Clean your servlet container compiled JSP pages. (e.g. empty the "work" 
directory from $TOMCAT_HOME, other containers may differ) and ensure your 
stripes.jar is not corrupted (jar tvf stripes-1.5.5.jar).

I've seen this occasionally too, though only on dev systems. It's usually a 
configuration/caching issue.

/Janne

On Jun 9, 2011, at 01:07 , Savoy, Melinda wrote:

> Sorry but I forgot to mention that we're running Stripes 1.5.5
>
> Thanks again.
>
> -Original Message-
> From: Savoy, Melinda
> Sent: Wednesday, June 08, 2011 5:06 PM
> To: 'Stripes Users List'
> Subject: FW: SCMWeb Runtime Exception - PHA - SAVOYM - QA
>
> We have a numerous web server regions where we run our Stripes web app. The 
> code that we have is identical across all our server regions (DEV, QA, UAT, 
> PROD).  Interesting enough just this afternoon, I started getting this error 
> in my QA region where I'm getting the following error:
>
> java.lang.NoSuchMethodError: 
> net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
>   at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)
>
> We're getting this error as soon as we try to access our web site.
>
> The stack trace is directly below.
>
> Any suggestions on why this would be happening would be appreciated.  I'm not 
> sure why this would not be running in this server but running on all our 
> other web server regions.
>
> Thanks in advance for any direction/suggestions.
>
> -Original Message-
> From: SCMIS Application 
> [mailto:nore...@texashealth.org<mailto:nore...@texashealth.org>]
> Sent: Wednesday, June 08, 2011 4:57 PM
> To: Savoy, Melinda; Burgoon, Ken
> Subject: SCMWeb Runtime Exception - PHA - SAVOYM - QA
>
>
> The SCMWeb Inventory/Purchasing system has encountered an ERROR.
>
> Login Account : SAVOYM
> Region: QA
> Entity: PHA
> Stack trace   : java.lang.NoSuchMethodError: 
> net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
>   at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>   at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at root.servlet.HttpFilter.doFilter(HttpFilter.java:37)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at waffle.servlet.NegotiateSecurityFilter.doFilterPrincipal(Unknown 
> Source)
>   at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF

Re: [Stripes-users] SCMWeb Runtime Exception - PHA - SAVOYM - QA

2011-06-08 Thread Savoy, Melinda
Sorry but I forgot to mention that we're running Stripes 1.5.5

Thanks again.

-Original Message-
From: Savoy, Melinda 
Sent: Wednesday, June 08, 2011 5:06 PM
To: 'Stripes Users List'
Subject: FW: SCMWeb Runtime Exception - PHA - SAVOYM - QA

We have a numerous web server regions where we run our Stripes web app. The 
code that we have is identical across all our server regions (DEV, QA, UAT, 
PROD).  Interesting enough just this afternoon, I started getting this error in 
my QA region where I'm getting the following error:

java.lang.NoSuchMethodError: 
net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)

We're getting this error as soon as we try to access our web site.

The stack trace is directly below.  

Any suggestions on why this would be happening would be appreciated.  I'm not 
sure why this would not be running in this server but running on all our other 
web server regions.

Thanks in advance for any direction/suggestions.

-Original Message-
From: SCMIS Application [mailto:nore...@texashealth.org] 
Sent: Wednesday, June 08, 2011 4:57 PM
To: Savoy, Melinda; Burgoon, Ken
Subject: SCMWeb Runtime Exception - PHA - SAVOYM - QA


The SCMWeb Inventory/Purchasing system has encountered an ERROR.

Login Account : SAVOYM
Region: QA
Entity: PHA
Stack trace   : java.lang.NoSuchMethodError: 
net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at root.servlet.HttpFilter.doFilter(HttpFilter.java:37)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at waffle.servlet.NegotiateSecurityFilter.doFilterPrincipal(Unknown 
Source)
at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:619)


The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Strip

[Stripes-users] FW: SCMWeb Runtime Exception - PHA - SAVOYM - QA

2011-06-08 Thread Savoy, Melinda
We have a numerous web server regions where we run our Stripes web app. The 
code that we have is identical across all our server regions (DEV, QA, UAT, 
PROD).  Interesting enough just this afternoon, I started getting this error in 
my QA region where I'm getting the following error:

java.lang.NoSuchMethodError: 
net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)

We're getting this error as soon as we try to access our web site.

The stack trace is directly below.  

Any suggestions on why this would be happening would be appreciated.  I'm not 
sure why this would not be running in this server but running on all our other 
web server regions.

Thanks in advance for any direction/suggestions.

-Original Message-
From: SCMIS Application [mailto:nore...@texashealth.org] 
Sent: Wednesday, June 08, 2011 4:57 PM
To: Savoy, Melinda; Burgoon, Ken
Subject: SCMWeb Runtime Exception - PHA - SAVOYM - QA


The SCMWeb Inventory/Purchasing system has encountered an ERROR.

Login Account : SAVOYM
Region: QA
Entity: PHA
Stack trace   : java.lang.NoSuchMethodError: 
net.sourceforge.stripes.tag.layout.LayoutRenderTag.doAfterBody()I
at org.apache.jsp.index_jsp._jspService(index_jsp.java:263)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at root.servlet.HttpFilter.doFilter(HttpFilter.java:37)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at waffle.servlet.NegotiateSecurityFilter.doFilterPrincipal(Unknown 
Source)
at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:619)


The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Question on generated ERROR

2011-04-17 Thread Savoy, Melinda
I forgot to add the following 2 lines that were at the end of the error below 
in my log:

10:54:09,693 FAIL  [[StripesDispatcher]] Servlet.service() for servlet 
StripesDispatcher threw exception
10:54:09,693 FAIL  [[scmis]] Exception Processing 
ErrorPage[exceptionType=java.lang.Exception, location=/error.jsp]

Again, any insight/suggestions would be appreciated.

Thanks.

_
From: Savoy, Melinda
Sent: Sunday, April 17, 2011 11:24 AM
To: 'Stripes Users List'
Subject: Question on generated ERROR


I received a ClientAbortException: java.io.IOException error on my web app 
running on Tomcat.  The last Stripes step run before Tomcat error'd out is 
below and don't know if that contributed to the error or not.

Can someone give me some insight here?  We just moved this app from JBoss to 
Tomcat and needing some help to determine if the user just disconnected from 
the app before exiting properly or what?  Others do not seem to be having 
issues and therefore thinking this might be just a user issue.

Any suggestions/direction/insight would be greatly appreciated.

Here is the error:

The SCMWeb Inventory/Purchasing system has encountered an ERROR.

Login Account : MARXE
Region: PROD
Entity: THS
Stack trace   : ClientAbortException:  java.io.IOException
at 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
at 
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
at 
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
at 
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
at 
net.sourceforge.stripes.action.StreamingResolution.stream(StreamingResolution.java:447)
at 
net.sourceforge.stripes.action.StreamingResolution.execute(StreamingResolution.java:240)
at 
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
at 
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at 
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at 
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
at 
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
at 
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
at 
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at root.servlet.HttpFilter.doFilter(HttpFilter.java:37)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at waffle.servlet.NegotiateSecurityFilter.doFilterPrincipal(Unknown 
Source)
at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.

[Stripes-users] Question on generated ERROR

2011-04-17 Thread Savoy, Melinda
I received a ClientAbortException: java.io.IOException error on my web app 
running on Tomcat.  The last Stripes step run before Tomcat error'd out is 
below and don't know if that contributed to the error or not.

Can someone give me some insight here?  We just moved this app from JBoss to 
Tomcat and needing some help to determine if the user just disconnected from 
the app before exiting properly or what?  Others do not seem to be having 
issues and therefore thinking this might be just a user issue.

Any suggestions/direction/insight would be greatly appreciated.

Here is the error:

The SCMWeb Inventory/Purchasing system has encountered an ERROR.

Login Account : MARXE
Region: PROD
Entity: THS
Stack trace   : ClientAbortException:  java.io.IOException
at 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
at 
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
at 
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
at 
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
at 
net.sourceforge.stripes.action.StreamingResolution.stream(StreamingResolution.java:447)
at 
net.sourceforge.stripes.action.StreamingResolution.execute(StreamingResolution.java:240)
at 
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
at 
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at 
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at 
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
at 
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
at 
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
at 
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at root.servlet.HttpFilter.doFilter(HttpFilter.java:37)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at waffle.servlet.NegotiateSecurityFilter.doFilterPrincipal(Unknown 
Source)
at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException
at 
org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer(InternalAprOutputBuffer.java:695)
at 
org.apache.coyote.http11.InternalAprOutputBuffer$SocketOutputBuffer.doWrite(InternalAprOutputBuffer.java:725)
at 
org.apache.coyote.http11.filters.ChunkedOutp

Re: [Stripes-users] Confusion on Stripes error

2011-04-10 Thread Savoy, Melinda
Nikolaos,

Thanks so much.  I found the issue.  I sure appreciate the response.  Just got 
frustrated and looking too long.

Thanks again.

-Original Message-
From: Nikolaos Giannopoulos [mailto:nikol...@brightminds.org] 
Sent: Sunday, April 10, 2011 6:13 PM
To: Stripes Users List
Subject: Re: [Stripes-users] Confusion on Stripes error

Melinda,

Could it be that in some not so common case you construct a URL to an 
action bean and that by mistake it starts with:  /reqs vs. /req?

Using your favourite IDE you should be able to scan all your project 
files for "/reqs" or "reqs" and see what comes up.

Also looking for anything that redirects or forwards to 
"ApproveList.action" as the incorrect URI is "/reqs/ApproveList.action"... .

Good Luck,

--Nikolaos



Savoy, Melinda wrote:
> I think I may have found the issue but need to know where the actionBean 
> listed:  [/reqs/ApproveList.action] is getting picked up from.
>
> The actionBean is actually:  [/req (not reqs as I indicated 
> above)/ApproveList.action].  
>
> How can I find this un-located ActionBean that is bound to the URL: 
> [/reqs/ApproveList.action]? I'm not sure where Stripes is picking this up 
> from?
>
> Again, any help/direction is appreciated.
>
> Regards.
>
> -Original Message-
> From: Savoy, Melinda 
> Sent: Sunday, April 10, 2011 5:41 PM
> To: 'Stripes Users List'
> Subject: [Stripes-users] Confusion on Stripes error
>
> When stepping through the methods in the code of this action bean that is 
> called from the JSP page locally and correctly, I am getting no error as such 
> below but only sporadically (3x today only) on our PROD server.  We just 
> moved the web app from a JBoss app server to Tomcat this morning and then we 
> started getting the error below. 
>
> We're on Stripes 1.5.5.
>
> I'm not sure why this error is only happening sporadically and not 
> consistently. 
>
> Any help/direction on what is going on would be greatly appreciated.  
>
> Thank you.
>
>
> -Original Message-
> From: SCMIS Application [mailto:nore...@texashealth.org] 
> Sent: Sunday, April 10, 2011 3:25 PM
> To: Savoy, Melinda; Burgoon, Ken
> Subject: SCMWeb Runtime Exception - PHD - DEVASSS - PROD
>
>
> The SCMWeb Inventory/Purchasing system has encountered an ERROR.
>
> Login Account : DEVASSS
> Region: PROD
> Entity: PHD
> Stack trace   : 
> net.sourceforge.stripes.exception.ActionBeanNotFoundException: Could not 
> locate an ActionBean that is bound to the URL [/reqs/ApproveList.action]. 
> Commons reasons for this include mis-matched URLs and forgetting to implement 
> ActionBean in your class. Registered ActionBeans are: 
> {/maint/CommonList.action=class 
> org.texashealth.scmis.stripes.action.maint.CommonListActionBean, 
> /req/StockRequisition.action/=class 
> org.texashealth.scmis.stripes.action.req.StockRequisitionActionBean, 
> /Contact.action/=class 
> org.texashealth.scmis.stripes.action.ContactActionBean, 
> /maint/CommonList.action/=class 
> org.texashealth.scmis.stripes.action.maint.CommonListActionBean, 
> /req/NonStock.action/=class 
> org.texashealth.scmis.stripes.action.req.NonStockActionBean, 
> /notes/Notes.action/=class 
> org.texashealth.scmis.stripes.action.notes.NotesActionBean, 
> /AjaxTags.action=class 
> org.texashealth.scmis.stripes.action.AjaxTagsActionBean, 
> /req/Search.action=class org.texashealth.scmis.stripes.actio!
>  n.req.SearchActionBean, /req/CreateStock.action/=class 
> org.texashealth.scmis.stripes.action.req.CreateStockActionBean, 
> /req/ApproveList.action=class 
> org.texashealth.scmis.stripes.action.req.ApproveListActionBean, 
> /po/StocklessRequisition.action/=class 
> org.texashealth.scmis.stripes.action.po.StocklessRequisitionActionBean, 
> /security/Entity.action/=class 
> org.texashealth.scmis.stripes.action.security.EntityActionBean, 
> /req/CreateStock.action=class 
> org.texashealth.scmis.stripes.action.req.CreateStockActionBean, 
> /common/SearchLookup.action=class 
> org.texashealth.scmis.stripes.action.common.SearchLookupActionBean, 
> /req/NonStock.action=class 
> org.texashealth.scmis.stripes.action.req.NonStockActionBean, 
> /Contact.action=class org.texashealth.scmis.stripes.action.ContactActionBean, 
> /req/Search.action/=class 
> org.texashealth.scmis.stripes.action.req.SearchActionBean, 
> /AjaxTags.action/=class 
> org.texashealth.scmis.stripes.action.AjaxTagsActionBean, 
> /ajax/AutoComplete.action=class org.texas!
>  health.scmis.stripes.action.ajax.AutoCompleteActionBean, /secu!
>  rity/Ent
> ity.action=class 
> org.texashealth.scmis.stripes.action.security.EntityActionBean, 
> /notes/Notes

Re: [Stripes-users] Confusion on Stripes error

2011-04-10 Thread Savoy, Melinda
I think I may have found the issue but need to know where the actionBean 
listed:  [/reqs/ApproveList.action] is getting picked up from.

The actionBean is actually:  [/req (not reqs as I indicated 
above)/ApproveList.action].  

How can I find this un-located ActionBean that is bound to the URL: 
[/reqs/ApproveList.action]? I'm not sure where Stripes is picking this up from?

Again, any help/direction is appreciated.

Regards.

-Original Message-
From: Savoy, Melinda 
Sent: Sunday, April 10, 2011 5:41 PM
To: 'Stripes Users List'
Subject: [Stripes-users] Confusion on Stripes error

When stepping through the methods in the code of this action bean that is 
called from the JSP page locally and correctly, I am getting no error as such 
below but only sporadically (3x today only) on our PROD server.  We just moved 
the web app from a JBoss app server to Tomcat this morning and then we started 
getting the error below. 

We're on Stripes 1.5.5.

I'm not sure why this error is only happening sporadically and not 
consistently. 

Any help/direction on what is going on would be greatly appreciated.  

Thank you.


-Original Message-
From: SCMIS Application [mailto:nore...@texashealth.org] 
Sent: Sunday, April 10, 2011 3:25 PM
To: Savoy, Melinda; Burgoon, Ken
Subject: SCMWeb Runtime Exception - PHD - DEVASSS - PROD


The SCMWeb Inventory/Purchasing system has encountered an ERROR.

Login Account : DEVASSS
Region: PROD
Entity: PHD
Stack trace   : net.sourceforge.stripes.exception.ActionBeanNotFoundException: 
Could not locate an ActionBean that is bound to the URL 
[/reqs/ApproveList.action]. Commons reasons for this include mis-matched URLs 
and forgetting to implement ActionBean in your class. Registered ActionBeans 
are: {/maint/CommonList.action=class 
org.texashealth.scmis.stripes.action.maint.CommonListActionBean, 
/req/StockRequisition.action/=class 
org.texashealth.scmis.stripes.action.req.StockRequisitionActionBean, 
/Contact.action/=class org.texashealth.scmis.stripes.action.ContactActionBean, 
/maint/CommonList.action/=class 
org.texashealth.scmis.stripes.action.maint.CommonListActionBean, 
/req/NonStock.action/=class 
org.texashealth.scmis.stripes.action.req.NonStockActionBean, 
/notes/Notes.action/=class 
org.texashealth.scmis.stripes.action.notes.NotesActionBean, 
/AjaxTags.action=class org.texashealth.scmis.stripes.action.AjaxTagsActionBean, 
/req/Search.action=class 
org.texashealth.scmis.stripes.action.req.SearchActionBean, 
/req/CreateStock.action/=class 
org.texashealth.scmis.stripes.action.req.CreateStockActionBean, 
/req/ApproveList.action=class 
org.texashealth.scmis.stripes.action.req.ApproveListActionBean, 
/po/StocklessRequisition.action/=class 
org.texashealth.scmis.stripes.action.po.StocklessRequisitionActionBean, 
/security/Entity.action/=class 
org.texashealth.scmis.stripes.action.security.EntityActionBean, 
/req/CreateStock.action=class 
org.texashealth.scmis.stripes.action.req.CreateStockActionBean, 
/common/SearchLookup.action=class 
org.texashealth.scmis.stripes.action.common.SearchLookupActionBean, 
/req/NonStock.action=class 
org.texashealth.scmis.stripes.action.req.NonStockActionBean, 
/Contact.action=class org.texashealth.scmis.stripes.action.ContactActionBean, 
/req/Search.action/=class 
org.texashealth.scmis.stripes.action.req.SearchActionBean, 
/AjaxTags.action/=class 
org.texashealth.scmis.stripes.action.AjaxTagsActionBean, 
/ajax/AutoComplete.action=class 
org.texashealth.scmis.stripes.action.ajax.AutoCompleteActionBean, 
/security/Entity.action=class 
org.texashealth.scmis.stripes.action.security.EntityActionBean, 
/notes/Notes.action=class 
org.texashealth.scmis.stripes.action.notes.NotesActionBean, 
/req/StockRequisition.action=class 
org.texashealth.scmis.stripes.action.req.StockRequisitionActionBean, 
/po/StocklessRequisition.action=class 
org.texashealth.scmis.stripes.action.po.StocklessRequisitionActionBean, 
/po/InventoryRequisition.action/=class 
org.texashealth.scmis.stripes.action.po.InventoryRequisitionActionBean, 
/common/SearchLookup.action/=class 
org.texashealth.scmis.stripes.action.common.SearchLookupActionBean, 
/controller/DefaultView.action/=class 
net.sourceforge.stripes.controller.DefaultViewActionBean, 
/ajax/AutoComplete.action/=class 
org.texashealth.scmis.stripes.action.ajax.AutoCompleteActionBean, 
/common/Lookup.action=class 
org.texashealth.scmis.stripes.action.common.LookupActionBean, 
/req/ApproveList.action/=class 
org.texashealth.scmis.stripes.action.req.ApproveListActionBean, 
/Portal.action/=class org.texashealth.scmis.stripes.action.PortalActionBean, 
/controller/DefaultView.action=class 
net.sourceforge.stripes.controller.DefaultViewActionBean, 
/common/Lookup.action/=class 
org.texashealth.scmis.stripes.action.common.LookupActionBean, 
/po/InventoryRequisition.action=class 
org.texashealth.scmis.stripes.action.po.InventoryRequisitionActionBe

[Stripes-users] Confusion on Stripes error

2011-04-10 Thread Savoy, Melinda
When stepping through the methods in the code of this action bean that is 
called from the JSP page locally and correctly, I am getting no error as such 
below but only sporadically (3x today only) on our PROD server.  We just moved 
the web app from a JBoss app server to Tomcat this morning and then we started 
getting the error below. 

We're on Stripes 1.5.5.

I'm not sure why this error is only happening sporadically and not 
consistently. 

Any help/direction on what is going on would be greatly appreciated.  

Thank you.


-Original Message-
From: SCMIS Application [mailto:nore...@texashealth.org] 
Sent: Sunday, April 10, 2011 3:25 PM
To: Savoy, Melinda; Burgoon, Ken
Subject: SCMWeb Runtime Exception - PHD - DEVASSS - PROD


The SCMWeb Inventory/Purchasing system has encountered an ERROR.

Login Account : DEVASSS
Region: PROD
Entity: PHD
Stack trace   : net.sourceforge.stripes.exception.ActionBeanNotFoundException: 
Could not locate an ActionBean that is bound to the URL 
[/reqs/ApproveList.action]. Commons reasons for this include mis-matched URLs 
and forgetting to implement ActionBean in your class. Registered ActionBeans 
are: {/maint/CommonList.action=class 
org.texashealth.scmis.stripes.action.maint.CommonListActionBean, 
/req/StockRequisition.action/=class 
org.texashealth.scmis.stripes.action.req.StockRequisitionActionBean, 
/Contact.action/=class org.texashealth.scmis.stripes.action.ContactActionBean, 
/maint/CommonList.action/=class 
org.texashealth.scmis.stripes.action.maint.CommonListActionBean, 
/req/NonStock.action/=class 
org.texashealth.scmis.stripes.action.req.NonStockActionBean, 
/notes/Notes.action/=class 
org.texashealth.scmis.stripes.action.notes.NotesActionBean, 
/AjaxTags.action=class org.texashealth.scmis.stripes.action.AjaxTagsActionBean, 
/req/Search.action=class 
org.texashealth.scmis.stripes.action.req.SearchActionBean, 
/req/CreateStock.action/=class 
org.texashealth.scmis.stripes.action.req.CreateStockActionBean, 
/req/ApproveList.action=class 
org.texashealth.scmis.stripes.action.req.ApproveListActionBean, 
/po/StocklessRequisition.action/=class 
org.texashealth.scmis.stripes.action.po.StocklessRequisitionActionBean, 
/security/Entity.action/=class 
org.texashealth.scmis.stripes.action.security.EntityActionBean, 
/req/CreateStock.action=class 
org.texashealth.scmis.stripes.action.req.CreateStockActionBean, 
/common/SearchLookup.action=class 
org.texashealth.scmis.stripes.action.common.SearchLookupActionBean, 
/req/NonStock.action=class 
org.texashealth.scmis.stripes.action.req.NonStockActionBean, 
/Contact.action=class org.texashealth.scmis.stripes.action.ContactActionBean, 
/req/Search.action/=class 
org.texashealth.scmis.stripes.action.req.SearchActionBean, 
/AjaxTags.action/=class 
org.texashealth.scmis.stripes.action.AjaxTagsActionBean, 
/ajax/AutoComplete.action=class 
org.texashealth.scmis.stripes.action.ajax.AutoCompleteActionBean, 
/security/Entity.action=class 
org.texashealth.scmis.stripes.action.security.EntityActionBean, 
/notes/Notes.action=class 
org.texashealth.scmis.stripes.action.notes.NotesActionBean, 
/req/StockRequisition.action=class 
org.texashealth.scmis.stripes.action.req.StockRequisitionActionBean, 
/po/StocklessRequisition.action=class 
org.texashealth.scmis.stripes.action.po.StocklessRequisitionActionBean, 
/po/InventoryRequisition.action/=class 
org.texashealth.scmis.stripes.action.po.InventoryRequisitionActionBean, 
/common/SearchLookup.action/=class 
org.texashealth.scmis.stripes.action.common.SearchLookupActionBean, 
/controller/DefaultView.action/=class 
net.sourceforge.stripes.controller.DefaultViewActionBean, 
/ajax/AutoComplete.action/=class 
org.texashealth.scmis.stripes.action.ajax.AutoCompleteActionBean, 
/common/Lookup.action=class 
org.texashealth.scmis.stripes.action.common.LookupActionBean, 
/req/ApproveList.action/=class 
org.texashealth.scmis.stripes.action.req.ApproveListActionBean, 
/Portal.action/=class org.texashealth.scmis.stripes.action.PortalActionBean, 
/controller/DefaultView.action=class 
net.sourceforge.stripes.controller.DefaultViewActionBean, 
/common/Lookup.action/=class 
org.texashealth.scmis.stripes.action.common.LookupActionBean, 
/po/InventoryRequisition.action=class 
org.texashealth.scmis.stripes.action.po.InventoryRequisitionActionBean, 
/Portal.action=class org.texashealth.scmis.stripes.action.PortalActionBean}
at 
net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:351)
at 
net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBean(NameBasedActionResolver.java:264)
at 
net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:303)
at 
net.sourceforge.stripes.controller.DispatcherHelper$1.intercept(DispatcherHelper.java:108)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContex

Re: [Stripes-users] Question on why stripes error is displayed duplicated in JSP page

2011-03-22 Thread Savoy, Melinda
One thing I forgot to explain is that I am trying to tie the fieldName to the 
error that I am displaying so that the field value is highlighted for the user. 
 I cannot get at the fieldName in the ValidationErrors.  If there is a way to 
do that again, any help is appreciated.

If there is a better way to do this, any help is appreciated.  Thanks.

From: Savoy, Melinda
Sent: Tuesday, March 22, 2011 10:33 AM
To: 'Ben Gunter'; 'Stripes Users List'
Subject: Re: [Stripes-users] Question on why stripes error is displayed 
duplicated in JSP page

Thanks, Ben.  I appreciate the quick response.

My SCMISActionBeanContext which extends the ActionBeanContext has the 
addError(final String msg) method which is called from the 
getContext().addError method below:

public void addError(final String msg) {
 this.getValidationErrors().addGlobalError(new SimpleError(msg, new 
Object[] {}));
}

From the ValidationErrors class this is the method that I'm calling:

public void addGlobalError(ValidationError error) {
 add(GLOBAL_ERROR, error);
}

So it's in the addError method above where it's getting duplicated?


From: Ben Gunter [mailto:gunter...@gmail.com]
Sent: Tuesday, March 22, 2011 10:20 AM
To: Stripes Users List
Cc: Savoy, Melinda
Subject: Re: [Stripes-users] Question on why stripes error is displayed 
duplicated in JSP page

In your catch block, I see this:
validationExc.mapError(errors);
getContext().addError(validationExc.getMessage());

The definition for ValidationException#mapError(ValidationErrors) shows that it 
adds the error to the ValidationErrors. I don't know what 
YourActionBeanContext#addError(String) does, but based on the name I would 
guess it also adds an error to the ValidationErrors.

-Ben
On Tue, Mar 22, 2011 at 10:53 AM, Savoy, Melinda 
mailto:melindasa...@texashealth.org>> wrote:
In my validator class I am throwing a ValidationError here:

[code]
if (valueAdd.hasNEC(req.getNecCode())) {
throw new ValidationException("nonStockReq.necCode", "necExclusion");
}
[/code]

In my AbstractRequisitionActionBean I am catching the error:

[code]
catch (ApplicationException e) {
ValidationException validationExc = (ValidationException) e;
validationExc.mapError(errors);
getContext().addError(validationExc.getMessage());
log.warn("FAILED APPROVE VALIDATION - {P}", e.getMessage());
}
[/code]

In my ValidationException:

[code]
public class ValidationException extends ApplicationException {

private static final long serialVersionUID = 8320536340453121195L;

private final String fieldName;

public ValidationException(final String fieldName, final String 
message) {
super(message);
this.fieldName = fieldName;
}

public ValidationException(final String fieldName, final String msgId, 
final Object... msgParams) {
super(msgId, msgParams);
this.fieldName = fieldName;
}

@Override
public void mapError(final ValidationErrors errors) {
errors.add(fieldName, new SimpleError(getMessage()));
}

}
[/code]

And in the ApplicationException that is the superclass for ValidationException:

[code]
public void mapError(final ValidationErrors errors) {
errors.addGlobalError(new SimpleError(getMessage()));
}
[/code]

I am not all sure WHY the error is being duplicated in my JSP page.  I'm sure 
it's something stupid I'm doing I just can see it.  Any suggestions/direction 
would be appreciated.

Thanks.

Melinda Savoy
Sr. Programmer Analyst, ERP Systems
Innovative Technology Solutions
Texas Health Resources
600 E. Lamar Blvd, Ste 301, Arlington TX  76011
melindasa...@texashealth.org<mailto:melindasa...@texashealth.org>

Texas Health Resources: Arlington Memorial,
Harris Methodist and Presbyterian Hospitals
A shared mission and now a shared name.




The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law. If you are not the intended recipient, you are 
prohibited from copying, distributing, or using the information. Please contact 
the sender immediately by return e-mail and delete the original message from 
your system.
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
___
Stripes-users m

Re: [Stripes-users] Question on why stripes error is displayed duplicated in JSP page

2011-03-22 Thread Savoy, Melinda
Thanks, Ben.  I appreciate the quick response.

My SCMISActionBeanContext which extends the ActionBeanContext has the 
addError(final String msg) method which is called from the 
getContext().addError method below:

public void addError(final String msg) {
 this.getValidationErrors().addGlobalError(new SimpleError(msg, new 
Object[] {}));
}

From the ValidationErrors class this is the method that I'm calling:

public void addGlobalError(ValidationError error) {
 add(GLOBAL_ERROR, error);
}

So it's in the addError method above where it's getting duplicated?


From: Ben Gunter [mailto:gunter...@gmail.com]
Sent: Tuesday, March 22, 2011 10:20 AM
To: Stripes Users List
Cc: Savoy, Melinda
Subject: Re: [Stripes-users] Question on why stripes error is displayed 
duplicated in JSP page

In your catch block, I see this:
validationExc.mapError(errors);
getContext().addError(validationExc.getMessage());

The definition for ValidationException#mapError(ValidationErrors) shows that it 
adds the error to the ValidationErrors. I don't know what 
YourActionBeanContext#addError(String) does, but based on the name I would 
guess it also adds an error to the ValidationErrors.

-Ben
On Tue, Mar 22, 2011 at 10:53 AM, Savoy, Melinda 
mailto:melindasa...@texashealth.org>> wrote:
In my validator class I am throwing a ValidationError here:

[code]
if (valueAdd.hasNEC(req.getNecCode())) {
throw new ValidationException("nonStockReq.necCode", "necExclusion");
}
[/code]

In my AbstractRequisitionActionBean I am catching the error:

[code]
catch (ApplicationException e) {
ValidationException validationExc = (ValidationException) e;
validationExc.mapError(errors);
getContext().addError(validationExc.getMessage());
log.warn("FAILED APPROVE VALIDATION - {P}", e.getMessage());
}
[/code]

In my ValidationException:

[code]
public class ValidationException extends ApplicationException {

private static final long serialVersionUID = 8320536340453121195L;

private final String fieldName;

public ValidationException(final String fieldName, final String 
message) {
super(message);
this.fieldName = fieldName;
}

public ValidationException(final String fieldName, final String msgId, 
final Object... msgParams) {
super(msgId, msgParams);
this.fieldName = fieldName;
}

@Override
public void mapError(final ValidationErrors errors) {
errors.add(fieldName, new SimpleError(getMessage()));
}

}
[/code]

And in the ApplicationException that is the superclass for ValidationException:

[code]
public void mapError(final ValidationErrors errors) {
errors.addGlobalError(new SimpleError(getMessage()));
}
[/code]

I am not all sure WHY the error is being duplicated in my JSP page.  I'm sure 
it's something stupid I'm doing I just can see it.  Any suggestions/direction 
would be appreciated.

Thanks.

Melinda Savoy
Sr. Programmer Analyst, ERP Systems
Innovative Technology Solutions
Texas Health Resources
600 E. Lamar Blvd, Ste 301, Arlington TX  76011
melindasa...@texashealth.org<mailto:melindasa...@texashealth.org>

Texas Health Resources: Arlington Memorial,
Harris Methodist and Presbyterian Hospitals
A shared mission and now a shared name.




The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law. If you are not the intended recipient, you are 
prohibited from copying, distributing, or using the information. Please contact 
the sender immediately by return e-mail and delete the original message from 
your system.
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net<mailto:Stripes-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/stripes-users



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the se

[Stripes-users] Question on why stripes error is displayed duplicated in JSP page

2011-03-22 Thread Savoy, Melinda
In my validator class I am throwing a ValidationError here:

[code]
if (valueAdd.hasNEC(req.getNecCode())) {
throw new ValidationException("nonStockReq.necCode", "necExclusion");
}
[/code]

In my AbstractRequisitionActionBean I am catching the error:

[code]
catch (ApplicationException e) {
ValidationException validationExc = (ValidationException) e;
validationExc.mapError(errors);
getContext().addError(validationExc.getMessage());
log.warn("FAILED APPROVE VALIDATION - {P}", e.getMessage());
}
[/code]

In my ValidationException:

[code]
public class ValidationException extends ApplicationException {

private static final long serialVersionUID = 8320536340453121195L;

private final String fieldName;

public ValidationException(final String fieldName, final String 
message) {
super(message);
this.fieldName = fieldName;
}

public ValidationException(final String fieldName, final String msgId, 
final Object... msgParams) {
super(msgId, msgParams);
this.fieldName = fieldName;
}

@Override
public void mapError(final ValidationErrors errors) {
errors.add(fieldName, new SimpleError(getMessage()));
}

}
[/code]

And in the ApplicationException that is the superclass for ValidationException:

[code]
public void mapError(final ValidationErrors errors) {
errors.addGlobalError(new SimpleError(getMessage()));
}
[/code]

I am not all sure WHY the error is being duplicated in my JSP page.  I'm sure 
it's something stupid I'm doing I just can see it.  Any suggestions/direction 
would be appreciated.

Thanks.

Melinda Savoy
Sr. Programmer Analyst, ERP Systems
Innovative Technology Solutions
Texas Health Resources
600 E. Lamar Blvd, Ste 301, Arlington TX  76011
melindasa...@texashealth.org

Texas Health Resources: Arlington Memorial,
Harris Methodist and Presbyterian Hospitals
A shared mission and now a shared name.





The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] Can a web service call an action bean?

2011-01-25 Thread Savoy, Melinda
I am trying to learn about web services and I have a copy of our production 
stripes code web application in another directory using another copy of Tomcat. 
 I am also working in Eclipse Helios 3.6.1.  I tried searching the Stripes 
mailing list but the posts that I saw had to do with file uploads which is not 
what I'm trying to accomplish.

I would like to know if it is possible to call an action bean run its methods 
via a web service so that I can reuse the logic that is already exists in my 
workspace?  I am trying to create a web service project and I am choosing the 
Bottom up Java bean Web Service and also choosing the Apache Axis2 runtime.

Any suggestion/direction would be appreciated.

Thanks.

Melinda Savoy
Sr. Programmer Analyst, ERP Systems
Innovative Technology Solutions
Texas Health Resources
600 E. Lamar Blvd, Ste 301, Arlington TX  76011
melindasa...@texashealth.org

Texas Health Resources: Arlington Memorial,
Harris Methodist and Presbyterian Hospitals
A shared mission and now a shared name.





The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Source forge description: It's stripey and itdoesn't suck

2010-10-29 Thread Savoy, Melinda
How about:  "Stripes, the framework of choice"

-Original Message-
From: Oscar Westra van Holthe - Kind [mailto:os...@westravanholthe.nl] 
Sent: Friday, October 29, 2010 10:00 AM
To: Stripes Users List
Subject: Re: [Stripes-users] Source forge description: It's stripey and 
itdoesn't suck

On 29-10-2010 at 16:37, jfonta...@codegap.com wrote:
> 
> "Stripes: the missing link"? ;)

Better.


Oscar

-- 
   ,-_  Oscar Westra van Holthe - Kind  http://www.xs4all.nl/~kindop/
  /() )
 (__ (  I disapprove of what you say, but I will defend to the death your =/  
()  right to say it.  -- Voltaire


The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] Question on HttpServletRequest

2010-06-15 Thread Savoy, Melinda
We had to find a different solution for authentication within our stripes web 
app by going from JCIFS to IIS-Tomcat integration using the Tomcat Connector 
ISAPI Filter.  I am hoping that someone on the list has worked with the Tomcat 
Connector ISAPI filter and help direct me.

We cannot seem to get the HttpServletRequest object populated.  My first 
question is does the Stripes Filter require some configuration in order to read 
the request coming from the ISAPI filter?  From the ISAPI log and IIS logs I 
can see the request that contains the DOMAIN/USERNAME that we're trying to get 
at by using the HttpServletRequest getRemoteUser() but the request is empty.

Any help would be appreciated.

Melinda Savoy
Sr. Programmer Analyst, ERP Systems
Innovative Technology Solutions
Texas Health Resources
600 E. Lamar Blvd, Ste 301, Arlington TX  76011
melindasa...@texashealth.org

Texas Health Resources: Arlington Memorial,
Harris Methodist and Presbyterian Hospitals
A shared mission and now a shared name.





The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] Question on Stripes error

2010-02-05 Thread Savoy, Melinda
In my Stripes form I have a  page defined within the 
beginning  and ending tag.  In the  
page there is NO stripes form.

I just received the following error and wondered why I'm getting it if the 
layout-render page is within the stripes:form tags:

2010-02-05 09:00:09,585 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[scmis].[/].[jsp]] 
Servlet.service() for servlet jsp threw exception
net.sourceforge.stripes.exception.StripesJspException: InputTag of type 
[net.sourceforge.stripes.tag.InputHiddenTag] must be enclosed inside a stripes 
form tag. If, for some reason, you do not wish to render a complete form you 
may surround stripes input tags with  which will 
provide support to the input tags but not render the  tag.
at 
net.sourceforge.stripes.tag.InputTagSupport.getParentFormTag(InputTagSupport.java:172)
at 
net.sourceforge.stripes.tag.InputTagSupport.registerWithParentForm(InputTagSupport.java:423)
at 
net.sourceforge.stripes.tag.InputTagSupport.doStartTag(InputTagSupport.java:406)
at 
org.apache.jsp.layout.view.phi_jsp._jspx_meth_stripes_hidden_0(phi_jsp.java:224)
at 
org.apache.jsp.layout.view.phi_jsp._jspx_meth_c_when_0(phi_jsp.java:181)
at 
org.apache.jsp.layout.view.phi_jsp._jspx_meth_c_choose_0(phi_jsp.java:143)
at 
org.apache.jsp.layout.view.phi_jsp._jspx_meth_stripes_layout$1definition_0(phi_jsp.java:115)
at org.apache.jsp.layout.view.phi_jsp._jspService(phi_jsp.java:80)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at 
org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:631)
at 
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:625)
at 
net.sourceforge.stripes.tag.layout.LayoutRenderTag.doEndTag(LayoutRenderTag.java:113)
at 
org.apache.jsp.po.view.stockless_jsp._jspx_meth_stripes_layout$1render_1(stockless_jsp.java:620)
at 
org.apache.jsp.po.view.stockless_jsp._jspService(stockless_jsp.java:347)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
at 
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
at 
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
at 
net.sourceforge.stripes.controller.BeforeAfterMe

Re: [Stripes-users] Question on stripes: layout-render tag

2010-01-22 Thread Savoy, Melinda
The problem was that the attribute was not defined in my action bean and 
therefore it was not showing up when the layout-render form was displayed.  
Hope that makes sense.

Sorry for not posting my findings.  

Regards.

From: Alamgir Kahn [ama-m...@mltp.com]
Sent: Friday, January 22, 2010 18:12
To: stripes-users@lists.sourceforge.net
Subject: Re: [Stripes-users] Question on stripes: layout-render tag

Savoy, Melinda  writes:

>
> My apologies.  I just figured out my problem.
>
> Please disregard my post below.  Thanks.

Melinda -- What /was/ the problem?  Posting here may be helpful to others
facing the same problem in the future.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Question on stripes: layout-render tag

2010-01-21 Thread Savoy, Melinda
My apologies.  I just figured out my problem.  

Please disregard my post below.  Thanks.

-Original Message-
From: Savoy, Melinda 
Sent: Thursday, January 21, 2010 8:23 AM
To: stripes-users@lists.sourceforge.net
Subject: [Stripes-users] Question on stripes: layout-render tag


Quick question on the use of the  tag.  I have a
jsp page where I have the following stripes tag whereby the phi.jsp page is
displayed:



In my phi.jsp page I have the following where I am referencing the attrName
value above:


You do not have security to modify PHI 
data 








However when I look at the VIEW SOURCE on my IE7 browser the attrName value
is not being displayed with "stockReq" as it is defined in the page where
the layout-render tag is defined but it is only blank followed by a "." and
the name:

You do not have security to view PHI data





Any insight or direction on how to correct it would be greatly appreciated. 
Thanks.


-- 
View this message in context: 
http://old.nabble.com/Question-on-stripes%3A-layout-render-tag-tp27258543p27258543.html
Sent from the stripes-users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] BeanFirstPopulationStrategy

2009-06-19 Thread Savoy, Melinda
For some reason the JSP code did not come over so I'm trying to send it again:

[CODE]

[/CODE]


-Original Message-
From: Savoy, Melinda 
Sent: Thursday, June 18, 2009 1:42 PM
To: stripes-users@lists.sourceforge.net
Subject: [Stripes-users] BeanFirstPopulationStrategy


I have an actionBean where I have the following resolution:

public Resolution itemNumMfr() {
entry = new LookupEntry("itemNumMfr", "Item Lookup",
new Result[] {new Result("Item Number", 20), 
new Result("Item
Description", 30), new Criteria("Mfr Cat #", 20, 30), new Criteria("Mfr
Name", 30, 30)},
new RowMap[] {new RowMap("itemNum" + rowId, 
true), new
RowMap("vendorDesc" + rowId, true), new RowMap("mfrCatNumber" + rowId,
true), new RowMap("mfrName" + rowId, true)});

if (params == null)
context.addError(EMPTY_PARAMS_MSG);
else {
this.ensureParamSize(2);
if (!StringUtil.empty(params.get(0)) && 
params.get(0).length() < 3)
context.addError("Mfr Cat Number must be at 
least three characters");
if (!StringUtil.empty(params.get(1)) && 
params.get(1).length() < 2)
context.addError("Mfr Name must be at least two 
characters");
if (context.getValidationErrors().size() == 0) {
results = 
lookup.itemByMfr(user.getCurrentEntity(), params.get(0),
params.get(1));
if (results != null && results.length == 100)
context.addMessage("Results limited to 
the first 100 rows returned");
}
}

return new ForwardResolution("/lookup.jsp");
}

In the JSP page I am calling a js function that references a name in a JS
file called itemNumMfr:

 /pics/icon_binoculars.gif 

The BeanFirstPopulationStrategy is picking up an error in the JSP page that
is not even in a stripes tag.  Can someone please let me know why the
following INFO error found in our log would be occurring if this is in a
regular HTML tag:

INFO  [net.sourceforge.stripes.tag.BeanFirstPopulationStrategy] Could not
locate property of name [itemNumMfr] on
ActionBean.net.sourceforge.stripes.util.bean.NoSuchPropertyException: Bean
class org.texashealth.scm.stripes.action.common.LookupActionBean does not
contain a property called 'itemNumMfr'. As a result the following expression
could not be evaluated: itemNumMfr

Any help or insight would be appreciated.  Thanks.
-- 
View this message in context: 
http://www.nabble.com/BeanFirstPopulationStrategy-tp24096216p24096216.html
Sent from the stripes-users mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] BeanFirstPopulationStrategy

2009-06-19 Thread Savoy, Melinda
For some reason the JSP code is not going over in Nabble that calls the 
function I responded with below so I am trying again:





-Original Message-
From: Savoy, Melinda 
Sent: Friday, June 19, 2009 6:51 AM
To: stripes-users@lists.sourceforge.net
Subject: Re: [Stripes-users] BeanFirstPopulationStrategy


Richard,

Thanks for the reply.  Here is the URL and parameters that call the action
within a JS function:

[CODE]
function lookup_win(lookupEntry, param1, param2, param3) {
var entry = Lookup.getEntry(lookupEntry);
url = "/common/Lookup.action" + "?" + lookupEntry + "=¶ms[0]=" +
URLencode(param1);
if (param2)
url = url + "¶ms[1]=" + URLencode(param2);
if (param3)
url = url + "&rowId=" + param3;

// For Stripes error handling
url = url + "&_sourcePage=" + URLencode("/lookup.jsp");

popWin = window.open(url,'lookupwindow','width=' + entry[0] + 
',height=' +
entry[1] +
',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');

setTimeout("moveFocus()", 500);
}
[/CODE]

In the JSP here is how I'm calling this function from an HTML tag and not a
stripes tag:

[CODE]
 /pics/icon_binoculars.gif 
[/CODE]


Again, any help/insight on why the BeanFirstPopulationStrategy is picking up
an error would be greatly appreciated.

Regards.



Richard Hauswald wrote:
> 
> Can you post the request url and parameters you use to call the action?
> 
> On Thu, Jun 18, 2009 at 8:42 PM, savoym
> wrote:
>>
>> I have an actionBean where I have the following resolution:
>>
>> public Resolution itemNumMfr() {
>>                entry = new LookupEntry("itemNumMfr", "Item Lookup",
>>                                new Result[] {new Result("Item Number",
>> 20), new Result("Item
>> Description", 30), new Criteria("Mfr Cat #", 20, 30), new Criteria("Mfr
>> Name", 30, 30)},
>>                                new RowMap[] {new RowMap("itemNum" +
>> rowId, true), new
>> RowMap("vendorDesc" + rowId, true), new RowMap("mfrCatNumber" + rowId,
>> true), new RowMap("mfrName" + rowId, true)});
>>
>>                if (params == null)
>>                        context.addError(EMPTY_PARAMS_MSG);
>>                else {
>>                        this.ensureParamSize(2);
>>                        if (!StringUtil.empty(params.get(0)) &&
>> params.get(0).length() < 3)
>>                                context.addError("Mfr Cat Number must be
>> at least three characters");
>>                        if (!StringUtil.empty(params.get(1)) &&
>> params.get(1).length() < 2)
>>                                context.addError("Mfr Name must be at
>> least two characters");
>>                        if (context.getValidationErrors().size() == 0) {
>>                                results =
>> lookup.itemByMfr(user.getCurrentEntity(), params.get(0),
>> params.get(1));
>>                                if (results != null && results.length ==
>> 100)
>>                                        context.addMessage("Results
>> limited to the first 100 rows returned");
>>                        }
>>                }
>>
>>                return new ForwardResolution("/lookup.jsp");
>>        }
>>
>> In the JSP page I am calling a js function that references a name in a JS
>> file called itemNumMfr:
>>
>>  /pics/icon_binoculars.gif 
>>
>> The BeanFirstPopulationStrategy is picking up an error in the JSP page
>> that
>> is not even in a stripes tag.  Can someone please let me know why the
>> following INFO error found in our log would be occurring if this is in a
>> regular HTML tag:
>>
>> INFO  [net.sourceforge.stripes.tag.BeanFirstPopulationStrategy] Could not
>> locate property of name [itemNumMfr] on
>> ActionBean.net.sourceforge.stripes.util.bean.NoSuchPropertyException:
>> Bean
>> class org.texashealth.scm.stripes.action.common.LookupActionBean does not
>> contain a property called 'itemNumMfr'. As a result the following
>> expression
>> could not be evaluated: itemNumMfr
>>
>> Any help or insight would be appreciated.  Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/BeanFirstPopulationStrategy-tp24096216p24096216.html
>> Sent from the

Re: [Stripes-users] Question on

2009-04-13 Thread Savoy, Melinda
Mike,

Thanks for the reply.  After talking to Ed, my lead, we recalled that we used 
the BeanFirstPopulationStrategy and because that recType in my actionBean is 
first set to a blank then I could not pass the value in via the JSP but have to 
set it before the ForwardResolution to the jsp page.  

Thanks so much again for your quick reply.  Regards.

-Original Message-
From: Mike McNally [mailto:emmecin...@gmail.com] 
Sent: Monday, April 13, 2009 1:42 PM
To: Stripes Users List
Subject: Re: [Stripes-users] Question on 

I suspect that there's a value for "recType" in your actionBean, or
possibly as a parameter.

A quick check I often employ in these "where's my value?" situations
is to dump the variable out into the page in a comment or something:



You can then verify with a quick "view source" that the variable is
being passed in.

On Mon, Apr 13, 2009 at 1:35 PM, Savoy, Melinda
 wrote:
> I have a JSP that has in it a  tag that is a nested
> JSP page whereby I am trying to pass a recType attribute with a value that
> is not getting passed into that JSP page and I'm not sure why.
>
> Here is the tag in my base JSP:
>
>  req="${req}" recType="REQ" />
>
> Here is the info of the iNote.jsp page where I am trying to pass in the
> recType value of "REQ" but it is not getting there:
>
> 
>
> 
>
>      src="/pics/plus.jpg" width="11" height="11" title="Click to
> expand"/>Note
>
>     
>
>         
>
>         IT IS AGAINST THR POLICY TO ENTER PATIENT INFORMATION IN
> THIS AREA. IF YOU NEED
>
>         TO ENTER PT INFO USE THE FIELDS PROVIDED ON THE REQUISITION.
> IF YOU DO NOT HAVE
>
>         SECURITY TO THE PT INFORMATION FIELDS CONTACT YOUR ENTITY
> MATERIALS MANAGER.
>
>         
>
>         
>
>         
>
>     
>
> 
>
> 
>
> Any suggestions as to what may be blocking the value of "REQ" from being
> passed into the iNote.jsp page where the hidden value is defined?
>
> Thanks.
>
> Melinda Savoy
>
> Sr. Programmer Analyst, Supply Management Systems
>
> Innovative Technology Solutions
>
> Texas Health Resources
>
> 600 E. Lamar Blvd, Ste 301, Arlington TX  76011
>
> 682.236.6337
>
> melindasa...@texashealth.org
>
> The information contained in this message and any attachments is intended
> only for the use of the individual or entity to which it is addressed, and
> may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from
> disclosure under applicable law. If you are not the intended recipient, you
> are prohibited from copying, distributing, or using the information. Please
> contact the sender immediately by return e-mail and delete the original
> message from your system.
> --
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>



-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] Question on

2009-04-13 Thread Savoy, Melinda
I have a JSP that has in it a  tag that is a
nested JSP page whereby I am trying to pass a recType attribute with a
value that is not getting passed into that JSP page and I'm not sure
why.

Here is the tag in my base JSP:



Here is the info of the iNote.jsp page where I am trying to pass in the
recType value of "REQ" but it is not getting there:



Note


IT IS AGAINST THR POLICY TO ENTER PATIENT INFORMATION IN
THIS AREA. IF YOU NEED
TO ENTER PT INFO USE THE FIELDS PROVIDED ON THE
REQUISITION. IF YOU DO NOT HAVE
SECURITY TO THE PT INFORMATION FIELDS CONTACT YOUR
ENTITY MATERIALS MANAGER.







Any suggestions as to what may be blocking the value of "REQ" from being
passed into the iNote.jsp page where the hidden value is defined?

Thanks.

Melinda Savoy
Sr. Programmer Analyst, Supply Management Systems 
Innovative Technology Solutions
Texas Health Resources
600 E. Lamar Blvd, Ste 301, Arlington TX  76011
682.236.6337
melindasa...@texashealth.org  




The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Quest on removing data in error during wizard

2009-03-17 Thread Savoy, Melinda
Ben and Levi,

Thanks so much for some insight here.  We will try your suggestions and get 
back to the list with whatever may be the issue.  Turning on the log in Stripes 
will definitely help.

Thanks again for your time and responding.  Regards.


-Original Message-
From: Ben Gunter [mailto:gunter...@gmail.com]
Sent: Tue 3/17/2009 16:36
To: Stripes Users List
Subject: Re: [Stripes-users] Quest on removing data in error during wizard
 
Melinda, it sounds like you're somehow getting a null reference in your
list. When you forward to the next page you have the non-null items plus the
null one. Since EL does not throw NPE, you end up with a blank line where
the null is. I can't say exactly where that null is coming from, but I can
tell you a quick and dirty way to eliminate it:

@After(stages=BindingAndValidation)
public void cleanup() {
if (items != null) {
while (items.remove(null));
}
}

That will get rid of the nulls in your list before you forward to the view.
Without seeing the source, I can't tell if it's a bug in Stripes or in your
code that is causing the problem. If you really want to *solve* the problem
instead of working around it, you should turn on debug logging in Stripes
and carefully examine the request parameters to see if you can spot the
culprit.

-Ben

On Wed, Mar 11, 2009 at 4:48 PM, Savoy, Melinda <
melindasa...@texashealth.org> wrote:

>  The scenario is as follows in the context of a Wizard:
>
> 1.  During a wizard the user selects 2 items from a list
>
> 2.  Upon clicking Next, a business use case error is detected for one
> of the items.  Stripes handles the validation error as expected by
> forwarding to the originating wizard page and displaying the error message
> to the user
>
> 3.  The user deletes the item in error and clicks Next again.  When
> the user clicks Next, a JavaScript routine literally removes the item
> marked for deletion from the HTML DOM so that only the remaining one item is
> sent on the second request.
>
> 4.  On the next wizard page, the one item that passed validations is
> shown as well as a blank line as if another item was sent on the second
> Next request even though there was only one item submitted
>
> Something squirrelly is going on with Stripes error handling in wizardswhen 
> attempting to remove error data from a step in the wizard.  Any ideas
> what might be going on and/or how to solve/fix/workaround it?
>
> Melinda Savoy
> Analy Appl Sys II
>
> ITS Supply Management Systems
>
> Texas Health Resources
>
>



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.<>--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] Quest on removing data in error during wizard

2009-03-11 Thread Savoy, Melinda
The scenario is as follows in the context of a Wizard:

1.  During a wizard the user selects 2 items from a list
2.  Upon clicking Next, a business use case error is detected for
one of the items.  Stripes handles the validation error as expected by
forwarding to the originating wizard page and displaying the error
message to the user
3.  The user deletes the item in error and clicks Next again.  When
the user clicks Next, a JavaScript routine literally removes the item
marked for deletion from the HTML DOM so that only the remaining one
item is sent on the second request.
4.  On the next wizard page, the one item that passed validations is
shown as well as a blank line as if another item was sent on the second
Next request even though there was only one item submitted

Something squirrelly is going on with Stripes error handling in wizards
when attempting to remove error data from a step in the wizard.  Any
ideas what might be going on and/or how to solve/fix/workaround it?

Melinda Savoy 
Analy Appl Sys II
ITS Supply Management Systems
Texas Health Resources 




The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Question on RedirectResolution

2008-05-12 Thread Savoy, Melinda
John,
 
Thanks for the reply.  I should have looked at the javadoc.
 
Regards.



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Newman, John W
Sent: Monday, May 12, 2008 2:00 PM
To: Stripes Users List
Subject: Re: [Stripes-users] Question on RedirectResolution



RedirectResolution has a constructor that takes an event name.

 

 

/**

 * Constructs a RedirectResolution that will redirect to the URL
appropriate for

 * the ActionBean supplied.  This constructor should be preferred
when redirecting

 * to an ActionBean as it will ensure the correct URL is always
used.

 *

 * @param beanType the Class object representing the ActionBean to
redirect to

 * @param event the event that should be triggered on the redirect

 */

public RedirectResolution(Class beanType,
String event) {

super(beanType, event);

}

 

=)

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Savoy,
Melinda
Sent: Monday, May 12, 2008 2:53 PM
To: Stripes Users List
Subject: [Stripes-users] Question on RedirectResolution

 

In the following event in one ActionBean I am needing to do a
RedirectResolution to a specific event in another actionBean in my
project, however I cannot find a way to access the event in the other
actionBean (StockStocklessActionBean).  

Here is the current actionBean: 

public Resolution create() { 
if (log.isDebugEnabled()) 
log.info(user.getUserId() + ": Creating
StockStocklessRequisition or StockStockless Credit Requisition at entity
" + user.getCurrentEntity());

user.getSubsystem().getSecurity().setRequisition(stockReq); 
if (user.getSubsystem().getSecurity().isModReq()) { 
this.reqNum = stockService.create(user, stockReq); 
stockService.createApv(user.getUserId(), stockReq); 
}   
context.addMessage("Requsition " + stockReq.getReqNum() + " has
been created."); 
return new
RedirectResolution(StockRequisitionActionBean.class).addParameter(reqNum
, stockReq.getReqNum()).addParameter(entityCode, stockReq.getReqNum());

} 

Any help or direction would be greatly appreciated. 

Melinda Savoy 
Sr. Programmer Analyst 
Financial Applications - Enterprise Systems 


The information contained in this message and any attachments is
intended only for the use of the individual or entity to which it is
addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL,
and exempt from disclosure under applicable law. If you are not the
intended recipient, you are prohibited from copying, distributing, or
using the information. Please contact the sender immediately by return
e-mail and delete the original message from your system. 



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] Question on RedirectResolution

2008-05-12 Thread Savoy, Melinda
In the following event in one ActionBean I am needing to do a
RedirectResolution to a specific event in another actionBean in my
project, however I cannot find a way to access the event in the other
actionBean (StockStocklessActionBean).  

Here is the current actionBean:

public Resolution create() {
if (log.isDebugEnabled())
log.info(user.getUserId() + ": Creating
StockStocklessRequisition or StockStockless Credit Requisition at entity
" + user.getCurrentEntity());
user.getSubsystem().getSecurity().setRequisition(stockReq);
if (user.getSubsystem().getSecurity().isModReq()) {
this.reqNum = stockService.create(user, stockReq);
stockService.createApv(user.getUserId(), stockReq);
}   
context.addMessage("Requsition " + stockReq.getReqNum() + " has
been created.");
return new
RedirectResolution(StockRequisitionActionBean.class).addParameter(reqNum
, stockReq.getReqNum()).addParameter(entityCode, stockReq.getReqNum());
}

Any help or direction would be greatly appreciated.

Melinda Savoy
Sr. Programmer Analyst
Financial Applications - Enterprise Systems



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users