satishbsk kumar

Greenhorn
+ Follow
since Jul 24, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by satishbsk kumar

Hi Lorand,

Space is present after the scriptName. And also note that after the construction of exeArgument ,
parameter passed to execute() method is

/usr/bin/ksh testScript.ksh argValue.

This is similar to the command which i am running manually. I mean, both commands are same.

And also note that, when i am running manually script is able to generate the full log. Which is zero byte in case of calling from java.


Regards,
Satish Kumar



12 years ago
Hi All,

Any one please reply...
12 years ago
Hi All,

I am trying to call an unix schell script from my java program using java.lang.Process class.

Code :



testScript.ksh:
--------------
This script will inturn calls an exe file.


I am able to run the script successfully manually using below command
/usr/bin/ksh testScript.ksh argValue.


But, i am getting exit value 139 while calling from java class. From the logs, i am observed that testScript.ksh getting called,but it's failing to call exe file.

Thanks in advance,
Regards
Satish


12 years ago
i think hibernate unable to create session.. check the hibernate.cfg.xml file path
rgds,
Satish
You can change the amount of memory allocated for use by your JVM using the -Xms and -Xmx command line parameters.

For example, the following says run MyApp in a JVM and allocate a minimum of 5 Megabytes and a maximum of 15 Megabytes off of the heap in order to do so.

java -Xms5m -Xmx15m MyApp

Rgds,
Satish
12 years ago
Please check html:form tag.. I am not sure this tag contain "name" attribute.

Rgds,
Satish
12 years ago
Hi All,
Please clarify whether Server creates new thread(Servlet Instance) for each request.

Rgds,
Satish
12 years ago
i am not sure.. do we need to add entry in validation.xml file for this dyna form..
Regards,
Satish
12 years ago
Thanks all for your valuable suggestions..
place mysql-connector-java-*.bin.jar file in your class path
Kiran,
I guess it reaches excel file limitation(65000 approx).In that case you need to split excel sheet into multiple sheets.
Regards,
Satish
Your right john,
My choice is also a) DROP
Satish
Hi,
How Prepared statement differ statement ,while passing different values in where condition
Regards,
Satish
Hi All,
What is the difference between connection obtained by using DataSource and connection got from DriverManager.Which one is effective.
Regards,
Satish