Posts

Showing posts from June, 2011

Maximum Number of User Connections Allowed in SAP J2EE Engine

Image
The maximum number of users that can parallely connect to the J2EE engine via dispatcher is a function of the dispatcher's heap size. Execute the following commands in the telnet tool to check how many user connections are allowed at maximum for the configure heap size: add debug debugmanager ConnectionsManipulator The value displayed against the property maxPossibleParallelUsers is the limit. You can restrict the maximum possible parallel user connections to a value less than the one shown above. Call the Visual Administrator Go to Dispatcher --> Kernel --> Connections Manipulator --> Properties tab Edit the values MaxParallelUsers from 0 to a values less than maxPossibleParallelUsers. Books on Tuning SAP: SAP Performance Optimization Guide: Analyzing and Tuning SAP Systems This guide is authored by Dr. Thomas Schneider, who has been working in Global Service & Support at SAP AG since 1996. Since 2004, he has been working in the Research & Breakthrough

How to create a thread dump for the J2EE Engine 6.40

Image
A throwing object hands over the exceptions to the calling object which in turn hands the exceptions to its calling object and so on. When as thread dump is triggered, this information is written to a file. The thread dump or stack trace can help troubleshoot problems such as a hanging java server node as it shows what method was running at the time. To trigger a java thread dump Call jcmon "/usr/sap/<SID>/<Instance>/j2ee/os_libs/jcmon pf=<path to profile file>" Choose Local Administration Menue by entering 20 Choose "Dump stacktrace" by entering 10 Select the Java node for which trhead dump should be triggered (see column idx and enter the corresponding number) Confirm with y The thread dump is written to /usr/sap/<SID>/<Instance>/work/std_server<n>.out or /usr/sap/<SID>/<Instance>/j2ee/cluster/server<n> if you have triggered the stack trace for server<n> You can also triger the stack trace

How To Check For Unlimited Strength or Unrestricted Jurisdiction Policy Files

When you install or update JDK, the default jurisdiction policy files are installed. These files allow limited cryptography. Your applications may require you to install unrestricted versions of these files (local_policy.jar and US_export_policy.jar). To check if you are using unrestricted version or not, copy these files from <JDK_HOME>/jre/lib/security to a temporary location and use these commands jar -xvf <path to jar files>/local_policy.jar jar -xvf  < path to jar files > /US_export_policy.jar Read default_local.policy and default_US_export.policy to find out the jurisdiction policy that is being used. If you see the following entry in the files, you are using unrestricted version. grant {   permission javax.crypto.CryptoAllPermission;  };

In Depth Review of Ubuntu 11.04 (Natty Narwhal) by Tom's Hardware

Image
If you have come here looking to fix high CPU usage by update-apt-xapi, read   http://sapnwnewbie.blogspot.com/2010/11/high-cpu-usage-by-update-apt-xapi.html . Looking for a good review on Natty Narwhal? Read this in-depth and balanced review on Tom's Hardware . The following aspects are covered: 1 – Introduction 2 – Installation Walkthrough 3 – Ubuntu 11.04 Overview 4 – Duelling Desktops 5 – The Panel 6 – Dash 7 – The Launcher 8 – uTouch 9 – Keyboard/Mouse Shortcuts 10 – Critique And Analysis 11 – Essential Unity Tweaks 12 – Test System Specs 13 – Benchmark Results: Essential Times 14 – Benchmark Results: File Copy Times And Archiving 15 – Benchmark Results: Multimedia 16 – Benchmark Results: Synthetics 17 – Benchmark Results: Gaming 18 – Conclusion

Ubuntu Mouse - Review by a redditor

Image
http://www.flickr.com/photos/cjayal/5417370637/ I didn't know Canonical sold computer accessories until today. Here is the review of Ubuntu Mouse available at their store. You know that mouse you use all the time that feels a little clicky if you slam down the button? Yeah, it's about 10x more clickier just doing a normal, light click on this mouse. It takes about a day or two of use to get used to the wheel being on the side, but one you get used to it it feels great. It's a great combo of both precise and smooth. I was worried about the shape being uncomfortable but I find it's the perfect size of any mouse I own. It feels great but it's also small enough to easily fit in my pocket. I REALLY love how it uses Mini-USB to connect - absolutely no setup, no waiting times, it just works as soon as you plug it in and since it uses Mini-USB that means you likely already have devices using it so you have a spare cable or two. Honestly the shipped cable is fairly

SSLException while handshaking

