[Esapi-user] Esapi-user Digest, Vol 42, Issue 3

ashish kumar Gautam gautamashishkumar at gmail.com
Tue May 14 12:12:43 UTC 2013


Dear Vijay,

I think, you have to set build path of ESAPI-2.0.1 jar file into your
application.

try once ..........


On Tue, May 14, 2013 at 5:30 PM, <esapi-user-request at lists.owasp.org> wrote:

> Send Esapi-user mailing list submissions to
>         esapi-user at lists.owasp.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.owasp.org/mailman/listinfo/esapi-user
> or, via email, send a message with subject or body 'help' to
>         esapi-user-request at lists.owasp.org
>
> You can reach the person managing the list at
>         esapi-user-owner at lists.owasp.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Esapi-user digest..."
>
>
> Today's Topics:
>
>    1. File Not found Exception (Vijay M)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 14 May 2013 10:03:29 +0530
> From: Vijay M <viijay.mani at gmail.com>
> To: esapi-user at lists.owasp.org, esapi-user-request at lists.owasp.org
> Subject: [Esapi-user] File Not found Exception
> Message-ID:
>         <
> CAFCTOfOsOQW0y8VUZv7H6+gsMYFUbYbZTt1HKmXHRtugAd9tSQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I am Using ESAPI for my application using ESAPI-2.0.1 jar
>
> but i am getting the below exception in my application
> could anyone please help me in this regards,
>
>
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
>
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
>
> java.io.FileNotFoundException
>
>         at
>
> org.owasp.esapi.reference.DefaultSecurityConfiguration.getResourceStream(DefaultSecurityConfiguration.java:518)
>
>         at
>
> org.owasp.esapi.reference.DefaultSecurityConfiguration.loadConfiguration(DefaultSecurityConfiguration.java:429)
>
>         at
>
> org.owasp.esapi.reference.DefaultSecurityConfiguration.<init>(DefaultSecurityConfiguration.java:227)
>
>         at
>
> org.owasp.esapi.reference.DefaultSecurityConfiguration.getInstance(DefaultSecurityConfiguration.java:75)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:597)
>
>         at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:86)
>
>         at org.owasp.esapi.ESAPI.securityConfiguration(ESAPI.java:184)
>
>         at org.owasp.esapi.ESAPI.encoder(ESAPI.java:99)
>
>         at
>
> com.example.project.common.util.security.SecurityValidationUtils.encodeInputForSQLInjection(SecurityValidationUtils.java:251)
>
>         at
>
> com.example.project.server.framework.dao.example.projectBaseDAO.setString(example.projectBaseDAO.java:448)
>
>         at
>
> com.example.project.server.framework.dao.DBConfigurationDAO.selectValue(DBConfigurationDAO.java:124)
>
>         at
>
> com.example.project.server.framework.util.DBConfiguration.refresh(DBConfiguration.java:144)
>
>         at
>
> com.example.project.server.framework.util.DBConfiguration.getApplConfig(DBConfiguration.java:185)
>
>         at
>
> com.example.project.server.framework.util.DBConfigurator.getApplConfig(DBConfigurator.java:148)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:597)
>
>         at
>
> com.example.project.common.configuration.PropertiesConfiguration.getConfig(PropertiesConfiguration.java:119)
>
>         at
>
> com.example.project.common.tdp.util.FilePathConfiguration.getAsMap(FilePathConfiguration.java:333)
>
>         at
>
> com.example.project.server.tdp.batch.tex.ABCInvoker.getPropMap(ABCInvoker.java:192)
>
>         at
>
> com.example.project.server.tdp.batch.tex.ABCInvoker.main(ABCInvoker.java:55)
>
> [com.example.project.server.tdp.batch.tex.AbcMain  2013-05-13 07:01:27,001]
>
> setting ret Value as0
>
> [INFO ] ABC Completed!!!!!
> [com.example.project.server.tdp.batch.tex.AbcMain  2013-05-13 07:01:27,001]
>
> [INFO ] After call to C program.
> [com.example.project.server.tdp.batch.tex.AbcMain  2013-05-13 07:01:27,002]
>
> Thanks in Advance.
>
> Regards,
> Vijay
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.owasp.org/pipermail/esapi-user/attachments/20130514/3bd9e382/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> Esapi-user mailing list
> Esapi-user at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/esapi-user
>
>
> End of Esapi-user Digest, Vol 42, Issue 3
> *****************************************
>



-- 
Best regards,
Ashish K. Gautam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20130514/ab0b8487/attachment.html>


More information about the Esapi-user mailing list