Signed Applet running in weblogic server

Hi ,
Im a newbie with applet. Can anyone help me to clarify below question.
1. I have signed applet compile with jdk 1.4.2. It its running fine with JRE 1.4 and 1.4.2. However i need to upgrade the applet so that it can support JRE 1.6. Can anyone guide me regarding this issue as the applet will close if i running in jre 1.6. I got the below exception
java.io.FilePermission<<allFiles>> execute.
2. As i know, If i compiled the applet again, i need to signed the ja againr. I tried once and got below exception
ClassNotFoundException. can anyone give any idea how resolved this problem. Fyi, im using weblogic server 8.1
Thanks.
Regards

Normally, a 1.4 compiled and signed applet should work just fine under 1.6. No need to recompile and resign.
This is in theory and in my practice with my applets. Since you do have problems, please post here (copy and paste, don't paraphrase) full stack traces of the errors and relevant code where the error occurs.

Similar Messages

  • Is it possible to run  EJB (  Weblogic server 7.0) on win XP professional

    Hi,
    i am using win XP Professional platform. Is it possible to run EJB (WEBLOGIC SERVER 7.0) on this platform. IF not what are the other plug in needed to run WEBLOGIC SERVER on WIN XP Prof ?.

    Yes, though currently BEA hasn't certified it for XP.

  • Signed Applet In Java Web Server

    I have created signed applet signed by myself. It works fine with appletviewer as well as web browsers. Now I want to place this signed applet in Java webserver.
    My queries are
    1.Where to place this signed applet(Is it in publichtml Folder ????)
    2.Where to place my certificate and policy files in server.
    3 If I access this applet from any other machines(client)how to avoid Grant Permission Dialog box coming everytime.
    Thanks

    hi
    i would like to ask you about the applet that you've signed, heve you uses the java.securitu
    classes in it's code?? and how did u signed it. because i'm trying to sign an applet where i didn't use security classes, it runs with ie but it doesn't run with netscape even if i uses the netscape signing tool.
    thanks for help

  • How to terminate the "process" running in weblogic server by servlet

    hi all !!
    i have executed a external command from servlet but i am not getting the output untill i logoff the weblogic server.
    now i want to kill the process running in my server by servlet code.how could i do this? here is my code ,it is executing the command but not giving output untill i logoff the server.
                     Runtime rt = Runtime.getRuntime();
                     Process proc = rt.exec("var.bat");
                     proc.wait(60);
                     proc.destroy();Thanks and Regards
    Allwyn

    hey !
    anybody is here?????

  • Can a signed applet run classes from disk?

    Hi all,
    I have a signed applet jar and a signed jar file somewhere on disk (I can ensure the jar file is available on client's machine before i run the applet). My applet doesn't let me have file io access from the classes in the jar file on disk. It gives the following exception:
    java.security.AccessControlException: access denied (java.io.FilePermission C:\test.jar read)
    However I do have file io access from classes in the applet jar itself. Both the jar files are signed.
    Is there any way to get around the plug-in security in this case?
    Using installed extension (jar/lib/ext) is not an option, unfortunately.
    Any help will be appreciated.
    -Jas

    Is it not the same problem of JavaScript which calls Java ?
    Harmemejer posted : http://forum.java.sun.com/thread.jsp?forum=63&thread=524815 (second post) ???
    Hope it helps
    Rafax.

  • What's the recommended way to run a WebLogic Server in the background?

    I'm new to WebLogic Server and I've been looking at the documentation. There's instructions for starting and stopping servers on Linux but they all seem to rely on foreground processes. What's the correct way to run these processes in the background in a production environment? Is it just by using nohup somewhere in a script /etc/init.d/ or is there some other way I should be running it?

    Meatwad,
    Of course, running the WLS processes using nohup would place the process in the background. However, the recommended way to run the WLS servers on a production system would be to configure node manager and use this. This places the servers as a background process but also provides some additional functionality, that would be useful - for instance, allowing starting and stopping via the admin console and the ability to auto restart failed or stuck servers.
    For more information, please consult the documentation.
    http://docs.oracle.com/cd/E17904_01/web.1111/e13740/starting_nodemgr.htm

  • Signed applet runs in Firefox but not in Internet Explorer

    I've signed an applet with
    keytool -genkey -validity 3650 -keyalg rsa -alias ddkey
    keytool -export -alias ddkey -file ddcert.crt
    jarsigner planner.jar ddkey
    jarsigner -verify -verbose -certs planner.jar
    but loaded from the webserver with...
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE>Planner </TITLE>
    </HEAD>
    <BODY>
    <APPLET CODE="mypack/Planner.class" ARCHIVE="planner.jar" WIDTH="100%" HEIGHT="100%">
    <PARAM name="customer" value="mycustomer">
    </APPLET>
    </BODY>
    </HTML>
    .... the applet only works with firefox and not in Internet Explorer. Even with a new certificate, IE does not ask me whether I trust the applet or not. Only a blank screen with a red cross..
    In spite of having configured "show Java console", the Java console is NOT opened in the task bar, so I cannot add further log messages....
    Why do the two browsers behave differently?? How can I fix it?
    Appreciate any hint :-)

    When I see "it doesn't work in IE" I always have to ask: Windows 7? 64 bits system? Are you sure you are running this in the 64 bits internet explorer? The default IE is the 32 bits version, so if you don't have a 32 bits Java runtime installed applets are not going to work at all, signed or otherwise.

  • How to run two WebLogic server instances on the same machine

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

  • Running on Weblogic Server 9 with XML mappings (JPA)

    We have a project with a number of persistent classes configured through XML mapping files instead of annotations because it should also work under JDK 1.4.
    It works perfect as a standalone client or set up in the server with a connection specified in the persistence.xml.
    However when configuring it through a resource adapter as recommended for WLS9, I'm running into problems as there seems to be no way to specify that MetaData should be taken from an XML file when it comes to the JPA edition.
    Eg. I'm missing the equivalent of:
    <mapping-file>com/xyz/xxx/Service.orm.xml</mapping-file>So naturally I get an Exception like:
    org.apache.openjpa.persistence.ArgumentException: There is no query with the name "findServiceByName" defined for any of the known persistent classes: null.And the server log also shows:
    INFO   [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.MetaData - Found 0 classes with metadata in 20 milliseconds.Any suggestions on how to fix or work around this without introducing annotations?
    Regards
    Brian Jacobsen

    Yes we are using named queries as well.
    WLS 9.2, Kodo 4.1.2.
    There are no entries in config.xml and no persistence.xml when running as recommended under WLS9 installation in the Kodo documentation.
    Everything is configured in the ra.xml for the resource adapter. But the ra.xml specification only supports specification through annotated classes for JPA as far as I can decipher, which is what I tried to describe in the original post.
    Eg. kodo.MetaDataFactory supports only classes through Type. There is no way to specify the equivalent mapping through XML files. See section 6.2 Metadata Factory in the Kodo Manual.
    Kind regards
    Brian Jacobsen

  • Fail running integrated webLogic Server 11g (11.1.1.4)

    hi, i try to follow a tutorial in cue card for work with web services & when i try to test the web services there was incomplete deploying as shown below:
    [01:26:23 AM] #### Deployment incomplete. ####
    [01:26:23 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application WSDataControlApp due to error deploying to IntegratedWebLogicServer.
    [Application WSDataControlApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
    <Logger> <error> ServletContainerAdapter manager not initialized correctly.
    anybody can help me fix this problem?
    Edited by: kay on 07-Aug-2011 10:58
    Edited by: kay on 07-Aug-2011 10:58

    Hi,
    Are you getting any error in wls_reports managed server log file, while the servers stops abruptly. Location of log files is $DOMAIN_HOME/servers/wls_reports/logs. Please check the latest .out,.log files. Please paste the same here.
    Thanks,
    Kishore

  • Running two weblogic server versions

    hi all,
    i have a requirement wherein i have to run weblog 9.2 and weblogic 8.1 in the same machine. my application deployed in weblogic 9.2 uses dataservice deployed in weblogic 8.1sp5. i have changed the port number of weblogic 8.1 to "8001" from "7001". but still when i start the 9.2 it fails to start saying it is not able to find transport socket...
    here is the error.
    JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L497]
    thank you.

    Found the problem. The error occurs because I was running another domain which was using the default debug port for JDWP (8453). This port is set in the setDomainEnv.sh file. When I changed this port to 8454 the startup was fine :-)

  • Signed applet accessing remote host getting AccessControlException

    I'm fairly new to java development, so hopefully this is an easy answer, but in my searching I haven't yet been able to figure out why this isn't working for me.
    I have a self-signed applet, running on a server in my intranet. I understood that using a signed applet would allow connecting to any host within the applet. In the applet, I'm using the following code to try to connect to a remote host, which is also in my intranet:
    import org.apache.commons.net.ftp.*;
    FTPClient ftp = new FTPClient();ftp.connect("[myhost]");
    //Where [myhost] is the name of the host I'm trying to connect to.This works fine when running from Eclipse Applet Viewer, but when I run from the website, I get the prompt to accept the signature and run. I click run. When the code above runs, I get the following exception:
    ava.security.AccessControlException: access denied (java.net.SocketPermission cmdsp.bsu.edu resolve)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkConnect(Unknown Source)
    at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getByName(Unknown Source)
    at java.net.InetSocketAddress.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:53)
    at org.apache.commons.net.SocketClient.connect(SocketClient.java:162)
    at org.apache.commons.net.SocketClient.connect(SocketClient.java:250)
    at Deploy.DeployCard(Deploy.java:150)
    Any help would be GREATLY appreciated.
    Thanks!
    Daryl

    Bonjour,
    J'ai le problème que celui énoncé dans ce topic. Je réalise une applet ftp qui doit se connecter à un serveur ftp. J'utilise org.apache.commons.ftp.net et mon appli fonctionne sous eclipse mais pas intégré sur une page web.
    J'ai signé le jar commons-net-1.1.4.jar et le jar qui contient mon code et ça ne fonctionne pas.
    dois-je mettre toutes les classes de commons-net-1.1.4.jar dans mon fichier jar, je ne sais pas comment faire pour inclure commons-net-1.1.4.jar dans mon jar car lorsque je compile, je met le path dans eclipse mais je n'ai normalement pas besoin de mettre le commons-net-1.1.4.jar dans mon jar car les classes sont automatiquement importées.
    Merci de votre aide

  • Classloader caching in signed applet is very slow and weird

    I have a signed applet running in the 1.4.1_01 plugin environment, and
    I'm getting the following kinds of messages when I use debug mode 5 in the console:
    Connecting http:[myserver]/someclass.class with no proxy
    Connecting http:[myserver]/someclass.class with cookie "JSESSIONID=..."
    Sometimes, the classloader will say:
    WARNING: Unable to cache someclass.class
    Moreover, some classes will be repeated two or three times, as if the classloader is trying to get the same class two or three times.
    Some of these classes are even in the java.lang package!!
    The thing is, I'm actually trying to get the applet to use webservices, so I've signed the Apache Axis jar files (about 8 or so) and included them in the "cache_archive" parameter. The classes giving problems are from these archives, not from my main applet jar.
    The applet will eventually work, but the first time takes a LONG time to initialize because the classloader is trying to verify all the classes (i think). Subsequent runnings of the applet within the same browser will be much faster, but the same thing will happen if I start a new browser instance.
    My questions are:
    1) Why is the classloader trying to load from my http server rather than from the local jars? (they seem to be statically cached, I checked the plugin control panel)
    2) Why is the classloader reloading the same classes multiple times?
    3) Is the classloader verifying the signatures for each class, because it's taking a long time due to very many classes (100's).
    I can't seem to find ANY documentation for this at Sun or Google.
    Please help if you can!
    Andrew

    I've got the same problem with applet using SOAP based on jwsdp.
    But classloader only try to get classes from server that are used in SOAP calls.
    The only workaround I found is to move this classes to root package, but still there are problems with
    Connecting http://<host>/int.class with no proxy
    Connecting http://<host>/int.class with no proxy
    WARNING: Unable to cache http://<host>/int.class
    requests.
    Maybe this is a bug of Sun SOAP implementation?

  • Signed applet doesn't popup "trust applet" dialog

    Hi,
    I have the following situation with a Java applet:
    It is VeriSign signed and needs access to the hard drive.
    It works fine on most computers and prompts the user if they want to trust the applet.
    But on some computers this trust window never appears.
    The window I'm talking about is this:
    Warning - Security
    The application's digital signature has been verified.
    Do you want to run the application?This question just won't show up on some computers.
    I know that some of them are running Vista, and I know that UAC is causing major issues (I found a site explaining the reason).
    Is there anything simple that I can tell Vista users to do to give permission to the applet to run?
    Is there anything at all I can tell Vista users?
    Thanks!

    Dunno why Vista or XP or IE would be causing this with settings... except to not let applets run at all. The signing control is managed entirely by the plugin in any recent Java version (1.4+, at least).
    Untrusted applets would have to be added to a list, if there was one, which I'm not aware of a list.
    If this were an issue with default configs on Vista or XP or IE, believe me I would have heard about it all up and down the last year+. Early last year, we released a new applet which is signed, and that's how I know that 1.4.1_02 doesn't work at all. And late last year we actually started using new functionality that would take advantage of the signed applet (talking to another server) so, if that didn't work on a lot of client's PC's, I would have heard long before now.
    What is the problem, actually? Is the applet running at all? If so, are you sure it's not running as a signed applet (can you test with something an unsigned applet couldn't do)? Cuz there is the "remember this decision" option so you don't have to get the warning more than once from the same signer.

  • Signed applet only! ONCE...till changed

    hi all,
    building my application i come no to the stage whre i put the signed applet on the web server and let things go, but! i was trying to vision how to load,install and run the applet on the client's machine, and do versioning and integrity checks, as to minimize applet loading time?
    any one have ideas!??

    Java WebStart may be what you are after...
    http://java.sun.com/products/javawebstart/index.html

