Configuration of java extensions and applets

Hi,
I'm running IIS5.1/CFMX7.0.1 and once again have difficulty
configuring my extensions/applets:
- extension: cfx_pdf (easel.com)
- self-written richtexteditor applet (swing/jdk1.4) with
retrieval function
After some trouble both have been running on 6.1.
Now I'm upgrading to CFMX 7.0.1, set the class paths and
added both extensions but Java doesn't seem to get the job done.
1. It can't locate the cfx_pdf jar class
2. It is not retrieving the text from the richtexteditor
after a post
Is there any way to verify my settings besides the
webconfiguration tool?
Does CF have an alternative way to configure my extensions?
Each time I configure CF( 6.1 & 7.0) extensions (both C++/Java)
on some server (XP/MS2003 & IIS5.1/6.0) I run in to these
problems...
Cold Fusion is really getting on my nerves with this
issue...

PimDor,
This should not be too hard to figure out. First, click on
the system information link in cfadmin. Check the classpath and
make sure your jar file is there for each cfx. Next, unzip the jar
file using winzip or similar. Just view the main classname and note
its capitalization. Java is case sensitive so when you enter the
java cfx classname it must be spelled correctly. Also, if it is
part of a package you must enter that using dot notation. So, if I
have a CFX_ken that uses Kenco.class in package com.adobe.ken I
enter the classname in cfadmin as: com.adobe.ken.Kenco . Note the
capital K in Kenco. If this package were in ken.jar, I should be
able to find ken.jar listed in the classpath on the sysinfo page.
Finally, as a test you should be able to do a cfobject/java
call and dump the class to confirm the class is available. So
following the above example see the attached code. The cfdump
should show the methods of your cfx class.

