WebLogic 9.2 and weblogic.policy file

Hello,
I'm using weblogic.policy file while starting weblogic.
After adding it to JAVA_OPTIONS in startWebLogic.cmd I've got AccessControlException, and I'have to grant this persmision to all:
permission java.util.PropertyPermission "debug.properties", "read";
permission java.util.PropertyPermission "netuix.logger.implementation", "read";
permission java.util.PropertyPermission "netuix.formatter.implementation", "read";
permission java.lang.RuntimePermission "accessDeclaredMembers";     
permission java.lang.RuntimePermission "weblogic.kernelPermission";
permission java.lang.RuntimePermission "setContextClassLoader";
This is not all permissions which I have to grant.
While I'm tring to run my deployed application I've got
java.security.AccessControlException: access denied (java.io.FilePermission D:\serwery\bea\jrockit90_150_04\jre\lib\managementapi.jar read).
So which permission I have to give (I don't want to add this permissions to all, so the question is where this permissions have to be added).
I think that this permissions should be granted to Servlets, as it is written on page
http://e-docs.bea.com/wls/docs92/security/server_prot.html#wp1032298
but resource path "file:/weblogic/application/defaults/Web" seems strange to me - there is nothing like this in Weblogic 9.2"
I also add this grant:
grant codeBase "file:${user.domain}/servers/${weblogic.Name}/tmp/-" {
permission java.security.AllPermission;
to weblogic.policy to run all deployed applications.
Thanks in advice,
Marcin Dabrowski

Hi
According to
http://e-docs.bea.com/wls/docs90/webserv/annotations.html#1050414
If you are going to publish the policy file in the Web Service archive, the policy XML file must be located in either the META-INF/policies or WEB-INF/policies directory of the EJB JAR file (for EJB implemented Web Services) or WAR file (for Java class implemented Web Services), respectively.
Can you make sure the policy file is in there?
Also there is a sample from the developer at http://dev2dev.bea.com/blog/jlee/archive/2005/09/how_to_use_anno.html
Vimala-

Similar Messages

  • Differece Between Weblogic Portal domian and Weblogic App Domain

    Hi
    Is there any difference between the Weblogic Portal domain and WebLogic App Domain
    How to create an Weblogic Portal domain and configure oracle database with tht
    Thanks

    whats a weblogic App domain? do you mean a workshop or server domain?
    Yes theres a difference, these domains wont have Portal needed resources configured
    Use the domain configuration wizard and you can create a new Portal domain or extend an existing one to add all the portal features.. look at edocs.bea.com for more info

  • How to run weblogic 8.1 and weblogic 9.2 simultaneously

    I have data service platform installed on Weblogic 8.1 platform and Aqualogic service bus installed with Weblogic 9.2.And I want to start both the servers at the same time.
    I have configured Weblogic server 8.1 domain to listen on 7771 port while weblogic 9.2 server domain is listening on 7001.However when I start both the server then one server starts and others server fail to start and in prompt following error message is displayed :
    ERROR:Transport error 202:bind failed:Address already in use["transport.c",L41]
    ERROR:JDWD Transport dt_socket failed to inintialized TRANSPORT_INIT<510>["debugInit.c",L500]
    JDWD exit error JVMTI_ERROR_INTERNAL<113>:No transport inintialized
    Message was edited by:
    mihirkhanwalkar

    Can you show us the full error message? I don't know of anything in WLS that uses port 202 by default. It's a privileged port as well which makes it even more unusual.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Communicating between Weblogic 8.1 and Weblogic 10.3

    Hi,
    I have a requirement where in I need to access Queues in Weblogic 10.3 from Weblogic 8.1 and viceversa.
    Weblogic 8.1 :
    This has a proxy/web application that needs to put request to a Queue exposed in weblogic 10.3
    And will again poll for a Response Queue in weblogic 10.3
    Is it feasible, knowing the fact that jdk version in 8.1 is 1.4 & Jdk version is 1.6 in 8.1 ?
    Can we lookup for Queue defined in 8.1 in Weblogic 10.3 ? Can we use JMS adapter in 10.3 for acheiving this.
    Any help is greatly appreciated.
    Thanks !!

    Avoid using Message Bridges to receive messages.
    See the best practice: http://download.oracle.com/docs/cd/E15051_01/wls/docs103/jms/interop.html#wp1009272
    Q. When should I avoid using a messaging bridge?
    A. Other methods are preferred in the following situations:
        * Receiving from a remote destination—use a message driven EJB or implement a client consumer directly.
        * Sending messages to a local destination—send directly to the local destination.
        * Environment with low tolerance for message latency. Messaging Bridges increase latency and may lower throughput. Messaging bridges increase latency for messages as they introduce an extra destination in the message path and may lower throughput because they forward messages using a single thread.
        * Forward messages between WebLogic 9.0 domains—Use WebLogic Store-and-Forward.

  • Weblogic 9.1 and Weblogic 6.1 "Incompatible versions " error

    Hi,
    When i tried to create InitalContext object on Weblogic 9.1 It gives me following error.
    <i>"javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login f
    ailed: 'Incompatible version: Incompatible versions - this server:6.1.7.0 client:9.1.0]]"</i>
    The EJB is deployed on Weblogic 6.1 and client deployed on Weblogic 9.1 trying to access that EJB.
    Please let me know how to resolve this issue.
    Regards
    Jagat Kansara

    Hi,
    When i tried to create InitalContext object on Weblogic 9.1 It gives me following error.
    <i>"javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login f
    ailed: 'Incompatible version: Incompatible versions - this server:6.1.7.0 client:9.1.0]]"</i>
    The EJB is deployed on Weblogic 6.1 and client deployed on Weblogic 9.1 trying to access that EJB.
    Please let me know how to resolve this issue.
    Regards
    Jagat Kansara

  • Weblogic 10.0 and Weblogic 8.1.5 - StreamCorruptedException

    Is anyone else having any these issues? We are running one Weblogic 8.1.5 server using JSE 1.4. We are running another Weblogic 10.0 server using JSE 6. We host a 2.1 EJB on the WLS 8.1.5 server. We try to call the RemoteEJB from the WLS 10.0 server and get a StreamCorruptedException (can not marshall Weblogic class AuthenticatedUserImpl, or something like that). Pretty simple scenario. Is this a JSE problem? Is this a WLS problem?
    Any input would be greatly appreciated! Thanks!
    -Gregory

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by hennaux ():
    Hi
    I have a probleme with OEM (2.1.0 on NT simple client) and Oracle 8i (8.1.5 on RedHat Linux 6.0 the server)
    My Agent run with no probleme and when I search this agent via my Enterprise Manager Console I have no probleme (the agent is find).
    But via the console if I try to connect to my database I have a message ORA-12545 Connect failed because target host or object does not exist ! Why ?
    If I try to connect via Sqlplus or DBA Studio Standalone I have no probleme.
    Serge <HR></BLOCKQUOTE>
    Hello Serge,
    You need to check your tnsnames.ora file. You need to very that the service name you are using on the NT client is really connecting you to the linux server.
    The Oracle docs cover how to set it up.
    it goes something like this
    Also do a search for Jesus M. Salvo's how to on setting it all up. He is on the OTN check back about 2 months or so.
    I would send you a copy of my tnsnames.ora file, but I cannot get it (not on server now)
    null

  • Compatibilty between Weblogic 7.0 and Weblogic 6.1

              We are developing an application on Weblogic 7.0 that needs to talk to an EJB component
              built on Weblogic 6.1 over RMI-IIOP. Are there any issues in such interactions.
              Any suggestions or inputs are welcomed.
              

              Hi Jakrita,
              "jakrita" <[email protected]> wrote:
              >
              >We are developing an application on Weblogic 7.0 that needs to talk to
              >an EJB component
              >built on Weblogic 6.1 over RMI-IIOP. Are there any issues in such interactions.
              >Any suggestions or inputs are welcomed.
              >
              There will no issues in such interactions.
              Weblogic allows interactions between beans deployed in different application server.
              Regards
              Balendran
              Software Engineer,
              SIP Technologies, India.
              

  • Security Manager and Policy Files

    Hi all,
    I am writing a simple java rmi application, but understand it wont run without a Security Manager installed and a policy file.
    I think I have installed the security manger using the following in the main() method of my client application:
    System.setSecurityManager(new RMISecurityManager());However I am unsure how to use a policy file with this. I have looked on the internet, but it does not seem to be very well documented
    Please could you advise me how to create a policy file that will work for my application and where to place it in my application so that my application can use it.
    Any help would be greatfuly appreciated
    Thanx
    Aaron

    An RMI application doesn't need a security manager unless you are using the codebase feature.

  • Weblogic 6.1 to Weblogic 9.2 : Migration Issue

    Hi,
    We have migrated our application from weblogic 6.1 to weblogic 9.2
    However there is one difference while handling unicode data in weblogic 6.1 and weblogic 9.2
    Difference is:
    In weblogic 6.1, When user inputs unicode string in JSP, it is sent to servlet as it is, meaning there is not entity conversion.
    While in Weblogic 9.2, When user inputs unicode String in JSP, it is sent to servlet in html numeric entity format.
    This is creating issues because Weblogic 6.1 enters this unicode data in informix database as it is meaning with out any conversion.
    Whereas, Weblogic 9.2 converts the unicode data in html numeric entity form, and this form is saved in database.
    So the problem is, when a user tries to retrieve the multi lingual string saved in database using Weblogic 6.1, he is not able to view it correctly.
    Where as if the user tries to retrieve the multi lingual string saved in database using Weblogic 9.2, he is able to view it correctly.
    Did anybody faced this issue before? I mean what should be the right approach to solve this problem?
    1. Can we instruct Weblogic 9.2, not to convert the multi lingual string in html numeric entity form.
    2. Since the jsp expects html numeric entity form for displaying data, it is not able to display the multi lingual data properly. Can we instruct the jsp, not to expect html numeric entity, so that it display multi lingual data properly.
    Kindly help.
    Regards,
    Mayank

    Hi,
    We have done some more analysis for the above issue:
    Our application is deployed on two different weblogic servers as mentioned in the first post i.e Weblogic 6.1 and weblogic 9.2.
    One thing that we notice is:
    Application that is deployed on Weblogic 6.1, enters the multi lingual data as entered by the user i.e it does not do any encoding of the data.
    Where as application deployed on weblogic 9.2 stored the data in encoded format.
    So while we can see the multi lingual data correctly on Weblogic 9.2 for the data enetered using this server.
    But since the data enetered using Weblogic 6.1 is stored as it is, it is not displayed correctly on Weblogic 9.2.
    For Example :
    Suppose the multi lingual string entered is : Уважаемые Господа
    So with application deployed on Weblogic 6.1 server it would be stored as : Уважаемые Господа
    while with application deployed on Weblogic 9.2 it would be stored as : &# 1059;&# 1074;а&# 1078;&# 1072;&# 1077;&# 1084;&# 1099;&# 1077; &# 1043;&# 1086;&# 1089;&# 1087;&# 1086;&# 1076;&# 1072;
    Actually there is no space between &# and the numbers but since it was not displaying properly i had to put space in between.
    So when we view string which is added by application deployed on WLs 6.1, on Weblogic 9.2 it is not getting displayed properly.
    Hope this piece of information helps in providing solution.
    Please help.
    Regards,
    Mayank
    Edited by: user10423960 on Oct 15, 2008 5:43 AM

  • Policy files URGENT

    Hello
    I have a question regarding the local and global policy file. The union of these are used, but what will happend if
    - the global policy file allows to write to a file and the local denies this?
    - the local policy file allows to write to a file and the global denies this?
    -the global file allows grants permission to read to a file while the local policy file allows to write AND read this file
    I am a bit confused about the union thing. Seems like the last one will allow both read and writing to the file but the first one seems strange to me. What is the union of allowing something and denying the same?
    As I understand the global and local policy file are equal when it comes to what is beeing granted to code...
    Thanks alot!!! for help.. I have my exam tomorrow and need to know cos Im confused!!

    Well fist of all it is urgent since I have a exam
    tomorrow morning and replies after this doesnt hekp
    me to much.there may be some here that would sympathize with you.
    Also telling me to try my self while sitting on your
    "high horse looking down" mentality is crap. actually, jverds mentality may be quite different that what you percieve.
    I believe from past experience that a much different description would
    describe his mentality and response. I think what i am saying is that
    you jump to conclusions.
    I could
    but I would have to install Java and since Im having
    a teoretical exam this takes time Ill rather spend on
    other material.it would be time well served and MOST likely to be more
    productive than jumping to conclusions.
    I understand perfectly that you dont want to help,with an open mind, you may come to other conclusions
    but coming with statments that takes you longer time
    to write then the answer is plain stupid.not if you understand that suggestions may help you in the long
    run even if they aren't what you expect. graciously accepting help as
    it is given is much better than making demands and lashing out with
    a "help me the way i want to be helped" mentality.
    Just keep
    it to your self. more instructions and suggestions?
    I asked kindly a question that needs
    a yes/no and I cant see the big problem.re-reading this post with an open mind might lead you to a conclusion that
    you would have been better served with a response like.
    Thank you for your help jverd, but currently i have no access to a computer
    with java and since i have an exam tomorrow and did not study when i should
    have, i am in need of more suggestions. Thank you for your patience.
    walker

  • Using Policy Files

    I have made an applet that I want to be able to access all other web recources and the local hard drive. I heard this can be done with a policy file. How do I make and use policy files? Can somebody point me to a tutorial or something?

    expecting end-users to have to edit policy files (even with sun's
    policytool) is not something i'd want to get intoAs a matter of fact in our company the .policy files are maintained by our admins.
    the permission java.lang.RuntimePermission "usePolicy"; disables the popup that askes the user "do you trust" since anybody connected to the Internet can sign applets.
    There is allso the problem that some proxys change the applet before it reaches the client and disables the applet completely since the key is not valid anymore (on our network).
    So external providers that develop resourses used by us cannot sign the applet.
    If you are expecting other company's to use your applet I don't think signing is a sollution, when you are developing for users at home this would be a better sollution.

  • Associating policy files with license server

    [ Problem ]
    I’m going through the sample and documentation for FA 2.0.  It mentions that whenever a policy is created/updated that the license server has to be informed.  In the reference implementation, there are the model usage policy samples that I see being loaded.  In the non-refimpl of flash access, how does the license server load/know about the policies available?  I looked at the sample flashaccess-tenant.xml, I didn’t see any section where policy files are configured.  Would it have to be done outside of the app?
    [ Solution ]
    If you update a policy after it was used to package content, and you want the new policy to be used when the user requests a license for that content, the license server needs access to the latest version of the policy. 
    In the Reference Implementation, there are two modes demonstrating possible business logic implementations (but of course, you may choose a different approach in your implementation).  The typical workflow for the Reference Implementation is that it will use the policy that was embedded at packaging time to generate the license.  If more than one policy was embedded, it will try each one in order until it is able to successfully generate a license (for example, if the first policy requires authentication and the user did not authenticate, the server will try the second policy in the list.  If the second policy allows anonymous access (possibly with more restrictions), it will generate a license using that policy.  The Reference Implementation supports updating policies through a Policy Update List.  The Policy Update List would be generated when a policy is updated, and contains the latest version of any policy that has changed.  If you point the server to a Policy Update List in flashacccess-refimpl.properties, the Reference Implementation server will automatically check this list for updates any time it issues a license.  Alternatively, if you had an implementation that stores all your policies in a database, you could implement your server to check the database for an updated policy before issuing a license.
    As you mentioned, there is another mode which demonstrates four different usage models and uses policy files stored on the server to determine what the license will look like.  In this "demo" mode, the server only looks at the policies used at packaging time to determine if anonymous access is allowed or if authentication is required.  The rest of the attributes used to generate the license come from one of the four policy files configured on the server (see the "Implementing the usage models" section of Protecting Content for more details). 
    The License Server for Protected Streaming addresses a slightly different use case (see Flash Access Server Deployment Guide for details).  Here, we expect the minimum policy information to be specified at packaging time, and the license server determines the actual usage rules for generating the license.  In the PolicyOverrides section of flashaccess-tenant.xml, you specify the usage rules (license caching, output protection, etc.).  The license server ignores the policy embedded during packaging and only uses the attributes in the tenant configuration file.  If you want to update the usage rules, you simple modify the tenant configuration file -- in this case there is no separate policy file.

    anu1106 wrote:
    I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.Why? Why not just install the unlimited strength files in the normal way according to the installation instructions given in the distribution file?

  • Does anyone know how to set policy file, so applet can connect other host?

    I have an signed applet, it may connect to other host.
    The applet should display a HTML pages, which may contains image tag points to a picture stored anywhere. I use a JTextPane to display this HTML page, but when it is loaded. a error occurs.
    java.lang.SecurityException
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkConnect(Unknown Source)
    at sun.awt.image.URLImageSource.checkSecurity(Unknown Source)
    at sun.awt.image.ImageRepresentation.imageComplete(Unknown Source)
    at sun.awt.image.InputStreamImageSource.errorConsumer(Unknown Source)
    at sun.awt.image.InputStreamImageSource.setDecoder(Unknown Source)
    at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
    at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
    at sun.awt.image.ImageFetcher.run(Unknown Source)
    I have those kind of error (connection refused) before I signed my applet and write policy file to granr socketpermission to the codebase of my class files. But this error still occurs. I suppose it is because the sun.awt.image.* is Java standard class, so my policy file has no effect on them. But how can I make it works?

    you need to install the jre, and place the win32.dll at JavaSoft\JRE\1.3.1_06\bin, that properties file place at JavaSoft\JRE\1.3.1_06\lib, comm.jar at JavaSoft\JRE\1.3.1_06\lib\ext\
    and in ur code try to use it to open ur com port
    public String test() {
    String drivername = "com.sun.comm.Win32Driver";
    try
    CommDriver driver = (CommDriver) Class.forName(drivername).newInstance(); driver.initialize();
    catch (Throwable th)
    {* Discard it */}
    drivername = "javax.comm.*";
    try
    CommDriver driver = (CommDriver) Class.forName(drivername).newInstance(); driver.initialize();
    catch (Throwable th)
    {* Discard it */}
    portList = CommPortIdentifier.getPortIdentifiers();
    while (portList.hasMoreElements()) {
    portId = (CommPortIdentifier) portList.nextElement();
    if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
    if (portId.getName().equals("COM2")) {
    //if (portId.getName().equals("/dev/term/a")) {
    try {
    serialPort = (SerialPort)
    portId.open("SimpleWriteApp", 2000);
    } catch (PortInUseException e) {}
    try {
    outputStream = serialPort.getOutputStream();
    } catch (IOException e) {}
    try {
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch (UnsupportedCommOperationException e) {}
    int i=0;
    while(true)
    try {
    messageString="hi";
    System.out.println(i++);
    outputStream.write(messageString.getBytes());
    } catch (IOException e)
    System.out.println(e);
    messageString=String.valueOf(e);
    return messageString;
    and yet u need to signed the applet
    1. Compile the applet
    2. Create a JAR file
    3. Generate Keys
    4. Sign the JAR file
    5. Export the Public Key Certificate
    6. Import the Certificate as a Trusted Certificate
    7. Create the policy file
    8. Run the applet
    Susan
    Susan bundles the applet executable in a JAR file, signs the JAR file, and exports the public key certificate.
    1. Compile the Applet
    In her working directory, Susan uses the javac command to compile the SignedAppletDemo.java class. The output from the javac command is the SignedAppletDemo.class.
    javac SignedAppletDemo.java
    2. Make a JAR File
    Susan then makes the compiled SignedAppletDemo.class file into a JAR file. The -cvf option to the jar command creates a new archive (c), using verbose mode (v), and specifies the archive file name (f). The archive file name is SignedApplet.jar.
    jar cvf SignedApplet.jar SignedAppletDemo.class
    3. Generate Keys
    Susan creates a keystore database named susanstore that has an entry for a newly generated public and private key pair with the public key in a certificate. A JAR file is signed with the private key of the creator of the JAR file and the signature is verified by the recipient of the JAR file with the public key in the pair. The certificate is a statement from the owner of the private key that the public key in the pair has a particular value so the person using the public key can be assured the public key is authentic. Public and private keys must already exist in the keystore database before jarsigner can be used to sign or verify the signature on a JAR file.
    In her working directory, Susan creates a keystore database and generates the keys:
    keytool -genkey -alias signFiles -keystore susanstore -keypass kpi135 -dname "cn=jones" -storepass ab987c
    This keytool -genkey command invocation generates a key pair that is identified by the alias signFiles. Subsequent keytool command invocations use this alias and the key password (-keypass kpi135) to access the private key in the generated pair.
    The generated key pair is stored in a keystore database called susanstore (-keystore susanstore) in the current directory, and accessed with the susanstore password (-storepass ab987c).
    The -dname "cn=jones" option specifies an X.500 Distinguished Name with a commonName (cn) value. X.500 Distinguished Names identify entities for X.509 certificates.
    You can view all keytool options and parameters by typing:
    keytool -help
    4. Sign the JAR File
    JAR Signer is a command line tool for signing and verifying the signature on JAR files. In her working directory, Susan uses jarsigner to make a signed copy of the SignedApplet.jar file.
    jarsigner -keystore susanstore -storepass ab987c -keypass kpi135 -signedjar SSignedApplet.jar SignedApplet.jar signFiles
    The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
    5. Export the Public Key Certificate
    The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
    The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
    5: Export the Public Key Certificate
    The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
    In her working directory, Susan uses keytool to copy the certificate from susanstore to a file named SusanJones.cer as follows:
    keytool -export -keystore susanstore -storepass ab987c -alias signFiles -file SusanJones.cer
    Ray
    Ray receives the JAR file from Susan, imports the certificate, creates a policy file granting the applet access, and runs the applet.
    6. Import Certificate as a Trusted Certificate
    Ray has received SSignedApplet.jar and SusanJones.cer from Susan. He puts them in his home directory. Ray must now create a keystore database (raystore) and import the certificate into it. Ray uses keytool in his home directory /home/ray to import the certificate:
    keytool -import -alias susan -file SusanJones.cer -keystore raystore -storepass abcdefgh
    7. Create the Policy File
    The policy file grants the SSignedApplet.jar file signed by the alias susan permission to create newfile (and no other file) in the user's home directory.
    Ray creates the policy file in his home directory using either policytool or an ASCII editor.
    keystore "/home/ray/raystore";
    // A sample policy file that lets a JavaTM program
    // create newfile in user's home directory
    // Satya N Dodda
    grant SignedBy "susan"
    permission java.security.AllPermission;
    8. Run the Applet in Applet Viewer
    Applet Viewer connects to the HTML documents and resources specified in the call to appletviewer, and displays the applet in its own window. To run the example, Ray copies the signed JAR file and HTML file to /home/aURL/public_html and invokes Applet viewer from his home directory as follows:
    Html code :
    </body>
    </html>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="600" height="400" align="middle"
    codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,1,2">
    <PARAM NAME="code" VALUE="SignedAppletDemo.class">
    <PARAM NAME="archive" VALUE="SSignedApplet.jar">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    </OBJECT>
    </body>
    </html>
    appletviewer -J-Djava.security.policy=Write.jp
    http://aURL.com/SignedApplet.html
    Note: Type everything on one line and put a space after Write.jp
    The -J-Djava.security.policy=Write.jp option tells Applet Viewer to run the applet referenced in the SignedApplet.html file with the Write.jp policy file.
    Note: The Policy file can be stored on a server and specified in the appletviewer invocation as a URL.
    9. Run the Applet in Browser
    Download JRE 1.3 from Javasoft
    good luck! [email protected]
    i already give u many tips, i use 2 weeks to try this to success, hopw that u understand that, a result of success is not important, the process of how to get things done is most usefull!

  • Urgent ............weblogic 5.1 Vs weblogic 6.0

    we are using weblogic5.1 as webserver.
    Before going for weblogic 6.0 i would like to know like what are the additional
    features available (when used as a webserver)in weblogic 6.0 compared to 5.1
    can we deploy the same web applications on weblogic 6.0 and weblogic 5.1 with
    out making any changes.
    If there are any diffences please explain them.

    [att1.html]

  • Weblogic can't find policy file

    I tried to post about this yesterday, but it doesn't seem to have worked. I apologize if this is a double post.Weblogic Server 5.1 is unable to find the security policy file when I start it up. I have included the lines:-Djava.security.manager-Djava.security.policy==.\weblogic.policyin the start command. I've tried variations on this such as:-Djava.security.policy==weblogic.policy-Djava.security.policy==C:\weblogic\weblogic.policyWhen I run weblogic I get an error saying that the security policy file is not found and defaults will be used. Then an access exception is thrown.Thanks for your help.--Chris

    You can thank Bill Gates for this (or maybe Sun...). Try using forward slashes
    -Djava.security.manager -Djava.security.policy==./weblogic.policy
    or
    -Djava.security.manager -Djava.security.policy==C:/weblogic/weblogic.policy
    Chris Hall wrote:
    I tried to post about this yesterday, but it doesn't seem to have worked. I apologize if this is a double post.Weblogic Server 5.1 is unable to find the security policy file when I start it up. I have included the lines:-Djava.security.manager-Djava.security.policy==.\weblogic.policyin the start command. I've tried variations on this such as:-Djava.security.policy==weblogic.policy-Djava.security.policy==C:\weblogic\weblogic.policyWhen I run weblogic I get an error saying that the security policy file is not found and defaults will be used. Then an access exception is thrown.Thanks for your help.--Chris

Maybe you are looking for