Ojdeploy sometimes generates invalid JARs
We've encountered the following problem: sometimes ojdeploy (called via ant task) generates invalid JARs for some projects in the workspace. Invalid means they have a size less the 1KB, there may be only META-INF\manifest.mf and no classes at all inside that JAR, or there may be some (not all) classes. And consequently the whole build fails because of "package blah-blah-blah does not exist" etc.
Here's the bit of example from the failed build (some parts of the log are obscured and skipped):
[exec] 13.04.2011 17:31:48 oracle.ide.boot.Launcher throttleLocale
[exec] INFO: Locale ru_RU is not supported by this product. Forcing locale to en_US.
[exec] ----build file----
[exec] <?xml version = '1.0' standalone = 'yes'?>
[exec] <ojdeploy-build>
[exec] <deploy>
[exec] <parameter name="workspace" value="${workspace}\"/>
[exec] <parameter name="project" value="${project}"/>
[exec] </deploy>
[exec] <defaults>
[exec] <variable name="workspace" value="our workspace"/>
[exec] <variable name="project" value="BlahBlahBlah"/>
[exec] <parameter name="buildfile" value="our buildfile"/>
[exec] <parameter name="profile" value="*"/>
[exec] <parameter name="clean"/>
[exec] </defaults>
[exec] </ojdeploy-build>
[exec] ------------------
... skipped ...
[exec] [5:32:00 PM] Clean completed.
[exec] Compiling...
[exec] Context: selection=BlahBlahBlah.jpr application=BlahBlahBlah.jws project=BlahBlahBlah.jpr node=BlahBlahBlah.jpr
[exec]
[exec] C:\Oracle\Middleware\jdk160_14_R27.6.5-32\bin\javac
[exec] -g
[exec] -Xlint:all
... skipped ...
[exec] Compiling 4 sources
[exec] Compiling ...Logger.java
[exec] Compiling ...SystemOutHandler.java
[exec] Compiling ...LogFormatter.java
[exec] Compiling ...LoggerFactory.java
[exec] Writing ...Logger$CSIntFormatter.class
[exec] Writing ...Logger.class
[exec] Apr 13, 2011 5:32:02 PM oracle.jdevimpl.deploy.common.ModulePackagerImpl deployProfiles
[exec] INFO: Deploying profile...
[exec]
[exec] Apr 13, 2011 5:32:02 PM oracle.jdeveloper.deploy.jar.ArchiveDeployer logFileWritten
[exec] INFO: Wrote Archive Module to file:/...Logging.jar
[exec] Apr 13, 2011 5:32:02 PM oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$DeployConsoleLogger finished
[exec] INFO: Elapsed time for deployment: 2 seconds
[exec]
[exec] Apr 13, 2011 5:32:02 PM oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$DeployConsoleLogger finished
[exec] INFO: ---- Deployment finished. ----
[exec]
[exec] Writing ...SystemOutHandler.class
[exec] Writing ...LogFormatter.class
[exec] Writing ...LoggerFactory.class
[exec] [5:32:02 PM] Successful compilation: 0 errors, 0 warnings.BTW, I've noticed one strange thing while writing this. I see that ojdeploy says " Deploying profile... Wrote Archive Module to file:/...Logging.jar..." and <b>AFTER having created the JAR</b> it says "Writing ...SystemOutHandler.class Writing ...LogFormatter.class Writing ...LoggerFactory.class"
Has anyone encountered such strange behavior of ojdeploy?
(kinda bump)
I haven't mentioned that we use JDeveloper 11.1.1.2
Similar Messages
-
label tag: DW8 sometimes generates illegal XHTML 1.0/Transitional code
Dreamweaver 8 sometimes generates XHTML 1.0/Transitional code
that violates the DTD when using the <label> tag for adjacent
radio buttons on a form.
Consider the following example:
1) Make a new HTML page using the XHTML 1.0/Transitional
document type.
2) Working in Design mode, insert a a new form element.
3) With accessibility options turned on, insert a radio
button. When the Input Tag Accessibility Attributes dialog appears,
give the new button a label of "This is my label" and select the
"Wrap..." style.
4) Use the Property Inspector to assign a name and value of
"choice1" to the new radio button.
5) Using the arrow keys, position the cursor at the end of
the new button's label text.
6) Insert a second radio button there, and give it a label of
"This is my second label."
7) Use the Property Inspector to assign a name and value of
"choice2" to the second radio button.
Examine the resulting code. The code will be either valid or
invalid, depending on exactly where the cursor was positioned in
step 4. If you watch the Code window while you position the cursor
in step 4, you will see that the cursor positions itself EITHER
INSIDE OR OUTSIDE THE FIRST BUTTON'S </label> TAG, DEPENDING
ON which direction you were going when you positioned the cursor at
the end of the prior button's label. If you were moving the cursor
from left to right, the cursor will be placed WITHIN the first
button's closing </label> tag; if you overshot the end of the
prior label and then backed up, the cursor will be placed BEYOND
the closing </label> tag. In the former case, each button
will get a separate <label> tag pair. In the latter case,
BOTH BUTTONS WILL BE CONTAINED WITHIN A SINGLE <label> TAG
PAIR, as in the following (illegal) example:
<!--THIS CODE IS INVALID ACCORDING TO XHTML
1.0/TRANSITIONAL-->
<label>
<input name="choice1" type="radio" value="choice1" />
This is my label
<input name="choice2" type="radio" value="choice2" />
This is my second label
</label>
This is INVALID XHTML 1.0/TRANSITIONAL. Specifically, the DTD
specifies that "Each label must not contain more than ONE field" (
http://www.w3.org/TR/xhtml1/dtds.html).
Here, Dreamweaver generates one label containing two fields. While
IE6 and Opera 8.0 ignore the error and display it anyway, Firefox
1.5 follows the DTD in this case and therefore cannot handle more
than one radio button within a single label tag; the resulting form
selects the first value no matter what the user clicks on.Max
This is happening because in standards mode browsers are ignoring the height="70%" attribute on the table that is the first element of div.t13BodyMargin because (among other things) it's invalid XHTML. This is the kind of thing that happens when the built-in APEX themes – designed for quirks mode – are thrown into standards mode by specifying a DOCTYPE.
You can remove that attribute from the template XHTML and try the following in your CSS:
html, body {
height: 100%;
form#wwvFlowForm {
position: relative;
height: 100%;
min-height: 100%;
div.t13BodyMargin {
padding-bottom: 2em;
div.t13NewBottom {
position: absolute;
bottom: 0;
width: 100%;
}Note there was Re: Support for non-quirks HTML mode.
If you're determined on going down the standards route, you should check your pages against a validator and fix any other invalid mark-up in the templates, but achieving 100% compliance is unlikely due to APEX engine-generated code you have no control over.
However, if you have no real requirement for introducing the DOCTYPE declaration and are not prepared to pursue the additional effort in achieving near-compliance, it's pointless to do so as it will only introduce this kind of issue. -
Invalid Jar file - on ANY download from OVI store ...
OK, so I'm trying to download a few freebie games (Yetisports/Penguin thingy 2 etc etc)
Whichever download I choose on my phone, and I get to the installer, it tells me that the Jar file is invalid. **bleep**!? How do I sort this before I pull my hair out?
Phone in question is the E72-1
This is a joke from Nokia, forcing you to download their OVI files through your phone.
Thanks,
Daveok, i am using a nokia e5 and this are the problems i am encountering:
1. I cant install jad files anymore, it just says disconnected n i hav used different sims.
2. My phones freezes and restarts.
3. Most application i open just exits on its own.
4. Invalid jar. Files.
5. I dont know the best antivirus to use for my phone. I dont think netqin is gud cos despite i installed it, i still had virus.
So pls help me out in accordance to the above listed issues i m havin. -
invalid jar file error on mobile while installing my application..i have also checked cldc version and midp version of mobile and made my jar file according tom that..still that error is coming..
{color:red}CROSS POSTED{color} Including this --
{color:0000ff}http://forum.java.sun.com/thread.jspa?threadID=5240695
http://forum.java.sun.com/thread.jspa?threadID=5240696
http://forum.java.sun.com/thread.jspa?threadID=5240699
{color}
Cross posting is rude.
db -
Why use ojdeploy when building ViewController jar/war?
Hi,
It is known that ojdeploy is the recommended way to go when building/deploying an ADF app. The advantages are stated in many blog posts in the web.
IMHO the most important reason for using ojdeploy instead of javac when creating an EAR is that javac CANNOT validate your BC. This means for example that if you refactor-rename an attribute of a VO and then commit only xml and not the related View Row Impl class, the build in your CI server will succeed if using only javac and fail if using ojdeploy (as it should be). So ojdeploy is the only way when building jars of Model projects if you want to be 100% sure the you have valid ADF code.
The question is if the is a similar reason for using ojdeploy when building ViewController jars/wars??
Thanx in advance for any feedback.
Spyros Doulgeridis
adfhowto.blogspot.com
Edited by: spido on Jul 6, 2011 10:04 AMojdeploy makes changes to your descriptors javac or jar does not know about. Actually nobody knows about the changes as you have to look into the war to see them. I'm not even sure that they are documented.
Timo -
Wsdlc generated ***_wsdl.jar creates referred xsds outside the jar
Hi All,
I am using wsdlc to generate ***_wsdl.jar and having some problems.
This is my wsdl/ types structure:
--resources
|--schemas
| |--1.0
| | |--TypeOneDto.xsd
| | |--TypeTwoDto.xsd
|--services
| |--service_name
| | |--ServiceDto.xsd
| | |--Service.wsdl
Service.wsdl refers ServiceDto.xsd
ServiceDto.xsd refers TypeOneDto.xsd and TypeTwoDto.xsd
This is how I use wsdlc:
<wsdlc srcWsdl="resources/services/service_name/Service.wsdl"
destJwsDir="target/jws"
destImplDir="target/impl"
verbose="true">
</wsdlc>
When Service_wsdl.jar is generated in target/jws, it has only Service.wsdl and ServiceDto.xsd under its wsdls/ directory. TypeOneDto.xsd and TypeTwoDto.xsd are created outside Service_wsdl.jar, in a separate directory (i.e. target/schemas/)
Can someone please give me a tip on how to get all the Type*.xsds in to Service_wsdl.jar?
Thanks a lot in advance.Here is an example how I use exe4j :
1. Welcome: Next
2. Project type: Next
3. Application Info:
Short name of your application:
any name you like
for example: testjar
Distribution source directory:
project folder
for example: C:\Documents and Settings\Uhres Andr�\NetBeansProjects\TestJar
Next
4. Executable Info:
Executable name:
any name you like
for example: TestJar
Next
5. Java invocation:
Class path:
the path to your jar file
for example: .\dist\TestJar.jar
Main class:
after you specified "Class path", what you just did,
you only have to click on ... to discover the project's main classes.
Select the class that should start first and click "OK"
for example: jardemo.TestJar
Next
6. JRE:
Java version:
Minimum version: 1.5
Advanced options: Search sequence
+
Directory
..\..\..\..\Program Files\Java\jdk1.5.0_03
select it and move to top using arrow button
Next
Preferred VM: Next
7. Splash screen:
General: Show slpash screen
select any image file you like
for example: C:\Program Files\Java\jdk1.5.0_03\jre\lib\images\cursors\win32_MoveDrop32x32.gif
Finish
Finished:
Click here to start the application
Exit
Yes
type any name for your executable (for example: TestJar)
Save
an information message tells you where the exe4j file is placed
for example: C:\Documents and Settings\Uhres Andr�\NetBeansProjects\TestJar\TestJar.exe4j
The same folder contains your exe file (for execution outside of NetBeans) -
Invalid Jar? How to fix this
I am trying to download an app, and all I get is the error message: 907 Invalid JAR Descriptor missing required attribute MIDIet-1. What does this mean, and how can this be fixed? (IN SIMPLE NON TECHNICAL JARGON PLEASE)
Hi and Welcome to the Forums!
In the most non-technical jargon possible (btw, no need to yell that request...), the app is not compatible with your BB. To fix it, contact the app developer.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Artifact harvest failed due to: Unexpected error import: Invalid jar file
Hi,
i am trying to submit the .biz and .proxy file to OER using Eclipse,
but i am getting the following error,
can anybody help me on it,
what i am missing ?
8332 [Main Thread] INFO com.bea.alsb.harvester.plugin.reader.OSBReader - OSB Config Jar Import / Validation starting.
<Mar 13, 2012 10:28:16 AM IST> <Warning> <ConfigFwk> <BEA-000000> <Setting transaction '6' as rollback only. Rollback reason:
java.io.IOException: Invalid jar file
at com.bea.wli.config.importexport.ConfigJar$LogicalJarForm.<init>(ConfigJar.java:1341)
at com.bea.wli.config.task.impl.UploadJarTask._execute(UploadJarTask.java:46)
at com.bea.wli.config.task.impl.SessionedTask$1.execute(SessionedTask.java:233)
at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
at com.bea.wli.config.transaction.TransactionalTask._doExecuteWithRetry(TransactionalTask.java:162)
at com.bea.wli.config.transaction.TransactionalTask.doExecute(TransactionalTask.java:142)
at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:236)
at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:191)
at com.bea.wli.config.task.impl.UploadJarTask.uploadJar(UploadJarTask.java:36)
at com.bea.wli.config.mbeans.Config.uploadJarFile(Config.java:442)
at com.bea.alsb.harvester.utils.ConfigJarUtils.importConfigJar(ConfigJarUtils.java:79)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:196)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQueries(OSBReader.java:112)
at com.bea.alsb.harvester.plugin.reader.OSBReader.read(OSBReader.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
at $Proxy0.read(Unknown Source)
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:204)
at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:430)
8426 [Main Thread] ERROR com.oracle.oer.sync.framework.MetadataManager - Artifact harvest failed due to: Unexpected error import: Invalid jar file
com.oracle.oer.sync.framework.MetadataIntrospectionException: Unexpected error import: Invalid jar file
at com.bea.alsb.harvester.utils.ConfigJarUtils.importConfigJar(ConfigJarUtils.java:97)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:194)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQueries(OSBReader.java:112)
at com.bea.alsb.harvester.plugin.reader.OSBReader.read(OSBReader.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
at $Proxy0.read(Unknown Source)
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:204)
at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:430)
Caused by: java.io.IOException: Invalid jar file
at com.bea.wli.config.importexport.ConfigJar$LogicalJarForm.<init>(ConfigJar.java:1341)
at com.bea.wli.config.task.impl.UploadJarTask._execute(UploadJarTask.java:46)
at com.bea.wli.config.task.impl.SessionedTask$1.execute(SessionedTask.java:233)
at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
at com.bea.wli.config.transaction.TransactionalTask._doExecuteWithRetry(TransactionalTask.java:162)
at com.bea.wli.config.transaction.TransactionalTask.doExecute(TransactionalTask.java:142)
at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:236)
at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:191)
at com.bea.wli.config.task.impl.UploadJarTask.uploadJar(UploadJarTask.java:36)
at com.bea.wli.config.mbeans.Config.uploadJarFile(Config.java:442)
at com.bea.alsb.harvester.utils.ConfigJarUtils.importConfigJar(ConfigJarUtils.java:79)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:196)
... 11 more
Please help...
Regards,
yogeshHi Yogesh - when you say "i don't think the file is corrupt, because it works fine in eclipse", do you mean, you are actually able to publish them to a server and test those out?
Dont know your exact scenario, but when you say that you took the sbconfig from another machine and used it on your local system, cant we just go ahead with that? I mean, clean up your code base, and then import this latest "working" sbconfig and start afresh?
-Swagat -
How can I generate a JAR file like SwingSet2.jar (jdk1.3)
I need to generate a JAR file like SwingSet2.jar (jdk1.3). I mean when I give a double click in a JAR file, it opens my application.
You want to make en executable JAR file. You can read how to do this in the JAR files forum.
-
Hello,
I wanna generate a JAR with JavaFX class. How can I do it? Will this JAR run in JRE? Someone knows some tutorial?
Thanks a lot!I think you can find answers (or part of them) in [How to package the JavaFx application|http://forums.sun.com/thread.jspa?threadID=5365358] and [Distribution JavaFX application without web start|http://forums.sun.com/thread.jspa?threadID=5367483].
-
Error code 907 invalid jar not found
For those of you that are having trouble with error code 907 invalid jar not found or invalid jad not found. After following all the help available on the Blackberry site to no avail, the cause of the above error codes was a web site down problem. It turns out that when you try to download the blooover.jar or the blooover.jad files to your phone you get the error message 907 invalid jar or jad file not found due to the www.bluejack.ru web site being down. Any other .jar or .jad file that I tried was not a problem.
Good!
Still, glad you got it settled. There are even several knowledge base articles here on that exact error code as well as the many posts in the forum explaining what it is.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
O/R tool generates invalid ejb-jar.xml for 1-n cmp bean-to-bean relations
TopLink generates:
<ejb-relation>
<ejb-relation-name>Parent-Child</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>Parent-has-childs</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Parent</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>childs</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>child-owned-by-Parent</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete></cascade-delete>
<relationship-role-source>
<ejb-name>Child</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
what's wrong?
it's missing the following tag:
'<cmr-field-type>java.util.Collection</cmr-field-type>'
which should be in the <cmr-field> element after the <cmr-field-name>.
I cannot get the UI tool to add this tag, whenever I manually add it to the ejb-jar.xml it gets removed the next time I generate the ejb-jar.xml. Additionally, if I try to update the project from the ejb-jar.xml, the O/R tool loses ALL my mappings for entity beans.
Expected questions:
TopLink 9.0.3
WebLogic 7.0.1
CMP 2.0
JDK 1.3.1_03
Yes the getter/setter are defined (on the local interface and bean)
FYI,
AndrewThis should take care of it
<ejb-jar>
<enterprise-beans>
<entity>
<ejb-name>IDMaster</ejb-name>
<home>maxateev.mondial.brg.idmaster.IDMasterHome</home>
<remote>maxateev.mondial.brg.idmaster.IDMaster</remote>
<local-home>maxateev.mondial.brg.idmaster.IDMasterLocalHome</local-home>
<local>maxateev.mondial.brg.idmaster.IDMasterLocal</local>
<ejb-class>maxateev.mondial.brg.idmaster.IDMasterEJB</ejb-class>
<persistence-type>Container</persistence-type>
<ejb-local-ref>
<ejb-ref-name>ejb/IDMasterLocalHome</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>maxateev.mondial.brg.idmaster.IDMasterLocalHome</local-home>
<local>maxateev.mondial.brg.idmaster.IDMasterLocal</local>
</ejb-local-ref>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>IDMaster</abstract-schema-name>
<cmp-field>
<field-name>idPrefix</field-name>
</cmp-field>
<cmp-field>
<field-name>idValue</field-name>
</cmp-field>
<primkey-field>idPrefix</primkey-field>
<ejb-local-ref>
<ejb-ref-name>ejb/IDMasterLocalHome</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>maxateev.mondial.brg.idmaster.IDMasterLocalHome</local-home>
<local>maxateev.mondial.brg.idmaster.IDMasterLocal</local>
</ejb-local-ref>
<query>
<query-method>
<method-name>findAllIDMasters</method-name>
<method-params/>
</query-method>
<ejb-ql><![CDATA[SELECT OBJECT (f) FROM IDMaster as f]]></ejb-ql>
</query>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>IDMaster</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar> -
RH 7 generating invalid html files
First I should say that this is a foreign language project.
The default language has been changed accordingly.
When I generate WebHelp, from Single Source Layout, the
output view shows that about 10% of my topics are duplicated as
invalid html files. For example, I have a topic called
"Navigation." RH updates/generates that topic properly
(navigation.htm) but also generates an invalid topic along with it
(navigation_text0.htm).
The output view flags these invalid topics with warnings, and
links to the corresponding
valid topics do not work. In fact, several links within the
project return a "IE cannot display the page" error, even though
the links are definitely set up properly. If I close the project,
or regenerate, some of those links will then work, though I have
made no changes. So, it's arbitrary.
What is wrong?Hi there
Assuming you used defaults, look at your !SSL!\WebHelp folder. You upload all files and folders inside this folder.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Auto-generated executable jar not working properly
Hi all,
I have a desktop application. that I can run it from Netbeans with all its functionalities but when I click the generated jar file the application run wel but some of its functionalities was not working.
Any idea ...
Thank you in advanceYousef_Aqarbeh wrote:
I have a desktop application. that I can run it from Netbeans with all its functionalities but when I click the generated jar file the application run wel but some of its functionalities was not working.Possibly you have not added your resources to the Jar file or are trying to get these resources as files, and files don't exist inside of Jars (AFAIK).
Any idea ...For more help, better help, and helpful help, create a [Short, Self Contained, Correct (Compilable), Example|http://sscce.org] or SSCCE. This is a small program that compiles, runs, demonstrates your problem, and contains no extraneous code. Please read the link, and have a go at it. Best of luck. -
PDF Output generates invalid Thai output
PDF Output with English characters From Oracle Reports 6i is generated properly.
We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
The environment variables set for this purpose are:
NLS_LANG was changed to THAI in Reports Server
THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
Best Regards,
Savitha.
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by SavithaG([email protected]):
PDF Output with English characters From Oracle Reports 6i is generated properly.
We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
The environment variables set for this purpose are:
NLS_LANG was changed to THAI in Reports Server
THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
Best Regards,
Savitha.<HR></BLOCKQUOTE>
Now Report will not support multi-char while your DESTYPE='FILE' and DESFORMAT='PDF'. I got the same problem in Tradition Chinese.
So if you want to get a correct PDF file, you
can install a Acrobat Writer first and then
use the following setting: DESTYPE='Printer',
DESFORMAT='PDF',DESNAME='Acrobat PDFWriter'(<== your acrobat printer name).
After that, you can get a PDF file. But you have to key-in PDF file name as Acrobat printer dialog box will show up every time.I'll try to solve the problem to avoid user key-in every time. Now I still have no idea about it :(
null
Maybe you are looking for
-
Calclulation of dates in Business Explorer queries
Hi all, I have got a reqirement to calculate date difference(i.e Death Date-Delivery Date) and should satify some of the conditions(i.e <=1,<=7)How to calculate these in Designer.I have tried using formula variable but of no use. Could anybody sugges
-
I can find all kinds of examples of data FROM OnBoard Programs to the host but not the other way round. Specifically how do I get the variable into a memory location that the Board will read?
-
I have a canon Vixia HF M301 camcorder and I can't get it to import videos to my Macbook Pro. I have read and tried everything I can find and still no luck. Any help would be greatly appreciated.
-
This is my first amp and for some reason when I plug into it I only get sound through my left headphone I went into the control panel and messed with the setting but I don't know if it is getting saved to the amp or not because it doesn't seem to cha
-
Hyperthreading and licensing question
We use jrockit 8.1 on a redhat as 3.0 linux machine with 2 xeon intel processors with hyperthreading. As suggested in the release notes ( http://e-docs.bea.com/wljrockit/docs80/relnotes/relnotes.html#1034906) I made the changes required to make jrock