Multiple wars in an ear

Hello,
I am having a questionabout mutilple wars in a single ear.
Can someone explain me the advantages and disadavantages in it?
And also is it possible to have a seperate ear in a war ??
Thanks

Can someone explain me the advantages and
disadavantages in it?well, the advantage is that if you have 2 web applications, you can logically separate them into separate wars so that you can reuse and it's more organized. disadvantage is that you cannot (easily) share sessions across wars. there are more advantages and disadvantages than just that, but that's what comes to mind.
And also is it possible to have a seperate ear in a
war ??No.

Similar Messages

  • Merge multiple WAR to single EAR for deployin JDev 11.1.1. & WLS 10.3.1

    Greetings Experts,
    First of all, i've read so many threads here in this forum and i rarely find threads regarding Merging multiple WAR to a single EAR for deployment (CMIIW).
    Anyway, i have an issue reagarding my applications.
    Currenty, I have a lot of web applications, and each of them is deployed as a single EAR file into the weblogics 10.3.1. And lots of EAR is then deployed to a single Managed Server in WLS.
    From reading many references, it seems that what i have done is not entirely correct, because of the inefficient use of resources in a single Managed server in WLS (lots of EAR in a single Managed Server (MS) may takes more overhead cost).
    Therefore, i am planning to merge those small applications (EAR) to a single bigger EAR, so that it will reduce the numbers of EAR in a single managed server.
    Currently, we are trying to merge the small application as WAR and combine them to EAR. FYI, we are using ADF based web application, thus, each web application (WAR) will have its own adfc and each.
    At this moment, we are able to deploy a single EAR with 2 WARs inside it. However, when we try to run the application, only 1 application is able to be run. The other one is giving me "404 Page not Found".
    By reading the forum, there is a lead on using adfc-setting.xml. We've tried using that but still did not work (probably our adfc-settings.xml is not correct).
    My question is, are there any more references on how to merge WAR files to a single EAR from JDEV and deploy it to WLS 10.3.1. or anybody want to share their experiences?
    Thank you in advanced...

    Is a different context root specified for the 2 web apps.
    <application>
    <display-name>test</display-name>
    <module>
    <web>
    <web-uri>webapp1.war</web-uri>
    <context-root>webapp1</context-root>
    </web>
    </module>
    <module>
    <web>
    <web-uri>webapp2.war</web-uri>
    <context-root>webapp2</context-root>
    </web>
    </module>
    </application>

  • Deploying multiple wars within an ear (including web services) - pls advise

    **Apologies - this post also appears in the standard Java forums, before I realised there was a separate Enterprise forum!**
    Hello all
    I am working on an application that receives XML messages from sending systems, processes them and forwards them to receiving systems. There is a set of rules concerning who can send what to who. The entry and exit points to the application are web services.
    I would be very grateful for some general advice on best practice for packaging this application. I have done a lot of browsing and read some articles, but I understand the whole picture has changed recently with the growing popularity of web services and that many of the articles I have read are probably out of date.
    The whole thing could be packaged into a single war, but it would be ideal to treat the different components separately as in the future they may be modified and deployed separately. I therefore envisaged having 3 wars in an ear as follows: -
    a. A set of incoming web services to receive messages from the sending system. This is like a hook into b (below). The sending systems will be clients to these web services.
    b. A web application that takes the messages from a and processes, authenticates and transforms them.
    c. A set of outgoing web services that sends the message on to the receiving system. These will be like facades to the receiving systems and b will be a client to them.
    The whole thing would then work in reverse to process the response.
    A few questions: -
    1. I know I haven't given much info here, but does this seem like a reasonable basic packaging strategy? Any other suggestions?
    2. Is it good practise to package multiple wars together into an ear? If anyone could send me an example ant script that does this, I would be so grateful.
    3. Wars a and c above will both need to have full visibility and access to b, which is the "brains" of the whole thing. How is this best achieved when packaging?
    4. If you could point me in the direction of a best practice guide, examples or tutorials, I would be very grateful.
    Many thanks for taking the time to read my post - and for any replies.
    Kind regards
    Jon

    That is a viable method to package your application, pending the architecture of your application supports this.
    Each WAR file will be packaged as a seperate web application and all web applications on that web server will be able to communicate with each other over sockets by having the URL of the web component that you wish to communicate with. This interface needs to be there mind you.
    EAR files are generally deployed to an application server so if you happen to have an application server like Weblogic or Websphere then this would be an ideal setting for hosting your application. Packaging in an EAR file and also hosting on an application server gives you the benefit of using J2EE constructs, like EJB's to provide an alternative means of communication between different web components.
    Packaging seperate wars into an ear file really wouldn't work out too well with just a standard servlet container like Tomcat.

  • Multiple war file in single ear in ATG10.1.1 with JBoss

    Hi All,
    Is it possible to have multiple war files in single ear in ATG? I tried to deploy one but got some errors when. I tried this so that I can have a new site without altering existing crs.
    I have an ATG10.1.1 instance (Windows 7, JBoss-eap-5.1, Oracle 11gR2) with crs installed and running.
    I am not sure whether its a good practice or not. Please correct me if I am going wrong
    Here is the steps that I have done.
    1. Created new war file in CommerceReferenceStore (Copied existing store.war and renamed it to sample.war)
    <ATG_DIR>/CommerceReferenceStore/Store/Storefront/j2ee-apps/Storefront/store.war to <ATG_DIR>/CommerceReferenceStore/Store/Storefront/j2ee-pps/Storefront/sample.war
    then,
    a) Edited sample.war/WEB-INF/web.xml to add new context root.
    <context-param>
    <param-name>context-root</param-name>
    <param-value>sample</param-value>
    </context-param>
    b) Edited sample.war/META-INF/MANIFEST.MF
         Manifest-Version: 1.0
         ATG-Module-Uri: sample.war
         ATG-Context-Root: sample
    2. Edited <ATG_DIR>/CommerceReferenceStore/Store/Storefront/j2ee-apps/Storefront/META-INF/application.xml
    Added new web module
    <web>
    <web-uri>
    sample.war
    </web-uri>
    <context-root>
    sample
    </context-root>
    </web>
    3. Modified <ATG_DIR>/CommerceReferenceStore/Store/Storefront/META-INF/MANIFEST.MF to add new web module
    ATG-Web-Module: j2ee-apps/Storefront/store.war j2ee-apps/Storefront/sample.war j2ee-apps/Storefront/storedocroot.war
    j2ee-apps/Storefront/assemblerSearchResultsSample.war
    4. Deployed using cim
    From CIM, selected [3] Application Assembly & Deployment
    Entered ear file name - ATGProduction.ear
    Then select server instance - ATGProduction
    Select JBoss Server to use - ATGProduction
    [D] Deploy Production with a Server Lock Manager ATGProduction.ear to JBoss
    - Done
    [R] Register Datasources on JBoss - Done
    [A] Add database driver to app server classpath - Done
    [P] Post Deployment Actions on JBoss - Done
    And restarted server.
    When I tried to access crs/storeus, I got following error
    18:50:36,060 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1258
    at java.lang.String.<init>(String.java:207)
    at atg.adc.ADCPrintWriter.write(ADCPrintWriter.java:208)
    at atg.adc.ADCPrintWriter.write(ADCPrintWriter.java:188)
    at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:119)
    at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:180)
    at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
    at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
    at org.apache.jsp.includes.pageStart_jsp._jspService(pageStart_jsp.java:135)
    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:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
    at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatcher.java:116)
    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:835)
    at org.apache.jsp.tag.web.store.pageContainer_tag._jspx_meth_dsp_005finclude_005f0(pageContainer_tag.java:1119)
    at org.apache.jsp.tag.web.store.pageContainer_tag.doTag(pageContainer_tag.java:548)
    at org.apache.jsp.index_jsp._jspx_meth_crs_005fpageContainer_005f0(index_jsp.java:484)
    at org.apache.jsp.index_jsp._jspx_meth_dsp_005fpage_005f1(index_jsp.java:450)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:117)
    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:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    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 atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:277)
    at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:208)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at atg.servlet.ForwardFilter.doFilter(ForwardFilter.java:263)
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
    at atg.servlet.ContextRootSwappingInterceptor.interceptRequest(ContextRootSwappingInterceptor.java:318)
    at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:185)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.endeca.assembler.AssemblerPipelineServlet.service(AssemblerPipelineServlet.java:387)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:119)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:378)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:657)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:696)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2447)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:418)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:512)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:230)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:460)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:309)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:302)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:405)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1271)
    at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:952)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
    at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:349)
    at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:208)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    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:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    at java.lang.Thread.run(Thread.java:662)
    18:50:36,122 ERROR [DynamoServlet]
    CAUGHT AT:
    CONTAINER:atg.servlet.jsp.ContainerJspException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1258; SOURCE:org.apache.jasper
    .JasperException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1258
    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:841)
    at org.apache.jsp.tag.web.store.pageContainer_tag._jspx_meth_dsp_005finclude_005f0(pageContainer_tag.java:1119)
    at org.apache.jsp.tag.web.store.pageContainer_tag.doTag(pageContainer_tag.java:548)
    at org.apache.jsp.index_jsp._jspx_meth_crs_005fpageContainer_005f0(index_jsp.java:484)
    at org.apache.jsp.index_jsp._jspx_meth_dsp_005fpage_005f1(index_jsp.java:450)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:117)
    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:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    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 atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:277)
    at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:208)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at atg.servlet.ForwardFilter.doFilter(ForwardFilter.java:263)
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
    at atg.servlet.ContextRootSwappingInterceptor.interceptRequest(ContextRootSwappingInterceptor.java:318)
    at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:185)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.endeca.assembler.AssemblerPipelineServlet.service(AssemblerPipelineServlet.java:387)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:119)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:378)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:657)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:696)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2447)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:418)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:512)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:230)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:460)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:309)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:302)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:405)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1271)
    at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:952)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
    at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:349)
    at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:208)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    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:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    at java.lang.Thread.run(Thread.java:662)
    Thank you,

    Hi,
    This is not an issue caused by having multiple wars inside same ear.
    This looks like a runtime exception when trying to render the jsp (The jsp is compiled to a sevlet and the inside the service method of the servlet you are getting this exception). Double check you jsp for the possible cause of this exception.
    Thanks,
    Gopinath Ramasamy

  • Single EAR multiple WAR model - faces-config not loading

    Hi
    I am deploying my application on weblogic 10.3 My application is in form of a Single-EAR-Multiple-WAR model. The application starts up correctly but when i bavigate from one module (WAR) to another (WAR), it doesnt initializes the managed beans. It is not able to load the faces-config from the second WAR.
    can anyone please let me know ehat am i missing?
    Thanks a lot
    -Ankur

    Hi,
    This is not an issue caused by having multiple wars inside same ear.
    This looks like a runtime exception when trying to render the jsp (The jsp is compiled to a sevlet and the inside the service method of the servlet you are getting this exception). Double check you jsp for the possible cause of this exception.
    Thanks,
    Gopinath Ramasamy

  • Session sharing among multiple WAR files inside an EAR file

    Hi all,
    Is there a way where I can share my session object among multiple WAR files which are inside an EAR file?
    Please suggest.

    r035198x wrote:
    Some application servers (like Weblogic) allow to configure session sharing when you deploy the application.Sidenote: which is completely against the servlet spec.

  • Sharing static files across multiple WAR files in a single EAR

     

    Is there also a way to share the Session across multiple WARs in the
    same EAR ??
    TIA
    Nikhil.
    Vinod Mehra wrote:
    Yes, we have Virtual Directories for this in 7.0.
    http://edocs.bea.com/wls/docs70/webapp/weblogic_xml.html#1031951
    --Vinod.
    "Sam Smith" <[email protected]> wrote in message
    news:3d3f47cf$[email protected]..
    Hi,
    I have multiple web apps to be deployed to an intranet. I need to have acommon
    look and feel for these multiple webapps.
    I could place the webapps in a single ear file or deploy them without aear file.
    I wanted to know if there is any standard way to include static files likeimages,
    javascripts and css files (for a common look and feel) across multiple warfiles.
    Right now I am planning to keep a war file which just contains all thestatic
    files and point all the jsp pages in the other apps to the static files inthis
    common app. Is there a better way to go about this.
    Thanks,
    Sam

  • Multiple Wars in Ear -URL

    Hello all,
    I am having an ear having 2 wars.I need that the unique context for both war.I have heard context name are war level not ear level.
    Is it correct?
    If that is the case then can it be possible that if a.war nad b.war in an EAR then URL:
    http://ip:port/a/x.html for a.war
    http://ip:port/a/b/y.html for b.war
    means context root in hierarchy of other wars context name.
    Please help

    Hello,
    Your problem looks very interesting. I have never done such thing. But still I have one idea, which might be helpful for you. You can use virtual host for a that means your urls will look like:
    http://a:port/x.jsp
    http://a:port/b/y.jsp
    I don't think that context inside a context is possible.
    If you elaborate more why you need such context settings then may be I can try to suggest better.
    Regards
    Rishi Dev [ http://www.nastec.biz/ ]

  • How to set up multiple log4j configurations for multiple WAR packages?

    hi all,
    the EAR that i am trying to deploy has multiple WARs.
    I need to configure separate loggers for each these WARs.
    Could any of experts can help me out.

    Hi
    Depending on your needs, you may find that Set level offers the best approach:
    Within a Set you have the Playbacks (Set Level, so they work for the entire set) with individual patches in the set "live" for the EWI etc as needed.
    You need only map one set of controls for all the Playbacks since only 1 set can run at a time.
    CCT

  • How to share session object between multiple WAR's

    I am Using servlet 2.3 & websphere 5.1 application server. I am using multiple war applications in my ear and i am able to share context-attributes & session attributes between wars. Can any one guide me how i can share session object?
    I am getting session -time out in first war even though i am doing some operation's in second war. I want to maintian the same session, even in my second war which was created in my first war.
    Can any one help me. Thanks in advance.

    Hi LNL,
    Can you explain more on singleton solution as you said....
    For session attributes & context attributes i am using persistent storage to retrive them in multiple wars. My problem is how should i use "session object" in my second war which was created in my first war.

  • How do I convert an war file to ear file, deploying weblogic apps

    Problem Description: I have a war file from a legacy application that needs to be migrated to weblogic. To migrate this application to weblogic, we need a ear file. Reading weblogic doc. it says we needs to use ant utility on an exploded web content application folder/ directory to create the ear file. I need to covert the existing war file to ear file , if it is doable or create one from the scratch. I need to know how to do that in weblogic. Please let me know if you have any hints .
    Thanks

    HI,
    Please try the following to convert your WAR file into an EAR exploded archieve:
    *1).* Create a Directory in your file system.
    Example:
    /home/apps/MyFirstEAR
    *2).* Place the WAR file inside the above Directory. (Suppose your WAR file name is test.war)
    Example:
    /home/apps/MyFirstEAR/test.war
    *3).* Now create a "META-INF" directory inside "/home/apps/MyFirstEAR" directory
    *4).* Now create an "application.xml" file like following inside "/home/apps/MyFirstEAR/META-INF" directory:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
    <description>Test EAR Example</description>
    <display-name>TestEAR Example</display-name>
    <module>
    <web>
    <web-uri>test.war</web-uri>
    <context-root>test</context-root>
    </web>
    </module>
    </application>
    *5).* Your EAR is ready now you can deploy the "MyFirstEAR" directory in the WebLogic Server.
    NOTE: if you want to place the "test.war" file also as an exploaded format content inside the EAR then you need to extract the test.war file and then in place of the test.war you can have "test" directory at the same place.
    You need to change the "application.xml" file like below in that case:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
    <description>Test EAR Example</description>
    <display-name>TestEAR Example</display-name>
    <module>
    <web>
    <font color=red> <web-uri>test</web-uri> </font><br>
    <context-root>test</context-root>
    </web>
    </module>
    </application>
    For more information on an EAR application structure you can refer to : http://middlewaremagic.com/weblogic/?p=1952
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • Multiple wars sharing web dir

    Has anyone configured multiple web app wars to share a common web directory for something like images? Ideally, I'd like to use an exploded separate directory for web images and have multiple wars use it. Any pointers of advice are much appreciated. TIA.
    JohnH

    If deploying the web application on Unix-like operating systems, you could make use of symbolic links from the deployed web applications to a common directory, thus sharing common resources between multiple web apps.

  • Syncing model sources across multiple WARs

    One of the problems we're hitting in our development is keeping model classes synced across a multi-WAR project. For example, the model class for, say, a User object was changed in WAR B, but that developer (an intern) did not publish those changes to WARs A and C. The end result was that a few of our web service calls started failing on the unchanged WARs, while others worked fine.
    I started looking into EJB3, intrigued by the @Remote and @Local setup, but those are related to the session beans themselves. I was hoping that object models could be referenced by interface across multiple WAR distributions as well, though I haven't dug up anything specific on this yet.
    Is there any advice on this forum for keeping model classes in sync across a multiple-WAR project (aside from tighter repository control and swift kicks to the butt)?

    Wraithe wrote:
    Quoting myself: +"The end result was that a few of our web service calls started failing on the unchanged WARs"+
    My original question pertaining to ensuring that the source code for the end user model classes remained consistent. You can't if the interface contains Java classes that are changed. You immediately have to deploy updated JAR files with the new code to all the clients that need it.
    The JAR idea is applicable, though not ideal, and I was hoping there was some other suggestion as to how to handle client-side objects.There is: XML messaging in the service interface instead of Java classes.
    %

  • Session not shared between multiple wars, with no cookies

    I posted an earlier query on multiple wars in the same application.
    Actually session is maintained and getting shared on the server when
    browser supports cookies.
    When Browser does not support cookies i have the following problem,
    a) Without cookies URL's(href tags) work fine because they are bieng
    rewritten.
    b) The first form i call always has hidden tags with session id value
    and it works fine
    c) But in all susequent forms there is no hidden session id.(My forms
    are all JSP pages.).
    My questiona are
    1) under what situations does the server add session id hidden tags in
    html form.
    2)And how do I get them created automatically when browser does not
    support cookies.
    3) And why are the hidden tags being set for the first request. (I read
    in previous posts that is because the server does not know if browser
    supports cookies for first time) How does it know the second time. What
    html header gives this info.

    >
    1) under what situations does the server add session id hidden tags in
    html form.The webconnector should rewrite the sessionid whenever the browser might
    not support cookies. (And it has configured to allow URL re-writing.)
    Obviously you are having a problem with this, but based on the information
    you are providing I don't have any insight on why yet. Works for me. Try
    opening a support ticket and/or posting some more information.
    >
    2)And how do I get them created automatically when browser does not
    support cookies.This should happen automatically, unless you have changed the NoCookie
    setting in the registry.
    >
    3) And why are the hidden tags being set for the first request. (I read
    in previous posts that is because the server does not know if browser
    supports cookies for first time) How does it know the second time. What
    html header gives this info.Yes, hidden tags are set for the first request because the webconnector
    doesn't know if the browser supports cookies.
    The second request it knows that cookies are supported because the browser
    successfully has returned the cookie it sent the first time.
    David

  • Multiple war with same context root

    Dear all,
    I would like to know if it's possible to have several war in an EAR file with a same context root?
    I know that it is possible to have several war but I don't know if it's possible to share the same context root.
    The problem here is that the application on which we work is provided by another company, hence we have an original EAR containing the company war as well as the company EJB. As new versions of the application are delivered to us quite frequently, it's impossible to store the code developped by us in the EAR, as it is replaced in each delivery.
    Concerning our custom code, it is not a problem as we develop this code in a separated project which is included as a jar in the APP-INF/lib directory of the EAR file.
    But concerning the war it's an other problem. Indeed, we develop custom JSFs pages or javascript. These files are placed in the application war file which changes for each delivery.
    Thus, we would like to create an other war file which will contain all our custom pages and javascripts in order to be able, in each delivery, to fully replace the other war containing the company pages and javascripts. This would allow us to save time each time a new delivery is done.
    The important thing would be to keep the same context root for the two wars, enabling transparency for the application.
    Thanks for your help,
    Citrouille57

    Hello,
    this is possible in IBM Websphere via custom extension: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tprs_sharing_data.html
    I don't know if it's possible somewhere else.
    k.

