How can i deploy a web application from JDeveloper 10.1.3 to tomcat 5.5.x ?

hello i need easy way to deploy my jsf applications to tomcat .
i create an application server configuration in my JDeveloper now what ? how can i say to deploy the app to tomcat not to oracle application server.
another question :
the "deploy operation" must copy jsf , adf implementations jstl standartd common* and other jars to my tomcat project automaticly and it MUST make classes dir to be in WEB-INF\classes instead of project main.

Hi,
These steps worked for me:
(I assume you successfully created the server configuration)
1) Select your project and then go to Run --> Deploy --> New Deployment Profile
Select WAR file, OK,
Give a name and select a directory,
in the WAR Deployment Profile Properties page, choose the Target Connection in the "Profile" section.
2) Now the deployment profile must be ready.
Select your project and then go to Run --> Deploy --> your new profile.
This should deploy the project to Tomcat.
I saw all needed jars deployed as well. Maybe you should check if all the jars are selected in the "Export" column, in the Project Properties --> Libraries section.
For the last question, in Project Properties --> Project Content, change your output directory to WEB-INF\classes.
HTH,
Turgay Zengin

Similar Messages

  • Error while deploying ADF web application from JDeveloper 11g to Web Logic

    Hi,
    I developed application following "Developing RIA Web Applications with Oracle ADF" tutorial.
    It works fine when started locally, from JDevelopwr 11g (11.1.1.1.0).
    I tried to deploy it to remote Oracle WebLogic Server (10.3.1, with ADF libraries installed) from JDeveloper, but got:
    +[02:29:00 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRDemo on AdminServer.: Failed to load webapp: 'HRDemo.war'.+
    +[02:29:00 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet+
    +[02:29:00 PM] See server logs or server console for more details.+
    +[02:29:00 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] #### Deployment incomplete. ####+
    +[02:29:00 PM] Deployment Failed+
    Tried to add "ADF Common Web Runtime" to deployment profile's "Libraries selected for deployment" but than got:
    +[02:52:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRSystem_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'.+
    +[02:52:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet+
    +[02:52:44 PM] See server logs or server console for more details.+
    +[02:52:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] #### Deployment incomplete. ####+
    +[02:52:44 PM] Deployment Failed+
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 10, 2009 2:58 PM

    Hi,
    We did that earlier, too (modified existing domain).
    Also, after that, we created new domain and extended it according to you suggestions but no change.
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 11, 2009 10:20 AM

  • How can I deploy the WAR application in the Tomcat

    How can I deploy the WAR application in the Tomcat. Do I have to do any manifest file.
    Thanks
    S. Nikov

    First of all, which version of Tomcat are you using?
    Deploying a WAR file in Tomcat is very easy. Just put the WAR file in the %TOMCAT_HOME%\webapps directory and start Tomcat. It will automatically find the WAR.
    Please read the Tomcat documentation: start Tomcat and point your browser to http://localhost:8080
    Jesper

  • How can I call external web service from BPEL

    1. I have "EmpService" webservice (simple webservice to get emp salary, not in BPEL domain) running in Oracle AS host1. If I want to call this web service from BPEL in another host2. How can I do this?
    2. Is it a must to deploy this EmpService to Oracle BPEL domain in order to call it? If so, how can I deploy it. As many BPEL example tutorial demonstrate the "obant" command to deploy the BPEL process, but not show how to deploy a external web service not in BPEL project. Please help. ...

    Create a partner link in BPEL and point it to the WSDL deployed on external server.
    this thread will also help
    Axis generated WS to Bpel WS

  • Can not deploy after upgrading application from workshop 8.1 to 9.2

    Hi,
    We have an application developed on workshop 8.1 worked fine. when we upgrade the application to 9.2, the application can not be deployed on weblogic server. The error is
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(SynDesk:SynDesk
    Web)] Error parsing descriptor in Web appplication "C:\build\weboutput"
    "weblogic.application.ModuleException: Unmarshaller failed'
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    "weblogic.j2ee.descriptor.ParamValueBeanImpl@dccea29(/[NTLM HTTP Authentication
    Filter]/InitParams[jcifs.netbios.wins])"
    When I remove the NTLM filter part in the web.xml, the application is able to be deployed. But of course application does not work propertly due to no authentication.
    How can I fix the web.xml file with everything works as before? Thanks for your help
    Here is my web.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>SyndeskWeb Application</display-name>
    <description/>
    <filter>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <filter-class>com.mycompany.BofaNtlmFilter</filter-class>
    <init-param>
    <description/>
    <param-name>jcifs.netbios.wins</param-name>
    <param-value>crpsecwin00.mycompany.com</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>jcifs.netbios.wins</param-name>
    <param-value>crpchiwin00.mycompany.com</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>jcifs.util.log</param-name>
    <param-value>ALL</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>bofa.retryCount</param-name>
    <param-value>1</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>bofa.retrySleepTime</param-name>
    <param-value>60</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <url-pattern>*.jpf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <url-pattern>*.do</url-pattern>
    </filter-mapping>
    <servlet>
    <description/>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.PageFlowActionServlet</servlet-class>
    <init-param>
    <description/>
    <param-name>config</param-name>
    <param-value>/_pageflow/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>config/-global</param-name>
    <param-value>/_pageflow/struts-config--global.xml</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <welcome-file-list>
    <welcome-file>Controller.jpf</welcome-file>
    </welcome-file-list>
    <error-page>
    <error-code>500</error-code>
    <location>/error.jsp</location>
    </error-page>
    <error-page>
    <error-code>505</error-code>
    <location>/error.jsp</location>
    </error-page>
    <error-page>
    <error-code>404</error-code>
    <location>/Controller.jpf</location>
    </error-page>
    <jsp-config>
    <taglib>
    <taglib-uri>netui-tags-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/netui-tags-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>netui-tags-databinding.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/netui-tags-databinding.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>netui-tags-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/netui-tags-template.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>c.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>fmt.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>sql.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/sql.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>x.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/x.tld</taglib-location>
    </taglib>
    </jsp-config>
    <filter>
    <filter-name>PageFlowJspFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowJspFilter</filter-class>
    </filter>
    <filter>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowForbiddenFilter</filter-class>
    <init-param>
    <param-name>response-code</param-name>
    <param-value>404</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.java</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jsfb</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jpfs</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>/_pageflow/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.PageFlowContextListener</listener-class>
    </listener>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.HttpSessionMutexListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.xmlhttprequest.XmlHttpRequestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.jpf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.xhr</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.render</url-pattern>
    </servlet-mapping>
    </web-app>
    Edited by cynthialiu at 05/28/2008 12:16 PM

    Hi. The issue is a level or two above JDBC. I suggest
    opening an official support case. It's probably a
    WLW issue.
    Joe

  • How can I communicate with other applications from my Java application?

    Hello,
    I need help about how can i communicate with other application(say textpad.exe/wordpad.exe/MS word.exe) from my Java program.
    More precisely, I need to know how i can get the current position of the cursor whether it is in any .txt/.doc files, then I may write some text in my java application and click a button and then my program will append the line(string) in that position of the file which is running under another appliction(Notepade.exe/MSword.exe).
    Please provide me some help.

    I may be wrong (and anyone, please correct me if so), but Java may not be the best tool for something such as this. I envision that you'd have to make some OS calls such as calls to the user32.dll, and while this can be done through the JNI, you'd still have to have a C or C++ program doing the dirty work.

  • Help: How can I deploy my [TP4]  Applications in Simple Steps using OC4J 11

    deploy apps to OC4J standalone TP4
    Hi,
    I installed Oracle Continer OC4J 11 and Started OK
    but with this warning " J2EE JNDI-00002"
    Now : How can I deploy my Application pls in Simple Steps?
    is this link below Related to Version [TP4] or what ?
    http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    thanks
    Forakora

    Read this thread:
    Can Jdeveloper TP4 deploy apps to OC4J standalone TP4

  • How can I create a web Service from my Web Dynpro Application ?

    Hi,
    Kindly let me know How I could create a "Web Service" with my Web Dynpro DC project.
    Awaiting your responses.
    Regards,
    Mahesh

    Hi Mahesh,
          You can use the web services by creating the Model in web Dynpro
    And if you want to publish your own web service then you have to create a EJB module and publish as a web service.
    Thanks
    Ninad

  • How can i deploy a silverlight application when it contains an aspx page (And Aspx page content is a DevExpress Scheduler)

    I have a silverlight application. It has containing many navigation pages in it. One of this pages is containing an .aspx page and i have used devexpress scheduler on there. It is working perfect on development machine but on production machine when client
    logged and navigate to the scheduler page there is a message top of the page saying
    webbrowser is enabled only for out-of-browser applications running with elevated permissions in Internet Explorer.
    And i have found something like that
    https://msdn.microsoft.com/en-us/library/gg192793(v=vs.95)
    But I think my problem is not that in my project properties i always checked the require permission checkbox. i couldnt understand this behavior and how can i solve. I tryed to use .pfx file by adding in project properties signing tub. Even i couldnt understand
    how why are we using this certificate and is it interesting with it
    Also now i seen in my development machine when i opened this page a popup window come up this message:
    the current webpage is trying to open a site in your trusted sites list. Do you want to allow this?
    current site: res/npctrUI.dll
    Trusted site: localhost
    warning allowing this can expose your computer to security risk. If you dont trust the current page, choose no.
    regards
    Hamit YILDIRIM

    Things that require elevated trust will always work in visual studio.
    You need elevated trust to use the webbrowser inside a Silverlight page on a user's machine.
    That means purchasing a security certificate.
    https://msdn.microsoft.com/en-us/library/gg192793(v=vs.95)
    You can open up any old web page in another tab from Silverlight and I would suggest you consider that instead of using a webbrowser control inside a Silverlight page.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • How can I know the web application name of a report?

    Hi forum,
    I have a query that is used by web. I need to know the name and how to access to application web of report
    any idea
    thanks in advance

    Hi,
    If you know the Query name,you can get name of the webtemplate from metadata repository.
    go to RSA1>MetadataRepository>click 'Query'>it will display all the Queries>search for your Query (cntrl+F)-->cliclk on it. You can see the Workbooks,webtemplate,chars,kfs...etc which are related to this Query.
    thanks

  • How can I debug a web application running on Weblogic 10.3

    Hello,
    I have inherited a NetUI Web Application developed using Weblogic Workshop and I can't manage to debug it. I have configure my server in Workshop and to debug it I right-click the project in Project Exporer and select Debug As -> Debug On Server, but this isn't working. The browser does open the application doesn't appear to be getting delpoyed.
    Can anyone help me out? I am using Weblogic 10.3 and Java 1.6.
    Thanks,
    Sean

    Hi Kal,
    The application is an enterprise application packaged as an EAR. if I right click on the project and click Debug As -> Debug on Server, the application appears in the Server Tab, but it does not start automatically. If I then manually start the server the application runs, but it does not stop at break points and I can not debug it.
    If I right-click on the web project that is packaged as part of the ear and select Debug As -> Debug On Server again the application is deployed, but I can't debug it. I don't get error messages, the application functions as normal but it does not stop at break points. When I attempt to debug the application via the Web Project, two browsers open automatically, both correctly displaying the application.
    Regards,
    Sean

  • How can i migrate a single application from my old macbook to my new macbook

    Can I migrate only single applications or files using the migration assistant? how?

    I feel I've explained plenty what you must do but you aren't getting it.
    All music on your old iPhone should be in your iTunes library on your computer. Transfer the music from your iTunes library on your computer to your new iPhone in the same way it was transferred from your iTunes library to your old iPhone - via the iTunes sync/transfer process.
    Since you prefer the manual way, you must manually drag and drop the same 377 songs from your iTunes library to your new iPhone - in the same way the 377 songs were manually transferred from your iTunes library to your old iPhone.
    Or you can sync which provides more options overall. Create an iTunes playlist for the 377 songs. Select Sync Music under the Music tab for your iPhone sync preferences with iTunes and choose selected playlists, artists, albums, and genres. Select the iTunes playlist below that includes the 377 songs followed by a sync.  

  • How can I develop a web application using EJB design pattern?

    I have searched over the web and found quite a lot of tutorials on how to use the EJB design pattern.
    I know that there will be a home interface, EJB object interface and a SessionBean.
    But the tutorials often only cover a single class, this made me unable to get a complete picture of how EJB design pattern can be implemented into a whole system.
    I am now required to devleop an online shopping web application using EJB and JSP page.
    I think I will need to create a lot of classes: Member, ShoppingCart, Product...etc.
    What I want to ask is that, do I need to create a home interface, EJB object interface and a SessionBean for each of these classes?
    I really need some ideas on how to develop this system using EJB + JSP pages.
    Many thanks to you all.

    For every EJB that you want to create, you will need to code a home and remote interface and a bean class.
    You could start getting your ideas here
    http://www.theserverside.com/books/wiley/masteringEJB/
    http://www.coreservlets.com

  • How can I get the web application's context root?

    I have a web application, which is defined in Tomcat's server.xml:
    <Context path="/cbes" docBase="e:\work\GM\code\CBESCurrency" debug="0"
    reloadable="true" crossContext="false"/>
    And I hava a servlet in this web application.
    How can I get the context root of the web application?
    in this example: reture should be "cbes" or "/cbes"
    how?
    thanks alot.

    getContextPath() in javax.servlet.http.HttpServletRequest

  • How can I restore just one application from Time Machine?

    Hello, I have just one application that is really acting quirky and won't load correctly anymore and I would like to restore that application from Time Machine but am just not sure how to do that. Can someone please walk me through step by step on how to restore just one application. Thank you. Jean
    Message was edited by: anokienurse

    Before you restore an application from a Time Machine backup it would be wiser to remove the current installed copy then reinstall from the application's original distribution medium - download, CD/DVD, etc. The reason for this is that Time Machine backs up every hour. By now the bad version of this application is now backed up to your Time Machine backup drive. Restoring from the backup won't resolve your problem.
    First, uninstall the old program. If the program came with an uninstaller then use it. If not then start by deleting the application from the Applications folder. Then locate all the support files associated with the application and remove them, too. Look for these in:
    /Users/yourusername/Library/Preferences
    /Users/yourusername/Library/Applications Support
    Applications may come with a separate uninstaller program that could also be in your Applications folder. Some applications may install other files in other locations on your computer. If you tell us what the application is we may be able to provide additional help.
    You may find more information here: The XLab FAQs. Read the FAQ on uninstalling software.

Maybe you are looking for

  • PC crashes when using a lot of my bandwidth

    I've posted this message on numerous hardware support forums. Basically, whenever I'm using my internet to download something, my PC freezes up with no way to restart other than forcing a shutdown by removing the plug. I can use light programs like S

  • Communicating with objects running in different JVM's

    Hi All I have a program which is running in multiple JVM.Each Jvm is using some special object. Now i need to monitor the state of that special object using a GUI sort of tool.ie i need to build a gui for seeing those special objects in all the runni

  • Can I add a Comments box to a non-Blog or Podcast page?

    I want to create a website that allows friends and family to add comments. Do I have to use a Blog or Podcast format or can I create a Blank page that will allow comments? Are there any other applications besides iWeb that will allow me to do this if

  • How do I get around password?

    My ipad was upgraded and password wont let me pass to get to settings to disable password. Can't even get pass signin screen.

  • GetSystemPropery in OSB

    Hi, i need to get the Domain Name in my OSB Proxy Service. how can i retrieve the Domain Name. if i need amanged server name i can use System.getProperty("weblogic.Name") in java callout. similarly can we have any peoperty like weblogic.DomainName to