otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Installation and Upgrades Getting past the first step - installing and upgrading OTM / G-Log.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 29th, 2007, 15:49
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 7
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
acuartero is on a distinguished road
java.io.FileNotFoundException on Stylesheets

Hello,

I am migrating from OTM 5.0 on Windows to Linux. Everything is working fine with one exception we have some custom Stylesheets that OTM seems unable to reference correctly. When these were originally created under the Windows environment the path referencing them used the Windows standard “\” convention in the file name. Thinking that this was the source of the error I changed these references to UNIX standard pathing (using “/”) however I am still getting the error. The ownership and permissions on these files is identical to the standard stylesheets and does not appear to be the issue. I suspect that the error “java.io.FileNotFoundException” is a non-sequitur and is not indicating the true problem. I say this because if the stylesheet is copied to both the glog/integration/client/xsl directory and the apache/htdocs/xsl/workflow directory the error shows up twice (once for each path) but if the stylesheet is actually removed from one of the directories only the directory that actually contains the stylesheet shows up as in error. So the file is not found only in the directory in which it actually exists!

The errors from the console.log look like this

INFO | jvm 1 | 2007/08/21 18:52:04 | java.io.FileNotFoundException: /u01/app/otm50prod/apache/htdocs/xsl/u01/app/otm50prod/glog/integration/client/xsl/public_plannedshipment.xsl: No such file or directory

INFO | jvm 1 | 2007/08/21 15:03:55 | java.io.FileNotFoundException: /u01/app/otm50prod/apache/htdocs/xsl/workflow/OutboundASN3.xsl: No such file or directory

Any suggestions would be appreciated.

Regards,
Alan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 29th, 2007, 18:36
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 821
Blog Entries: 7
Thanks: 53
Thanked 201 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: java.io.FileNotFoundException on Stylesheets

Alan,

I've seen similar errors at a couple of clients, though I'm not able to explain exactly why it's happening. In order to resolve, I've done the following:
  • Ensure that your file descriptor limits are high enough, using "ulimit -a". I doubt this is it, but always worth a try.
  • Ensure the file permissions and ownership of each directory underneath the referenced file are correct - recursively, up to root ("/").
  • The FileNotFound can apply to the named file, but also sometimes (incorrectly) applies to a file that either references or is referenced within the named file. In order to troubleshoot this:
    • Change the xsl include statements in each (the named file, any file that references it, and any file the named file references --- wow, say that 3 times fast) to an absolute path. So instead of workflow/file.xsl, it would be /opt/otm50/apache/htdocs/xsl/workflow/file.xsl
I also saw similar behavior within the OTM / GC3 QA environments during various releases. i think this may be a well hidden code issue that we never resolved.

Hope this helps.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old August 29th, 2007, 22:44
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 7
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
acuartero is on a distinguished road
Re: java.io.FileNotFoundException on Stylesheets

Thank you Chris, after your post I investigated further and found that the stylesheet itself is in fact referencing the GLogXML.xsd using a Windows style path. Which is pretty much what you described as a possibility. This all seems vaguely familiar now, I may have encountered this once before.... Thanks for the help.

-Alan

Last edited by acuartero : August 29th, 2007 at 22:47.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tender Stylesheets - Multiple xsl:when conditions tangfj Branding, Screen Sets, XSL/CSS and Translations 3 October 3rd, 2007 19:40
java.lang.nullpointerexception sknmail@rediffmail.com Branding, Screen Sets, XSL/CSS and Translations 3 September 14th, 2007 14:51
Stylesheets in 5.5 Rajashree Branding, Screen Sets, XSL/CSS and Translations 1 August 30th, 2007 20:12
[SOLVED] Obtaining Thread Dumps from the OTM Java JVM Processes chrisplough SysAdmin and Management 0 June 13th, 2007 18:03
[SOLVED] RWServletProxy Exception: java.io.IOException when Running Reports chrisplough Reports / FTI and Other Analytics 2 May 8th, 2007 14:54



All times are GMT. The time now is 21:45.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37