Deploying Applet which uses JCORBA

Hi,
I've a problem with deploying Applet, which uses JCORBA
application jcoSql (it's on OAS 4 on Windows NT). I need in
deploy directory package COM/visigenic/vbroker.. (because of
calling ObjectFactory) and com/swing/... (because of using
component JDialog in the Applet). But first direcory COM must be
in uppercase and second com in lowercase!! And that is problem
on NT. Could somebody help me?
Thanks,
Ales
null

You can make one (or both) of te packages available in a ZIP or
JAR file.
Thanks,
-Roel.
Ales Kemr (guest) wrote:
: Hi,
: I've a problem with deploying Applet, which uses JCORBA
: application jcoSql (it's on OAS 4 on Windows NT). I need in
: deploy directory package COM/visigenic/vbroker.. (because of
: calling ObjectFactory) and com/swing/... (because of using
: component JDialog in the Applet). But first direcory COM must
be
: in uppercase and second com in lowercase!! And that is problem
: on NT. Could somebody help me?
: Thanks,
: Ales
null

Similar Messages

  • Plz help with deploying applet that uses SSL

    Hi, maybe this is not the adecuate forum but ive already tried in others and i got no answer.
    Im trying to use a certificate with my applet ( tha sends a lot of info to the server and also connects to another hibernate db) but im getting this error:
    Server side:
    username is: Panda
    Registered the SSLServerSocket on port 6969
    Listening ....
    ---- Got a connection from a client
         this is an unknown client
    !!!!!!Error in reading or writing from/to the client:
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
         at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
         at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
         at sun.nio.cs.StreamDecoder.read(Unknown Source)
         at java.io.InputStreamReader.read(Unknown Source)
         at java.io.BufferedReader.fill(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at PaqueteServidor.Server$handleRequest.run(Server.java:130)
    Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(Unknown Source)
         at PaqueteServidor.Server.printClientCerts(Server.java:47)
         at PaqueteServidor.Server.run(Server.java:100)
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
         at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
         at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
         at sun.nio.cs.StreamDecoder.read(Unknown Source)
         at java.io.InputStreamReader.read(Unknown Source)
         at java.io.BufferedReader.fill(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at PaqueteServidor.Server$handleRequest.run(Server.java:130)
    Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(Unknown Source)
         at PaqueteServidor.Server.printClientCerts(Server.java:47)
         at PaqueteServidor.Server.run(Server.java:100)
    Client side:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at Interfaz.InterfazMovil.init(InterfazMovil.java:89)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
         at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
         at sun.security.validator.Validator.validate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
         ... 14 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
         at java.security.cert.CertPathBuilder.build(Unknown Source)
         ... 19 more
    19:40:34,444 INFO Environment:464 - Hibernate 3.0.5
    19:40:34,444 INFO Environment:477 - hibernate.properties not found
    19:40:34,444 INFO Environment:510 - using CGLIB reflection optimizer
    19:40:34,454 INFO Environment:540 - using JDK 1.4 java.sql.Timestamp handling
    19:40:34,645 INFO Configuration:1110 - configuring from resource: /bd/hibernate/hibernate.cfg.xml
    19:40:34,645 INFO Configuration:1081 - Configuration resource: /bd/hibernate/hibernate.cfg.xml
    19:40:35,045 ERROR XMLHelper:59 - Error parsing XML: /bd/hibernate/hibernate.cfg.xml(21) The content of elements must consist of well-formed character data or markup.
    19:40:35,045 ERROR Configuration:1172 - problem parsing configuration/bd/hibernate/hibernate.cfg.xml
    org.dom4j.DocumentException: Error on line 21 of document : The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup.
         at org.dom4j.io.SAXReader.read(SAXReader.java:482)
         at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
         at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
         at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
         at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
         at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Nested exception:
    org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.dom4j.io.SAXReader.read(SAXReader.java:465)
         at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
         at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
         at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
         at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
         at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    %%%% Error Creating SessionFactory %%%%
    org.hibernate.HibernateException: problem parsing configuration/bd/hibernate/hibernate.cfg.xml
         at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1173)
         at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
         at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
         at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
         at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.dom4j.DocumentException: Error on line 21 of document : The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup.
         at org.dom4j.io.SAXReader.read(SAXReader.java:482)
         at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
         ... 6 more
    java.lang.NullPointerException
         at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:59)
         at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
         at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Plz help and thx in advance.

    I know I didn't get round to replying but no need to post it so many times.
    http://forum.java.sun.com/thread.jspa?threadID=666870
    http://forum.java.sun.com/profile.jspa?userID=543817
    http://forum.java.sun.com/thread.jspa?threadID=669965
    http://forum.java.sun.com/profile.jspa?userID=543817
    http://forum.java.sun.com/thread.jspa?threadID=669975
    http://forum.java.sun.com/thread.jspa?threadID=669973
    Could it be that the server and client need to open different keystores?
    http://forums.java.sun.com/thread.jspa?threadID=573918&messageID=3272683
    reply 7
    My example given before should work on different machines, try to export the server key and import it into the
    client keystore. Export the client key and import in the server keystore if you want the server to authenticate
    the client.
    http://forum.java.sun.com/thread.jspa?threadID=666870
    reply 4
    Check the method getSSLSocketFactory in the applet, that will open a keystore for you.

  • Applet which uses the JDBC Thin driver

    My applet is running from Internet Explorer(Windows NT 4.0) and uses the JDBC
    Thin Driver to connect to database. The code complies with J2SDK1.4.0-beta3 and
    JDBC 2.0. I am getting following error:java.lang.NoClassDefFoundError:
    oracle/jdbc/driver/oracleDriver at applet.button_actionPerformed...
    Can anybody help?
    help urgently needed...
    Best regards and thanks in advance

    AFAIK the Oracle drivers still don't work with JDK 1.4, switch to 1.31 and they should be fine.

  • Which java applets are used for..........................

    hi,
    i want to ask that which java applets are used for receving sms on website.?????????????????????????
    or how can we receive sms on website by using which java applets? or tell me any other method for doing this task.
    thanx in advanced

    Hi,
    For general ledger :
    http://help.sap.com/saphelp_nw70/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    This is the best how-to guide on AP,AR,GL and TAX.
    http://help.sap.com/saphelp_nw04/helpdata/en/af/16533bbb15b762e10000000a114084/frameset.htm
    Hope it helps.
    Regards,
    Srikanth.

  • Deploying Applet on the Intranet

    I am deploying an applet over the intranet. However, i also need to automatically download the Java Plugin and install n system without the plug-in. The problem i have is that it keeps installing the plugin-in each someone visits the web page.
    Can someone assist me with ways of ensuring the nce the plugin is installed, the system does not prompt the user again to install the plugin

    Tanks for answers.
    I think I didn't explain this good enough. To download the applet itself is not the issue. The problem is the data requested by the client.
    The applet is used to view scientific data, allowing the client to choose any period of time from which he wishes to view data. The data for each 24 hour period is around 1Mb, so if anyone wish to view over say a week, there will be allot of data to download.(there is data from the last 4 years available)
    After the user has chosen a period, the applet calculates an image and displays it with the posibillity to zoom.
    So, I guess I'm starting to realize that an Applet was not the best way to go forth with this, but an applet was requested, an applet they got.
    Is there no easy way of re-writing the thing to enable it to run on the server-side?

  • Problem in Running a Webdynpro Application Which uses itext.jar

    Hi,
    I have created a Webdynpro DC which uses a DC called xxx_lib which contains the external JAR Files. (itext.jar etc)
    This JAR file is in my library path as well.
    I have added the lib_dc as used DC under the webdynpro DC.
    The Compilation and build went fine without any error. But when in run the Application Under ---> Content Administration --> Webdynpro , I am getting the following Error.
    The initial exception that caused the request to fail, was:
    <b>java.lang.NoClassDefFoundError: com/lowagie/text/Element
    Failed to create delegate .....
    (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)</b>
    Please let me know if somebody knows the solution.
    Thanks and Regards,
    Sekar

    Hi Sekar,
    Please look into the link below.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7b8180e5-0601-0010-0c94-9bccb92de9c1
    Goto section 2.2.3.1 Defining Libraries Page No. 75
    It gives you the entire process of creating the library DC and referencing the same in your WebDynpro project.
    Hope this helps.
    Regards,
    Rekha Malavathu

  • Unknown site error while deploying web services using OC4J

    Hi,
    I have been testing the deploying webservices examples using demo.zip on OTN site.
    I have trouble in binding the web application name to stand alone OC4J.
    I am running stand alone OC4J server fine. I verified the website http://localhost:8888, which is running fine.
    If I issue the command
    java -jar admin.jar ormi://localhost:23791 admin password1 -bindwebapp demo_ejb_web_service HelloService_web http://localhost:8888/ sejb_webservices
    I get error
    oracle.oc4j.admin.internal.DeployerException: Unknown site: http://localhost:8888/
    What is the http-web-site address that needs to be given for binding web app, if I am running local standalone OC4J with no default port changes?
    Thanks,
    Mohan

    Eric,
    Thanks for the response. But, still I am not able to bind web-application to OC4J.
    Here is how my server.xml has defined the web-site tag:
    <web-site default="true" path="./http-web-site.xml" />
    My http-web-site.xml has following web-site tag:
    <web-site port="8888" display-name="OC4J 10g (10.0.2) HTTP Web Site">
    <default-web-app application="default" name="defaultWebApp"/>
    <web-app application="default" name="dms0" root="/dms0" access-log="false" />
    <web-app application="default" name="dms0" root="/dmsoc4j" access-log="false" />
    <web-app application="default" name="admin_web" root="/adminoc4j"/>
    <access-log path="../log/http-web-access.log"/>
    </web-site>
    I used the following command to bind the example web service:
    java -jar c:\XtendTools\oc4j\j2ee\home\admin.jar ormi://localhost admin password1 -bindWebApp demo_ejb_service HelloService_web default-web-site /sejb_services
    I get "oracle.oc4j.admin.internal.DeployerException: Unknown site: default-web-site" error.
    I tried to use following names as http-web-site, but nothing works.
    "http://localhost:8888"
    "dms0"
    "adminoc4j"
    I downloaded stand alone OC4J 10.1.2 from OTN and tried these samples.
    Your help will be appreciated.
    Thanks,
    Mohan

  • Error while deploying BPEL Process using FTPAdapter

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

  • What is the best practice when distributing a desktop application which uses SMO

    I have a WPF application which installs a web site. One of the installation steps is to execute a number of SQL scripts which will install website's database. The database server is not necessarily the same machine as the product is installed - in most cases
    it's a different server on the same network. All the scripts are generated by a build of database project (visual studio 2012 db project) - hence all of those are in sqlcmd mode.
    I can workaround sql variables (:variable - type of creature) by making some simple text replacements. The big problem is with the "GO" statements. At first I thought that I can split the script into many subscripts using a regex split operation
    defining "GO" to be the separator - this did not work; having a world Polygon in the script will cause the whole operation to fail. Unfortunately I have no control  over the content of the script hence if someone will decide
    to put a comment like /* If you do not know how to use this script then GO TO HELL */ would break the installation process.
    I have then tried executing the whole script (with "GO" statements) using SMO. This works well on my development machine but once I try to do this on a server, application falls over missing dlls. Now for Microsoft.SqlServer.ConnectionInfo, Microsoft.SqlServer.Smo, Microsoft.SqlServer.SqlClrProvider
    and Microsoft.SqlServer.SqlEnum the solution is simple - I can just set "Copy local" to true and those dlls will be distributed with the application. 
    Big problem is with Microsoft.SqlServer.SqlClrProvider.dll. OK, I can get this library from my local machine - but I am not sure which SQL version this will be used with. I can't include more than one of those dlls as all of those have the same name. 
    I know that the official MS line is to install SQL feature pack (http://msdn.microsoft.com/en-us/library/ff713979.aspx). But again - I do not know which version of SQL my application will be working with, and I need to make the installation process as simple
    as possible. 
    My question is - is there a way I can distribute a desktop application (which makes a use of SMO) without any prerequisites and for all versions of SQL server? If there is no such a thing then using SMO is pretty much pointless as it cannot be distribute
    - even if then it's not version agnostic... Thanks for any help! 

    I agree with Olaf, when you want to ensure that you can interact with any version of SQL Server.
    The problem you will run into if you are not controlling the version of SQL Server is in the version of SMO. If you use SMO version 10.5 and need to deploy using SMO to SQL 2012, it will not work. SMO will always be backward compatible but not forward compatible.
    So you would have to have a max version of SQL Server your setup would deploy to in order to control errors and failures. So if you distribute SQL 2012 SMO then the max version would be SQL 2012 for the deploy.
    So using a tool that is version agnostic is the way to go, and you can also use in .NET the System.Data.SqlClient to execute statements against the SQL Server as well. This will be version agnostic too.
    Ben Miller - SQL Server MVP, SQL MCM 2008 - @DBADuck http://www.dbaduck.com

  • JavaScript won't recognize applet after using HTML Converter (please help)

    Hello friends,
    I used JavaScript to call a public method from my swing applet, which returned a string. It functioned correctly until I used the HTML Converter (a utility available from this web site, which converts the <applet> tag into <object>). Now it doesn't recognize the applet.
    Here's the JavaSript code:
    function getText(field) {
    field.value = Editor.getText(); // worked fine before converting
    // "Editor" is the name of the applet, used in the applet/object tags
    Here's the applet method:
    public String getText() {
    return "whatever";
    Now JavaScript sends an error "'Editor' is undefined"
    Any tips will be greatly appreciated. Thank you!

    Yes, the applet loads. Here's the address: (the applet is not finished, but it functions correctly)
    http://www.lordofthewebs.com/test/test1.asp - before using the converter
    http://www.lordofthewebs.com/test/test2.asp - after using the converter
    The "getText()" menthod works in IE 6.0, doesn't work in netscape (I haven't gotten to this issue yet).

  • Deploy Applet and MySQL - how to read and write

    Question on deploying Applet and MySQL
    I am building an applet that is to be a part of a simple game. The applet is supposed to read data from a MySQL server and use it to place towns on the map. In addition, the applet must be able to write to the base.
    I have build a prototype and ran it in netbeans on my computer. It then successfully read data from a local MySQL base. HOWEVER; when I embed the applet in html code it no longer reads from the base. My method for connecting to the base is
    try{
    Statement stmt;
    ResultSet rs;
    Class.forName("com.mysql.jdbc.Driver");
    String url=adress;
    Connection con=DriverManager.getConnection(url, user, user);
    stmt=con.createStatement();
    rs=stmt.executeQuery("SELECT * " +
    "from "+table+" ORDER BY id");
    while(rs.next()){
    get data...
    Town T=new Town(data...); //construct town object
    TL.put(T); //put town objects in an object TownList to use later
    con.close();
    catch(Exception e){
    So;
    1) Why wont the applet read anymore?
    2) Is there a better way to do this? I have heard that its better to connect applets to servlets in some situations. What demands does this place on the server? Is there software that you need to install on the server to use servlets?

    I think I do need an applet. The map I have written permits a lot of features that I dont know how to achieve in another way.
    1) Zooming in and out on mousewheel
    2) Clicking on on two towns gives the distance and by selecting a trooptype one can get information about the traveltime between cities.
    3) Right now, I have a feature to find players or groups of players that are of special interest. It allows a player to submit a list of interesting players. The applet reads this list and provides a button with the players name. If one clicks the name of a player, all his cities flash between their originall color and white (using thread).
    I need java to do this and I need to run it in a webbrowser because there are som parts of the game that is made up of php. So I assume I have to build it as an applet?

  • Problem while loading a JApplet ( which uses JAI ) on Netscape across ssl

    Hi Folks...
    I m having some problem in applet.. can any1 of u guys help me???? My problem is as follows..
    I m having 2 JApplets (Swing applet) one of the applet is using JAI (Java Advance Imaging APIs). I m trying 2 load both the applets in IE as well as in Netscape across SSL (ie thru https protocol) .Both the applet can be loaded on IE across SSL. but when i m trying to load the applet on Netscape, one of the applet which is using JAI is not getting loaded across SSL. The other applet which is not using JAI is running fine across SSL on Netscape also.
    I m getting some exception.. Is this exception comming bcoz JAI is not compatible with Netscape r bcoz of somethinf else??? If it is bcoz of the fact that Netscape does'nt have any support for JAI across SSL. then watz the possible solution 4 that. How can i overcome by this problem. Its very urgent.. i need to do it any how... Plz plz help me out if u guys have any idea abt this.. any help is most welcome..
    My ids r
    [email protected]
    [email protected]
    tks...
    Jameel

    Exactly what exception are you getting? That will really help in determining the problem. Also, do you have the same problems when going over a regular connection (i.e. not over SSL)?
    Kate

  • Applets which don't run

    Hello,
    I have any applets which run with Appletviewer or the development tool "Forte for Java" but they don't run on the web browser whereas I have others applets (with almost the same code) which run in the both cases.
    In fact, on the web browser, you can see the static components (buttons, choices...) but these ones have no effects.
    And, the access to the database seems not to run.
    I think it's an problem which doesn't come from the code but I don't know what.
    Can you help me ?
    Thank you.

    Browsers have in-built support for JDK 1.1 If you are using packages not suported by JDK1.1 for example Swing, the applets won't work without downloading a plugin. The first thing you should do is check if you are using packages not suported by the JDK1.1 Also check if your browser does use a plugin.
    You can download the plugin from this site:
    http://java.sun.com/getjava/download.html
    When you are downloading the plugin you can specify that it is used by your browser by default. This means that you do not have to modify your HTML file.
    The following is relevant if you intend to put your applet up on the web:
    The user may not have their browser set up to automatically use a plugin. This means that you may need to convert your HTML file so that the plugin is used to run the applet and it works corrrectly for different browsers. Also if the user does not have the correct plugin your web page prompts them to download it.
    This site explains how the HTML code is modified:
    http://java.sun.com/products/plugin/1.2/docs/tags.html
    There is a way to do this conversion process automatically - by using the HTMLConverter in the bin directory of your JDK. The following site gives directions on how to use it:
    http://java.sun.com/products/plugin/1.3/docs/htmlconv_01.html
    If you are putting the applet up on the web maybe you should consider rewriting it so that it only uses packages supported by the JDK1.1 That way the user will automatically be able to view the applet without downloading any plugin and you will not need to convert the HTML file.
    I hope this helps,
    RC

  • Deployed Android project using Flash Builder Burrito not working on mobiles

    Hi,
    I have created a simple "Hello World" Application using Flash Builder Burrito SDK. I have tested the result in the emulator it is working great.
    After that i deployed the application using "Export Release Build Option" and entered valid certificate details and created the .apk file. I copied the .apk file into the device and i run the application. Iam unable to run the app. I have tried these in 3 android supported devices and in each of these i am getting different error messages. I have mentioned the device in which i have tested and the error message i got while i tried to install the app (.apk file)
    HTC Desire - "Error while parsing the package of the application"
    Samsung Galaxy Tab - "Error while parsing the package of the application"
    LG Optimus one (LG P500) - "Application not installed"
    I have created a New Mobile Project in the flash SDK and added simple label "HELLO WORLD" in the view section.
    Before deploying i have installed Adobe AIR 2.5 in the device.
    Whether iam missing any of the steps to deploy correctly in the device. If so, please let me know. Also i need to know whether any restrictions are there for applications developed using Flash Burrito Preview Release. (whether by default all android mobile version more than 2.1 will support it?)
    Also when i try to install "Tour De Mobile Flex" apk in LG Optimus, it is saying "Device not supported" message.
    How do i overcome these problems to run the apk file without any problems.
    If you need any other detail please let me know, i will explain it in detail.
    Thanks in Advance,
    Srinivasan.C

    Ok, this is an old post but i still needed a couple of hours to find a solution, so here we go:
    - Most likely you have TWO executable build targets in your project (two mxml that you can launch). If so, go to the Project settings > Flex Applications and remove the one you don't need so you only have one.
    - My case was a bit complex though - i was using an ANE and Coldfucion server. In this case change the Output folder in the Project Properties > Flex Server > Output folder to something like "temp" instead of "C:..." generated by Flex Builder. The Android device gets confused by a "C:" reference but still can understand a local "temp" folder
    I hope i have saved your day

  • Getting ClassNotFoundException in Applet by using JDK1.6_20

    In my web application, we are using an applet which gets invoked from the jsp.
    Its working fine with jdk1.5 and 1.4 but when I am executing it on machine having JDK1.6_20 its throwing ClassNotFoundException. (Please see the log below)
    I cleared the cache and history but still getting this issue.
    I tried by switching off to Next Generation Java Plugin but still its not working.
    load: class com.idautomation.linear.BCApplet not found.
    java.lang.ClassNotFoundException: com.idautomation.linear.BCApplet
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Please provide the solution of it.

    am_mehra wrote:
    Hi,
    In my jsp, we have used the following lines to show an apple.
    <applet name="myApplet" width="390" height="105" align="Baseline">
    <param name="code" value="com.idautomation.linear.BCApplet">
    <param name="archive" value="LinearBarCode.jar">
    <param name="name" value="BarCodeApplet">
    <param name = "BARCODE" value = "<%= boOrderReturn.getString("return_no")%>">
    <param name = "CODE_TYPE" value = "CODE128">
    <param name = "BAR_HEIGHT" value = "2">
    <param name = "LEFT_MARGIN" value = "0">
    <param name = "TEXT_FONT" value = "ARIAL|BOLD|11">
    <param name="scriptable" value="true">
    </applet>Looking at this in code tags, which makes things more clear, suggests various problems to me..
    <applet name="myApplet" width="390" height="105" align="Baseline">
    <param name="code" value="com.idautomation.linear.BCApplet">
    <param name="archive" value="LinearBarCode.jar">
    <param name="name" value="BarCodeApplet">
    <param name = "BARCODE" value = "<%= boOrderReturn.getString("return_no")%>">
    <param name = "CODE_TYPE" value = "CODE128">
    <param name = "BAR_HEIGHT" value = "2">
    <param name = "LEFT_MARGIN" value = "0">
    <param name = "TEXT_FONT" value = "ARIAL|BOLD|11">
    <param name="scriptable" value="true">
    </applet>1) [Values for align|http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG] can be bottom|middle|top|left|right. Note that none of those is 'Baseline'. You cannot just 'make up' HTML and expect it to work.
    2) The code and archive attributes should be in the applet opening element, not specified as params.
    3) Does that applet truly accept a 'name' param?
    4) The barcode param value looks suspiciously like it it is malformed.
    Fixing those things (barring point 4, but also removing the redundant spaces in the param elements) might result in something like..
    <applet
         name="myApplet"
         code="com.idautomation.linear.BCApplet"
         archive="LinearBarCode.jar"
         width="390"
         height="105"
         align="bottom">
    <param name="name" value="BarCodeApplet">
    <param name="BARCODE" value='<%= boOrderReturn.getString("return_no")%>'>
    <param name="CODE_TYPE" value="CODE128">
    <param name="BAR_HEIGHT" value="2">
    <param name="LEFT_MARGIN" value="0">
    <param name="TEXT_FONT" value="ARIAL|BOLD|11">
    <param name="scriptable" value="true">
    </applet>
    The above code is working in JDK1.4 and 1.5 but throwing classnotfoundexception.Did you mean ClasNotFoundException? If so, then please use the correct capitals, so there is no confusion. This is even more important on an international technical forum.
    I am not clear with the response "Change line 114, column 28 of the source from a '.' to a ','. All the problems should be gone." , kindly explain where I need to change this.That was commonly known as sarcasm. It meant I cannot fix code that I cannot see. That is why I requested you post the SSCCE (please read the link).
    It's an internal application not publicly available.OK - understood.

Maybe you are looking for

  • Trouble getting my phone line connected

    My saga to date.... I contacted BT on 20th April to advise them that I was moving home on 29th April (to a newly built house).  An engineer was arranged to come to my home on 10th May to carry out the connection.  Prior to the 10th May, I had a visit

  • Why am I getting a "Problem With Previous Purchase" when I haven't purchased anything?

    Sometimes, quite randomly when I open anything on my iPad or iPhone and try to update an app or something of the like, iTunes asks me to verify my billing information. It gives me the reason "There was a problem with a previous purchase." And asks me

  • A few doubts in the 'beginners guide'

    Hello, I'm trying out arch (still with virtualbox), and I'm following the 'beginners guide' on the wiki. I managed to install it but ended up with a few doubts, about some parts of the installation. On the "Partition Hard Drives" part, it says that t

  • Sending a pdf form through email

    Hi, I want to send a pdf form through mail for this i have to write code(given below) but my problem is that it send a xml file to vendor. i want to send its pdf form. how it is possible......................... CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'

  • What's report name show list of public holiday?

    Dear all, I want to view the list of public holiday on production system. Please help me to view this. Thanks for your susports. Huyen Nguyen