Maybe you are looking for

  • Migration of Business Component from PI 7.1 to PO

    dear experts, I am working on migration project from PI 7.1 to PO . I am using migration tool to Move the Configuration Objects from 7.1 to PO. those Objects in the SLD i.e Business System , I imported from the SLD but with regards to Business Compon

  • T61 Screen issues

    I'm hoping someone can help me with this issue. I have a T61 8891-CTO. Two days ago when I woke the computer from sleep mode, the screen never came on. I restarted thinking it was having a problem and the screen lights up for a minute but displays no

  • Error generating XML in Apex 4.1.1

    Hi, please, I need your help. I have an XML develped in APEX with this process: declare begin select xmlElement( "iva", xmlElement("numeroRuc",J.RUC), xmlElement("mes", J.MES), xmlElement( "compras", ( select xmlAgg( xmlElement( "detalleCompra", xmlE

  • Changes in the material, the order should be blocked while saving the order

    Hi, A sales order is already there and delivery is not yet done. The requirement is, If I make any changes in the material, the order should be blocked while saving the order. Is there any indicators or some fields which tells material is changed in

  • Progressive Relaxation with error

    Hi, I tried to use progress relaxation to calculate matching scores(between t1.album and t2.title) and store them into a table. However, after executing the following script, I got these errors: ERROR at line 1: ORA-29902: error in executing ODCIInde