cancel
Showing results for 
Search instead for 
Did you mean: 

Error by testing

Former Member
0 Kudos

Hello,

By trying http://fermat:50000/ConverterWEB/

I get the error message:

<b>

403 Forbidden

SAP NetWeaver Application Server 7.10 / AS Java 7.10

You are not authorized to view the content of the requested directory.

Details: Directory listing is not allowed on this server.

</b>

Any idea?

Thank you and Regards,

Tommaso

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Tommaso,

Have you followed the steps exactly as described in the NWDS Welcome page -> Samples -> Deploying and Running the Samples ? The web.xml of the ConverterWEB project should contain a welcome-file-list then.

Hope it helps!

-Vladimir

Former Member
0 Kudos

Hi Vladimir,

Thanks for your reply.

Yes, I controlled it:

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  <display-name>ConverterWEB</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
  <ejb-local-ref> 
   <ejb-ref-name>Converter</ejb-ref-name> 
   <ejb-ref-type>Session</ejb-ref-type> 
    <local>info.cereghetti.tutorial01.ConverterLocal</local> 
  </ejb-local-ref> 
</web-app>

and I think it is ok, isn't it?

Regards,

Tommaso

Vlado
Advisor
Advisor
0 Kudos

Hi Tommaso,

You can try to enable directory listing as follows:

1) Start the Telnet Console Administrator: telnet fermat 50008

2) Login as Administrator / <master_password>

3) add HTTP

4) HOST default -enable dirList

5) Restart the server (e.g. from the SAP Management Console).

Hope it helps!

-Vladimir

Former Member
0 Kudos

Thanks Vladimir!

Your advice is very interesting.

My error was that I saved the index.jsp in the wrong directory.

Regards,

Tommaso

Answers (0)