• Post Reply Bookmark Topic Watch Topic
  • New Topic

TomEE does not start, logFile did not give me an idea what's wrong?  RSS feed

 
Stephan Wöbbeking
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hey, can someone help me to read these logfile extract from TomEE? My application CotU_6 is not starting, other modules (manager, HelloWorld) do start and run.

I think I just lack experience, so maybe someone can take a board and play Zwergen-Halma to me? ;))



Thanks in advance,
Stephan
 
Stephan Wöbbeking
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

No ideas for this at all? I got really stuck here, so any hints are appreciated!

Stephan
 
Paul Clapham
Sheriff
Posts: 22835
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, looking at the log files these appear to be the most serious lines (SCHWERWIEGEND means ERROR, correct?)

02-Nov-2017 10:33:22.158 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults ERROR ... null:  Cannot validate jar: null
02-Nov-2017 10:33:22.161 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults Invalid AppModule(name=CotU_6, path=C:\Program Files\Apache\apache-tomee-plus-7.0.3\webapps\CotU_6)
02-Nov-2017 10:33:22.165 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults FAIL ... CotU_6: Missing required "name" attribute on class-level @EJB usage
02-Nov-2017 10:33:22.169 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults FAIL ... CotU_6: Missing required "beanInterface" attribute on class-level @EJB usage
02-Nov-2017 10:33:22.173 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults Invalid EjbModule(name=CotU_6, path=C:\Program Files\Apache\apache-tomee-plus-7.0.3\webapps\CotU_6)
02-Nov-2017 10:33:22.177 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults FAIL ... CotU_6: Missing required "name" attribute on class-level @EJB usage
02-Nov-2017 10:33:22.181 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults FAIL ... CotU_6: Missing required "beanInterface" attribute on class-level @EJB usage
02-Nov-2017 10:33:22.185 SCHWERWIEGEND [main] org.apache.openejb.config.ReportValidationResults.logResults Invalid WebModule(name=CotU_6, path=C:\Program Files\Apache\apache-tomee-plus-7.0.3\webapps\CotU_6)


Or, cutting out all of the administrative stuff at the left:

ERROR ... null:  Cannot validate jar: null
Invalid AppModule(name=CotU_6, path=C:\Program Files\Apache\apache-tomee-plus-7.0.3\webapps\CotU_6)
FAIL ... CotU_6: Missing required "name" attribute on class-level @EJB usage
FAIL ... CotU_6: Missing required "beanInterface" attribute on class-level @EJB usage
Invalid EjbModule(name=CotU_6, path=C:\Program Files\Apache\apache-tomee-plus-7.0.3\webapps\CotU_6)
FAIL ... CotU_6: Missing required "name" attribute on class-level @EJB usage
FAIL ... CotU_6: Missing required "beanInterface" attribute on class-level @EJB usage
Invalid WebModule(name=CotU_6, path=C:\Program Files\Apache\apache-tomee-plus-7.0.3\webapps\CotU_6)


I can't tell what that "null jar" is all about, but the other messages are referring to an @EJB annotation somewhere. Perhaps tracking that down and fixing it might move your project forward?
 
Stephan Wöbbeking
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Paul,

thanks for your ideas. I had been looking for those classes before but didn't get me anywhere. In the meanwhile I got rid of the lines with a problem with "name" - it appears there where some derby or log4j jars missing; no idea how someone would guess that from.

No I have removed the only one EJB annotation I had introduced so far into my project. The beanInterface problems are gone, but this is left:



Unfortunately the mistery is not less for me now. But thanks for the hints anyway...

Some other ideas?

Thanks,
Stephan
 
Stephan Wöbbeking
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

There are other funny lines in the log, occuring some time before those "schwerwiegend = severe" errors:



the "null" in the package class looks odd to me, rings a bell for someone?

Stephan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!