• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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

Stephan
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic