Is it possible to deploy a portlet war file on web container?

Hi All,
Is it possible to deploy a portlet war file on web container i.e say I have a JSF or struts portlet application deployed on a portal container which I need to run as a web application.
So, I would need to deploy the application on web container.
Can this be done directly without making any changes and without importing jars?or is it not possible at all?
Did anyone try this?
Would be very nice of you if you can reply asap.
Thanks & Regards,
Nishant

I'm not sure using the DVT enabler portlet will do what you want. It basically just specifies the render dependencies to bring in the dojo and dvt javascript libraries. It doesn't provide any login support itself; the javascript it brings responds to the logged-in state of the user (accessed via DISC), so something else is required to login the user.
Greg

Similar Messages

  • Possible to deploy Dist Auth in the same web container with Policy Agent?

    I have a client who has limited hardware resources and wants to deploy the distributed authentication UI in the same web container as the policy agent. Has anyone successfully done this?

    I'm sure it's possible just make sure the DAUI context (e.g. /distAuth) in the agent's configuration for the web server is in the not enforced list properties for the agent.
    However, it's so easy just to put an Apache HTTP server/tomcat and run daui, then setup another web server (Sun, Apache, etc.) with an agent or vice versa and you don't have to worry about the agent clobbering DAUI.

  • ErrorJarUpdate on deploying portlet war file

    I'm trying to deploy a war file of portlets. Upon running pdeploy, I get the following errors in the pdeploy.debug log:
    10/07/2004 10:11:00:617 AM CDT: Thread[main,5,main]
    ERROR: Exception:
    com.sun.portal.portlet.cli.PortletDeployerException: errorJarUpdate
    at com.sun.portal.portlet.cli.PDDeploy.process(PDDeploy.java:219)
    at com.sun.portal.portlet.cli.PortletDeployerCommand.runCommand(PortletDeployerCommand.java:209)
    at com.sun.portal.portlet.cli.PortletDeployerMain.main(PortletDeployerMain.java:54)
    Syntax of pdeploy command is correct, passwords are valid for both portal server admin and webserver admin and it doesn't appear to be related to file permissions - this is a stand-alone test environment so permissions are fairly wide open.
    Suggestions on what else to look for?
    Dana

    How are you specifying the "pdeploy" command?
    I have actually ran into issues attempting to run pdeploy jsr 168 portlet WAR files and have discovered that you can get the "errorJarUpate" error for any generic issue from everything to having a bad element in one of your "xml" files to having an issue with your GenericPortlet implementation.
    Have you tried running this with a simple "helloworld" type of portlet?

  • Struts2 webapp is not starting up when deployed as unexploded war file

    Whereas if I deploy as exploded war file it works just fine.
    I am seeing following error when deploying as unexploded war file. I am deploying in weblogic 10.3. Using struts 2 with Spring as object factory.
    'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1235449766296> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
    Action class [logAction] not found - action - zip:C:/servers/bea10/user_projects/domains/ro_domain/servers/AdminServer/tmp/_WL_user/loginWeb/tlbxoe/war/WEB-INF/lib/_wl_cls_gen.jar!/struts.xml:60:60
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:374)
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:329)
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:429)
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:239)
    at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
    at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:152)
    at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
    at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
    at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)
    at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:329)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:95)
    Thanks in advance for your help.

    Post your question in WebLogic forum here:
    WebLogic Server - General

  • Deploying an existing WAR file into the Portal

    I have downloaded the Enterprise Portal and the SAP Netweaver Developer Studio (NDS) and have succeeded in creating a couple of projects of the ‘Hello World’ variety and deployed them on the Portal!  So far, so good.
    The problem I have is that need to deploy on the Portal an existing JSP/Struts application of ours which is available as a Web Archive (WAR) file.
    The problem is that I cannot find a way of deploying an existing WAR file on the Portal – either via a Project or otherwise.  I have found an entry in the Help files with the NDS which sounds promising, as it is entitled ‘Import a .WAR File into a new project’.  However, the menu entry it says you should use (File &#8209;> Import &#8209;> MDK: Import a web archive (.WAR) into a new project) this last entry does not exist on my installation of NDS.
    Any ideas or suggestions?

    Hi Mustafa (and All) - thanks you very much for your answers, which has enabled me to make good progress.
    I have created a project in the Deploy Tool, imported a simple WAR file into it, loaded to project and depployed it on my instance of the Portal - or at least I have deployed it as far as the Deploy Tool is concerned. 
    However, when I try to find it in the Portal in order to assign it to an iView in the Portal content, I can't find any evidence of its existence!!
    As another 'tack' in the NDS I have created an 'Enterprise Application Project', into which I appear to have imported the WAR file - but I cant package this as a PAR file, which is what I seem to need to do to get it into an iView on the Portal.  To create a PAR package I seem to need to create a 'Portal Application Project' - but I can't find a way of getting the WAR file into that!!
    Any further advice would be greatefully received.
    Thanks for your help to date and thanks in advance for any more you may be able to give.
    Regards,
    Dave

  • Deploy servlet with WAR file

    Has anyone successfully deployed servlets using WAR file?I think I did everything right. The WAR file was deployed. But I can't accesss it.
              

    I use .war files for deploying servlets in WLS 6.0 - they are much easier
              than exploded dirs...
              Usually, when I have a problem accessing the servlet once deployed, it's
              almost always the deployment descriptor.
              "Randy" <[email protected]> wrote in message
              news:3b311258$[email protected]..
              > Has anyone successfully deployed servlets using WAR file?I think I did
              everything right. The WAR file was deployed. But I can't accesss it.
              

  • Where I can find .WAR file for web UI?

    I would like to use jakarta project
    web container for webUI.How I can accomplish
    this?

    Hello, I mean tomcat of jakarta.apache.org project- it's web container but .war file is web application archive as specified in servlet 2.2 spec.
    Why? I need support for latest spec. servlet 2.2/jsp 1.2 that provided by tomcat 4.0 beta(as standalone it's working fine for me;)). I'll be more concrete
    I need sophisticated JSP rendering engine for:
    Using JSPs of developer guide:
    <
    Deploying Java Beans and JSPs
    All compiled Java Beans must be stored in the directory $ORACLE_HOME/ifs/custom_classes on the server where Oracle iFS is installed.
    The Oracle iFS product comes with a starting-point directory structure. One of the folders in that structure is reserved for holding JSPs: $ORACLE_HOME/ifs/jsp-bin. To have your JSP compile and execute properly in Oracle iFS, you must store the JSP in this folder. JSPs stored elsewhere will not be executed by the Oracle iFS JSP compiler.
    >
    I would like to use web UI as frontend and my JSPs/servlets as extension of this application. It's easy create custom web app if I have ready .WAR file-it's portable
    between web containers and well structured... For example this schema doesn't have such constraints as location of JSPs and beans support classes location is well known-
    WEB-INF/classes for .WAR structured file, in WEB-INF/lib can be placed different ifs libs and all is clean and portable;).
    I mean webUI must not be integrated part of ifs- it must be developer tool( extensible and reusable).By the way who give constraints on JSPs/classes location: HTTP server of ifs
    or webUI?
    It's very nice that IFS has such thing as webUI but that if I can use it as dead(stable) code:(. I need write myself webUI presenting IFS document structure but why?
    Web UI is future(IE 5.5/w3 and other standards based;) so why put on it such restrictions.
    Best regards.
    P.S I can infiltrate web app from ifs- but it's not right(I can do something wrong).If I can help you somehow tell me.
    null

  • Fail to Deploy the applicaiton WAR file build by Spring2.5 framework

    The War File build by Spring2.5 Framework can deploy and run successfully on Local WebLogic (10.3.6)
    but this WAR file can not deploy on Java Cloud Service ;
    I tried to deploy it on the Java Cloud Services Control pages and with OEPE (the Eclipse IDE whichi download from Oracle Cloud Official ) ,but these two were all failed !
    the error logs as below ,and their no noticeable info in logs , ple help to fix it
    Thanks
    LOGS
    Deployment to Oracle Cloud failed, please check Error Log for detail.
    [deploy]
    2013-02-21 01:18:56 CST: Starting action "Deploy Application"
    2013-02-21 01:18:56 CST: Deploy Application started
    2013-02-21 01:19:02 CST: weblogic.application.ModuleException:
    2013-02-21 01:19:02 CST: WLS action state: failed
    2013-02-21 01:19:02 CST: Action FAILED with WLS state: failed
    2013-02-21 01:19:02 CST: Application deployment failed.
    2013-02-21 01:19:03 CST: [Deployer:149194]Operation 'remove' on application 'helloSpring' has succeeded on 'm0'
    2013-02-21 01:19:03 CST: WLS action state: completed
    2013-02-21 01:19:03 CST: "Deploy Application" complete: status FAILED
    [virus-scan]
    2013-02-21 01:18:36 CST: Starting action "Virus Scan"
    2013-02-21 01:18:36 CST: Virus Scan started
    2013-02-21 01:18:53 CST: ----------------------------------------------------------------------
    2013-02-21 01:18:53 CST: File Scanned:     "helloSpring.war".
    2013-02-21 01:18:53 CST: File Size:     "4049531".
    2013-02-21 01:18:53 CST: File Status:     "CLEAN".
    2013-02-21 01:18:53 CST: ----------------------------------------------------------------------
    2013-02-21 01:18:53 CST: Virus scan passed.
    2013-02-21 01:18:53 CST: "Virus Scan" complete: status SUCCESS
    [whitelist]
    2013-02-21 01:18:53 CST: Starting action "API Whitelist"
    2013-02-21 01:18:53 CST: API Whitelist started
    2013-02-21 01:18:56 CST: WARNING - There are 3 warnings(s) found for helloSpring.war.
    2013-02-21 01:18:56 CST: WARNING - Path:helloSpring.war (3 Warnings)
    2013-02-21 01:18:56 CST: WARNING - Path:helloSpring.war (3 Warnings)
    2013-02-21 01:18:56 CST: WARNING - Path:WEB-INF**** (1 Warning)
    2013-02-21 01:18:56 CST: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:5.
    2013-02-21 01:18:56 CST: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-02-21 01:18:56 CST: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-02-21 01:18:56 CST: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-02-21 01:18:56 CST: WARNING - helloSpring.war had 3 warning(s).
    2013-02-21 01:18:56 CST: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-02-21 01:18:56 CST: Whitelist validation passed.
    2013-02-21 01:18:56 CST: "API Whitelist" complete: status SUCCESS

    This kind of deployment error is typically caused by usage of certain API's or an attempt by the SpringFramework to get certain restricted resources .
    Can you please find the Service logs (Via Java service Console " View Service Logs" link ) and se if anything is reported in the timeframe when this deployment error happend.

  • Deploying the fop.war file for PDF printing

    I suppose this should maybe be in the App server thread but im following instructions from here to enable PDF printing in APEX
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html#05
    The instructions are a bit out of date but
    I navigate to the OC4J home > select applications > Deploy WAR file
    browse for the fop.war file on local machine
    for Application Name i have ApexFOP
    for Map to URL I have /apex/fop
    then I click Deploy
    it says succesfully loaded but when I click on the ApexFOP in the Deployed applications list it says not loaded
    I have re-started the OC4J
    any help would be very gratefully recieved , I'm going nuts trying to do this
    Cheers

    I copied an existing working structure and this worked for me.

  • How to Deploy a ColdFusion WAR File

    ColdFusion 9 (and other versions) has the ability to package a CF application as a WAR file.  Has anybody on the planet ever done this and successfully deployed their ColdFusion application to something like CloudBees (http://www.cloudbees.com/) or Amazon Elastic Beanstalk (http://aws.amazon.com/elasticbeanstalk/)? 
    I have tried both and failed.  Google is strangely silent on the issue, coming back with almost no search results.  Has anyone out there done anything like this?
    Thanks!
    Steve

    DId you deploy CF on AWS or Cloudbees yet? I'm about to embark on this task.
    I'll share once complete.
    Thanks.

  • Deploying the new war file without stopping the server

    How can i deploy my updated application war file without stopping the server as the user sessions in my application and transactions as well as users request has to be carried out during the deploy process.
    Edited by: Kaywin on Jan 28, 2008 10:39 AM

    You can update web application via Administration GUI and then deploy the configuration. You don't have to restart the server for it. Assuming you are using 7.0 u2, follow the steps as below to update the web application:-
    - Login to Administration Console
    - Go to Virtual Servers tab under a Server Configuration, for deploying a web application (Configurations -> <config_name -> Virtual Servers -> <vs_name>)
    - Click on Web Applications tab and check the web application in the "Web Applications" table and then click on Update button.
    - Point to the updated war file in the pop up and click ok
    - Now just deploy the configuration by clicking on "Deployment Pending" link on the top right of the page
    Here is the docs page which has more information about web application deployment -
    http://docs.sun.com/app/docs/doc/820-2202/gbrmp?a=view
    Hope this helps

  • Deploy Tomcat with .war file from JSC IDE(Help me, Please!)

    first run:
    com.sun.rave.web.ui.appbase.ApplicationException: #{BranchSet.button1_action}: javax.faces.el.EvaluationException: java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.locatorsUpdateCopy()Z
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:302)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    but, second run,that's all right!
    Why? Why? Why? Why?
    Any answer, very very admire

    remember that each time u export a jsc application to a war file, u should rename the war file before deployin on tomcat server, to work properly.

  • Advantages and disadvantages creation of war file in web application......

    Hi friends.... I'm new to java....
    according to my little knowledge creating a war file is optional,
    but i don't know if we directly deployed web application like servlet application in the web server(ex: webapps in TOMCAT)
    what problems may get if my computer system not in the network and what problems may get if my computer system in the network....i know we must create a war file for appropriate application if the server is in remote place....
    please reply.....thank you

    Isn't it easier to deploy one file than it is to deploy dozens, hundreds, even thousands?

  • Trouble with war file contianing web.xml

    I have a problem with my ISP. I have to send a war file to upload my files. It includes my web.xml file, but it seems that it's ignored when i visit my site. Can somebody help me with this. When I run the web.xml file on my own computer it works fine.
    I create my war file at the moment with the command jar cvf name.war -C d:\directory .
    It also look like a good deploy of the site because everything gets into the right please.
    Tnx for the help already

    Well when I go to my site and I go into my small Content Management System I press a button and it should call on a page under de alias admintool. In my web.xml file it will redirect the request to the proper class file. This doesn't work. I also add a form-login-page option into my web.xml file. So that when I call on a page it should redirect to a login screen. But that doesn't work also. It doesn't redirect, it's goes straight to the page that should be secure.

  • How to create a war file of web application

    Hi Techies
    How to create a war file of the web application?
    And plz tell me the utilities used for it.

    hi,
    To compress a 'abc' web application into a "Web Archive" file named abc.war, follow the steps below:
    1> Open a command prompt and cd to the application's dir:
    <TOMCAT_HOME>\webapps\abc
    2> Use the java archive command 'jar' to bundle up your application:
    jar -cvf abc.war *
    3> Move this to any other server and work with it!! :)
    -- Abdel Raoof Olakara
    http://olakara.googlepages.com

Maybe you are looking for