Directory listing error

2010-03-18 Thread Mite

I have created a project few hours ago with the quickstart archetype. I was
able to start it and it was running OK. I created some model classes and
annotated them with hibernate to connect them to my database. Now I try to
run the application (http://localhost:8081/)and all I get is a directory
listing.
When I click some of the files it says:

HTTP ERROR: 403

URI /Index.tml may not be accessed remotely.

I am using Jetty and Eclipse.

I know it is a small chance, but does anyone has an idea what is the
problem?

Thank you
-- 
View this message in context: 
http://old.nabble.com/Directory-listing-error-tp27950872p27950872.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Directory listing error

2010-03-18 Thread DH
Please have a look at your jetty log, there must be some error message when 
deploying your t5 application.


DH

- Original Message - 
From: Mite mitemeis...@gmail.com
To: users@tapestry.apache.org
Sent: Friday, March 19, 2010 9:38 AM
Subject: Directory listing error


 
 I have created a project few hours ago with the quickstart archetype. I was
 able to start it and it was running OK. I created some model classes and
 annotated them with hibernate to connect them to my database. Now I try to
 run the application (http://localhost:8081/)and all I get is a directory
 listing.
 When I click some of the files it says:
 
 HTTP ERROR: 403
 
 URI /Index.tml may not be accessed remotely.
 
 I am using Jetty and Eclipse.
 
 I know it is a small chance, but does anyone has an idea what is the
 problem?
 
 Thank you
 -- 
 View this message in context: 
 http://old.nabble.com/Directory-listing-error-tp27950872p27950872.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 


Re: Directory listing error

2010-03-18 Thread Joost Schouten (ml)



URI /Index.tml may not be accessed remotely.

  

try http://localhost:8081/index, without the .tml

Tapestry by default will look for a /Start page (configurable with [1]), 
it seems like you have one called index and hence tapestry can't map / 
to anything and shows you a directory listing.


If that still doesn't work, something will probably go wrong on startup 
like DH suggested.


Cheers,
Joost

[1]:
public static void contributeApplicationDefaults(
   final MappedConfigurationString, String configuration) {
   configuration.add(tapestry.start-page-name, index);//or any 
other page name you prefer, defaults to Start

   }


DH wrote:

Please have a look at your jetty log, there must be some error message when 
deploying your t5 application.


DH

- Original Message - 
From: Mite mitemeis...@gmail.com

To: users@tapestry.apache.org
Sent: Friday, March 19, 2010 9:38 AM
Subject: Directory listing error


  

I have created a project few hours ago with the quickstart archetype. I was
able to start it and it was running OK. I created some model classes and
annotated them with hibernate to connect them to my database. Now I try to
run the application (http://localhost:8081/)and all I get is a directory
listing.
When I click some of the files it says:

HTTP ERROR: 403

URI /Index.tml may not be accessed remotely.

I am using Jetty and Eclipse.

I know it is a small chance, but does anyone has an idea what is the
problem?

Thank you
--
View this message in context: 
http://old.nabble.com/Directory-listing-error-tp27950872p27950872.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org