Bean Ids in weblogic console
Does anybody know how the identifier of a Session Bean shown in the
weblogic console is built? I know the ones of the Entity Beans are built
using the toString method of the primary key class, but what about the
Session Beans?
Thanks in advance,
Xavi
We are facing the same problem. I have an EAR that has a packed WAR containing two EJBs. One of them can be configured without a problem, but the other one cannot. The same exception is thrown. Interestingly, we have the same application on our test server environment and there it works without a problem.
Similar Messages
-
Question about 'Beans in Use' statistic in weblogic console
I am trying to figure out why the weblogic server is taking up so much
memory in our system.
We are running weblogic 6.1sp3 on solaris 2.7 and are quickly running
out of memory.
I run a 5 user test for an hour that results in around 240 'budgets'
being created via a Budget entity bean.
At the start of the run, the java weblogic process takes up 157meg.
At the end of the run(actually many hours after the run has stopped
and there has been no other activity), it is at to 696 meg
The weblogic console tells me the following information on my Budget
entity bean at the end:
Idle: 0
Beans in use: 246
Cached: 50
Passivated: 191
My question is this, is 246 'Beans in use' a sign that I am not
releasing resources correctly? what does it mean to have 246 'Beans
in use'? the help on that screen says that 'beans in use' is the
number of beans in use, active or ready state. I understand that an
'active' bean is one that has a PK assigned and has been moved from
'pooled' to 'ready'. passivated bean does not have PK associated and
moved from 'ready' to 'pooled'. I can't figure out why it has 246
beans ready or active? If someone could better explain what 'beans in
use' means I'd greatly appreciate it. I put print outs in
active/passivate/unsetEntityContext and I see active/passivate get
called but no unsetEntityContext. It also seems that it doesn't reuse
the 'container'. After a passivate, I'd expect the next 'activate' to
re-use that seem bean that was just passivated, but it does not seem
to.
I feel like I'm missing the boat here on something. I understand
'cached' beans and how to control that number. Where I feel I need
some help is understanding what happens to the bean once it is
'passivated'. Why aren't those being reused? why don't they have
some 'max' that will cause them to be removed? (does
max-beans-in-free-pool work for entity beans in 6.1??)
any feedback would be greatly appreciated!
thanks
KellyHi Kelly,
Semantics of ejbPassivate/ejbActivate methods of Entity
beans is quite different from SFSB.
For Entity Bean ejbPassivate is called when a bean loses its
identity and transitions from Ready to Pooled state. ejbActivate
is called when a bean transitions from Pooled to Ready state.
Hope this helps,.
Regards,
Slava Imeshev
"Kelly Kingdon" <[email protected]> wrote in message
news:[email protected]...
I am trying to figure out why the weblogic server is taking up so much
memory in our system.
We are running weblogic 6.1sp3 on solaris 2.7 and are quickly running
out of memory.
I run a 5 user test for an hour that results in around 240 'budgets'
being created via a Budget entity bean.
At the start of the run, the java weblogic process takes up 157meg.
At the end of the run(actually many hours after the run has stopped
and there has been no other activity), it is at to 696 meg
The weblogic console tells me the following information on my Budget
entity bean at the end:
Idle: 0
Beans in use: 246
Cached: 50
Passivated: 191
My question is this, is 246 'Beans in use' a sign that I am not
releasing resources correctly? what does it mean to have 246 'Beans
in use'? the help on that screen says that 'beans in use' is the
number of beans in use, active or ready state. I understand that an
'active' bean is one that has a PK assigned and has been moved from
'pooled' to 'ready'. passivated bean does not have PK associated and
moved from 'ready' to 'pooled'. I can't figure out why it has 246
beans ready or active? If someone could better explain what 'beans in
use' means I'd greatly appreciate it. I put print outs in
active/passivate/unsetEntityContext and I see active/passivate get
called but no unsetEntityContext. It also seems that it doesn't reuse
the 'container'. After a passivate, I'd expect the next 'activate' to
re-use that seem bean that was just passivated, but it does not seem
to.
I feel like I'm missing the boat here on something. I understand
'cached' beans and how to control that number. Where I feel I need
some help is understanding what happens to the bean once it is
'passivated'. Why aren't those being reused? why don't they have
some 'max' that will cause them to be removed? (does
max-beans-in-free-pool work for entity beans in 6.1??)
any feedback would be greatly appreciated!
thanks
Kelly -
Runtime information about EJB on weblogic console
Hi All,
I am using WLS6.1 sp2 on Redhat Linux 7.2.
The runtime information for an EJB as displayed on weblogic console looks very
odd. Could somebody clarify the meaning of the following mbean info?
Beans in Use Count(BeansInUseCount)
Cache Beans Current Count(CachedBeanCurrentCount)
For one of my entity EJBs, I see
BeansInUseCount=30678,CachedBeanCurrentCount=3674578
I have max-beans-in-cache=1000 for all entity beans and the number of records
for this entity EJB in database is less
than 10. I dont understand why the BeansInUseCount is so high?
This number looks very suspicious. Is this a bug or maybe a memory leak?
Any assistance will be greatly appreciated.
Thanks,
AbhayPlease transfer to EJB Forum...
-
Monitoring heap using WebLogic console
Hi,
With WebLogic 6.1 sp3 does monitoring memory usage using the WebLogic console
cause memory to be used up? I have no beans deployed in my WebLogic server,yet
the memory usage creeps up until garbage collected.
Regards,
DonIf the console and the node are one in the same, then there is some
overhead. To test it out in a different light, you set up a single node
cluster (admin node plus 1 managed node). You should see a difference.
"Chandra Bommas" <[email protected]> wrote in message
news:3de2a5d8$[email protected]..
>
Hi Don,
I have seen similar behaviour and have been able to rationalize it in thefollowing
manner.
Weblogic Server periodically/constantly does internal house keepingactivities
for its various subsystems i.e., the ejb Container, the Servlet Container,the
JMS Subsystem etc..
This causes the heap in the JVM to be slowly filled up until the nextgarbage
collection kicks in.
Without knowing the internals of how weblogic is implemented, I would bevery
surprised if opening the console window affects the heap. I would be ofthe opinion
that the management subsystem constantly gathers and publishes this data.The
console would subscribe to this data. One way of empirically determiningthis
would be to open a large number of consoles and check if the memoryconsumption
rate increases.
However, I wouldn't be too worried about this behaviour.
hth,
CB.
"Don Marshall" <[email protected]> wrote:
Hi,
With WebLogic 6.1 sp3 does monitoring memory usage using the WebLogic
console
cause memory to be used up? I have no beans deployed in my WebLogic
server,yet
the memory usage creeps up until garbage collected.
Regards,
Don -
Message:
weblogic.management.provider.EditSaveChangesFailedException:
Stack Trace:
java.lang.RuntimeException: weblogic.management.provider.EditSaveChangesFailedException: at weblogic.management.mbeanservers.edit.internal.ConfigurationManagerMBeanImpl.save(ConfigurationManagerMBeanImpl.java:261) 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:597) at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.edit.internal.RecordingInterceptor.invoke(RecordingInterceptor.java:199) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:112) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222) at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993) at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544) at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380) at $Proxy126.save(Unknown Source) at com.bea.console.utils.MBeanChangeManager.actuallySaveEdits(MBeanChangeManager.java:95) at com.bea.console.utils.MBeanChangeManager.commitTransaction(MBeanChangeManager.java:267) at com.bea.console.actions.ResourceConfigUpdatedAction.execute(ResourceConfigUpdatedAction.java:143) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:159) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:263) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:416) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:135) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(StrutsStubImpl.java:76) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:160) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:389) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:253) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:131) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: weblogic.management.provider.EditSaveChangesFailedException: at weblogic.management.provider.internal.EditAccessImpl.saveChanges(EditAccessImpl.java:730) at weblogic.management.mbeanservers.edit.internal.ConfigurationManagerMBeanImpl.save(ConfigurationManagerMBeanImpl.java:250) ... 125 more Caused by: java.io.FileNotFoundException: /cmpnt/csp1.0/devlp/CSPDEV3/Infinys/pending/jdbc/ipf_sec_admin_cspdev3-jdbc.xml (No space left on device) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.(FileOutputStream.java:70) at weblogic.management.internal.PendingDirectoryManager.getFileOutputStream(PendingDirectoryManager.java:135) at weblogic.management.provider.internal.DescriptorHelper.saveDescriptorTree(DescriptorHelper.java:125) at weblogic.management.provider.internal.DescriptorHelper.saveDescriptorTree(DescriptorHelper.java:49) at weblogic.management.provider.internal.EditAccessImpl.saveChanges(EditAccessImpl.java:704) at weblogic.management.mbeanservers.edit.internal.ConfigurationManagerMBeanImpl.save(ConfigurationManagerMBeanImpl.java:250) 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:597) at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.edit.internal.RecordingInterceptor.invoke(RecordingInterceptor.java:199) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:112) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222) at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993) at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544) at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380) at $Proxy126.save(Unknown Source) at com.bea.console.utils.MBeanChangeManager.actuallySaveEdits(MBeanChangeManager.java:94) at com.bea.console.utils.MBeanChangeManager.commitTransaction(MBeanChangeManager.java:266) at com.bea.console.actions.ResourceConfigUpdatedAction.execute(ResourceConfigUpdatedAction.java:143) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(StrutsStubImpl.java:76) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) ... 9 more
Please help me resolve this ..Hi,
I guess your changes did not get saved into the config.xml yet, because you have already a similar entry in config.xml file for it.
There is xml created under pending dir, everytime we try to create a DS
but it never completes and never gets saved (You will see in top left corner of weblogic console saying changes are pending something like that)
1) So, copy the DS xmls for each new DS created temporarily under jdbc dir to a temp directory
2) Now, click on the undo changes in the top left corner of your weblogic console
3) Place the DS xml file in its correct location from temporary dirctory (you did this copy in step-1 )
4) Now, Manually enter or change the DS xml filename entry in config.xml.
5) Bounce the weblogic managed servers and admin server, It will work -
Error creating new user in Weblogic console using RDBMSAuthentication
Hi,
I have tried to configure RDBMSAuthenticator in Weblogic 8. I created related tables in the schema i.e. user_security, etc. But its still not working with my WebApp.
Can someone please help me to configure my application with this Oracle DBMS authentication provider to login to this application...?
1. When I am trying to use these userid/password to login to my application its not able to login getting error as:
####<Nov 21, 2009 11:27:52 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Provider: getLoginModuleConfiguration()>
####<Nov 21, 2009 11:27:53 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Authentication Failed: User "null" denied>
####<Nov 21, 2009 11:27:53 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Authentication Failed: User "null">
I am trying to use this DBMS Authentication mechanism in my WebApp i.e. in web.xml I configured the <security-constraint> <login-config> and <security-role> i.e.
<security-constraint>
<display-name>ABCD web security</display-name>
<web-resource-collection>
<web-resource-name>portal file</web-resource-name>
<description>Protects the ABCD enterpise portal web resources</description>
<url-pattern>/*</url-pattern>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/*.do</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>ABCD Users</description>
<role-name>abcduser</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>pages/login.jsp</form-login-page>
<form-error-page>pages/error.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<description>ABCD User</description>
<role-name>abcduser</role-name>
</security-role>
Also I have made necessary change in Weblogic.xml
I can see the users in this table in my Weblogic console. But I cannot modify them I cant delete any user from Weblogic console, neither can i assign any gropu to them getting error as below while doing this...
1. When trying to delete any uset getting error as:
####<Nov 21, 2009 11:41:50 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <List of currently-available cursors: {RDBMSNameCursor201305690=[email protected]32b09}>
####<Nov 21, 2009 11:41:50 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <delegate.close("RDBMSNameCursor201305690")>
####<Nov 21, 2009 11:41:56 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Removing user becuser1234>
####<Nov 21, 2009 11:41:57 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Caught SQLException from delegate, removing from pool and retrying
java.sql.SQLException: Fail to convert to internal representation
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.CharCommonAccessor.getLong(CharCommonAccessor.java:239)
at oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.java:514)
at com.bea.p13n.security.providers.authentication.RDBMSAtnDelegate.removeUser(RDBMSAtnDelegate.java:474)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl$2.run(RDBMSAuthenticatorImpl.java:414)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.retry(RDBMSAuthenticatorImpl.java:982)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.removeUser(RDBMSAuthenticatorImpl.java:404)
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:324)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1304)
at weblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:640)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
at weblogic.management.console.utils.Security.deleteUser(Security.java:1564)
at weblogic.management.console.actions.security.DoDeleteUserAction.perform(DoDeleteUserAction.java:153)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:182)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
####<Nov 21, 2009 11:42:00 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Caught SQLException from delegate, removing from pool and retrying
java.sql.SQLException: Fail to convert to internal representation
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.CharCommonAccessor.getLong(CharCommonAccessor.java:239)
at oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.java:514)
at com.bea.p13n.security.providers.authentication.RDBMSAtnDelegate.removeUser(RDBMSAtnDelegate.java:474)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl$2.run(RDBMSAuthenticatorImpl.java:414)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.retry(RDBMSAuthenticatorImpl.java:982)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.removeUser(RDBMSAuthenticatorImpl.java:404)
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:324)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1304)
at weblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:640)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
at weblogic.management.console.utils.Security.deleteUser(Security.java:1564)
at weblogic.management.console.actions.security.DoDeleteUserAction.perform(DoDeleteUserAction.java:153)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:182)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Edited by: user12209056 on Nov 20, 2009 10:38 PMI could resolve the issue...The main points that needed to be done were
1. Keep the 'DefaultAuthentication' to 'Optional/SUFFICIENT' from 'Required'.
2. Create a 'Sequencer' table, if your jar is using it. -
Is their a way to set system property in weblogic console
Hi WL USERS
Is their a way to set system property in weblogic console ie (http://localhost:8080/console) ? if yes, can we access that property in code using System.getProperty()?
Regards
vishyYes, It is Possible.
Please check the Option-1). Mention in the Following Link: http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
Here i tried to set a Custom Property "*-Duser.dir=E:/MyDirectory*" through the Admin Console.
NOTE: Setting any Option like JAVA_OPTIONS/CLASSPATh etc through Admin Console will work only when you start your Servers using the NodeManager. It means when you start your ManagedServers through AdminConsole...or Using nodeManager based WLST scripts.
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here) -
Read-only access to weblogic console in WL 6.1sp2
Is there a way to restrict a user to read-only priv. on the weblogic
console? Either by using acl's or other means.
Thanks in advance,
BrownBrown,
This functionality is not available in 6.1. The newest version of wls
8.1 has this feature depending on the role that the user is in.
~satya
Mr. Brown wrote:
Is there a way to restrict a user to read-only priv. on the weblogic
console? Either by using acl's or other means.
Thanks in advance,
Brown -
Problem with Deployments of web service Project as EAR in weblogic console
Hi All :-)
I was facing the problem with the Deployments of web service(java class) as EAR.I created the one web project associated with EAR project. After my development i exported this project as EAR and deployed the same on the weblogic console.....But time it will work fine and sometime it Deployments status will not become active (its running status) and failed after activate the changes.
Can any body tell me the real problem with weblogic console for Deployments?
Please tell me the solution...it?s urgent for me...If you know the answer please mail me on [email protected] or reply here on forum
Thank you very much for your time.
Rgds
RanjitI received the same message and resolved it by adding the following jars to the classpath. All these jars came from the weblogic92 directory:
server/lib/ant/ant.jar
common/lib/apache_xbean.jar
server/lib/jsafe.jar
server/lib/weblogic.jar
server/lib/webservices.jar
server/lib/webserviceclient.jar
server/lib/webserviceclient+ssl.jar
server/lib/schema/weblogic-container-binding.jar
server/lib/xbean.jar
hth,
John -
Error Starting Weblogic Console
I am getting the following error while starting weblogic 5.1 console under
solaris. Please help.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no awt in
java.library.path
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Error.java:50)
at java.lang.LinkageError.<init>(LinkageError.java:43)
at
java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
at java.lang.ClassLoader.loadLibrary(Compiled Code)
at java.lang.Runtime.loadLibrary0(Runtime.java:470)
at java.lang.System.loadLibrary(System.java:778)
at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:57)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:882)
at <Unloaded Method>
at <Unloaded Method>
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41)what version JDK you are using?
If you are on JDK 117 , make sure you have classes.zip available in
your java classpath
i.e. java -classpath $JDK_HOME/lib/classes.zip;$WL_HOME/classes/boot:$WL_HOME/
lib/weblogicaux.jar weblogic.Console
let us know if you are still having problems..
Kumar
Rakesh Gupta wrote:
I am getting the following error while starting weblogic 5.1 console under
solaris. Please help.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no awt in
java.library.path
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Error.java:50)
at java.lang.LinkageError.<init>(LinkageError.java:43)
at
java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
at java.lang.ClassLoader.loadLibrary(Compiled Code)
at java.lang.Runtime.loadLibrary0(Runtime.java:470)
at java.lang.System.loadLibrary(System.java:778)
at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:57)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:882)
at <Unloaded Method>
at <Unloaded Method>
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41) -
Hi,
After migrating to Spring webflow 2.4.0 , I am getting the below mentioned error in the weblogic console.
<Jun 26, 2014 12:14:45 PM IST> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <Unable to determine expected return type for java.util.List()>.
It doesn't affect the application but not able to find the cause for it.
Regards,
SnehaAfter many hard working days.i finally found the error cause,i needed to make weblogic datasource also ADF doesnt work on internet explorer browser,it works on safary.hope it helps somebody
-
Managed server is up in weblogic console but showing down in em console
I have a weblogic domain.It has two servers,one admin server and a manged server.The managed server is inside a cluster.When I'm starting these two servers,they are starting normally without any error.In weblogic console,it's showing two servers are up,and also the status of all applications are active.The target of em is admin server.But at the same time in em console,it's showing,the managed server and the cluster are down and also,the applications targeted to managed server are also down.
I have similar domain configuration in another domain.That is working properly.The difference of it with the previous domain is only some applications are different.
I'm using middleware 11.1.1.5.Memory allocated to managed server is 4096MB.
I need help regarding this.
-Sudip
Edited by: 974151 on Nov 29, 2012 10:13 PM[2012-11-30T12:47:21.289+05:30] [AdminServer] [WARNING] [ADF_FACES-60099] [oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: d2a40b194ef8137c:2a7e4a74:13b50215a22:-8000-0000000000000182,0] [APP: em] The region component with id: emTemplate:fmwRegion has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
[2012-11-30T12:47:21.615+05:30] [AdminServer] [WARNING] [] [org.apache.myfaces.trinidad.webapp.ResourceServlet] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: d2a40b194ef8137c:2a7e4a74:13b50215a22:-8000-00000000000001fa,0] [APP: em] ResourceServlet._setHeaders(): Content type for /bi/jsLibs/engine_20110409.swf is NULL![[
Cause: Unknown file extension
I got this in admin server log while loging in em console. -
Error when starting weblogic console appl in browser
I am getting this error in the weblogic console. Can anybody help me to get
rid of this error? I am trying this URL:
http://localshot:7501/console/index.jsp
<Nov 1, 2001 1:57:17 PM PST> <Error> <HTTP>
<[WebAppServletContext(25297842,cons
ole,/console)] Error loading servlet:
"weblogic.management.console.webapp._index
java.lang.ClassNotFoundException: weblogic.management.console.webapp._index
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:178)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:43)Hi John,
Might be a configuration error. Could you tell me which version, including
service-pack level, of WLCS/WLPS and WLS that you are running? sp2 for WLCS
3.5 removes console.war from your WLCS installation. That is because WLCS 3.5
sp2 is the port from WLS 6.0 to WLS 6.1. In WLS 6.1, there is no console
application because it became internal.
John Smith wrote:
I am getting this error in the weblogic console. Can anybody help me to get
rid of this error? I am trying this URL:
http://localshot:7501/console/index.jsp
<Nov 1, 2001 1:57:17 PM PST> <Error> <HTTP>
<[WebAppServletContext(25297842,cons
ole,/console)] Error loading servlet:
"weblogic.management.console.webapp._index
java.lang.ClassNotFoundException: weblogic.management.console.webapp._index
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:178)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:43)--
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com -
Log4j not logging messages out to weblogic console for custom automatplugin
Hi,
We have a custom automation plugin for the OSM application build 381 in our environment(HP-UX Itanium platform). The plugins are bundled in a single ear application "A.ear" which is a mixed bag of pre-defined automation plugins of type XsltSender, XsltAutomator(both InternalReciever as well ExternalReceiver) as well other custom automators(java). For logging of messages in order to aid debugging of custom automators, we are using a logger "com.xyz.osm.plugin" which is also declared in log4j.xml file that is within omslogging.jar. You must already be aware that the build scripts of assembling, deploying ansd registering plugins also includes omslogging.jar are part of the application ear.
<category name="com.mtsa.osm.plugin">
<priority value="debug"/>
</category>
Below java code snippet is taken from our custom automation plugin classes indicating how the above logger is being used for printing messages.
//Declaration
private static Log log = LogFactory.getLog("com.mtsa.osm.plugin");
mthod1(){
log.info("xyz");
In addition to the above logger, the pre-defined automators XsltSender, XsltReceiver also enable logging from xsl files by making the "log" parameter available. Thus we have lines such as the one below in our xsl files that should print messages to the weblogic console.
<xsl:variable name="addLog1" select="java:info($log, 'transformSiebelActivationRequest: ***** Starting *****')"/>
The logger that allows printing of these lines is "com.mslv.oms.automation".
<category name="com.mslv.oms.automation">
<priority value="info"/>
</category>
These configurations should have ideally allowed one to see messages such as one below getting printed out to weblogic console:
<16-Mar-2012 8:59:36,931 CDT PM> <INFO> <plugin.XSLTReceiver> <ExecuteThread: '19' for queue: 'oms.automation'> <transformSiebelActivationRequest: ***** Starting *****>
Unfotunately after having done all the above configuration, we are still unable to see any such log messages in the console apart from those emitting from SOP and from <xsl:message> inserted in java & xsl files respectively.
I also checked if the log4j sub-system is able to correctly initialize after parsing the log4j.xml. It does and one can confirm it by setting system property log4j.debug=true in setDomainEnv.sh file.
$$$$$$$$ log4j initialization by application classloader for oms.ear application $$$$$$$$$$$$$$$$$$
log4j: Trying to find [log4j.xml] using context classloader weblogic.utils.classloaders.GenericClassLoader@1592141 finder: weblogic.utils.classloaders.CodeGenClassFinder@1112e85 annotation: oms@.
log4j: Using URL [zip:/home/osmwl/bea/user_projects/domains/dev04/servers/osmdev04/tmp/_WL_user/oms/amuube/omslogging.jar!/log4j.xml] for automatic log4j configuration.
log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
log4j: System property is :null
log4j: Standard DocumentBuilderFactory search succeded.
log4j: DocumentBuilderFactory is: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
$$$$$$$$ log4j initialization by application classloader for custom automation plugin xyz.ear application $$$$$$$$$$$$$$$$$$
log4j: Trying to find [log4j.xml] using context classloader weblogic.utils.classloaders.GenericClassLoader@1b7a8c5 finder: weblogic.utils.classloaders.CodeGenClassFinder@10bc849 annotation: xyz.ear@.
log4j: Using URL [zip:/home/osmwl/bea/user_projects/domains/dev04/servers/osmdev04/tmp/_WL_user/xyz.ear/ah0eeq/omslogging.jar!/log4j.xml] for automatic log4j configuration.
log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
log4j: System property is :null
log4j: Standard DocumentBuilderFactory search succeded.
log4j: DocumentBuilderFactory is: weblogic.xml.jaxp.RegistryDocumentBuilderFactory
log4j: debug attribute= "false".
Ironically, logging levels for loggers defined in log4j.xml of oms.ear could be dynamically changed from log4jAdmin.jsp page and the results are immediately visible. However for some reason, loggers defined in log4j.xml of custom plugin application were completely getting ignored. I don't see any warnings or erro messages in the logs indicating that log4j configuration failed for custom application failed. We want to refrain using SOP and <xsl:message> but I am afraid we have no option other than filling up our sources files with them.
Bottomline, how do we get application B(which in our case is the custom plugin) to log messaged the console just like that done by application A(oms.ear).
I am sure OSM developers would like to leverage log4j bundled with OSM SDK to log messages that would aid in trouble-shooting during development cycles. Both application ear files have commons-logging-1.1.jar,log4j-1.2.13.jar, omslogging.jar available in their classpaths. In other words, META-INF/MANIFEST.MF file of oms.war(web module within oms.ear) and xyz.jar(ejb module within xyz.ear) has references to these jars.
Appreciate if one can reply and let me know if they could get log messages to print from custom plugin.
Thanks
Edited by: user3693508 on Mar 18, 2012 11:38 AMHi,
We have a custom automation plugin for the OSM application build 381 in our environment(HP-UX Itanium platform). The plugins are bundled in a single ear application "A.ear" which is a mixed bag of pre-defined automation plugins of type XsltSender, XsltAutomator(both InternalReciever as well ExternalReceiver) as well other custom automators(java). For logging of messages in order to aid debugging of custom automators, we are using a logger "com.xyz.osm.plugin" which is also declared in log4j.xml file that is within omslogging.jar. You must already be aware that the build scripts of assembling, deploying ansd registering plugins also includes omslogging.jar are part of the application ear.
<category name="com.mtsa.osm.plugin">
<priority value="debug"/>
</category>
Below java code snippet is taken from our custom automation plugin classes indicating how the above logger is being used for printing messages.
//Declaration
private static Log log = LogFactory.getLog("com.mtsa.osm.plugin");
mthod1(){
log.info("xyz");
In addition to the above logger, the pre-defined automators XsltSender, XsltReceiver also enable logging from xsl files by making the "log" parameter available. Thus we have lines such as the one below in our xsl files that should print messages to the weblogic console.
<xsl:variable name="addLog1" select="java:info($log, 'transformSiebelActivationRequest: ***** Starting *****')"/>
The logger that allows printing of these lines is "com.mslv.oms.automation".
<category name="com.mslv.oms.automation">
<priority value="info"/>
</category>
These configurations should have ideally allowed one to see messages such as one below getting printed out to weblogic console:
<16-Mar-2012 8:59:36,931 CDT PM> <INFO> <plugin.XSLTReceiver> <ExecuteThread: '19' for queue: 'oms.automation'> <transformSiebelActivationRequest: ***** Starting *****>
Unfotunately after having done all the above configuration, we are still unable to see any such log messages in the console apart from those emitting from SOP and from <xsl:message> inserted in java & xsl files respectively.
I also checked if the log4j sub-system is able to correctly initialize after parsing the log4j.xml. It does and one can confirm it by setting system property log4j.debug=true in setDomainEnv.sh file.
$$$$$$$$ log4j initialization by application classloader for oms.ear application $$$$$$$$$$$$$$$$$$
log4j: Trying to find [log4j.xml] using context classloader weblogic.utils.classloaders.GenericClassLoader@1592141 finder: weblogic.utils.classloaders.CodeGenClassFinder@1112e85 annotation: oms@.
log4j: Using URL [zip:/home/osmwl/bea/user_projects/domains/dev04/servers/osmdev04/tmp/_WL_user/oms/amuube/omslogging.jar!/log4j.xml] for automatic log4j configuration.
log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
log4j: System property is :null
log4j: Standard DocumentBuilderFactory search succeded.
log4j: DocumentBuilderFactory is: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
$$$$$$$$ log4j initialization by application classloader for custom automation plugin xyz.ear application $$$$$$$$$$$$$$$$$$
log4j: Trying to find [log4j.xml] using context classloader weblogic.utils.classloaders.GenericClassLoader@1b7a8c5 finder: weblogic.utils.classloaders.CodeGenClassFinder@10bc849 annotation: xyz.ear@.
log4j: Using URL [zip:/home/osmwl/bea/user_projects/domains/dev04/servers/osmdev04/tmp/_WL_user/xyz.ear/ah0eeq/omslogging.jar!/log4j.xml] for automatic log4j configuration.
log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
log4j: System property is :null
log4j: Standard DocumentBuilderFactory search succeded.
log4j: DocumentBuilderFactory is: weblogic.xml.jaxp.RegistryDocumentBuilderFactory
log4j: debug attribute= "false".
Ironically, logging levels for loggers defined in log4j.xml of oms.ear could be dynamically changed from log4jAdmin.jsp page and the results are immediately visible. However for some reason, loggers defined in log4j.xml of custom plugin application were completely getting ignored. I don't see any warnings or erro messages in the logs indicating that log4j configuration failed for custom application failed. We want to refrain using SOP and <xsl:message> but I am afraid we have no option other than filling up our sources files with them.
Bottomline, how do we get application B(which in our case is the custom plugin) to log messaged the console just like that done by application A(oms.ear).
I am sure OSM developers would like to leverage log4j bundled with OSM SDK to log messages that would aid in trouble-shooting during development cycles. Both application ear files have commons-logging-1.1.jar,log4j-1.2.13.jar, omslogging.jar available in their classpaths. In other words, META-INF/MANIFEST.MF file of oms.war(web module within oms.ear) and xyz.jar(ejb module within xyz.ear) has references to these jars.
Appreciate if one can reply and let me know if they could get log messages to print from custom plugin.
Thanks
Edited by: user3693508 on Mar 18, 2012 11:38 AM -
Default Web Application is not visible in Weblogic Console
We are using Weblogic 5.1.0 SP7
We moved our Application from the Implicitly Defined Default Web
Application which is configurated by the
weblogic properties to a Web Application. Because we don't want to
change any URL in our Application, we
decided to deploy it as Explicitly Defined Default Web Application.
By this we recordniced that the weblogic.httpd.defaultWebApp property
worked not that way descibed in the
Weblogic Documentation. You have to write the path to the WebApp not the
name!
So we have the following Entry in the weblogic.properties:
weblogic.httpd.defaultWebApp=i:/if_home2/web
This works fine. The Server starts and serves the WebApp the way we
expected. But wenn we start the Weblogic
Console the WebApp ist not visible in the "myserver/HTTP/Servlet web
applications" folder. This one is empty
now! Previously the "General" Entry for the Implicitly Defined Default
Web Application was shown here, which
showed our Servlets and JSP's and their hit count and parameters.
So there is no chance to monitor the Servlets and JSP's of the default
Web Application.
I tried to deploy our WebApp a secound time with
weblogic.httpd.webApp.OurApp=i:/if_home2/web
but this create a second independent WebApp. OurApp is shown in the
Weblogic Console but it does not monitor
the hits to the default WebApp. So this is not a solution!
Any idea to make the default Web Application visible in the Weblogic
Console?
in my development environment i checked in site collection feature, it isn't available in site collection feature but still i am getting those web parts in web part gallery while adding it on page.
Also, in Production environment, feature is available in /templates/features folder after deployment, but not available in web part gallery while adding it on page.
I tried with uploading .webpart file which is available in /templates/features production environment as i mentioned, is running for one web part. Not for second web part and giving me security error.
As, uploading .webpart file is not feasible solution, please tell me how could i do that with .wsp file?
please tell me what could be another workaround.
Maybe you are looking for
-
Oracle Alert Configuration in 11i
Hi Hussein: I am trying to configure oracle alerts for my application ( Test ) following article How To Check Oracle Alert Setup? [ID 577392.1] But when I run the query in the third step , I am not getting the two rows that is expected. 3) Login into
-
Drag n Drop Video File Issue - e90 Vista
Hi All, I connect my e90 with Windows Vista 32 bit. Nokia PC Suite version is 6.86.9.0. I tried to drag a .avi video file to the phone. While dragging the issue, Nokia PC Suite asked me two options, convert and do not convert. I selected do not conve
-
Lightroom 3.4 is not saving the preview images in the catalog. My photo archives are stored on multiple external hard drives, each image thoroughly keyworded. When I need to search my archives for photos, say Egret, I choose that in the Keyword List
-
Linux performance for LVM vs independent partition on 10G XE?
Hi groups, I am a programmer and now requested to evaluate using Oracle 10G XE to replace MySQL for some of running web application. I remember the old experience that when playing with oracle 8i with linux, the guideline said that datafile of oracle
-
Hi All, I am unable to set the time out value for complete message time out=-1 in weblogic 10. In weblogic 8.1 we can set the value og http message time out as -1. Is there any such parameter for weblogic 10? If yes can we set it to -1. By setting co