Madhu Bala

Greenhorn
+ Follow
since Jul 30, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Madhu Bala

Hi Friends,

I am using Runtime class in my application.It creates JAR & EAR Files.For that I used Runtime class.
Here my peace of code Pls help me what is worng in this code.


try {
String stmt = "jar -Mcvf " + ejbJarName + " META-INF/MANIFEST.MF " +" META-INF/ejb-jar.xml " + " com";
Process stmtProcess = java.lang.Runtime.getRuntime().exec(stmt);
if (osname.startsWith("Windows")) {
System.out.println("use Thread.sleep(" + ntdepltime + ")");
Thread.sleep(100000);
try
{
stmtProcess.exitValue();
}catch(IllegalThreadStateException exp){ System.out.println("Madhu exception "+exp); }
} else {
System.out.println("use waitFor()");
stmtProcess.waitFor();
}
stmt = "jar -Mcvf " + newEarName + " META-INF/MANIFEST.MF " +" META-INF/application.xml " + ejbJarName + " " + clientJarName;
stmtProcess = java.lang.Runtime.getRuntime().exec(stmt);
if (osname.startsWith("Windows")) {
System.out.println("use Thread.sleep(" + ntdepltime + ")");
Thread.sleep(100000);
} else {
System.out.println("use waitFor()");
stmtProcess.waitFor();
}
} catch (Exception e) {
e.printStackTrace();
}

After JAR file creatation execution it is throwing java.lang.IllegalThreadStateException exception.

Pls help me in this regard.

thanks,
Madhu
hello friends,
Please help me,What type of question will ask in interviews on WEBLogic.
if any one have that type of questions please send it to me
thanking you

madhu
21 years ago
Dear friends,
I Wrote first Struts applicaion. My bean is not complied.I am using tamcat4.1 and struts1.1.it is giving org.apache.struts.action.ActionServlet not found.
is it needed to have Apache?
please help me in this regard.
thanking u
madhu
21 years ago
Hai All,
Any please tell me How to set Path & classPath for Weblogic6.0.
I wants run JSP& EJB applications.

madhu bala
21 years ago
what I want is generate reports and save it in
MSWord.
22 years ago
hai,
any one know how to develop Reports in java.
Please help me.
thank u
[ August 01, 2002: Message edited by: madhu_r777 ]
22 years ago
Hi,
if(rs2.next())
{
//do something
}
after this statement u close rs2 resultset.
why don't u use subquery
Hi,
once the page displayed on ur browser the http connection is removed why because it is connection less protocal.
u need to refresh to get updated values.

bye bye
madhu.
22 years ago