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!)
Similar Messages
-
Caching a web page in client machine's Temp file
Hi Friends,
I'm struck up with one issue in caching the web page in client machine's temporary internet files. I have designed a secured web application. I used
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", 0);
%>
for not storing the web page in client machine. Now only some of the pages that doesn't needs the security needs to be cached in the client machines temporary internet files.
For that i used the code as
<%
response.setHeader("Cache-Control","public");
response.setHeader("Pragma","public");
response.setDateHeader ("Expires", 0);
%>
Still i'm unable to store. Please help me solve this. Thanks in Advance. Quick help would be greatly appreciated.
Thanks and regards,
PrakashHi Rob_Jones-
I would recommend reading this Support article, as it troubleshoots issues with opening/downloading files:
[[Managing file types]]
Hope that helps. -
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 helpduplicate to Issue of deploying a fusion Web Application with integrated Weblogic server
-
Weblogic 10.0 web application with CLIENT-CERT suddenly redirect with 401
Hi everybody,
we currently have a Weblogic Portal 10.2 web application with an integrated Windows authentication.
I configured a Negociate Identity Asserter and an Active Directory provider.
I configure Kerberos services, so we have succefully access to our application through the Windows session.
But, most of time we have 401 errors on any page when navigating. In fact, the error occures when clicking on a link when a page is not fully loaded.
For our tests, we use the security webapp provided by BEA/Oracle, and it just work.
The web.xml used in our webapp :
<security-constraint>
<web-resource-collection>
<web-resource-name>sso</web-resource-name>
<description>Desc</description>
<url-pattern>/appmanager/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<description>desc</description>
<role-name>ssoRole</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name/>
</login-config>
<security-role>
<description>Authenticated user</description>
<role-name>ssoRole</role-name>
</security-role>which version of web server r u using here ? 6.1 or 7.0 ? if it is 6.1 then there is no easy <If> syntax. if u r using 7.0, then u need to be aware that the processing of 'ppath' is slightly different in 7.0
in any case, this would be the syntax
<Object name="weblogic" ppath="/hw/">
Service fn="wl_proxy" WebLogicHost="------------------" WebLogicPort="------"
# gateway timeout - back end web logic not responding handle differently
<If code='504'>
# send it to a different post..
Service fn="wl_proxy" WebLogicHost="------------------" WebLogicPort="------"
</If>
</Object>
- sriram -
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
>
>
-
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. -
Deploying Java-based Web application in Linux Red Hat
Dear All:
I would like to deploy my Java Servlets and JSPs in a Linux Web Server Machine that also will run MySQL.
I would like to know about the complete softwares that require to run the web application.
Here I am mentioning few of them and would like to know whether they are correct and/or I need more.
1. Java
2. Linux OS
3. Apache Web Server
4. Tomcat
5. MySQL
6. JDBC
Looking forward to receiving you kind and prompt help.
Sincerely,If you really want to use the Apache HTTP Server next to Apache Tomcat Server, then look for the mod_jk. Otherwise just leave that Apache HTTP Server away.
To the point: just learn about each of those components. Just Googling "something tutorial" is enough to find a tutorial about something. As you've posted this in the JDBC forum, I guess the core problem is the JDBC API. [Google it|http://google.com/search?q=jdbc+tutorial]. -
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,
paskalHi,
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="<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> -
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 -
Issues with Error #2048 on deployed Flex/PHP Web Application
Hello,
I'm testing out Flash Builder for PHP and I'm running into the following error when deploying to a web servers:
Send failed
Channel.Security.Error error Error #2048 url: 'http://testsite.dreamhosters.com/LocatorPHP/public/gateway.php'
I have looked though documentation and tutorials without any luck. My application works great on the local Zend Server setup but as soon as I jump to a remote web server I get problems.
Here's what I've tried:
1) crossdomain.xml in web root
2) amf_config.ini updated so zend framework on server and gateway.php are reachable (connecting to gateway.php directly gives me no errors)
3) attemped to change the flex server option in my project but Flash Builder for PHP will not allow me to change this, so I had to change my php service.as endpoint entry to the gateway.php on the webserver
Is there a log that can help me troubleshoot the error?
Thanks in advance.Any solution I have just ran into the same issue. App works perfect on localhost phpmyadmin as soon I change everything to our public server ERROR#2048
I have tried same as above no results.
After countless hours of searching this worked for me!!!!
http://forums.adobe.com/thread/674871 -
Launching applications in Client Machines in Portlets
I need to launch the applications running in client machine for eg . Command ,
Notepad etc, within the Portlet using weblogic portal server 8.1 . How do i implement
the same?Hi Mani,
Please have a look at the pre and post installation guides available here:
SAP Access Control 10.0 [original link is broken]
Regards,
Luis -
How check is installed jre on client machine (Windows, Mac, Linux) ?
I have desktop appliaction that installed in client machine. On client machine OS maybe are :Windows, Mac or Linux. When first start my desktop application I want to check is exist jre on client machine. Is this a good solution?
String javahome = System.getProperty("java.home").trim();
if (javahome.length() == 0) {
logger.warn("Not installed java!");
} else {
logger.trace("java home=" + javahome);
}Errr using Java to check if Java is installed?
Does not compute.
Perhaps you want to use some sort of installer program. Or [_webstart_|http://java.sun.com/javase/technologies/desktop/javawebstart/overview.html]? -
Bex Web Application designer 3.x windows 7
Good Morning,
Im trying to use Bex Web Application Designer SAP BW 3.x doenst working at windows 7.
its ask one version above ie 5.
Im using ie 8, i cant install the ie 7.
there is anyway i solve this problem?
i patched of last support package, even it not working
thank u
regards,
AmitDear Amit,
unfortunately I get the same error here when I try to run the WAD 3.5 under Windows 7. I only can hope that there will be a work around, as SAP will officially support Win7 only with SAPGui 7.20 which will be released in Q1 next year. I did not get any information that BW 3.5 will still be included in Gui 7.20, but probably someone who is reading the forum from SAP can provide an answer...
Another strange thing which I discovered in Win7 is, that when I execute a query and the variable screen is displayed, most of my variable descriptions are missing. When I toggle back and forth some windows everything appears correctly. So I guess that (hopefully) the display device driver needs only another update...
Regards,
Andreas -
Do I need install web analysis on client machine?
I have installed web analysis in the server, to let the user to access web analysis, should I also install web analysis in the user's machine, or just let them access the web analysis URL, http//hostname:16000/webanalysis ?
They should really access through the workspace port :- http://hostname:19000/workspace/index.jsp login and then access WebAnalysis via workspace
or http://hostname:19000/WebAnalysis/WebAnalysis.jsp
It should automatically download the java client if the user does not have it installed.
If a JRE is not installed it should deliver jre-1_5_0_17-windows-i586-p.exe
Cheers
John
http://john-goodwin.blogspot.com/ -
How to fetch host database in system to run web application?
Hi all,
i am having database in server and i have to run my web application in client machine. how to set the connection of server database in web.config file.
thanksI hope that you installed oracle client and configured tnsnames file in oracle client on client machine.
Below is script to web.config
<connectionStrings>
<add name="OracleConnectionString" connectionString="DATA SOURCE=hostname/orcl;PASSWORD=yr password;PERSIST SECURITY INFO=True;USER ID=yrusername/schemaname"
providerName="Oracle.DataAccess.Client" />
</connectionStrings> Rgds
Maybe you are looking for
-
Apex listener compatibility with VMware
We have APEX listener configured on Tomcat server. There is a plan to move the tomcat server to virtual machines (VMware based). Migration will be made using Physical to Virtual (P2V) migration tools. Application Express 4.0.2.00.07 is installed on D
-
How do I get pop ups to stop even with pop up blocker enabled?
Hi there! I need help soooo badly Recently I have been getting all of these pop ups on my computer and they wont stop. My computer speed is still perfectly fine but the pop ups wont quit on my Safari and Google Chrome. I did download ClamXav app on t
-
Query regarding Logical Database reports
Hi, I have started doing pgm on Logical Database report using VBAK,VBAP and MARA. I took VBAK as the root node and VBAP& MARA as subnodes. The actual requirement is:- I am trying to place these tables in Application server for perfromance issue using
-
3061 Error related to an parameter query
Hi, I see I am not the only one encountering the 3061 error, but I would not be surprised I could be the only one not understanding how to solve it.. J I am using the below function in a module XX (this is curtesy of Mr DbGuy) . In query X , field B
-
Forms6i different Object Height at run time
Hi, I have a multiple detail block ( No. of record displayed 10 ) ,all i need to do is change the height of the item according to the length of the text stored in it. (set_item_instance_property) not working Edited by: 936956 on May 27, 2012 2:09 AM