Using the JAVA ImportXmlTemplate function, should I always use XSL directory?
Using the JAVA ImportXmlTemplate function requires XSL directory, I do not need XSL for my updates, how can I workaround this requirement?
Ok, thanks for your quick answer. I saw you last blog posting regarding simple bar codes, I hope your next one turns up soon (read: today ;-) ).
I did take a swing at writing my own class according to the user guide, using JDeveloper. One of my problems is that I am not that familiar with the whole java world, my experience lies almost entirely within .NET development. So when I read stuff like "make sure the class is available in the classpath for the JVM" and things like that, it is not a detailed enough description for me in order to make anything out of it. Do you think you can clarify that for me?
I also wonder if you have any tips and tricks on how to trace/log information from the class when it executes? Because I think that I can actually get it to be called, it's just that something goes wrong and the generated PDF becomes badly formatted and has no content. I can see that some calls are made to a Logger class inside the example class. I guess that I need to set up some runtime configuration for that information to turn up in a file, but again me lacking experience from the java world prevents me from accomplishing that :-)
Regarding tracing and logging from the java classes for the BI Publisher, can I get them to trace or log debug information in some clever way?
The app I am developing is a .NET app that calls these classes using a product called juggerNET. I am developing a print direct application for JDEdwards EnterpriseOne since BI Publisher is not entirely integrated into it yet.
I would greatly appreciate a quick reply this time as well if you can find the time!
Best regards, Jörgen
Similar Messages
-
In order to some calculator functions on the "Bankrate" website I need to enable the Java Browser function. I can I accomplished that task?
In recent versions of Lion, Java is automatically disabled (for security reasons) if it goes unused for a certain amount of time. You can re-enable it in the General pane of the Java Preferences app, found in /Applications/Utilities. (Check the box at the top of that pane.) If trying to open Java Preferences results in a message asking if you want to install Java, you don't actually have Java yet. Click the install button to install it.
Note that having Java turned on in your web browser is dangerous, due to recent proliferation of malware that uses Java to install itself. -
A few days ago I tried to e-mail a friend, when I started A box came up and it required me to add a plugin..Java. I contacted my e-mail courier and microsoft, they told me that is was a plugin from Mozilla Firefox. Since then I must go through Java to send or open an e-mail... this is NOT to my satisfaction, it takes too long for all of this to open and if it is not cleared , I am dropping Mozilla and going elsewhere. Why has this occurred? Is this a result of the last update? If so can I delete the last update and continue on the other version?
== This happened ==
Every time Firefox opened
== last weekSorry, I have no idea what you mean by '''"The Java plugin has created a time unfriendly issue with my e-mail account, I can not open or send any e-mail without using this plugin,"'''.
If you think your problem is caused by the Java plugin, you should visit the Java support forum for assistance.
http://forum.java.sun.com/index.jspa
If you could explain what you mean by '''"time unfriendly''' issue with my e-mail account", maybe we'll be able to help you solve that issue.
It might be helpful for us if we knew exactly which web-mail provider you are using. It seems strange to me that viewing or sending web-mail would actually "need" Java for operation, its more likely that some other item on the web page needs Java to run some advertising or other garbage that isn't a necessary part of the web-mail functionality you want to use. -
How to handle the java.policy file ?
Can somebody tell me how to handle the java.policy file?
I always get java.net.SocketExceptions and java.security.AccessControlExceptions while connecting to an appserver from an applet.
What do I have to write in the java.policy file, where do I have to place it and do I have to call it in some way form my applet?
Thanks in advance.
don callThe java.policy file goes in your jre installation directory in .../jre/lib/security (there should be one there already).
I used it to allow otherwise restricted permissions for an applet using javax.comm. Add something like the following to the file:
grant codeBase "URL:http://yourDomainName/rootDirectoryOfYourApp/*" {
permission java.security.AllPermission;
This will give the applet downloaded from your site all permissions. You might want to give only certain permissions, I don't know.
Teri -
Trying to access the java script files via jar file in WEB SERVER
hi all,
I am trying to access the java script files via jar file ,which is present in Apache webserver in order to minimise the number of hits to app server.some thing like cache ...
in jsp the code goes like this...
<script type="text/javascript" archive="http://localhost:14000/dojo.jar!" src="dojo.jar/parser.js" " ></script>{code}
But i am not able to access the js file which is put in jar file present in the webserver.Hi,
You can use DWR (Direct Web remoting) for that. It is easy AJAX for java. ou can directly call the java script function from java class and also java class from javaScripts..
Regards,
Hardik -
I am trying to execute XSL transformation of XML document in Oracle 9i database
and I am using java extension function in XSL stylesheet.
The XSL stylesheet namespace for the extension function is defined as follows:
xmlns:distance="http://www.oracle.com/XSL/Transform/java/Helper
Apparently the Oracle XSLT processor can not resolve this reference.
However, the error message is somewhat misleading:
ORA-03113: end-of-file on communication channel
I tried to load the java helper function in the database but this does not help.
I would appreciate if you could give me some info how to resolve the reference to a java extension function in Oracle 9i database.
Thanks in advance.We are trying to run java extension functions in Oracle 8i (8.1.7), using the 9.2.0.2 XDK and running into a similar problem.
For testing, the following xsl was used :
<?xml version='1.0'?>
<xsl:stylesheet version="1.0" exclude-result-prefixes="math"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://www.oracle.com/XSL/Transform/java/java.lang.Math">
<xsl:template match="/">
<xsl:value-of select="math:ceil(12.34)"/>
</xsl:template>
</xsl:stylesheet>
A stack trace yields the following:
java.lang.NullPointerException
at oracle.xml.parser.v2.XSLExtFunctions.getClass(XSLExtFunctions.java:351)
at oracle.xml.parser.v2.XSLExtFunctions.getMethod(XSLExtFunctions.java:229)
at oracle.xml.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:178)
at oracle.xml.parser.v2.XPathExtFunction.getValue(XPathExtFunction.java:137)
at oracle.xml.parser.v2.XSLExprBase.getStringValue(XSLExprBase.java:369)
at oracle.xml.parser.v2.XSLValueOf.processAction(XSLValueOf.java:99)
at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:369)
at oracle.xml.parser.v2.XSLTemplate.processAction(XSLTemplate.java:200)
at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:473)
at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:450)
at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:248)
at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:138)
at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:210)
Seems like the classloader cannot find the java class files or having some access-related problems.
Any help is appreciated.
Thanks,
Atul -
I created a custom java subscription function to be called from a business event and it worked fine the first time but when I started to add lines of code to it, those new lines are not being executed. I even tried deleting the class file and it was still executing the old code. It looks like the java class is being loaded in a jvm. Can you guys point me to the jvm that handles the java subscription function? What process do I need to restart to flush the jvm. If it is something else other than the jvm, what do i need to restart for the new class to take effect? Any documentation on the architecture will be helpful as well.
You are attempting to use Business Event system to get a status back to the calling program (in your case Product Workbench). Please note that your calling transaction (Product Workbench transaction) and the Business Event subscription's transaction are different.
Once you raise the business event, the BES sets a savepoint before executing the subscription and rolls back to that subscription when you raise the BusinessEventException. So the subscription transaction is rolledback but the exception is not really raised back to the Product Workbench.
If you are on Oracle Applications 12.0 you have a workaround though. The BusinessEvent class provides a new method called getResponseData. So you may pass a status back to the calling program by setting the response data of BusinessEvent object and from Product Worbench, call getResponseData and decide whether to continue or rollback the transaction.
Thanks -
Getting error in calling Java Script function in HTMLB page
Hi
I am having a button in HTMLB page which calls the Java Script function for click event.I have included the Java Script in the script folder of the application.
I am calling the function present in JS like this,
<SCRIPT src="portalsdc.js"></SCRIPT>
function buttonClick() {
someFunc()
<hbj:button
onClientClick="JavaScript:buttonClick();"
disabled="false"
design="STANDARD"
/>
The Error i am getting in calling someFunc()is "Object Expected " ..
Any suggestion how to make it work.
Thanks in advance
SaravananHi,
My code in page is
<%@ taglib uri="tagLib" prefix="hbj" %>
<hbj:content id="myContext" >
<hbj:page title="Epcf iView" >
<SCRIPT src="portalsdc.js"></SCRIPT>
<script language="JavaScript">
function buttonClick() {
someFunc()
</script>
<hbj:form>
<hbj:button
id="sendEvent"
text="Send event"
width="125px"
tooltip="This button raises an event ..."
onClientClick="JavaScript:buttonClick();"
disabled="false"
design="STANDARD"
/>
</hbj:form>
</hbj:page>
</hbj:content>
The code in Java script portalsdc.js is :
function someFunc()
alert ("HI");
Even i have set and tried jsObjectNeeded = TRUE for button.
Thanks and Regards,
Saravanan -
"Manage Playlists" function should do more than just edit tra
The ZEN V Series Media Explorer was poorly designed. The "Manage Playlists" function should do more than just edit the tracks in a playlist; it should also be possible to rename or delete a playlist.
Create your design on one or more master slides: View > Edit Master Slide
delete unwanted master
then save as a Theme: File > Save Theme
Save as; is achieved by pressing the option key then File > Save as... -
Error while installing the Java Addin to use functionality of IP in BI 7.0
Hi all,
We are installing the Java Addin after BI Upgrade from 3.5 to 7.0 to use the functionality of IP.We have 16GB RAM and 50GB Swap Space.We ensure that we are correct as per the prerequisites.I provide the last few lines of Viewlog.
INFO 2008-06-13 18:54:35
CJSlibModule::writeInfo_impl()
File system node /sapmnt/PBT exists already. Nothing to do.
ERROR 2008-06-13 21:35:11 [iaxxejsbas.cpp:178]
EJS_ErrorReporter
FJS-00003 out of memory (in script NW_Addin_SCS|ind|ind|ind|ind, line 3273: ???)
ERROR 2008-06-13 21:35:14 [iaxxejsbas.cpp:178]
EJS_ErrorReporter
FJS-00003 out of memory (in script NW_Addin_SCS|ind|ind|ind|ind, line 2831: ???)
ERROR 2008-06-13 21:40:36 [iaxxgenimp.cpp:736]
showDialog()
FCO-00011 The step createSystemDirectories with step key |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|5|0|createSystemDirectories was executed with status ERROR .
I would be of great help if someone provide any clue on this.
Regards,
Sudheer.Hello Sudheer,
Increasing the Swap space is the only thing i noticed in all SAP Notes for your problem.
Configure more swapspace please and restart the installation.
Regards,
Siddhesh -
Should i use the Java edition ?
Hi,
i'm not sure if i should use the Java edition or the "normal" edition of the berkeley db.
My application is developed in Java, but i won't be using either JTA, JCA or JMX.
Is there still any advantage to be taken from using the Java edition ?
ThanksThere are many minor differences, e.g., JE has somewhat better write performance, DB uses somewhat less memory, DB has an SQL interface and JE does not. But overall, the two products are very similar, so for most questions you might ask, the answer is going to be "about the same".
If you want to choose the best product for your app, you'll have to define the very specific criteria that are most important to you. If you care most about getting every ounce of performance out of a specific piece of hardware, using a specific amount of memory, for a specific app (access pattern), then you'll have to write a test and do a comparison.
--mark -
I Try registering my card in order to use the services of Itunes so that always appears refused payment method, what should I do?
If you are referring to a credit card and it being refused, then something is probably wrong with the entry of the card or your account information. It is not matching what is on file for your account. Generally this is the address field. Make sure it matches what you see on your bill exactly. Otherwise, you need tocontact iTunes support. http://www.apple.com/emea/support/itunes/contact.html
-
What is the best way to preserve my MacBook Pro battery? Should I always have it connected to the charger when using it, or should I use it and then recharge it?
Don't worry about it:
http://macmost.com/dont-stress-about-batteries.html
If you want to condition it once a month, go ahead:
http://www.apple.com/batteries/notebooks.html -
Hello. I am using OS X v.10.8.2. Reinstalled Java 1.6.0_37 from Apple Inc. after uninstalling Java7. However, "you need to download the java runtime environment" continues to appear. What should I do?
Java Test indicates that Java 6 is running well on my Mac. But when trying to run online applications the mentioned error message appears.
Thanks for your help!
EernestojuanHi, Thanks for that further bug description In Your Last Message That Describes The Problem I Am Having perfectly and is exactly the same for me.
unfortunately that fix for my camera Powershot G6 does not work or apply as the view pictures switch is different on G6 is not usable during download as once you plug in DC/USB cable it turns off, and makes no diff and problem still exists exactly as you just described.
thanks anyways "Selz Boy"
it has been 17 days since apple promised to get back to me within 3-5 days hopefully with a solution, but I have still not heard from them.
They blew me off, i guess, probably i will have to wait for new Yosemite OS update, which they pre-warned me could take as much as 6 months.
I cannot believe apple released this new update with such major bug issues for camera downloads and that horrible "Photos" pgm which has all sorts of downgrades in features, usefulness and new bugs compared to iPhotos which I just finally got used to and was much better software.
I am starting to lose faith in Apple and I am getting that Microsoft "FEEL" like I used to have when I was a PC user, which was why I originally switched to Apple computers in first place.
Oh well got my fingers crossed here.
Thankfully the memory card reader solution is working well, but cost me $45. -
How to use the Java objects or methods in pl/sql function as a parameter
dear all,
I java object passed as a parameter in pl/sql. how can i access the java objects as parameter in pl/sql function. please give a soultion to me
mohan reddyI'm not sure whether this would help you.
Have a look at this program to list files from a directory.
CREATE GLOBAL TEMPORARY TABLE DIR_LIST
( FILENAME VARCHAR2(255) )
ON COMMIT DELETE ROWS
Table created.
create or replace
and compile java source named "DirList"
as
import java.io.*;
import java.sql.*;
public class DirList
public static void getList(String directory)
throws SQLException
File path = new File( directory );
String[] list = path.list();
String element;
for(int i = 0; i < list.length; i++)
element = list;
#sql { INSERT INTO DIR_LIST (FILENAME)
VALUES (:element) };
Java created.
SQL>
create or replace
procedure get_dir_list( p_directory in varchar2 )
as language java
name 'DirList.getList( java.lang.String )';
SQL> exec get_dir_list( 'C:\Bhagat' );
PL/SQL procedure successfully completed.
Thanks,
Bhagat
Maybe you are looking for
-
Aperture 3 and Adobe Photoshop Elements 10 problems.
I have installed Adobe Photoshop Elements 10, which I have setup as plugin for Aperture 3. In Aperture preferences the photos are exported as 8 bit TIFF 300 DPI, no profile and automatically stack new versions selected in general. I right click on se
-
Screen flashing/black screen for 1-2 seconds - 7850 power edition 2gb/OC
I recently bought the MSI R7850 Power Edition 2GD5/OC. I have installed amd catalyst 12.10. I have no issues while playing games...the only game i have played since i bought the card is prototype 2 (all settings set to high). The problem is while bro
-
Can't use Ikea Home Planner because of Sharing and Permissions on plug-in
I'm not sure where to submit this, or if the Apple support community cares, but I swear there's an answer to this. I am on a Macbook Air using Lion 10.7.2 When I download the "NP_2020Player_IKEA.plugin" downloadable from this website http://kitchenpl
-
How to use same cost center?
Hi Gurus, I have one controlling are and 2 company codes. I have assigned these company codes to same controlling area. I have observed that cost center is company code specific. In this case, whether we can use same cost center and standard hirachy
-
My imessage wont send or deliver photos or videos?
I can send messages prefectly fine, but when i want to send a video or picture it will say "sending" for an hour!! Iv retried but it wont send!! It dosnt say anything like not delivered it just says sending on the little bar at the top ???