JDeveloper deployement profile

hello, I have a simple application which consists from a Jframe contains a Jlabel with an icon. when I create a jar file using jdeveloper tool I obtain a jar executable file but the icon label don't appear (although it appears when I launch the application from JDeveloper).
the code of the application (frame) is :
package project11;
import java.awt.Dimension;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class Frame1 extends JFrame {
Icon icon=new ImageIcon("img.jpg");
JLabel l=new JLabel(icon);
public Frame1() {
try {
jbInit();
} catch (Exception e) {
e.printStackTrace();
private void jbInit() throws Exception {
this.getContentPane().setLayout( null );
l.setBounds(20, 20, 140, 130);
this.getContentPane().add(l);
this.setSize( new Dimension(700, 500) );
this.setLocation(120, 50);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
and the project directorie is :
home directorie : Project11
directories and files : - Project11.JPR
- img.jpg
- src
- deploy
- classes
the deploy directorie was generated when I generate deployement profile and it contains jar executable.
Best Regards,
Boulebtina abbes.

first of all which jar profile you are using.. dont use.. ADF business Component for the swing application.. i think u have tyo use client jar option from the jar creation profile.. for your second question you have to configure the filter after creating the deployment profile to include the image as well in the jar that you create

Similar Messages

  • Error deploying oracle report JSPs in Jdeveloper.

    Hi,
    I am trying to deploy and run a report created using oracle Report tool(comes with oracle 10g developer suite). I did the below steps.
    1. I created a web layout report in oracle reports tool.
    2. Open Jdeveloper (which comes in developer suite).
    3. Create a new project in Jdeveloper. selected to create new "report component" from new. Copied my oracle report to this jsp page.(Report run time was automatically added to the libraries of the project created)
    4. Run using embedded oc4j and report was successfully run.
    5. Created a deployment profile for WAR. Created a war successfully. Then created an EAR.
    6. Right click deployment profile and configured standalone oc4j connected(connection1). Tested the connection. The test connection was success.
    7. Then right clicked the deployement profile and clicked deploy to connection1.
    8. The EAR file was deployed but in the standalone OC4J, it is showing few errors.
    07/05/02 17:04:47 Error: oracle.reports.jsp.ReportTagExtraInfo
    07/05/02 17:04:47 Errors parsing jar:file:/D:/OC4J/j2ee/home/applications/webapp1/webapp1/WEB-INF/lib/reports_tld.jar!/META-INF/taglib.tld
    07/05/02 17:06:11 Error: oracle.reports.jsp.ReportTagExtraInfo
    07/05/02 17:06:11 Error: loading Tld's into cachedConfigTable: null
    Can anyone tell me how to correct this error?
    -regards,
    K
    6.

    I can successfully deploy the EAR after including the Report Runtime in the dependencies of the deployment profile in Jdeveloper. But I am getting the below error.
    Reports Error Page
    Wed May 02 18:35:53 GMT+05:30 2007
    java.lang.NullPointerException
    java.lang.NullPointerException
         at oracle.reports.rwclient.RWClient.getTrace(RWClient.java:1321)
         at oracle.reports.jsp.JspTagUtil.getRWClient(JspTagUtil.java:59)
         at oracle.reports.jsp.RwTag.setPageContext(RwTag.java:54)
         at oracle.reports.jsp.ReportTag.setPageContext(ReportTag.java:101)
         at oracle.jsp.runtime.OracleJspRuntime.getTagHandler(OracleJspRuntime.java:1298)
         at MyReport.jspService(_MyReport.java:46)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Any help?
    -K

  • How to get built.xml for ear file in jdeveloper?

    Hi,
    I am using JDeveloper to create EAR file for my ADF Fusion Application. I think Jdeveloper use ant to create EAR file. I know how to get built.xml for my war file.
    Can anyone tell how to get that built.xml that create EAR file in Jdeveloper.?

    This blog explains:
    http://adfhowto.blogspot.com/2011/03/ojdeploy-deploying-adf-application-from.html
    Based on the blog, I simply copied an existing project "deploy" target definition and augmented the project's build.xml with a new target "deployApp" that omits the Project parameter to ojdeploy. This causes ojdeploy to build the workspace-level deploy profile instead. I also omitted the output directory parameter (default is app's /deploy folder) and assume that there is only one application deployment profile (i.e. the default for profile parameter is the '*' wildcard). You can augment the build.properties file if you need to get fancier than that.
    <target name="deployApp" description="Deploy Complete YourFoo Application"
    depends="init">
    <taskdef name="ojdeploy"
    classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
    uri="oraclelib:OJDeployAntTask"
    classpath="${oracle.jdeveloper.ant.library}"/>
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
    executable="${oracle.jdeveloper.ojdeploy.path}"
    ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
    ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace"
    value="${oracle.jdeveloper.workspace.path}"/>
    <ora:parameter name="profile"
    value="${oracle.jdeveloper.deploy.profile.name}"/>
    <ora:parameter name="nocompile" value="true"/>
    </ora:deploy>
    </ora:ojdeploy>
    </target>

  • Cannot open files from Application Navigator without JDeveloper freezing

    Completely bewildered by this... please help.
    Been using JDeveloper 11.1.1.0.1 Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188 (pointing to Java 1.6.0.16) for a few months now. Every week or so I take a copy of my project (just take the whole project directory out of the JDeveloper/mywork directory) on my workstation and place on another identically configured workstation. This week, when I tried to do that and open JDeveloper on that 2nd workstation, JDeveloper froze. After reboots and retries, as far as I can get is to be able to open JDeveloper, single click on files in the Application Navigator (their properties show up in the Structure window), but if I try to open any of the source files (either by double clicking on them or right click -> open), JDeveloper freezes.
    What's weird is that I tried uninstalling Java and Jdeveloper on that 2nd workstation and reinstalling a fresh Java and Jdeveloper instance - with none of my code or projects -- just a clean off the oracle.com version of JDeveloper -- and I still had the same problem. I created a brand new application, project, and new class and I still cant click on the Class1.java to edit or view it without JDeveloper freezing.

    Arun,
    Thank you for the response.
    Many apologies - please ignore the exception I posted. The C:\Program Files\JDeveloper\modules was missing because on the last time I re-installed JDeveloper I forgot to copy that directory.
    Nonetheless, I reinstalled JDeveloper (again - this time correctly!) and I am still having the same symptoms (but no exception). I run jdev.exe from the command prompt, JDeveloper opens, I can create a new application, project, and class/.java file, but I cannot double click on the .java file to view or edit it. JDeveloper freezes and there is no exception in the command window.
    I tried running Process Monitor when I double click on the .java file to see if there are any obvious errors. (See the log below.) However, I'm not sure if these are "normal"/expected errors or not.
    I don't know what else to do at this point. Any other suggestions you can give are welcome.
    Thanks.
    (PS - I tried Puthanampatti's suggestion of modifying the ide.conf and jdev.conf, but received an error, "Unable to create an instance of the Java Virtual Machine. Located at path: C:\Program Files\Java\jdk1.6.0_16\jre\bin\client\jvm.dll", so I just restored the original ide.conf and jdev.confs to get rid of that error.)
    "Time of Day","Process Name","PID","Operation","Path","Result","Detail"
    "7:55:45.6616246 AM","jdeveloper.exe","732","QueryOpen","C:\Program Files\JDeveloper\jdeveloper\system\system11.1.1.0.31.51.88\o.ide.externaltools\tools.xml","NAME NOT FOUND",""
    "7:55:48.2424071 AM","jdeveloper.exe","732","QueryOpen","C:\Program Files\JDeveloper\jdeveloper\system\system11.1.1.0.31.51.88\o.ide\diagnostics\JDEVELOPER-ACTIONS-20091111-075548.txt","NAME NOT FOUND",""
    "7:55:48.2471507 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\project1\.svn","NAME NOT FOUND",""
    "7:55:48.2472873 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\.svn","NAME NOT FOUND",""
    "7:55:48.2474172 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\.svn","NAME NOT FOUND",""
    "7:55:48.2475125 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\.svn","NAME NOT FOUND",""
    "7:55:48.2476021 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\.svn","NAME NOT FOUND",""
    "7:55:48.2476753 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\.svn","NAME NOT FOUND",""
    "7:55:48.2477485 AM","jdeveloper.exe","732","QueryOpen","C:\.svn","NAME NOT FOUND",""
    "7:55:48.2480117 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\CVS\Root","PATH NOT FOUND",""
    "7:55:48.2480885 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\CVS\Root","PATH NOT FOUND",""
    "7:55:48.2481751 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\CVS\Root","PATH NOT FOUND",""
    "7:55:48.2482539 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\CVS\Root","PATH NOT FOUND",""
    "7:55:48.2483548 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\CVS\Root","PATH NOT FOUND",""
    "7:55:48.2484257 AM","jdeveloper.exe","732","QueryOpen","C:\CVS\Root","PATH NOT FOUND",""
    "7:55:48.2488171 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\project1\.svn","NAME NOT FOUND",""
    "7:55:48.2489462 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\.svn","NAME NOT FOUND",""
    "7:55:48.2490610 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\.svn","NAME NOT FOUND",""
    "7:55:48.2491479 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\.svn","NAME NOT FOUND",""
    "7:55:48.2492317 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\.svn","NAME NOT FOUND",""
    "7:55:48.2493046 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\.svn","NAME NOT FOUND",""
    "7:55:48.2493767 AM","jdeveloper.exe","732","QueryOpen","C:\.svn","NAME NOT FOUND",""
    "7:55:48.2499533 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\project1\.svn","NAME NOT FOUND",""
    "7:55:48.2500851 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\.svn","NAME NOT FOUND",""
    "7:55:48.2501927 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\.svn","NAME NOT FOUND",""
    "7:55:48.2502829 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\.svn","NAME NOT FOUND",""
    "7:55:48.2503704 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\.svn","NAME NOT FOUND",""
    "7:55:48.2504436 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\.svn","NAME NOT FOUND",""
    "7:55:48.2505168 AM","jdeveloper.exe","732","QueryOpen","C:\.svn","NAME NOT FOUND",""
    "7:55:48.4373422 AM","jdeveloper.exe","732","ReadFile","C:\Program Files\JDeveloper\jdeveloper\system\system11.1.1.0.31.51.88\o.jdeveloper\ToDoItems.xml","END OF FILE","Offset: 146, Length: 16,284"
    "7:55:48.4594115 AM","jdeveloper.exe","732","QueryDirectory","C:\Program Files\JDeveloper\jdeveloper\system\system11.1.1.0.31.51.88\o.jdeveloper\audit\profiles","NO MORE FILES",""
    "7:55:48.5261286 AM","jdeveloper.exe","732","NotifyChangeDirectory","C:\JDeveloper\mywork\Application1\Project1\src\project1","NOTIFY CLEANUP","Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_LAST_WRITE"
    "7:55:48.5270483 AM","jdeveloper.exe","732","NotifyChangeDirectory","C:\JDeveloper\mywork\Application1\Project1\src\project1","NOTIFY CLEANUP","Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_LAST_WRITE"
    "7:55:48.5763939 AM","jdeveloper.exe","732","NotifyChangeDirectory","C:\JDeveloper\mywork\Application1\Project1\src\project1","","Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_LAST_WRITE"
    "7:55:49.2833148 AM","jdeveloper.exe","732","ReadFile","C:\Program Files\JDeveloper\jdeveloper\system\system11.1.1.0.31.51.88\o.jdeveloper\audit\profiles\code-assist-rules.xml","END OF FILE","Offset: 27,798, Length: 5,016"
    "7:55:49.3666653 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\classes\java.class","NAME NOT FOUND",""
    "7:55:49.3670078 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\java.java","NAME NOT FOUND",""
    "7:55:49.3674403 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\java.sqlj","NAME NOT FOUND",""
    "7:55:49.3677512 AM","jdeveloper.exe","732","QueryOpen","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar\java.class","PATH NOT FOUND",""
    "7:55:49.3707901 AM","jdeveloper.exe","732","QueryOpen","C:\Program Files\Java\jdk1.6.0_16\jre\classes\java.class","PATH NOT FOUND",""
    "7:55:49.3714458 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.3718358 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\classes","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.3888637 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.3892489 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\classes","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4202677 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4205085 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\classes","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4331182 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4333241 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\classes","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4404331 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\classes\oracle.class","NAME NOT FOUND",""
    "7:55:49.4408477 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\oracle.java","NAME NOT FOUND",""
    "7:55:49.4410449 AM","jdeveloper.exe","732","QueryOpen","C:\JDeveloper\mywork\Application1\Project1\src\oracle.sqlj","NAME NOT FOUND",""
    "7:55:49.4413860 AM","jdeveloper.exe","732","QueryOpen","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar\oracle.class","PATH NOT FOUND",""
    "7:55:49.4416464 AM","jdeveloper.exe","732","QueryOpen","C:\Program Files\Java\jdk1.6.0_16\jre\classes\oracle.class","PATH NOT FOUND",""
    "7:55:49.4421182 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4425062 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\classes","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4430267 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4434318 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\classes","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4438176 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"
    "7:55:49.4441746 AM","jdeveloper.exe","732","CreateFile","C:\Program Files\Java\jdk1.6.0_16\jre\classes","NAME NOT FOUND","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a"

  • How to do memory profiling remotely???

    Hi,
    We are using JDeveloper 10g (10.1.2.1.0) and Oracle Application Server 10g (10.1.2.0.2) to deploy our web application, its running on a Solaris OS. We would like to know how to make a remote memory profiling for this configuration. JDeveloper help is very ambiguous, and very short.
    Anybody could help us a little bit with this? How we can configure OC4J JVM to attend remote memory profiling requests? How we can connect and run the JDeveloper memory profiling extension over this OC4J JVM?....
    Thanks in advanced.

    Nice to read it ;-)
    Any other option to profile memory remotely on Solaris and OC4J JVM? Maybe any JDeveloper plugging or any standalone recommendable product? Or I could thinking in cutting my veins already?
    Thanks for your answer.

  • Execute deployment profile in ant

    Hi,
    is it possible to execute a deployment profile create in JDeveloper in ant?
    Thanks,
    Koen
    [edit]
    Started topic before searching the forum.
    Re: How can I integrate JDeveloper Deployment profiles into an Ant build sc
    Does not seems to work.
    [edit]

    Hi Koen,
    Although there is no way to maintain/generate the ant buildfile directly, it is not too hard to write a buildfile that can build the war/ear and then deploy it. On these links you can find some information on how to do that:
    * [Using OC4J Ant tasks for deployment|http://download.oracle.com/docs/cd/E12524_01/web.1013/e12289/anttasks.htm#BEIGEEID]
    * [Deploying your webcenter app with ant tasks|http://download.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_deploy.htm#BGBIIFCC]
    Basically, you can use <oracle:deploy/> and alike tasks to deploy your app, and other ant tasks to create datasources and shared libraries.
    Regards,
    Jeroen van Veldhuizen

  • No such file or directory - Deploying BC4Js

    Hi,
    I've deployed a few BC4J as EJBs to Jserver, but this time I get the following error:
    F:/jdev31/myclasses/jboEJB.jar: No such file or directory
    *** Errors occurred while deploying the EJB to JServer ***
    Has anyone come across this and know why this is happening?
    Mark
    null

    My guess would be to go through all libraries defined in your project and check their class paths.
    Look for the path f:... that causes problem.
    If you can not find it there look in the deployement profile under libraries and archives.
    Once you located where the path is used, use Win Explorer Find File to find location jboEJB.jar and change the JDeveloper path to point there.
    It may help, but then you never know. I've also found that restarting JDeveloper helps for some problems.
    /Michael

  • Problem with Oracle Web Service Proxies reusing classes and exceptions

    We have an application that have many web services and we're having a really hard time working with Oracle Web Service Proxy. We have many web services that share the same classes for parameters and exceptions. When we generate de proxy classes, it generates a lot of _LiteralSerializer classes. Because I'm reusing the same classes and exceptions it generates the same _LiteralSerializer classes for this classes and they get replaced. For Example
    I have classes A and B and Web Services X and Y that use this classes. When I generate the 2 proxies it generates A_LiteralSerializer and B_LiteralSerializer on the 2 proxies and they get replaced and I get "No serlalizers for A class or B class". This problems repeats a lot of times and this problem is a huge risk for our project. We're using JDeveloper 10.1.3.4.
    Is there a way to avoid this with Oracle Web Service Proxies?
    Regards,
    Néstor

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

  • Error launching application after upgrading to 10.1.3 production

    Our web structure looks like this:
    + web
        + bin             project jar files and client jar libraries
        + images
        + WEB-INF
           + conf        application property files
           + lib           project jar files and server jar libraries
           + logs
        + xml
    + META-INFWith previous versions of OC4J this web.xml would suffice:
    <?xml version="1.0"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
             version="2.4">
      <display-name>ch_web</display-name>
      <description>web.xml file for Casthouse</description>
      <servlet>
        <servlet-name>afc.system.server.StartupServlet</servlet-name>
        <servlet-class>afc.system.server.StartupServlet</servlet-class>
        <init-param>
          <param-name>CONFIGURATION_HOME</param-name>
          <param-value>C:\oracle\JDeveloper10g\j2ee\home\applications\ch_web\ch_web\WEB-INF\conf\</param-value>
        </init-param>
        <init-param>
          <param-name>SERVLET_HOME</param-name>
          <param-value>/ch_web/servlet/</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>casthouse.analysis.server.spectro.AnalysisReceiverService</servlet-name>
        <servlet-class>casthouse.analysis.server.spectro.AnalysisReceiverService</servlet-class>
        <load-on-startup>2</load-on-startup>
      </servlet>
      <session-config>
        <session-timeout>30</session-timeout>
      </session-config>
      <mime-mapping>
        <extension>html</extension>
        <mime-type>text/html</mime-type>
      </mime-mapping>
      <mime-mapping>
        <extension>txt</extension>
        <mime-type>text/plain</mime-type>
      </mime-mapping>
      <welcome-file-list>
        <welcome-file>index.html</welcome-file>
      </welcome-file-list>
      <login-config>
        <auth-method>BASIC</auth-method>
      </login-config>
    </web-app> But after upgrading, the server side initializes allright, but the client cannot connect. I get a 404- page cannot be found when trying.
    After adding the following to my web.xml...
       <servlet>
         <servlet-name>LoginServlet</servlet-name>
         <servlet-class>afc.login.server.LoginServlet</servlet-class>
       </servlet>
       <servlet-mapping>
         <servlet-name>LoginServlet</servlet-name>
         <url-pattern>/servlet/*</url-pattern>
       </servlet-mapping>The client did locate some code, but not all. From the java console, I discovered several exceptions due to servlets referred and not found. I tried to map some of the central servlets in our application, but stopped. I thought, this cannot be right. We have very many servlets in our application. It shouldn't be nescessary to map them all in our web.xml... Is it?
    What am I missing?

    Ok.. hmm, life was easier before...
    I tried to add the http.webdir.enable="true" to the only orion-web.xml I could find (under j2ee\home\application-deployments\{web-root}\{context-root}\orion-web.xml
    Don't know if this should be in another location, we do not deploy this. This is generated during deployment from our JDeveloper deployment profile). But after the container was restarted, the file was reverted to the old version without this attribute set. Frustrating...
    45 servlets are now registered in our web.xml. That is 3 servlets which should be accessible to the user from the address bar in the browser, and 42 servlets accessible from either the client or the server programmatically.
    But is it then nescessary to add both <servlet> tag and <servlet-mapping> tag for one servlet, or is the <servlet-mapping> tag only nescessary for those servlets, which should be available to the end user, and not directlly called from the application itself?
    I still get an exception when trying to instanciate the application. Our application uses one or two properties files which it needs to read upon instanciation. They live in {context-root}\WEB-INF\conf\
    OC4J doesn't seem to give access to this folder anymore. What do I have to include in our web.xml in order to give the appropriate read access to this folder? Should only be readable server side from a Servlet. Contents are communicated to the client through this servlet.

  • Problem with a Web Service execution of a Matlab converted program

    Hello,
    I need my Java Web service to call a program developed in Matlab. I've created a C++ shared library from my test.m file using the cpplib wrapper, with the following command: mcc -W cpplib:libtest -T link:lib test.m
    I've then created another file which I called another.cpp to use the shared library. I've done so using the following two commands:
    g++ -c -I/usr/local/matlab/extern/include -I. another.cpp
    g++ -O -o another another.o -L. -ltest
    Until this point, everything is ok and I've obtained my compiled file "another". However, when I try to execute the file, the system requests for some shared libraries, which should be pointed out through the LD_LIBRARY_PATH environment variable. Everything works fine changing the variable in the shell. I can execute "another" without any problem. The problem arises when I try to execute the file through my Web Service. I started by developing a script which would export the LD_LIBRARY_PATH and execute "another". The idea was to have the Web Service call the script, but it didn't work. I've tried to solve the LD_LIBRARY_PATH problem by using the following command:
    g++ -O -L. -o another another.o -Wl,-rpath=/usr/local/matlab/bin/glnx86 -Wl,-rpath=/usr/local/matlab/sys/os/glnx86,-rpath=. -ltest
    This allows me to have an executable "another" with no other shared library needs... However, whenever I compile my "another" with "-Wl...", my Web service just does not execute the file. The problem still remains! Just to be sure, I have executed successfully other c++, using the same compiler, or scripts files from my Web service. But for Matlab programs, I need to use the libraries I referred above in "-Wl".
    I've been with this problem for quite a while now, and I still haven't found a way of solving it. Can anyone help me?
    Thank you,

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

  • How to setup new OC4J instance to host jdev business component (EJB)

    From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
    In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
    Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
    Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
    BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.

    Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
    regards
    Debu

  • Error while using ant of webcenter spaces.

    Hi All.
    I am using jdev 11.1.1.5 . we using webcenter spaces application.While doing clean stage of ant option , i got this error.
    BUILD FAILED
    C:\siemens_repositories\workspace_siemens_occ\dev\OCCDesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\internal-targets.xml:54: Problem: failed to create task or type if
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Total time: 0 seconds
    build.xml is as below
    <?xml version="1.0" encoding="US-ASCII" ?>
    <project name="Portal" default="all" basedir=".">
    <!-- initialize properties for use by the build -->
    <property environment="env"/>
    <property file="build.properties"/>
    <tstamp/>
    <!-- define the ojdeploy ant task -->
    <taskdef name="ojdeploy"
    classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
    uri="oraclelib:OJDeployAntTask"
    classpath="${oracle.jdeveloper.ant.library}"/>
    <target name="all" depends="deploy"/>
    <target name="clean">
    <delete includeemptydirs="true">
    <fileset dir="${oracle.jdeveloper.workspace.dir}" includes="**/deploy/**/*"/>
    <fileset dir="${oracle.jdeveloper.workspace.dir}" includes="**/classes/**/*"/>
    </delete>
    </target>
    <target name="deploy">
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
    executable="${oracle.jdeveloper.ojdeploy.path}"
    ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
    ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace"
    value="${oracle.jdeveloper.workspace.path}"/>
    <ora:parameter name="profile"
    value="${oracle.jdeveloper.deploy.profile.name}"/>
    </ora:deploy>
    </ora:ojdeploy>
    </target>
    </project>

    i got the solution.the jdev version mismatch.and i used forward slash
    this is my config.properties
    #My properties
    #CUSTOMER - all properties need to be provided proper values
    #Fri Jul 30 00:00:00 PDT 2010
    ############ User Inputs Required ###################
    ## Enter the base directory where JDeveloper is installed.
    ## For example:
    ## On Windows, if JDeveloper is installed in the directory
    ## C:\MYJDEV, enter the path as: C:\\MYJDEV
    ## On Linux, if JDeveloper is installed in the directory /scratch/MYJDEV,
    ## enter the path as: /scratch/mywork/MYJDEV
    ## Note that the JDeveloper directory contains other folders such as jdeveloper,
    ## wlserver_10.3, modules, and so on.
    ####jdeveloper.install.home.directory=C:/Oracle/Middleware
    jdeveloper.install.home.directory=C:/Oracle/Middleware
    ## Enter the wlst executable
    ## For example:
    ## On Windows, wlst.cmd
    ## On Linux, wlst.sh
    #wlst.executable=wlst.cmd
    wlst.executable=wlst.cmd
    ## Enter the absolute path of the DesignWebCenterSpaces project.
    ## For example:
    ## On Windows, enter the path as:
    ## extending.spaces.home.dir=C:\\JDeveloper\\mywork\\DesignWebCenterSpaces
    ## On Linux, enter the path as:
    ## extending.spaces.home.dir=/scratch/mywork/DesignWebCenterSpaces
    ####extending.spaces.home.dir=C:/siemens/Tag_2.0.0.19/OCCDesignWebCenterSpaces
    extending.spaces.home.dir=C:/siemens_repositories/workspace_siemens_occ/dev/OCCDesignWebCenterSpaces
    ## Enter the path for ojdeploy executable
    ## For example:
    ## On Windows, enter the path as:
    ## oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}\\jdeveloper\\jdev\\bin\\ojdeploy.exe
    ## On Linux, enter the path as:
    ## oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}/jdeveloper/jdev/bin/ojdeploy
    #oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}\\jdeveloper\\jdev\\bin\\ojdeploy.exe
    oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}/jdeveloper/jdev/bin/ojdeploy.exe
    ## Enter the port number on which the WLS Administration Console is running.
    ## The URL of the Administration Console contains the port number.
    ## For example: http://myhost.com:7001/console
    ####wls.port=7001
    wls.port=7001
    ## Enter the host machine on which the Spaces application is running and where
    ## the custom shared library is to be deployed.
    ####wls.host=delvmpllsocc06.sapient.com
    #wls.host=yorke.med.siemens.de
    wls.host=192.168.0.93
    ## Enter the host and port number on which the Spaces application is running
    ## For example, if the Spaces application is running at: http://myhost.com:8888/webcenter
    ## wc.host=myhost.com, wc.port=8888, and wc.protocol=http
    ####wc.port=8888
    ####wc.host=delvmpllsocc06.sapient.com
    #wc.port=8887
    #wc.host=yorke.med.siemens.de
    ## Specify whether the Spaces URL protocol is http or https.
    wc.protocol=http
    ## For security purposes, administrator user name and password details
    ## are stored in secure files.
    ## Obtain the location of these secure files from your systems administrator
    ## or run WLST commands to generate these files as follows:
    ## 1. Navigate to: WC_ORACLE_HOME/common/bin
    ## 2. Enter the command: wlst.sh
    ## 3. At the WLST command prompt, connect to the Administration Server
    ## for Oracle WebCenter:
    ## connect('<admin_user>','<admin_pwd>', '<host>:<port>')
    ## Where admin_user is the user name of the administrator, admin_pwd is
    ## the administrator's password, host is the WebCenter instance, and port is
    ## the Administration Server port.
    ## 4. Run the following command to create a user configuration file and key file
    ## in a specified location:
    ## storeUserConfig('<userConfigFile>', <userKeyFile>')
    ## Where userConfigFile is the name and location of the file storing user details
    ## and userKeyFile is the name and location of the file storing passwords.
    ## For example:
    ## storeUserConfig('C:/myFiles/myuserconfigfile.secure', 'C:/myFiles/myuserkeyfile.secure')
    ## For example:
    ## On Windows, enter the path as:
    ## wls.userkey=C:\\JDeveloper\\mywork\\ps1userkeyfile.secure
    ## wls.userconfig=C:\\JDeveloper\\mywork\\ps1userconfigfile.secure
    ## On Linux, enter the path as:
    ## wls.userkey=/scratch/myfiles/ps1userkeyfile.secure
    ## wls.userconfig=/scratch/myfiles/ps1userconfigfile.secure
    ## Use the wls.userconfig property to set the userConfigFile path and
    ## the wls.userkey property to set the userKeyFile path.
    ####wls.userkey=C:/siemens/Tag_2.0.0.19/OCCDesignWebCenterSpaces/myuserkeyfile.secure
    ####wls.userconfig=C:/siemens/Tag_2.0.0.19/OCCDesignWebCenterSpaces/myuserconfigfile.secure
    wls.userkey=C:/siemens_repositories/workspace_siemens_occ/dev/OCCDesignWebCenterSpaces/keyfile.secure
    wls.userconfig=C:/siemens_repositories/workspace_siemens_occ/dev/OCCDesignWebCenterSpaces/config.secure
    ## Enter the targets on which the shared library is to be deployed.
    wls.target=WC_Spaces,AdminServer
    ## Enter the targets on which the webcenter.ear file is to be deployed.
    wls.webcenter.app.target=WC_Spaces
    ## Enter the name of the Spaces application (webcenter).
    ## Obtain this information from your systems administrator or from the
    ## WLS Administration Console as follows:
    ## 1. Login to WLS Administration Console.
    ## 2. Navigate to Deployments> webcenter>Overview
    ## The application's name displays here.
    webcenter.app.name=webcenter
    ## Use the restart.implementation.version.suffix property to override the next default
    ## implementation version number for your shared library.
    ## You can obtain the current implementation version from your
    ## systems administrator or from the WLS Administration Console as follows:
    ## 1. Login to WLS Administration Console.
    ## 2. Navigate to Deployments> [your-shared-library-name] >Overview
    ## The version number displays here. For example: 11.1.1.2.5
    ## The current implementation version is the last number, that is, 5 in this example.
    ## By default, the implementation version increments by 1 each time that you rebuild
    ## your shared library (using Run Ant Target>clean-stage).
    ## You can restart at a higher value if necessary. For example, if the current value is
    ## 11.1.1.2.20 and you want the next new version to be 11.1.1.2.41 rather than
    ## 11.1.1.2.21, do so by resetting the restart.implementation.version.suffix property to 40.
    ## Note:
    ## The first time you run Run Ant Target>clean-stage, the manifestImpl.properties file
    ## is created and the manifest.implementation.version property is set to
    ## 11.1.1.2.1. This initial version number is derived from the default.implementation.version
    ## set in build.properties (11.1.1.2) and appended with the restart.implementation.version.suffix property below.
    ## For example, if the restart.implementation.version.suffix is set to 1, the initial
    ## manifest.implementation.version will be 11.1.1.2.1.
    ## During subsequent builds, the restart.implementation.version.suffix and the lastNumber property
    ## in manifestImpl.properties are compared, and the higher of the two numbers is incremented by 1.
    ## If, for any reason, the manifestImpl.properties file is deleted, the file is recreated the next time
    ## that you run Run Ant Target>clean-stage, and the implementation version resets using the
    ## restart.implementation.version.suffix only (as if for the first time). For example, 11.1.1.2.1,
    ## if the restart.implementation.version.suffix=1
    ####restart.implementation.version.suffix=2
    ####restart.implementation.version.suffix.ear=2
    ###This change is probably not really necessary.
    restart.implementation.version.suffix=11.1.1.5
    restart.implementation.version.suffix.ear=11.1.1.5

  • Can't view the applet in the browser

    I have created an applet form using JDeveloper 3.1 to connect to the Oracle8i Rel2. However the following error appear during the connection:
    cannot instantiate class:oracle.jbo.common.jboInitialContextFactory
    Please assist.

    Applet Deployment for JDev 3.1
    Deployment issues for client and server:
    1. Make sure you have the JDK 1.2 plugin installed on the client.
    2. If your webserver and database are not on the same machine, you will have to configure your applet differently, or install the Net8 Connection Manager. See the Oracle JDBC Developer's Guide for more information (exact location of applet info depends on which version of the DB).
    Creating your Applet within JDeveloper:
    1. Create a new workspace.
    2. Create a new Business Components project. You will define your data model and business logic in this project. This is effectively your middle tier, but can be deployed to any tier you choose. In this project you will use the Business Components wizard to create:
    a. entity objects for each of the tables/views you want to develop against
    b. view objects (and optionally view links, associations) for each of the entity objects or combination of entity objects
    c. application module(s) to represent your data model(s)
    3. Save and build your business components project.
    4. Create a new empty project to contain your applet code.
    5. Launch the Infobus DataForm wizard to create your DAC applet. Choose the app module you created in step 2 as a data source. (Alternately, you can create the applet from scratch using the controls and binding your sessioninfo object to your app module).
    Deployment Steps within JDeveloper:
    1. Deploy your business components project.
    a. decide how you will deploy your app module (local, visibroker, etc.)
    b. if you decide to deploy in local mode, use the Deployment Profile Wizard and choose 'Simple Archive', including all of the business components project's XML and .JAVA files in the archive.
    c. if you will deploy to visibroker, see the online help for deploying your business components, and see the Release Notes for additional changes you need to make to your applet project.
    2. (if deploying BC4J project in local mode) Create a library using the archive you generated in Step 1. Add this library to your applet project from the Project Properties Libraries tab.
    3. Clear out a directory on your local machine where the deployment wizard can copy everything you need to deploy.
    4. Deploy your applet project.
    a. Run the JDeveloper Deployment Profile Wizard and choose the Web Application to Web Server option on Page 1.
    b. On page 2, select all of the .class files in your project that make up the applet.
    c. Select all the libraries listed and shuttle them to the selected list. The contents of these libraries will automatically be added to your applet's HTML file during deployment
    d. Give the .jar file a name, and run the deployment to generate that jar file.
    e. select the location of the 'clean' directory you created in step 3.
    Deploying to your WebServer:
    1. Copy everything that the deployment process placed in your 'clean' directory to your WebServer.
    If you deployed your BC4J project locally, you will need to deploy the archive file containing your business components to the webserver along with all of the other archives.
    2. If you want to put the dependency archives in a different location from the applet's HTML file under the webserver root, then you need to set the CODEBASE tag in the HTML file to the (relative) location of the archives.
    Troubleshooting:
    1. Try both Netscape and IE. Different Browsers sometimes give different errors and one might be more helpful/indicative of the problem's source.
    2. Use the Java Console to get a more detailed stack trace. For Netscape, choose Communicator->Tools->Java Console.
    References w/in Oracle -
    JDBC Developer's Guide
    Net8 Admin Guide
    References outside Oracle -
    Borland JBuilder doc: http://www.borland.com/techpubs/jbuilder/jbuilder3-s/pg/applets.html
    JavaSoft Plugin Download: http://java.sun.com/products/plugin/
    null

  • Error running applet, java.lang.UnsatisfiedLinkError: enableModeless

    hi guys
    I write an applet with JDevloper 3.1 using Oracle's B4J to connect to oracle 8.1.5. In Jdev all works fine. After deploying with the wizard to a webserver und running the applet using JRE 1.2.2 i got the following exception:
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de_DE.class no proxy
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de_DE.properties no proxy
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de.class no proxy
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de.properties.class no proxy
    Opening http://test.woow.at/awork/borland/jbuilder/addin/VersionedAddin.class no proxy
    java.lang.UnsatisfiedLinkError: enableModeless
    at sun.beans.ole.OleEmbeddedFrame.modalityPushed(Unknown Source)
    at sun.beans.ole.ModalityListenerImpl.modalityPushed(Unknown Source)
    at sun.awt.windows.WToolkit$ModalityListenerList.modalityPushed(Unkown Source)
    at sun.awt.windows.ModalityEvent.dispatch(Unkown Source)
    at sun.awt.windows.WToolkit.notifyModalityChange(Unkown Source)
    at sun.awt.windows.WDialogPeer.show(Unkown Source)
    at sun.awt.Dialog.conditionalShow(Unkown Source)
    at sun.awt.Dialog.show(Unkown Source)
    at oracle.dacf.control.swing.LoginDlg.show(LoginDlg.java:503)
    at oracle.dacf.control.swing.LoginDlg.showDialog(LoginDlg.java:488)
    at package6.Applet1.init(Applet.java:290)
    at sun.applet.AppletPanel.run(Unkown Source)
    at java,lang.Thread.run(Unkown Source)
    any idea, thanx a lot
    Armin

    Armin,
    I haven't seen this one before.
    Is your browser set to run with German locale?
    Here is my standard reply for problems with applet deployment in 3.1. It is probably the case that some classes available in the JDeveloper environment were not deployed to your web server environment.
    Applet Deployment for JDev 3.1
    Deployment issues for client and server:
    1. Make sure you have the JDK 1.2 plugin installed on the client.
    2. If your webserver and database are not on the same machine, you will have to configure your applet
    differently, or install the Net8 Connection Manager. See the Oracle JDBC Developer's Guide for more
    information (exact location of applet info depends on which version of the DB).
    Creating your Applet within JDeveloper:
    1. Create a new workspace.
    2. Create a new Business Components project. You will define your data model and business logic in this
    project. This is effectively your middle tier, but can be deployed to any tier you choose. In this
    project you will use the Business Components wizard to create:
    a. entity objects for each of the tables/views you want to develop against
    b. view objects (and optionally view links, associations) for each of the entity objects or
    combination of entity objects
    c. application module(s) to represent your data model(s)
    3. Save and build your business components project.
    4. Create a new empty project to contain your applet code.
    5. Launch the Infobus DataForm wizard to create your DAC applet. Choose the app module you created in
    step 2 as a data source. (Alternately, you can create the applet from scratch using the controls and
    binding your sessioninfo object to your app module).
    Deployment Steps within JDeveloper:
    1. Deploy your business components project.
    a. decide how you will deploy your app module (local, visibroker, etc.)
    b. if you decide to deploy in local mode, use the Deployment Profile Wizard and choose 'Simple
    Archive', including all of the business components project's XML and .JAVA files in the archive.
    c. if you will deploy to visibroker, see the online help for deploying your business components,
    and see the Release Notes for additional changes you need to make to your applet project.
    2. (if deploying BC4J project in local mode) Create a library using the archive you generated in Step
    1. Add this library to your applet project from the Project Properties Libraries tab.
    3. Clear out a directory on your local machine where the deployment wizard can copy everything you
    need to deploy.
    4. Deploy your applet project.
    a. Run the JDeveloper Deployment Profile Wizard and choose the Web Application to Web Server option
    on Page 1.
    b. On page 2, select all of the .class files in your project that make up the applet.
    c. Select all the libraries listed and shuttle them to the selected list. The contents of these
    libraries will automatically be added to your applet's HTML file during deployment
    d. Give the .jar file a name, and run the deployment to generate that jar file.
    e. select the location of the 'clean' directory you created in step 3.
    Deploying to your WebServer:
    1. Copy everything that the deployment process placed in your 'clean' directory to your WebServer.
    If you deployed your BC4J project locally, you will need to deploy the archive file containing your
    business components to the webserver along with all of the other archives.
    2. If you want to put the dependency archives in a different location from the applet's HTML file
    under the webserver root, then you need to set the CODEBASE tag in the HTML file to the (relative)
    location of the archives.
    Troubleshooting:
    1. Try both Netscape and IE. Different Browsers sometimes give different errors and one might be more
    helpful/indicative of the problem's source.
    2. Use the Java Console to get a more detailed stack trace. For Netscape, choose
    Communicator->Tools->Java Console.
    References w/in Oracle -
    JDBC Developer's Guide
    Net8 Admin Guide
    Referenc es outside Oracle -
    Borland JBuilder doc: http://www.borland.com/techpubs/jbuilder/jbuilder3-s/pg/applets.html
    JavaSoft Plugin Download: http://java.sun.com/products/plugin/
    JavaSoft Applets Resources Page: http://www.javasoft.com/applets/index.html
    null

  • BundleID with wildcard

    Is it possible somehow to use a provisioning profile with a wildcard as app id? I made a provisioning profile with a wildcard appID so everyone here working on the Beta could use it for their apps. But when the wildcard is used JDev complains about the application Bundle Id not being the same as in the profile, when I change it to the wildcard (*) in JDev it complains that it does not allow a * in there.
    Will this be changed so we can use bundleIds with a wildcard? This can actually be very useful when building multiple applications.

    Hi, Rutger, also adding to what Denis stated, while you would set up your provisioning profile to use a wild card app bundle, you would still need to specify a specific App ID in JDeveloper/Deployment profile. Each app still needs its own unique App ID.
    For example, in the Apple Developer Portal, you can create an app ID like: (com.acme.*), and then create a provisioning profile against that App ID.
    In JDeveloper, you would still need to specify a specific App ID for your app - for example com.acme.myADFMobileApp1. You can then use the Provisioning Profile associated with (com.acme.*) with this app. This is the same with Xcode and iOS app in general - each app needs a unique ID.
    By the way, just a side note, if the app needs to receive push notification (something we don't directly support yet), then you must use a specific App ID without the wild card.
    Thanks,
    Joe Huang

Maybe you are looking for

  • Not able to generate Jasper Report

    Hi All, Iam using Jasper report3.0 for generating reports. I have compiled jrxml file to jasper . But when i am running the application , iam getting the following error:- java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport;

  • Export data on pdf-form to Excel

    I would need help for exporting data from pdf-form to Execl spreadsheet the basic idea is that a pdf-form would be the user interface to collect the data with text boxes / drop-downs (such as "Vendor", "Purchase order number", "Date", "Text" etc.) an

  • Missing .xml files

    As part of something identified by the FBI as a scam (called "Reveton"), I had my Safari page temporarily frozen (apparenly simply by substituting their selected page as my home page), and with a good deal of "hoop-jumping" to "unfreeze" my computer

  • Firefox fails to work

    Hi - for some reason, my Firefox has failed to work as of yesterday. When I open it, it just comes up with a black screen where the content should be. I have tried to uninstall and reinstall but it still doesn't open up. I have a screenshot of how it

  • Planning 11.1.1.1 - Large forms not rendering

    Hi, At a client where large forms are not rendering and it's crashing Planning. I vaguely remember there are a few settings that need tweaked between WebSphere and Planning. I think they are XMS and XMX settings or something like that? I remember the