Deploying a J2EE web application in Oracle 10g

Hi friends,
<br>
I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation guide Properly. Anyway installation is successful.
The problem is a J2EE web application which is deployed properly on Oracle9i 9.0.3 doesn't get deployed in Oracle 10g. The following is the exception :
<br>
Deployment failed: Nested exception
Root Cause: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application Spom_Apps: Error loading package at file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar, Error deploying file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar homes: No location set for Topic resource MessageDrivenBean JmsReceiverMdb
<br>
<br>
where JmsReceiverMdb is the deployment file containing the message driven beans.
<br>
Thanks in advance,
paskal

Hi,
Thanks for responding . I am sending the file contents of ejb-jar.xml, orion-ejb-jar.xml, jms.xml.
Could you also check whether dtds versions of 10g and 9i in these xmls are conflicting? If you can specify your email-id i can send these file as attachments.
Hope you could strike the right spot.
ejb-jar.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<description>Session Bean ( Stateless )</description>
<display-name>spomPmConfigSSB</display-name>
<ejb-name>spomPmConfigSSB</ejb-name>
<home>jnipackage.spomPmConfigSSBHome</home>
<remote>jnipackage.spomPmConfigSSB</remote>
<ejb-class>jnipackage.impl.spomPmConfigSSBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<message-driven>
<description>Message Driven Bean</description>
<display-name>JmsReceiverMdb</display-name>
<ejb-name>JmsReceiverMdb</ejb-name>
<ejb-class>jnipackage.impl.JmsReceiverMdbBean</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<resource-ref>
<res-ref-name>jms/alarmTopicConnectionFactory</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>jms/alarmTopic</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
</resource-env-ref>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>JmsReceiverMdb</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>spomPmConfigSSB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
Orion-ejb-jar.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar>
<enterprise-beans>
<message-driven-deployment name="JmsReceiverMdb" max-instances="100" min-instances="0">
<resource-ref-mapping name="jms/alarmTopicConnectionFactory"/>
</message-driven-deployment>
<session-deployment name="spomPmConfigSSB"/>
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping impliesAll="true" name="&lt;default-ejb-caller-role>"/>
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>
jms.xml
<?xml version="1.0" standalone='yes'?>
<!DOCTYPE jms-server PUBLIC "OC4J JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server-9_04.dtd">
<jms-server port="9127">
<!-- Queue bindings, these queues will be bound to their respective
JNDI path for later retrieval -->
<queue name="Demo Queue" location="jms/demoQueue">
<description>A dummy queue</description>
</queue>
<!-- Topic bindings, these topic will be bound to their respective
JNDI path for later retrieval -->
<topic name="Demo Topic" location="jms/demoTopic">
<description>A dummy topic</description>
</topic>
<!-- Topic bindings, these topic will be bound to their respective
JNDI path for later retrieval -->
<topic name="AlarmQueue" location="jms/alarmTopic">
<description>A topic</description>
</topic>
<topic name="FaultTextQueue" location="jms/faultTextTopic">
<description>A topic</description>
</topic>
<topic name="FaultTopologyQueue" location="jms/faultTopologyTopic">
<description>A topic</description>
</topic>
<!-- path to the log-file where JMS-events/errors are stored -->
<log>
<file path="../log/jms.log"/>
<!-- Uncomment this if you want to use ODL logging capabilities
<odl path="../log/jms/" max-file-size="1000" max-directory-size="10000"/>
-->
</log>
<queue name="jms/OracleSyndicateQueue" location="jms/OracleSyndicateQueue">
<description>Oracle Syndication Services Queue</description>
</queue>
<!--
<queue-connection-factory name="jms/OracleSyndicateQueueConnectionFactory"
location="jms/OracleSyndicateQueueConnectionFactory"/>
-->
<queue-connection-factory location="jms/OracleSyndicateQueueConnectionFactory"/>
<queue name="jms/OracleUddiReplicationQueue"
location="jms/OracleUddiReplicationQueue">
<description>Queue for replication scheduler</description>
</queue>
<!--
<queue-connection-factory
name="jms/OracleUddiReplicationQueueConnectionFactory"
location="jms/OracleUddiReplicationQueueConnectionFactory"/>
-->
<queue-connection-factory location="jms/OracleUddiReplicationQueueConnectionFactory"/>
<queue name="jms/OracleWebClippingQueue"
location="jms/OracleWebClippingQueue">
<description>Queue for Web Clipping</description>
</queue>
<!--
<queue-connection-factory
name="jms/OracleWebClippingQueueConnectionFactory"
location="jms/OracleWebClippingQueueConnectionFactory"/>
-->
<queue-connection-factory location="jms/OracleWebClippingQueueConnectionFactory"/>
</jms-server>

