WebLogic Deployment Problems

I'm using IDEA 6.0.x on Windows XP with Weblogic 9. I've had some some success with using it in IDEA, but recently I can't seem to get deployments working for one of my web apps. Does anyone have any ideas on this?

<> <> <> <> ]]>
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9.mbeansModel.JMWrappedException: javax.management.MBeanException: MBean invoke failed: weblogic.management.ManagementException: Deployments cannot be triggered via configuration updates and via the Deployment APIs simultaneously.
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9.mbeansModel.AbstractWL9MBean.invoke(AbstractWL9MBean.java:85)
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9.mbeansModel.runtime.DeployerRuntimeWL9MBean.activate(DeployerRuntimeWL9MBean.java:56)
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9.Weblogic9LocalInstance.deploy(Weblogic9LocalInstance.java:35)
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9.Weblogic9AbstractInstance$6.run(Weblogic9AbstractInstance.java:407)
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9.ServerPollThreadForWL9.runRequest(ServerPollThreadForWL9.java:27)
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runImmediately(ServerPollThread.java:111)
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:159)
Caused by: javax.management.MBeanException: MBean invoke failed: weblogic.management.ManagementException: Deployments cannot be triggered via configuration updates and via the Deployment APIs simultaneously.
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:191)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:155)
at javax.management.remote.rmi.RMIConnectionImpl_900_WLStub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
at com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9.mbeansModel.AbstractWL9MBean.invoke(AbstractWL9MBean.java:82)
... 6 more
Caused by: weblogic.management.ManagementException: Deployments cannot be triggered via configuration updates and via the Deployment APIs simultaneously.
at weblogic.deploy.internal.adminserver.DeploymentManager.createDeployment(DeploymentManager.java:434)
at weblogic.deploy.internal.adminserver.operations.AbstractOperation.createRuntimeObjects(AbstractOperation.java:668)
at weblogic.deploy.internal.adminserver.operations.AbstractOperation.updateConfigurationAndInitializeDeployment(AbstractOperation.java:248)
at weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute(AbstractOperation.java:129)
at weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(DeployerRuntimeImpl.java:804)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.management.deploy.internal.DeployerRuntimeImpl.performDeployerActions(DeployerRuntimeImpl.java:798)
at weblogic.management.deploy.internal.DeployerRuntimeImpl.activate(DeployerRuntimeImpl.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:427)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:248)
at weblogic.management.mbeanservers.internal.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:143)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:324)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$10.run(AuthenticatedSubjectInterceptor.java:342)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.invoke(AuthenticatedSubjectInterceptor.java:340)
at weblogic.management.mbeanservers.internal.WLSMBeanServer.invoke(WLSMBeanServer.java:283)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:503)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:389)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:903)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

Thanks,
Steve

0
3 comments

Hello Steve,

Did you use WebLogic Admin Console to install/delete/start/stop your application?

I'm using IDEA 6.0.x on Windows XP with Weblogic 9. I've had some some
success with using it in IDEA, but recently I can't seem to get
deployments working for one of my web apps. Does anyone have any ideas
on this?

