Deploy a webapplication

similar that dchung
hi ,I would like to know if I can only deploy my webapplication(i create with
jdev32 :businesscomponent +businesscomponent
jsp application and i have deploy all in a directory) in tomcat only.
But if you have a solution already tested with a product oracle thats interests me.
yvan
Merci d'avance.
null

hi,
first i have configured the tomcat server:
in tomcat.bat
set JAVA_HOME=C:\oracle\ora81\Apache\jdk
and this in server.xml
<Context path="/MyProject9_html"
docBase="webapps/MyProject9_html"
defaultSessionTimeOut="30" isWARExpanded="true"
isWARValidated="false" isInvokerEnableb="true"
isWorkDirPersistent="false"/> ------------------------------------------------------------
i have followed all the step in documentation and i still get
this error message:
Error: 500
Location: /MyProject9_html/main.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\Documents and Settings\Administrateur\Bureau\paco\jakarta-tomcat-3.2.1\work\localhost_8080%2FMyProject9_html\_0002fmain_0002ejspmain_jsp_0.java:14: Package oracle.jbo not found in import.
import oracle.jbo.*;
^
C:\Documents and Settings\Administrateur\Bureau\paco\jakarta-tomcat-3.2.1\work\localhost_8080%2FMyProject9_html\_0002fmain_0002ejspmain_jsp_0.java:15: Package javax.naming not found in import.
import javax.naming.*;
^
C:\Documents and Settings\Administrateur\Bureau\paco\jakarta-tomcat-3.2.1\work\localhost_8080%2FMyProject9_html\_0002fmain_0002ejspmain_jsp_0.java:16: Package oracle.jdeveloper.html not found in import.
import oracle.jdeveloper.html.*;
^
C:\Documents and Settings\Administrateur\Bureau\paco\jakarta-tomcat-3.2.1\work\localhost_8080%2FMyProject9_html\_0002fmain_0002ejspmain_jsp_0.java:17: Package oracle.jbo.html.databeans not found in import.
import oracle.jbo.html.databeans.*;
^
4 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)
thanks for helping kishore or anybody else.
yvan
null

