MBeanServer will be invalid after the client of MBeanServer long running
I develop a java applcation,It is as a client of MBeanServer, It will use the MBeanServer to query some system info from WebAs, But after a long run (about for one days), The MBeanServerConnection will be broken and invalid ,When call the queryMBean , It will throws some SecurityExceptions about "Use not authorized".
I use the remote mode to get the MBeanServerConnection as belows source code:
Properties connectionProperties = new Properties();
connectionProperties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"com.sap.engine.services.jndi.InitialContextFactoryImpl");
connectionProperties.setProperty(Context.PROVIDER_URL, "<host-name>:<p4-port>");
connectionProperties.setProperty(Context.SECURITY_PRINCIPAL, "<user-name>");
connectionProperties.setProperty(Context.SECURITY_CREDENTIALS, "<password>");
// create the MBeanServerConnection
MBeanServerConnection mbsc = JmxConnectionFactory.getMBeanServerConnection(JmxConnectionFactory.
PROTOCOL_ENGINE_P4, connectionProperties);
I try to get the mbeanserver using the ctx.lookup("jmx");
in a servlet, But after a long run (about one day), the exception still be thrown.
How can i solve this problem, Is it a bug of WebAs?
Thanks and hope somebody reply it.
Hi,
I suppose what happens is that the security session expires. Default session expiration period is 27 hours.
To check whether this is the case you can try to increase the SessionExpirationPeriod property of security service.
However if this is the problem, it will be no resolution as you will be keeping a big ammount of sessions.
I hope this helps.
Greetings, Myriana
Similar Messages
-
My Keyboard and touch-pad will work during post, but will not work after the os loads?
I have a G60 and My Keyboard and touch-pad will work during post, but will not work after the os loads? Im running Windows 7, Anyone have any Ideas? I have already tried a hard reset, and safe mode???
Try pressing the fn key and f2 to reach bios
or
try a usb mouse from your desktop
S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!**** -
My Itunes will not start after the latest update. I keeo getting error message tEventType : InPageError P1 : c000009c P2 : 00000003 . I have tried to reinstall but no joy. Any advise?
'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
XP instructions in the following document: How to perform disk error checking in Windows XP
Vista instructions in the following document: Check your hard disk for errors
Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards? -
Photoshop elements 13 will not initialize after the program has been opened
Photoshop Elements 13 will not initialize after the program has been opened once. If I remove Elements processes from task manager, Organizer will open I am using Windows 7 and Elements 12 is also installed on the same computer.
the password and licensing agreement are needed for installation, not to run.
check your install logs, Troubleshoot with install logs | CS5, CS5.5, CS6, CC -
Any body suffering leggsness while opening the appstore and game center from mnimaze center...... In ipad mini pls sort me out and tell me ......it will be improve after the update to ios 7.0.3
There have been issues with the app store and with game center. And they all seem to be on Apple's end. I'd wait for the next update and see if that helps.
-
Apple tv3 runs slowly on all apps in the box,after the last update.Picture sometimes run's slowly on netflix ,and all the apps in the apple tv3 box.But the sound is ok.Anyone else have this problem?I have a 20Mbit wireless line,but i had put a cable from my router to my apple box,but it did not help.
Are you using a home network?
Try the following :
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Power off and then back on the router
- Reset network settings: Settings>General>Reset>Reset Network Settings -
My iPad2 is four weeks old and the home button will not always close the application it is currently running and the problem is getting worse and I have tried to restore the iPad but this did not improve the problem...Is this a hardware problem that I need to seek a replacement
Your home button and power button are completely unresponsive, even when you attempt a hard reset? If so you will have to put into recovery mode and restore through itunes or possibly DFU if that does not work
-
I have LastPass running on a desktop PC. I just bought a new Laptop, Win 7, I can open the Vault on the laptop, but it will not auto fill the site logins Firefox is running on both computers
Hi,
Please try this: Firefox '''Tools''' ('''Alt''' + '''T''') > '''Add-ons''' > '''Extensions''' (on the left), click '''Options''' for LastPass > '''General''', enable '''Automatically Fill Login Information'''. If a site has more than one entries, you can set the preferred login in the vault by right-clicking the preferred entry > '''Edit''' and enable '''AutoLogin'''.
[https://lastpass.com/support.php LastPass support] -
We have two users that have been using Creative Cloud for almost a year. Recently, sometime in the last 4ish weeks, the users can no longer run Creative Cloud apps. (Yes, our subscription is paid.) Error simply says administrator access is required to install. The apps have already been installed. The users cannot run them unless they are in the local admin group.Using "Run as admin" does not work. It gives the same error.
I have opened a case with adobe support and was basically told to suck it up and put the users in the admin group. Actually, what was said was that it is "mandated that the users have administrative rights".
There are a couple of things wrong with this. It was working for both users until recently - a recent required creative cloud update. The users have never been local admins yet the apps were working (poorly, but working).
We are in an enterprise environment and users simply do not have administrative rights on the computers.
I have changed permissions on all adobe folders, granting users or authenticated users modify or full control rights, did the same in whatever Adobe registry HKLM keys I could find. Nothing has allowed the users to run the apps - unless they are put in the local admin group.
Someone has to have a fix for this. Adobe apps have proved to have far too many vunerabilities to even entertain the idea of elevating user rights. I can't imagine that enterprise environments are allowing this.
Any help or suggestions are greatly appreciated.Jeff,
Thank you for your response. The users in question are "standard" domain users. We do not reduce users permissions below the standard level.
The apps do not load with their current standard user permissions.
The thing that makes this odd, is that up until recently they did this issue with cloud apps. The only way I can make it work for them now is to put them in the local administrator group on their pc's - which is not going to happen.
This is what they now see. As I said before, this was not a problem up until recently they would see all their available apps. If I put them in the local admin group the apps are listed without having to install. Everything is there, just not accessible to the user. -
HT201328 My iPhone will not unlock after the restore on iTunes.
I request to unlock my iPhone from AT&T they send my e-mail that to plug my iPhone in to iTunes and I did the process after the restore my will not unlock.
Check the status of unlock on-line.
https://www.att.com/deviceunlockstatus/client/en_US/?
Bring to their notice. -
Components are invalid after the execution of utlrp.sql
Hi All,
I have migrated one database from the version 10.2.0.4 to 10.2.0.5, After the execution of upgrade script all components are found as valid, and then I executed utlrp.sql and at the end of this execution some of the components became Invalid. Please find the details below and Can anyone help me on this?
I have used RMAN for migration and started the database by using startup upgrade.
SOURCE:
OS : Linux 2.6.18-92.el5
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
TARGET:
OS :Linux 2.6.18-274.el5
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
Regards,
JaiHi All,
I have resolved this issue after the re installation of Spatial component
Thanks -
HT201210 my ipad 2 will not reboot after the ios6.1 update
My IPad 2 froze and will not reboot after I went from IOS 6 to the update of IOS 6.1. I tried all the step given and nothing is rebooting it.
http://support.apple.com/kb/ht4097
You may need to try this More than once. -
Upgraded ios on iphone 3GS to ios 6.0. I manually connected to the wifi and it works. After the phone shuts off, it will not connect back to wifi when it turns on unless I reconnect manually again. I have the "Ask to join Networks" button turned on. Frustrating and could get expensive if I forget and start using ATT data. Suggestions??
Settings, Reset, Reset Network Settings. Then attempt to connect again. Passwords will be deleted when you do this, so it will ask for the password again. After that, see if it will connect.
-
MyiPod classic won't charge. I just bought a new laptop with Windows 8 and when I plug in my iPod, iTunes will recognize it and sync, but will only charge during the syncing process. Any suggestions?
rubicon53 wrote:
I just bought a new laptop and my ipod nano will not stay connected to my computer.
I cannot transfer any of my songs to my new laptop
How to use your iPod to move your music to a new computer -
After the last itunes updatei am getting runtime errors R6034 my OS is windows vista
I have uninstalled and reinstalled Itunes several timesHello, Desfromnotts.
Thank you for the question. Try uninstalling all components of iTunes in the order specified of the article below. Once this is done attempt to install iTunes again.
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
http://support.apple.com/kb/ht1923
You may need to process the steps in the article below for each component when uninstalling iTunes if the issue persists.
"The feature you are trying to use is on a network resource that is unavailable" alert when removing Apple software in Windows
http://support.apple.com/kb/TS3704
Cheers,
Jason H.
Maybe you are looking for
-
Creating A File Resource Using Tomcat JNDI
Hi guys, My problem is that I am creating a web service and I cannot get to a properties file without creating an absolute reference to that file. If I was creating a servlet I would simple use getServletContext() method to get a relative reference t
-
How do I get numbers spreadsheets to open at the last entry?
I work with Numbers spreadsheets often and find it very frustrating that on opening a document it opens at the top rather than at the last place of entry. My frustration is that some of the spreadsheets I work with are fairly long and require me to t
-
Why does DEP keep closing photoshop cs6
why does DEP keep closing photoshop cs6
-
Standard report to show Raw Material which has been consume
Hi, My plant controller would like to know for particular of raw material has been consume by which style number for particular period of time. Example:- Material A has been consume by style number A - 6 pc, B - 4 pc and C - 2 pc Do SAP has standard
-
HT204411 Can I charge card for the iTunes account that is not a U.S.
Can I charge card for the iTunes account that is not a U.S.