<Nov 15, 2006 11:09:04 PM EST> <Warning> <Deployer> <BEA-149004>
<Failures were detected while initiating activate task for application
'WS-LEXS20-Server'.>
<Nov 15, 2006 11:09:04 PM EST>
<null> <servername> <> <> <Error occurred during deployment>
<servername> <> <> <Error occurred during deployment>
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9
.mbeansModel.JMWrappedException: javax.management.MBeanException:
MBean invoke failed: weblogic.management.ManagementException:
Deployments cannot be triggered via configuration
updates and via the Deployment APIs simultaneously.
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9
.mbeansModel.AbstractWL9MBean.invoke(AbstractWL9MBean.java:85)
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9
.mbeansModel.runtime.DeployerRuntimeWL9MBean.activate(DeployerRuntimeW
L9MBean.java:56)
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9
.Weblogic9LocalInstance.deploy(Weblogic9LocalInstance.java:35)
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9
.Weblogic9AbstractInstance$6.run(Weblogic9AbstractInstance.java:407)
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9
.ServerPollThreadForWL9.runRequest(ServerPollThreadForWL9.java:27)
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.ServerPo
llThread.runImmediately(ServerPollThread.java:111)
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.ServerPo
llThread.run(ServerPollThread.java:159)
Caused by: javax.management.MBeanException: MBean invoke failed:
weblogic.management.ManagementException: Deployments
cannot be triggered via configuration updates and via the Deployment
APIs simultaneously.
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:191)
at
weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:155)
at
javax.management.remote.rmi.RMIConnectionImpl_900_WLStub.invoke(Unknow
n Source)
at
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.i
nvoke(RMIConnector.java:972)
at
com.intellij.javaee.weblogic.runDebug.weblogicServerInstances.version9
.mbeansModel.AbstractWL9MBean.invoke(AbstractWL9MBean.java:82)
... 6 more
Caused by: weblogic.management.ManagementException:
Deployments cannot be triggered via configuration
updates and via the Deployment APIs simultaneously.
at
weblogic.deploy.internal.adminserver.DeploymentManager.createDeploymen
t(DeploymentManager.java:434)
at
weblogic.deploy.internal.adminserver.operations.AbstractOperation.crea
teRuntimeObjects(AbstractOperation.java:668)
at
weblogic.deploy.internal.adminserver.operations.AbstractOperation.upda
teConfigurationAndInitializeDeployment(AbstractOperation.java:248)
at
weblogic.deploy.internal.adminserver.operations.AbstractOperation.exec
ute(AbstractOperation.java:129)
at
weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(Deployer
RuntimeImpl.java:804)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
Subject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
21)
at
weblogic.management.deploy.internal.DeployerRuntimeImpl.performDeploye
rActions(DeployerRuntimeImpl.java:798)
at
weblogic.management.deploy.internal.DeployerRuntimeImpl.activate(Deplo
yerRuntimeImpl.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.
java:427)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl
.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
eanServerInterceptor.java:815)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at
weblogic.management.mbeanservers.domainruntime.internal.FederatedMBean
ServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:248)
at
weblogic.management.mbeanservers.internal.WLSMBeanServerInterceptorBas
e.invoke(WLSMBeanServerInterceptorBase.java:143)
at
weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(S
ecurityInterceptor.java:324)
at
weblogic.management.mbeanservers.internal.AuthenticatedSubjectIntercep
tor$10.run(AuthenticatedSubjectInterceptor.java:342)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
Subject.java:363)
at
weblogic.management.mbeanservers.internal.AuthenticatedSubjectIntercep
tor.invoke(AuthenticatedSubjectInterceptor.java:340)
at
weblogic.management.mbeanservers.internal.WLSMBeanServer.invoke(WLSMBe
anServer.java:283)
at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectio
nImpl.java:1408)
at
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnection
Impl.java:81)
at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(
RMIConnectionImpl.java:1245)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RM
IConnectionImpl.java:1348)
at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl
.java:782)
at
javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:503)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:393)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
Subject.java:363)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
47)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java
:389)
at
weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56
)
at
weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServ
erRef.java:903)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Thanks,
Steve



0

I installed the application using the WebLogic Admin console. It was up and running. Then for updated deployments, I have been trying to do it all within IDEA. Is there another approach I should be using? Is there any documentation on how to use this integration between the tools?

Thanks,
Steve

0

Hello Steve,

You should either use only IDEA to install/redeploy your application or use
only Admin console.

I installed the application using the WebLogic Admin console. It was
up and running. Then for updated deployments, I have been trying to do
it all within IDEA. Is there another approach I should be using? Is
there any documentation on how to use this integration between the
tools?

Thanks,
Steve



0

Please sign in to leave a comment.