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].

Similar Messages

  • SSO from portal to Java based web application not happening

    Hi,
    We are trying to configure SSO from SAP Enterprise portal with Java based
    web application(Solaris on SPARC 64 bit).
    Then we downloaded library files for "Solaris on SPARC 64 bit" from
    service market place from the path "Support Packages and Patches"
    Additional Components" SAPSSOEXT".
    We are successful in sending the portal side cookie to the application.
    But while loading the library files we get the following error
    INFO | jvm 1 | 2009/04/13 04:47:00 | java.lang.UnsatisfiedLinkError:
    /usr/local/blackboard/apps/tomcat/lib/libsapssoext.so: ld.so.1: java:
    fatal: /usr/local/blackboard/apps/tomcat/lib/libsapssoext.so: wrong ELF
    class: ELFCLASS64 (Possible cause: endianness mismatch)
    Can you please suggest us what went wrong in this whole process.
    But when i tried with the 32 bit library files i was able to load libsapssoext.so file but when I
    tried to initialize libsapsecu.so i got the below message
    java.lang.Exception: MySapInitialize failed: rc= 14
    Also do we require to take"SAPSECULIB" from Support Packages and Patches" ...>Additional Components" ...>SAPSECULIB" ...>SAPSECULIB 5.4  for this SSO activity.
    Please get back on this ASAP as we are nearing the golive date.
    regards
    Bharath

    hi,
    am facing similar issue... i.e.
    java.lang.Exception: MySapInitialize failed: rc= 14
            at com.mysap.sso.SSO2Ticket.init(Native Method)
            at com.mysap.sso.SSO2Ticket.<clinit>(SSO2Ticket.java:27)
            at org.apache.jsp.index_jsp._jspService(index_jsp.java:92)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:619)
    static beendet.
    java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0
    CustomeSSO: Object is null.
    pls. help me in resolving it.
    rgds,
    santosh malavade

  • Sun Java System Web Server support for Red Hat EL 5

    Does anyone have any information when the Sun Java System Web Server might be supported on Red Hat Enterprise Linux 5 Server?
    Thanks

    Certification of RHEL5 will likely happen with one of the upcoming Update releases.
    There is, as far as I know, no reason why Web Server won't run on RHEL5 today though (I use it on Fedora Core 7 without ill effect, and the RHEL trail the Fedora releases a bit in technology versions).

  • Browser based InfoPath form deployed on a Claims based Web Application calling a Secure Web Service via Data Connection

    hi,
    We have a Browser based InfoPath Form deployed on a Claims based Web Application. We are tyring to call WCF Services that are secure using Certificates via the Data Connections on Infopath Form.
    Earlier we used to get the Data in BCS External List via the WCF Services and the Data Connections used to get the Data from the BCS External List. Due to Performance Issues, we want to remove the BCS External List and straightaway call the secure WCF Services
    via the Data Connections.
    Have anyone implemented this scenario.
    Thanks
    Ram
    Thanks Ram

    Hi Ram,
    As these are browser based InfoPath forms, you have two options 
    1) Deploy as sandboxed forms
    In this case you have to create a secure store application id and then set the credentials for that account.
    You then have to export the data connection to Data connections library and modify the .udcx file to utilize the newly created secure store application id.
    This may sometime give issues related to sandboxed code service. You have to give permissions on the secure store for the user account which the sandboxed code service is running.
    2) Deploy as administrator approved forms
    This would be ideal way of doing things as you have full control over the web request if you write code behind InfoPath forms.
    3) Deploy as a Hybrid solution
    a) Write a full trust proxy solutions (extend SPProxyOperation class and override execute method) and make the web request call inside this and return the response
    b) Invoke above operation from the sandboxed InfoPath form's code behind by SPUtility.RegisteredProxyOperation(four part assembly name, operation args)
    Hope this helps.
    Thanks,
    Srikanth

  • 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 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 use Crystal report viewer in a portlet based web application

    I am using JRC to view crystal reports in porlet based web application. Following is the code in JSP
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <portlet:defineObjects />
    <%
         // This sample code calls methods from the CRJavaHelper class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the CRJavaHelper class.
         try {
              String reportName = "ProactiveEventsSummaryData.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   //clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                                  clientDoc.setReportAppServer("inproc:jrc");
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
              // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                   // Create the CrystalReportViewer object
                   CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                   String reportSourceSessionKey = reportName+"ReportSource";
                   Object reportSource = session.getAttribute(reportSourceSessionKey);
                   if (reportSource == null)
                        reportSource = clientDoc.getReportSource();
                        session.setAttribute(reportSourceSessionKey, reportSource);
                   //     set the reportsource property of the viewer
                   crystalReportPageViewer.setReportSource(reportSource);
                   // Apply the viewer preference attributes
                   // Process the report
                   crystalReportPageViewer.processHttpRequest(request, response, application, null);
              // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    With this code , report gets displayed in the portlet but none of the actions on thre report like next page click , search button , opening subreport , clicking on drill-downs are working . The error in the explorer console is as shown below
    Error: CrystalViewerCrystalEvent is not defined
    javascript:CrystalViewerCrystalEvent('CrystalViewer',%20'tb=next')
    PageSource of the web page shows the CrystalViewerCrystalEvent javascript function defined but for somereason its not recognized by the portlet. Has anyone worked on displaying crystalreports in a portlet ?

    Code attached
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <portlet:defineObjects />
    <%
         // This sample code calls methods from the CRJavaHelper class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the CRJavaHelper class.
         try {
              String reportName = "ProactiveEventsSummaryData.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   //clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                                  clientDoc.setReportAppServer("inproc:jrc");
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
              // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                   // Create the CrystalReportViewer object
                   CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                   String reportSourceSessionKey = reportName+"ReportSource";
                   Object reportSource = session.getAttribute(reportSourceSessionKey);
                   if (reportSource == null)
                        reportSource = clientDoc.getReportSource();
                        session.setAttribute(reportSourceSessionKey, reportSource);
                   //     set the reportsource property of the viewer
                   crystalReportPageViewer.setReportSource(reportSource);
                   // Apply the viewer preference attributes
                   // Process the report
                   crystalReportPageViewer.processHttpRequest(request, response, application, null);
              // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Edited by: teethoma on Nov 30, 2009 10:06 AM

  • 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

  • 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
              >
              >
              

  • [Integrated SOA Gateway] Publish Java based web service

    Welcome!
    Lately I have been trying to publish Java based web service through Integrated SOA Gateway. The documentation states that:
    +"Custom interface definitions can be created for various interface types including custom interface definitions for XML Gateway Map, Business Event, PL/SQL, Concurrent Program, Business Service Object, Java (except for Java APIs for Forms subtype) and Composite Service for BPEL type."+ (Integrated SOA Gateway Developer's Guide Release 12.1, "Creating and Using Custom Integration Interfaces")
    After familiarizing myself with $FND_TOP/bin/irep_parser.pl and $FND_TOP/bin/FNDLOAD tools, I have started coding my POJOs. Initially I have come up with three classes - request/response objects and service implementation. Service implementation has been annotated with "@rep:X" descriptors according to "Java Annotations" section of the documentation. While invoking $FND_TOP/bin/irep_parser.pl I have received errors about class resolution. My solution was to transform request and response types to static inner classes. This way I ended up with one *.java source file (see below).
    * Sample ISG Service.
    * @rep:scope public
    * @rep:product AP
    * @rep:displayname My Custom ISG Service.
    public class MyService {
    public static class Request {
    private String id;
    public void setId(String id) {
    this.id = id;
    public String getId() {
    return id;
    public static class Response {
    private String data;
    public void setData(String data) {
    this.data = data;
    public String getData() {
    return data;
    * Sample operation.
    * @param request Request Object.
    * @return Return Object.
    * @rep:displayname Test operation.
    * @rep:category BUSINESS_ENTITY SAMPLE_SERVICE
    public MyService.Response testOperation(MyService.Request request) {
    MyService.Response response = new MyService.Response();
    response.setData("Some Data");
    return response;
    ILDT file has been successfully created and uploaded. However, I could not see the "Generate WSDL" button on Integrated Repository website. Is there any particular interface or superclass that my service implementation should extend? I have reviewed "PurchaseOrderSDO" example posted in the developer's guide (page 407), but I couldn't come up with a working solution. Could you provide me with more detailed tutorial/example? Which documentation sections should I read again?
    After searching through forum, I have spotted $FND_TOP/bin/soagenerate.sh script, and thought that lack of "Generate WSDL" button was an EBS defect. After running the script, I have received an error:
    Error in Service Generation.
    ServiceGenerationError: Interface Type (JAVA) Interface SubType (null) is not supported.
    oracle.apps.fnd.soa.util.SOAException: ServiceGenerationError: Interface Type (JAVA) Interface SubType (null) is not supported.
         at oracle.apps.fnd.soa.provider.wsdl.ArtifactsFactory.getArtifactsGenerator(ArtifactsFactory.java:55)
         at oracle.apps.fnd.soa.provider.wsdl.WSDLGenerator.generateServiceWSDL(WSDLGenerator.java:128)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.generateSOAService(ServiceGenerator.java:75)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.generateSingleService(ServiceGenerator.java:88)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.main(ServiceGenerator.java:419)
    I would be grateful for any suggestions. Has anyone published Java based web service through ISG?
    Best regards,
    Lukasz

    I tried the following as per Oracle support and able to generate the wsdl though, but not invoke the webservices.
    1. Applied the patch 8607523
    2. Took the translator.jar file from the patch 8857799 and replaced the current translator.jar file
    3. Deploy the adapters.
    $FND_TOP/bin/txkrun.pl -script=CfgOC4JApp -applicationname=pcapps
    -oc4jpass=welcome -runautoconfig=No

  • Issues in creating Java based web services with JAXB 1.0 in Jdeveloper 10 g

    Hi All,
    I am trying out a simple java based web service creation exercise using Jdeveloper 10.1.3.3.0.3 and JAXB 1.0. Here is what I am trying to do.
    1. I have a XSD file called Status.xsd, which has three complex types in it.
    2. Using Jdeveloper Tools --> JAXB Compilation, I have created Jaxb classes for the above XSD files. For each of the complex type the jaxb class generator generated on IMPL clas and one abstract class.
    3. Now I have created one simple java class called Class1.java and created one method that takes the StatusImpl as input and as output for that method. Here is the code for Class1.java
    public class Class1 {
    public Class1() {
    public StatusImpl getstatus (StatusImpl in) {
    StatusImpl out;
    out = in;
    return out;
    4. Now, I trying to create a web service for this java class from jedeveloper. I have right clicked this class and went thru the wizard Create J2EE web services.
    5. At the end, the web service project got created successfully and I am trying to run this project from jdeveloper. When I run this project, I am getting the following kind of error message in the browser
    It looks like when the runtime deployment classes are trying to instantiate the abstract classes instead of the impl class. and for all the complex types they trow that error and the web service could not be even invoked.
    What could be the issue? Is the jaxb based web services supported with jdeveloper 10g?
    Thanks,
    Renga

    Hi All,
    I am trying out a simple java based web service creation exercise using Jdeveloper 10.1.3.3.0.3 and JAXB 1.0. Here is what I am trying to do.
    1. I have a XSD file called Status.xsd, which has three complex types in it.
    2. Using Jdeveloper Tools --> JAXB Compilation, I have created Jaxb classes for the above XSD files. For each of the complex type the jaxb class generator generated on IMPL clas and one abstract class.
    3. Now I have created one simple java class called Class1.java and created one method that takes the StatusImpl as input and as output for that method. Here is the code for Class1.java
    public class Class1 {
    public Class1() {
    public StatusImpl getstatus (StatusImpl in) {
    StatusImpl out;
    out = in;
    return out;
    4. Now, I trying to create a web service for this java class from jedeveloper. I have right clicked this class and went thru the wizard Create J2EE web services.
    5. At the end, the web service project got created successfully and I am trying to run this project from jdeveloper. When I run this project, I am getting the following kind of error message in the browser
    It looks like when the runtime deployment classes are trying to instantiate the abstract classes instead of the impl class. and for all the complex types they trow that error and the web service could not be even invoked.
    What could be the issue? Is the jaxb based web services supported with jdeveloper 10g?
    Thanks,
    Renga

  • 2-java clients communicate with java based web-service

    I'm new 2 web-services.
    I need to create 2-java clients(a game like chess) & communicate them through a java based web-service.
    I can create the web service.(using Netbeans getting started tutorial.only the basic stuff)
    when we create the 2-clients are those should be web-clients or are they should be normal java
    applications.
    (clients should be GUI based)
    ??

    I'm new 2 web-services.
    I need to create 2-java clients(a game like chess) & communicate them through a java based web-service.
    I can create the web service.(using Netbeans getting started tutorial.only the basic stuff)
    when we create the 2-clients are those should be web-clients or are they should be normal java
    applications.
    (clients should be GUI based)
    ??

  • Testing of Java-Based Webdynpro application in NWDS

    hi
    Hi
    I would like to test Java-Based webdynpro application in
    NWDS
    I am able to start and stop recording.
    But when press Start Replay Button.
    i am getting this error in the lower text area where messages area;
    <b>ERROR: Invalid Xml document received from the Xml Client. WindowId attribute is missing</b>
    pls replay ASAP
    Thanks
    Ravi Shankar

    Hi
      Ok now i get it. Well i guess i need to come out of mental block that WebDynpro for ABAP is not there :)..
    Well in that case it should work if you just record your test case.. What version of NDS are you using. It has worked for me.
    Create some inputfield and then deploy and test your application .. See if it runs.
    Then you right click on the application and say Record. It should run you through the screen. Once you are through stop the recording.
    The XML file can be viewed in the NWDS with the test data that you entered.
    regards
    Ravi

  • BC E-commerce integrated with Subscription Based Web Application

    I am considering using BC for my company's corporate website as well as the online store.  We sell a subscription based web application which will have 3 or more flavors (products) and will need to bill customers on a recurring monthly or annual basis.
    For the monthly subscriptions, we want to bill the customer based on the "highwater" mark with regards to user quantity for that given month.  This gives the users the flexibility to add/remove users freely without the fuss of having to contact a sales representative to adjust their account/recurring order. 
    I would imagine this would happen one of two ways:
    The user signs up creating their account both in our web application and the ecommerce site and is billed for the first time.  In the ensuing months, either: the e-commerce site communicates with our web application to get the high water mark quantity for that billing cycle or
    Our web application sends a new order each month to the e-commerce site, including the highwater mark quantity, giving the illusion to the user that it is indeed a recurring order but behind the scenes they are actually individual orders.
    Annual subscription customers are a bit more challenging.  We still want the users to have the flexibility to add/remove users with minimal effort. However, since they are being billed on an annual basis, prorating additional users will be necessary.  So if customer who previously purchased 5 licenses, adds 5 more licenses during month 6 of their annual subscription term, we would need the e-commerce solution to bill them once immediately for the 50% prorated 5 licenses, then bill them 6 month's later for the total 10 license subscription renewal.
    At a bit of higher level, we would prefer the customer to manage all their billing/account info within our web application rather than going to an external store to do so.
    One other caveat, we would prefer not to store credit card info on our site.  Preferably that would be stored in our payment gateway (Auth.net).  This may or may not affect the workflows described above.
    My Questions:
    Can the BC e-commerce solution support the workflows above?If so, is there any documentation/resources available to research this further?
    Are there any BC customers that currently do something similar?  If so, who and how similar?

    Hi Greg,
    From what you have described it seems to me that you need some complex server side logic which BC doesn't allow. In any case you'd have to develop an app that communicates between BC and that other application through our API, which will control the orders as per your requirement. In particular, there's no easy way for end user to control their recurring monthly or annual subscription, there's no way to apply immediate discounts according to earlier purchases that will satisfy this requirement "if customer who previously purchased 5 licenses, adds 5 more licenses during month 6 of their annual subscription term, we would need the e-commerce solution to bill them once immediately for the 50% prorated 5 licenses, then bill them 6 month's later for the total 10 license subscription renewal", you can't build in this functionality into BC " the e-commerce site communicates with our web application to get the high water mark quantity for that billing cycle" and there are few more things there which suggest to me that you need something custom.
    Cheers,
    -mario

  • 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

  • Sales order valuated stock - Goods receipt

    Hello, While posting goods receipt for PO which account assignment is sales order.It should valuate goods receipt on the purchase order price but it doesnot valuate on purchase order price. Example - PO with qty-100 and price 10.While posting goods r

  • Word issues with upgradeing reports built in 10 to crystal 2008

    We have a bunch of reports that were built and running with 10. We are trying to upgrade our servers to run with crystal 2008. The reports built in 10 have been working when run with the crystal 2008 runtime. With the exception of a problem when open

  • Sound from speakers and headphones alike are glitchy

    Hey I  have an Enyv ultrabook 4 core i5 and whenever i play music or watch something the sound is always glitchy. Anyone out there who can help?

  • Using download_print_document with dynamic procedure

    I am using the version of download_print_document that calls a function (returning clob) for my reports (see below). I need to dynamicaly change the procedure being called in p_report_data line based on what report they run. Is it possible to store t

  • Simcity 4 on intel mac

    Hi. I bought Simcity 4 for my intel mac and can't find a serial number on the case or anywhere. Is this normal for the Aspyr games? Not sure how essential it is to register the game but I just wanted to register on the site. I looked on the CD, on an