JDeveloper and jnlp.jar or javaws.jar

Hi, I am developing an applet with the JDeveloper 12c, I am using the JSDK 1.7.
While implementing the java program I need to use FileOpenService or FileContent classes for that I need to import javax.jnlp.*
But is not included in the 1.7 JDK,
My sorce code is like this:
        try {
            FileOpenService fileOpenService = (FileOpenService) ServiceManager.lookup("javax.jnlp.FileOpenService");
            FileContents contents = fileOpenService.openFileDialog(null,null);
Do you know how can I import this classes at this environment??.
Thank you in advance.

what do stacktrace mean??????? Please do not hold down you '?' key.
One question mark is enough.
Here is a simple example of a stacktrace..
If you run this code..public class ShowStackTrace {
  public static void main(String[] args) {
    Object object1 = new Object();
    System.out.println( object1.getClass() );
    Object object2 = null;
    System.out.println( object2.getClass() );
}It writes this to the console..class java.lang.Object
Exception in thread "main" java.lang.NullPointerException
        at ShowStackTrace.main(ShowStackTrace.java:6)
Press any key to continue . . .The first line is program ouput.
The 2nd & 3rd lines are a stacktrace.
The stacktrace tells us exactly which line
of the program failed (line 6), and what
went wrong (NullPointerException).
Both Java applets and Java Web-Start
applications can have a console appear.
The console will show any stacktraces
that happen in the code (or it should), and
you need to find how to open the
web-start console, on your PC.
What OS and Java (version) are
you running?
And another thing. Please do not
ignore me. Twice I have asked you
to post your JNLP file, yet twice you
have not done so, and not made any
comment.
Feel free to ask questions about
anything I write that is not clear,
but be warned I will not ask again*,
for you to show us the JNLP file.
* Instead, I will just just stop repeating
myself, and stop trying to help you.

Similar Messages

  • JDeveloper / OC4J rewriting my orion-ejb-jar.xml

    Hi All.
    Im having a play around with OC4J and CMP entity beans and struts at the moment learning some stuff for a new job, so ive started to write a little test app to get used to things.
    Ive created a CMP entity - CustomerEntityEJB, manually defined the tables etc wrote and built it using JDeveloper 10.
    Ive created all the necessary classes and descriptors in JDeveloper and the bean compiles and deploys fine, however no matter what i do, the table attribute of the <entity-deployment> elemnt is ALWAYS removed from the orion-ejb-jar.xml file before its deployed and i have no idea why.
    Here are some snippets form the xml config files im using....
    ejb-jar.xml :
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>CustomerEntityEJB</display-name>
    <ejb-name>CustomerEntityEJB</ejb-name>
    <local-home>com.gb.ejb.entity.customer.CustomerEntityEJBLocalHome</local-home>
    <local>com.gb.ejb.entity.customer.CustomerEntityEJBLocal</local>
    <ejb-class>com.gb.ejb.entity.customer.CustomerEntityEJBBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>false</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>CustomerEntityEJB</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>forename</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>surname</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>email</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>password</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>active</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params/>
    </query-method>
    <ejb-ql>SELECT OBJECT(c) FROM CustomerEntityEJB c</ejb-ql>
    </query>
    </entity>
    orion-ejb-jar.xml as in JDeveloper:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" schema-major-version="10" schema-minor-version="0">
    <enterprise-beans>
    <persistence-manager name="toplink"/>
    <session-deployment name="CustomerSessionEJB" local-location="CustomerSessionEJB" />
    <entity-deployment name="CustomerEntityEJB" data-source="jdbc/PostgresDS" table="Customer" local-location="CustomerEntityEJB">
    <primkey-mapping>
    <cmp-field-mapping name="id"/>
    </primkey-mapping>
    <cmp-field-mapping name="active"/>
    <cmp-field-mapping name="email"/>
    <cmp-field-mapping name="forename"/>
    <cmp-field-mapping name="id"/>
    <cmp-field-mapping name="password"/>
    <cmp-field-mapping name="surname"/>
    <cmp-field-mapping name="title"/>
    </entity-deployment>
    </enterprise-beans>
    </orion-ejb-jar>
    orion-ejb-jar.xml as viewed in the OC4J enterprise manager.     
    <?xml version="1.0" encoding="utf-8"?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" deployment-version="10.1.3.3.0" deployment-time="1151415a0e3" schema-major-version="10" schema-minor-version="0" >
    <enterprise-beans>
    <persistence-manager name="toplink" class="oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager" descriptor="toplink-ejb-jar.xml">
    </persistence-manager>
    <session-deployment name="CustomerSessionEJB" location="CustomerSessionEJB" local-location="CustomerSessionEJB" persistence-filename="CustomerSessionEJB">
    <ejb-ref-mapping name="ejb/local/CustomerEntityEJB" location="TWA-EJB_CustomerEntityEJBLocal" />
    </session-deployment>
    <entity-deployment name="CustomerEntityEJB" location="CustomerEntityEJB" local-location="CustomerEntityEJB" concrete-bean-class="CustomerEntityEJB_ConcreteSubClass3" data-source="jdbc/PostgresDS" local-wrapper="CustomerEntityEJBLocalHome_LocalEntityHomeWrapper5">
    </entity-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    As you can see, the orion-ejb-jar.xml that been deployed on the server has had extra attributes defined in it (like concrete-bean-class) which makessense - its adding in the bits i didnt to get th bean to deploy - however the table attribue is just removed, meaning my bean cant find the table - hence my app not working.
    i just dont know how to stop this and would be extremely grateful if someone could give me a clue how to get my bean up and working properly as this is driving me insane.
    Thanks in advance..
    Gareth.

    sorted - the <persistence-manager name="toplink"/> element was automatically generated by JDeveloper and put in my orion-ejb-jar.xml appears to be un necessary and seemed to be breaking eveything - as soon as i removed it, the bean seemed to deploy ok and pick up the table name =]
    as a bit of an aside does anyone know why it was automatically put there in the first place if it breaks things?

  • Where is the javaws.jar file for Java8 in Solaris Sparc OS?

    javaws.jar file used to be located under 1.7.0_72/jre/lib, but after I installed Java 8, I could not find it in the corresponding 1.8.0_31/jre/lib. I checked .gz file downloaded from Oracle and it does not contain the jar file either. Does anyone know what is going on? Thanks, …

    Thanks, but it is not there.
    I only have the following:
    com.bea.core.jsmpool_1.7.0.0.jar
    javax.jms_1.1.1.jar
    org.springframework.spring-jms_2.5.6.jar
    And if I cannot find it there, where could it be?
    Thanks!

  • Java -jar works, javaw does not

    I have a client who is unable to launch a jar from the desktop with javaw but if I type in the command line java - jar thejar.jar it works fine.
    They originally had jars associated with PKzip. I changed the program association (its an XP machine by the way). But neither double clicking nor the javaw command work.
    Whats the deal?

    Ya !!!!, the only deal is that is that u have to specify the manifest information inside the Jar file....
    One way ,
    inside ur Jar file , u may find Manifest.mt
    make the following arrangement ,,
    Main-Class: name of the main class that runs the Application ...
    save it in a text file called man.mtpor with any extension...
    then under commannd prompt,
    use jar -ufm jarname.jar man.mpt
    the manifest info will be saved into the jar file ,,
    To confirm that , make that jar opened in Zip and see the Manifest file ,, the attrb values are updated...
    Hence the deal is finished !!!!!!

  • Where to download javaws.jar source code?

    Does anyone know where to download latest javaws.jar source code?
    I am debuging the JRE auto download, however the JWS client always report following error when try to download JRE from my intranet server.
    Thanks a lot!
    NLPException[category: ϵͳÅäÖà : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" codebase="http://localhost/jnlpExampleSite/jws/" href="http://localhost/jnlpExampleSite/jws/application2.jnlp">
      <information>
        <title>My Application - Example 2</title>
        <vendor>My Company</vendor>
        <homepage href="http://localhost/jnlpExampleSite/"/>
        <description>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</description>
        <icon href="http://localhost/jnlpExampleSite/jws/applicationIcon.gif" kind="default"/>
        <offline-allowed/>
      </information>
      <resources>
        <j2se href="http://localhost/jnlpExampleSite/jreInstaller/download" version="1.5.0_17"/>
        <jar href="http://localhost/jnlpExampleSite/jws/HelloWorldApp.jar" download="eager" main="false"/>
      </resources>
      <application-desc main-class="HelloWorldApp"/>
    </jnlp> ]
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Good eyes, that is the unicode charactor in Chinese, it should mean "Configuration".
    The whole exception describe that it can't download specific JRE. But the JRE is on the web if I directly issue the link to http://localhost/jnlpExampleSite/http/download?arch=x86&os=Windows+vista&version-id=1.5.0_18&locale=en_GB&known-platforms=
    I simply following the unofficial JRE download example on
    http://sourceforge.net/project/showfiles.php?group_id=64065&package_id=84803&release_id=180414
    Anyway, let me try the JaNeLA first, thanks a lot for your help!

  • Third party dlls and jars with in jars.

    Hi,
    I have a application which uses several 3rd party jars and dlls.I want to create a executable jar for the application .I added the external jars using fat jar eclipse plugin. Iam able to run the jar on my system successfully.But on other systems the application doesnot launch as the dlls are not avaiable which is fairly understandable. It gives the following exception 'JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException'.Now i need to include these dlls into the jar so that i can distribute the application as a single jar and launch double clicking it.I know expecting dlls ignores the cross platform nature of java but i need it.please give me some idea on how this can be done.
    Thanks in advance

    Hi,
    I have a application which uses several 3rd party jars and dlls.I want to create a executable jar for the application .I added the external jars using fat jar eclipse plugin. Iam able to run the jar on my system successfully.But on other systems the application doesnot launch as the dlls are not avaiable which is fairly understandable. It gives the following exception 'JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException'.Now i need to include these dlls into the jar so that i can distribute the application as a single jar and launch double clicking it.I know expecting dlls ignores the cross platform nature of java but i need it.please give me some idea on how this can be done.
    Thanks in advance

  • Bundling all java,html and even images in a jar file

    Hi All,
    When i bundle all my application .java files in a jar along with manifest i give something as,
    jar -cvf Name.jar manifest.txt *.classMy question is if i want to bundle even couple of HTML and even some images like(jpg,png..etc)..How should i do that???
    Thanks in advance.
    regards,
    Viswanadh

    Follow the instructions here:
    [http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
    Note that if you want to run the html. it must be outside of the jar, not in it.

  • Extracting and updating files inside a JAR file... from my code

    Hi.
    I need some help in the following:
    from my code, I need to search a JAR file, open it, unzipped it, then I need to search a xml and property files inside the JAR, after that I need to modify the files and finally, my code has to save the changes and update the JAR file. All that must be from my java code.
    How can I do that? I am trying to use Runtime.getRunTime().exec().... but I am not sure that it works. Besides, I don�t know what command to include in the exec() method. Is there any way to do that?
    Thanks

    The normal reason I see for this requirement is that people want to update a properties or data file. The approach I use it that I first look for the data file in a well defined location and if I find it I use it and update it as required. If I don't fine it I create it base on a template file read from the jar file using getResourceAsSrream().
    In this way I never have to update the jar file.

  • Unable to deploy ejb jar consisting CMP and Stateful in single ejb-jar.xml

    Hi
    I was able to deploy entity bean and stateless bean saperately but when i am trying to deploy a jar consisting of CMP entity and Stateless within single ejb-jar.xml it shows following errors.
    Auto-deploying ejb_SDCurrency.jar (No previous deployment found)... ISDCMCurrencyHome_EntityHomeWrapper4.java:830: 'finally'
    wi
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:835: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:838: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:889: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:893: 'try' without 'catch' or 'finally'.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findByCode(int argument0, java.lang.String argument1) throws
    javax.ej
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:893: Statement expected.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findByCode(int argument0, java.lang.String argument1) throws
    javax.ej
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:961: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:966: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:968: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1017: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1021: 'try' without 'catch' or 'finally'.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findAllByCode(int argument0, java.lang.String argument1) throws
    javax
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1021: Statement expected.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findAllByCode(int argument0, java.lang.String argument1) throws
    javax
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1371: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1376: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1378: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1427: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1431: 'try' without 'catch' or 'finally'.
    public java.util.Enumeration findAuthorizedRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1431: Statement expected.
    public java.util.Enumeration findAuthorizedRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1496: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1501: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1504: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1555: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1559: 'try' without 'catch' or 'finally'.
    public java.util.Enumeration findAllRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1559: Statement expected.
    public java.util.Enumeration findAllRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1624: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1629: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1632: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1683: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1685: 'try' without 'catch' or 'finally'.
    public ISDCMCurrencyHome_EntityHomeWrapper4() throws java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1685: Statement expected.
    public ISDCMCurrencyHome_EntityHomeWrapper4() throws java.rmi.RemoteException
    ^
    30 errors
    Error compiling C:\oc4jext\j2ee\home\applications\calm6/ejb_SDCurrency.jar: Syntax error in source
    com.evermind.compiler.CompilationException: Syntax error in source
    at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:90)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:19)
    at com.evermind.compiler.Javac.compile(Javac.java:37)
    at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:335)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:256)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplication
    Installation.java:439)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:80)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Note:The same jar is deployed into Weblogic 5.1 and was working fine .....
    so please if any solutions .....
    regards,
    Sap

    Hi sapthapathi,
    From the information u have provided, i can only guess, that
    the problem is in ur code...Not in ejb-jar.xml....
    'coz there is no problem in combining stateless session bean and CMP entity bean information in a single ejb-jar.xml file...i myself have deployed bunch of CMPs with stateless session beans..
    So please check ur code once again....
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Question about classes15.jar vs ttjdbc5.jar and support for Java 1.6

    The docs note the use of ttjdbc5.jar vs ttjdbc14.jar depending on Java version. In the tt70_32 distribution (lib dir) I also see jars named classes14.jar, classes15.jar, and classes16.jar. They look to have the same content as ttjdbc5.jar. Can someone clarify when to use these jars?
    Also, are there any known issues on Java 6?
    Thanks

    The classes+nn+.jar files are just the old names we used to use and we still ship the files under these names for backwards compatiility. The new names are ttjdbc14.jar (JDK 1.4), ttjdbc5.jar (JDK 1.5 or Java 5) and ttjdbc6.jar (JDK 1.6 or Java 6). However, due to a packaging error in some of the earlier 7.0 release we omitted to ship ttjdbc6.jar. But you can just copy/rename classes16.jar to ttjdbc6.jar.
    I'd recommend using the ttjdbc files as this is the 'new' naming convention. I am not aware of any issues with Java 6. I have used it extensivley with TimesTen and not seen any problems.. It is faster than Java 5 in many instances.
    Chris

  • Weblogic.ejb20.locks.LockTimedOutException and pb with weblogic-ejb-jar.xml

    Hello All,
    I get a strange problem when I try to log in to the J2EE application based on EJBs:
    weblogic.ejb20.locks.LockTimedOutException
    I see that I can add an option to the weblogic-ejb-jar.xml file, and I hope that can help for my previous problem:
    <weblogic-enterprise-bean><stateful-session-descriptor>
    <allow-concurrent-calls>true</allow-concurrent-calls>
    </stateful-session-descriptor></weblogic-enterprise-bean>
    But I can not edit the weblogic-ejb-jar.xml file under JBuilder ! the file is probably read-only, but I do not know how to change the property. I can not find this file directly under JBuilder directories.
    So I have tried to open the module.jar that contained this file. I have checked: the file is not read-only. I have modified directly manually the weblogic-ejb-jar.xml file, but now I get this error in Jbuilder when I open the weblogic-ejb-jar.xml file:
    URL: Transformation requires a XSL StyleSheetThe Node does not have a style sheet associated with itEither add a style sheet using the Add stylesheets button on the toolbar or add a valid XSL Processing instruction to the document directly
    In conclusion, what should I do to be able to modify the weblogic-ejb-jar.xml file properly ??

    Ok in a way I have solved my problem (even if I am not completely satisfied by the way on how to proceed...). So thanks to message "JBuilder7.0 and Weblogic6.1" on EJB sun forum :
    http://forum.java.sun.com/thread.jsp?thread=285735&forum=13&message=1255488
    I have tried the following actions (mentionned in the other forum messages):
    - To preserve changes to weblogic*.xml, the safest way is to change the ejb-borland.xml.
    (I am not sure that I have applied this advice correctly, because I suppose that syntax is not similar in weblogic file or borland file).
    And you can MANUALLY update the weblogic file in your JAR archive.
    1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your
    project directory.
    2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.
    3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file
    and swap in the weblogic-ejb-jar.xml file."
    Good Luck.

  • How can change ojdbc14 jar to ojdbc15.jar orcale As and weblogic server

    On the machine I installed the server, Oracle JDBC drivers are in ORACLE_HOME/jdbc/lib/ojdbc14.jar.
    How can change Oracle JDBC drivers ojdbc14 jar to ojdbc15.jar.

    >
    On the machine I installed the server, Oracle JDBC drivers are in ORACLE_HOME/jdbc/lib/ojdbc14.jar.
    How can change Oracle JDBC drivers ojdbc14 jar to ojdbc15.jar.
    >
    You can't - do not attempt to or you may break Oracle.
    The JVM is an integral part of Oracle and without the proper, certified version of the JVM the database will not run properly. In fact if you use Oracle installer and elect to remove the JVM the database itself will be removed also.
    Oracle 11g installs with JDK 1.5 and that is the ONLY version that is certified to work properly with 11g. If you attempt to use any other version you are violating your support contract and will likely have errors.
    The installed version of the JDK is the version that Oracle itself uses and is the version that will be used for any Java classes that you load into the database and run from within Oracle.
    You are free to use any version of the JDK you want for external Java applications.

  • Cannot test portlet using JDeveloper and built-in OC4J

    Hi everybody,
    I'm not trying to sound stupid but my problem seems to be very basic but i cannot solve it. I'm new to Jdeveloper. Here's my problem.
    I'm using Jdeveloper 10.1.2.1.0 (build 1913) to develope a portlet. I deployed it to the built-in Standalone OC4J of Jdeveloper and got the following messages:
    ---- Deployment started. ---- Sep 6, 2006 7:46:11 PM
    Target platform is Standalone OC4J (AppServerConnection2).
    Wrote WAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.war
    Wrote EAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear
    Invoking OC4J admin tool...
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -deploy -file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear -deploymentName UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Uploading file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear to oc4j server side
    Notification ==> Application Deployer for UmaPortlets STARTS [ 2006-09-06T19:46:17.406ICT ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\jdev1012\j2ee\home\applications\UmaPortlets.ear
    Notification ==> Unpack UmaPortlets.ear begins...
    Notification ==> Unpack UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets.ear begins...
    Notification ==> Initialize UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets begins...
    Notification ==> Initialize UmaPortlets ends...
    Notification ==> Application Deployer for UmaPortlets COMPLETES [ 2006-09-06T19:46:19.000ICT ]
    Exit status of OC4J admin tool (-deploy): 0
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -bindWebApp UmaPortlets UmaPortlets http-web-site /UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://cuongttlabtop:8888/UmaPortlets
    Elapsed time for deployment: 12 seconds
    ---- Deployment finished. ---- Sep 6, 2006 7:46:23 PM
    When i tried to access the URL: http://cuongttlabtop:8888/UmaPortlets by Mozilla Firefox nothing came up instead : 403 Forbidden Directory browsing not allowed
    Please help me everybody!!!!! It's urgent. My boss will check my work on this Friday :((.

    I tried to access both URL you gave me and got the error:
    404 Not Found
    Resource /UmaPortlets/providers not found on this server
    I really dont understand what's going wrong here?? I followed exactly what Oracle tutorials tell me :(

  • What are difficulty between oc4j included Jdeveloper and oc4j extended?

    Hi all!
    I don't know why i deploy application on oc4j included Jdeveloper when it's run ok but i deploy on Oc4j extented when it's run not ok.
    I want to know the difficulty between oc4j included Jdeveloper and oc4j extended? How to config oc4j extented?
    i've tried deploy appliction on oc4j extended. i get this error:
    JNLPException[category: Download Error : Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    thank a lot!

    The main difference is the version of OC4J. They do not often match. If the extended OC4J is a later version than the one packaged in JDeveloper, then applications developed in JDeveloper are not guaranteed to work in extended OC4J. It is always recommended
    to develop and test against the OC4J in JDeveloper.
    If you are using JDeveloper 10.1.2 make sure to use the right admin.jar (always point the path to the one in OC4J install ) in your OC4J connection.
    In future release Oracle is trying to address such problems by allowing user to configure JDeveloper against a particular version of OC4J.

  • About java web start and *.jnlp

    very strange. I can start it if I replace http://127.0.0.1/ with
    file:///d:/ I copy the same .jar, .html, .jnlp to the www root, then my
    browser can't start it, just display it as a text file. like the
    following. Who knows what's happening here. Thanks!
    <?xml version="1.0" encoding="UTF-8" ?>
    - <jnlp spec="1.0+" codebase="http://127.0.0.1/test"
    href="Geostatistics.jnlp">
    - <information>
    <title>Geostatistics Demo App</title>
    <vendor>NCGIA UCSB</vendor>
    <homepage href="http://127.0.0.1/test/Geostatistics.html" />
    <description>This is an active learning demo for
    geostatistics</description>
    <icon href="../image/duke.jpg" />
    <offline-allowed />
    </information>
    - <security>
    <all-permissions />
    </security>
    - <resources>
    <j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="classes.jar" />
    </resources>
    <application-desc main-class="sampling.SampleApp" />
    </jnlp>

    Hi,
    -To make IE associate with .jnlp is the same way you set in the explorer.
    -but i'm using Netscape which is my prefer.. I just set it in....
    EDIT -> Preferences -> Navigator -> Helper Application -> [New Types]
    then Set MIME : "application/x-java-jnlp-file" and Application to Use : javaws.exe (Java Web Start)...
    ummm this should make Netscape See JNLP file and launch it with JWS...
    PS. Ummm... I have to say that i'm newbie.. sometime i know how to make it works but i don't know how to make it work properly. So if somethings wrong, DON'T hesitate to give an advice. I really want to know how to make those work properly.
    Hope it works.
    Jeng

Maybe you are looking for

  • Runtime error in Webi Report

    Dear All, I have a Webi Report, it is taking too much of time in data retrieval and finally resulting in the following Run time Error: Microsoft Visual C++ Run time Library Run time Error! Program: C\Program Files\Business Objects\.... The applicatio

  • Disable Purchase Order (PO) PDF Print button

    Hi, We are using SRM 550. When a user views/changes a PO in the browser they can use the Preview Purchase Order button to view the PO as a PDF  document. This is OK, but we want to disable users from printing the form using the Adobe PDF  print butto

  • Trouble with printing on Windows XP for Photosmart 6520

    Ok, I downloaded the drivers on the my old desktop that runs windows XP printed a test page no problems. Went to print a regular page off of Office Word. Hangs in the printer spooler doesn't printer. Anyone got any ideas what is causing this problem.

  • Samba on Linux with Tiger clients

    Maybe someone can help me with this, I am not sure if this is the place to ask or not... I have a new Linux (SuSE 10) server running Samba. My issues are two-fold. My Tiger clients have to authenticate manually -twice in order to be able to log in. S

  • TS3694 why i restore ios 7 error 3004?

    i have error 3004 restore