# Tomcat 6: java.io.IOException: Failed to access resource /WE

**URL:** <https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831>\
**Category:** SLES Configure-Administer\
**Created:** [October 22, 2016, 11:50am UTC](https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831 "2016-10-22T11:50:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![baedamichi](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@baedamichi](https://forums.suse.com/u/baedamichi)\
**Post date:** [October 22, 2016, 11:50am UTC](https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831/1 "2016-10-22T11:50:11Z")

</div>

Hello community,

I posted my problem on [http://www.linuxquestions.org/questions/linux-newbie-8/problems-with-tomcat6-cannot-access-tomcat-manager-firewall-blocks-port-8080-a-4175591495/](http://www.linuxquestions.org/questions/linux-newbie-8/problems-with-tomcat6-cannot-access-tomcat-manager-firewall-blocks-port-8080-a-4175591495/) but there, I was told this is a Novell/Suse specific problem, so I’m hoping to find some experts here.

I did a clean install of OES2015 (which basically just is an SLES with a few Novell/Micro Focus addons), and I want to use tomcat6.

Tomcat6 is working fine, apart from one error message I find in the catalina.out.

The error reads:

java.io.IOException: Failed to access resource /WEB-INF/lib/[taglibs-core].jar

Does anyone know what that means and how I can get rid of it? Probably an easy one for an SLES expert, but for me (coming from the Windows world), it’s hard to understand this error / find a solution.

Any help is greatly appreciated. 🙂

Have a wonderful day!

Peter

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [October 22, 2016, 4:13pm UTC](https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831/2 "2016-10-22T16:13:24Z")

</div>

Hi  
Are the file permissions/ownership correct for the jar files?

---

<div class="post-metadata">

**Author:** ![baedamichi](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@baedamichi](https://forums.suse.com/u/baedamichi)\
**Post date:** [October 23, 2016, 1:57pm UTC](https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831/3 "2016-10-23T13:57:46Z")

</div>

[QUOTE=malcolmlewis;34862]Hi  
Are the file permissions/ownership correct for the jar files?[/QUOTE]

I apologize for my incompetence, but I don’t really know, coming from a Windows world, I’d still call myself an absolute beginner…

I checked all the links from /WEB-INF/lib/[taglibs-core].jar, which is a cascade of symlinks over like 6 or seven files/links. But all the symlinks, including the “real” .jar file which is the “final destination” of the mentioned cascade of symlinks, have the same permissions/ownership.

Owner is root, permissions for owner are read/write, for group “root” it’s read only and for “others” it’s read only as well. No permission to execute the file.

I don’t know if owner should be “tomcat”, but on the other hand, I once again have to mention that this is a clean install and I didn’t mess with any file permissions, so the permissions should be set correctly during installation, right?

Anyway, tomcat6 works perfectly, even though there is this error message. But being someone who doesn’t like error messages, I still would like to get to the bottom of this, just out of curiosity.

Maybe I also have to add that this is not a production server but just a virtual machine in a testing environment, so if you need me to try anything to find the cause, just go ahead, I can always reset the virtual machine to an earlier state if I mess anything up. 🙂

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [October 23, 2016, 5:35pm UTC](https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831/4 "2016-10-23T17:35:27Z")

</div>

> [@](#):
>
> On Sun 23 Oct 2016 11:04:01 AM CDT, baedamichi wrote:
> 
> malcolmlewis;34862 Wrote:[color=blue]
> 
> > Hi  
> > Are the file permissions/ownership correct for the jar files?[/color]
> 
> I apologize for my incompetence, but I don’t really know, coming from a  
> Windows world, I’d still call myself an absolute beginner…
> 
> I checked all the links from /WEB-INF/lib/[taglibs-core].jar, which is a  
> cascade of symlinks over like 6 or seven files/links. But all the  
> symlinks, including the “real” .jar file which is the “final  
> destination” of the mentioned cascade of symlinks, have the same  
> permissions/ownership.
> 
> Owner is root, permissions for owner are read/write, for group “root”  
> it’s read only and for “others” it’s read only as well. No permission to  
> execute the file.
> 
> I don’t know if owner should be “tomcat”, but on the other hand, I once  
> again have to mention that this is a clean install and I didn’t mess  
> with any file permissions, so the permissions should be set correctly  
> during installation, right?
> 
> Anyway, tomcat6 works perfectly, even though there is this error  
> message. But being someone who doesn’t like error messages, I still  
> would like to get to the bottom of this, just out of curiosity.
> 
> Maybe I also have to add that this is not a production server but just a  
> virtual machine in a testing environment, so if you need me to try  
> anything to find the cause, just go ahead, I can always reset the  
> virtual machine to an earlier state if I mess anything up. 🙂

Hi  
AFAIK as long as the jar files are readable, should be fine.

Maybe something missing in the policy file or a missing file the jar  
file is looking for?

You could also browse/post over in the OES forums (My Tomcat  
exposure/experience is limited to SUSE Manager) as there maybe something  
more specific to OES integration, [https://forums.microfocus.com](https://forums.microfocus.com) same  
username/password.

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.34-33-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![baedamichi](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@baedamichi](https://forums.suse.com/u/baedamichi)\
**Post date:** [October 23, 2016, 7:14pm UTC](https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831/5 "2016-10-23T19:14:50Z")

</div>

[QUOTE=malcolmlewis;34878]Hi  
AFAIK as long as the jar files are readable, should be fine.

Maybe something missing in the policy file or a missing file the jar  
file is looking for?

You could also browse/post over in the OES forums (My Tomcat  
exposure/experience is limited to SUSE Manager) as there maybe something  
more specific to OES integration, [https://forums.microfocus.com](https://forums.microfocus.com) same  
username/password.  
[/QUOTE]

Thanks for the hint, I did just that, let’s see what the people over at Micro Focus have to say:

[https://forums.novell.com/showthread.php/500866-Tomcat6-error-java-io-IOException?p=2442291#post2442291](https://forums.novell.com/showthread.php/500866-Tomcat6-error-java-io-IOException?p=2442291#post2442291)

Cheers, Peter

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [October 23, 2016, 8:58pm UTC](https://forums.suse.com/t/tomcat-6-java-io-ioexception-failed-to-access-resource-we/28831/6 "2016-10-23T20:58:09Z")

</div>

> [@](#):
>
> On Sun 23 Oct 2016 04:24:01 PM CDT, baedamichi wrote:
> 
> malcolmlewis;34878 Wrote:[color=blue]
> 
> > Hi  
> > AFAIK as long as the jar files are readable, should be fine.
> > 
> > Maybe something missing in the policy file or a missing file the jar  
> > file is looking for?
> > 
> > You could also browse/post over in the OES forums (My Tomcat  
> > exposure/experience is limited to SUSE Manager) as there maybe  
> > something more specific to OES integration,  
> > [https://forums.microfocus.com](https://forums.microfocus.com) same username/password.  
> > [/color]
> 
> Thanks for the hint, I did just that, let’s see what the people over at  
> Micro Focus have to say:
> 
> [https://forums.novell.com/showthread.php/500866-Tomcat6-error-java-io-IOException?p=2442291#post2442291](https://forums.novell.com/showthread.php/500866-Tomcat6-error-java-io-IOException?p=2442291#post2442291)
> 
> Cheers, Peter

Hi  
Looking in SUSE Manager tomcat WEB-INF/lib directory I do see the files  
(softlinks) owned by user tomcat and group tomcat as well as the  
directory ownership. The files linked to are owned by root:root.

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.34-33-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!
