cannot publish but manual can't deploy to the administration console
Hello
I work on a project with spring 4.23, 4.03 spring-security. Work well with weblogic maven plugin, I can deploy on the weblogic 12.1.2 without problem.
But when I use the strange thing of service edition arrives and the publication has not, I am sure that I have @EnableWebSecurity and @Configuration in my SecurityConfig file
Kindly help me to understand what goes wrong, thank you.
Here is the error:
weblogic.application.ModuleException: java.lang.IllegalStateException: org.springframework.security.config.annotation.ObjectPostProcessor is a required bean. Make sure that you have used @EnableWebSecurity and @Configuration
java.lang.Exception: Exception received from the pilot deployment. Check the log of the errors discovered for more details.
at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:189)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.redeploy(WlsJ2EEDeploymentHelper.java:644)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:474)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1455)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:913)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:704)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:555)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3172)
to org.eclipse.wst.server.core.internal.Server$ PublishJob.run (Server.java:345)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: weblogic.application.ModuleException: java.lang.IllegalStateException: org.springframework.security.config.annotation.ObjectPostProcessor is a required bean. Make sure that you have used @EnableWebSecurity and @Configuration
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:213)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:729)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:586)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:339)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:846)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1275)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:442)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:176)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
in weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 100 (DeploymentReceiverCallbackDeliverer.java:13)
to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 2.run(DeploymentReceiverCallbackDeliverer.java:68)
to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:550)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
Caused by: java.lang.IllegalStateException: org.springframework.security.config.annotation.ObjectPostProcessor is a required bean. Make sure that you have used @EnableWebSecurity and @Configuration
to org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$ 1.postProcess(WebSecurityConfigurerAdapter.java:79)
at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.getHttp(WebSecurityConfigurerAdapter.java:172)
at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.init(WebSecurityConfigurerAdapter.java:290)
at com.gammon.pcms.config.SecurityConfig.init(SecurityConfig.java:0)
at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.init(WebSecurityConfigurerAdapter.java:67)
at com.gammon.pcms.config.SecurityConfig.init(SecurityConfig.java:0)
to com.gammon.pcms.config.SecurityConfig$ $EnhancerBySpringCGLIB$ $66e1b5df.init (< generated >: 0)
at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.init(AbstractConfiguredSecurityBuilder.java:370)
at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.doBuild(AbstractConfiguredSecurityBuilder.java:324)
at org.springframework.security.config.annotation.AbstractSecurityBuilder.build(AbstractSecurityBuilder.java:41)
at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration.springSecurityFilterChain(WebSecurityConfiguration.java:105)
to org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$ $EnhancerBySpringCGLIB$ $d9c7728c. CGLIB$ springSecurityFilterChain$ 2(<generated>:0))
to org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$ $EnhancerBySpringCGLIB$ $d9c7728c$ $FastClassBySpringCGLIB$ $d5f1163a.invoke (< generated >: 0)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
to org.springframework.context.annotation.ConfigurationClassEnhancer$ BeanMethodInterceptor.intercept (ConfigurationClassEnhancer.java:318)
to org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$ $EnhancerBySpringCGLIB$ $d9c7728c.springSecurityFilterChain (< generated >: 0)
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 org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:661)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:241)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:198)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:186)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1783)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:822)
to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:360)
to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:356)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
I fixed that with the help of the link below:
https://github.com/spring-projects/spring-loaded/issues/49
I have replace under method in my SecurityConfig:
@Override
@Autowired
public void setObjectPostProcessor (ObjectPostProcessor
Tags: Fusion Middleware
Similar Questions
-
I know my Apple ID and have changed my password. But I can't connect to the ITunes Store. Cannot understand it.
-
I use 5s iPhone and upgrade to iOS 9.3.1 but he can't get all the features...
What features Miss do you?
-
I want to use Outlook Web Access for Mac (snow leopard 10.6.8), I don't want to use the light version, I want the full version but I can't push off the mark on the light version. I have firefox 3.6.10
(1) you must update at least Firefox 3.6.24 because there are questions of SECURITY of KNOWN MANY with the version you are using.
(2) the light version is required on non - IE browsers, except if you are running Exchange Server 2010. With Exchange 2010 they added support for multiple browsers run in the version "no light".
-
Blue contours appeared and I can't control my iphone 5 s. I can't go to settings. I triple click on the button "home" and gives a message to go into settings and enter the password but I can't get to the settings. What does not work? Thank you
The blue plan is switch control.
s http://gettecla.com/blogs/News/15538916-what-is-switch-control-mode-in-apples-IO
Triple click to get rid of him.
"Siri to the rescue. I said turn off the control switch. »
Re: How to disable the switch control
I don't get a request for an access code. What is a school system?
switch control
Settings > general > accessibility > switching control
R
-
WiFi is connected but I can't connect to the net, what to do?
WiFi is connected but I can't connect to the net, what to do?
Hi Torrespa,
1. what happens when you try to connect to the internet?
2. were you able to use the Wi - Fi connection earlier?
3. what brand & model of network card?
You can follow this link & check if the problem persists:
How to fix wireless network connections in Windows XP Service Pack 2?
Reference: Wired and wireless in Windows network connection problemsTo set up automatic wireless network configuration
Hope the helps of information.
-
Remote Desktop does not work
Hello
I have a desktop PC with windows XP (Professional) on this subject, but I can't access to the pc through the remote desktop tool. I already checked several options, but nothing seems to work. I don't even get an error message, the window just those which blinks and nothing happens...
Could you please help?
This is wat I already checked:
-"allow users to connect remotely...". ' is running
-TCP/IP listening on port 3389
-Terminal services are started
-J' tried connecting to Windows 7 and Windows XP, nothing works
-Ping the ip address of the client PC works fine
If you have any other ideas, I would be very gratefull!
Thanks to advandce
You will probably need to open port 3389 on your router so that it maps on the computer that is tuned to the connections of the DRC. It seems that you did all the other steps, but your router can prevent the connection to go anywhere. Here's a detailed guide to configure your router for DRC that can provide some guidance.
-
My wireless on my laptop will read the files on my desktop but I can't connect to the internet, hard wire my laptop iI unless other computers work fine
The following diagnostic information:
- Connect your laptop wireless so that you can "read the files on your desktop."
- Open a command prompt window (start > run > cmd > OK)
- Type the following command in the black command prompt window and press enter
ipconfig/all > "% userprofile%\Desktop\testdata.txt".
- Let the window open orders and "hard wire" your laptop to connect to Internet
- Type the following commands in the black command prompt window and press ENTER after each one
ipconfig/all > "% userprofile%\Desktop\testdata.txt".
Notepad '% userprofile%\Desktop\testdata.txt '. - Copy and paste the contents of the testdata.txt file into your answer here
Please note that there are 2 for the second command ipconfig > characters.
You can close and remove testdata.txt (which is located on your desktop) and close the command prompt window.
-
* Original title: INSTAGRAM BETA
I have an active instagram account but I can't access despite the fact that my user name and password are correct.
How can I fix?
Help, please.
You will need to contact Instagram. We have no knowledge of their systems
-
I have creative cloud but I can't find in the package lead Edge and I need it for some exercises, how do I get it, thanks
You can also download it via the direct link:
Direct download links of Adobe CC 2015: 2015 creative cloud release | ProDesignTools
-
My account says I paid for Adobe Reader DC, but I can't access all the features.
[Title edited... MOD]
did you buy or sign up for a subscription?
If you subscribe, install the cc desktop application, if it is not already installed.
then check that your current account (and only the adobe, used in the next step id is good) by logging in here and check the status of your subscription, https://www.adobe.com/account.html
then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-
I have five-point-something Lightroom thing set up on a laptop and a desktop Apple computer. Both will import images from a CD or a DVD (I have my film scanned and the images on a disk). I can't change the images on the Mac, but I can edit images on the PC. What is going on? Also, when I try to export edited disk images, where are they going? I can't find them on my hard drive. Thank you!
Your entire development is off? You may be able to disconnect and reconnect. You can check this thread for more suggestions:
I was expecting an error message indicating that the development module is disabled, however. If this isn't what you're talking about, please show us a screenshot of the 'dark' buttons
Mike
-
I bought the Adobe Photoshop classroom in a book for CS6 by chance and I CC. I know, stupid mistake. But I can't take back the book. Is is quite similar to CC I can always get the use of the book? Thank you very much
Each version of Adobe products is based on the previous ones. Some things like filters and advanced features may change or become obsolete over time, but the basic tools remained much the same for decades. As long as you know there are subtle differences between the versions, I think that you will always get a large part of the value of C to a and B for CS6.
Also see the tutorials online CC
Tutorials Photoshop CC | Learn how to use Photoshop CC
Nancy O.
-
Where exactly the username is. I know that my ID and PW, but I can't connect to the installer of creative cloud
Use the e-mail address associated with your account.
-
I uninstalled Acrobat CC but I can't reinstall on the same computer
I uninstalled Acrobat CC but I can't reinstall on the same computer, Application Manager has always said that I installed it in the computer.
How can I get Application Manager to recognize that Acrobat has been uninstalled once, so I can reinstall?
Found the answer, apparently I need to uninstall the Acrobat Pro XI in another folder as well. Applications > utilities > Adobe Installers > Adobe Acrobat Pro XI (double-click & Uninstall)
The rest will follow.
Maybe you are looking for
-
How to clear the cache keyboard on iPhone?
I am a new user of iPhone. so it would be a stupid question, please never mind. During the strike, I discovered the suggestions were wrong, perhaps that the system just remembered the bad old tying. I need to erase the coz it's very annoying. Someone
-
Satellite A100-206 supervisor password problem
Hello We have a Satellite A100-206 at the office. A colleague trying to protect the laptop set the user password in the bios.I do not exactly know what she does but at startup is asked for a password. Then she ask me to remove the password so I typed
-
Pavilion dm1z-4200: Pavilion dm1z-4200 multiple problems
My laptop, model mentioned above, is about 4 years old and the display of several annoying habits or problems of age at least. First, he takes a loonngg to exit the mode time "sleep" despite the repeated keyboard taps, clicks of mouse and touchpad ta
-
Activity report of my child is generated automatically?
If it is generated automatically, how often? If it is not generated automatically, how to request a report?
-
void / vi façade opens when main vi opens
When I opened my main vi I one of my signs in front of vi that opens. I looked in properties for the sub vi and see the front loading is NOT checked. Is there something else I need to look?