Hi there,
I have following directory structure
src
pages
where src consists of
com
host
where com and host in turn consists recursively *.java source code
Pages consists of all
jsp files
i have also web.xml included for couple of
servlet in WEB-INF
and weblogic.xml is also included in WEB-INF
i am building war file using
jar cvf bin pages WEB-INF where bin is directory consists of all classes generated by Eclipse as output directory for all
java source code under src
when i deploy WAR file in weblogic and click on
Test page logon.jsp
http://localhost:7001/rptparameter/ I am getting following message
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
PM EST> <Info> <Socket> <BEA-000436> <Allocating 5 reader threads.>
PM EST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "myserver" for domain "mydomain" running in Development Mode>
PM EST> <Warning> <WebLogicServer> <BEA-000372> <HostName: 0.0.0.0, maps to multiple IP addresses:10.236.64.245,10.236.72.245>
PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
PM EST> <Notice> <WebLogicServer> <BEA-000355> <
Thread "ListenThread.Default" listening on port 7001, ip address *.*>
PM EST> <Info> <Management> <BEA-140009> <Configuration changes for the domain have been saved to the repository.>
PM EST> <Info> <Configuration Management> <BEA-150007> <The booted configuration .\config.xml has been backed up at D:\bea\user_projects\domains\mydomain\.\config.xml.booted.>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=19044311,name=console,context-path=/console)] FileServlet: init>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=19044311,name=console,context-path=/console)] FileServlet: Using standard I/O>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=19044311,name=console,context-path=/console)] actions: init>
PM EST> <Info> <Deployer> <BEA-149038> <A deployment task with ID 0 for application rptparameter is being initiated.>
PM EST> <Info> <Deployer> <BEA-149033> <deactivating application rptparameter on myserver>
PM EST> <Info> <Deployer> <BEA-149059> <Module rptparameter of application rptparameter is transitioning from active to prepared on server myserver.>
PM EST> <Info> <Deployer> <BEA-149060> <Module rptparameter of application rptparameter successfully transitioned from active to prepared on server myserver.>
PM EST> <Info> <Deployer> <BEA-149033> <deactivated application rptparameter on myserver>
PM EST> <Info> <Deployer> <BEA-149059> <Module rptparameter of application rptparameter is transitioning from prepared to unprepared on server myserver.>
PM EST> <Info> <Deployer> <BEA-149060> <Module rptparameter of application rptparameter successfully transitioned from prepared to unprepared on server myserver.>
PM EST> <Info> <Management> <BEA-140009> <Configuration changes for the domain have been saved to the repository.>
PM EST> <Info> <Deployer> <BEA-149074> <Successfully completed deployment task: [Deployer:149026]Remove application rptparameter on myserver.>
PM EST> <Error> <Deployer> <BEA-149027> <Unable to activate application, report, from source, D:\bea\report.war. Reason: [
J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml" at "D:\bea\report.war">
PM EST> <Info> <Deployer> <BEA-149038> <A deployment task with ID 1 for application report is being initiated.>
PM EST> <Info> <Deployer> <BEA-149033> <preparing application report on myserver>
PM EST> <Info> <Deployer> <BEA-149059> <Module report of application report is transitioning from unprepared to prepared on server myserver.>
PM EST> <Info> <Deployer> <BEA-149060> <Module report of application report successfully transitioned from unprepared to prepared on server myserver.>
PM EST> <Info> <Deployer> <BEA-149033> <prepared application report on myserver>
PM EST> <Info> <Deployer> <BEA-149033> <activating application report on myserver>
PM EST> <Info> <Deployer> <BEA-149059> <Module report of application report is transitioning from prepared to active on server myserver.>
PM EST> <Info> <Deployer> <BEA-149060> <Module report of application report successfully transitioned from prepared to active on server myserver.>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] WebServiceServlet: init>
PM EST> <Info> <Deployer> <BEA-149033> <activated application report on myserver>
PM EST> <Info> <Management> <BEA-140009> <Configuration changes for the domain have been saved to the repository.>
PM EST> <Info> <Deployer> <BEA-149074> <Successfully completed deployment task: [Deployer:149026]Deploy application report on myserver.>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] /*: init>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] /*: Using standard I/O>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: init>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param verbose initialized to: true>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param packagePrefix initialized to: jsp_servlet>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param compilerclass initialized to: com.sun.tools.javac.Main>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param compileCommand initialized to: javac>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param compilerval initialized to: com.sun.tools.javac.Main>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param pageCheckSeconds initialized to: 1>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param encoding initialized to: null>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param superclass initialized to weblogic.servlet.jsp.JspBase>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param srcCompiler initialized to weblogic.jspc>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: param workingDir initialized to: D:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_report_report>
PM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=12059792,name=report,context-path=/rptparameter)] *.jsp: initialization complete>
Here is Weblogic console