Deploy JavaFX application to JSP

A lot people saying it's possible just by using the snippet below,
<script src="http://dl.javafx.com/dtfx.js"></script>
<script>
    javafx(
              archive: "Foo.jar",
              draggable: true,
              width: 200,
              height: 200,
              code: "foo.Main",
              name: "Foo"
</script> Could ANYONE tell me what's the function of code in the Java script? I think it has been included into the archive already.
One another question is, what are the functions of the JNLP file and how should I modify them to facilitate the deployment?

Hi Isaac,
Now those are questions I've been asking for the past few months! And by coincidence I think I've just gotten my answers today, mostly by trial and error. Bear in mind that I'm not a deployment engineer, so I stand to be corrected, but I've tested everything I'm going to say and can verify it works, at least on Windows and Mac.
I'm drawing some of my information from the following Java article but will be speaking specifically about JavaFX.
http://java.sun.com/developer/technicalArticles/javase/newapplets/
That article includes a discussion about making your applet compatible with pre-6u10 and 6u10+ runtimes. On Windows, JavaFX runtimes rely on 6u10+ Java runtimes, which use the xxx_browser.jnlp file for applet startup. However, Apple Java ignores the JNLP file for applets, which means that all of its applet startup information comes from the applet script in the HTML/JSP file, so in this regard it is behaving like a pre-6u10 Java runtime. I believe that Solaris and Linux follow the Windows model, but I haven't extended my testing that far.
So here are some general statements that I know work for Windows and Mac.
1. You can strip all the attributes out of the <jnlp> tag in your xxx_browser.jnlp file. This saves a lot of grief in changing the codebase attribute every time you move your applet. The catch is that if you remove one attribute from the <jnlp> tag, you have to remove 'em all (href and spec) to get the applet to work. And that rule is for Windows, since Mac ignores the applet JNLP.
2. Your JNLP file is found as long as it's in the same directory as your JAR file. You specify the location of your JAR file in the archive parameter of the applet script in your HTML/JSP page. That's why you don't need to call the JNLP from your applet script.
3. You can optionally specify the location of the JNLP file in your applet script by using a jnlp_href parameter, something like this:
jnlp_href: "dist/TestApp_browser.jnlp",
That specifically tells the runtime where to look for the JNLP file--in this case, in the dist/ child of the directory containing the HTML/JSP page. But note that other things happen when you use the jnlp_href attribute:
- If you do have a codebase attribute specified in your JNLP file, the jnlp_href parameter overrides it.
- When the jnlp_href parameter is specified, the applet's main class name is taken from the <param> tag nested under the <applet-desc> tag in the JNLP file, and the code parameter in the applet script is ignored. I tried deleting the code parameter in the script entirely, and the applet worked fine on Windows. However, remember that Mac doesn't use the JNLP file, so it's lost wtihout the code parameter. If you include both the jnlp_href and code parameters, both Windows and Mac are happy.
- When the jnlp_href parameter is specified, you can also delete the archive parameter in the script, and it runs on Windows. The location of the JAR file is taken from the <jar> tag, nested under the <resources> tag in the JNLP. However, the applet chokes on Mac without the archive parameter in the applet script. Again, include both the jnlp_href and archive tag to make sure your applet runs in both environments.
So why would you want to bother with the jnlp_href parameter? It's optional when the JNLP and JAR files are located in the same directory, but it's necessary if your JNLP file is in a different directory from your JAR file.
Here's an example. Suppose the xxx_browser.jnlp is in the same directory as your HTML/JSP page, and the JAR file is in a child directory called dist. Then your applet script will look like this:
<script>
javafx(
archive: "dist/TestApp.jar",
     jnlp_href: "TestApp_browser.jnlp",
width: 200,
height: 200,
code: "testapp.Main",
name: "TestApp"
</script>
and the <jar> tag in the JNLP will look like this:
<jar href="dist/TestApp.jar" main="true"/>
The <jnlp> tag in the JNLP file can either contain all the attributes that it was generated with or it can contain just the tag with no attributes:
<jnlp>
How does this work? On Windows, the runtime finds the JNLP file from the jnlp_href parameter and ignores the archive and code parameters. The location of the JAR file is determined from the <jar> tag in the JNLP. On Mac, all that is required is the location of the JAR file and the main class, which are specified in the archive and code parameters.
Unless you have a strong reason for separating the JNLP and JAR files, keep them together. Then you only need to specify the location of the JAR file in the archive tag, relative to the directory containing the HTML/JSP page. You don't have to worry about the codebase attribute and <jar> tag in the JNLP file, and you don't have to specify the jnlp_href parameter in the applet script.
Nancy

Similar Messages

  • How to deploy javaFX application in weblogic ?

    Hi
    Please tell me the steps to deploy the javaFx application as web application.

    Here is a link to a great example! This was an example used in the Java One conference.
    In this example they use http requests to send data to and from the web application to a javafx application.
    They do use JSON to parse the requests, but this can still give you an idea of the layout.
    Javafx has a built in parser, so I would suggest using XML instead(personal preference)
    Web Service: REST
    Server: Glassfishv3
    IDE: Netbeans
    Here is a link to the entire tutorial: [Lab5557|http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-5557&yr=2009&track=1]

  • Deploy javafx applications on window. + uninstall old version

    I have a problem on windows xp when I deploy a new version of my javafx 2.2 application.
    The new version is replacing the previous version of my software, but when I look in my 'installed software'. My old version still appears.
    (I think this is something to do with registry..)
    I'm using wix to have a .msi file for the installer.
    Wix is using the build.xml file used by Netbeans.
    In my build.xml I specify next values for versioning:
         <target name="-post-jfx-deploy">
              <fx:deploy width="${javafx.run.width}" height="${javafx.run.height}"
                      nativeBundles="all"
                      outdir="${basedir}/${dist.dir}" outfile="${application.title}">
                   <fx:application name="${application.title}"
                              mainClass="${javafx.main.class}" id="A9B62443-2008-4D38-8153-C72A21B1E497" version="1.0.4"/>
                   <fx:resources>
                   </fx:resources>
              </fx:deploy>         
         </target>I based my files with this information:
    http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm#BCGIBBCI
    http://blueskyworkshop.com/topics/Java-Pages/javafx-win-installer/
    Do someone has experience with this kind of stuff?
    Or do someone know what could cause this issue?
    Any help would be appreciated!

    Chris,
    Thanks for the info/suggestions. I had already done the "clean install" without knowing it. I also had uninstalled Firefox and Chrome and was looking at dumping Safari, but I found the culprit file "_Flash Player.plugin" (version10.2.151.49) on a search for "Flash Player" under Spotlight.
    Strange thing was the file did not appear when just browsing through the various directories or searching with finder. Removed it and all is good.
    Mike

  • How to install/deploy JavaFx Mobile application on real mobile devices.

    Hi,
    I had gone through the internet and various links but i'm unable to find the solution regarding how to deploy the application made with JavaFx mobile on real mobile devices. There was some link in which it was written you can install the application in Nokia 40 5edition phone, i tried to install in Nokia 6600 Slider through bluetooth; so while installing the application it shows an error as "Invalid Application".
    I'm also facing same problem which others are also facing as Application is not compatible when i tried to install in Nokia N95.
    So, if anybody knows the method/technique to deploy the application in real mobile devices i'll be grateful to him.
    Thanks
    Gaurav

    Thanks Michael for the reply. I also tried to install one simple application made with JavaFx Mobile in Sony-Ericsson JP-8 platform(K850i, W910i). While installing the application it pop-up the error "Operation Failed".
    So, is there any way to install the application in current available mobile devices in the market or not??
    @ Sun People please help me in this.
    Thanks
    Gaurav

  • JavaFX application deployment problem - Error: Unable to load resource

    I am developing my first JavaFX application. When I install the jnlp and jar files on my web server I have no problems using the application from either my development machine (Windows XP) or my test machines (Windows XP & Mac OS X). However, one person evaluating the application reports getting the following error:
    Error: Unable to load resource: http://dl.javafx.com/1.3/javafx-rt-windows-i586__V1.3.0_b412.jar
    What are the possible causes of this problem and how can they be resolved?

    If being able to redistribute the JavaFX runtime is important to you, make sure you let Oracle know. Personally I'd prefer to host it myself or bundle it with an application installer. Being forced to rely on dl.javafx.com isn't acceptable for me.
    [http://javafx.uservoice.com/forums/33584-official-javafx-feedback-forum/suggestions/403105-allow-us-to-distribute-the-javafx-runtime-binary?ref=title]
    Edited by: jptech on Jun 18, 2010 8:36 PM

  • Unable to deploy ADF application to weblogic server

    Hi,
    We are developing ADF application using jDeveloper 11.1.1.1 and deploying to Weblogic Server 10.3.1. The application is working without any problems on 10.3.1 wblogic platform.
    We procured new 64 bit hardware and installed weblogic 10.3.2 and jdeveloper 11.1.1.2 on windows platform. When we are deploying the application developed using jdeveloper 11.1.1.1 on the new platform we are getting the following exception.
    An error occurred during activation of changes, please see the log for details.
    [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].
    Can you please provide some suggestions to debug the problem.
    Thanks and Regards,
    S R Prasad

    Hi,
    I have tried deploying the application using jdeveloper 11.1.1.2.0, But this time I am getting the following error after commenting the following lines in weblogic-application.xml. I have removed the following lines as I am getting classnot found exception for oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener and oracle.mds.lcm.weblogic.WLLifecycleListener.
    If I deployed the application on the admin server, The application is working with out any problems. I am having problems only on Managed Server at the time of deployment.
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
    </listener>
    java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    at java.lang.Class.getDeclaredFields(Class.java:1743)
    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    at java.lang.Class.getDeclaredFields(Class.java:1743)
    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
    Truncated. see log file for complete stacktrace
    I installed weblogic with the following steps.
    1. Install weblogic 10.3.2 (64 bit)
    2. Install jdeveloper (ADF runtime only)
    3. Launch configuration wizard.
    4. create domain.
    5. extend domain with jrf libraries.
    5. create managed server
    Thanks and Regards,
    S R Prasad

  • How to display the javafx application to a web application

    I've got a javaFX application .(My IDE is NetBeans 6.8)I choose the main.fx in the opened project,then run>>project configure >> web browser and Shift+F6.It runs as expected.
    and the path is "+http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/E%3A/Source+Codes/NTBS/MyProject/dist//MyPage.html+"
    However,I tried to access that page again when I closed the NetBeans.It failed.
    so I attempt to change the default html code.
    default code
    <script src="http://dl.javafx.com/1.2/dtfx.js"></script>
    <script>
        javafx(
                  archive: "MyJar.jar",
              draggable: true,
                  width: 300,
                  height: 300,
                  code: "MyPackage.Main",
                  name:
    "MyProject"
    </script>the changed code
    <script src="http://dl.javafx.com/1.2/dtfx.js"></script>
    <script>
        javafx(
            archive: "MyJar.jnlp",//or the like this   archive: "MyJar_browser.jnlp",
              draggable: true,
                  width: 300,
                  height: 300,
                  code: "MyPackage.Main",
                  name:
    "MyProject"
    </script>but it is futile.
    Considering maybe it needs server, I put the jar file and html file into tomcat ,it is nouse either.

    Thank you!
    yes I do.but I tried many many times.Finally,I got a phenomenon .Under Apache Tomcat container ,we can not access them by jnlp files,while the javafx's jar files set into the WEB-INF folder.
    Surely.we must put new another foler on the root to place javafx.
    Actually,we habitually put jar files into the lib folder which just under WEB-INF foler,and the JSP&servlet's specification.
    Is there a new way?

  • JavaFX application is cached on client machine

    Hi,
    I have a developed a browser embedded JavaFx application and deployed on a production machine. When I deploy a newer version of .jar file on production machine it is not updated on all client machines because the .jar file is cached. The only way the end user can get latest version of my javafx application is by clearing cache files from java control panel.
    Is there a way I can force my application to always download the latest version of jar file from server?
    Thanks,
    Sridhar

    I have updated the java version on some of the boxes I've tested. I am now noticing that on some PC browsers with IE, the tabbing will only tab them through the browser and not the javafx application.
    I am going to have to deploy as a webstart application for now.
    I will have to work out the kinks later.

  • Error while deploying adf application on oracle cloud service

    hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
    Warnings in   whitelist log:
    2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
    2013-04-14 06:57:11 CDT: API Whitelist started
    2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:4.
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
    2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-04-14 06:57:12 CDT: Whitelist validation passed.
    2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
    and Error in deploy log:
    2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
    2013-04-14 06:57:12 CDT: Deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: WL action state: failed
    2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
    2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
    2013-04-14 06:57:16 CDT: Application deployment failed.
    2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
    I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
    So,
    I m not getting what is the problem and what will be solution for this?
    What should i do?
    What changes should required?
    pls, help me to get out from this problem !!!!!

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • Deploying ADF application to a managed weblogic server - ADF security error

    Hi,
    Our group has written an ADF web application, which we are attempting to deploy to a managed weblogic server. Thus far, we have been unsuccessful. The application does successfully deploy to the AdminServer. Our setup:
    Weblogic version is 10.3.0. Domain name is adf_domain. We have installed the ADF (ADF version is 11.1.1.0.0), JSTL(1.2.0.1), and JSF(1.2.7.1) runtime libraries, and they are targeted to both the admin server AND the managed server, which is called CollabServer. This server communicates with the node manager and can be started and stopped via the admin console successfully. The AdminServer is on port 7101, and the CollabServer is on port 7104. We are not using SSL.
    application.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
    version="5" xmlns="http://java.sun.com/xml/ns/javaee">
    <display-name>OracleRetailCollaboration</display-name>
    <module>
    <web>
    <web-uri>orc.war</web-uri>
    <context-root>orc</context-root>
    </web>
    </module>
    </application>
    weblogic-application.xml (as taken from the ear file):
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmln
    s="http://www.bea.com/ns/weblogic/weblogic-application">
    <listener>
    <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    weblogic.xml (as taken from the war file):
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ww
    w.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    <security-role-assignment>
    <role-name>valid-users</role-name>
    <principal-name>users</principal-name>
    </security-role-assignment>
    <library-ref>
    <library-name>jstl</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    </weblogic-web-app>
    As I said, there are no deployment errors when we deploy to the admin server. However, we always see the following errors when deploying to the managed server:
    java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
    etc.
    This error occurs when deploying via the <wldeploy> ant task included with weblogic, and when deploying the application manually via the admin console.
    So I removed this from weblogic-application.xml:
    <listener>
    <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
    </listener>
    Which resolved the initial error (I assume there is some sort of bug that causes this workaround to be necessary). The next error is this:
    java.lang.ClassNotFoundException: oracle.adf.share.security.authentication.AuthenticationServlet
    Again, we don't get this error when deploying to the AdminServer - ONLY the managed server CollabServer.
    web.xml:
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    I then added some adf jar files to the ear file, finally get this error message:
    java.lang.ClassNotFoundException: oracle.adf.share.jsp.ADFLibUtils
    Any ideas on how to resolve this? Thanks.
    Edited by: user10451099 on Apr 15, 2009 12:10 PM

    Dan,
    thanks fro reminding me :-)
    Here are the steps we had to take to get a managed WLS to run an adf application without copying any jar in the domain/lib directory:
    1. you still have to install the adf runtime to any server you want the adf application to deploy to
    2. open the admin console, select the managed server, and select the 'server start' tab in configutation settings.
    3. add /u01/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
    /u01/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/jrockit_160_05/lib/tools.jar:/u01/bea/wlserver_103/server/lib/weblogic_sp.jar:
    /u01/bea/wlserver_103/server/lib/weblogic.jar:/u01/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/u01/bea/wlserver_103/server/lib/webservices.jar:
    /u01/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/u01/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u01/bea/jdeveloper/modules/features/adf.share_11.1.1.jar:
    /u01/bea/wlserver_103/common/eval/pointbase/lib/pbclient57.jar:/u01/bea/wlserver_103/server/lib/xqrl.jar:
    /u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath/weblogic_ext_patch.jar to the classpath edit box you have to change '/u01/bea/' with your bea home. The classpath should be on one line without the CR/LF i put in to make it readable.
    4. add -Xms256m -Xmx512m -da -Dplatform.home=/u01/bea/wlserver_103 -Dwls.home=/u01/bea/wlserver_103/server -Dweblogic.home=/u01/bea/wlserver_103/server
    -Ddomain.home=/u01/bea/user_projects/domains/naa_qs -Doracle.home=/u01/bea/jdeveloper -Doracle.security.jps.config=/u01/bea/user_projects/domains/naa_qs/config/oracle/jps-config.xml
    -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=false -Dweblogic.management.server=http://localhost:7001
    -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/u01/bea/patch_jdev1111/profiles/default/sysext_manifest_classpath:/u01/bea/patch_cie660/profiles/default/sysext_manifest_classpath
    -Dweblogic.management.username=weblogic -Dweblogic.management.password=******** -Dweblogic.Name=GESTIS_QS
    -Djava.security.policy=/u01/bea/wlserver_103/server/lib/weblogic.policy to the 'Arguments' edit box. As with the calsspath change '/u01/bea' to your bea home and change the domain name (in our case 'naa_qs') to your domain name. change the managementuser and passwort to your needs. As whith the classpath I put some CR/LF into the code section to make it readable.
    5. save the changes and restart the server
    Essentially all we copied the arguments from the admin server start script in addition to adding the class path.
    Timo

  • JDeveloper 11.1.1.1.0 no longer able to deploy any application.

    JDeveloper 11.1.1.1.0 no longer able to deploy any application.
    None of may applications can depoly today. Something must have happened to Jdeveloper or my environment. (The joy of automatic updates). Not much in the way of diagnostics here.
    Anyone have ANY IDEA where I should look to get things working again?
    Thanks.
    <Aug 14, 2009 2:07:00 PM MDT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <Aug 14, 2009 2:07:00 PM MDT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <Aug 14, 2009 2:07:01 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 14, 2009 2:07:01 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    Aug 14, 2009 2:07:03 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : wsm-pm
    Aug 14, 2009 2:07:03 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    <Aug 14, 2009 2:07:05 PM MDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\Leslie Bischoff\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 14, 2009 2:07:05 PM MDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\Leslie Bischoff\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00040. Log messages will continue to be logged in C:\Documents and Settings\Leslie Bischoff\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Aug 14, 2009 2:07:05 PM MDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    Aug 14, 2009 2:07:05 PM oracle.wsm.audit.Auditor <init>
    INFO: Created J2EE application auditor for componentType=oracle.security.jps.internal.audit.AuditServiceImpl$Auditor@220a0c
    Aug 14, 2009 2:07:05 PM oracle.adf.share.config.ADFConfigFactory getInstance
    INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
    Aug 14, 2009 2:07:08 PM oracle.adf.share.config.ADFMDSConfig parseADFConfiguration
    INFO: Configuration file:/META-INF/adf-config.xmlcannot not be read by MDS. Reading directly from the classpath
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 14, 2009 2:07:08 PM MDT> <Warning> <Server> <BEA-002611> <Hostname "pds-b09fd1a25c4", maps to multiple IP addresses: 10.10.10.10, 192.168.0.68, 192.168.40.19>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.10.10.10:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.0.68:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 192.168.40.19:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 14, 2009 2:07:08 PM MDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    Failed to start DefaultServer.

    Before I go ahead and reinstall Jdeveloper, I looked in the install directory at recently changed files and found.../jdeveloper/jdev/bin/hs_err_pid1024.log which was written this morning when the problem occurred.
    # An unexpected error has been detected by Java Runtime Environment:
    # Internal Error (nmethod.cpp:1720), pid=1024, tid=3892
    # Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled code")
    # Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode windows-x86)
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x33b46400): JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=3892, stack(0x34040000,0x34140000)]
    Stack: [0x34040000,0x34140000]
    [error occurred during error reporting (printing stack bounds), id 0xe0000000]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x3750f400 JavaThread "CacheCleaner" daemon [_thread_blocked, id=3724, stack(0x3ad10000,0x3ae10000)]
    0x37dd8400 JavaThread "Worker-2" daemon [_thread_blocked, id=2288, stack(0x3ac10000,0x3ad10000)]
    0x374cf400 JavaThread "Worker-1" daemon [_thread_blocked, id=3260, stack(0x3a910000,0x3aa10000)]
    0x35d00800 JavaThread "Worker-0" daemon [_thread_blocked, id=2456, stack(0x3a590000,0x3a690000)]
    0x3742cc00 JavaThread "Log Poller" [_thread_blocked, id=872, stack(0x3aa10000,0x3ab10000)]
    0x37534400 JavaThread "index-query-thread-1" [_thread_blocked, id=2908, stack(0x3a790000,0x3a890000)]
    0x374d5400 JavaThread "index-update-thread-1" [_thread_blocked, id=3524, stack(0x3a690000,0x3a790000)]
    0x3570d800 JavaThread "file-table-thread-1" [_thread_blocked, id=2248, stack(0x3a390000,0x3a490000)]
    0x37379800 JavaThread "pool-2-thread-2" [_thread_blocked, id=3884, stack(0x3a270000,0x3a370000)]
    0x37338800 JavaThread "pool-2-thread-1" [_thread_blocked, id=2564, stack(0x3a170000,0x3a270000)]
    0x3727dc00 JavaThread "pool-3-thread-1" [_thread_blocked, id=708, stack(0x3a070000,0x3a170000)]
    0x3717a000 JavaThread "pool-1-thread-1" [_thread_blocked, id=2516, stack(0x39ed0000,0x39fd0000)]
    0x37079000 JavaThread "status-0" [_thread_blocked, id=2336, stack(0x35e30000,0x35f30000)]
    0x35d86800 JavaThread "BufferDomModel background parse thread" daemon [_thread_blocked, id=2708, stack(0x39bd0000,0x39cd0000)]
    0x35700c00 JavaThread "TextBufferScavenger" [_thread_blocked, id=2868, stack(0x39dd0000,0x39ed0000)]
    0x35bef800 JavaThread "WaitCursor-Timer" [_thread_blocked, id=960, stack(0x39cd0000,0x39dd0000)]
    0x356a4800 JavaThread "Timer queue for AWT thread" daemon [_thread_blocked, id=492, stack(0x39ad0000,0x39bd0000)]
    0x35c05400 JavaThread "toplink-pool-1-thread-1" [_thread_blocked, id=3428, stack(0x393a0000,0x394a0000)]
    0x35c20400 JavaThread "WeakDataReference polling" [_thread_blocked, id=3668, stack(0x392a0000,0x393a0000)]
    0x35457c00 JavaThread "Native Directory Watcher" [_thread_in_native, id=3728, stack(0x38cf0000,0x38df0000)]
    0x35743400 JavaThread "IconOverlayTracker Timer" [_thread_blocked, id=1856, stack(0x391a0000,0x392a0000)]
    0x35729400 JavaThread "IconOverlayTracker Timer" [_thread_blocked, id=2928, stack(0x390a0000,0x391a0000)]
    0x353d4000 JavaThread "Thread-4" daemon [_thread_in_native, id=3592, stack(0x38df0000,0x38ef0000)]
    0x35900c00 JavaThread "TimerQueue" daemon [_thread_blocked, id=1284, stack(0x38af0000,0x38bf0000)]
    0x33a9dc00 JavaThread "TimedCache-Timer" daemon [_thread_blocked, id=3228, stack(0x33f40000,0x34040000)]
    =>0x33b46400 JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=3892, stack(0x34040000,0x34140000)]
    0x33b55400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3748, stack(0x33e40000,0x33f40000)]
    0x33b54000 JavaThread "AWT-Shutdown" [_thread_blocked, id=2848, stack(0x33d40000,0x33e40000)]
    0x33b50800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1880, stack(0x33c40000,0x33d40000)]
    0x33145000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3576, stack(0x337b0000,0x338b0000)]
    0x3313f800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=968, stack(0x336b0000,0x337b0000)]
    0x3313dc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1580, stack(0x335b0000,0x336b0000)]
    0x3313c800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2524, stack(0x334b0000,0x335b0000)]
    0x3312d000 JavaThread "Finalizer" daemon [_thread_blocked, id=3940, stack(0x333b0000,0x334b0000)]
    0x33128400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3880, stack(0x332b0000,0x333b0000)]
    0x008d7400 JavaThread "main" [_thread_blocked, id=3368, stack(0x00030000,0x00130000)]
    Other Threads:
    0x33124c00 VMThread [stack: 0x331b0000,0x332b0000] [id=3116]
    0x33147800 WatcherThread [stack: 0x338b0000,0x339b0000] [id=2484]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 18304K, used 3568K [0x030b0000, 0x04480000, 0x05810000)
    eden space 16320K, 14% used [0x030b0000, 0x03305b20, 0x040a0000)
    from space 1984K, 59% used [0x04290000, 0x043b6880, 0x04480000)
    to space 1984K, 0% used [0x040a0000, 0x040a0000, 0x04290000)
    tenured generation total 242224K, used 160242K [0x05810000, 0x1449c000, 0x230b0000)
    the space 242224K, 66% used [0x05810000, 0x0f48cbc0, 0x0f48cc00, 0x1449c000)
    compacting perm gen total 139520K, used 139376K [0x230b0000, 0x2b8f0000, 0x330b0000)
    the space 139520K, 99% used [0x230b0000, 0x2b8cc310, 0x2b8cc400, 0x2b8f0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040b000      C:\Oracle\Middleware\jdeveloper\jdeveloper.exe
    0x7c900000 - 0x7c9b2000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000      C:\WINDOWS\system32\kernel32.dll
    0x7e410000 - 0x7e4a1000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000      C:\WINDOWS\system32\GDI32.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.DLL
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x00840000 - 0x0085a000      C:\Oracle\Middleware\jdeveloper\ide\bin\launcher.dll
    0x7c9c0000 - 0x7d1d7000      C:\WINDOWS\system32\SHELL32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x763b0000 - 0x763f9000      C:\WINDOWS\system32\comdlg32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\COMCTL32.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
    0x6e610000 - 0x6e67b000      C:\PROGRAM FILES\NORTON 360\ENGINE\3.0.0.134\ASOEHOOK.DLL
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\OLEAUT32.dll
    0x7c340000 - 0x7c396000      C:\Oracle\Middleware\jdk160_11\bin\msvcr71.dll
    0x74720000 - 0x7476c000      C:\WINDOWS\system32\MSCTF.dll
    0x6d8b0000 - 0x6db06000      C:\Oracle\Middleware\jdk160_11\jre\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x755c0000 - 0x755ee000      C:\WINDOWS\system32\msctfime.ime
    0x6d330000 - 0x6d338000      C:\Oracle\Middleware\jdk160_11\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d860000 - 0x6d86c000      C:\Oracle\Middleware\jdk160_11\jre\bin\verify.dll
    0x6d3d0000 - 0x6d3ef000      C:\Oracle\Middleware\jdk160_11\jre\bin\java.dll
    0x6d8a0000 - 0x6d8af000      C:\Oracle\Middleware\jdk160_11\jre\bin\zip.dll
    0x6d6c0000 - 0x6d6d3000      C:\Oracle\Middleware\jdk160_11\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x6d0b0000 - 0x6d1e8000      C:\Oracle\Middleware\jdk160_11\jre\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x6d2d0000 - 0x6d324000      C:\Oracle\Middleware\jdk160_11\jre\bin\fontmanager.dll
    0x6d610000 - 0x6d619000      C:\Oracle\Middleware\jdk160_11\jre\bin\management.dll
    0x34160000 - 0x3417b000      C:\Oracle\Middleware\jdeveloper\ide\lib\idenative.dll
    0x6d6e0000 - 0x6d6e9000      C:\Oracle\Middleware\jdk160_11\jre\bin\nio.dll
    0x3d930000 - 0x3da00000      C:\WINDOWS\system32\WININET.dll
    0x36260000 - 0x36269000      C:\WINDOWS\system32\Normaliz.dll
    0x3dfd0000 - 0x3e015000      C:\WINDOWS\system32\iertutil.dll
    0x76ee0000 - 0x76f1c000      C:\WINDOWS\system32\RASAPI32.dll
    0x76e90000 - 0x76ea2000      C:\WINDOWS\system32\rasman.dll
    0x5b860000 - 0x5b8b5000      C:\WINDOWS\system32\NETAPI32.dll
    0x76eb0000 - 0x76edf000      C:\WINDOWS\system32\TAPI32.dll
    0x76e80000 - 0x76e8e000      C:\WINDOWS\system32\rtutils.dll
    0x769c0000 - 0x76a74000      C:\WINDOWS\system32\USERENV.dll
    0x77c70000 - 0x77c94000      C:\WINDOWS\system32\msv1_0.dll
    0x76d60000 - 0x76d79000      C:\WINDOWS\system32\iphlpapi.dll
    0x722b0000 - 0x722b5000      C:\WINDOWS\system32\sensapi.dll
    0x68000000 - 0x68036000      C:\WINDOWS\system32\rsaenh.dll
    0x6d290000 - 0x6d298000      C:\Oracle\Middleware\jdk160_11\jre\bin\dt_shmem.dll
    0x38ef0000 - 0x3908f000      C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\brio08b.dll
    0x6a900000 - 0x6aaf7000      C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\briu08b.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x742e0000 - 0x742f5000      C:\WINDOWS\system32\SPOOLSS.DLL
    0x39090000 - 0x3909f000      C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\BRIL08B.DLL
    0x73b30000 - 0x73b45000      C:\WINDOWS\system32\mscms.dll
    0x6d240000 - 0x6d263000      C:\Oracle\Middleware\jdk160_11\jre\bin\dcpr.dll
    0x6d620000 - 0x6d6b3000      C:\Oracle\Middleware\jdk160_11\jre\bin\mlib_image.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x6d500000 - 0x6d524000      C:\Oracle\Middleware\jdk160_11\jre\bin\jpeg.dll
    VM Arguments:
    jvm_args: -Xmx512M -Xms64M -Xverify:none -XX:JavaPriority10_To_OSPriority=10 -XX:JavaPriority9_To_OSPriority=9 -XX:MaxPermSize=256M -Xbootclasspath/p:../lib/lwawt.jar -Dsun.awt.keepWorkingSetOnMinimize=true -XX:+HeapDumpOnOutOfMemoryError -Doracle.jdeveloper.webservice.showAllOwsmPolicyTypes=false -Doracle.jdeveloper.webservice.hidePropertyOverride=false -Dide.startingArg0=C:\Oracle\Middleware\jdeveloper\jdeveloper.exe -Dide.launcherProcessId=1024 -Dide.config_pathname=C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf -Dide.startingcwd=C:\Documents and Settings\Leslie Bischoff\Desktop -Dide.shell.enableFileTypeAssociation=C:\Oracle\Middleware\jdeveloper\jdeveloper.exe -Dide.pref.dir.base=C:\Documents and Settings\Leslie Bischoff\Application Data -Dide.work.dir.base=C:\Documents and Settings\Leslie Bischoff\My Documents
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\WiFi\bin\
    USERNAME=Leslie Bischoff
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(3874168k free)
    vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1
    time: Tue Aug 11 20:39:57 2009
    elapsed time: 892 seconds

  • How to deploy Servlet Application in Weblogic 8.1

    Hi,
    I am new to BEA Weblogic 8.1 .
    I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
    I am new in IntelliJ also .
    So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
    Thanks & Regards
    Komi

    Hi Komi
    Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <servlet-class>com.abd.def.MyServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>MyServlet</servlet-name>
         <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
    Refer the online docs for more details on Deployments in Weblogic.
    http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
    Thanks
    Ravi Jegga

  • How to deploy hibernate application in Oracle Content Management  SDK?

    Hi All,
    I have a hibernate application which is perfectly working in Tomcat Server. I need to deploy the application under an OC4J Instance of Oracle Content Management SDK.
    I have deployed the application under one OC4J Instance, but when I submitting the login page of the application, some errors are coming. The error is given below.
    06/03/16 16:16:43 Started
    06/03/16 16:17:04 vidushiapp: jsp: init
    06/03/16 16:17:04 vidushiapp: LOGGING: init
    06/03/16 16:17:04 vidushiapp: LOGGING: [WebStarterAppServlet 1] init() called.
    06/03/16 16:17:04 vidushiapp: Started
    06/03/16 16:17:06 vidushiapp: NodeGuardian:
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Oracle Content Management SDK
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Node Guardian 9.0.4.2.2
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Copyright (c) 2000, 2004 Oracle. All rights reserved.
    06/03/16 16:17:06 vidushiapp: NodeGuardian:
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Domain = ifs://ritesh:1521:CMSDK.daffodildb.com:CM_SCHEMA
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Node = Sample2HttpNode
    06/03/16 16:17:06 vidushiapp: NodeGuardian: ProcessId = 1456
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Guarded = false
    06/03/16 16:17:06 vidushiapp: NodeGuardian: JavaCommand = java
    06/03/16 16:17:06 vidushiapp: NodeGuardian: LogLevel = 4
    06/03/16 16:17:06 vidushiapp: NodeGuardian: RemoterLogLevel = 2
    06/03/16 16:17:06 vidushiapp: NodeGuardian: LogRotationPeriod = 0
    06/03/16 16:17:06 vidushiapp: NodeGuardian:
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Creating E:/OraHome/ifs/cmsdk\log\ritesh_1521_CMSDK_daffodildb_com_CM_SCHEMA\Sample2HttpNode_HTTPNodeGuardian.pid file
    06/03/16 16:17:06 vidushiapp: NodeGuardian: RemoterType = SocketRemoter
    06/03/16 16:17:06 vidushiapp: NodeGuardian: GuardianLocator = ifs_socket://admin:53153
    06/03/16 16:17:06 vidushiapp: SocketRemoter: Listening on 192.168.0.241:53153
    06/03/16 16:17:06 vidushiapp: SocketRemoter: Initialized
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Ready
    06/03/16 16:17:13 vidushiapp: NodeGuardian: Unguarded node manager started as Sample2HttpNode
    06/03/16 16:17:13 vidushiapp: NodeManager:
    06/03/16 16:17:13 vidushiapp: NodeManager: Oracle Content Management SDK
    06/03/16 16:17:13 vidushiapp: NodeManager: Node Manager 9.0.4.2.2
    06/03/16 16:17:13 vidushiapp: NodeManager: Copyright (c) 2000, 2004 Oracle. All rights reserved.
    06/03/16 16:17:13 vidushiapp: NodeManager:
    06/03/16 16:17:13 vidushiapp: NodeManager: Domain = ifs://ritesh:1521:CMSDK.daffodildb.com:CM_SCHEMA
    06/03/16 16:17:13 vidushiapp: NodeManager: Node = Sample2HttpNode
    06/03/16 16:17:13 vidushiapp: NodeManager: ProcessId = 1456
    06/03/16 16:17:13 vidushiapp: NodeManager: DomainController Locator = ifs_socket://admin:53140
    06/03/16 16:17:13 vidushiapp: NodeManager: Oracle Home = E:/OraHome
    06/03/16 16:17:13 vidushiapp: NodeManager: CM SDK Home = E:/OraHome/ifs/cmsdk
    06/03/16 16:17:13 vidushiapp: NodeManager: LogLevel = 4
    06/03/16 16:17:13 vidushiapp: NodeManager: RemoterLogLevel = 2
    06/03/16 16:17:13 vidushiapp: NodeManager:
    06/03/16 16:17:13 vidushiapp: NodeManager: RemoterType = SocketRemoter
    06/03/16 16:17:13 vidushiapp: NodeManager: ManagerLocator = ifs_socket://admin:53154
    06/03/16 16:17:13 vidushiapp: SocketRemoter: Listening on 192.168.0.241:53154
    06/03/16 16:17:13 vidushiapp: SocketRemoter: Initialized
    06/03/16 16:17:14 vidushiapp: NodeGuardian: Log level set to 4
    06/03/16 16:17:14 vidushiapp: NodeManager: Log level set to 4
    06/03/16 16:17:14 vidushiapp: NodeGuardian: Remoter log level set to 2
    06/03/16 16:17:14 vidushiapp: NodeManager: Remoter log level set to 2
    06/03/16 16:17:14 vidushiapp: NodeGuardian: Node manager registered
    06/03/16 16:17:14 vidushiapp: NodeManager: Ready
    06/03/16 16:17:14 vidushiapp: NodeManager: Initialize: determining default services and servers
    06/03/16 16:17:14 vidushiapp: NodeManager: Initialize: starting service IfsDefaultService
    06/03/16 16:17:53 vidushiapp: NodeManager: Service IfsDefaultService started
    06/03/16 16:17:53 vidushiapp: NodeManager: Initialize: loading server WebStarterAppServer
    06/03/16 16:17:54 vidushiapp: NodeManager: Server WebStarterAppServer loaded
    06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: setting priority of server WebStarterAppServer to 5
    06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Priority change requested (old priority 5, new priority 5)
    06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: starting server WebStarterAppServer
    06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Requested to start
    06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: loading server DavServer
    06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Starting
    06/03/16 16:17:55 vidushiapp: WebStarterAppServer: WebStarterAppServer registered under WebStarterAppServer
    06/03/16 16:17:55 vidushiapp: WebStarterAppServer: Started
    06/03/16 16:17:55 vidushiapp: WebStarterAppServer: WebStarterAppServer: run called
    06/03/16 16:18:13 vidushiapp: NodeManager: Server DavServer loaded
    06/03/16 16:18:13 vidushiapp: NodeManager: Initialize: setting priority of server DavServer to 5
    06/03/16 16:18:13 vidushiapp: DavServer: Priority change requested (old priority 5, new priority 5)
    06/03/16 16:18:13 vidushiapp: NodeManager: Initialize: starting server DavServer
    06/03/16 16:18:13 vidushiapp: DavServer: Requested to start
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: loading server ServiceWarmupAgent
    06/03/16 16:18:14 vidushiapp: DavServer: Starting
    06/03/16 16:18:14 vidushiapp: DavServer: Started
    06/03/16 16:18:14 vidushiapp: NodeManager: Server ServiceWarmupAgent loaded
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: setting priority of server ServiceWarmupAgent to 5
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Priority change requested (old priority 5, new priority 5)
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: starting server ServiceWarmupAgent
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Requested to start
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: complete
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Starting
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Started
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Starting
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Service warmup starting
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: set administration mode
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: warming up Format cache
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: warming up Media cache
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Service warmup complete
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopping Service Warmup Agent
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Requested to stop
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopping
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Timer stopped
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: postRun
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopped
    06/03/16 16:18:50 vidushiapp: Servlet error
    javax.faces.FacesException: Error calling action method of component with id id32:id45
         at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
         at javax.faces.component.UICommand.broadcast(UICommand.java:106)
         at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
         at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{UserValidation.validateUser}
         at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
         at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
         ... 15 more
    Caused by: java.lang.ExceptionInInitializerError
         at com.daffodilwoods.framework.queryexecuter.HibernateUtil.<clinit>(HibernateUtil.java:66)
         at com.daffodilwoods.framework.validation.UserValidation.validateUser(UserValidation.java:23)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
         ... 16 more
    Caused by: java.lang.ExceptionInInitializerError
         at com.mchange.v2.c3p0.PoolConfig.<clinit>(PoolConfig.java:93)
         at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:84)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:362)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
         at com.daffodilwoods.framework.queryexecuter.HibernateUtil.<clinit>(HibernateUtil.java:62)
         ... 22 more
    Caused by: java.lang.ClassCastException
         at com.mchange.v2.cfg.BasicMultiPropertiesConfig.extractPropsByKey(BasicMultiPropertiesConfig.java:150)
         at com.mchange.v2.cfg.BasicMultiPropertiesConfig.<init>(BasicMultiPropertiesConfig.java:101)
         at com.mchange.v2.cfg.BasicMultiPropertiesConfig.<init>(BasicMultiPropertiesConfig.java:39)
         at com.mchange.v2.cfg.MultiPropertiesConfig.read(MultiPropertiesConfig.java:64)
         at com.mchange.v2.cfg.MultiPropertiesConfig.readVmConfig(MultiPropertiesConfig.java:73)
         at com.mchange.v2.log.MLog.<clinit>(MLog.java:48)
         ... 30 more
    I think there is some thing missing in my configurations. Can you please tell how to deploy and run a hibernate application. Is there any problem occurs while accessing another DataBase from Oracle Content Management? What are the setting I have to do for running a hibernate application from Oracle CMSDK?
    Thanks in advance
    Basil

    Hi,
    I got the solution for my problem. The error came because of the hibernate pooling. I removed the hibernate pooling lines from my hibernate configuration file and it is working fine.lines
    Thanks
    Basil

  • Deploying JSF application on Tomcat 5.0.28

    Hi,
    I am having problems deploying JSF application (developed using Studio Creator) on Tomcat. Any suggessions ....
    HTTP Status 404 - Servlet Faces Servlet is not available....
    Thanks in advance

    I ran into this same problem moving from Tomcat 4.1.31 to Tomcat 5.0.28. This one was definitely a headscratcher, but the solution turned out to be simple as I had an older servlet api jar (2.3) in my J2SE's jre/lib/ext directory. I replaced the existing servlet.api with servlet-api.jar and jsp-api.jar from the Tomcat 5.0.28 common/lib directory, restarted Tomcat, and the problem disappeared.

  • Deploy forms applications on 9iAS

    Hi,
    I am very new to Oracle 9i and our DBA is on leave....
    I have following setup
    Oracle 9i database on Unix (Solaris 2.8)
    Oracle 9i AS on Unix (Solaris 2.8)
    Oracle 9i DS on Windows XP.
    I have developed a small application using 9iDS and am able to deploy/test it on my windows development box.
    However after reading the following a92175.pdf document I am still not sure how to deploy my application on 9iAS so users can access and use the application.
    Please guide (I am working on a deadline).
    Thanks

    Shay,
    The upgrade link gives useful information for upgrading from earlier versions to Forms9i ( I browsed throught the topics)
    Yes, my application is forms9i application.
    Now the question is- which AS install do I need to use. I know there are 4 types and through forums I have understood you need to use BI install.
    Also the 9iAS install that I see at our work-place does not have any folders named in the deployment guide. I have understood that I need to do a complete (re)install.
    Assuming all goes well in the re-install:
    application I developed and tested in 9iDS on windows has following structure...
    z:\oracle\scripts\myproject\forms - holds fmb and fmx
    z:\oracle\scripts\myproject\reports - holds jsp
    z:\oracle\scripts\myproject\scripts.
    My application calls reports from forms and I give the path to reports by SET_REPORT_OBJECT_PROPERTY. How is this handled when I deploy the fmx files to AS
    When I do deploy my application to 9iAS what structure would i need to build?
    I understand that the dir I put my fmx files I place that dir path into FORMS90_PATH
    Then if I am porting the fmb files, i need to make changes to places whee reports are called as our 9i As is on solaris 2.8. Right?

Maybe you are looking for