Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to start weblogic server 8.1? i m novice....

Posted on 2007-11-25
7
Medium Priority
?
3,232 Views
Last Modified: 2013-12-10
hello,
can anybody help me how to start weblogic server?i typed localhost:8080 for tomcat ..for weblogic i hv to do what?
0
Comment
Question by:mithunda5011
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 2

Expert Comment

by:egorelik
ID: 20353034
The first thing yo should do is to run startWeblogic.sh (.bat on windows ) command from your weblogic domain directory. Then in your browser go to http://localhost:port/console. Default port is 7001.

read docs for more information:

http://e-docs.bea.com/wls/docs81/adminguide/overview.html#1036999
0
 
LVL 17

Expert Comment

by:contactkarthi
ID: 20355742
the url will be like
http://localhost:7001/yourdomain/startup_page.jsp


look at the faq's.. most of questions like the one you have are answered there

http://edocs.bea.com/wls/docs81/faq/index.html

also have a look on how to start Developing Web Applications for WebLogic Server

http://edocs.bea.com/wls/docs81/webapp/index.html
0
 

Author Comment

by:mithunda5011
ID: 20360670
many thanks for ur help.....i hv done the following in tomcat successfully...can u pls help me what i hv to do if i want the same to run on weblogic....i mean where to place which files ...what directories to be created....it is a very simple servlet....m also giving code n detail desc...pls help...thanks....

 i hv taken ------
                                                a) a html file(home.html)

that asks for username and password and when the user clicks log in button ...if

username is equal to "user" and password is equal to "pass" then a

"success.html" page comes otherwise "error.html" page comes(servlet code is provided below)

                                                b)i hv created a directory

named "a" in "C:\Program Files\Apache Software Foundation\Tomcat

5.0\webapps\servlets-examples"

                                                c)in directory "a" i have

placed 3 html files--1)home.html,2)success.html,3)error.html

                                                d)my java file  a1.java  is

in "C:\Program Files\Apache Software Foundation\Tomcat

5.0\webapps\servlets-examples\WEB-INF\classes" folder.()

                                    e)my web.xml descriptor is--
</servlet>
         <servlet-name>welcome1</servlet-name>
         <servlet-class>a1</servlet-class>
</servlet>
<servlet-mapping>
         <servlet-name>welcome1</servlet-name>
         <url-pattern>/welcome1</url-pattern>
</servlet-mapping>

                                    f)my server.xml looks like

this--
<context path="/servlets-examples" docBase="C:\Program Files\Apache Software

Foundation\Tomcat 5.0\webapps\servlets-examples\a" reloadable="true" />


                                    g)in home.html's form tag

i hv given <form action="/servlet-examples/welcome1" method="post"></form>






servlet code-----
 
//a1.java
 
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
 
 
public class a1 extends HttpServlet
{
        String s1,s2;
        boolean flag;
        public void doPost(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException
        {
                s1=req.getParameter("user");
                s2=req.getParameter("pass");
                
                
                
                if((s1.equals("user")) && (s2.equals("pass")))
                {
                        flag=true;
                }
                
                if(flag==false)
                        {
                        
                        RequestDispatcher rd=req.getRequestDispatcher("/a/error.html");
                        rd.forward(req,res);
                        }
                if(flag==true)
                {
                        RequestDispatcher rd=req.getRequestDispatcher("/a/success.html");
                        rd.forward(req,res);
                
                }
                
                
                        
        }
}

Open in new window

0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Author Comment

by:mithunda5011
ID: 20360700
following is home.htmlcode

 
 
<html>
  <head>
    <title>home</title>
  </head>
  <body>
  <form action="/servlet-examples/welcome1" method="post">
 
 
  	user name<input type="text" name="user"><br>
  	password<input type="password" name="pass">	<br>
  		<input type="submit" value="enter" >
  		<input type="reset" value="reset" >
  			
  </form>
  </body>
</html>

Open in new window

0
 
LVL 17

Accepted Solution

by:
contactkarthi earned 2000 total points
ID: 20361983
0
 

Author Comment

by:mithunda5011
ID: 20368020
thanks........done....now in another question i hv given the same problem ....but this time the server is JBOSS...how to do the same thing in JBOSS?
0
 

Author Closing Comment

by:mithunda5011
ID: 31410924
i hv used weblogic builder to deploy...;)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question