Similar Messages

  • Deploying a custom Web Application in Oracle Apps 11.5.10..Urgent

    Hi,
    I need to develop and deploy a custom J2EE based Web Application in Oracle Apps (11.5.10).
    Is it mandatory to build it using OA framework?
    As an example, If I develop a "CD Library" J2EE application using JSPs(View),Servlet(Controller) and Utility classes(Model),will it be supported during upgrades in future.
    I have done the same in 11.5.9. (which doesn't have OA Framework support).
    I had deployed JSPs in $OA_HTML, Servlet and model classes in $OA_JAVA.
    I understand that the same is possible in 11.5.10.Can I follow the same approach for 11.5.10?What are the pros and cons?
    Basically, Why should I go for OA Framework to develop and deploy a custom J2EE WebApplication though I can do it as explained above.
    If you are aware of any article on this please share it with me.
    thanks,
    Gowtam.

    Hi,
    Thanks for the reply.
    To conclude my understanding,
    If I create a new J2EE web Application with
    - n number of JSPs
    - 1 servlet
    - and n number of Java model classes,
    I can deploy all these in $OA_HTML and $OA_JAVA and use it as custom application.
    I need few more clarifications
    My JSPs do not follow Oracle BLAF standards
    Java model classes are not BC4J objects
    The servlet is unique for the custom application and page flow does not include invoking OA.jsp.
    Stil, can i continue with my approach?
    Will it be supported during upgrade?
    Thanks,
    Gowtam

  • Deployment of simple jsp application in Oracle 10g AS

    Hi All,
    This is a critical issue. We have a JSP application which uses the plain old java objects to esltabilsh database connection and same old java objects to perform the business logic.
    All java file are packed in a jar file and all jsp's and other files(GIF,CSS etc) are copied to a folder.
    So what should be the steps to deploy this application to the Oracle 10g Application server.

    Thanks for the update.
    But application is already developed and is Runing in the 9i As and now we have to deploy it to the 10g server.
    Some steps that i am following to deploy the application are:-
    Steps for the deploying the A+ Web portal in OUGD
    1)Copy the “aplus” folder(containing related jsps,css and gif files) and aplus.jar file to
    “<<ORA-HOME>>/iAS/Apache/Jserv”
    2)     Go to the following file
    "<<ORA-HOME>>/iAS/Apache/Jserv/etc/jserv.properties” and add the following lines,
    #APlus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    #APLUS CONFIGURATION
    wrapper.bin.parameters=-DWV_GATEWAY_CFG=<<ORAHOME>>/iAS/Apache/modplsql/cfg/wdbsvr.app
    3)     Go to the following file
    “<<ORA-HOME>>/iAS/Apache/Jserv/etc/zone.properties” and add the
    following lines
    Append the following line to “repositories=”
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus,
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    4)     Go the following file
    “<<ORA-HOME>>/iAS/Apache/Apache/conf/apps.conf” and add the following lines
    Alias /aplus/ "<<ORA-HOME>>/iAS/Apache/Jserv/"
    <Directory "<<ORA-HOME>>/iAS/Apache/Jserv">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    but following this steps i am not getting the result.
    Reagrds,
    Vikram

  • Oracle forms to j2ee/web application

    Hello all,
    I need help with converting "oracle forms" to j2ee/web application. There are only 2-3 forms. But I needed to know how to do it from scratch. I looked at some softwares available to do it. But its costly.
    Basically the company I am working with, needed all the forms online, so that they can access it using a browser. As part of the development, I am using jdeveloper 10g.
    could some help me out
    Thanks a lot
    san

    Well if you need your Forms accesible from a browser you don't need to convert them to Java - you just use Forms on the Web - http://otn.oracle.com/formsupgrade
    If you still want to convert to Java have a look at the Forms page for more info:
    http://otn.oracle.com/products/forms
    and also here:
    http://www.oracle.com/technology/products/jdev/collateral/4gl/formsdesignerj2ee.html

  • Error deploying Web Service in Oracle 10g AS (10.1.3.0)

    When deploying a secured web service from Oracle EM 10.1.3 i'm getting the following exception
    "Failed in uploading archive. Invalid archive file: Invalid value: AES-256"
    The same web service (.ear) file is getting uploaded without exception when deploying directly from Oracle JDeveloper 10.1.3.0

    The problem solved when creating a webservice ear file with the keystore generated in the machine where the application server is installed.
    We created a secure web service (in client machineA) with public/private key encryption (AES 256) and tried deploying it in an application server instance (Server machineA). Doing this gives the following expection (when deploying the ear file through EM)
    "Failed in uploading archive. Invalid archive file: Invalid value: AES-256"
    We solved the problem by creating a keystore file in the application server instance machine (instead of doing it in client machine) and used the same keystore file to create the ear file which got deployed succesfully.
    Thanks for your help

  • How to access deployed J2EE Web application ?

    Hi,
    I am new to J2EE Web Application. I have created a Web Module project and in that I have created a servlet. I did a build for WAR file. I have created an Enterprise Application Project and included this WAR file. I built  the EAP and deployed it to J2EE engine. I am successful till here.
    I am not sure how to access this deployed application and thus this servlet.
    I tried to access the following way :
    http://<hostname>:<portnumber>/<EAPName>/<ServletName>
    However, I receive the error no such location.
    In the web.xml file, in the servlet-mapping section, I have mentioned the servletname and urlpattern.
    I have mentioned the urlpattern as MyServlet and not /MyServlet. Notice the 'backslash'.
    Could this be an issue ?
    Regards,
    Subramanian V.

    Hi
    See this Thread
    Re: servlet ----->url association ?
    Re: Servlet not getting loaded when put in a jar file
    Re: I just want to run a simple servlet. No EJBs, no Web DynPro...
    /message/610344#610344 [original link is broken]
    Kind Regards
    Mukesh

  • Deployment of Oracle 10g Application on oracle 10g application server

    Sir,
    I am new in this forum. Please guide me how to deploy oracle 10g application on oracle 10g application server.

    Dear Ghulam,
    1)Create A new OC4j instance on Oracle 10g Application Server
    2)Deploy ur war or ear file accordingly on this OC4J.
    3)Create the datasource ie connection of application with the database
    4)Tune your Java Parameters inside the OC4J for better performance.
    The details of this is explained on the above post ie two link.
    Regards
    Fabian

  • Issue of deploying a fusion Web Application with integrated Weblogic server

    Hi,
    i'm using Jdev 11.1.1.3.0 to develop a fusion web application, with a model and ViewController Projects.
    When i try to deploy this application with the integrated server, i have any issues.
    The origin seems to be that it builds an application with 3 profiles. The model application is recognized and deployed as a webapp and not an ADF library as it should be..
    [11:00:45 PM] Retrieving existing application information
    [11:00:45 PM] Running dependency analysis...
    [11:00:45 PM] Deploying 3 profiles...
    [11:00:46 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ViewControllerWebApp.war
    *[11:00:48 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ModelWebApp.war*
    [11:00:48 PM] Wrote Enterprise Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0
    [11:00:48 PM] Deploying Application...
    <27 déc. 2010 23 h 00 CET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application easygestionV2.0 is not versioned.>
    <JpsDstCredential><setCredential> Impossible de migrer le dossier/la clé d'informations d'identification et de connexion ADF/anonymous#easygesprod. Raison : oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: Les informations d'identification et de connexion avec la correspondance ADF et la clé anonymous#easygesprod existent déjà..
    <TrinidadFilter><init>
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
         at oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.register(ConverterValidatorRegistrationUtils.java:36)
         at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.init(RegistrationConfigurator.java:79)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:400)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.init(RegistrationFilter.java:53)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilterImpl.java:103)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:54)
         at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98)
         at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    How can i fix the model project to be deployed as an ADf library and not a webapp with the integrated weblogic server ? Because with me it doesn't do it by itself.
    Thanks a lot for help

    duplicate to Issue of deploying a fusion Web Application with integrated Weblogic server

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • Deployment of JavaFX Web application on client machine(Windows OS.)

    Problem Statement:
    Deployment of JavaFX Web application on client machine(Windows OS.)
    Error: unable to load the native libarary(JNI Windows dll) i.e. throws java.lang.UnsatisfiedLinkError exception.
    Problem Description:
    I have create the JavaFX application which have dependency on Native library written in Java Native Interface(JNI).
    When the application is deployed on Apache 6.0 Tomcat Server(Copied .html file *.jnlp file and .jar file) and when client machine hit the html page in internet explorer version 8.0 its throws the following error(java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path)
    Note:
    I have created the jar file which have my "JNIHelloWorld' native library dll in root directory. I have signed the jar with same signature which i have used for signing for my application Jar file.
    I have mentioned the native library jar in JNLP file resource keyword as follows:
    <resources os=Windows>
    <nativelib href="JNIHelloWorld.jar" download="eager" />
    </resources>
    The complete jnlp file content is in "JavaFXApplication.jnlp file:" section below.
    The description of error is as follows:
    Match: beginTraversal
    Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_07
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.1 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true
         Match: ignoring maxHeap: -1
         Match: ignoring InitHeap: -1
         Match: digesting vmargs: null
         Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
         Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
         Match: digest LaunchDesc: http://10.187.143.68:8282/KPIT/JavaFXApplication20.jnlp
         Match: digest properties: []
         Match: JVM args: [JVMParameters: isSecure: true, args: ]
         Match: endTraversal ..
         Match: JVM args final:
         Match: Running JREInfo Version match: 1.7.0.07 == 1.7.0.07
         *Match: Running JVM args match: have:<> satisfy want:<>*
    *java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path*
    *     at java.lang.ClassLoader.loadLibrary(Unknown Source)*
    *     at java.lang.Runtime.loadLibrary0(Unknown Source)*
    *     at java.lang.System.loadLibrary(Unknown Source)*     at javafxapplication20.JavaFXApplication20.<clinit>(JavaFXApplication20.java:41)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at com.sun.javafx.applet.FXApplet2.init(FXApplet2.java:63)
         at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(FXApplet2Adapter.java:207)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Java Plug-in 10.7.2.11
    Using JRE version 1.7.0_07-b11 Java HotSpot(TM) Client VM
    User home directory = C:\Users\io839
    Please find my native library code and JavaFX application code:
    Native library JNI Code:
    JavaFXApplication.java:
    JNIEXPORT jstring JNICALL Java_javafxapplication_SampleController_printString(JNIEnv *env, jobject envObject)
         string str = "hello JNI";
         jstring jniStr = env->NewStringUTF(str.c_str());
         return jniStr;
    JavaFX Application code:
    JavaFXApplication.java:
    package javafxapplication;
    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    public class JavaFXApplication extends Application {
    @Override
    public void start(Stage stage) throws Exception {
    Parent root = FXMLLoader.load(getClass().getResource("Sample.fxml"));
    Scene scene = new Scene(root);
    stage.setScene(scene);
    stage.show();
    * The main() method is ignored in correctly deployed JavaFX application.
    * main() serves only as fallback in case the application can not be
    * launched through deployment artifacts, e.g., in IDEs with limited FX
    * support. NetBeans ignores main().
    * @param args the command line arguments
    public static void main(String[] args) {
    launch(args);
    static{
    System.loadLibrary("JNIHelloWorld");
    SampleController.java file:
    package javafxapplication;
    import java.net.URL;
    import java.util.ResourceBundle;
    import javafx.event.ActionEvent;
    import javafx.fxml.FXML;
    import javafx.fxml.Initializable;
    import javafx.scene.control.Label;
    public class SampleController implements Initializable {
    @FXML
    private Label label;
    private native String printString();
    @FXML
    private void handleButtonAction(ActionEvent event) {
    System.out.println("You clicked me!");
    String str = printString();
    label.setText(str);
    @Override
    public void initialize(URL url, ResourceBundle rb) {
    // TODO
    //String str = printString();
    JavaFXApplication.jnlp file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="JavaFXApplication.jnlp">
    <information>
    <title>JavaFXApplication20</title>
    <vendor>io839</vendor>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
    </information>
    <resources>
    <jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
    </resources>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="JavaFXApplication.jar" size="20918" download="eager" />
    </resources>
    <resources os=Windows>
    <nativelib href="JNIHelloWorld.jar" download="eager" />
    </resources>
    <security>
    <all-permissions/>
    </security>
    <applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="JavaFXApplication" >
    <param name="requiredFXVersion" value="2.2+"/>
    </applet-desc>
    <jfx:javafx-desc width="800" height="600" main-class="javafxapplication.JavaFXApplication" name="JavaFXApplication" />
    <update check="always"/>
    </jnlp>

    No problem.
    Make sure your resources are set at the proper location. Could be that tje jni.jar is under a 'lib' folder?
    Normally you don't have to worry about deployment a lot if you are using like Netbeans 7.2 or higher.
    When you press 'Clean and build' it creates your deployed files in the 'dist' folder.
    You can change specification by adapting the build.xml file.
    Of course lot of different possibilities are available for deployment!
    You can find lot of info here:
    [http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm|http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm]
    Important to know is if you want to work with
    - a standalone application (self-contained or not)
    - with webstart
    - or with applets
    (In my case I'm using webstart, but also Self-Contained Application Packaging (jre is also installed!)

  • How to trace an application in Oracle 10g

    Hi,
    I want to trace a complete application in Oracle 10g end-to-end.
    Here is the scenario,
    The are two systems:
    System A: Oracle 10g server
    System B: Windows server
    The application runs on system B.
    How do I trace the complete application in oracle 10g?
    I read about the trcsess tool but will like to know if there is a way to collate all *.trc produced by the application.
    Thanks in advance!
    -Thanks
    Karthik

    Tracing the Oracle transactions is easy, but you need to decide what level of trace you want and identify the database sessions to trace.
    Tracing can generate huge amounts of logs, so think carefully if you really need to do this.
    The tracing will only capture the database transactions. It won't track what happens in the application (e.g mouse clicks etc)
    Options to enable tracing :-
    -- ALTER SESSION
    alter session set tracefile_identifier = 'robert_trace'; # so that the trace files from this session are easily identified
    alter session set events '10046 trace name context forever, level 8';
    -- ALTER SYSTEM
    alter system set sql_trace=true;
    -- DBMS_SESSION
    exec dbms_session.set_sql_trace(sql_trace => TRUE);
    -- DBMS_SUPPORT
    exec dbms_support.start_trace(waits=>TRUE, binds=>FALSE);
    -- DBMS_SYSTEM
    exec sys.dbms_system.set_ev(72,21237,10046,12,'');
    -- ORADEBUG
    select username, spid from v$process;
    ORADEBUG SETOSPID 21237
    ORADEBUG EVENT 10046 TRACE NAME CONTEXT FOREVER, LEVEL 12
    -- DBMS_MONITOR
    exec dbms_monitor.session_trace_enable(session_id=>75, serial_num=>21237);

  • Error While Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3

    Hi All,
    I am Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3
    My JDeveloper Version is - JDeveloper10.1.3.0.4
    I followed Following Links for Deployment
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/wls/wls.html
    http://blog.fekw.de/2008/08/23/howto-install-adf-10-runtime-and-deploy-adf-bc-app-to-oracle-weblogic-103-running-on-linux/
    I am Getting Following Error
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.<clinit>(ADFPhaseListener.java:463)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:711)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:400)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
    [ServerConnectionImpl.close():334] : Closing DM connection
    [ServerConnectionImpl.close():354] : Unregistered all listeners
    Thanks
    Vijay Chavan

    My bc4j.conf file is like bellow and my datasource name is expertDS
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="DeptAMLocal">
    <AppModuleJndiName>model.ent.DeptAM</AppModuleJndiName>
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCName>expert</JDBCName>
    <ApplicationName>model.ent.DeptAM</ApplicationName>
    <jbo.project>Model</jbo.project>
    </AppModuleConfig>
    <AppModuleConfig name="DeptAMEmbeddedAS">
    <jbo.internal.embedded>true</jbo.internal.embedded>
    <JDBCDataSource>jdbc/expertDS</JDBCDataSource>
    <ApplicationPath>current-workspace-app</ApplicationPath>
    <ConnectionPort>23891</ConnectionPort>
    <AppModuleJndiName>DeptAMBean</AppModuleJndiName>
    <HostName>localhost</HostName>
    <java.naming.security.authentication>simple</java.naming.security.authentication>
    <java.naming.security.credentials>
    <![CDATA[{904}05DDD90D64C79A7BC508C94B403DD81551]]>
    </java.naming.security.credentials>
    <java.naming.security.principal>oc4jadmin</java.naming.security.principal>
    <DeployPlatform>EjbIas</DeployPlatform>
    <jbo.server.internal_connection>jdbc/expertCoreDS</jbo.server.internal_connection>
    <ApplicationName>model.ent.DeptAM</ApplicationName>
    </AppModuleConfig>
    <AppModuleConfig name="DeptAMAS">
    <jbo.ampool.maxinactiveage>300000</jbo.ampool.maxinactiveage>
    <AppServerConnectionName>weblogic</AppServerConnectionName>
    <AppModuleJndiName>DeptAMBean</AppModuleJndiName>
    <DeployPlatform>EjbIas</DeployPlatform>
    <jbo.ejb.txntimeout>86400</jbo.ejb.txntimeout>
    <DtMiddleTierDeploymentProfile>../ModelMiddleTier1.deploy</DtMiddleTierDeploymentProfile>
    <jbo.security.enforce>Test</jbo.security.enforce>
    <jbo.ampool.maxpoolsize>600</jbo.ampool.maxpoolsize>
    <ApplicationName>model.ent.DeptAM</ApplicationName>
    <DtDeploymentProfile>../ModelEJB1.deploy</DtDeploymentProfile>
    <jbo.ampool.doampooling>false</jbo.ampool.doampooling>
    <java.naming.security.authentication>simple</java.naming.security.authentication>
    <DtCommonDeploymentProfile>../ModelCommon1.deploy</DtCommonDeploymentProfile>
    <JDBCDataSource>jdbc/expertDS</JDBCDataSource>
    <jbo.server.internal_connection>jdbc/expertCoreDS</jbo.server.internal_connection>
    <jbo.ampool.minavailablesize>0</jbo.ampool.minavailablesize>
    <ApplicationPath>BackBoneEJB</ApplicationPath>
    <jbo.ampool.monitorsleepinterval>10000</jbo.ampool.monitorsleepinterval>
    </AppModuleConfig>
    </AppModuleConfigBag>

  • Deploying a STRUTS Web Application

    X-Posted to weblogic.developer.interest.jsp
              weblogic.developer.interest.servlet
              Hi,
              for those of you who are familiar with STRUTS JSP/Servlet
              framework: I'm desparately trying to deploy a web application
              that uses STRUTS on our BEA WebLogic6.1 SP1 server.
              My WAR looks like
              index.jsp
              WEB-INF/web.xml
              WEB-INF/struts-config.xml
              WEB-INF/classes/mypackage/MyForm.java
              WEB-INF/lib/struts.jar
              (and several other files). On server startup, STRUTS loads its
              configuration from struts-config.xml. This indicates that struts.jar
              is in the classpath. A HTTP request to index.jsp which uses
              a form bean define in mypackage/MyForm.java (which subclasses
              org.apache.struts.action.ActionForm) fails with a ClassNotFoundException
              for mypackage/MyForm.java:
              java.lang.ClassNotFoundException: de.adesso.premioss.process.WorklistForm
              at
              weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
              java:178)
              at
              weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
              sLoader.java:65)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
              at
              weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
              sLoader.java:43)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:120)
              at
              org.apache.struts.action.ActionServlet.processActionForm(ActionServlet.java:
              1700)
              at
              org.apache.struts.action.ActionServlet.process(ActionServlet.java:1562)
              at
              org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
              So it looks like WEB-INF/classes is not a part of the classpath,
              at last it is not visible from org.apache.struts.action.ActionServlet.
              Has anybody encountered the same problem and found a solution?
              No f'up set. Please adjust.
              TIA
              Tobias Trelle
              adesso AG
              www.adesso.de
              

    Hi Tobias,
              are you aware of the classloading mechanisms for WebLogic and
              WebApplications? This looks like a typical classloader / wrong packaging
              issue to me, you will find lots on this on groups.google.com. If that
              does not help let me know.
              Daniel
              > -----Original Message-----
              > From: Tobias Trelle [mailto:[email protected]]
              > Posted At: Friday, January 25, 2002 9:11 AM
              > Posted To: servlet
              > Conversation: Deploying a STRUTS Web Application
              > Subject: Deploying a STRUTS Web Application
              >
              >
              > X-Posted to weblogic.developer.interest.jsp
              > weblogic.developer.interest.servlet
              > Hi,
              >
              > for those of you who are familiar with STRUTS JSP/Servlet
              > framework: I'm desparately trying to deploy a web application
              > that uses STRUTS on our BEA WebLogic6.1 SP1 server.
              >
              > My WAR looks like
              >
              > index.jsp
              > WEB-INF/web.xml
              > WEB-INF/struts-config.xml
              > WEB-INF/classes/mypackage/MyForm.java
              > WEB-INF/lib/struts.jar
              >
              > (and several other files). On server startup, STRUTS loads its
              > configuration from struts-config.xml. This indicates that struts.jar
              > is in the classpath. A HTTP request to index.jsp which uses
              > a form bean define in mypackage/MyForm.java (which subclasses
              > org.apache.struts.action.ActionForm) fails with a
              > ClassNotFoundException
              > for mypackage/MyForm.java:
              >
              > java.lang.ClassNotFoundException:
              > de.adesso.premioss.process.WorklistForm
              > at
              > weblogic.utils.classloaders.GenericClassLoader.findClass(Gener
              > icClassLoader.
              > java:178)
              > at
              > weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(C
              > hangeAwareClas
              > sLoader.java:65)
              > at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
              > at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
              > at
              > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(C
              > hangeAwareClas
              > sLoader.java:43)
              > at
              > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              > at java.lang.Class.forName0(Native Method)
              > at java.lang.Class.forName(Class.java:120)
              > at
              > org.apache.struts.action.ActionServlet.processActionForm(Actio
              > nServlet.java:
              > 1700)
              > at
              > org.apache.struts.action.ActionServlet.process(ActionServlet.j
              > ava:1562)
              > at
              > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
              >
              > So it looks like WEB-INF/classes is not a part of the classpath,
              > at last it is not visible from org.apache.struts.action.ActionServlet.
              >
              > Has anybody encountered the same problem and found a solution?
              >
              > No f'up set. Please adjust.
              >
              > TIA
              > --
              > Tobias Trelle
              > adesso AG
              > www.adesso.de
              >
              >
              

  • Session sharing among different web application under Oracle AS

    Hi,
    I'm looking for some information on web application session information sharing under Oracle AS10.1.3.
    any pointers are highly appreciated.
    Thanks,
    Narasimha.

    Hello,
    I see that you have duplicate your post in different forums, Session sharing among different web application under Oracle AS10.1.3.
    Regards
    Tugdual Grall

  • Deploy ADF Fusion Web Application on Amazon EC2 Weblogic

    Hi,
    I am trying to deploy ADF Fusion Web Application (developed using JDev) on Amazon EC2 Weblogic app server but with no success.
    Can anyone enlighten me how to deploy ADF Fusion Web App on Amazon EC2 Weblogic?
    Thanks for kind assistance!

    Hi,
    Thanks for your prompt assistance.
    I managed to run "wls_jumpstart" but I am unable to start the console even though I have created a domain.
    I cannot find any instructions anywhere about deploying ADF Fusion Web Apps on Amazon EC2 Weblogic or any case studies of success anywhere.
    Hence, I am not sure if ADF Runtime is available on the Weblogic on Amazon EC2. Can you please help me in this area as well?
    It will be great if you can point me to some instructions on how to load web apps to Amazon EC2 Weblogic as I am quite new to both JDev and Amazon EC2.
    Thanks.

Maybe you are looking for

  • How to use Search

    Use Flash Pro 8. I want to search through all the ActionScript for the document for a variable named GeneratedXML (defined somewhere in the document). So I go to Edit --> Find and Replace or Find Next. Neither can locate the "GeneratedXML". But I kno

  • Web access to XI server

    Hello, I create WSDL files and put them in folder in xi server. I don't succeed to accesses to this folder from 3 party clients (like widgets). I want to know if I need to install some client in my server? If I want to accesses to folder in my xi ser

  • Exporting from FCP HD to iDVD

    I'm confused by this new QT/compressor set up in FCP. Can someone help me out? I want to go from FCP HD to iDVD for a simple wedding dvd that I put together for some friends. The edited wedding (one sequence) is about 50 mins long. I go to Export < Q

  • Help, I cant create an external hyperlink from my menu bar?

    Hello, any helps would be great as I have read all comment regarding external hyperlinks for menus and still cant make it work on the master???? Thank you for any help as I am under a deadline! Brynn

  • Bridge CS5 Preferences = Unknown error

    I recently renamed a users shortname from firstnamelastname to firstname.lastname. Since then, whenever the user opens Bridge CS5 and chooses Adobe Bridge CS5 > Preferences the "Unknown operating system error" pops up. I have deleted the preference f