Error while generating JAR files during upgrade from 11.5.9 to 11.5.10
Hi,
We are getting the following issue after applying 11.5.9 CU2 patch set during the process of upgrade from 11.5.9 to 11.5.10.
- 3171663: 11.5.9 Oracle E-Business Suite Consolidated Update 2
Executing: /u01/app/tinst/tinstcomn/util/java/1.6/jdk1.6.0_18/bin/java -Djava.security.egd=file:/dev/urandom sun.security.tools.JarSigner -keystore ******** -storepass ******** -keypass ******** -sigfile CUST -signedjar /u01/app/tinst/tinstcomn/java/oracle/apps/fnd/jar/fnddssgraphgui.jar.sig /u01/app/tinst/tinstcomn/java/oracle/apps/fnd/jar/fnddssgraphgui.jar.uns CUSTOMER
ERROR: JarSigner subcommand exited with status 1
No standard output from jarsigner
JarSigner error output:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: sun.security.tools.JarSigner. Program will exit.
Can you please advice regarding this issue....????
Regards,
Sreenivasulu.
Please see these docs.
Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner [ID 393306.1]
Generating Jar Files Fails with a NoClassDefFoundError: sun/security/tools/JarSigner Error [ID 801014.1]
Thanks,
Hussein
Similar Messages
-
Error while Generating WSDL File from SAP WSDLGenerator
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WebServiceDescription.SelectOperation.ShowUDOsList(String sessionID)
at WebServiceDescription.SelectOperation..ctor(String sessionID)
at WebServiceDescription.WsdlServicesGenerator.ShowOptions()
at WebServiceDescription.Form1.btCreateWsdl_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
WsdlServicesGenerator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One%20Web%20Services/WsdlServicesGenerator/WsdlServicesGenerator.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
axh7tjvl
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
o_2nbqv_
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I am facing problem While Generating WSDL File from WSDL Geerator which is provided by SAP Business One
If any body has resolved this. Please help Me...!
Thanks
MritunjayHi.
We've seen that error too few times.
We downloaded the sourcecode for the wdsl generator and discovered,
that in our case, it was because we had no user defined objects.
Its actually a bug as far as I can see, where the wdsl generator tries
to enumerate a empty recordset, and crashes.
Regards
Jørgen T. -
Error while generating JAR using adadmin
Hi all,
EBS Version: R12.1.1
I am in the middle of migrating the EBS from windows 2003-32bit to Linux 5-64Bit.
I am getting the below error while generating the JAR files using adadmin.
Error generated in adadmin
Signing product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes
using entity TEST_vm1213l and certificate 1.
Successfully created javaVersionFile.
Generating product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes with command:
adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @/u01/appltest/TEST/apps/apps_st/appl/admin/TEST/out/genjars.cmd
Failed to generate product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes.
adogjf() Unable to generate jar files under JAVA_TOP
Backing up restart files, if any......Done.
You should check the file
/u01/appltest/TEST/apps/apps_st/appl/admin/TEST/log/gen_jar.log
for errors.
Entries from gen_jar.log
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/u01/appltest/TEST/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/u01/appltest/TEST/apps/apps_st/comn/java/lib/appsborg.zip:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java/frmall.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/jlib/ewt3.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/u01/appltest/TEST/apps/apps_st/comn/java/classes"
Calling /u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
The JDK version is 1.6.0_10
Validating the files/directories specified for -areas option
ERROR: File/directory 61A9A14779A1A8 does not exist
ERROR: File/directory -keyPass does not exist
ERROR: File/directory AA65D2F9B26DDBABEF33 does not exist
ERROR: File/directory -storePass does not exist
ERROR: File/directory -keysEncrypted does not exist
Validating the files/directories specified for -outputSpec option
Validating the directory specified for -lstDir option
Error(s) have occurred; exiting with status 1
Failed to generate product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes.
Kindly provide some inputs to troubleshoot further.
If you need further details, kindly let me know.
Regards,
Krish.Hi all,
I have applied the consolidated JRI fixes - patch 17191279 .
Then, when generating Jar, received keypass is tampered error.
re-generated the key using $ adjkey -initialize.
Now, its working fine.
Regards,
Krish. -
ERROR while generating CAP file
Hello,
Iam trying to generate a cap file of JCRMI applet. Iam getting the following errors while generating a CAP file. Can anybody help me.
Thanks in advance,
With Regards,
Abhishek Goud
{color:#ff0000}{color:#008080}*C:\Documents and Settings\Administrator\Desktop\Demo>converter -classdir C:\jav*
a_card_kit-2_2_2\lib -exportpath C:\java_card_kit-2_2_2\api_export_files;C:\java
cardkit-2_2_2\lib -applet 0xa0:0x00:0x00:0x00:0x62:0x03:0x01:0x08:0x01 PurseAp*
plet com.sun.javacard.samples.RMIDemo 0xa0:0x00:0x00:0x00:0x62:0x12:0x34 1.3
{color}
Java Card 2.2.2 Class File Converter, Version 1.3
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
ense terms.
warning: You did not supply export file for the previous minor version of the pa
ckage
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported type long of
field serialVersionUID.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnull in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okestatic in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
amples.RMIDemo.PurseImpl_Stub.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
warray in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode aas
tore in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okevirtual in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
s java.lang.Class.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
l in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okestatic in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
amples.RMIDemo.PurseImpl_Stub.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
warray in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode aas
tore in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okevirtual in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
s java.lang.Class.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
l in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okestatic in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
amples.RMIDemo.PurseImpl_Stub.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
warray in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okevirtual in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
s java.lang.Class.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
l in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okestatic in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
amples.RMIDemo.PurseImpl_Stub.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
warray in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okevirtual in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
s java.lang.Class.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
l in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okestatic in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
amples.RMIDemo.PurseImpl_Stub.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
warray in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
l in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okestatic in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
amples.RMIDemo.PurseImpl_Stub.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode aas
tore in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okevirtual in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
s java.lang.Class.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
in clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode pop i
n clinit method, try a different compiler.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode new
in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
okespecial in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method <init>(java.lang.String) of class java.lang.NoSuchMe
thodError.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ath
row in clinit method.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of method class$.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method forName(java.lang.String) of class java.lang.Class.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported return type
String of invoked method getMessage() of class java.lang.Throwable.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method <init>(java.lang.String) of class java.lang.NoClassD
efFoundError.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
nstant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
*.lang.Object, long) of class java.rmi.server.RemoteRef.*
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
constant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
ss java.rmi.UnexpectedException.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
nstant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
*.lang.Object, long) of class java.rmi.server.RemoteRef.*
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
constant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
ss java.rmi.UnexpectedException.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
nstant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
*.lang.Object, long) of class java.rmi.server.RemoteRef.*
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
constant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
ss java.rmi.UnexpectedException.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
nstant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
*.lang.Object, long) of class java.rmi.server.RemoteRef.*
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
constant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
ss java.rmi.UnexpectedException.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
nstant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
*.lang.Object, long) of class java.rmi.server.RemoteRef.*
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
constant.
error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
ss java.rmi.UnexpectedException.
{color}
conversion completed with 73 errors and 1 warnings.It seems there is a variable of type "long" in your applet. The "long" type is not supported by Java Card, so you should remove all variables with type "long".
Otherwise, without the source code, it is difficult to help you find out what's wrong. -
Class not found error while executing jar file
I have written a java code in which i am connecting to database....when i run the class file using......java class_filename it works........
but when i run the jar file using .......java -jar jar_name ...yi gives me the error as 'Class not found'......
can anybody help me please......
Thanks and Regards,
Siddheshthat class is part of jar file.....in classpath i have included zip files for jdbc ...to get databse connection.....and the jar being executed ................still it gives the error ClassDefnotfound which i think is due to database connection problem.....the exception is raised while.....
Class.ForName("Driver_name").newInstance();/ This driver is present in zip files that i have added in classpath....
above statement doesn,t giv error while i execute the class file............but exception while executing jar file only..
Thnaks and regards,
siddhesh -
"error while downloading jar file"
I receive this error while trying to download a MIDlet from the web (using the P800 device).I write the jad URL , then continue to installation , and then receive the error I wrote in the subject.
I have no idea what it is , this MIDlet was downloaded before successfully on the P900 and on other devices.
the MIDlet is MIDP 1.0
thanks in advanceTry to download the .jar directly. Atleast my T610 seems to accept the jar easier than going via the jad.
Regards
Roland -
Error while generating XML file from rdf report.
Hi All,
we are having a rdf report that displays images retrieved from data base. I need to convert this report to xml report(using rtf template).
when i tried to run the report after changing the output of the concurrent program to "XML", i am getting the below error.
REP-1295: Data format of column 'PK1_VALUE' is unsupported.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1295: Data format of column 'PK1_VALUE' is unsupported.
images are stored in BLOB type columns.
Can anyone help me on this..
thanks
gtungalaHi Hussein,
Thank you for the reply.. i was sure that i will get correct response with in a day..
you people made this as one of the best technical forums..no doubt in that..
need some more help from you...!
The metalink docs say that it is not possible to generate xml file as the image is BLOB.
Can you please tell me any solution for developing xml template(rtf) which can display images that are stored in data base BLOB columns. Even PL/SQL script will do.. I have tried with changing the BLOB to CLOB in rdf query(by calling a function that converts BLOB to CLOB). it didnt help.
thanks in advance..
gtungala -
Error while Generating PDF file from Datagridview .
Hi every one,
I'm trying to generate pdf file from datagridview,while executing my code getting nullvalue exception..
Here is my code:
private void btnexportPDF_Click(object sender, EventArgs e)
//Creating iTextSharp Table from the DataTable data
PdfPTable pdfTable = new PdfPTable(dataGridView1.ColumnCount);
pdfTable.DefaultCell.Padding = 3;
pdfTable.WidthPercentage = 30;
pdfTable.HorizontalAlignment = Element.ALIGN_LEFT;
pdfTable.DefaultCell.BorderWidth = 1;
//Adding Header row
foreach (DataGridViewColumn column in dataGridView1.Columns)
PdfPCell cell = new PdfPCell(new Phrase(column.HeaderText));
cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
pdfTable.AddCell(cell);
//Adding DataRow
foreach (DataGridViewRow row in dataGridView1.Rows)
foreach (DataGridViewCell cell in row.Cells)
pdfTable.AddCell(cell.Value.ToString());//nullvalue exception
//Exporting to PDF
string folderPath = "C:\\PDFs\\";
if (!Directory.Exists(folderPath))
Directory.CreateDirectory(folderPath);
using (FileStream stream = new FileStream(folderPath + "DataGridViewExport.pdf", FileMode.Create))
Document pdfDoc = new Document(PageSize.A2, 10f, 10f, 10f, 0f);
PdfWriter.GetInstance(pdfDoc, stream);
pdfDoc.Open();
pdfDoc.Add(pdfTable);
pdfDoc.Close();
stream.Close();
Thanks & Regards RAJENDRAN MHi Rajendran,
The second question is about the usage of iTextSharp library, which is not a MS product, please post in their forum for help:
http://support.itextpdf.com/forum
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Getting error while running jar file
Hi,
I am getting below error while running the jar file
"Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdeveloper/layout/XYLayout:"
I have created a simple ADF desktop app in which i am displaying the frame.I created the jar from Jdeveloper.
Please help..How do you run the jar file? Take a look at this thread for a possible a solution: Re: deploying a jdeveloper adf application to a desktop
Is the class XYLayout packaged or referenced? Take a look at this thread: XYlayout classes - can I distribute with my code? -
Error while Building Jar files using [ejbc]
Hi,
I am building EJB's using [ant ejbc] for upgrade from Weblogic 6.1 to Weblogic 10.0. The code gets build fine but when creating the Jar file it is throwing me the following error :-
[ejbc] Loading properties file: /C:/dev/MarketingOne/thirdparty/sms/lib/logging.//config/logging.properties
[ejbc] SMS_ERROR:
[ejbc] Properties:
[ejbc] - Failed to load properties file: /C:/dev/MarketingOne/thirdparty/sms/lib/logging.//config/logging.properties
[ejbc] java.io.FileNotFoundException: C:\dev\MarketingOne\thirdparty\sms\lib\logging.\config\logging.properties (The system cannot find the path specified)
[ejbc] - Either invalid SMS_HOME: /C:/dev/MarketingOne/thirdparty/sms/lib/logging./ or invalid <I>SERVICE</I>_P
ROPERTIES_FILE_NAME
[ejbc] at java.io.FileInputStream.open(Native Method)
[ejbc] please set SMS_HOME using -D option at JVM start up.
Can anybody provide me with a solution for this as the path mentioned for SMS Logging.properties file is correct..??Actually the folder 'lib' consists of a logging Executable Jar file and the SMS folder consists of 'config' and 'lib' folders. Inside the 'config folder is a logging.properties file.
But Actually I am not getting any idea as to from where this command is being triggered because my targets.xml file does not have any such command whereas it just builds all the files and then creates the jar file.
Is it a problem of using EJB 2.0 in Weblogic 10.0 environment or jdk1.5..?? -
Error while accessing jar file at url
Hi all
I get following error when I try to access http://192.168.0.100:8090/test/mysql-connector-java-3.0.17-ga-bin.jar
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoSuchMethodError: org.apache.naming.resources.ResourceAttributes.getCanonicalPath()Ljava/lang/String;
org.apache.catalina.servlets.DefaultServlet.checkSendfile(DefaultServlet.java:1521)
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:839)
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:348)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.-------------------
Could someone help me what is the wrong setting at my system.
Thanks
AamirHi
Thank you.Is there a way to read a file which is existing in the war file.
Regards
Anand Mohan
"Wenjin Zhang" <[email protected]> wrote:
>
>In Weblogic, if your files are archived in a WAR, you cannot get an entry
>as individual
>file since it is only bytes in a large archive file. So getRealPath will
>give
>you null result. If you only want the path, try to use other getXXXPath,
>getURL,
>or getURI method. If you want to read the content, use getResource.
>
>
>"Anand" <[email protected]> wrote:
>>
>>Hi
>>I am having problem while accessing the file located in the server from
>>a JSP
>>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
>>
>>The same code is working if the jsp placd under defaultwebApp directory
>>and not
>>working if i create a war and deploy the same.
>>
>>I am using weblogic server 7.0 trail version.I am setting the context
>>path also.
>>
>>Can any help me in this regard.
>>
>>Thank And Regards
>>
>>Anand Mohan
>
-
Error while generating XML file through RDF
Hi,
I wanted to generate a Report on some business case. For that I need to generate XML file first.
For generating XML file
1. I have built an RDF through Reports builder.
2. Saved the report to local machine with extension .rdf
3. Moved it to appltop/app/reports/US directory
4. Registered tha Report with Executable of type Oracle Reports
5. Defined Concurrent Program with OUTPUT as XML.
When I submmitted the program, it was giving an error as follows.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
A semi colon character was expected. Error processing resource 'https://oaphrd.humana.com/OA_CGI/FNDWRR.exe?temp_id=2088989...
+<?xml version="1.0" encoding="&Encoding"?>+
But, when I tried to sane the report directly to a file (file - > generate file -> XML) the XML was generated successfully.
How to get rid of this. Some one please help me out.
Thanks !
Edited by: Rajasekhar Reddy on May 4, 2012 1:23 AMHi,
I found the issue and corrected it. :)
This was happened only because of the Version problem of Report Builder with Oracle Applications.
Reports Builder 10g is not compatiblie with Oracle Applications 11.5.10.
Oracle 11.5+ will always expect the RDF from Reports 6i version. Because of this, the endocing was damaged.
You can observe in the earlier post as encoding="&Endoding". Here +&Encoding should be replaced by some encoding mechanism like "UTF-8".+
Finally corrected the version and got the Output as expected.
Thanks ! -
Error while using .jar file instead of class file.
Hello friends,
I created a java class which are referred and called from other jsp\xml and java files. I compiled this java class and everything is working properly. However, I do not want to use class files but want to use jar files instead. So, I created a jar file of this class file by using the command "jar -cvf jarfilename.jar".I kept the jar file in its respective folder .Also, I removed the class file from its path, just to see that the jar file will work automatically.
Unfortunately, I am getting an error:
java.lang.RuntimeException: Component.createComponent(...) Component class not found: <java class path>. I also tried giving the path of this jar file in the classpath. This also does not seem working.
How to solve this problem?
Thanks,
Ranjith M.V
Edited by: RanjithM.V on May 11, 2008 10:34 PMYou probably populated the jar file incorrectly.
A common mistake is to include the path that you had on the classpath, in the jar file.
So a person will have a classpath like this: /foo/
And a class in a package bar, like this:
package bar;So that other classes would include the file like this:
import bar.TheClass;And the class file is on the filesystem like this:
.../foo/bar/TheClass.classThen they'll create the jar file including the foo directory, so if they list the jar's contents, they'll see the above (/foo/bar/TheClass.class). But this is wrong. It should start off so that the jar entries start with the top-level package names (like /bar/TheClass.class).
Maybe you've done that. -
Error while generating BI Reports with Formules From Oracle 10g reports
Hi Team,
I had a problem of viewing reports in Bi Publisher. I will explain what i am doing
I an taking an example table emplyee to generate the reports
create or replace package body tstPkg as
I am creating Package Header as Below
function check_role(p_sal number) return varchar2 as
v varchar2(100);
begin
if p_sal > 2000 then
v := 'MGR';
else
v := 'EXEC';
end if;
return v;
end;
and I am creating Package Body
create or replace package tstPkg as
function check_role(p_sal number) return varchar2;
end;
after creation i am generating a report by using the formulae so that in paper layout it will generate 14 pages
with an extra column in a passage format.
After this i saved it in specific folder
Then i am converting to XML by using "Reports Converter" Tool to xml.
By using ConvetionTool ioracle.apps.xdo.rdfparser.BIPBatchConversion , i converted the xml file and it generated .Pls files , template files and the rest..
After this i cpoied the folder structure into bi publisher reports, then i refreshed the metadata and i changed the defualt data source. but it showing the error as
ORA-00923: FROM keyword not found where expected
and my quetry is like this in data template
select *,EmpSal.cf_1formula(emp.SAL) CF_1 from emp
How to resolve the above problem?
Regards
Bhuvan
end;
Edited by: 867649 on Jun 22, 2011 6:38 AMHi,
When i tried to compile below packages. It gave 'Warning: Package altered with compilation errors.' message for both.
DBMS_SWRF_REPORT_INTERNAL
DBMS_SWRF_INTERNAL
Again i came back to original position. Now again all 4 objects are in INVALID state. Please advice.
Regards -
Error while deploying jar file in jboss
Hi,
I am trying to deploy a jar file in jboss, i have copied the jar in jboss_home/server/default/deploy/ directory. and i am getting the following errors while starting the jboss server.
ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
0.5.GA/server/default/deploy/AdminServiceBean.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
rServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
erceptor.java:74)
at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(Deployer
InterceptorEJB.java:44)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy26.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
can anyone please help me on this
Thanks,
MalertHanif,
Check this wiki's,
http://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(Deploy)Problems-P29
http://wiki.sdn.sap.com/wiki/display/JSTSG/(GP)CannotDeployGPContent-WrongManifestFileAttributes
Good Luck!
Sandeep Tudumu
Maybe you are looking for
-
I am from Trinidad and Tobago however, I want the iphone 5 but i can't pay for it online since the billing address must be Amrican. Can I buy a factory unlocked Iphone 5 at an Apple Retail Store so I can just pop in my nano sim card?
-
ITunes 12 incompatible with Windows Vista Data Execution Prevention
I just did a clean install of iTunes 12.0.1 after removing 11.4 and other components as described in Troubleshooting issues with iTunes for Windows updates. I'm running Vista Home Premium 32-bit SP2 with 3 GB RAM. Soon after closing the iTunes GUI, I
-
Installed Photoshop cc 2014 asks for serial # - corrupted Windows file permissions
More of a warning / heads up to all than a question - installing Photoshop cc 2014 [via the CC manager app] caused some Windows file (security) permissions to become corrupt corrupt on my system. Symptoms include cc2014 asking for serial number valid
-
I recently scanned a lot of old pictures into my pictures folder. I was able to import all the color pics but I keep getting the "unrecognized format" message with all my black and whites and I cannot get them into iphoto 8.1.2. What do I do?
-
the apps wont open but are fully updated in the creative cloud manager menu, how do I get them to open?