No dispather:tWebSettingReinforceGetState

When I start my calculation, I get a window come and he says (no dispather: State of TWebSettingReinforceGet). This after I restored my computer to another restore point. Now, I can't get rid of it. even in a restaurant in another point. How can I get rid of him?

m8000n - using Windows Vista home premiun Hp computer

Thank you

Ed

I installed MFIS again and this time have no problem starting. In your case the problem cannot be caused by the same corrupted file. Find on which Service is causing the problem, I ran MSConfig, open the Services tab, check mark the box hide Services Microsoft and then disabled all services.

Restart the computer. If this cures the problem, open MSConfig again, hide Microsoft services and allow some of the services. Restart the calculation to see if it changed anything. Turn around this activation loop services more again and again until the problem recurs. Now, it's just a matter of finding which service is causing the problem.

Good luck.

Tags: Windows

Similar Questions

  • Unable to deploy adf 12 c app server glassfish 3.1.2

    Hi all

    I'm trying to deploy adf apps (.ear) application developed on 12 c in Server glassfish 3.1.2

    Here is the error that I got when I deployed.

    [#|2015-07-01T20:02:49.422+0800|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=86;_ThreadName=Thread-2;|Critical error during deployment: 
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.weld.jsf.WeldPhaseListener cannot be cast to javax.faces.event.PhaseListener
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:375)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
      at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
      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:2019)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
      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:301)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
      at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)
      at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)
      at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
      at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
      at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
      at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)
      at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)
      at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.ClassCastException: org.jboss.weld.jsf.WeldPhaseListener cannot be cast to javax.faces.event.PhaseListener
      at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:148)
      at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:111)
      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)
      ... 66 more
    |#]
    

    I have found the WeldPhaseListener class in the weblogic.server.merged.jar class but this pot is not in my ear which I am deploying. Even I did grep for this class in the ear, and nothing is found.


    Can someone tell me what could be the reasons for this error and also guide me on how to fix this error, while deploying?


    Thank you

    Naveen dauby

    Shay,

    I couldn't find any reference to this class in all the projects that we have.

    Finally with small trial and error approach, I could find the file asking the questions.

    One of our projects is the file with the following content beans.xml.

    
    
    

    As you said, this file is not used by the adf and it became strong at the point of stem.

    The beans.xml is not longer used in our project and remove this file / filtering this file in the deployment of war profile helped me fix this problem.

    Thanks a lot for your help.

    Kind regards

    Naveen Dauby.

  • Problem with ADF JDeveloper 12 c to Glassfish deployment

    Hello

    I'm new to JDeveloper/ADF, but not for the JSF, etc.. I'm trying to load a simple application of the ADF (a single entity object and object of a view in a model project and a jsf page where I dropped the view of the data control object). We use Glassfish so I'm trying to deploy it and am following blog Shay Shmeltzer (https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to), which deploys on a server Glassfish 3.1 JDeveloper 11. So I use the last JDeveloper, which can be a problem?

    The problem is that my deployment fails. Here are my entries server.log:


    [#: 2013 07-24 T 15: 43:14.908 - 0700 |] WARNING | glassfish3.1.2 | org.apache.catalina.connector.Request | _ThreadID = 88; _ThreadName = wire 2. PWC4011: cannot set the application context UTF-8 character encoding, because the request parameters have already been read, or ServletRequest.getReader () has already been called. #]

    [#: 2013 07-24 T 15: 43:15.014 - 0700 |] INFO | glassfish3.1.2 | org.GlassFish.admingui | _ThreadID = 88; _ThreadName = wire 2. deployment GUI: uploadToTempfile | #]

    [#| 2013-07-24T15:43:15.014-0700|INFO|glassfish3.1.2|org.glassfish.admingui|_ThreadID=88;_ThreadName=Thread-2;|uploadFileName=C:\JDeveloper\mywork\TestADF\deploy\TestADF_Glassfish.ear|#]

    [#: 2013 07-24 T 15: 43:15.278 - 0700 |] GOOD | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. ClassName = com.sun.enterprise.v3.server.ApplicationLifecycle; MethodName = getContext. deployment expansion took 145 | #]

    [#: 2013 07-24 T 15: 43:16.630 - 0700 |] GOOD | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. ClassName = org.glassfish.api.ActionReport; MethodName = failure; unrecognized for module C:\JavaEE\glassfish-3.1.2.2\glassfish\domains\domain1\applications\TestADF_Glassfish|# Module type]

    [#: 2013 07-24 T 15: 43:16.631 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. unrecognized for module C:\JavaEE\glassfish-3.1.2.2\glassfish\domains\domain1\applications\TestADF_Glassfish|# Module type]

    [#: 2013 07-24 T 15: 43:16.631 - 0700 |] GOOD | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. ClassName = org.glassfish.api.ActionReport; MethodName = failure; Exception when deploying the application [TestADF_Glassfish] | #]

    [#: 2013 07-24 T 15: 43:16.631 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. Exception when deploying the application [TestADF_Glassfish] | #]

    [#: 2013 07-24 T 15: 43:16.632 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = thread 2;: java.lang.NullPointerException
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:375)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 1.execute(CommandRunnerImpl.java:348)
    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1200 (CommandRunnerImpl.java:95)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1291)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1259)
    at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)
    at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)
    at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    to com.sun.jersey.spi.container.JavaMethodInvokerFactory$ 1.invoke(JavaMethodInvokerFactory.java:60)
    to com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ ResponseOutInvoker._dispatch (AbstractResourceMethodDispatchProvider.java:205)
    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
    at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
    at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)
    at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)
    at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
    to com.sun.enterprise.v3.services.impl.ContainerMapper$ Hk2DispatcherCallable.call (ContainerMapper.java:354)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:722)
    |#]

    [#: 2013 07-24 T 15: 43:16.636 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.Tools.admin.org.GlassFish.deployment.admin | _ThreadID = 98; _ThreadName = wire 2. Exception when deploying the application [TestADF_Glassfish] | #]

    [#: 2013 07-24 T 15: 43:16.662 - 0700 |] INFO | glassfish3.1.2 | org.GlassFish.admingui | _ThreadID = 88; _ThreadName = wire 2. Exception occurred: error occurred during deployment: Exception when deploying the application [TestADF_Glassfish]. Please see server.log for more details. | #]

    I don't see what about the NullPointerException.

    It is a server Glassfish 3.1.2.2. I get the same message that I have deploy JDeveloper or GlassFish (just try to download the .ear file). Blog of Shay, subsequently, I loaded jars adf-essentials in the zip file and changed the parameters of the JVM. In JDeveloper, I right click on the application and will deploy and click the deployment profile. I click on deploy to the application server and choose my local server to Glassfish.

    I appreciate all help. Thank you.

    Steve

    OK, my problem was my deployment descriptor. When I created a new Glassfish deployment descriptor, it did not automatically the ViewController project in the Application Assembly to the EAR application. So now, the Application Assembly for the EAR includes the deployment for ViewController project (the ViewController project has a dependency on the model project is also included).

    The application now deploys correctly on a Glassfish 3.1 server.

    Steve

  • Failed deploying EJB project that uses the library on Glassfish

    < font size = 4 > Hi,
    I have an application of multi project that I'm developing and I'm having issues test it. I've set up an EAR, WAR, EJB and two pots of library. The EJB contains classes that use components of the library of jars or implement classes abstract library jars. I added the jars of library for the EJB compilation libraries. Next, I added also the jars of library for the libraries of the EAR. However, when I will then deploy the EAR on the Glassfish server, I get this error, displayed in the Glassfish log: < / police > < br >

    < font size = 2 > < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass < / police > < br >
    < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass < / police > < br >
    < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass < / police > < br >
    < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClas < / police > < br >
    < font color = "red" > SEVERE: class [com/foo/sdk/base/InterfaceClass] not found. Error loading [class com.foo2.BeanFooClass] < / police > < br >
    < font color = "red" > SEVERE: Exception when deploying the application [FooEAR] < / police > < br >
    < font color = "red" > SEVERE: [BeanFoo.jar] is not a valid ejb jar: it contains zero ejb. < / police > < br >
    Note:
    1. a valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.
    2 EJB3 + beans entity (@Entity) are a POJO and please pack them as library jar.
    3. If the jar file contains valid EJB which are annotated with EJB annotations level component (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see if annotations have been processed correctly.
    java.lang.IllegalArgumentException: invalid [BeanFoo.jar] ejb jar: it contains zero ejb.
    Note:
    1. a valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.
    2 EJB3 + beans entity (@Entity) are a POJO and please pack them as library jar.
    3. If the jar file contains valid EJB which are annotated with EJB annotations level component (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see if annotations have been processed correctly.
    at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76)
    at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128)
    at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730)
    at com.sun.enterprise.deployment.Application.visit(Application.java:1768)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:799)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:277)
    at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:240)
    at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:170)
    at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:93)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:826)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:768)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
    to 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:1067)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1200 (CommandRunnerImpl.java:96)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1247)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1235)
    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:679)

    < font color = "red" > SEVERE: Exception when deploying the application [FooEAR]: [FooBean.jar] is not a valid ejb jar: it contains zero ejb. < / police > < br >
    Note:
    1. a valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.
    2 EJB3 + beans entity (@Entity) are a POJO and please pack them as library jar.
    3. If the jar file contains valid EJB which are annotated with EJB annotations level component (@Stateless, @Stateful, @MessageDriven, @Singleton), check server.log for see if annotations have been processed correctly. < / police > < br >

    < font size = 4 > I use these technologies:
    The IDE NetBeans 7.0 for Java EE
    GlassFish 3.1

    I read that libraries putting into this directory: < glassfish_home > / domains/Domain1/lib can solve the problem, however there must be a better way.

    Any help would be greatly appreciated! < / make >

    Published by: 866180 on June 15, 2011 14:32

    First, use a normal font when you post a question. That's all just awful to read.

    You have several failures here. Have you actually read and try to understand the error?

    java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass

    Java will not lie, this class is not on the classpath of the application. The jar is missing, the class is missing from the pot or you put the jar in the wrong place. Open the ear with your favorite zip tool and discover its structure. What is the path to the jar inside?

    Also, open the file META-INF / "MANIFEST. MF' inside the EJB jar. Is there a class in that line? It should not be!

    A valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.

    Apparently your EJB jar does not contain a single EJB or MDB class. You forgot a few annotations maybe?

    Seems to me that your application compiles, but other than that it is much broken.

  • Communication between two custom components

    Hello

    I have a problem to get action in a custom component to cause a refresh of another custom component?

    My configuration is:

    < application >

    < component includeIn custom 1 "View1" >

    < component custom 2 id = "custom2" level = "{level}" "view2" includeIn >

    < component custom an includeIn 'View1' >

    < component includeIn custom B "view2" >

    < / application >

    I have a number of custom components load in my main application window.

    In the custom component 1, I have a drop down menu which determines levels 1 to 10.

    When the user chooses a new level, change an event is triggered and the dispathed to the main application that receives it in the UpdateDisplayHandler.

    Component event dispatcher custom 1:

    protected function level_changeHandler(event:IndexChangeEvent):Sub

    {

    var newDisplay:UpdateDisplay = new UpdateDisplay ("UpdateDisplay", level.selectedItem.value);

    dispatchEvent (newDisplay);

    }

    Main application manager:

    protected function updateDisplayHandler(event:UpdateDisplay):Sub

    {

    Level = event.level

    }

    Level information comes to the manager who updates the "level" variable correctly. So far so good.

    The variable "level" is can be linked and analyzed for the custom component 2.

    < components: custom2 id = level "custom2" = "{level}" / >

    The question is how to make my component custom 2 refresh(), reload() then it makes again based on new information of level?

    I will be grateful for any help on this matter.

    Karsten

    Is probably not the cleanest way, but he's going to move you quickly.

    public var levelNumber:int = new int;

    implement

    private var _levelNumber:int;

    public function get levelNumber (): int

    {

    Return _levelNumber;

    }

    public function set levelNumber(value:int):void

    {

    If (value! = _levelNumber)

    {

    _levelNumber = value;

    call the custom here update refresh method

    }

    }

    I don't know your usecase or your architecture so there are probably better ways.

    Maybe like this:

    The main application event handler:

    protectedfunction updateDisplayHandler(event:UpdateDisplay):void

    {//check if there is a change in level and exposes a public service on the part 2}

    If (level! = event.level)

    {

    Level = event.level;

    COMPONENT2.updateOrRefreshBasedOnNewLevelValue (Level);

    }

    }

    HTH,

    Claudiu

Maybe you are looking for