Hi friend
kindly help to deploy in weblogic server9.0
send me the steps

Dani AI

Generated

, as said, a few details help (WAR vs. loose files, console vs. CLI). Here is a quick, working path to get a JSP running on WebLogic 9.0.

  • Create a simple web app (Servlet 2.4/JSP 2.0):
myapp/
  index.jsp
  WEB-INF/
    web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
  <display-name>myapp</display-name>
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
</web-app>
  • Package it (or deploy the folder exploded):
jar cvf myapp.war -C myapp .
  • Start WebLogic and the Admin Console (default ), then:

    • Deployments -> Install -> select myapp.war (or the myapp folder).
    • Choose your server target (often AdminServer), accept Stage mode, Next/Finish.
    • After it shows as Active, browse (context root defaults to the WAR name).
  • CLI alternative:

java weblogic.Deployer -adminurl t3://localhost:7001 \
  -user weblogic -password yourpass \
  -deploy -name myapp -source /path/to/myapp.war \
  -targets AdminServer

Troubleshooting tips:

  • 404: verify the app is Active, the target includes the server you are hitting, and the URL path matches the context root (default is the WAR name).
  • JSP errors: check AdminServer.log under domains/<yourDomain>/servers/AdminServer/logs/.
  • Hot-reload: in development mode, JSPs recompile on change; if not, your domain may be in production mode.
  • Use web.xml version 2.4; newer schemas (2.5/3.x) will fail on WLS 9.0.

If you share whether you want console or CLI, and whether you have a WAR already, folks here can tailor the steps further.

Recommended Answers

All 2 Replies

not an introduction. Board is for introductions only. Warned. Moved to web development lounge.

Hi friend
kindly help to deploy in weblogic server9.0
send me the steps

You need to be little more specific about your problem...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.