Deploying .war into tomcat 5.5.12

I am still new to web based applications in tomcat.
I would appreciate if some explain me how to create .war file and deploy into tomcat.
Thanks

Hi,
Tell us about ur System settings including tools, IDE etc...
All the Best
Ganesh

Similar Messages

  • How to deploy WAR in Tomcat

    I deploy WAR package into Tomcat,but no work!!
    27 三月 2009 08:42:57,993 [http-80-Processor25] ERROR Revision: 13 .pingDB(DatabaseService.java:69) - pinging db: TAW_PRIVATE_DATASOURCE
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 13 .getDBConnection(DatabaseService.java:499) - got exception when try to get db connection: java.lang.UnsupportedOperationException: Not supported by BasicDataSource
    27 三月 2009 08:42:58,009 [http-80-Processor25] DEBUG Revision: 13 .getDBConnection(DatabaseService.java:508) - close connection
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 13 .pingDB(DatabaseService.java:83) - got sql error in pingDb, retVal = false
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 9 .retriveNewLiveDB(DatabaseConnections.java:65) - All the databases are down!
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR RegionalizationLibrary.populateBean(RegionalizationLibrary.java:210) -
    java.lang.NullPointerException
         at com.taw.database.TableDataSet.<init>(TableDataSet.java:32)
         at com.taw.database.TableDataSet.<init>(TableDataSet.java:27)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.loadTemplateName(RegionalizationLibrary.java:247)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.loadTemplate(RegionalizationLibrary.java:238)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.populateBean(RegionalizationLibrary.java:206)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.<init>(RegionalizationLibrary.java:64)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:87)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    27 三月 2009 08:42:58,009 [http-80-Processor25] DEBUG RegionalizationLibrary.getLanguagesFormatter(RegionalizationLibrary.java:492) - ****Creating new LanguagesFormatter
    27 三月 2009 08:42:58,040 [http-80-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[TAW].[jsp].invoke(StandardWrapperValve.java:253) - Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at com.taw.clients.am.regionalization.RegionalizationFormatter.<init>(RegionalizationFormatter.java:12)
         at com.taw.clients.am.regionalization.LanguagesFormatter.<init>(LanguagesFormatter.java:13)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.getLanguagesFormatter(RegionalizationLibrary.java:493)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    My "context.xml":
    <Context reloadable="true" crossContext="true">
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <Resource name="jdbc/cca" auth="Container"
    type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@127.0.0.1:1521:ORCL"
    username="CC81" password="cc81" maxActive="200" maxIdle="10"
    maxWait="-1"/>
    </Context>
    My "web.xml":
    <context-param>
    <param-name>databasePlatform</param-name>
    <param-value>ORACLE</param-value>
    </context-param>
    <context-param>
    <param-name>databaseSchema</param-name>
    <param-value>ADMINCC81</param-value>
    </context-param>
    <context-param>
    <param-name>databaseDatasource</param-name>
    <param-value>java:/comp/env/jdbc/cca</param-value>
    </context-param>
    <context-param>
    <param-name>databaseUser</param-name>
    <param-value>CC81</param-value>
    </context-param>
    <context-param>
    <param-name>databasePassword</param-name>
    <param-value>cc81</param-value>
    </context-param>
    <resource-ref>
    <description>Oracle Datasource</description>
    <res-ref-name>jdbc/cca</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>

    The 3 application servers that are supported are BEA Weblogic, Oracle Application Server and IBM Websphere.
    Tomcat was used of the V7 remote DB application.

  • Error on deploying war to Tomcat

    Hi,
    I am a new bie trying to develop a Web application.
    I have deployed a war to tomcat 5.0.25, when I try to access the ContextRoot (there is a default.jsp file in the war, that should be invoked on eneterinh the COntextRoot in the browser address bar) it gives me an error saying:
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:519)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    root cause
    java.io.FileNotFoundException: /usr/local/tomcat/work/Catalina/localhost/FTPSchedulerWeb/org/apache/jsp/default_jsp.java
         java.io.FileOutputStream.open(Native Method)
         java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         java.io.FileOutputStream.<init>(FileOutputStream.java:70)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)I developed the application using eclipse3.1 and created a WAR file using the same. Now I do not know if you can generate a WAR file using eclipse and deploy it on Tomcat5.0.25.
    Also, should I include the JDK 1.4 lib/jar files in the war file? Is that causing this error?
    Please help me. Thanks in advance.

    Hi,
    Thank you for your suggestion. your point about the folders could be right.
    Because for some reason, the folders org, org/apache, org/apache/grp under:
    /usr/local/tomcat/work/Catalina/localhost/FTPSchedulerWeb/
    were not getting created. And so we manually created them and attached them to the necessary group, to get proper file permissions.
    But my doubt still remains as to why those folders were not created. Well there is one point I want to ask here, in teh Tomcat server web.xml file, the following code is not present:
    <webapp>
    �����������
    ���.
    ���.
    <servlet>
            <servlet-name>jsp</servlet-name>
            <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    </servlet>
    <servlet-mapping>
            <servlet-name>jsp</servlet-name>
            <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
            <servlet-name>jsp</servlet-name>
            <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    ����..
    ���.
    ���.
    </webapp>Could that be a possible reason as to why the server is unable to create those folders? Well, I do not know the actual reason. Please let me know what possibly could be the reason for this problem.
    Thanks a lot for your help!!

  • Maven scripts for deploying WAR into Weblogic

    Hello Folks,
    I would need some help in deploying EAR/WAR into weblogic server.
    I already have maven scripts for building but not for deploying. your help is appreciated.
    Thanks.

    Hi Ank2cool,
    Please see my findings, I have tested the Same "build.xml" again...My AdminServer
    UserName is weblogic
    and
    password is weblogic
    <project name="webservices-hello_world" default="deploy">
    <property name="wls.username" value="weblogic" />
    <property name="wls.password" value="weblogic" />
    <property name="wls.hostname" value="localhost" />
    <property name="wls.port" value="7001" />
    <property name="wls.server.name" value="AdminServer" />
    <target name="deploy">
    <wldeploy action="deploy" name="PlanDemoEAR" source="PlanDemoEAR" user="${wls.username}"
    password="${wls.password}1" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
    </target>
    </project>
    Now when i run the AANT task ant deploy
    OUTPUT:
    Buildfile: build.xml
    deploy:
    [wldeploy] weblogic.Deployer -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\PlanDemoEAR -targets Admin
    Server -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\Pla
    nDemoEAR -targets AdminServer -adminurl t3://localhost:7001 -user weblogic -deploy
    [wldeploy] <Dec 21, 2009 2:08:33 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for app
    lication, PlanDemoEAR [archive: C:\JavaTest\PlanDemo\PlanDemoEAR], to AdminServer .>
    [wldeploy] Task 1 initiated: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
    [wldeploy] Task 1 completed: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
    [wldeploy] Target state: deploy completed on Server AdminServer
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + PlanDemoEAR AdminServer
    BUILD SUCCESSFUL
    ========================TO REPRODUCE YOUR ISSUE I JUST CHANGED THE Password from weblogic to "*weblogic1*" or *"weblogic "* (i added a Single Space at the end of password) in the ANT script....But Server's Actual Password is still "weblogic"=======
    OUTPUT:
    [wldeploy] Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticated.
    [wldeploy] at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:116)
    [wldeploy] at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    [wldeploy] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    BUILD FAILED
    C:\JavaTest\PlanDemo\build.xml:12: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerExcep
    tion: Unable to connect to 't3://localhost:7001': User: weblogic, failed to be authenticated.. Ensure the url represents
    a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    Total time: 0 seconds
    Above is exactly the same error what u are getting...
    So please recheck the password provideed in the "build.xml" is correct..or any space added before or after the Password.....
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Deploy .war on tomcat 5.5.9

    hi,
    i try to deploy a app in tomcat with SO Centos 5.2 but trow the next error ; running the wepapp installled with adfinstaller
    Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /wm/bc4j.jsp(5,0) The value for the useBean class attribute oracle.jbo.client.wm.WebMonitorBean is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1223)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /wm/bc4j.jsp(5,0) The value for the useBean class attribute oracle.jbo.client.wm.WebMonitorBean is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1223)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3270)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3270)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
    i install with all instrunctions related in oracle adfinstaller
    http://www.oracle.com/technology/products/jdev/htdocs/11/as_supportmatrix.html#1013
    and
    http://www.oracle.com/technology/software/products/jdev/htdocs/adfinstaller.html
    my aplication use Mysql but not found
    thanks

    hi,
    i using Jdeveloper 10.1.3.4. and i try deploy on tomcat 6.0.18. when i see the log tomcat cant`a context file i try configure some parameters in web.xml
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <description>
    </description>
    <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
    <param-value>true</param-value>
    </context-param>
    this is the log fo tomcat when try start up the app
    23/02/2009 08:25:32 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
    23/02/2009 08:25:32 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
    23/02/2009 08:25:33 AM org.apache.coyote.http11.Http11AprProtocol init
    INFO: Inicializando Coyote HTTP/1.1 en puerto http-8286
    23/02/2009 08:25:33 AM org.apache.coyote.ajp.AjpAprProtocol init
    INFO: Initializing Coyote AJP/1.3 on ajp-8009
    23/02/2009 08:25:33 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 831 ms
    23/02/2009 08:25:33 AM org.apache.catalina.core.StandardService start
    INFO: Arrancando servicio Catalina
    23/02/2009 08:25:33 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
    23/02/2009 08:25:33 AM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Despliegue del archivo WebAppTest.war de la aplicaci�n web
    23/02/2009 08:25:34 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/WebAppTest'
    23/02/2009 08:25:35 AM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Despliegue del archivo webtest.war de la aplicaci�n web
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ValidatorRule end
    ADVERTENCIA: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    23/02/2009 08:25:36 AM com.sun.faces.config.rules.ConverterRule end
    ADVERTENCIA: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    23/02/2009 08:25:36 AM org.apache.catalina.core.StandardContext start
    GRAVE: Error listenerStart
    23/02/2009 08:25:36 AM org.apache.catalina.core.StandardContext start
    GRAVE: Fall� en arranque del Contexto [webtest] debido a errores previos
    23/02/2009 08:25:37 AM org.apache.coyote.http11.Http11AprProtocol start
    INFO: Arrancando Coyote HTTP/1.1 en puerto http-8286
    23/02/2009 08:25:37 AM org.apache.coyote.ajp.AjpAprProtocol start
    INFO: Starting Coyote AJP/1.3 on ajp-8009
    23/02/2009 08:25:37 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3888 ms
    and this is the log of localhost
    javax.servlet.jsp.JspException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:427)
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:125)
         at org.apache.jsp.index_jspx._jspx_meth_f_005fview_005f0(index_jspx.java:92)
         at org.apache.jsp.index_jspx._jspService(index_jspx.java:70)
         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:374)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
         at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
         at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
         at java.lang.Thread.run(Unknown Source)
    thanks for you help
    Edited by: JuanAndresDeveloper on 23-feb-2009 6:12

  • Problem whiling deploying war in tomcat

    I am facing FileNotFoundException while trying to deploy a war.I make this war by renaming the .jar file.Why this types of exceptions are generated.

    Thanks for your reply.
    I have the struts-logic.tld at the right place , in WEB-INF directory and following is the entry in web.xml
      <taglib>
       <taglib-uri>/WEB-INF/struts-logic</taglib-uri>
       <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
      </taglib>regards

  • An issue of deploying war file on tomcat 5.5

    Hi,
    I know the regular process to deply a war file is like this - stop tomcat server, remove your previous war file and directory, say abc.war and dir abc, copy your new version abc.war into webapps and restart tomcat server.
    However, I found an interesting issue today - I was deploying a new release war file as described. While I stopped tomcat, removed all previous version direcotry, and restarted tomcat server, I got an http 404 error saying that the resource /abc/ is not available. I noticed that the org folder was not generated at work/Catalina/locahost/abc.
    I stuck there for a long time to try to fix but did not find a solution. I am pretty sure the war file should be ok since it works fine on my local machine. This only happened in the unix box. Later, occasionally, I removed the director abc without stopping the tomcat server. In another word, I removed the war file while tomcat is still running. A new abc directory was created soon and now it works.
    Anyone has any idea about that? Thanks!
    Michael

    Any thoughts? Thanks

  • Error when deploying war file into application server

    I wrote a web service in java using RAD and managed to check it using a web service client with no errors.
    However, after creating a war file and tried to deploy this into the Sun application server, the following can be seen at the application server console:
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception ; requested operation cannot be completed Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    In the server.log file, the following appears:
    loyment|_ThreadID=13;|DPL5035:Error while running ejbc
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- j axrpc compilation exception
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206 )
    at com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1101 )
    at com.sun.enterprise.deployment.Application.visit(Application.java:1346)
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
    at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:42 7)
    at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:213)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:967)
    at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java :193)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.j ava:140)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.ja va:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentS ervice.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:188)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:520)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
    |#]
    [#|2007-11-14T11:21:10.083+0930|INFO|sun-appserver-ee8.1_02|javax.enterprise.system.tools.deploy ment|_ThreadID=13;|Total Deployment Time: 14145 msec, Total EJB Compiler Module Time: 0 msec, Po rtion spent EJB Compiling: 0%|#]
    [#|2007-11-14T11:21:10.116+0930|SEVERE|sun-appserver-ee8.1_02|javax.enterprise.system.tools.depl oyment|_ThreadID=13;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206 )
    at com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1101 )
    at com.sun.enterprise.deployment.Application.visit(Application.java:1346)
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
    at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:42 7)
    at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:213)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:967)
    at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java :193)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.j ava:140)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.ja va:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentS ervice.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:188)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:520)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
    |#]

    I got a similar error deploying to Weblogic with JBuilder 6 and it proved to be
    the Manifest.mf file inside war, which is very sensitive to CLASSPATH entry. Finally
    I used the file generated by JBuilder and it worked ...
    Stefan
    Frank Sun <[email protected]> wrote:
    Hi, this is Frank.
    I have a war file and want to deploy it. but somehow I got java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1
    error
    Would anyone please help me?
    This war file is able to be deplyed using Tomcat 4.0.3.
    Please help.

  • How to deploy the .war to tomcat

    Hello All,
                 How to deploy the war file into tomcat server & work? Can any body enlighten me how to proceed and test the application?

    Hi,
    assumed you talk about Tomcat in general.
    Simply copy you archive (xyz.war) into the subdir \webapps of your tomcat installation.
    Invocation: http://hostname:port/xyz/resource
    -> where xyz is the name of your archive and
    -> resource is what you have specified within web.xml (<servlet-mapping> - tag) or a jsp / html you have in your archive.
    -> host is your machine (try localhost for instance)
    -> port usually is 8080
    Hope that helps
    M.

  • How to deploy WAR file in tomcat.?

    Can anybody please provide step by step information of deploying war file to Jakarta tomcat without IDE.
    I am working on Windows XP with jakarta tomcat 4.1.30.
    Thanks in advance.
    Regards,
    Aman Aggarwal

    See if tomcat runs as a service in your operating system. If you can locate it, you can set the start type to automatic. A very crud way is to run the tomcat startup file from autoexe.bat.
    I don't know how to do this in Linux. Here is a link for tomcat 6. Maybe it is the same in tomcat 4
    [http://tomcat.apache.org/tomcat-6.0-doc/setup.html]
    Edited by: nirvan on Dec 29, 2008 9:15 AM

  • How can i deploy adf-richclient-demo.war to tomcat?

    how can i deploy adf-richclient-demo.war to tomcat or
    how can i use adf faces 11G in tomcat or
    how long will the next version out?
    thank you!

    Hi,
    the demo is a WAR file. So if you have a tomcat version that supports JSF 1.2 then you should be able to deploy it like any other JEE WAR file
    Frank

  • 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

  • Deploy war file to Tomcat

    Hi all,
    i have this problem:
    i've created a web application with Sun Studio Creator 2 with connectione to DB Oracle 10.1.3
    i've exported war file to deploy it under Tomcat but when i try to lunch the application i get the following error:
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)Could you help me plese?
    Thank's,
    Ciro.

    hi Ciro,
    You have not created the context of your database in context.xml of your tomat (path for context.xml tomcat folder/conf/context.xml)
    Unless and until you don't create context you will get same error.
    regards,
    Joshmachine
    Edited by: joshmachine on Mar 27, 2008 3:46 PM

  • Problem in deploying WAR file into OC4J

    I have tried deploying a .war file into oc4j (orion) application server using - Deploying Upon OC4J Server Startup option
    I have placed the intelliview.war into /applications directory
    modified server.xml & web-site.xml
    server.xml added
    <application name="intelliview" path="../applications/iviewserver.war" auto-start="true" />
    web-site.xml added
    <web-app application="intelliview" name="iviewserver" root="/iviewserver" />
    Here is the error message,
    Error instantiating application at file ....applications/intelliview.war
    Unable to read/find assembly info (META-INF/application.xml)
    Any idea?
    Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • How to deploy an EAR or WAR into our J2E(J2EE Engine of SAP)

    I got a solo WAR but I don't know how to deploy it into our J2EE Engine(J2E). If you have any same or similar experience,can you give me some help?
    Any advice is popular. Thanks!

    Hello,
    If you use 6.20 release of J2EE Engine then have a look at  <j2ee root directory>/docs/deploymanual.pdf.
    If you have J2EE Engine 6.40 and an already built war file then most probably the easiest way to assemble it and deploy it will be to use the deploy tool (http://help.sap.com/saphelp_nw04/helpdata/en/35/e3ee3da7138e5be10000000a114084/frameset.htm) Usually we use the NetWeaver Developer Studio to build and deploy J2EE Applications (http://help.sap.com/saphelp_nw04/helpdata/en/fe/a3996fa314f94f8a0c3475b08636d0/frameset.htm).
    Best Regards
    Vyara

Maybe you are looking for