cancel
Showing results for 
Search instead for 
Did you mean: 

Shared folder access problem in j2ee application

Former Member
0 Kudos

Hi,

We are using SAP Netweaver 04s JAVA system.

In our j2ee application we are trying to access shared resource(file), but ejb is giving exception. Our code is as follows:



File srcDir = new File("\machine_namefolder");
if(!srcDir.exists())
{throw new Exception("directory does not exist", srcSys);
}

It gives expection "FileNotFoundException".

The same j2ee application is working fine when deployed on IBM Websphere.

We trired to access same shared path from windows, it is also working.

Please help us. Thanks in advance.

--sagar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

solve it by own

Vlado
Advisor
Advisor
0 Kudos

Hi,

Please follow .

-Vladimir

Former Member
0 Kudos

i solve it by own. please see my