Deploy forms6i on web
Can someone give me a clue as to how to deploy forms6i on web.
Any links which you can direct me to ?
Thanks in advance.
Shailender
I'd recommend doing two things:
1) From the Start menu go to the Oracle Forms Developer Release 6i Manuals and read the manual on "Deploying Forms applications to the web with Forms server"
2) On OTN read the various papers on internet deployment at
http://otn.oracle.com/products/forms/techlisting.html
particularly have a look at "Oracle9iAS Forms Services Release 6i Patch 10" (which applies to patch 10 and above) which describes how to use the Forms Listener Servlet which is the simplest way to set up your Web deployments.
Similar Messages
-
Menu toolbar icons not displayed in colour when deployed on the Web
Hello!
We are developing an application using Forms6i on Windows NT.
Our problem is that menu toolbar icons are not displayed in colour when the application is deployed on the Web using lookAndFeel = generic. This is the case both when using Microsoft IE5 and Netscape 4.5. When lookAndFeel = oracle, however, the icons are displayed in colour.
The icons are stored as *.gif files in the same directory as the application *.html file. It does not help to create a virtual path /web_icons/ in the www listener and edit the parameter default.icons.iconpath in the file Registry.dat.
When running the application as client/server, the menu toolbar icons are displayed in colour as expected.
Any ideas on how to solve this problem?
Regards,
Kjell Pedersen
Nera SatCom AS
Norway
nullHi,
I got the same problem and I didn't figure out, how to solve this problem.
But did you try to printout the form anyway? I guess you will see the icons on the printout, won't you?
Regards
Dirk -
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!) -
Error while deploying application in Web center Spaces via ant script
Hi all,
Jdeveloper version 11.1.1.6
I am trying to deploy application in Web center Spaces using ant script .
I am able to deploy it if i keep these two files in local machine .
wls.userkey=C:\\myFiles\\myuserkeyfile.secure
wls.userconfig=C:\\myFiles\\myuserconfigfile.secure
where as when I am trying to pick these files from remote web-logic server I am getting following error
[exec] Deploy started at Thu Dec 12 17:26:41 2013
[exec]
[exec] Please enter your username :Please enter your password :
[exec] java.lang.NullPointerException
[exec] This Exception occurred at Thu Dec 12 17:26:41 GMT+05:30 2013.
[exec] at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:176)
[exec] at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
[exec] at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:597)
[exec] at org.python.core.PyReflectedFunction.__call__(Unknown Source)
[exec] at org.python.core.PyMethod.__call__(Unknown Source)
[exec] at org.python.core.PyObject.__call__(Unknown Source)
[exec] at org.python.core.PyObject.invoke(Unknown Source)
[exec] at org.python.pycode._pyx4.connect$1(<iostream>:16)
[exec] at org.python.pycode._pyx4.call_function(<iostream>)
[exec] at org.python.core.PyTableCode.call(Unknown Source)
[exec] at org.python.core.PyTableCode.call(Unknown Source)
[exec] at org.python.core.PyFunction.__call__(Unknown Source)
[exec] at org.python.pycode._pyx72.f$0(C:\Abhishek_Mr.Price\SampleWebCenterSpacesExtensions\SampleWebCenterSpacesExtensions\WebCenterSpacesSharedLibExtension\extspaces.py:14)
[exec] at org.python.pycode._pyx72.call_function(C:\Abhishek_Mr.Price\SampleWebCenterSpacesExtensions\SampleWebCenterSpacesExtensions\WebCenterSpacesSharedLibExtension\extspaces.py)
[exec] at org.python.core.PyTableCode.call(Unknown Source)
[exec] at org.python.core.PyCode.call(Unknown Source)
[exec] at org.python.core.Py.runCode(Unknown Source)
[exec] at org.python.util.PythonInterpreter.execfile(Unknown Source)
[exec] at weblogic.management.scripting.WLST.main(WLST.java:124)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:597)
[exec] at weblogic.WLST.main(WLST.java:29)
[exec] None
[exec] #########################################################
[exec] ##### Deployment Failed #########
[exec] ##### Contact support with Exception Stack #########
[exec] #########################################################
[exec]
[exec]
ChandanaAny Updates
-
Deploying my first web dynpro java application through NWDS 7.3 giving error
hi all,
i am new to webdynpro java. i am basically a xi consultant, but due to some work need to work on webdynpro java as well.
i went through the blog Web Dynpro Tutorial: Hello World
i am using NWDS 7.3
i created web dynpro project as per above blog. on the last step, it says to deploy it on SAP system.
now i have access to PI7.1 system only, though in our landscape, we have ECC system, EP system, BI system etc.
i guess the above webpage is referring to getting it deployed on EP system - but i have access to only PI7.1 system - in NWDS 7.3 in window - preferences - SAP AS Java - i have added PI7.1 system and it is showing there.
now on right-clicking web dynpro application, and selecting deploy new archive and run - it is not deploying and the web-page gives error 404 - not found. The requested resource does not exist.
can the web dynpro application be deployed on PI7.1 system?
pls suggest how to resolve this error. thanks.i have downloaded NWDS7.1 through this link
https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/
used the first option - Download latest NWDS_platform.zip release
the zip file got downloaded.
on trying to install through IDEsetup.exe - now i am getting error in installation - The installer cannot run in the 32-bit sub-system on a 64-bit architecture.
how to solve this error - i tried installing jdk-6u7-windows-x64.exe and jdk-6u18-windows-x64.exe - but still the error remains same.
So how to install NWDS7.1 on my system? please tell. thanks. -
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
-
Problem with CORBA application deployed using Java Web Start 1_6_0.
Java Web Start fans and experts:
We have been using Java Web Start to deploy the client side of a CORBA-based application since the inception of Java Web Start ... including Java Web Start 1.0 right up through the present.
With Java Web Start 1_6_0, we see evidence that Web Start is "tinkering with" the IOR that CORBA uses to communicate. In all previous versions of Java Web Start, independent of the JRE which the application uses, the stringified IOR have been the same size regardless of whether the application is deployed locally or via Java Web Start. With Java Web Start 1_6_0, the stringified IOR is much longer than the "real" IOR (again, regardless of the JRE used by the application itself). To me this smells like a bug in Java Web Start 1_6_0. Has anyone else observed this behavior?
Here are some specifics .... I've run the same client application with various JREs both with and without Java Web Start as the deployment mechanism. The application was compiled and runs against servers that are running JDK 1_5_0_09.
Here is the summary of my results from a Linux box running various JREs, various versions of Java Web Start, and also running as a non-JWS deployed application. I've listed the length of the stringified IOR in each case.
JRE 1.5.0 non-JWS client: stringified IOR length = 344
JRE 1.6.0 non-JWS client: stringified IOR length = 344 ... this, I think, excludes the JRE as the cause of these problems.
Java WS 1.5.0, JRE 1.5.0 JWS client: stringified IOR length = 344
Java WS 1.5.0, JRE 1.6.0 JWS client: stringified IOR length = 344
Java WS 1.6.0, JRE 1.6.0 JWS client: stringified IOR length = 1568
Java WS 1.6.0, JRE 1.5.0 JWS cleint: stringified IOR length = 1568
In all cases, the stringified IOR length is determined by the service receiving the message and is always running JRE 1_5_9_09 and is
always the same 344 characters in length UNLESS it was deployed
using Java Web Start 1_6_0, in which case it in nearly 5 times as big!
To me, it sure looks as if there is a problem with Java Web Start 1_6_0 to be adding so much to the stringified IOR. Note: it's hard to tell how different the underlying IOR is in the JWS 1_6_0 case because, unlike most other ORBs, the Sun ORB doesn't have a tool to extract the IOR into a human readable structure. However, I can think of no good reason why the identical application deployed using Java Web Start 1_6_0 should have a stringified IOR length that is different than that of the same application deployed in non-JWS form or should differ from the behavior seen in all previous releases of Java Web Start.
Any clues or suggestions? Has anyone else observed this behavior?
Thanks,
JohnHi.
I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
#### Java Web Start Error:
#### null
Can you help me? -
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
>
>
-
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 -
How to deploy my own web services to the Start BPEL PM Server?
Recently, I am learning the JDeveloper BPEL Designer(version 10.1.2.0), I had finished my first BPEL process CreditFlow flowing the quickstart guider.
Now I wonder how to deploy my own web services to the Start BPEL PM Server? I mean I don't want to invoke the CreditRatingService as I did flowing the quickstart guider, but to invoke my own web servcies. Now I had made some web services with eclipse and deployed them to the tomcat5.0. but how can I invoke these my own web services just like I invoked the CreditRatingService in the JDeveloper BPEL Designer?
Thank you!Copy the WSDL file from your Tomcat server onto your development machine. Add them to your project in JDeveloper. Then add a partnerlink and specify the WSDL location. Then add you role, variables and compile!
-
How would a corporation deploy Sun ONE Web Proxy Server?
A corporation should deploy Sun ONE Web Proxy Server at the following key places:
* The Internet gateway: Sun ONE Web Proxy Server deployed just behind the firewall facilitates access to the Internet and reduces response times and communications expense.
* Major sub-network connections: Marketing, Sales, Product Development, Human Resources, and Finance departments might have their own subnetworks. An Sun ONE Web Proxy Server deployed at each subnet can reduce traffic on the corporate backbone.
* Remote offices that are disconnected from the internal network: Sun ONE Web Proxy Server can provide a quick mechanism for replicating content when necessary, providing better company integration and increasing network performance without large capital and communications expense.
* Internationally: Outside the United States, communications bandwidth is typically much more expensive, making Sun ONE Web Proxy Servers even more cost effective. Every international office can make use of an Sun ONE Web Proxy Server.
* Outside the firewall as a Web server substitute in reverse proxy configuration: This protects information on the secure Web server behind the firewall and offers load balancing via caching.http://wwws.sun.com/software/download/products/3ef1fcb5.html
If u wait for a week or so, SP4 will also be there.
Maneesh -
A RCP Application using javafx deployed by java web start,in jre8u25 run have problem.
a RCP Application using javafx deployed by java web start,in jre8u20 can use jre7run the applicat,but in jre8u25 use jre7run application have problem.
in jre8u20 use jre7 run the application can run success.
but in jre8u20 the control print:
java.lang.UnsupportedClassVersionError: com/sun/javafx/runtime/VersionInfo : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.sun.deploy.config.JfxRuntime.runtimeForPath(Unknown Source)
at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
at com.sun.deploy.config.JREInfo.setInstalledJREList(Unknown Source)
at com.sun.deploy.config.ClientConfig.storeInstalledJREs(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
the reason (i think) is that the application will use javafx's com.sum.javafx.runtime.VersionInfo,i use e(fx)clipse load the javafx runtime.in jre8u20,the web start use jre7's class.in jre8u25,the web start use jre8's class.
so i use jre7 run the application get this result.
how could i solve this problem?Hi,
I have created client stubs for a webservice using axis wsdl2java tool. When I try calling these stubbed methods from JUnit tests, they are working fine but when I try to execute the jar (it is a swing) I get the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.Gudds.SeCURE.MainUI.<init>(MainUI.java:76)
at com.Gudds.SeCURE.Main.Start(Main.java:62)
at org.owasp.webscarab.WebScarab.main(WebScarab.java:34)
I have put the jaxrpc.jar in the classpath and I suppose this jar has the java.xml.rpc.service class but I donot understand why it fails while executing the jar but works fine from the eclipse IDe. Plase help me.
Regrdas,
Kundan -
Error deploying custom java web service -Jdeveloper11.1.1.3.0
Hi all,
Error deploying custom java web service in - Jdeveloper 11.1.1.3.0
Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\.......\LOCALS~1\Temp\.xyz..........Project-context-root.war'
for the application 'xyz....Project-context-root' could not be loaded to the server 'http://hostname:port/bea_wls_deployment_internal/DeploymentService'.
Server returned HTTP response code: 409 for URL: http://hostname:port/bea_wls_deployment_internal/DeploymentService
See server logs or server console for more details.
weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\MyApllicationName\Project\deploy\xyz........Project-context-root.war' to 't3://hostname:port'
#### Deployment incomplete. ####
Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Thanks
Edited by: soauser on Sep 3, 2010 8:55 AMAny help for the above post is appreciated..
Edited by: soauser on Sep 3, 2010 11:58 PM -
Error deploying custom java web service in SOA11g-Jdeveloper 11.1.1.3.0
Hi all,
I am getting Error deploying custom java web service in SOA 11G- Jdeveloper 11.1.1.3.0
Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\.......\LOCALS~1\Temp\.xyz..........Project-context-root.war'
for the application 'xyz....Project-context-root' could not be loaded to the server 'http://hostname:port/bea_wls_deployment_internal/DeploymentService'.
Server returned HTTP response code: 409 for URL: http://hostname:port/bea_wls_deployment_internal/DeploymentService
See server logs or server console for more details.
weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\MyApllicationName\Project\deploy\xyz........Project-context-root.war' to 't3://hostname:port'
#### Deployment incomplete. ####
Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Edited by: soauser on Sep 3, 2010 7:44 AM
Edited by: soauser on Sep 3, 2010 7:45 AM
Edited by: soauser on Sep 3, 2010 7:46 AMAny help for the above post is appreciated..
Edited by: soauser on Sep 3, 2010 11:58 PM -
How to deploy business objects web services on tomcat
Hi everyone can anyone tell how i need to deploy business objects web services on tomcat, i installed business objects on unix server.what r the steps i need to follow in order to deploy web services on business objects. this web services must be called by a java program externally, that the reason i am deploying web services.
i downloaded business objects web services portal sample zip file. the wssdkj2eeportal directory is created with ant_scripts,src, dsws.config and wsportalassemblyscripts.bat.
i am trying to configure the dsws.config, by modifying it to
<configuration version="1.0">
<WebService Name="BusinessObjects Enterprise XI 3.1 sp3" Icon="image/java.gif">
XI 3.1 Web Services
<Connection URL="http://169.111.33.61:8080/dswsbobje/services/session" Proxy="0" Timeout="120000" />
</WebService>
<Proxy Name="Outside" URL="http://http-cache.mycompany.com:3667" />
</configuration>
what i need to do in order to deploy
i am using bo xi 3.1 sp3Hi,
You deploy all the web applications provided by BOE with the use of Wdeploy tool installed with BOE installation, for details please reffer the following document
[BusinessObjects Enterprise XI 3.1 Web Application Deployment Guide for UNIX*|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000715844%26_SCENARIO=01100035870000000202]
Regards,
Ramu.
Edited by: Gowda Timma Ramu on Nov 9, 2010 8:39 PM
Maybe you are looking for
-
I installed Version 4, and then Version 5, and now at least once a day I get a notice to update to Version 3.1.11. I get this on my office computer and also at home. Why is this happening and how can I stop it?
-
This happens from links in my email and links from websites. Is there a setting somewhere that I botched that hides web addresses from me? It however, doesn't happen every time I click a link.. strangeness. FF 9.0.1 Windows 7 x64
-
Dear Expert, I have a requirement from a customer for the wrap up data. the customer require the wrap up data to be a field for the agent to write notes and description about the caller. thank you in advance Anas
-
When saving to PDF in print settings, it cuts off the bottom lines. How do I change the margins in the PDF to stop this happening
-
How to download ibook proofer???
i had paid account and i want to develop ibooks using ibook proofer but i can't find ibook proofer on itunes connect account? how should i get it???