Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frontman 2 FileNotFoundException ?

 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I keep getting a file not found exception when starting tomcat

Web XML


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Turn on debug logging for org.bibeault.frontman. it should give us more of a clue of what it is looking for,
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have Log4j enabled for your application? If not, that's step 1.
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so add a logger:


 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the complete output when trying to start tomcat.
This was done through eclipse

 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, yeah that list should only contain .jar files. I need to investigate...
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Hmm, yeah that list should only contain .jar files. I need to investigate...


Cool, thanks
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

Has this issue been looked into or resolved?

thanks
john
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this help?
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic