sunil kumre

Ranch Hand
+ Follow
since Dec 23, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sunil kumre

I'm getting this error when our application tries to load a KeyStore of type PKCS12 from the given input stream.

Any ideas what could be wrong?


java.io.IOException: Error in loading the keystore: Private key decryption error: (java.lang.SecurityException: Unsupported keysize or algorithm parameters)
at com.ibm.crypto.provider.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:695)

Thanks in advance,
Sunil
17 years ago
We are getting the following error trace when running a batch in our application. The batch calls a stateless session bean and looking at the trace that's where the problem is occuring I believe. But I'm not sure though.

SendAlertAppProcessor.processData(HashMap map)|6770|2007-04-03 17:31:41,521|ep2ppap1|BATCH_USER|N/A|42||java.lang.Runtime@715bf2c1|ORB.thread.pool : 1|batch.monitoring.Alert|#CATCH# javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
org.grnds.foundation.assert.GrndsPreconditionError: precondition FAILED:_value cannot be null minor code: 0 completed: No
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
org.grnds.foundation.assert.GrndsPreconditionError: precondition FAILED:_value cannot be null minor code: 0 completed: No
at java.lang.reflect.Constructor.newInstance(Native Method)
at com.ibm.CORBA.iiop.UtilDelegateImpl.copyObjectByProxy(UtilDelegateImpl.java(Compiled Code))
at com.ibm.CORBA.iiop.UtilDelegateImpl.copyObject(UtilDelegateImpl.java(Compiled Code))
at javax.rmi.CORBA.Util.copyObject(Util.java(Inlined Compiled Code))
at com.s1.common.alerts._AlertService_Stub.trigger(_AlertService_Stub.java(Compiled Code))
at com.s1.common.alerts.batch.SendAlertAppProcessor.processData(SendAlertAppProcessor.java(Compiled Code))

Any help will be greatly appreciated.

Thanks,
Sunil Kumre
17 years ago
i'm trying to parse a dtd by getting a url connection to that dtd.
i have a url :- http://localhost/Docspecs/My Docs/PO.dtd
Now becoz of the space in the folder named "My Docs" while parsing i get a java.io.FileNotFoundException.Any solutions?
Thanks in advance-sunil
22 years ago
When a servlet handles concurrent requests where do the requests get queued?
22 years ago
Hello,
I have a requierement wherein I've to create a persistent system variable using java.Does anyone know how to go about doing this?
Thanks in advance.
Sunil
22 years ago
Hello everyone,
What criterias would govern the choice between an abstract class and an interface?
Thanks in advance.
Sunil
22 years ago
Hello everyone,
I'm using websphere application server 5.0.
I'm frequently getting this message "Timed out while waiting for the server to be initialized."
Does anyone know where to set the time out interval period?
Thanks in advance.
Sunil
22 years ago
Hello
I'm trying to deploy a session bean in websphere 4.0 using AAT.
I'm getting this error :
ejbModule/EJSRemoteStateFulStackingLogicHome.jav(-1):This compilation unit indirectly references the missing type stacking.Stacking(typically some required class file is referencing a type outside the classpath)
Shutting down workbench.
All my classes for the session bean are in the directory c:\websphere\appserver\installedapps\stacking(all the files have package "stacking") and i've set the classpath till installedapps.
Can anyone help?
Thanks in advance.
Sunil
22 years ago
Hello,
I'm trying to run sample JMS program using J2SEE1.3.1 server.For a sample PTP program when i try to send a message from a sender class the following error is occuring.
Can anyone help?
Thanks in advance.
Here is the exact error message--
JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify
class name in environment or system property, or as an applet parameter, or in a
n application resource file: java.naming.factory.initial
22 years ago
Hi
I want to pass an object(for eg a student object with roll no as 10)from an applet to a servlet.
Inside the servlet how should access this received student object's roll number?
Can someone help with a sample code?
Thanks in advance
22 years ago
Can an alert window be autominimized?
thanks Les
22 years ago
What is meany by memory leaks?
22 years ago
Hi
Yes i've a webserver running on local machine.I'm using weblogic.
The page(an html file:this embeds the applet)is loaded from a dir under weblogic when the server is running.
Also i tried invoking the servlet directly by typing the url in the browser and it gets invoked.
But the same is not happening thro applet.
22 years ago
Hello
I've written an applet to invoke a servlet it gives the foll error message==>

Connection rejected: 'Login timed out after: '5000' ms on socket: 'Socket[addr=127.0.0.1/127.0.0.1,port=16
here's what my applet looks like==>
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
/*
<applet code="ReadWriteApp" width="400" height="400">
</applet>
*/
public class ReadWriteApp extends Applet implements ActionListener{
Button Connect;
TextField tf;
public void init(){
tf = new TextField();
Panel p = new Panel();
Connect = new Button("Connect");
Connect.addActionListener(this);
p.add(Connect);
p.add(tf);
add(p);
}
public void actionPerformed(ActionEvent ae){
tf.setText("sunil");
callServlet();
}
public void callServlet(){
try{
URL url = new URL("http://localhost:7001/MyCom");
String qry = URLEncoder.encode("sunil")+ "=" + URLEncoder.encode("sunilkumre");
URLConnection uc = url.openConnection();
uc.setDoInput(true);
uc.setDoOutput(true);
uc.setUseCaches(false);
uc.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
uc.setRequestProperty("Content-length", "" + qry.length());
// Write out post data
DataOutputStream out = new DataOutputStream(uc.getOutputStream());
out.writeBytes(qry);
out.flush();
out.close();
}
catch(MalformedURLException me){
}
catch(IOException me){
}
}
}
What could be the problem?
thanks in advance
Sunil.
22 years ago