Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to deploy project due to listener class  RSS feed

 
Nikhil Muskur
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have data base connection which i have configured via a listener class i configured properly
in DD
but still i am not able to deploy the project and server log show that startL.java listener class was not found why is this so as config is proper with the name

here is my server log

[2014-08-01T20:53:59.112+0530] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=34 _ThreadName=admin-listener(3)] [timeMillis: 1406906639112] [levelValue: 1000] [[
Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: contpack.startL.java]]

**if i remove the Listener tag then app runs fine**
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you inadvertently included ".java" in the DD.
 
Nikhil Muskur
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:It looks like you inadvertently included ".java" in the DD.

yeah but tried again with modification but the still same error
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I doubt that it's the same error. Post the relevant excerpt of the DD, the complete error message with stack trace, and the full class name of the listener class (including package).
 
Nikhil Muskur
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:I doubt that it's the same error. Post the relevant excerpt of the DD, the complete error message with stack trace, and the full class name of the listener class (including package).


yeah ...that was the problem sorry didn't check it properly last time thank you
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!