Could not generate template spMeta/spExtended XML file using saml2meta
Hi all,
I am trying to generate the spMeta data file using the tool "saml2meta" utility and recieved errors. Please help if you know any thing about this problem. Thanks very much.
Software: Sun AM version=7 2005Q4 and Sun Web server
The Keystore shows:
keytool -list -keystore keystore.jks -storepass xxx -alias saml2-sign
saml2-sign, Jun 22, 2007, keyEntry,
Certificate fingerprint (MD5): D3:FA:B1:E5:30:F2:4C:5A:28:D8:87:C8:39:9B:37:31
The command I used to generate the template files is:
saml2meta template -u amadmin -w xxx -s nasa/sp -a saml2-sign -f saml2-encrypt -e http://ndmseaudev01.ndc.nasa.gov -m spMeta1.xml -x spExtended1.xml
The error is: Unable to find certificate by cert alias "saml2-sign". I think the tool tries to retrieve the sign private key and failed. Any help would greatly appreciated. Thanks in advance. - David -
The amSAML debug log has shown:
ERROR: JKSKeyProvider.JKSKeyProvider:
java.lang.NullPointerException
at com.sun.identity.saml.xmlsig.JKSKeyProvider.<init>(JKSKeyProvider.java:136)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.identity.saml2.key.KeyUtil.<clinit>(KeyUtil.java:86)
at com.sun.identity.saml2.meta.SAML2MetaSecurityUtils.buildX509Certificate(SAML2MetaSecurityUtils.java:425)
at com.sun.identity.saml2.meta.SAML2Meta.buildDescriptorTemplate(SAML2Meta.java:968)
at com.sun.identity.saml2.meta.SAML2Meta.runTemplate(SAML2Meta.java:911)
at com.sun.identity.saml2.meta.SAML2Meta.runCommand(SAML2Meta.java:347)
at com.sun.identity.saml2.meta.SAML2Meta.main(SAML2Meta.java:313)
07/03/2007 04:55:52:235 PM CDT: Thread[main,5,main]
ERROR: Unable to get cert alias:saml2-sign
java.security.KeyStoreException: Uninitialized keystore
at java.security.KeyStore.getCertificate(KeyStore.java:787)
at com.sun.identity.saml.xmlsig.JKSKeyProvider.getX509Certificate(JKSKeyProvider.java:177)
at com.sun.identity.saml2.meta.SAML2MetaSecurityUtils.buildX509Certificate(SAML2MetaSecurityUtils.java:425)
at com.sun.identity.saml2.meta.SAML2Meta.buildDescriptorTemplate(SAML2Meta.java:968)
at com.sun.identity.saml2.meta.SAML2Meta.runTemplate(SAML2Meta.java:911)
at com.sun.identity.saml2.meta.SAML2Meta.runCommand(SAML2Meta.java:347)
at com.sun.identity.saml2.meta.SAML2Meta.main(SAML2Meta.java:313)
I found and fixed the problem. The error messages were not helpful at all. After corrected the .storepass and .keypass files, all seems to work fine.
David Truong
Similar Messages
-
XML publisher report not generating output for huge XML files
Changed Depreciation Projections Report output type to XML.
Defined a Data Definition and a new Data Template (RTF) for this report.
Ran the Depreciation Projection Report to generate the XML output.
Ran the XML Report Publisher report to generate teh PDF/Excel output of the above report.
Output generated for smaller XML files. When XML size is big, the program is running for hours without generating the output.
Teh RTF template is basically a matrix report in which the number of columns in the report is based on the number of periods the report is run for.
The same is not working in the Desktop version also. The system is hanging when i try to view the preview pdf.
The XML file size is approximately 33 MB.
Please let me know if there is any way we can increase the memory size to see the output.
Thanks,
Ram.for publisher use Category: E-Business Suite
-
Not able to compile an xml file using jasper reports through jsp page
hi,
i have compiled an xml file and got html,pdf etc using jasperreports but that was from an java application and now i want to convert this application to an jsp page so i have copied these jar files "commons-beanutils-1.5.jar","commons-collections-2.1.jar","commons-digester-1.3.jar","itext-1.01.jar","jasperreports-0.5.2.jar" to the folder "C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\lib" and have set classpath to these jar files.
my application(java class invoked by a servlet) is in C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes.
i m using this API "JasperCompileManager.compileReportToFile(fileName);"
but i m getting following error:
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Invoker service() exception
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:504)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2312)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:536)
root cause
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.commons.digester.Digester.(Digester.java:345)
at dori.jasper.engine.xml.JRXmlDigester.(JRXmlDigester.java:115)
at dori.jasper.engine.xml.JRXmlLoader.prepareDigester(JRXmlLoader.java:446)
at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:384)
at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:371)
at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:339)
at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:102)
at jasper_interact.file_exporter(jasper_interact.java:44)
at reportcontroller.doGet(reportcontroller.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2312)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:536)
i have one folder "C:\Program Files\Apache Tomcat 4.0\org\apache\commons\logging" containing some LogFactory calsses but i dont know where to put this folder so that tomcat can find them.
please help me..
i know i may not be clear to u but plz give me some way out i m totally stucked.
manishhi,
thanx for your reply.
ya i have "commons-logging-1.0.2.jar" file but when i tried to put it with other jar files and set the class path and run the application thru tomcat then it automatically stops the tomact.and when i removed this perticular logging jar file then tomcat works normally but gives the error which i mentioned before.
i have also tried the second option u suggested, by putting the LogFactory class files in "C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\org\apache\commons\logging" but that was not working.shud i set some classpath for them? or shud i have to import these packages........ but when i copied this folder "org" to C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes and in program wrote import org.* then copilation error occured "no such package found.
what to do now.
manish -
Is there any way to generate pdf from an xml file using single java class
i m working on generating a pdf file from an xml file. i want to use only a single java class to do so. if theres any such code available please help me to find out.
Thanks
Gurpreet Singhexactly,
here are some libraries which are open sources;
http://java-source.net/open-source/pdf-libraries hope it's useful. :D -
Java.sql.SQLException: Could not generate the DTD because..
I am trying to reverse an XML file and running into the following exception:
java.sql.SQLException: Could not generate the DTD because the file could not be created. Verify that you have write permission in the directory.
I have permission to the directory, so I suspect something else is causing this. I saw in another thread that file name length sometimes caused this. I tried that approach and it did not help.
I am trying to get data from an oracle table and put it in an XML file using an interface.
I have my interface set to use an oracle source table and an XML target. My LKM is SQL to SQL and my IKM is SQL Control Append. I have staging area different from target set.
My model (for the XML file) has technology set to XML, uses the SnpsXML jdbc driver and I use the following parameters in my file path: f, d, s, dp. This tests successfully.
I am trying reverse the xml file using standard reverse.
I am running this on a remote agent.
I am using ODI 10.1.3.5.5
Thank you for any help you can provide me.
Edited by: user13279807 on Oct 19, 2010 11:44 AMThe exact error message I recieved was the following:
The Technology or the Driver used does not support Reverse Engineering.
java.sql.SQLException: Could not generate the DTD because the file could not be created. Verify that you have write permission in the directory.
Details:
java.sql.SQLException: Could not generate the DTD because the file could not be created. Verify that you have write permission in the directory.
at com.sunopsis.jdbc.driver.xml.bw.a(bw.java:810)
at com.sunopsis.jdbc.driver.xml.bw.<init>(bw.java:450)
at com.sunopsis.jdbc.driver.xml.bx.b(bx.java:292)
at com.sunopsis.jdbc.driver.xml.bx.a(bx.java:270)
at com.sunopsis.jdbc.driver.xml.SnpsXmlDriver.connect(SnpsXmlDriver.java:110)
at com.sunopsis.sql.SnpsConnection.v(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
at com.sunopsis.dwg.reverse.Reverse.a(Reverse.java)
at com.sunopsis.dwg.reverse.Reverse.a(Reverse.java)
at com.sunopsis.dwg.reverse.Reverse.a(Reverse.java)
at com.sunopsis.dwg.reverse.Reverse.getMetaData(Reverse.java)
at com.sunopsis.graphical.frame.a.ip.a(ip.java)
at com.sunopsis.graphical.frame.a.ip.a(ip.java)
at com.sunopsis.graphical.frame.a.hq.b(hq.java)
at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:619) -
Thread: Could not generate the XML in single thread mode
Hi all,
I have created a report using PLSQL Procedure method after submitting the request I am getting the following Error.Couldn't sort out why I am getting the error while running the report.
Error in "Multi threaded or single threaded execution block" of XXRX_REPORT_OUTPUT_PKG.insert_into_nested_table procedure
ERROR :ORA-20005: Could not generate the XML in single thread mode
XXRXERROR: XXRX_REPORT_OUTPUT_PKG.run_report SQLERROR: ORA-20005: ORA-20005: Could not generate the XML in single thread mode
Can someone help me out finding the issue
Thanks in AdvanceHi,
Please read SQL and PL/SQL FAQ
We cannot guess what is the error if you don't post any part of your code.
Additionally when you put some code or output please enclose it between two lines starting with {noformat}{noformat}
i.e.:
{noformat}{noformat}
SELECT ...
{noformat}{noformat}
Regards.
Al -
Error creating AIR file: could not generate timestamp
I have been getting this error the last few days.
Error creating AIR file: could not generate timestamp:
sun.security.validator.BalidatorException:PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certificatio path to requested target.
https://timestamp.geotrust.com/tsa
I found one thread saying this url must be accessible but when I go there I get "404 -- page not found".
Since this was working now it is not I'm looking for a direction.Hey Karthik,
First of all, are you using ECLIPSE? What is your development
Environment. I had run into same issue, after hours of trying
different things, I installed the FLEX BUILDER and was able to
create the application without any issues. I have also noticed that
FLEX BUILDER works more smoothly than Eclipse and since then I have
been developing within FB.
Thanks. -
Could not generate flash file.
Hi all,
Hoping you can assist!
I'm experiencing the error message when trying to export my dahsboard - "Could not generate the Flash file (SWF); the cause is not known".
Things to note:
*Only occurs when using multiple series on a combination chart (I.e. exports fine when only using a single data series, as soon as a add a second, it won't export.
*Doesn't occur when i copy/paste values over formula (suggests a formula related issue)
Has anyone experienced a similiar error message before? If so, what did you do to fix the problem.
Happy to provide the .XLF is required.
Cheers,
ChrisHI,
Yes, we've used several date formulas. I have remove the =today() however we still have quite a few day/month/year formulas. Still having the same issue.
The date formulas a required as the user needs to have the ability to adjust the data they are looking at by period (daily/monthly etc).
It seems to work okay when the number of cells the graph is reffering to are reduced (approx 20). I currently have it looking at 31 days of data which is a requirment.
And no add-ins are currently installed. This issue is repeated on 2 other pc's.
Any other ideas?
Thanks! -
Could not generate the flash file(SWF)
Hi all,
I am working with a Dashboard having a GMap plugin and it was working fine on BO server.
But now the plugin has been changed from GMap to CMaps plugin. I am able to download the same dashboard from BO Server to my desktop.
The snapshot of the warning I get while downloading the dashboard has been attached.
When downloaded from server, in place of displaying map on GMap plugin I get a warning "Invalid request this request is invalid" but when i open its properties the warning goes and the map appears back.
Then I tried to upload the same dashboard on BO Server and I get an error "Could not generate the flash file(SWF)...". The snapshot of the same has been attached.
I am unable to do any modification on this Dashboard.
RegardsHi,
In your discussion,you have downloaded the dashboard file from the BO server to your desktop.
You can export the dashboard to BO Server in SWF format.But how can you download the physical dashboard file from BO server.Is it possible?
Do the changes in .xlf physical file and export the .xlf file to BO server as File-->Save to platform.
Regards,
Venkat P -
I'm having an issue, with Windows 8.1 sysprep WIM, when applying the image and don't know what to do.
I am using the Windows 8.1 WADK/Windows Kits for Windows 8.1. Using the Image Manager for creating my answer file, using deployment/imaging tool for creating and editing my images, and using the same Windows 8.1 DVD media for my catalog as in my WIM. No MDT
involvement.
Using WinPE to clean and partition my disk and to apply the image.
I have done the best research I'm able to do at the moment and for this issue it all comes back to removing/editing the "IEWelcomeMsg" line.
I have left at false and removed the line as all have mentioned, however I'm still getting the error "windows setup: windows could not parse or process unattend answer file (c:windows\panther\unattend.xml). A component or setting specified in the answer
file does not exist".
Is there something I missed? From what I can tell for now, nope.
Any help to enlighten what might have been over looked would be beneficial.Hi JFrederick,
Please try what Tripredacus suggested first.
For the error message, we have a similar thread for reference:
Windows
Could Not parse or process unattend answer file for pass [specialize]
The cause might be different, you may refer to the others who offered suggestions in the above thread.
Regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
I have been using Photoshop for years, and CS4 for about a year now. I have never had this error message pop up until this week. It started happening right after I did the Adobe update to 11.0.2. Everytime I try to save a PSD or JPG file now (which are the only two types of files I work with), I get this message preventing me from being able to save;
"Could not save as... because file is already in use or was left open."
I have to attempt to Save as about a dozen times before it will finally save the file. Any suggestions on what could be wrong and how to remedy it? Is it the update that caused this problem?Turn off Caching of Thumbnails in Hidden thumbs.db Files
People sometimes report that they cannot manipulate their folders as they want to because Explorer has a thumbs.db file open. Windows 7 apparently generates these files for compatibility with older software that may expect such files to exist in folders with, for example, photos in them.
The good news is that (with Windows 7 Professional and above) you can disable this through the Group Policy editor:
Click the Start orb
Enter gpedit.msc in the search box and hit Enter.
Expand User Configuration - Administrative Templates - Windows Components.
Click on Windows Explorer.
Right-click the entry "Turn off the caching of thumbnails in hidden thumbs.db files" and choose Edit.
Enable the setting.
-Noel -
Hello-
I have an air application that is distributed via CDROM, the app is signed by a code signing certificate and timestamped. In mid-August when my certicate expired my users started calling stating that they couldn't install our product due to the following error: "Sorry, an error has occured. The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author." From my understanding a timestamped application is taken at a point in time when it's generated so why would it matter if the certificate was still valid? I have since replaced the certificate and will need to redistribute to my (thousands of) users however when I test it out using a future date and time the same error occurs. Any information to help resolve this would be grately appreciated.my command:
C:\Users\HOME USE\Desktop\AIR Development\HelloWorld>adl
application.xml
C:\Users\HOME USE\Desktop\AIR Development\HelloWorld>adt
-certificate -cn HelloW
orld 1024-RSA certHelloWorld.pfx password
C:\Users\HOME USE\Desktop\AIR Development\HelloWorld>adt
-package -storetype pkc
s12 -keystore certHelloWorld.pfx HelloWorld.air
application.xml HelloWorld.html
password: password
C:\Users\HOME USE\Desktop\AIR Development\HelloWorld>
And here is another link to download my code
http://www.megaupload.com/?d=JS3X2IVC
Thank you. -
How do I generate XML File Using JDeveloper 9.0.3
Hi All
I want to generate a XML file against the data in one of my Oracle table,,,, This is the first time I am doing this Task, so please let me know whether I am going through the correct path, or if not appreciate if you could put me to the correct system of doing this please���..
OK , Well I am working to a publishing company in Australia and we have Oracle 8i (Release 3 ) database and I have Oracle JDeveloper (9.0.3 -Preview ) version in my personal computer.
I have a Table(ONIXT4) with three Columns( ISBN,Author,Price) in Oracle as follows:
ISBN Author Price
2512456321 Peter 14.50
7445854127 Ray 21.75
What I want to generate a XML File using JDeveloper as below with respect to data in above Table.
<ISBN>2512456321</ISBN>
<ProductInfor>
<Author>Peter</Author>
<Price>14.50</Price>
</ProductInfor>
<ISBN>7445854127</ISBN>
<ProductInfor>
<Author> Ray </Author>
<Price>21.75</Price>
</ProductInfor>
I created the database connection within JDeveloper to Oracle those working fine,, my major problem is,, the Tag <ProductInfor>, since this is not a Column Name of the Table I don't know how should I incorporate this with the file.
What I did so far with the JDeveloper:
1.Create the Workspace and the Project
2.File -- New -- XML -- XSQL
3.Then I Selected Query from the Component Palette,, Property Values were NOT changed, and gave 'Select * from ONIXT4'
Whole Untitled3.xsql file look likes below
<?xml version = '1.0' encoding = 'windows-1252'?>
<!--
| Uncomment the following processing instruction and replace
| the stylesheet name to transform output of your XSQL Page using XSLT
<?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
-->
<page xmlns:xsql="urn:oracle-xsql" connection="Connection1">
<xsql:query max-rows="-1" null-indicator="no" tag-case="lower">
Select * From OnixT4
</xsql:query>
</page>
Then the Result comes as:
<?xml version="1.0" encoding="windows-1252" ?>
- <!--
| Uncomment the following processing instruction and replace
| the stylesheet name to transform output of your XSQL Page using XSLT
<?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
-->
- <page>
- <rowset>
- <row num="1">
<isbn>2512456321</isbn>
<author>Peter</author>
<price>14.5</price>
</row>
- <row num="2">
<isbn>7445854127</isbn>
<author>Ray</author>
<price>21.75</price>
</row>
</rowset>
</page>
How do I format the outcome to obtain the my requirement??
Welcome all comments of donig this ....To format your XML to the requiered output you'll use a stylesheet and XSLT
As it says in your output:
- <!--
| Uncomment the following processing instruction and replace
| the stylesheet name to transform output of your XSQL Page using XSLT
<?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
-->
A nice tutorial on XSLT is available on the XML technology center in OTN:
See Transforming XML with XSLT
http://otn.oracle.com/tech/xml/learner.html -
Unable to establish a for loop in custom rtf template for seeded xml file
Hi Experts ,
I am Unable to establish a for loop in custom rtf template for seeded xml file. i am using <?:for-each:G_BSALINE?> FORM FIELD .....<?:FOR-EACH?END> .AM i missing something?
Please help.
ThanksHi,
Need more information about your XML data structure; however based on the code you provided, the synax does not look right; you have some colon sign where it is not needed etc... You could use the following (although not quite sure if you want to use Form Filed to group by or just display), but look at the example provided below.
<?for-each-group:G_BSALINE?> FORM FIELD .....<?end for-each-group?>
Example code:
<?for-each-group:G_INVOICE_NUM;./INV_TYPE?>
xxxxxxxxxx
<?end for-each-group?>
Thanks! -
Adt.bat Could not generate timestamp: Cannot parse the response
I am using the command line to build an air app as follows:
adt.bat -package -storetype pkcs12 -keystore mycert.pfx
-storepass xxx -tsa
http://timestamp.verisign.com/scripts/timstamp.dll
myApp.air myApp-app.xml myApp.swf
However, I receive this error:
Could not generate timestamp: Cannot parse the response
I am using a Verisign issued Authenticode certificate. Has
anyone got any idea why this might be happening?
ThanksThere is no previous thread running for this application
(that's the first thing I checked out). As I said in the last
message, I can successfully launch my app from within FlexBuilder3,
but not from a generated .air file install.
At your suggestion, I created a simple "Hello World" type of
Flex application in FlexBuilder3. From within FlexBuilder3, I
exported it to an AIR file and installed it. This simple
application does indeed run on my system after being installed from
the .air file.
So there's something different about this new public release
of the FlexSDK than the last bet release. I compared that simple
project contents and layout to my project. The big difference is
that all the source files for the simple project was automatically
dropped/created in a child 'src' folder under the main project
folder. I also noticed that when installed, there were files
missing for my app, but not for the simple app. The big difference
there being that only the files in the src folder were copied into
the AIR installer to be installed. Nothing outside of that folder
was part of the install codebase!
I therefore refactored my code (yet again) to move all my
source files (including my external config XML files) into a 'src'
folder under the main project folder. After a lot of tweaking in
FlexBuilder3 to get it all working again and running, I exported to
an AIR file once again. This time all the files were included, when
I ran the new installer. The application now launches successfully.
The next step is to replicate this via the command-line ADT
tool.
It would have been nice to know the changes in this area (src
folder) before going this far into the process. Unless they are
documented in some obscure release note somewhere that I am not
aware of yet.
I'll let you know how the ADT run goes when I get the chance.
Thanks for your help everyone.
Maybe you are looking for
-
Unable to print PDF reports on laser printer?
Hi Our requirement is to print the PDF reports directly on the laser printer after submitting through concurrent requests. We have configured the local printer attached to the user, installed printer as network printer on IBM AIX server and configure
-
Hiii all, i want to make a page for username and password and i connected it with a database that contains the usernames and passwords now i want to know how can i make a query (select password from table where username=the string that the user enter
-
Experiencing issues sending/receiving MMS messages after updating to iOS 6
I, like so many others, have been experiencing problems sending/receiving MMS messages after updating to iOS 6. Other than that, I really do like the new update. I have an iPhone 4S with Verizon. I have been to Verizon, and the issue is not with m
-
How do you restore Lightbeam data
How do you restore the .json file that Lightbeam saves when the "Save Data" button is selected? The Firefox browser (ver. 33) has become slow and I want to disable the blocked sites temporarily to see if that could be the problem. Thanks!
-
INTERNAL.HTTP_RESP_STATUS_CODE_NOT_OK 503
Hi, We are facing an unusual error in XI. All our scenaros are showing same error. <SAP:Error> <SAP:Category>XIServer</SAP:Category> <SAP:Code>INTERNAL.HTTP_RESP_STATUS_CODE_NOT_OK </SAP:Code> <SAP:P1>503 </SAP:P1> <SAP:P2>Service Unavailable</SAP:P2