Maybe you are looking for

  • Updater problems in 8.0.0

    I recently updated my Adobe Acrobat Professional to version 8.0.0 - since then I have tried to download updates but every time a box appears....it reads... Adobe Updater Cannot overwrite file /Users/perblilleaas/Documents/ Updater5/AdobeUpdater/acrob

  • Mobileme upgrade - not syncing calenders

    Hi! Since Apple made some changes earlier this year in Mobileme (or iCal) my calendars in my Macbook and iPhone are not syncing anylonger. I tried to upgrade it via the link provided in the e-mail from Mobileme but I never succeeded. What do I do? My

  • 10.6.7 fails automatic connection to wireless

    Since the 10.6.7 update on my early 2010 MacBook Pro, I have had unreliable networking.  I move between home and work, wireless and wired.  The wireless configuration is saved, and it previously quickly and automatically connected.  Now, at each site

  • Copying the data and ignoring the Script logic

    Hi, I have some data in Actual category for 2010.APR and I would like to COPY the same (through DM) to Budget category with my default script logic file.  When I am trying to Do the same it is copying the same data into Budget category, ignoring my s

  • Adobe License transfer

    Hello Group, I am looking to buy an new computer in the next few months and I have Macromedia suite 8 and Adobe Creative suite CS installed on my current system. My current computer has Windows XP and the new system will have Vista. I am wondering wh