User Profile
Collapse
-
neeru replied to java.security.cert.CertificateException: Could not parse certificate: java.io.IOExcepin Javais there any format to give the input into certificate file -
neeru replied to java.security.cert.CertificateException: Could not parse certificate: java.io.IOExcepin JavaCould not pa
rse certificate: java.io.IOExcep tion: Empty inputLeave a comment:
-
neeru replied to java.security.cert.CertificateException: Could not parse certificate: java.io.IOExcepin Javaactually i try to solve it but it solving error
after running the code out should show an certificate pageLeave a comment:
-
neeru replied to java.security.cert.CertificateException: Could not parse certificate: java.io.IOExcepin Java...Code:C:\Cert>javac Cert.java Cert.java:16: warning: BASE64Encoder is internal proprietary API and may be removed in a future release w.write(newsun.misc.BASE64Encoder().encode(b)); ^ 1 warning C:\Cert>java Cert Exception in thread "main" java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input atLeave a comment:
-
neeru started a topic java.security.cert.CertificateException: Could not parse certificate: java.io.IOExcepin Javajava.security.cert.CertificateException: Could not parse certificate: java.io.IOExcep
...Code:import java.io.*; import java.security.*; import java.security.cert.*; import java.nio.charset.*; public class Cert { public void export(java.security.cert.Certificate c) throws Exception { byte[] b=c.getEncoded(); FileOutputStream fos=new FileOutputStream("s.cer"); fos.write(b); fos.close(); fos=new FileOutputStream("s.txt"); Writer w=newLast edited by neeru; Apr 4 '13, 06:32 AM. Reason: C:\Cert>java Cert Exception in thread "main" java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input at sun.security.provider.X509Fa -
java.io.FileNotFoundException
C:\>javac ExportCertifica te.java
ExportCertifica te.java:45: warning: BASE64Encoder is internal proprietary API an
d may be removed in a future release
wr.write(new sun.misc.BASE64 Encoder().encod e(buf));
^
1 warning
C:\>java ExportCertifica te
java.io.FileNot FoundException: Certificate.cer t (The system cannot find the file
specified)... -
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at Por
...Code:import java.net.*; public class PortScan { public static void main(String args[]) throws Exception { int s1,s2,in; s1=Integer.parseInt(args[0]); System.out.println("Start Port No is " +s1); s2=Integer.parseInt(args[1]); System.out.println("End Port No. is " +s2); InetAddress i=InetAddress.getLocalHost(); System.out.println("InetAddress is "+i);Last edited by neeru; Apr 4 '13, 05:40 AM. Reason: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at PortScan.main(PortScan.java:7) -
-
thankx for ur suggestion it was very help full to me
my prblm is solved nowLeave a comment:
-
plzz chk it and reply asap if possible
path
Code:Dim process As New Process process.StartInfo.WorkingDirectory = Server.MapPath("Java\")Leave a comment:
-
but i have set the path actually it's running in vs2008 and when i add this into iis7 it started to throw this errorLeave a comment:
-
this is the code
...Code:Imports System.Data.SqlClient Imports System.IO Imports System.IO.File Imports System.Diagnostics Partial Class new_program Inherits System.Web.UI.Page Dim conn As SqlConnection Dim comm As SqlCommand Public ds As Data.DataSet Public da As SqlDataAdapter Public cs As String = System.Configuration.ConfigurationSettings.AppSettings.Item("connection_string")Last edited by neeru; Mar 31 '13, 04:37 PM. Reason: error is coming at line 203 plz reply asap if possibleLeave a comment:
-
wht ur r saying im not getting it coulde u plz ellaborate it.Leave a comment:
-
-
...Code:Imports System.Data.SqlClient Imports System.IO Imports System.IO.File Imports System.Diagnostics Partial Class new_program Inherits System.Web.UI.Page Dim conn As SqlConnection Dim comm As SqlCommand Public ds As Data.DataSet Public da As SqlDataAdapter Public cs As String = System.Configuration.ConfigurationSettings.AppSettings.Item("connection_string")Leave a comment:
-
getting error at process.start()
...Code:Server Error in '/app_suite' Application. The system cannot find the file specified Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ComponentModel.Win32Exception: The system cannot find the file specified Source Error:
No activity results to display
Show More
Leave a comment: