Thanks for the info David.

We had later found out the problem.
The problem was due to the size of WEB-INF/lib
the size of WEB-INF/lib was almost 12 MB, since we had included lot of jar
files and OC4J could not load them up all.

It is now working fine.

Regards,
Puneet Agarwal

Tata Consultancy Services,
C-56, Phase - II, NOIDA 201305 (India)
Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044)
FAX              : +91-120-246 1521

Struts ... Action ... Struts in Action ... Action in Struts ...


                                                                                       
                                
                    David Graham                                                       
                                
                    <grahamdavid1980@        To:     Struts Users Mailing List <[EMAIL 
PROTECTED]>        
                    yahoo.com>               cc:                                       
                                
                                             Subject:     Re: Could not find Java 1.4 
encode method.  Using deprecated 
                    09/10/03 07:23 PM        version.                                  
                                
                    Please respond to                                                  
                                
                    "Struts Users                                                      
                                
                    Mailing List"                                                      
                                
                                                                                       
                                
                                                                                       
                                




--- Puneet Agarwal <[EMAIL PROTECTED]> wrote:
> I get the following error. I searched in the mail-archives
> and found that I am not the first one to encounter this problem.
> But I was unable to find the solution to this.
>
> Would be great if someone could help me on this.

This is not an error.  Struts tries to use the encode method only
available since Java 1.4.  If it fails, it falls back to the deprecated
version from Java 1.3.

David

>
>
>
> 18   2003-09-10 06:01:41,129
> org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:162)
> DEBUG
> [] - Could not find Java 1.4
> encode method.  Using deprecated version.
> java.lang.NoSuchMethodException
>         at java.lang.Class.getMethod0(Native Method)
>         at java.lang.Class.getMethod(Unknown Source)
>         at
> org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:160)
>         at
>
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)

>         at
>
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)

>         at
>
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329)

>         at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>         at
> com.tiger.inf.struts.ActionServlet.init(ActionServlet.java:30)
>         at
>
com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:1956)

>         at
>
com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4355)

>         at
>
com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)

>         at
>
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)

>         at
>
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
>         at
>
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
>         at
>
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)

>         at java.lang.Thread.run(Unknown Source)
>
> Regards,
> Puneet Agarwal
>
> Tata Consultancy Services,
> C-56, Phase - II, NOIDA 201305 (India)
> Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044)
> FAX              : +91-120-246 1521
>
> Struts ... Action ... Struts in Action ... Action in Struts ...
> DISCLAIMER: The information contained in this message is intended only
> and
> solely for the addressed individual or entity indicated in this message
> and
> for the exclusive use of the said addressed individual or entity
> indicated
> in this message (or responsible for delivery of the message to such
> person)
> and may contain legally privileged and confidential information
> belonging
> to Tata Consultancy Services. It must not be printed, read, copied,
> disclosed, forwarded, distributed or used (in whatsoever manner) by any
> person other than the addressee. Unauthorized use, disclosure or copying
> is
> strictly prohibited and may constitute unlawful act and can possibly
> attract legal action, civil and/or criminal. The contents of this
> message
> need not necessarily reflect or endorse the views of Tata Consultancy
> Services on any subject matter. Any action taken or omitted to be taken
> based on this message is entirely at your risk and neither the
> originator
> of this message nor Tata Consultancy Services takes any responsibility
> or
> liability towards the same. Opinions, conclusions and any other
> information
> contained in this message that do not relate to the official business of
> Tata Consultancy Services shall be understood as neither given nor
> endorsed
> by Tata Consultancy Services or any affiliate of Tata Consultancy
> Services.
> If you have received this message in error, you should destroy this
> message
> and may please notify the sender by e-mail. Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




DISCLAIMER: The information contained in this message is intended only and
solely for the addressed individual or entity indicated in this message and
for the exclusive use of the said addressed individual or entity indicated
in this message (or responsible for delivery of the message to such person)
and may contain legally privileged and confidential information belonging
to Tata Consultancy Services. It must not be printed, read, copied,
disclosed, forwarded, distributed or used (in whatsoever manner) by any
person other than the addressee. Unauthorized use, disclosure or copying is
strictly prohibited and may constitute unlawful act and can possibly
attract legal action, civil and/or criminal. The contents of this message
need not necessarily reflect or endorse the views of Tata Consultancy
Services on any subject matter. Any action taken or omitted to be taken
based on this message is entirely at your risk and neither the originator
of this message nor Tata Consultancy Services takes any responsibility or
liability towards the same. Opinions, conclusions and any other information
contained in this message that do not relate to the official business of
Tata Consultancy Services shall be understood as neither given nor endorsed
by Tata Consultancy Services or any affiliate of Tata Consultancy Services.
If you have received this message in error, you should destroy this message
and may please notify the sender by e-mail. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to