PDA

View Full Version : Help with Resin error


re_plagas
01-05-2011, 12:26 AM
Hi guys I experienced this issue after resolving the 500 Servlet Exception

404 Not Found

/ was not found on this server.

Help me out on this thanks

alex
01-06-2011, 09:18 PM
Hi re_plagas,
Please make sure to define a <database configuration with jdbc/APP_ApacheDerby as jndi-name.

Please see details at: http://caucho.com/resin-4.0/admin/database.xtp

Thanks,
Alex

re_plagas
01-07-2011, 01:05 AM
Now I've hooked up to a server but it shows:

404 Not Found
/StarFruit was not found on this server.

StarFruit is the name of my webapp

Any idea what this means? I tried google it, the best hint was that I needed to setup a virtual host or something along this line? I have no idea. Help me out thanks

alex
01-07-2011, 09:04 PM
Try browsing to the default page of your application:

http://locahost:8080/StarFruit/about.jsp where about.jsp is the page that you expect to see.

Then add that page to welcome-file-list of your webapp: http://www.caucho.com/resin-3.0/config/webapp.xtp#welcome-file-list
web.xml
<web-app ...>
<welcome-file-list>
<welcome-file>about.jsp</welcome-file>
</welcome-file-list>
</web-app>