Java Error Creating Managed Object For Class
here for a quick overview injectionexception: error creating managed object for class of the site Help Center Detailed answers to error creating managed object for class glassfish any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error creating managed object for class class org.apache.struts2.tiles.StrutsTilesListener up vote 1 down vote favorite [#|2013-08-19T11:00:26.424+0200|SEVERE|glassfish3.1.2|org.apache.catalina.core.ContainerBase|_ThreadID=90;_ThreadName=Thread-2;|ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException : Error creating managed object for class: class org.apache.struts2.tiles.StrutsTilesListener at org.apache.catalina.core.StandardContext.start(StandardContext.java:5332) at com.sun.enterprise.web.WebModule.start(WebModule.java:498) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917) I am at whit's end. The application in question deploys fine on glassfish 3.0.2 (with a LOT of apps deployed). It deploys fine on two different development machines (Glassfish 3.1.2). So far all running Oracle (SUN) JVMs. It deploys fine in a OpenSUSE VM, with OpenJDK 1.7, Glassfish 3.1.2.2 On our (all) our production machines, running OpenJDK1.6, Glassfish 3.1.2.2, we get the above problem. I'm pretty certain this is some library version conflict of some kind, but I do NOT know where to look anymore. The project pom.xml follows: here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error in Deploying Java http://stackoverflow.com/questions/18336788/error-creating-managed-object-for-class-class-org-apache-struts2-tiles-strutstil Enterprise Application on Glassfish 3.1 up vote 0 down vote favorite I have an enterprise application and on deploying I get the following error message. Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.glassfish.webservices.WSServletContextListener. Please see server.log for more details. How do I go about solving it? java java-ee glassfish-3 glassfish-4 http://stackoverflow.com/questions/28833826/error-in-deploying-java-enterprise-application-on-glassfish-3-1 share|improve this question edited Mar 3 '15 at 14:07 Ibrahim Apachi 1,30431543 asked Mar 3 '15 at 14:05 RonnickNachok 12 Show your server.log, and read exceptions with care. –Everv0id Mar 3 '15 at 14:07 Clean & Build your project, restart Glassfish and redeploy. If this doesn't help, update the question with the complete exception stacktrace. –unwichtich Mar 3 '15 at 14:31 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Browse other questions tagged java java-ee glassfish-3 glassfish-4 or ask your own question. asked 1 year ago viewed 383 times Blog Stack Overflow Podcast #91 - Can You Stump Nick Craver? Related 0Glassfish 3.1: spring error during deploy of web application7Context path for web application on Glassfish 3.1.2.21exception while deploying ADF in Gl not work correctly without it enabled. Please turn JavaScript back on and reload https://developer.jboss.org/thread/180154 this page. All Places > Weld > Discussions Please enter a title. You can not http://xwiki.475771.n2.nabble.com/Xwiki-5-3-deployment-issue-on-Glassfish-4-0-quot-WeldListener-quot-td7588426.html post a blank message. Please type your message and try again. 2 Replies Latest reply error creating on Sep 22, 2011 4:11 PM by Uros Majeric Glassfish 3.1.1 with seam-config-xml issue Uros Majeric Sep 22, 2011 3:40 PM When I am deploying a simple app with seam-config-xml 3.0.0.Final error creating managed on Glassfish 3.1.1 (clean installation) I am getting the exception bellow.The simplest project that reproduces this error can be downloaded here. Is this a bug or am I missing something or even have something wrong?org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.seam.solder.resourceLoader.servlet.ResourceListener at org.apache.catalina.core.StandardContext.start(StandardContext.java:5332) at com.sun.enterprise.web.WebModule.start(WebModule.java:498) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459) at com.sun.enterprise.v3.admin.Admin in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Xwiki 5.3 deployment issue on Glassfish 4.0, "WeldListener" This post has NOT been accepted by the mailing list yet. All the guides that involve Xwiki (xwiki-enterprise-web-5.3.war) setup use a v 3.x version of glassfish, however we are trying to get this set up on Glassfish 4.0During deployment using the web admin console get the following error: An error has occurred Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener. Please see server.log for more details.Has anyone successfully deployed on Glassfish v 4.0? Does anyone have a solution? Quaternion Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Xwiki 5.3 deployment issue on Glassfish 4.0, "WeldListener" This post has NOT been accepted by the mailing list yet. This post was updated on . I'm kind of interested in resolving this issue but on the forum "http://dev.xwiki.org/xwiki/bin/view/Community/Forum" it states that this message has not been approved for the mailing list ("This post has NOT been accepted by the mailing list yet. "). I've been trying to post on this list for a couple days before trying this forum. More eyes would certainly be better. See if anyone has tried a deployment on the latest glassfish. Quaternion Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Xwiki 5.3 deployment issue on Glassfish 4.0, "WeldListener" This post has NOT been accepted by the mailing list yet. Having not looked at the xwiki code but it looks like the war may want to control Glassfish in some way using a pre GF 3.1 api, since then a new API should be used: https://java.net/jira/browse/GLASSFISH-14635?page=com.atlassian.streams.streams-jira-plugin%3Aactivity-stream-issue-tab sloby Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Xwiki 5.3 deplo