Similar Messages

  • How to deploy a Webapplication on WAS more than one times on same server?

    Hi all,
    I 've a special problem:
    In our web-app (some DC's) also stored propertie-Files. Now we would to deploy this application more than one times at same server using different WebContentRoots. (f.e. http://server/app1 and http://server/app2 a.s.o.)
    We know, that we must create different EAR-Projects and refer the web-Module and configure the application.
    But in the second application there it's recommended to change some properties.
    How we can handle this in JDI without copy the web-application?
    I hope my question can be understood.
    Best Regards
    Sven Rickelt
    Using Netweaver + WAS 6.40 2004 SP 13

    Hi Sven,
    as I'm new to NWDI, I cannot give you a 100 percent, field-tested solution. But have you already thought about using the Configuration-Adapter?
    If you can change the source of your web-app, you could maintain the data formerly stored in property files using the configuration adapter of visual administrator. The SC <a href="http://help.sap.com/saphelp_nw04/helpdata/en/45/e7e14b517b42788a1c166f9f32455e/content.htm">configuration</a> allows you to access this data.
    With this approach you can stick to one web-application and do the configuration work separately for each deployed application.
    Best regards,
    Frank

  • Deploying ADF Webapplication (10.1.3) to Weblogic 11g (10.3.4)

    Hello All,
    I have a web application built using jsp, struts framework and ADF business component. Currently it's deployed on oracle application server. I have requirement where it needs to be deployed on Weblogic 11g (10.3.4. or higher)
    Current version of Jdeveloper/ADF we are using is 10.1.3. 
    According to support matrix,  Oracle JDeveloper 11g Application Server Certification Matrix         
    its possible to deploy applicaiton developed in 10.1.3 to weblogic 10.3.4. Thats what oracle says as per above link.
    Is this correct? Has anyone tried it before? 
    I followed the steps mentioned at Deploying The SRDemo ADF Sample Application on WebLogic Servers and installed ADF runtime as per Installing ADF Runtime Library on Third-Party Application Servers
    However when trying to deploy EAR file, I am getting classnot found exception for ADF/Classes.
    <30-jan-2014 0:38:51 uur CET> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: ServletContext@29344664[app:ivfwebapp module:/ivfwebapp path:/ivfwebapp spe
    java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
            at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            Truncated. see log file for complete stacktrace
    >
    <30-jan-2014 0:38:51 uur CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1391038730677' for task '0'. Error is: 'weblogic.appl
    weblogic.application.ModuleException:
            at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
            at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
            at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
            at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            Truncated. see log file for complete stacktrace
    >
    <30-jan-2014 0:38:51 uur CET> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'ivfwebapp'.>
    <30-jan-2014 0:38:51 uur CET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ivfwebapp'.>
    <30-jan-2014 0:38:51 uur CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
            at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
            at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
            at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
            at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            Truncated. see log file for complete stacktrace
    >
    I created ADF directory under WLS home and copied required ADF related jars under lib and jlib folder. Do I have to perform any more steps.
    It's also mentioned on Deploying The SRDemo ADF Sample Application on WebLogic Servers
    Class not found on oracle/adf classes when deploying the application
    Verify that the setupadf.cmd file can be located by the WebLogic starting script.
    Verify that you started the right domain with the right startup script.
    Where can I find this cmd file and what needs to be in there? I am new to weblogic area. Can you please provide more details on this?
    My question to ADF experts - Is it possible to deploy web application with ADF business component (only ADF BC) 10.1.3 to Weblogic 10.3.4?
    If yes, could you please guide on how to accomplish it?
    Note that application has ADF BC only no adf faces or jsf.
    Thanks in advance.
    Kind regards
    Amol Relkar

    Hello Shay,
    Thanks you for your quick response.
    Yes, my application works fine in embeded OC4J in Jdeveloper 10.1.3.
    It also runs well on Oracle applicaition server v9.0.4.3.0 which there on test environment.
    Current JDeveloper (10.1.3) doesn''t support weblogic 10.3.4 it seems, so I couldn't use ADF Runtime Installer wizard, when I do so it says - Selected directory is not a web logic home directory. So I followed steps manually mentioned in the same link - Installing ADF Runtime Library on Third-Party Application Servers
    Basically I copied all mentioned jar files under <Weblogic_home>\ADF\lib and <Weblogic_home>\ADF\jlib
    This is the correct way right?
    If not could you please elaborate more on this.
    Note: I have just ADF BC in my applicaiton no faces stuff.
    Thanks in advance,
    Kind Regards
    Amol Relkar

  • Configure to new Server and Deploy a WebApplication

    I need some informations about the applications deploy. I have developed two applications that accept as request SIP message "MESSAGE"; both the applications have in their sip.xml file, a mapping of this type:
    <servlet-mapping>
    <servlet-name>serviceCallSipServlet</servlet-name>
    <pattern>
    <and>
    <equal>
    <var>request.method</var>
    <value>MESSAGE</value>
    </equal>
    </and>
    </pattern>
    </servlet-mapping>
    That involves that at the reception of this MESSAGE, we have a problem in specifying what application we refere to so there is a server error.
    As a possible solution I have tried to create a new server through the console (Server -> Configure a new Server...)and I called it "myserver2".
    Then I have created a new sipChannel associated to this new server(myserver2-> Protocols-> channel)using 5040 port instead of 5060 port.
    I have finally deployed one of the two applications in this server after eliminating it from the other server(I have tried to change only the target).
    The application is deployed on the new server (myserver2)but does not come deployed .
    The server has been start:
    /startWeblogic.sh for the standard.
    /startManagendWebLogic.sh myserver2 http://localhost:7001 for the new server.
    Is ok this way in order to have on the same able dominion two server to receive sip request from two various port?
    If Yes how I can resolve the issue?
    I can or I must use other way in order to resolve this problem?
    Thanks...

    iTunes is looking for a feed at http://www.gothamknightsonline.com/feed/?cat=10 and not finding it - checking this I don't get 'file not found' but if there is a file there it contains no data whatever.
    I assume this is your original feed URL. The method for redirecting iTunes to another feed URL involves placing a special tag in the original feed, and is described in detail here:
    http://www.wilmut.webspace.virginmedia.com/notes/podcast.html#move
    Your new feed contains this tag (effectively redirecting to itself); you need to place a copy of the feed, with the redirect tag, at the original URL and leave it there for a couple of weeks. If you are unable to do this the two alternatives are described in my article.

  • Assembly Deployment Target : WebApplication

    Hi all,
    i have a Empty SharePoint Project without anything, I change on the project properties the: Assembly Deploymnet Target to WebApplication.
    Now I publish the solution to c:\ drive and I add the solution :
    $SolParameters = [PSCustomObject]@{
          Identity = 'SP_WebApplicationV3.wsp'
          Literalpath = 'C:\SP_WebApplicationV3.wsp'
          WebApplication =  'http://srv2013/'
    Add-SPSolution $SolParameters.Literalpath
    I can Add the Solution.
    No I want install the solution:
    Install-SPSolution -Identity $SolParameters.Identity -WebApplication $SolParameters.WebApplication -Force
    and I get following error:
    Install SPSolution: The Solution "sp_webapplicationv3.wsp" assemblies installed in the directory "bin". The "bin" directory is
    outdated, and installed in this directory assemblies are no longer partial trust, but they are full
    Trustworthiness granted. This solution should be updated so that their assemblies in the global assembly cache instead
    (GAC) to be installed. If you install fully trust this solution and it continues in the legacy directory "bin"
    want to give the "-FullTrustBinDeployment" parameter to suppress this warning.
    Line: 1 Char: 1
    + Install SPSolution -Identity $ SolParameters.Identity -WebApplication $ SolParamet ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         + Info Category: InvalidOperation: (Microsoft.Share ... Install Solution: SPCmdletInstallSolution) [Install-SPSolution], SPC
        mdletException
         + FullyQualifiedErrorId: Microsoft.SharePoint.PowerShell.SPCmdletInstallSolution
    can anyone maybe help me?
    thanks in advance!
    Best regards
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

    I found the solution:
    add -FullTrustBinDeployment to the Install-SPSolution:
    Install-SPSolution -Identity $SolParameters.Identity -WebApplication $SolParameters.WebApplication -FullTrustBinDeployment
    -Force
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • Deploying more than one webapplication on single cluster

    Hello Folks,
    Is there a way to deploy more than one webapplication on single cluster of weblogic. Presently, we are getting an error while deploying second webapplication as
    “Context path is already in use by the module: First Application Name”.
    Awaiting reply, ...Thanks in Advance :)
    Amit

    Hi,
    Yes, We can. For Instance . Your weblogic cluster consist of two managed servers. Each managed server different port number.
    managedserver1: http://localhost:7003
    managedserver2: http://localhost:7005
    so your webapplication context name is same all managed servers.
    http://localhost:7003/context,http://localhost:7005/context. you should select running weblogic cluster on jdeveloper ide when you deploying webapplication to server then the webapplication deployed all managed server.

  • Error While deploying webapplication

    I am using Sun java Studio Enterprise 8, While deploying simple webapplication it showing error as
    Deployment error: Failed to start server Bundled Tomcat (5.5.7). See the server log file for details.
    /root/Uml Modeling/Uml Project/WebApplication1/nbproject/build-impl.xml:355: Deployment error: Failed to start server Bundled Tomcat (5.5.7). See the server log file for details.
    also it showing error message in the line
    <nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/>

    Hi,
    Yes, We can. For Instance . Your weblogic cluster consist of two managed servers. Each managed server different port number.
    managedserver1: http://localhost:7003
    managedserver2: http://localhost:7005
    so your webapplication context name is same all managed servers.
    http://localhost:7003/context,http://localhost:7005/context. you should select running weblogic cluster on jdeveloper ide when you deploying webapplication to server then the webapplication deployed all managed server.

  • Error while deploying WAR to Oracle AS

    Hello,
    When I try to deploy a WAR file to Oracle AS 10.1.2.0.2, I am getting following error. What could be the reason. I have used Jdeveloper 10.1.2.
    Failed to deploy web application "LM". Failed to deploy web application "LM". . File /var/tmp/dir37221.tmp/LM.war is not a jar file.
    Resolution:
    Base Exception:
    java.util.zip.ZipException
    invalid END header (bad central directory offset). invalid END header (bad central directory offset)

    I'm also getting this problem. And at the moment it is really urgent.
    I'm trying to deploy a webapplication to our customers system, but it won't work. The war, ear, and jar files look correct.
    So I don't understand why this problem is occuring. So If anybody has an idea or solution to this, please reply quick!
    I also tried to delete all jar, war and ear files, so that the JDeveloper creates the files complete new, but nothing helped so far.
    This is the error I'm getting when I try do deploy by a war-File:
         Web-Anwendung "Lekkerland-SUSI" konnte nicht bereitgestellt werden. Failed to deploy web application "Lekkerland-SUSI". . File /tmp/dir29051.tmp/Lekkerland-SUSI.war is not a jar file.
    Resolution:
    "Base Exception:
    java.util.zip.ZipException
    invalid END header (bad central directory offset). invalid END header (bad central directory offset)"
    When I try to deploy by an ear-File I#m only getting a small message that the ear-File is invalid.
    I'm thankful for every tip!
    Regards
    Verena
    Message was edited by:
    Verena

  • Deploying war file on Tomcat: file path problem

    Hello all,
    i am using my eclipse ide for automatically deploy my webapplication to Tomcat. For Database connectivity i configured hibernate. To configure hibernate i am using the following code:
    package de.wfm.hibernate.hibernateUtil;
    import org.hibernate.HibernateException;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.cfg.Configuration;
    public class ESDBFactory {
         private static SessionFactory sf;
         private static Session session = null;
         private static String pathToCfgFile = "de\\"
                             + "wfm\\hibernate\\hibernateUtil\\esdb.cfg.xml";
         public static synchronized Session getSession() throws HibernateException {
              if (session==null) {
                   if (sf==null) {
                        sf = new Configuration()
                             .configure(pathToCfgFile).
                             buildSessionFactory();
              session = sf.openSession();
              return session;
    }When i use this in the ide all is fine. But when i export my application to a war file and deploy it on Tomcat i got the exception:
    2006-07-28 10:06:10 StandardWrapperValve[Urlaubsplanung Servlet]: Servlet.service() for servlet Urlaubsplanung Servlet threw exception
    javax.faces.FacesException: #{User.doLogin}: javax.faces.el.EvaluationException: org.hibernate.HibernateException: de\wfm\hibernate\hibernateUtil\esdb.cfg.xml not foundHow to avoid this? What do i have to do to set the file path correctly?
    Regards,
    ak

    hmm.. ic
    The .war file when drop in the webapps dir and u restart tomcat, it auto create a dir with your .war filename and the content of .war file is copied to there.
    Am i rite to say so?
    And wat about the web.xml?
    If i need to add users and password how can I accomplished it in tomcat web.xml?
    Last but not least, thanks for taking the time to reply. :D

  • Deploying Web Application

    Hi
    I downloaded the Free JSP Editor version of Workshop, I really like it. However, is there a way to deploy the webapplication to the server from Eclipse for a project created using this version of the Workshop.
    thanks
    Anand

    Hi,
    1. Check if your EM is up and running using the "emctl status iasconsole" command.
    2. Access the Welcome page in http://localhost:port and navigate to the EM page through the link in the Welcome page.
    3. Check if 7777 is your HTTP listen port, The port detail can be checked in the httpd.conf file.
    Thanks,
    Anjani

  • Unable to find "OAM IdentityAsserter" in weblogic

    Hi alll,
    I'm trying to setup SSO for the development purpose (Test Environment). I installed all the application as specified in the oracle document.
    While configuring the weblogic, under the Security Realms -> my realm -> Providers -> Authentication -> its asked to create "New Authentication Provider"
    Then i'm giving the as mentioned "OAM ID ASSERTER" then i need to select Type as "OAM IdentityAsserter", but I'm unable to find that option.
    Please guide me how to get that. is there any plugin required or am I missing something here..
    Please help..
    Thanks
    Lakshmi

    hi,
    i installed OAM,OHS,Webgate,weblogic in one machine and installed only weblogic in second machine. Deployed a webapplication in second machine weblogic server and i am trying to protect the webapplication using OAM. I am trying to install Access Gate in second machine but i did not find any Access Gate installer for OAM 11g.where can i download configure Acessgate.exe . is Access Gate Required for weblogic server.
    Thanks,

  • Using expressions in jsf tags

    I have a problem with using expressions in jsf tags! I know this
    topic was discussed before but it doesn`t work.
    I want to use the following jsf-code:
    <h:panel_data id="tab" var="vari" modelReference="Bean.varis">
    <h:output_text id="Id" modelReference="vari.id"/>
    <h:command_hyperlink id="hyper" href="next.jsp" label="Detail">
    <f:parameter id="Param1" name="id" value="vari.id"/>
    </h:command_hyperlink>
    </h:panel_data>
    The value of the parameter should have the value of vari.id!! Why doesn`t it work?? I also tried to use value="${vari.id}" and value=<%= vari.id %>.
    I have also changed the jsf_core.tld from
         <rtexprvalue>false</rtexprvalue>
    to
         <rtexprvalue>true</rtexprvalue>
    Does anybody know what to do? Where should the .tld-files be localized when i deploy the webapplication??

    On May 19th, 2003 HydraD == "HD" wrote:
    HD> I have a problem with using expressions in jsf tags! I
    HD> know this
    HD> topic was discussed before but it doesn`t work.
    HD>
    HD> I want to use the following jsf-code:
    HD>
    HD> <h:panel_data id="tab" var="vari" modelReference="Bean.varis">
    HD> <h:output_text id="Id" modelReference="vari.id"/>
    HD> ...
    HD> <h:command_hyperlink id="hyper" href="next.jsp" label="Detail">
    HD> <f:parameter id="Param1" name="id" value="vari.id"/>
    HD> </h:command_hyperlink>
    HD> </h:panel_data>
    HD>
    HD> The value of the parameter should have the value of
    HD> vari.id!! Why doesn`t it work?? I also tried to use
    HD> value="${vari.id}" and value=<%= vari.id %>.
    HD>
    HD> I have also changed the jsf_core.tld from
    HD>      <rtexprvalue>false</rtexprvalue>
    HD> to
    HD>      <rtexprvalue>true</rtexprvalue>
    HD>
    HD> Does anybody know what to do? Where should the
    HD> .tld-files be localized when i deploy the
    HD> webapplication??
    If you want your parameter's value to be pulled from the model, you must
    use modelReference instead of value. Try that and see if it works.
    Ed

  • Wild bug on Sun Java System Application Server 9.1 (build b41d-beta2)

    i'am facing a strange problem when i try to deploy any application that utilizes ajax4jsf 1.1.1 also it works fine when i deployed the webapplication on tomcat 6 and on Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01)
    please help
    the exception was
    [#|2007-07-05T13:21:48.333+0400|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1258595) threw exception
    javax.faces.FacesException: javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1550)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
    at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
    at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
    at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
    ... 51 more
    Caused by: java.lang.NullPointerException
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
    at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
    at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
    ... 57 more
    |#]
    [#|2007-07-05T13:21:48.333+0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
    javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
    at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
    at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
    at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: java.lang.NullPointerException
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
    at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
    at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
    ... 57 more
    |#]

    Hi,
    Did you ever figure out what the problem was? I am having the same issue.
    Kind Regards,
    Andre

  • Problem with  getRealPath() method

              I am making a Servlet and want to get the real file-pass for the class.
              And I am using ServletContext method, getRealPath(String).
              But the return value is "null".
              I am using *.class-file, not using *.war or *.jar file.
              I am only using package.
              I was able to use this Servlet in WebLogic 5.1.
              Please give me Help.
              

    vbrao wrote:
              > Hi,
              >
              > How do I get real path in weblogic 8.1 server when I deploy a webapplication?
              > I am getting null when I used getServletContext().getRealPath() method.
              >
              >
              > thanks
              >
              >
              Is this from a war file? War files always return null for this method
              From the servlet2.3 javadocs : "This method returns null if the servlet
              container cannot translate the virtual path to a real path for any
              reason (such as when the content is being made available from a .war
              archive)."
              

  • Creating New (multiple) server instance for a single domain

    Hi,
    I am trying to create a new server instance under a domain and deploy a web application under that.
    Ex:
    I have domain: ABC
    default admin server: Admin_server
    New server Instance: server2
    New server instance: server3
    I deployed a webapplication on "Admin_server" and when i try to access the webapplication it works fine.
    But when i try to deploy the same webapplication(or a new webapplication) i do get a nullpointerexception error.
    I am new to weblogic and hence a bit lost here.
    Also when the admin server "Admin_server" is created for domain "ABC" a new folder called "Admin_server" would be created under "ABC" [EX: C:\bea\user_domains\ABC\Admin_server]
    the "Admin_server" would have a upload dir under which the webapplication files/folder would be deployed.
    I was under the impression when u create a new server instance "Server1" a simliar dir structure would be created but this is not the case.
    I am new to weblogic and this seems to a minor config which i am missing.
    Any suggestions , hints would be appreciated

    The node manger is installed as a service. I am using Nodemanager to start the managed server.
    Actually now i have created a new domain DCM and the admin server is DCM_ADMIN. i deplyed a web app called DCM on this and do get the error. This is what exactly i got when deployed on a managed server [tested this on a different domain - but then it did work on the admin server]
    ERROR:
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at com.documentum.web.formext.config.ConfigService.(ConfigService.java:565)
         at com.documentum.web.formext.config.ConfigService.getInstance(ConfigService.java:68)
         at com.documentum.web.formext.config.ConfigService.getConfigLookup(ConfigService.java:83)
         at com.documentum.web.formext.config.ClientEnvQualifier.bindHttpRequest(ClientEnvQualifier.java:142)
         at com.documentum.web.env.WDKController.setBindings(WDKController.java:372)
         at com.documentum.web.env.WDKController.doStartRequest(WDKController.java:150)
         at com.documentum.web.env.WDKController.processRequest(WDKController.java:88)
         at com.documentum.web.env.WDKController.doFilter(WDKController.java:79)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    MY config.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Domain ConfigurationVersion="8.1.5.0" Name="DCM">
    - <Server ListenAddress="" ListenPort="1120" Name="DCM_ADMIN" NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
    <SSL Enabled="false" HostnameVerificationIgnored="false" IdentityAndTrustLocations="KeyStores" Name="DCM_ADMIN" />
    </Server>
    <JMSFileStore Directory="rmfilestore" Name="FileStore" />
    <WSReliableDeliveryPolicy DefaultRetryCount="10" DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore" />
    <Security Name="DCM" PasswordPolicy="wl_default_password_policy" Realm="wl_default_realm" RealmSetup="true" />
    <EmbeddedLDAP CredentialEncrypted="{3DES}f42Gd5I8pTqrAXW1bntpvYdF9kQxUOm0+Sf9Liq9Wrg=" Name="DCM" />
    <SecurityConfiguration CredentialEncrypted="{3DES}yA8jh/8xZqf+6HyuA5YesVFLKkpMBpCfOgJ7Gf0G+qOce7Pr8dtby+FnJY3lYu/7p5vqYw7Yw36vk98Vqb6P3ZE/bnahPhwu" Name="DCM" RealmBootStrapVersion="1" />
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm" />
    <FileRealm Name="wl_default_file_realm" />
    <PasswordPolicy Name="wl_default_password_policy" />
    - <JMSServer Name="WSStoreForwardInternalJMSServerDCM_ADMIN" Store="FileStore" Targets="DCM_ADMIN">
    <JMSQueue CreationTime="1141142209450" JNDIName="jms.internal.queue.WSStoreForwardQueue" JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueueDCM_ADMIN" />
    <JMSQueue CreationTime="1141142209653" JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue" JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueueDCM_ADMIN" />
    </JMSServer>
    - <Server ListenPort="9201" Name="DCM_TEST" ServerVersion="8.1.5.0">
    <ServerDebug Name="DCM_TEST" />
    <SSL IdentityAndTrustLocations="KeyStores" Name="DCM_TEST" />
    <KernelDebug Name="DCM_TEST" />
    <Log Name="DCM_TEST" />
    <ServerStart Name="DCM_TEST" OutputFile="C:\dev\bea\weblogic81\DOMAINS\DCM\.\NodeManagerClientLogs\DCM_DCM_TEST\startServer_02_28_2006-10_58_26-1.log" PasswordEncrypted="{3DES}zluy0BrZ/DYTcUwAKEgovg==" Username="elisadmin" />
    <WebServer Name="DCM_TEST" />
    <COM Name="DCM_TEST" />
    <IIOP Name="DCM_TEST" />
    <JTAMigratableTarget Name="DCM_TEST" UserPreferredServer="DCM_TEST" />
    <JTARecoveryService Name="DCM_TEST" />
    </Server>
    - <Application Name="da" Path="C:\dev\bea\weblogic81\DOMAINS\DCM\DCM_ADMIN\upload" StagingMode="nostage" TwoPhase="true">
    <WebAppComponent Name="da" Targets="DCM_ADMIN" URI="da.war" />
    </Application>
    </Domain>

Maybe you are looking for