Similar Messages

  • Can't get java runtime, and applets, running inside Firefox 11.

    I have gone to my Windows 7 control panel and enabled java for the mozilla family,
    which implies the web browser I use, Firefox 11 at the moment.
    I have gone to Firefox/Tools/Add-Ons/Plugins and have enabled the
    Java Deployment Kit 6.0.250.3
    However, when I go to the Oracle Java test page
    http://www.java.com/en/download/testjava.jsp
    It can't detect java working in my web browser.
    The install missing plugins button appears in the top right,
    and while it downloads java, it consistently fails here stating
    that I have the option to install manualy (which I have successfully done already).
    I have the java 6 download manager working, however I can't run applets embedded in the web browser.
    Please, how do I get my java working in firefox for my applets?

    Zachary1234 wrote:
    Yes, 32 bit java and a 32 bit web browser seem to be the only working answer for applets,
    even in windows 7 (and adherence to the firefox browser).No, its not. Its exactly as I said, not what you make of it. If you have a 64 bits firefox, install a 64 bits runtime.
    Let me put it differently: applets work just fine on my 64 bits Windows 7 under a 64 bits Firefox 11 with a 64 bits runtime.

  • Java Applications and Applets

    Are local Java programs only command line runnable? How can I create exe like programs? I already know about how Java doesn't use compilation, but bytecode interpretation.
    Can applets run locally or only browserly.

    Are local Java programs only command line runnable?Several programs set up batch files to invoke it with java.
    How can I create exe like programs?You can make an executable jar, and the java interpreter is invoked normally.
    I already know about how Java doesn't use compilationIt does use compilation. Java code compiles to java bytecode. This is run on the java interpreter. It doesn't compile down to native machine code, but it IS compiled.
    Can applets run locally or only browserly. Applets can run locally in using applet runner.

  • Java.io and applets

    I have about 20 ascii files that my applet will read when a certain button is pushed. The buttons have the names of 7 of the major files on them. I want to add files to the server but not change the code. I have been able to do this from a local machine using the following code fragment.
    url = app.getCodeBase();
    f = new File(url.getPath());
    list = f.list(this);
    sort();
    for(int i=0, j = 0, k = 0;i<list.length;i++) {
    if(Character.isDigit(list.charAt(list[i].length() - 5))) {
    b = new JButton(list[i].substring(0,list[i].length()-4));
    b.setFont(fTen);
    b.setBackground(Color.white);
    b.setFocusPainted(false);
    b.addActionListener(this);
    b.setSize(100,20);
    b.setLocation(k*100, j*20);
    add(b);
    k = (j == 19) ? k+1 : k;
    j = (j < 19) ? j+1 : 0;
    The problem arises when I place the jar file on the apache server. Url.getPath() returns / as the directory to look in and when i view the list of files, they are files from c:\ and not the apache web servers home directory. I am running under windows 2000. Does anyone know a way to get the file name from the server in this manner. thanks.

    Forgot to mention that there is another awkward way of doing the same thing. This will only work if your web site doesn't contain a file named index.htm. You will notice that when you type the following:
    http://www.mywebsite.com
    If there is no index.html at that site, the browser will give you a directory listing -- you can make an inputstream to read and filter out the files that you need.
    Hope this helps.
    V.V.

  • Java Program and Applet

    I am writing a program in which i need to take a string a user and count the number of words, Characters, and
    a particular sub-string. i need to Present back this info. I am a virtual beginner and i did not get any way of doing this. Please somebody help me

    geez man, you make it sound like your dying and need someone to save you. Since I am too lazy to write the whole program for you (and why should I?). You could use something like this to count the characters
    numOfChars = sentence.length()-1;that will give you the number of characters in the string including spaces.
    hmm thats enough to get you started :-p. Be sure to seach the forum to. You should be able to find the solution to your problem reletively easily.

  • Java.io and sun.io

    What is difference between "java.io" and "sun.io",
    I can not find the "sun.io" in Java2 API and
    where can find it.

    The java.* packages are the only packages that are considered "part" of Java. Any extra classes that may be bundled with a release should be considered supplementary and transient - if you look at their documentation, you will likely find warnings that the details of these classes may not be consistent in future releases, nor may the classes even exist.
    The difference is that java.io is the stable one that you should be using... The implementation may be using sun.io behind the scenes, but if you use java.io, then if the implementation changes (As it appears to), you don't care.
    If you can't find it, there's a good chance you aren't supposed to.
    The exception to above is the javax.* package... these represent java extensions, and are also considered standard.
    -Troy
    PS- Yes, the changing sun.* class/package structure is extremely bad policy, not to be emulated... once an API is released, it is considered 'polite' to leave it backwards-compatible, or at least offer upgrade advice.

  • SAP JCO 3 UnsatisfiedLinkError: /Library/Java/Extensions/libsapjco3.jnilib:

    Hi i'm building an app using Sap JCo 3 migrating from 2.1.8.  I imported the example apps and had problems in eclipse running it.   So i dropped the process all together because of past frustrations with jco i didn't have the time or patience. A month or so later I'm trying again, but this time i packaged my app in a jar then ran java -cp /Library/Java/Extensions/sapjco.jar:myapp.jar StepByStepClient.java and it worked from the command line.
    I was inspired again.  However I wrote a junit test and I still get the same problem (java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path) when running inside eclipse.  Despite it being listed in my classpath in eclipse.  In fact when i try to add the external jar it fails because its already listed.  The native library is in the same folder as sapjco3.jar.
    So i went into project properties, libraries and under JRE System Library, i saw a Native Library Location  and edited it to add /Library/Java/Extensions and tried to run it again.  Now I have different error:
    java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/libsapjco3.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1715)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.loadLibrary(DefaultJCoRuntime.java:423)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.registerNativeMethods(DefaultJCoRuntime.java:292)
         at com.sap.conn.jco.rt.JCoRuntime.registerNatives(JCoRuntime.java:862)
         at com.sap.conn.rfc.driver.CpicDriver.<clinit>(CpicDriver.java:947)
         at com.sap.conn.rfc.engine.DefaultRfcRuntime.getVersion(DefaultRfcRuntime.java:41)
         at com.sap.conn.rfc.api.RfcApi.RfcGetVersion(RfcApi.java:213)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:186)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:77)
         at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
         at com.sap.conn.jco.rt.RuntimeEnvironment.setDestinationDataProvider(RuntimeEnvironment.java:117)
         at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:174)......
    Any advice would be appreciated.
    Thanks in advance.
    Joe

    Thanks.  I should have pointed out that I'm running mac os x 10.5.5.
    And I have in /Library/Java/Extensions/ (which is in java.library.path)
    libsapjco3.jnilib       sapjco3.jar
    Also, when i run it from the command line it works fine, however when running from eclipse it fails.  So i guess more specifically this is a question on using Eclipse with JCO3 on Mac.
    Thanks again,
    Joe

  • Java extensions

    Should I uninstall old versions of the Java extensions and if so how do I? I have 5 old versions and the only option I have is to Disable, the Uninstall button in grayed out.

    You don't need any of them for Java to work. You can remove the old ones, or all of them if you want. See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions

  • JAR Files and Applets with Java Plug-In

    This seems to be a basic question, but I can't figure it out! I have a jar file that contains all my class files for my applet. The jar file is in the same directory as the following html file:
    <html>
    <body>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = 700 HEIGHT = 510 codebase="http://java.sun.com/products/plugin/1.3.1/jinstall-131-win32.cab#Version=1,3,1,0">
    <PARAM NAME = ARCHIVE VALUE = "myFiles.jar" >
    <PARAM NAME = CODE VALUE = "MainView.class" >
    <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.3.1">
    <PARAM NAME="scriptable" VALUE="false">
    </OBJECT>
    </body>
    </html>
    I've checked the jar file, it's the same name. MainView.class is most certainly in the jar file - yet everytime I open the page up, I get the class not found error:
    java.lang.ClassNotFoundException: java.io.FileNotFoundException
    MainView.class (The system cannot find the file specified)
    If I don't jar the files, the applet works fine - but I want to jar them as it's some 20 class files. What am I doing wrong?

    I've had a similar problem where it pops up the Java Extension Installation window, and starts downloading. Everything appears normal, but when it tries to run the applet it gets "load: class <className> not found" where <className> is the name of the class in my CODE parameter.
    It appears that on occasion the download of the jar gets cut off. When I searched the browser's cache, I find a jar file that has fewer bytes than it should. In order to initiate a retry, you have to delete the jar file from your browser's cache, close all your browser windows so that the Plug-in with its truncated jar file stops running, and load the HTML page again. It appears that it checks the timestamp of the jar file in your cache and the one on the server and decides that it doesn't need to download it again. But if you delete it from your cache, it forces a retry.
    I never have this problem when I open from my hard drive. I've never had the problem with a cable modem connection. I've had it once from a corporate LAN hitting an internet server (ie., outside corporate WAN). I've had people report the problem with dial-up connections. My theory is that whatever Sun is using to download the applet is more sensitive than either HTTP download or FTP.
    Has anybody else experienced this problem? Is there anything you can do about it? I couldn't find a bug report on it. Is there one?

  • JRE 6 freeze browsers and Java Control Panel Applet stops working!

    Hello,
    this is the second time I got this problem with Java JRE 6 ! First one was a month or two ago:
    I have Java JRE 6 update 20 installed on a Windows 7 64bit ultimate. It was working...much time ago...then i found my browser (firefox, google chrome or IE8) was freezing when I open java application or test pages. I tried uninstalling it, cleaning the system with Revo Uninstaller, or CCleaner or JavaRA and reinstalling with no luck. The other problem is the same that user Mass8 had (http://forums.sun.com/thread.jspa?threadID=5372196&start=15&tstart=0)
    ...my java control panel applet is not working and give me this:
    http://www.iouppo.com/lite/pics/df9b61008b5bf9de61a13d8bfa3ddad1.jpg
    I tried disabling UAC, running JRE, starting Win7 in safe mode with network...but browser always freeze. It's not a true freeze, with CPU busy at 100% (cpu stays in idle) but it seems to wait for something. It's not a problem with video card driver on my machine, because I can start java control panel from command prompt...and without the noddraw switch, using this command:
    javaw -Xbootclasspath/a:..\lib\deploy.jar -Duser.home="%HOMEDRIVE%%HOMEPATH%" com.sun.deploy.panel.ControlPanel
    This was the description of my first time.....then I replaced my system with an Acronis image...and I used the system for sometimes....and Java was working until 3-4 days ago! So I did another image of the system with all things working.
    Then this morning...I tried the java test page.....and surprise! It's not working anymore!
    In these days I think I only disabled UAC and Account virtualization....maybe JAVA saves things there...and then when I disabled UAC (Windows7 deleted those folders and files) it can't find there anymore???? Who can help me?
    I don't want to restore my image every month!
    My system is 100% virus free and from the last image restoration I didn't visit suspicious sites and so on....I have antivirus and antispyware software...all is perfectly CLEAN. Any ideas or things to try?

    I'm beginning to think it's something related to Hybernation after using JAVA....I'm using it very often...and if I use it...and I suspect Java is KO...i try control panel and it doesn't works....then I try with browser and it freeze (or keep waiting...and i can only force to close it)
    THEN,
    when I reboot my system I get this window
    http://www.iouppo.com/lite/pics/09501eb799c165bb25ece8fd3261e41c.jpg
    suggesting me to rename the folder C:\Program in C:\Program1 ...and if i don't rename it...java will never work...instead if I allow it...Windows will fix it!......This until...the next hybernation....:(....
    try to replicate this...maybe I found where is the problem..

  • Is it possible to run a website built in Java and applet from Safari browser in iPad

    Is it possible to run a website built in Java and applet from Safari browser in iPad?

    Java isn't supported on the iPad

  • What're the differences between JSP, Java Script, and Java Applet?

    I am confused by the concepts: JSP (Java Server Page), Java Script, and Java Applet? What are their main differences?

    I don't know about differences, but one of their main similarities is that each of them has a page in Wikipedia.
    JSP
    JavaScript
    [Java applet|http://en.wikipedia.org/wiki/Java_applet]
    There. That should give you enough information.

  • Need XSDs, API Java Docs and Java (with callback hooks) extension sample

    Would someone(Sue Harper?) please give us an ETA on when the info we developers need to develop extensions to SqlDeveloper will be made avaialble by Oracle?
    We have been waiting over a year to:
    1. Get the XSD files the poster refers to - the list of XSDs is on the page cited but all of the links take you to a generic download page and the XSDs are nowhere to be found. These must exist somewhere so it is very frustrating that no one on the development team will provide them.
    2. Get the API Javadocs so we can understand the java classes available and how to use them. As with #1, these must be available to the development team so why won't Oracle release them to us?
    3. Get a working example of a Jave extension. The lone example provided is not useful since it is really just an XML extension written in Java.l A useful Java extension would show how to create the hooks to cause SqlDeveloper to perform callbacks to the Java extension code when certain user actions take place. Same here as with #1 and #2. It's hard to beleive that someone on the dev team doesn't have the code for a simple Java extension with callbacks.
    JDeveloper has 'hook' elements in its example extension.xml files but there is no documentation for SqlDeveloper to show the equivalent.
    Please either provide the above requested items, provide an ETA on when Oracle will provide the items or at least be gracious enough to tell us Oracle won't provide the items.
    I'm sure there are many like myself that would love to start working with extensions but can't because Oracle won't share information and data that almost assuredly already exists.
    Waiting patiently. . .

    Hi,
    I'm sorry are feeling so aggrieved by the apparent lack of response from the SQL Developer team. There is a lot of information on the Oracle Wiki, where it has been available for well over a year. The detail and examples were initially created and published in 2008, while the xsds were added earlier this year. The recent OTN migration (in July) broke the links to the xsds, which I was unaware of and am glad you brought that to my attention.
    I see from your note that you have found the Oracle Wiki and the examples, so your complaint is really that the examples are not sufficient. Oracle is not hiding the detail, and we have every intention of adding more. This is just like any other feature request in the product. We are prioritizing the work that must be done and right now the team is focusing on those features most requested by the broadest audience. We do plan to add more and it was on our feature list for the next release. Like all features features proposed for future releases, we can't guarantee they will be included and we don't provide dates. The advantage of this particluar "feature" is that it is not dependent on a release date and can be updated after the next production release.
    We already have a number of customer teams writing Java extensions to the product very successfully.</p>
    <p> I will update the wiki withthe XSD link, but until that is done here they are:<br>
    Dialogs<br>
    Displays<br>
    Editors<br>
    Navigators<br>
    Query<br>
    Snippets</p>
    <p>Regards<br>
    Sue Harper<br>
    </p>

  • How to install and configure Sun java messaging server 6 2005Q4

    Hi all,
    Please tell the steps to install and configure Sun Java Messaging Server 6 2005Q4.
    Thanks.

    You aren't providing a lot of informations... in this case the answer could be: run the command
    /cdrom/jes_05_q4_dvd/Solaris_sparc/installer
    if you just want to install messaging server on a single host, for evaluation purpose, in the documentation
    http://docs.sun.com/app/docs/doc/819-4879
    there is an exhaustive guide. If instead you're trying to addres some specific question, then please give us more details such as O.S., schema version, and so on...
    regards

  • Setup and configuration for system monitoring and IT Reporting for Java sys

    Hi all,
    How to setup and configuration for system monitoring and IT Reporting for Java system ?
    How to connect Java system to Solman system?
    Regards,
    Neni

    HI,
    What is your OS? You can use SAPCCMSR.exe to monitoring  IT Reporting Java system on Solman.
    Go to solman rz21 create a csmreg user. and configuration fil for agent. copy configuration fil on usr/sap/ccms/..
    Go to comman line cd ../user/sap/xxx/sys/exe/.../ wite SAPCCMSR.00 -R pf=< ...../sys/profile/instans profile> .
    You can se agent on rz10 and use this connaction on rz20 to monitoring and IT Reporting Java system on Solman.
    I hope this help

Maybe you are looking for