aspose file tools*
The moose likes Other Application Frameworks and the fly likes Frontman 2 FileNotFoundException ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Frontman 2 FileNotFoundException ?" Watch "Frontman 2 FileNotFoundException ?" New topic
Author

Frontman 2 FileNotFoundException ?

John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
I keep getting a file not found exception when starting tomcat

Web XML


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Turn on debug logging for org.bibeault.frontman. it should give us more of a clue of what it is looking for,


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
Bear Bibeault wrote:Turn on debug logging for org.bibeault.frontman. it should give us more of a clue of what it is looking for,


Stupid question, but how do you turn the logging on?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Do you have Log4j enabled for your application? If not, that's step 1.
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
Bear Bibeault wrote:Do you have Log4j enabled for your application? If not, that's step 1.



yes, i use it for basic logging

Below is my properties file



Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

OK, so add a logger:


John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
This is the complete output when trying to start tomcat.
This was done through eclipse

John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
Seems this may be the culprit:

jndi:/localhost/NID/WEB-INF/lib/.svn/

on Line 101 of CommandFinder.java



When it gets to jndi:/localhost/NID/WEB-INF/lib/.svn/, this is a hidden file. I guess it goes there when i set up svn.
I use Sysdeo Eclipse Tomcat Launcher plugin, so i can debug directly through eclipse.
So all of my directories have .svn hidden folders in them because of subversion.

I guess this would be a bug, maybe check if the file exists?
What would be your recommendation on how to handle this situation?

EDIT: If i delete that hidden folder it starts with no errors.

thanks
John
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Hmm, yeah that list should only contain .jar files. I need to investigate...
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
Bear Bibeault wrote:Hmm, yeah that list should only contain .jar files. I need to investigate...


Cool, thanks
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
Hi Bear,

Has this issue been looked into or resolved?

thanks
john
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

No sorry... I've been underwater for a few months now! Hoping to be able to come up for air soon!
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
Not a problem.

Do you happen to have any examples of how to do the friendly url writing in frontman 2 in the mean time?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Does this help?
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 188
Ill give this a try tonight and let you know
thanks.

P.S. I have my first website live running Frontman2
Everything looks pretty good
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Frontman 2 FileNotFoundException ?