reset password
Author Message
Sanaz_6101
Posts: 40
Posted 22:19 Oct 15, 2009 |

Hi

In csns project im getting 404 error and dont know what is wrong with it? this I guess happened aftes I chaned buil.xml in order to zip files and creating tag. I need to go over the csns to see the smaple of survey model

please let me know what to do

Thanks

 

cysun
Posts: 2935
Posted 11:20 Oct 16, 2009 |

There could be many causes for a 404 error. Use version control to see exactly what was changed and revert it if necessary; look into the log file and see what error message you've got. If you still can't fix it, come to my office hours on Monday.

Sanaz_6101
Posts: 40
Posted 11:37 Oct 16, 2009 |

Hi Dr. Sun

Here is the last error in my log file :

Caused by: java.lang.IllegalStateException: The CacheManager is not alive.
    at net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:730)
    at net.sf.ehcache.CacheManager.removeCache(CacheManager.java:657)
    at org.hibernate.cache.EhCache.destroy(EhCache.java:181)
    ... 22 more
2009-10-13 15:51:29,321  WARN CacheManager: CacheManager already shutdown

cysun
Posts: 2935
Posted 11:47 Oct 16, 2009 |
Sanaz_6101 wrote:

Caused by: java.lang.IllegalStateException: The CacheManager is not alive.
    at net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:730)
    at net.sf.ehcache.CacheManager.removeCache(CacheManager.java:657)
    at org.hibernate.cache.EhCache.destroy(EhCache.java:181)
    ... 22 more
2009-10-13 15:51:29,321  WARN CacheManager: CacheManager already shutdown

There should be more before this.

Sanaz_6101
Posts: 40
Posted 11:52 Oct 16, 2009 |

here is my logFile

Attachments:
cysun
Posts: 2935
Posted 12:08 Oct 16, 2009 |
Sanaz_6101 wrote:

here is my logFile

It's a log file from three days ago.  The warning doesn't seem to have anything to do with the current 404 error, which seems to indicate that the project was not deployed (thus it didn't generate any error message in the application log).

Try the following:

  • Stop the server.
  • In the Servers view, delete csns under the server.
  • In the menu, select Project -> Clean... -> Clean all projects
  • Delete csns-*.xml and web.xml under web/WEB-INF
  • Refresh the project
  • Run the project again

If this does not work, you need to bring your laptop to my office hours.

Sanaz_6101
Posts: 40
Posted 12:19 Oct 16, 2009 |

Thank you so much

now is working fine Smile

melon_tech
Posts: 15
Posted 21:11 Oct 18, 2009 |
cysun wrote:
Sanaz_6101 wrote:

here is my logFile

It's a log file from three days ago.  The warning doesn't seem to have anything to do with the current 404 error, which seems to indicate that the project was not deployed (thus it didn't generate any error message in the application log).

Try the following:

  • Stop the server.
  • In the Servers view, delete csns under the server.
  • In the menu, select Project -> Clean... -> Clean all projects
  • Delete csns-*.xml and web.xml under web/WEB-INF
  • Refresh the project
  • Run the project again

If this does not work, you need to bring your laptop to my office hours.

 

Hi ,

I have 404 error after adding new model classes, hbm mapping files into the project and change hbm config file and run on the server again. I am not sure it is same problem as Sanaz_6101 but I followed the above instructions but it does not work. I have attached the log file. for mapping error, although i can successfully generate csns.ddl, there is one exception for mapping issue. Any idea? Thanks.

 

 

 

 

Attachments:
Last edited by melon_tech at 21:24 Oct 18, 2009.
cysun
Posts: 2935
Posted 21:21 Oct 18, 2009 |
melon_tech wrote:
... 

The error message is very clear. Read it carefully and fix the problem.

melon_tech
Posts: 15
Posted 21:47 Oct 18, 2009 |
cysun wrote:
melon_tech wrote:
... 

The error message is very clear. Read it carefully and fix the problem.

 

problem solved