Deploying application hangs at web module deployment, need oas restart

hi,
I have an oc4j instance configured within oas 10.
every 5th ear deployment fails at web module processing. the web-console just reloads itself in an infinite loop.
server does not response any more, need a complete restart.
any ideas?
regards,
Gergely

I found this thread useful: 10.1.3 Apps Server java.lang.OutOfMemoryError: PermGen space

Similar Messages

  • Web Dynpro Application Deployment need server restart?

    Hi Everyone,
    When deploying Web Dynpro application on production environment, do we need to restart the sap portal system and server?
    I have this issue that when ever we deployed new develop Web Dynpro application with new Abap Function module we need to restart our Enterprise portal production server. Is this really necessary. Is there other way to deploy Web Dynpro application with new Abap function module without restarting the server.
    Please help,
    Michael Mondelo

    Hi michel,
    for example , assume you imported a RFC bapi_flights from r/3 to webdynpro dc , and both rfc requests and webdynpro application is deployed to the development server and then moved to quality server.
    now you have done some changes in the rfc bapi_flights i  mean change in the structure .
    case 1 : now with out reimporting the change to webdynpro application and you move the request to the quality r/3, your application dumps . because the structure change is not incorporated at your webdynpro DC.
    case 2 : you have re imported the rfc incorporating the changes to the web dynpro applicaiton dc, now with out moving the structure changes request to the quality r/3 and you deploy the webdynpro Dc having the changes to your quality EP , still the applicaiton dumps because your appliction refers to the rfc with out structure change in quality r/3.
    case 3 : you have moved the abap request having the strucutre change and also the webdynpro development component where the changes are also incorporated , now on moving both , your application might dump , because the meta data cache might have been not updated with the new structure change in the quality ep server. so you have invalidate the cache in the JCos you have used to import the rfc. or else on restarting the EP server , the new structure change will be updated in the server.
    most of the cases  Invalidation of cache works and in some cases you have restart the server fo the changes to update.
    Regards
    Govardan Raj

  • Deploying application with several web modules having the same context root

    Hi,
    I would like to be able to deploy an application in Weblogic 12c having one ejb module and several web modules with the same context root. Even though the web modules have the same context root, each of them is deployed to a different virtual host.
    Weblogic allows deploying the modules this way as long as their targets are different (i.e. each having a distinct virtual host). However this works only when I don't select a target for the .ear:
    Component Type Current Targets
    application.ear Enterprise Application (None specified)
    application.jar EJB AdminServer
    web1.war WEBAPP virtualHost1
    web2.war WEBAPP virtualHost2
    However if I select as target for the .ear to be AdminServer, the deployment doesn't work anymore, complaining that the context roots are in conflict.
    If I remove web2.war from the .ear and deploy the .ear and .jar to AdminServer and web1.war to virtualHost1, the deployment works but the strange thing is that the web application can be accessed also through the AdminServer's main network channel, even though I would expect that it should be accessible only through virtualHost1 network channel. I believe this is the reason why there are context root conflicts when specifying a target for the .ear, because both wars are made accessible to the main network channel.
    The reason why I want to keep the wars inside the same .ear is because I want to make them access the application's local EJBs (since as far as I know it's not possible to access a local EJB outside the application even if they belong to the same VM).
    Is there a way to deploy the web modules only to the virtual hosts without being targeted to the main network channel?
    Regards,
    Alexandru

    Murphy's Law: If anything can go wrong it will
    A corollary to Murphy's law: When everything fails, read the manual.
    Web application funda: Every web application must have its own context root. So, if wkfsocos is one
    web application then, wkfsocos1 is another web application -
    and hence must have its own context root.
    Hello Aman,
    If you are in E-Commerce version 4.0, then read this
    [ISA_Buildtool document |https://service.sap.com/~sapdownload/011000358700001920472003E/ISA_BuildTool_10.pdf]
    to create a copy of the application in its own context root.
    From your URL pattern I guess you are in E-Commerce version 4.0.
    If you are in E-Commerce 5.0 or above, then the
    [Extension Guide |http://service.sap.com/~sapdownload/011000358700006120622006E/]gives steps to create a copy with its own context root for use in modification.
    (See the chapter on - Creating a project specific Web Application with own context root )
    Both these links require access to SAP Service Marketplace. You can also find the
    documents through /instguides shortcut in Service Marketplace.
    Easwar Ram
    http://www.parxlns.com

  • I get an error message when I double click on Firefox... It says an application is already running and I need to restart my computer

    I get an error message when I try to re-launch Firefox. I believe I have closed it out. When I try to launch the application it gives me an error message saying it is already running. it tells me I need to restart the computer

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.1 r53
    # Java Plug-in 1.5.0_06 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Integrate a Web Module's JSP into an iView in NetWeaver CE 7.2

    Hi everybody,
    I am not sure whether this is the right spot to post this, but I will give it a try anyway.
    We want to develop an Enterprise Application containing a Web Module. Basically it is a Java EE application that has a business tier consisting of a couple of beans and business objects and a web tier consisting of JSPs and servlets. What I want to do is to integrate it into the portal content via an iView. We only use a web module in order to integrate servlets to handle AJAX requests made via javascript and because you can only make a servlet-mapping within the web.xml (as far as I know).
    Now I have created both the Enterprise Application Project as well as a Dynamic Web Project in the NWDS 7.2 according to the SAP manual. My servlet class as well as the beans are contained within the Dynamic Web Project's Java source folder. In the Web Content folder are the JSPs, css and javascript files. I deployed that application successfully via the NWDS and I can see under the application console of the NetWeaver Administrator that the application is deployed and alledgedly started, yet I cannot see it in the PCD. Therefore I cannot directly include it into a page and by that make it available to portal users. Also, I cannot access the application via the url http://<host>:<port>/<url as defined in application.xml>.
    How can this be done?
    Normally, I would do this by creating an iView from Template in the PCD's folder containing my designated page and role and adding it to the page as a deltalink. Yet when I try to do this, the portal offers me a long list of iView types, none of which seem to match my desire of matching a Web Module or Enterprise Application. Is that possible at all or what do I have to do to achieve this? I had no problem to integrate my application as a Portal Application, which is also deployed as an .ear, but that lacks the possibility to use servlets - at least from my understanding, since I cannot integrate a servlet-mapping into the portalapp.xml and there is no web.xml in a Portal Application.
    I have been trying this for two days now and didn't succeed. Is it possible at all, and if so, how? Any help is highly appreciated!
    Thanks in advance,
    Serg

    Hello,
    You can use the j2ee telnet console and using it you can deploy the files
    you can follow the example given in the note
    743630 - How to deploy libraries on J2EE Engine 6.20
    after ADD DEPLOY
    DEPLOY <filename>.SCA
    I hope this should work
    Regards,
    Chandru

  • Share files between web modules

    As far as I understand, a web module corresponds to a single web page, possibly within a web application that contains multiple web modules (pages). So if my web application has two pages, they would each be a web module. For example,
    http://www.myapp.com (home page = root module /)
    http://www.myapp.com/contact (contact page = contact module /contact)
    I put both of these modules in an ear file to create a web application. However, the root module contains some .js javascript files and a css file that I want to use in all of the modules of my application. Also, I would like to share some tag libraries between the modules (pages) in my applcation, each of which has its own web.xml file which defines the uri and location of the tags.
    Is this possible, or do I need to put all of the pages in my site into one web module?

    A web module is a web application. The entire bookstore example is one web module.
    A Web module represents a Web application. A Web module is created by assembling servlets, JavaServer Pages (JSP) files, and static content such as Hypertext Markup Language (HTML) pages into a single deployable unit. Web modules are stored in Web archive (WAR) files, which are standard Java archive files.

  • Web module questions

    is it necesary to have a web module in order to use servlets? and where is a good tutorial for web modules i need to know wich files are necesary web.xml .war those files how to build them in order to just run one simple servlet, in the examples from javaee5tutorial there are many files are all those files necesary?:
    /build.xml
    /web/WEB-INF/sun-web.xml
    /web/WEB-INF/web.xml
    /nbproject/build-impl.xml
    /nbproject/project.xml
    /nbproject/project.properties
    etc...

    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/

  • LDAP changes needs a restart

    We have a hybrid LDAP configurations where the roles are mapped to the groups created in LDAP. For some reason, after the roles have been assigned to groups, the cluster where engine is deployed needs a restart. Although the engine has a polling thread to directory, this does not pick it up automatically.

    Hi,
    Both DPM 2012 R2 UR3 and UR4 contain fixes to the file block level tracking filter driver that can only be replaced during a reboot without causing all protected data sources from going inconsistent.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • FORMS - WEB DEPLOYMENT - NEED HELP -

    Hi
    We have developed some forms using Forms 6.0 on Win NT and now
    wish to deploy that on Web. We have installed Developer Server
    (For Forms, Reports and Graphics) in one of our UNIX boxes.
    What steps are needed to get the Forms run on our Intranet as
    HTML documents?
    Thanks for reply in advance
    Karthi
    null

    Karthi (guest) wrote:
    : Hi
    : We have developed some forms using Forms 6.0 on Win NT and now
    : wish to deploy that on Web. We have installed Developer Server
    : (For Forms, Reports and Graphics) in one of our UNIX boxes.
    : What steps are needed to get the Forms run on our Intranet as
    : HTML documents?
    : Thanks for reply in advance
    : Karthi
    Hi Karthi,
    Forms is not a HTML web deployment. The deployment is based on
    generic Applets. This means that we are transferring the UI to a
    browser by simply replacing Motif (in your case) with Java on the
    server side. If you want to deploy a Forma application in the web
    just create s static HTML file (example files can be viewed after
    installing JInitiator) with a reference to your Forms Module that
    you use as a starting point. Start the Forms Server on the
    command shell with f60ctl start port=9000 (if yiou want to use
    port 9000). Via the web you access the Forms Server by calling
    the static HTML File. In this HTML there is a request for the
    Forms Listener.
    Hope this short answer will give you a hint.
    null

  • Web modules don't get deployed to cluster instance directory

    Hi,
    I have a domain with one cluster, which has one instance. Sometimes (!), the web aplications I deploy don't get unpacked in the directory {instanceRoot}/applications/j2ee-modules but only in {domainRoot}/applications/j2ee-modules. When that happens, they don't work and I cannot access them through their URL.
    I deploy them using the web admin console, enable the to the cluster in question. Everything goes ok (or at least the UI says so) and in the domain.xml I have this:
    <web-module availability-enabled="false" context-root="/myapp" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/myapp" name="myapp" object-type="user"/>
    <server...
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="myapp"/>
    <cluster...
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="myapp"/>
    In both the apps the were copied to the instance applications dir and in the ones that remained only in the domain applications dir (and do not work). In the latter, the location dir does not exist.
    Anyone has gone through any similar situation? This deployment process is a bit confusing for me, wrt instances, clusters, domains etc.
    Thanks!
    Jo�o.

    Thanks for the answer.
    But how is this mechanism controlled? Sometimes, the domain just doesn't seem to propagate the changes to the cluster instances (or stand-alone instances). For example, sometimes when I change a property of a data source through the admin gui of the domain, it does not get propagated to the desired instance config, even after restarting the whole system.
    I think that it may have something to do with the manual changes that I have to do sometimes in the domain.xml file (this is neede when you have huge config changes to be replicated in many servers).
    Is there any option to enforce the replication of the config from the domain to the instances? Or at least to make it verbose so that I can realize what is going on underneath.
    Thanks.

  • Web Module Deployment Problem with Weblogic [Deployer:149026]

    Dear Friends,
    I've been facing a problem during deploying an Web Module on Weblogic 8.1. The name of my webmodule is 'MyOraWebModule'.
    When I first developed, deployed and tested it in Weblogic 8.1, it was deployed and worked fine. But on the next day, when I tried to redeploy it, the deployment failed. This thing not just happens only once.. it is happeing always i.e. if I develop a new webmodule and deploy/redeploy it, it will work fine ONLY ON THE FIRST DAY (i.e. the day when the web module is created), but on the next day, it shows the following error if I try to redeploy it. The error is:
    Task 3 failed: [Deployer:149026]Deploy application MyOraWebModule on myserver.
    Deployment failed on Server myserver
    Exception:weblogic.management.ApplicationException: prepare failed for MyOraWebModule
    Module: MyOraWebModule Error: Context path 'MyOraWebModule' is already in use by the module: MyOraWebModule
    Any suggestion or, guideline from you will be highly appreciated.
    With Thanks,
    ... Chisty

    Not sure if you are still looking for the answer. I have a similar problem, I have a work around on it but still trying to identify what the issue is. I have deployed multiple web application modules on weblogic 8.1 and on the redeploy I was gettig the exception weblogic.management.ApplicationException: prepare failed for USER_DEFINED_MODULE_NAME
    Context path '/' is already in use by the module. when this exception is thrown I observed that the targets attribute of tag WebAppComponent is initialized to the server name. If I stop the server, make the value of the targets attribute to be empty string in config.xml and start the server, the server starts fine. And I could continue. Not sure why this is so since the targets attribute is used to identify on what servers the application needs to be deployed.
    Any input on why the weblogic 8.1 is behaving this way when the targets attribute is defined with a value would of great help.
    thanks,

  • Web Module Deployment Profile Dependencies Bug

    In 903 WAR deployment profiles, the profile dependency tab says that "The selected dependencies will be packaged in the same EAR file as this Web Module."
    Unfortunately JDev not only does the above, it also includes dependant *.jar, *.war files with the resulting war file under WEB-INF/lib/. This means that jar files often occur multiple times in a EAR file.
    The whole build, deploy, debug cycle is very time consuming and this bug just make it worse.

    bump.
    I am having the exact same problem...
    There are a number of configurations regarding the application and/or project deployment profiles that I know work, however as stated above "I need to un-check a jar, save the workspace, re-check the jar then save the workspace again" (the end result being no settings actually changing, just a few saves...) to actually get the deployed application to run.
    Otherwise a 'oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NoClassDefFoundError' is thrown in the WLS server log.
    Once the application is closed and reopened, and deployment is attempted yet again it fails, and the same process is required to make it work again.
    Any help would be greatly appreciated.
    I have an open SR lodged with My Oracle Support: SR 7805211.992, if anyone lurking here with access would like to use it for further reference whilst investigating this problem.
    Regards,
    Matthew.
    Edited by: Matthew Carrigy on 6/10/2009 15:46

  • How to deploy my web module to J2EE server?

    hi, i used forte CE to create my web module and its working perfectly when i run it through forte CE.
    I've created a .war file for my web module through forte CE via the command Export WAR.
    I've set up my J2EE server and its running cause i can go to its index page.
    Now the problem, through the deployment tool that come with J2EE, I created a new application and add my .war into it. Next I tried to deploy my application .ear file. The deployment is successful.
    But when I tried to access my application through the browser, I got this error messages:
    A Servlet Exception Has Occurred
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 2 in the jsp file: /searchQRStatus.jsp
    Generated servlet error:
    e:\j2sdkee1.3\repository\psa\web\qrstatus\_0002fsearchQRStatus_jsp.java:65: Class org.apache.jsp.ConnectionBean not found.
    ConnectionBean connection = null;
    I got repeated similiar error msgs for all my javabeans, ConnectionBean is one of them.
    It seems that the server cannot find my javabean .java/.class files.
    I only use jsp/javabeans/html/ms access database with ODBC connection.
    1) How to solve my problems?
    2) Do I need to set up a new ODBC 32bit System DSN for my database again, since the location for the database is different after deployment?
    any help will be greatly appreciated..............thankz

    perhaps your J2EE server only has access to JRE and not JDK? ... you'll need the JDK to run JSP pages because they are compiled on-the-fly into servlets. just a thought.

  • Error on deploying JSP web module

    Hi,
    I've created a JSP web module that consumes a web service. I'm following this tutorial
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?quicklink=index&overridelayout=true]
    But when I deploy my ear project, I had this error
    Application error occurred during the request procession.
    Details:   com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:
    Error compiling [/sample.jsp] of alias [LocalDevelopmentdc_webmodulesap.com] of J2EE application [sap.com/dc_webmoduleear].
    Exception id: [001CC43ABAC00086000056FB00006CEA0004A5A7E1A64FD3]
    Here's the java code in the JSP:
    InitialContext ctx = new InitialContext();
    WS_Preview obj = (WS_Preview).ctx.lookup("java:comp/env/newproxy");
    WS_PreviewViDocument port = (WS_PreviewViDocument)obj.getLogicalPort("Config1Port_Document",WS_PreviewViDocument.class);
    GetElementXHTMLValueResponse result = new GetElementXHTMLValueResponse();
    result = port.GetElementXHTMLValue("A","A","A");
    out.print(result);
    Does anyone know how to solve this error? Thanks

    Because you do not have an infrastructure database, you will not be able to deploy your web service from OEM as one of its steps is to register the service in the UDDI registy - the Web service deployment and UDDI registration are tied tightly together in OEM right now.
    All is not lost, however. You have two routes to deploy the Web Service on Oracle9iAS:
    1. Use DCM, which is the command line interface to deploy applications/webservices/wars/ears on Oracle9iAS. It does not have the dependency on UDDI.
    To deploy a Web service using DCM, say your Web service ear file were named test.ear your deployment command would look something like:
    c:\oracle\ora903\dcm\bin\dcmctl deployApplication -file test.ear
    See the doc for much more detail to let you tailor DCM to do all the stuff that is available through EM or specific to your application:
    http://download-west.oracle.com/docs/cd/A97329_03/core.902/a92171/dcm.htm#643834
    2. In JDeveloper 9.0.3, there is a DCM Servlet that lets you do remote deployment to Oracle9iAS:
    http://otn.oracle.com/products/jdev/htdocs/readme_9031.html#viadcm
    I suspect your deployment problem from Oracle9i JDeveloper may be (this may be an incorrect assumption) due to trying to use a connection that is setup as if Oracle9iAS is a standalone OC4J.
    Mike.

  • Deploying application to the web with Developer Server

    Hi everyone,
    Does anyone out there has any notes or step-by-step configuration
    guide on deploying application on the web with Developer Server
    only (not with OAS)? I know that you can use it with Microsoft
    IIS 3.0 or 4.0 (as the web server) but don't know how to set it
    up. Appreciate if someone out there could help. Thanks.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pedro Diaz Robles ([email protected]):
    I need exeperience comments and guidelines experience for deploying Forms in the WEB.<HR></BLOCKQUOTE>
    Be more specific !!

Maybe you are looking for