We help IT Professionals succeed at work.
Get Started

Webp application not coming up using Eclipse 3.2 and weblogic 8.1 server

717 Views
Last Modified: 2013-12-15
I have successfully loaded Eclipse 3.2 on my machine Windows XP laptop and also the web WTP 1.5 Plugin.  Have installed have running a weblogic 8.1 server using 1.4.12 jdk.  Now heres the problem... Trying to get my application to run on it.  I have found a tutorial and loaded the source into eclipse as j2ee project and it has no errors.  I then opened the server view, created a weblogic 8.1 instance and the added my application to server. Start the server, receive no errors... and then go to my browser and it just doesnt come up.  

Heres what the servers says once its finished starting up...
Buildfile: C:\eclipse\plugins\org.eclipse.jst.server.generic.weblogic_1.5.1.v200609141504\buildfiles\weblogic.xml
-checkWebDeploy:
deploy.j2ee.web:
      [jar] Building jar: C:\WorkspaceWeb\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\WTP-Tutorial.war
     [move] Moving 1 file to C:\bea\user_projects\domains\LarrysDomain\applications
BUILD SUCCESSFUL
Total time: 5 seconds

Next here is the web.xml contents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="WebApp_ID">
      <display-name>WTP-Tutorial</display-name>
        <servlet>  
            <servlet-name>Snoop Servlet</servlet-name>  
            <servlet-class>org.eclipse.wtp.tutorial.SnoopServlet</servlet-class>  
        </servlet>  
        <servlet-mapping>    
           <servlet-name>Snoop Servlet</servlet-name>    
           <url-pattern>/snoop/*</url-pattern>
        </servlet-mapping>
</web-app>

Heres the SnoopServlet source:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="WebApp_ID">
      <display-name>WTP-Tutorial</display-name>
        <servlet>  
            <servlet-name>Snoop Servlet</servlet-name>  
            <servlet-class>org.eclipse.wtp.tutorial.SnoopServlet</servlet-class>  
        </servlet>  
        <servlet-mapping>    
           <servlet-name>Snoop Servlet</servlet-name>    
           <url-pattern>/snoop/*</url-pattern>
        </servlet-mapping>
</web-app>

Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE