Setting Resource Manager to start at boot automatically
I am putting together a script to automatically install multiple vendor software packages for a test system. As part of that script, it would be nice to set the Resource Manager configuration to start at boot.
Is there a registry setting or equivalent that I can set (instead of providing manual instructions such as listed at Configuring the VXI Resource Manager to Run at Startup )?
Not sure how much detail you are looking for. I did this by setting up a start/stop script in /etc/init.d (chkconfig 345 91 10).
Since I still run the backend (database) as the ORA_OWNR and only run the webservice as root, I start this in a two step process.
the shutdown is a 3 step process because the node_manager gets left running until the stopall command is issued.
Code excerpt:
case "$1" in
start)
# Oracle listener and instance startup
echo -n "Starting Oracle: "
# Changed ses to run as root so that the webservice can bind to port 80 instead of port 7777
# Backend (aka ses database) still needs to run as ora_ownr, so start becomes a
# two step process
su - $ORA_OWNR -c "$ORA_HOME/bin/searchctl start_backend < /home/$ORA_OWNR/.tmp_passwd.txt"
$ORA_HOME/bin/searchctl start < /home/$ORA_OWNR/.tmp_passwd.txt
touch /var/lock/subsys/oracleses
echo "OK"
stop)
# Oracle listener and instance shutdown
echo -n "Shutdown Oracle: "
# mid-tier owned and stopped by root. backend owned and stopped by ora_owner
# node manager is left running by stop command (root), so a stopall needs to be re-issued
# after the database has come down.
$ORA_HOME/bin/searchctl stop < /home/$ORA_OWNR/.tmp_passwd.txt
su - $ORA_OWNR -c "$ORA_HOME/bin/searchctl stop_backend < /home/$ORA_OWNR/.tmp_passwd.txt"
$ORA_HOME/bin/searchctl stopall < /home/$ORA_OWNR/.tmp_passwd.txt
rm -f /var/lock/subsys/oracleses
echo "OK"
reload|restart)
$0 stop
$0 start
echo "Usage: $0 start|stop|restart|reload"
exit 1
esac
Similar Messages
-
Setting Resource Manager - 11g database
Could you help please, I'm getting the following in my 11g database alert log but can't find anything helpful in google.
Setting Resource Manager plan SCHEDULER[0x2C0A]:DEFAULT_MAINTENANCE_PLAN via sch
eduler window
Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
Tue Dec 08 22:00:04 2009
Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TU
NING_TASK"
Tue Dec 08 22:02:09 2009
End automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNI
NG_TASK"
Tue Dec 08 22:02:12 2009
Logminer Bld: Lockdown Complete. DB_TXN_SCN is UnwindToSCN (LockdownSCN) is 9
755590147971
thank you
BBHi,
Please check this out.
http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/dbrm.htm#i1010776
Regards -
"Setting Resource Manager plan SCHEDULER[]:DEFAULT_MAINTENANCE_PLAN "
1. I would like to know what is this.
2. How to disable this message from alert ?
Please provide your comments or doc for this subject.
Thanks,References:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dbrm005.htm
http://www.dba-oracle.com/job_scheduling/resource_manager_plan.htm
http://oradbpedia.com/wiki/Oracle_11g_Resource_Manager_Changes
Regards,
Venki -
Node Manager not starting UCM Server automatically
Hi All,
I have configured Node Manager to start and stop UCM 11g server.
But whenever, I am restarting the host OS - Windows server 2003 64 bit, it does not start the UCM managed server, automatically.
I am running two managed servers on the same host OS, the first UCM manages server, starts automatically on every restart.
The second managed UCM server, does not start. I need to then manually start the managed server. There are no errors logged, and the manual start of the managed server happens without any issues.
As a workaround, I tried starting the managed server from Windows scheduler, but it does not start the server as well. I wrote a script like -
Myscript.cmd
call E:\..\user_projects\domains\prod_domain\bin\setDomainEnv.cmd
java weblogic.WLST c:\start....\ServerStart.py
scheduled the script (myscript.cmd) to run from the Windows Scheduler.
Any pointers would be very helpful. Are there any known issues, if there are two managed servers, and one starts automatically, which affects the starting of the second managed server?
I see the following error in the log file -
<14/10/2011 6:35:22 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
<14/10/2011 6:35:33 PM EST> <Info> <Management> <BEA-141223> <The server name PRD_UCM_Server1 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {PRDAdminServer,PRD_UCM_server1,PRD_IBR_server1}.>
<14/10/2011 6:35:33 PM EST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: [Management:141223]The server name PRD_UCM_Server1 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {PRDAdminServer,PRD_UCM_server1,PRD_IBR_server1}.
at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:149)
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:71)
Regards
AviHi Avi,
Give a cross check to your ServerStart.py
As the error states The server name PRD_UCM_Server1 specified with -Dweblogic.Name does not exist
In your ServerStart.py you might have specified as follows
sh start MAnagedWeblogic.sh server=PRD_UCM_Server1
While these are the list of Server you have in your weblogic
PRDAdminServer,
PRD_UCM_server1,(You have Specified in your command PRD_UCM_Server1
PRD_IBR_server1
The Command should be as follows
sh start ManagedWeblogic.sh server=PRD_UCM_server1
This should help
Regards
Fabian -
Weblogic Admin and Managed Server start using boot.properties and LDAP Acc.
Hello - Can any one please tell me if Weblogic 10.3.x can be started using boot.properties file and by using a user account from the External LDAP (OID) server?
I have configured the Weblogic server and have added a LDAP authenticator.
The Group in OID is mapped to the Admin role in Weblogic so that the user can start and stop the server.
LDAP users can successfully authenticate and access WLS console.
We would like to remove Default Authenticator (Embeded LDAP) from the list of available providers for our security releam.
Thank you.Tested and got it worked.
-
[Solved] Too much applications start at boot up !
Hello !
I apologize in advance for my poor English ...
So I used to run GNOME as my Desktop Environment, and I set some applications to start at boot up, such as Tilda, Cairo-dock, conky ...
Now, I'm using OpenBox, and some applications start, even if they're not in my autostart.sh !
So, here is my autostart.sh
# Run the system-wide support stuff
. $GLOBALAUTOSTART
# Programs to launch at startup
xcompmgr -t-5 -l-5 -r4.2 -o.55 &
# Programs that will run after Openbox has started
(sleep 2 && conky) &
So in this case, xcompmgr and conky starts, but cairo-dock and conky too, even if they're not here my autostart.
How can I control these applications ?
This problem is like a window$ problem, so I must do something !
Thanks a lot !
PS: I have some kde4 packages installed (because they were needed for some dependencies problems ...)
Last edited by Tib05 (2008-09-27 21:58:03)Oh sorry, I forgotted to post my .xinitrc
#!/bin/sh
# ~/.xinitrc
# Executed by startx (run your window manager from here)
# exec startkde
# exec startxfce4
# exec icewm
# exec blackbox
# exec fluxbox
exec openbox-session
The only entry I have, in the openbox one ... -
Hi Folks,
I have a problem getting "File Server Resource Manager" to start properly because WMI objects are not loading??? I don't understand this at all because I am able to access them with other Apps, etc. I have been over my Services list as well but
have not yet discovered which Service turns on/off "File Server Resource Manager". I have looked in Windows\System32\ and I can not find SrmSvc. I found other Srm's there though. I also found the FSRM Snapin which generates the Figure below but I
can not find it in the WMI Browser. I believe the Firewall is OKAY since I have been over that thoroughly. I do have the Server Tools Installed for Windows 8.0 or Windows 8.1 Clients as well as the Windows Updates applied, which is where I got "File Server
Resource Manager" in the first place. I have had WMI and Powershell 3.0 Package, installed since Windows 7 but I run a repair on them anyway.
I have read through "File Server Resource Manager could not load WMI objects on Windows Server 2012
Article ID: 2831687" but since I don't seem to have SrmSvc the solution doesn't help me. I haven't been able to find a similar one for the Windows Client.
If there is anything you could share on this problem I would be much obliged.
Thanks again,
Crysta
PhotM Phantom of the MobileHello,
The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
As the question is off topic here, I am moving it to the
Where is the Forum... forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Hello Group,
We are using Weblogic Version 9.2.3 & facing some problem related to 'jackrabbit' not available. I feel we are facing problem similar to the one mentioned in following link
Re: What causes XAER_RMFAIL : Resource manager is unavailable / unregistered
Following above post, we tried increased the Initial Capacity of this 'jackrabbit' Resource Adapter to 50. Initially it was 1. Although this doesn't change anything. Although it works fine for a few hours but seems like after server has run for a few hours and served some requests it starts showing this exception.
Following is our weblogic-ra.xml file.
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<native-libdir></native-libdir>
<jndi-name>repository</jndi-name>
<enable-access-outside-app>true</enable-access-outside-app>
<enable-global-access-to-classes>true</enable-global-access-to-classes>
<security></security>
<outbound-resource-adapter>
<default-connection-properties>
<pool-params></pool-params>
<logging></logging>
</default-connection-properties>
<connection-definition-group>
<connection-factory-interface>javax.jcr.Repository</connection-factory-interface>
<default-connection-properties>
<pool-params>
<initial-capacity>50</initial-capacity>
<max-capacity>100</max-capacity>
</pool-params>
<logging></logging>
<properties>
<property>
<name>HomeDir</name>
<value>jackrabbit-preferences</value>
</property>
<property>
<name>ConfigFile</name>
<value>jackrabbit-preferences/repository.xml</value>
</property>
</properties>
</default-connection-properties>
<connection-instance>
<jndi-name>jackrabbit</jndi-name>
<connection-properties>
<pool-params>
<initial-capacity>50</initial-capacity>
<max-capacity>250</max-capacity>
</pool-params>
<logging></logging>
<properties>
<property>
<name>HomeDir</name>
<value>jackrabbit-preferences</value>
</property>
</properties>
</connection-properties>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>
Also please find below the exception that we see in the logs.
Caused by: ag.mycompany1.workflow.runtime.DocumentManagementServiceException: null: javax.jcr.RepositoryException: start() failed on resource 'jackrabbit': XAER_RMFAIL : Resource manager is unavailable
javax.transaction.xa.XAException: Internal error: XAResource 'jackrabbit' is unavailable
at weblogic.transaction.internal.XAResourceDescriptor.checkResource(XAResourceDescriptor.java:1143)
at weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResourceDescriptor.java:685)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1181)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1115)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:497)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:429)
at weblogic.connector.transaction.outbound.XATxConnectionHandler.enListResource(XATxConnectionHandler.java:118)
at weblogic.connector.outbound.ConnectionHandlerBaseImpl.prepareHandle(ConnectionHandlerBaseImpl.java:670)
at weblogic.connector.outbound.ConnectionHandlerBaseImpl.createConnectionHandle(ConnectionHandlerBaseImpl.java:361)
at weblogic.connector.outbound.ConnectionInfo.createConnectionHandle(ConnectionInfo.java:411)
at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:308)
at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
at org.apache.jackrabbit.jca.JCARepositoryHandle.login(JCARepositoryHandle.java:98)
at org.apache.jackrabbit.jca.JCARepositoryHandle.login(JCARepositoryHandle.java:89)
at com.mycompany2.infinity.bpm.vfs.jcr.spring.JcrSessionFactory.createSession(JcrSessionFactory.java:38)
at com.mycompany2.infinity.bpm.vfs.jcr.spring.JcrSessionFactoryUtils.getSession(JcrSessionFactoryUtils.java:72)
at com.mycompany2.infinity.bpm.vfs.jcr.spring.JcrSessionFactory.getSession(JcrSessionFactory.java:33)
at com.mycompany2.infinity.bpm.vfs.impl.jcr.AbstractJcrDocumentRepositoryService.doWithJcrVfs(AbstractJcrDocumentRepositoryService.java:537)
at com.mycompany2.infinity.bpm.vfs.impl.jcr.AbstractJcrDocumentRepositoryService.doWithJcrVfs(AbstractJcrDocumentRepositoryService.java:564)
at com.mycompany2.infinity.bpm.vfs.impl.jcr.AbstractJcrDocumentRepositoryService.retrieveFileContent(AbstractJcrDocumentRepositoryService.java:186)
at com.mycompany2.infinity.bpm.vfs.impl.AbstractDocumentRepositoryServiceImpl.retrieveFileContent(AbstractDocumentRepositoryServiceImpl.java:46)
at ag.mycompany1.workflow.runtime.beans.DocumentManagementServiceImpl$5.withVfs(DocumentManagementServiceImpl.java:112)
at ag.mycompany1.workflow.runtime.beans.DocumentManagementServiceImpl.adaptVfsCall(DocumentManagementServiceImpl.java:417)
at ag.mycompany1.workflow.runtime.beans.DocumentManagementServiceImpl.retrieveDocumentContent(DocumentManagementServiceImpl.java:108)
at sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at ag.mycompany1.workflow.runtime.beans.interceptors.CallingInterceptor.invoke(CallingInterceptor.java:18)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.beans.interceptors.POJOExceptionHandler.invoke(POJOExceptionHandler.java:23)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.beans.interceptors.GuardingInterceptor.invoke(GuardingInterceptor.java:87)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.beans.interceptors.AbstractLoginInterceptor.performCall(AbstractLoginInterceptor.java:142)
at ag.mycompany1.workflow.runtime.beans.interceptors.AbstractLoginInterceptor.invoke(AbstractLoginInterceptor.java:80)
at ag.mycompany1.workflow.runtime.spring.SpringBeanLoginInterceptor.invoke(SpringBeanLoginInterceptor.java:58)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.spring.SpringSessionInterceptor$1.doInConnection(SpringSessionInterceptor.java:104)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342)
at ag.mycompany1.workflow.runtime.spring.SpringSessionInterceptor.invoke(SpringSessionInterceptor.java:52)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.spring.SpringConfigurationInterceptor.invoke(SpringConfigurationInterceptor.java:94)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.beans.interceptors.PropertyLayerProviderInterceptor.invoke(PropertyLayerProviderInterceptor.java:85)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.beans.interceptors.DebugInterceptor.invoke(DebugInterceptor.java:25)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.spring.SpringTxInterceptor$1.doInTransaction(SpringTxInterceptor.java:62)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at ag.mycompany1.workflow.runtime.spring.SpringTxInterceptor.invoke(SpringTxInterceptor.java:47)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:95)
at ag.mycompany1.workflow.runtime.interceptor.MethodInvocationImpl.execute(MethodInvocationImpl.java:55)
at ag.mycompany1.workflow.runtime.beans.InvocationManager.invoke(InvocationManager.java:46)
at $Proxy175.retrieveDocumentContent(Unknown Source)
at ag.mycompany1.workflow.runtime.spring.DocumentManagementServiceBean.retrieveDocumentContent(DocumentManagementServiceBean.java:70)
at sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at ag.mycompany1.workflow.runtime.spring.SpringServiceFactory$SpringServiceInvocationHandler.invoke(SpringServiceFactory.java:159)
at $Proxy175.retrieveDocumentContent(Unknown Source)
at com.infinity.bpm.ui.preferences.AbstractDocumentServicePreferencesManager.loadPreferences(AbstractDocumentServicePreferencesManager.java:318)
at com.infinity.bpm.ui.preferences.AbstractDocumentServicePreferencesManager.getPreferences(AbstractDocumentServicePreferencesManager.java:269)
at com.infinity.bpm.ui.preferences.AbstractDocumentServicePreferencesManager.getPreferencesEditor(AbstractDocumentServicePreferencesManager.java:133)
at com.mycompany2.infinity.bpm.bcc.configuration.TrafficLightViewPropertyProvider.<init>(TrafficLightViewPropertyProvider.java:85)
at com.mycompany2.infinity.bpm.bcc.configuration.TrafficLightViewPropertyProvider.getInstance(TrafficLightViewPropertyProvider.java:103)
at com.mycompany2.sims.workflow.tlv.TrafficLightDataLoader.persistData(TrafficLightDataLoader.java:129)
at com.mycompany2.sims.workflow.tlv.TrafficLightDataLoader.loadData(TrafficLightDataLoader.java:73)
at com.mycompany2.sims.workflow.SyncSettingsBean.reload(SyncSettingsBean.java:73)
at com.mycompany2.sims.workflow.EnterpriseSettings.isWorklistConfigured(EnterpriseSettings.java:143)
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 org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:457)
at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:85)
at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
at com.sun.el.parser.AstValue.getValue(AstValue.java:96)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183)
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
at com.sun.facelets.tag.TagAttribute.getBoolean(TagAttribute.java:79)
at com.sun.facelets.tag.jstl.core.ChooseWhenHandler.isTestTrue(ChooseWhenHandler.java:49)
at com.sun.facelets.tag.jstl.core.ChooseHandler.apply(ChooseHandler.java:67)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
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:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at ag.mycompany1.web.jsf.common.ExceptionFilter.doFilter(ExceptionFilter.java:45)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:290)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:250)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:207)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:161)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at ag.mycompany1.web.jsf.common.LoginFilter.doFilter(LoginFilter.java:250)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3251)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
: start() failed on resource 'jackrabbit': XAER_RMFAIL : Resource manager is unavailable
Any help in this regard is highly appreciated. Thanks.Hi,
Can you please try increase the below MaxXACallMillis setting in Weblogic set 'Maximum Duration of XA Calls' to a bigger value
MaxXACallMillis: Sets the maximum allowed duration (in milliseconds) of XA calls to XA resources. This setting applies to the entire domain.
http://docs.oracle.com/cd/E12840_01/wls/docs103/jta/trxcon.html
The parameter is exposed through administration console: services --> jta --> advanced --> "Maximum Duration of XA Calls:"
Check the below docs for more information
WLS 10.3: Intermittent XA error: XAResource.XAER_RMERR (Doc ID 1118264.1)
Hope it Helps -
Cluster resource does not start automatically
Hello,
I have a strange issue. last saterday i replaced the motherboards of three HP DL380G6 servers, there is an HW issue with the production date of this hardware.
After change of the HW, the cluster resources does not start automatically, when booting the servers. The resources come in state 'offline'(except the master IP resource). When start manually, the cluster resources works fine. I checked the eDirectory , and changed also the startup parameter of the cluster (autostart-manually-autostart) but with no results.
When i create a new (simple) CL-resource, i have the same issue with this resource. Only the master ip CL-resource starts automatically??
Does anyone have an answer for this problem....
Thanks in advanced
3-node SLES9sp3 SLES/OES1 cluster (i know its old...)
- iSCSI connection to an SLES11-SANOriginally Posted by changju
The state is stored in eDir, so your problem is most likely caused by an eDir issue.
Please check the attribute "NCS:CRM Failover Mode" of the resource object in eDir. If its value is an odd number, it means the resource will load automatically. If it's not, add 1 to the number and save the new value.
Then, you need to check file "/var/opt/novell/ncs/resources.xml". Find the section for the resource, and check "nCSCRMFailoverMode" to make sure it matches what you have in eDir. If not, please run command "/opt/novell/ncs/bin/ncs-configd.py -init" to try to update it.
If the problem persists after all the above, please contact NTS. We will have it resolved.
Best regards,
Changju -
Hi All,
I am facing below issue without any change in the config from weblogic
Managed servers are coming up and running without any issue
But when we are doing any operation from application then its failing
java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'myDomain': XAER_RMFAIL : Resource manager is unavailable
Regards
LokeshHi,
Can you please try increase the below MaxXACallMillis setting in Weblogic set 'Maximum Duration of XA Calls' to a bigger value
MaxXACallMillis: Sets the maximum allowed duration (in milliseconds) of XA calls to XA resources. This setting applies to the entire domain.
http://docs.oracle.com/cd/E12840_01/wls/docs103/jta/trxcon.html
The parameter is exposed through administration console: services --> jta --> advanced --> "Maximum Duration of XA Calls:"
Check the below docs for more information
WLS 10.3: Intermittent XA error: XAResource.XAER_RMERR (Doc ID 1118264.1)
Hope it Helps -
How do you set a default on the Mac that automatically starts a sentence with a capital letter after a full stop? Thanks guys....
I use SpellCatcher.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD -
Why my Startup Manager does not appear when I hold the Option key when starting to boot.
I no longer have the Startup Manager appearing when I hold the Option key when starting to boot.
Instead, the system just boots into whichever OS was last selected in the Startup Disk Preference.
How to get back my Startup Manager so that I can boot up from my external hard disk.
Thank you.Can you please run the following in terminal and post the output in your reply:
diskutil list; echo; nvram -p | grep boot-args; echo -
Will pages automatically reformat to correct size when using Folio Builder or do I have to make pages iPad format, for example, in InDesign document set up from the start?
Moved to DPS forum.
You need to set up the pages appropriately for the target device. For iPad that's 1024x768. -
Automatic group switching and notification in Resource Manager
We are creating resource plans that don't kill out-of-control processes, but automatically move them to a low-priority group for investigation. Is there a means by which a session which gets automatically switched can notify something else, like via a trigger, an email, or even just in an alert log message?
Thanks in advance,
Paul Hebert/SUNY ITECAlthough this is an older message, I have been looking for the same type of behavior. In order to manage ad hoc queries, there is desire to monitor the behavior in order to fine tune the resource management. This is based on the really “bad” queries being stopped (KILLED).
Of course this needs to be balanced with not preventing work from being done.
Any thoughts or ideas are welcome.
James -
XAER_RMFAIL : Resource manager is unavailable
Weblogic 8.1, I don't recall which service pack, sp10? Maybe?
Anyway, here's the relevant stack trace. We had a strange WLS implosion last
night that we're tracking down. We saw these when our code was trying to get
a connection out of the datapool.
<Mar 1, 2006 10:09:12 PM PST> <Warning> <JTA> <BEA-110030> <XA resource
[weblogic.jdbc.wrapper.JTSXAResourceImpl] has not responded in the last 120
second(s).>
01 Mar 2006 22:09:21,652 WARN com.pfizer.ecms.as.MetricsSession - logEvent:
exception: start() failed on resource
'weblogic.jdbc.wrapper.JTSXAResourceImpl': XAER_RMFAIL : Resource manager is
unavailable
javax.transaction.xa.XAException: Internal error: XAResource
'weblogic.jdbc.wrapper.JTSXAResourceImpl' is unavailable
at
weblogic.transaction.internal.XAResourceDescriptor.checkResource(XAResourceD
escriptor.java:1019)
at
weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResour
ceDescriptor.java:572)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInf
o.java:1068)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceI
nfo.java:1001)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceIn
fo.java:203)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
nsactionImpl.java:419)
at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:207)
at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
:298)
at
com.pfizer.ecms.asutil.DataAccessManager.getConnection(DataAccessManager.jav
a:117)
Here's our configuration:
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
MaxCapacity="150" Name="OraclePool"
Password="*****"
Properties="user=******" ShrinkPeriodMinutes="5"
Targets="myserver" TestConnectionsOnCreate="true"
TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
TestTableName="dual" URL="jdbc:oracle:thin:@garrison.back:1521:IC"/>
<JDBCTxDataSource EnableTwoPhaseCommit="true"
JNDIName="dbpool" Name="OracleSource"
PoolName="OraclePool" Targets="myserver"/>
Looking this up, I was pointed to a JTA FAQ page on edocs, and it basically
said we should be Refreshing the connection pool, but the RefreshMinutes
parameter is deprecated, and as you can see we're testing connections as is.
We're puzzled by a couple of things, almost certainly application related,
but still relevant. We have 150 connections allocated to the pool, but even
at peak load during the day we bounce around the 40 mark. When we got the
above exception, we were hitting the 150 ceiling. We don't quite know why
yet.
During this time, our DB server was pretty heaviliy loaded. There were some
horrendous queries running, some data imports, etc. Bascially a bunch of
stuff that happens at the beginning of the month. However, there weren't
necessarily a lot of actual users on the system, just a select few.
One of the things that was happening was a user was using the web interface,
and sent off a huge horrible query. When it didn't come back in a reasonable
amount of time, he simply hit "Refresh" on the page, thereby submitting the
query again (thank you Sir, may I have another!). This was partly why the
database was so heavily loaded.
Now, we're puzzled by a couple of things. One, is the spike of actual
connections in the DB Pool up to 150. This makes no sense.
Second, is this error detailed above. I've tried some contrived
experiements, and I can not raise this specific exception myself. My
experiment was to issue a "update table set column = 1 where id = 1" in a
generic SQL browser, thus locking the row, and then issue the identical
command through a Session Bean call. It has happily sat there for up to 10
minutes (600 seconds, which is our default <JTA Name="inf4.2"
TimeoutSeconds="600"/> setting), and it eventually times out, but not with
the same exception. Rather I get "java.sql.SQLException: ORA-01013: user
requested cancel of current operation" from Weblogic, and
"weblogic.transaction.internal.TimedOutException:" from my client.
Apparently, according to the original exception, an XA Resource has not
responded within 120 seconds, but through my testing, that XA resource isn't
necessarily a SQL connection waiting on a query.
Could someone provide insight as to what resource the system may be waiting
on? For in theory, to me, that's what is consuming our DB Pool. I'm assuming
that whatever they're waiting on (the DB apparently), they're ALL waiting on
it, and the reason that the pool spikes is because the system can never find
a "valid" connection, thus trying again with a new one. Is that what it
happening?
Clearly we basically have a tuning issue, but in fact, I'm looking for a
stability solution. When this occurred, our system run 3 load balanced
"legs". The middle leg was having the problem. When we dropped it, leg 3
picked up and then IT had the problem. However, once we killed all 3 of them
and restarted, they recovered.
So I'm looking for some idea to keep Weblogic alive, even at the expense of
booting off these offending transactions, and not having to restart the
servers.
Perhaps over time the system would have recovered on its own (most probably
in fact), but if we can get things cut off early (as well as beating users
that hit Refresh constantly when things "stick"), we can prevent these from
escalating the effectively downing the whole site.
Any thoughts would be appreciated.
Regards,
Will Hartung
([email protected])Will Hartung wrote:
Weblogic 8.1, I don't recall which service pack, sp10? Maybe?Well, we're only up to sp5 here, so we'll have to catch up ;)
Please try this:
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="45"
MaxCapacity="45" Name="OraclePool"
Password="*****"
Properties="user=******"
Targets="myserver" TestConnectionsOnCreate="true"
TestConnectionsOnRelease="false" TestConnectionsOnReserve="true"
KeepXAConnTillTxComplete="true"
TestTableName="dual" URL="jdbc:oracle:thin:@garrison.back:1521:IC"/>
<JDBCTxDataSource EnableTwoPhaseCommit="true"
JNDIName="dbpool" Name="OracleSource"
PoolName="OraclePool" Targets="myserver"/>
You don't want the pool in flux at runtime, either shrinking or
growing. Just have it make what you need at startup and keep it.
Test-on-release is a waste of cycles. Also, I set keep-xa-con
till tx complete, to ensure that only one connection is ever
used for a given tx. XA allows connections to be changed at the
granularity of a single JDBC call, but that provides no real
benefit, and some overhead.
Let me know if this helps, and do let me know what real
service pack you're running.
thanks
Joe
Anyway, here's the relevant stack trace. We had a strange WLS implosion last
night that we're tracking down. We saw these when our code was trying to get
a connection out of the datapool.
<Mar 1, 2006 10:09:12 PM PST> <Warning> <JTA> <BEA-110030> <XA resource
[weblogic.jdbc.wrapper.JTSXAResourceImpl] has not responded in the last 120
second(s).>
01 Mar 2006 22:09:21,652 WARN com.pfizer.ecms.as.MetricsSession - logEvent:
exception: start() failed on resource
'weblogic.jdbc.wrapper.JTSXAResourceImpl': XAER_RMFAIL : Resource manager is
unavailable
javax.transaction.xa.XAException: Internal error: XAResource
'weblogic.jdbc.wrapper.JTSXAResourceImpl' is unavailable
at
weblogic.transaction.internal.XAResourceDescriptor.checkResource(XAResourceD
escriptor.java:1019)
at
weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResour
ceDescriptor.java:572)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInf
o.java:1068)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceI
nfo.java:1001)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceIn
fo.java:203)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
nsactionImpl.java:419)
at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:207)
at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
:298)
at
com.pfizer.ecms.asutil.DataAccessManager.getConnection(DataAccessManager.jav
a:117)
Here's our configuration:
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
MaxCapacity="150" Name="OraclePool"
Password="*****"
Properties="user=******" ShrinkPeriodMinutes="5"
Targets="myserver" TestConnectionsOnCreate="true"
TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
TestTableName="dual" URL="jdbc:oracle:thin:@garrison.back:1521:IC"/>
<JDBCTxDataSource EnableTwoPhaseCommit="true"
JNDIName="dbpool" Name="OracleSource"
PoolName="OraclePool" Targets="myserver"/>
Looking this up, I was pointed to a JTA FAQ page on edocs, and it basically
said we should be Refreshing the connection pool, but the RefreshMinutes
parameter is deprecated, and as you can see we're testing connections as is.
We're puzzled by a couple of things, almost certainly application related,
but still relevant. We have 150 connections allocated to the pool, but even
at peak load during the day we bounce around the 40 mark. When we got the
above exception, we were hitting the 150 ceiling. We don't quite know why
yet.
During this time, our DB server was pretty heaviliy loaded. There were some
horrendous queries running, some data imports, etc. Bascially a bunch of
stuff that happens at the beginning of the month. However, there weren't
necessarily a lot of actual users on the system, just a select few.
One of the things that was happening was a user was using the web interface,
and sent off a huge horrible query. When it didn't come back in a reasonable
amount of time, he simply hit "Refresh" on the page, thereby submitting the
query again (thank you Sir, may I have another!). This was partly why the
database was so heavily loaded.
Now, we're puzzled by a couple of things. One, is the spike of actual
connections in the DB Pool up to 150. This makes no sense.
Second, is this error detailed above. I've tried some contrived
experiements, and I can not raise this specific exception myself. My
experiment was to issue a "update table set column = 1 where id = 1" in a
generic SQL browser, thus locking the row, and then issue the identical
command through a Session Bean call. It has happily sat there for up to 10
minutes (600 seconds, which is our default <JTA Name="inf4.2"
TimeoutSeconds="600"/> setting), and it eventually times out, but not with
the same exception. Rather I get "java.sql.SQLException: ORA-01013: user
requested cancel of current operation" from Weblogic, and
"weblogic.transaction.internal.TimedOutException:" from my client.
Apparently, according to the original exception, an XA Resource has not
responded within 120 seconds, but through my testing, that XA resource isn't
necessarily a SQL connection waiting on a query.
Could someone provide insight as to what resource the system may be waiting
on? For in theory, to me, that's what is consuming our DB Pool. I'm assuming
that whatever they're waiting on (the DB apparently), they're ALL waiting on
it, and the reason that the pool spikes is because the system can never find
a "valid" connection, thus trying again with a new one. Is that what it
happening?
Clearly we basically have a tuning issue, but in fact, I'm looking for a
stability solution. When this occurred, our system run 3 load balanced
"legs". The middle leg was having the problem. When we dropped it, leg 3
picked up and then IT had the problem. However, once we killed all 3 of them
and restarted, they recovered.
So I'm looking for some idea to keep Weblogic alive, even at the expense of
booting off these offending transactions, and not having to restart the
servers.
Perhaps over time the system would have recovered on its own (most probably
in fact), but if we can get things cut off early (as well as beating users
that hit Refresh constantly when things "stick"), we can prevent these from
escalating the effectively downing the whole site.
Any thoughts would be appreciated.
Regards,
Will Hartung
([email protected])
Maybe you are looking for
-
< MODERATOR: Per the forum [rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement], please use an appropriate subject in your message... i.e., don't use somethgin that has been copy-pasted from an email!. Message locked.
-
How to open a form action in a popup window?
I have a form that has a submit button and a email button. The email button calls a javascript fuction that will execute a mailform script. everything is working fine, but I would like the output window from the mail formscript to open in a popup,
-
Custom Prompt sometimes shows wrong Machine Name
I set up a custom command prompt in my .bash_profile to show the machine name. Sometimes it works, sometimes it doesn't. The command: export PS1='\[\033[0;32m\]\h \W\$ \[\033[0m\]' Sometimes it shows lud610wxp-sales rfreedman$ Sometimes it shows qaim
-
Archived Invoices (on separate DB) need to be accessed via Oracle Apps
Hi there, Our organization is currently on Apps 11.5.10.2 and have acquired a new company which has been moved onto Oracle. However this new company has lots of old invoices that we do not wish to migrate to Oracle as we wish to keep the Apps databas
-
CS5 - Zen Cart database question
I just upgraded to Dreamweaver CS5, which is supposed to make it easier to edit things like the Zen Cart for us WYSIWYG people. I have somehow managed to set up a testing server, at least the testing server shows up, and seems to have all of the stuf