How to do a major GC without restarting the engine?
With WAS 6.4, is there any way to do a major Garbage Collection. Force one. I know that one happens after the generations fill up but I want one to happen in a batch file that I can let loose in the middle of the night. Is there one that can be set up in WAS or is there a few lines of code that will work.
Hi David,
in general, garbage collection cannot be forced. See for example http://www.jchq.net/tutorial/03_01Tut.htm as one out of hundreds
Anyhow, gc happens really often. WAS 6.40 + EP are so memory consuming, that it happens every n <i>seconds</i> when there is some real load on the server. On my 2GB dev installation, you can watch the GC run at least I think 30 to 50 times only when the server is starting (never really counted the calls, just watched them, they may be more).
So, what you plan does not really make sense. One more comment: There exists a JVM direction to even supress System.gc() functionality. Even this can be set on your server, then you'd have no influence at all.
Just to answer your question completely: You could for example implement a scheduler task within KM which is scheduled each night and does nothing else than calling System.gc(); - as said, without real sense.
Hope it helps
Detlev
Similar Messages
-
How do I turn on -XverboseTimeStamp without restarting the server?
The execute method on the getDiagnosticCommand seems pretty handy for invoking things programatically. I can turn on verbose GC with this command, but how can I turn on the verbose timestamps so I know when the gc occured (without restarting)?
ThanksTry the "decorations" parameter to the "verbosity" command. Something like this:
bq. verbosity change=memory=info decorations=timestamp
See [http://e-docs.bea.com/jrockit/jrdocs/refman/optionX.html#wp1001095] for possible decorations.
Edited by: Staffan Larsen on Feb 24, 2009 9:39 AM -
Hi, I would be very grateful if someone could tell me how to disconnect internet connection in Time Capsule and reconnect without restarting the whole device?
The thing is that as I have a dynamic IP address, everytime I restart the internet connection my IP address changes. I sometimes need it to change, so I need to restart the connection. I don't know another way to restart the connection than restarting the whole Time Capsule.
Thanks!!
PD: the computer I use is Windows based, using the Airport Utility for Windows, but I also have a MacBook Pro I could use and an iPhone too.The utility in windows is very like Mac so the screenshots are from Mac as I don't have windows available now.
How this works depends on the setup of the TC.. which you did not tell us.. you cannot change anything if you do not have the TC as the main router in the network.
So on the internet tab you need to share a public IP address.
On the next tab where you set IP address.
Click the renew IP address.
It might work.. and it might not.. the problem is you are not disconnecting the network.. sometimes the hard disconnection is required before the address will renew..
What about unplugging the WAN port.. then click renew the IP which will fail.. then plug the wan back in again.
In the end it is easier and faster to power cycle the TC. -
How to modify JSP on Weblogic without restarting a server
Hello,
Could someone explain how to modify JSP on Weblogic without restarting a server?
We use WL 10.2.
I search and modify required jsp on a server, but nothing happens on a Web Browser. I run in Development mode.
Please advice,
Thanks,
YuriHi Yuri,
As you are in Development mode you have one options to use the Auto Deploy folder which can be found in the following path (domain_name/autodeploy).
More information on Auto Deployment check the below link:
http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html#wp1021626
Other option is to use the following parameter "*page-check-seconds*" in your weblogic.xml file
For more information check out the below link
Topic: jsp-descriptor
http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1038491
Hope this helps you.
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Middleware Magic | Come, Join Us and Experience The Magic… -
How do I restart apex without restarting the database?
As the title says... How do I restart apex without restarting the database?
For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat.
How do I restart apex?
How do I get it to restart automatically on failure.
How do I receive failure notification messages.
How do I diagnose the cause of the failure.
We were looking at using apex in a production environment but the prospect of unplanned restarts of production databases every week is a little daunting.
Regards,
DavidDavid,
>> We're not using oracle http server as it's a 64 bit version so yes the whole thing is running within the database.
1) So your Web server is the XDB HTTP protocol server and embedded PL/SQL gateway (basically, the database's embedded Web server)? Is this 11g? If so, what platform?
2) Are there any reported issues in the database alert log?
3) When you check the status of the database listener, does it show services running for this specific port (default 8080, I guess)?
4) If you normally go to http://server:port/apex, when this situation occurs, what happens when you try and go to http://server:port?
Joel -
there aren't any "x's" on the tabs so that i can close them. how do u close individual tabs without restarting firefox?
Why not just... put an X on it?
-
How to make new JSP take effect without restart J2EE engine
Hi,
Whenever I modify the JSP file, I have restart the J2EE engine.
I have tried to delete all generated Java/class files, but the new JSP file will not be read.
Could someone tell me whether it's possible to configure NetWeaver server so that new JSP file will be read/translated/compiled without restarting the J2EE engine?
Thanks & Best Regards,
DavidYou may find information on adding JSP file in the link below.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fb9fce90-0201-0010-f3bc-ceba6ff2ebdd] -
How to restart the Netweaver Server without restarting the whole OS (Suse)
We are setting up the SAP Netweaver Java on Suse Linux Trial in VMWare.
We require to restart the Netweaver Server several times. Is there a possibilty to restart the Netweaver Server without restarting the whole Suse Linux Server Operating System?Hello Deniz,
startsap and stopsap have the folllowing syntax :
startsap [db|r3|j2ee|all|check] [<instance>]
you could use startsap/stopsap to start/stop any of the db or r3 or j2ee or any particular instance.
e.g.
startup db
startsap r3
startsap j2ee (just j2ee part)
similarly for stopsap
if you have multiple instance you could use the instance ABC as
startsap ABC
If you just want to restart any particular process of j2ee engine, you could use jcmon.
Hope that helps.
Snehal -
Deploying, ReDeploying JAR file to WebLogic EM without restarting the serve
Hi
Can any one help me how to re-deploy .jar file on weblogic EM with steps.
Deploying, ReDeploying JAR file to WebLogic EM without restarting the server
Appriciate if you provide information in steps with screenshot.
Note: Not in weblogic 11g console.
Thanks,
Phanihttp://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA
-
Modify JSP file without restarting the server
Hi guys,
I need to do small change in the JSP in the production.
How can I do it without restarting the server?
I have deployed the application as an EAR file.
I use WLP8.1 SP3
IS there any way?
AnanthYou can try expanding (use jar util) that ear into temp dir, then make the change, use jar util again to create the ear. try redepolying it. Make sure change the jsp recheck and hit that page. see if it works. Incase if it works put the jsp recheck back to -1.
Note: This is just an idea, I never done.
Thanks
Srini -
I've forgotten my administrator password and can't download software. can anyone advise how to reset a new password without having the original?
Forgot Your Account Password
For Snow Leopard and earlier
Mac OS X 10.6- If you forget your administrator password
For Lion/Mountain Lion
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see Reset a Mac OS X 10.7 Lion Password and
OS X Lion- Apple ID can be used to reset your user account password.
If you are unable to boot from an installer DVD:
(these will only work on Leopard or earlier)
1. Boot to Safe Mode by restarting and after the chime press and hold down
the COMMAND-S keys until a black screen with white type appears.
2. At the prompt, type the following commands pressing return after each
command line:
/sbin/fsck -yf
If you do not receive a "Filesystem OK" message then repeat this command
until you do. If after seven tries you still do not receive a "Filesystem OK"
message, then the system is corrupted and needs to be reinstalled.
mount -uw /
cd /private/var/db/netinfo
mv local.nidb local.old
rm ../.AppleSetupDone
shutdown -r now
The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
Reset Admin Password Using The Terminal
You can reset the password by printing out (or writing down) and carefully following these steps.
First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what the directory is called in the Users folder.
Now, start in Single-user Mode. It should boot into a command line.
Enter these exact lines. Press RETURN after each.
mount -uw /
ifconfig lo0 up
cd /var/db/netinfo
netinfod -s local
Now you'll need that short name. Enter "passwd", a space, and the short name of the admin. For example, if the admin was rather prosaically called "imadmin", you would enter "passwd imadmin".
The computer will now prompt you to change the password for "lmadmin" (or whatever the short name was). Go ahead and enter a new password.
Now, enter:
sync
reboot
and the machine will reboot. The admin password should now be changed. -
I have three iPads and one iPod and one iPhone. How can I message between them without sending the message to all of them. You send the message to your email address but all of them are set up under one account.
You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.
-
I want to download an audiobook, but my daughter has a gift card on the account. How can I download my audiobook without using the money from her gift card?
go directly to your ibook app. and you're going to find it. it's only with ibooks app.
best
Olivier
<Edited by Host> -
How can i print an email without printing the attachment?
I just got my new macbook pro retina display. I am using Mac mail and want to know how I can print an email without printing the attachement. Any suggestions and solutions would be appreciated.
Thank you for your suggestion. But when I receive an email that has an attachment (shown by paperclip symbol) The email opens and shows the attachment(jpg picture) at the end of the email so when I go to print - the email pops up with the picture already opened inside the body of the email. Can not figure out why this happens in mac mail. when i used outlook in windows only email would show. in order to see attachment you had to click on paperclip and only then would the attachment (picture apprear).
Any other suggestions that I may could try would be appreciated. Thank you! Gabriela -
Hello all, I am a photographer and have my portfolio, edited and raw images backed up on a Seagate Free Agent External Hardrive. I mounted my external hard drive to a pc recently and now I don't have edit or write permissions to it on my Mac (read only). How do I get them back without erasing the drive and loosing my valuable work?
If you re-format it you will lose all the data on it!!!!! So make sure you have backed up the drive or moved all the data on it to another external HD or the internal HD on your iMac.
Below is an Apple Advice letter that explains how to format an external HD, it's written for Aperture but you can use the instructions to formate any external HD.
http://support.apple.com/kb/HT3509
Maybe you are looking for
-
I can see my Maxtor drive, but it's not showing up on My Network- help!!
Hi there- Just installed my shiny, new WRT 610-N and have hit what appears to be a common problem. BTW- I've searched the boards for a solution, so forgive me if this has been answered elsewhere and I just missed it....here's the story: I can't acces
-
Since I Installed the LAST few Updates FF has CRASHED MORE often and FROZE and SLOW in Typing and Navigating When more that 2 tabs are in use. SO I want to UNINSTALL those "Fixes" or "Updates that Crashes CONSTANTLY!" IF I WILL loose all info Then I
-
Is Java a compiled language? Actually, Java is a compiled/interpreted language. See the links below. This is the best classification for the Java language, in my opinion. Read [_this thread_|http://forums.sun.com/thread.jspa?threadID=5320643&start=0&
-
Error in function module BAPI_ACTIVITYCRM_SAVE
Hi friends, I am useing the bapi BAPI_ACTIVITYCRM_CHANGEMULTI and with this bapi i want to change the status . inm retun parmeter of the bapi BAPI_ACTIVITYCRM_CHANGEMULTI i am geting sussful and after this i am using the bapi BAPI_ACTIVITYCRM_SAVE w
-
Accessing R12 Integration Repository error
Hi, When I tried to access the R12 integration reporsitory via the Integrated SOA Gateway responsibility i'm getting the following error. Integrated SOA Gateway is not a valid responsibility for the current user. Please contact your System Administra