Image
The following are among most common SSL errors we have noticed during support: Error transmitting the message over HTTP. Reason: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: Peer certificate rejected by ChainVerifier. Unable to create new pooled resource: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier Error SOAP: call failed: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier Follow these guidelines to address the SSL errors 1. Ensure that all the certificates in the chain are added to Key Storage certificate. 2. If the interface was working earlier, the certificates may have expired. Check if any of the certificates in the chain has expired. 3. Check if there is any difference in CN (Common Name) and the host name or IP address. If the CN contains IP address, maintain IP address in the channel else maintain the host name. 4. If the call goes

MSE Virus and Spyware Definitions Update Failed with 0x80070422

Image
Virus and spyware definitions update failed Security Essentials could not check for virus and spyware definition updates due to an Internet or network connectivity issue. Click Help for more information about this problem. Error code: 0x80070422 Error description: Security Essentials can't start the update service because it's been disabled by the security administrator or as a result of a problem in the registry data. If you get the above error when updating the virus definitions in Microsoft Security Essentials, stop the Background Intelligent Transfer Service and start Automatic Updates. You can start the services from Start --> Run --> services.msc. MSE requires both these services to run, but some users have observed that BITS causes failures when a manual update to the virus definition is made. Start the service back after you have done updating the definitions manually. You can also download the latest virus definitions from a separate computer and apply

Transmission Data Dump of Seeburger AS2 Message and MDN - SAP XI

Image
The inbound and outbound AS2 messages or MDNs can be dumped to the file system for debugging. The dump also contains complete HTTP headers. To enable message dumping, navigate to ConnectorContainer service in Visual Admin. Select AS2 adapter --> ManagedConnectionFactory --> Properties. Set the property transmissionDataDump. The files are dumped to <your sap installation>/server0/seeburger/as2/dump and the file name contains AS2 message ID.

SocketException: Error when getting an FTP connection pool

If an FTP channel errors out with these messages: Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: SocketException: Connection timed out:could be due to invalid address Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections Possible reasons for the errors are : 1. The target server is down. Check if the server is available by pinging. 2. FTP services are down. Check if you are able to login using ftp command. 3. Firewall is blocking the connection. Check with the firewall support team. 4. The target server is non responsive. Check with the server administrator.

Internal Problem & OutofMemory - Editing XI Objects in Integration Builder

Image
The Integration Builder clients can use a maximum of 512 MB (by default) of heap. If you are editing a lot of objects or large objects, you may see java.lang.OutOfMemoryError and INTERNAL_PROBLEM errors. Here is the solution to fix the problem: 1. Open Exchange Profile (http://<host>:<port>/exchangeProfile/index.html) 2. Select IntegrationBuilder -> com.sap.aii.ib.client.jnlp.j2se.maxheapsize            3. In the right frame increase the maxheapsize parameter from 512m to 1024m         4. Press the save button 5. Go to URL http://<host>:<port>/rep/support/admin/index.html        6. Select ALL Properties on the left side and then press the REFRESH button until you see the new value on the right side

Oracle Database Firewall - Protection Against SQL Injections and Unauthorized Access

Image
http://xkcd.com/327/ You may protect the database from outsiders with a firewall. However, if the access is gained from within the LAN, you will need something that provides security at the source rather than at the perimeter. Oracle Database Firewall provides a first line of defense against attacks like SQL injections and application bypass. Oracle Database Firewall monitors and learns about the normal usage and data access. It can assess the intent of data access and if there is any abnormal activity, it blocks, logs and alerts. Oracle DB Firewall also helps developers to fine tune the SQL queries as it monitors the execution times, status of the query, errors etc. It can also help while migrating the DB to a new server with the information on the clients accessing the DB. It provides reports for SOX, PCI and other regulations and prevents DBAs from abusing their privileges. Oracle, Microsoft SQL Server, IBM DB2 for Linux, Unix, and Windows, and Sybase databases are supported b

Google Chrome - Standalone/Offline/Alternate Installer

Offline Installer for Google Chrome Web Browser The Google Chrome Installer doesn't contain the software package. The browser software is downloaded when you run the installer. Google probably does this to avoid Aw, Snap moments during installation and save on support. However, if you need to install the browser on multiple machines, the installers will be downloading same files again. Google let's you download a standalone installer to make installing Chrome simple. You can access the installer here: http://www.google.com/chrome/eula.html?standalone=1 If you do not have authorizations to install software, you can get a portable version here: http://portableapps.com/apps/internet/google_chrome_portable Chrome rocks! Make it better by filing bugs at http://crbug.com and posting ideas at http://new.crbug.com