Problem in web application deployment in weblogic 8.1

hiiiiiiiii freinds!
i am a newcomer in the field of servlets and JSPs.Me and my freinds are developing a client/server chat application but i am facing a problem in transferring the control from one JSP to another JSP.I am using Oracle 10g and weblogic 8.1upon clicking the submit button at login.jsp i am seeing following message at web browser.
/loginhandler.jsp(4): class 'com.mycompany.login.Login' could not be loaded
probably occurred due to an error in /loginhandler.jsp line 4:
<jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" />
codes for JSPs and bean class aregiven below-
login.jsp
   1. <html> 
   2. <head><title></title> 
   3. <script language="javascript"> 
   4. function Validate(){ 
   5. var name=document.frm.userName 
   6. var password=document.frm.passWord 
   7.  
   8. if ((name.value==null)||(password.value=="")){ 
   9. alert("Please Enter user name") 
  10. user.focus() 
  11. return false 
  12. } 
  13. if ((name.value==null)||(password.value=="")){ 
  14. alert("Please Enter password") 
  15. pass.focus() 
  16. return false 
  17. } 
  18. return true 
  19. } 
  20. </script> 
  21. </head> 
  22. <body> 
  23. <form method="post" action="loginhandler.jsp"> 
  24. username - <input type="text" name="userName"><br> 
  25. password - <input type="password" name="passWord"><br> 
  26. <input type="submit" value="Submit"> 
  27. <input type="reset" value="Reset"> 
  28. </form> 
  29. <jsp:include page="showformat.jsp"/> 
  30. </body> 
  31. </html>  loginhandler.jsp
   1. <%@page contentType="text/html"%> 
   2. <%@page pageEncoding="UTF-8"%> 
   3. <%@page import="java.util.*" %> 
   4. <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" /> 
   5. <jsp:setProperty name="idHandler" property="*" /> 
   6. </jsp:useBean> 
   7. <html> 
   8. <head><title></title></head> 
   9. <body> 
  10. <% 
  11. String userName = request.getParameter("userName"); 
  12. String passWord = request.getParameter("passWord"); 
  13. if (idHandler.authenticate(userName, passWord)){ 
  14. response.sendRedirect("welcome.jsp"); 
  15. } else { 
  16. response.sendRedirect("loginfailed.html"); 
  17. } 
  18. %> 
  19. </body> 
  20. </html>  welcome.jsp
   1. <html> 
   2. <head><title>welcome!!!!!!</title></head> 
   3. <body> 
   4. <% 
   5. String name=(String)request.getAttribute("userName"); 
   6. out.println("Welcome" +name); 
   7. %> 
   8. </body> 
   9. </html>  login.java
   1. package com.mycompany.login; 
   2. import java.sql.*; 
   3. import java.io.*; 
   4.  
   5. public class Login  
   6. { 
   7. //default constructor 
   8. public Login(){} 
   9. //method for the database connection 
  10. public Connection getConnection() 
  11. throws IOException{ 
  12. Connection conn = null; 
  13. try{ 
  14. Class.forName("oracle.jdbc.driver.OracleDriver"); 
  15. conn = DriverManager.getConnection( 
  16. "jdbc:oracle:thin:@localhost:1521:xe", 
  17. "system", 
  18. "abcdefgh"); 
  19. } 
  20. catch(SQLException e) 
  21. { 
  22. System.out.println("SQLException: " + e.getMessage()); 
  23. while((e = e.getNextException()) != null) 
  24. System.out.println(e.getMessage()); 
  25. } 
  26. catch(ClassNotFoundException e) 
  27. { 
  28. System.out.println("ClassNotFoundException: " + e.getMessage()); 
  29. } 
  30. return conn; 
  31. } 
  32. //method that is called from validateuser.jsp and this checks for the authentic user and 
  33. public boolean authenticate(String user, String pass) 
  34. throws SQLException, IOException{ 
  35. String Username = null, Password = null; 
  36. Login dbconn = new Login(); 
  37. Statement stmt = dbconn.getConnection().createStatement(); 
  38. String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'"; 
  39. ResultSet rs = stmt.executeQuery(sql); 
  40. if(rs.next()){ 
  41. Username = rs.getString("USER_NAME"); 
  42. Password = rs.getString("PASS_WORD"); 
  43. } 
  44. if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){ 
  45. return true; 
  46. } 
  47. else return false; 
  48. } 
  49. }  it is requested that please don't neglect or ignore any programming error in pages as i am a newcomer in the field of web development.also suggest some good content and study material for developing interactive and user freindly chat client/server web application.reply as soon as possible!

ya i have done it and i have put it under the sub directories of classes directory and also included the import also i have modified the codes but problem is same.
login.jsp
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.util.*, java.text.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title>
<script language="javascript">
function Validate(){
var name=document.frm.userName
var password=document.frm.passWord
if ((name.value==null)||(password.value=="")){
alert("Please Enter user name")
user.focus()
return false
if ((name.value==null)||(password.value=="")){
alert("Please Enter password")
pass.focus()
return false
return true
</script>
</head>
<body>
<form method="post" action="loginhandler.jsp">
username - <input type="text" name="userName"><br>
password - <input type="password" name="passWord"><br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
<br><br><br><br><br><br><br>  &nbsp
</form>
<jsp:include page="showformat.jsp"/>
</body>
</html>loginhandler.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><%@page contentType="text/html"%>
<%@ page pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.mycompany.login" %>
<jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="session">
<jsp:setProperty name="idHandler" property="userName" />
<jsp:setProperty name="idHandler" property="passWord" />
</jsp:useBean>
<html>
<head><title></title></head>
<%
String userName = request.getParameter("userName");
String passWord = request.getParameter("passWord");
if(userName == null)
userName = "";
if(passWord == null)
passWord = "";
if(!userName.equals("") && !password.equals("")){
session.setAttribute("User", userName);
session.setAttribute("Password", passWord);
if (idHandler.authenticate(userName, passWord)){
response.sendRedirect("welcome.jsp");
} else {
response.sendRedirect("loginfailed.html");
%>
<body></body>
</html>welcome.jsp
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*, java.io.*, java.util.*, java.text.*" errorPage="" %>
<%@ page import="com.mycompany.login" %>
<jsp:getProperty name="idHandler" property="*">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>welcome!!!!!!</title></head>
<body>
<%
String name=(String)session.getAttribute("User");
out.println("Welcome" +name);
%>
</body>
</html>
(code)
login.javapackage com.mycompany.login;
import java.sql.*;
import java.io.*;
public class Login {
String Username = null, Password = null;
//default constructor
public Login(){}
//method for the database connection
public Connection getConnection()
throws IOException{
Connection conn = null;
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection(
"jdbc:oracle:thin:@localhost:1521:xe",
"system",
"abcdefgh");
catch(SQLException e)
System.out.println("SQLException: " + e.getMessage());
while((e = e.getNextException()) != null)
System.out.println(e.getMessage());
catch(ClassNotFoundException e)
System.out.println("ClassNotFoundException: " + e.getMessage());
return conn;
//method that is called from loginhandler.jsp and this checks for the authentic user and
public boolean authenticate(String user, String pass)
throws SQLException, IOException{
Login dbconn = new Login();
Statement stmt = dbconn.getConnection().createStatement();
String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'";
ResultSet rs = stmt.executeQuery(sql);
if(rs.next()){
Username = rs.getString("USER_NAME");
Password = rs.getString("PASS_WORD");
if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){
return true;
else return false;
public void setUsername(String name)
Username=name;
public String getUsername()
return Username;
public void setPassword(String password)
Password=password;
public String getPassword()
return Password;

Similar Messages

  • Web application deployed to weblogic 7.0 does't work

    Hi,
    I recently developed a web application. It runs perfectly in Jdeveloper Embeded server on my local machine. The app was talking to a orable 9i database.
    However after I deployed it to weblogic 7.0 server. All servlets don't work any more. Some give me 404 error which I figured it might have something to do with my web.xml. I didn't have enough servlet-mapping definition. I corrected and now I've got new 500 error. Please help. I'm wondering if I need to do some oralce configure thing in the admin console. But it does work in Jdevlopera. All connection statment and sql statements were in the servlet code. Is here anything I miss? please help. I've been stuggle with this for 3 days. Any tip will be highly appreciated. Thanks again.
    When I run a servlet by calling a URL. It gives me the following error. What could this go wrong?
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.

    Make sure to have the right servlet mapping:
    For example:
    <servlet-mapping>
    <servlet-name>Servlet1</servlet-name>
    <url-pattern>/Servlet1_Url</url-pattern>
    </servlet-mapping>
    Then call the servlet as
    http://Hostname:7001/contex_root/Servlet1_Url
    Since your servlet is talking to the Oracle9i database, If you come across any database connecting problems
    make sure classes12.jar is in the classpath before startting WebLogic7.0
    Make sure the WL_home/weblogic700/server/lib/classe12.zip is not loaded by moving it into a different folder.

  • Configure Log File for each web application deployed in weblogic server usi

    Hi All,
    How do I configure Log4J to log separately for each web application? i.e. Assuming, I have a web application "AWeb" and a web application "BWeb". I need a log file to be created for AWeb Separately and BWeb Separately. i.e. All the log information for "AWeb" web application will be stored in AWeb.log and all the "BWeb" web application will be stored in BWeb.log
    Do you have any sample code and configuration details for the above-mentioned requirement?
    Thanks in Advance,
    C R Baradwaj

    You do not need to do anything strange, just use log4j the usual way with the exception that you do not need to init log4j (this is not necesary when using a log4j.xml.)
    A minimal sample of a log4j.xml is
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
    <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.SimpleLayout"/>
    </appender>
    <root>
    <priority value ="debug" />
    <appender-ref ref="ConsoleAppender"/>
    </root>
    </log4j:configuration>
    You just have to be sure that you have different log4j.xml in your classpath for different web applications.
    Regards,
    LG

  • Web application deployment problem. FacesServlet exception.

    Hello.
    I used Jdeveloper 10.1.3.4 and deployed my web-app on OAS 10.1.3 (Windows) succesfully. But when I'm trying to access my application, I get in application.log following errors:
    11/02/08 14:29:18.213 test: Error initializing servlet
    java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet cannot be cast to com.evermind.server.http.JspInterface
         at com.evermind.server.http.JspServletInstanceInfo.initializeJsp(JspServletInstanceInfo.java:127)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2505)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.214 test: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5033)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.285 test: Error initializing servlet
    java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2528)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.286 test: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5033)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.286 test: 10.1.3.5.0 Started
    11/02/08 14:32:29.511 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:37:27.173 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:40:07.383 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    I've found solution for this error: it is necessary to add to web.xml following:
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    I've added this, and now get a deployment error:
    [Feb 8, 2011 6:04:33 PM] Exception: NoClassDefFoundError: oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    [Feb 8, 2011 6:04:34 PM] Operation failed with error: oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    Need help to solve the problem!

    OK. You can call me stupid. I forgot to set the default web application for the
    specific server. Another Stupid User Eror Problem. Doh! Later...
    - Wayne
    "Wayne Lau" <[email protected]> wrote:
    >
    I'm having an issue where with an exploded directory web application
    deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP.
    I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed
    wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

  • Web Application Deployment Problem...

    I'm having an issue where with an exploded directory web application deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP. I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

    OK. You can call me stupid. I forgot to set the default web application for the
    specific server. Another Stupid User Eror Problem. Doh! Later...
    - Wayne
    "Wayne Lau" <[email protected]> wrote:
    >
    I'm having an issue where with an exploded directory web application
    deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP.
    I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed
    wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

  • Issue of deploying a fusion Web Application with integrated Weblogic server

    Hi,
    i'm using Jdev 11.1.1.3.0 to develop a fusion web application, with a model and ViewController Projects.
    When i try to deploy this application with the integrated server, i have any issues.
    The origin seems to be that it builds an application with 3 profiles. The model application is recognized and deployed as a webapp and not an ADF library as it should be..
    [11:00:45 PM] Retrieving existing application information
    [11:00:45 PM] Running dependency analysis...
    [11:00:45 PM] Deploying 3 profiles...
    [11:00:46 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ViewControllerWebApp.war
    *[11:00:48 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ModelWebApp.war*
    [11:00:48 PM] Wrote Enterprise Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0
    [11:00:48 PM] Deploying Application...
    <27 déc. 2010 23 h 00 CET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application easygestionV2.0 is not versioned.>
    <JpsDstCredential><setCredential> Impossible de migrer le dossier/la clé d'informations d'identification et de connexion ADF/anonymous#easygesprod. Raison : oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: Les informations d'identification et de connexion avec la correspondance ADF et la clé anonymous#easygesprod existent déjà..
    <TrinidadFilter><init>
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
         at oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.register(ConverterValidatorRegistrationUtils.java:36)
         at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.init(RegistrationConfigurator.java:79)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:400)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.init(RegistrationFilter.java:53)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilterImpl.java:103)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:54)
         at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98)
         at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    How can i fix the model project to be deployed as an ADf library and not a webapp with the integrated weblogic server ? Because with me it doesn't do it by itself.
    Thanks a lot for help

    duplicate to Issue of deploying a fusion Web Application with integrated Weblogic server

  • WL 7.0 and Web Application Deployment - HELP

    I've got a problem with WL 7.0 on Windows 2000.
    I messed up a Web Applications deployment. I was having problem with
    an example of an application I installed. Someone suggested I do the
    following:
    Shut down WL
    cd c:\bea\user_projects\AppDomain
    mv BuyServer BuyServer-ORIG <<< BuyServer is the name of the WL
    domain server this web app is deployed to
    Restart everything
    They said this would undeploy the web app. Yeah, right ....
    Well, the web app still showed up. So being a dork I tried to
    Undeploy it even though the BuyServer directory wasn't there anymore.
    This obviously didn't work.
    So I did a fresh deployement of the web app. This actually worked. A
    new BuyServer directory was created by WL. BUT in the Deployment
    Activities screen for the web app, there is a Activity I can't get rid
    of. The first listed activity is the deployment activitiy with a
    status of COMPLETED.
    The second listed activity says:
    Activity: Activate application buy on
    BuyServer Running
    Status: RUNNING
    Begin/End times are blank
    And there is a CANCEL button on the far right. I'm pretty sure this
    is the attempted undeploy I mentioned above. Pressing this button
    doesn't do anything. I can repeated undeploy and redeploy this web
    app but that second activity keeps coming back.
    Where does WL keep these Deployment activities stored ? Its putting
    them somewhere in storage. Is there anyway I can delete this failed
    activity ?
    Any thoughts appreciated.

    I am sure you "sovled" the problem by now but...
    Sean O'Neill <[email protected]>
    wrote:
    I've got a problem with WL 7.0 on Windows 2000.
    I messed up a Web Applications deployment. I was having problem with
    an example of an application I installed. Someone suggested I do the
    following:
    Shut down WL
    cd c:\bea\user_projects\AppDomain
    mv BuyServer BuyServer-ORIG <<< BuyServer is the name of the WL
    domain server this web app is deployed to
    Restart everythingAll this does is move the domain directory to a new one, it doesn't take care
    of the application.
    They said this would undeploy the web app. Yeah, right ....Sorry someoned fed you the wrong info. Buyer beware. ;)
    So when you "deploy" an applicaiton, it goes into config.xml
    $DOMAIN_NAME/config.xml
    It looks something like:
    <Application Name="mywebapp"
    Path="E:\weblogic\dev\sandbox\griffith\apps\output" TwoPhase="true">
    <WebAppComponent Name="mywebapp" Targets="myserver" URI="mywebapp.war"/>
    </Application>
    You should be able to "undeploy" this thing in 3 ways.
    1) by starting the server and "deleteing" it with the little trash can icon in
    the Application/module list.
    2) don't start your server, and removed the <Application tag
    3) start server and run weblogic.Deployer
    java weblogic.Deployer -name mywebapp -remove
    >
    Well, the web app still showed up. So being a dork I tried to
    Undeploy it even though the BuyServer directory wasn't there anymore.
    This obviously didn't work.Nope.
    >
    So I did a fresh deployement of the web app. This actually worked.
    A
    new BuyServer directory was created by WL. I dont follow how doing a deployment creates BuyServer, I thought that was the
    name of your domain, is that also the name of your webapp?
    BUT in the Deployment
    Activities screen for the web app, there is a Activity I can't get rid
    of. The first listed activity is the deployment activitiy with a
    status of COMPLETED.
    The second listed activity says:
    Activity: Activate application buy on
    BuyServer Running
    Status: RUNNING
    Begin/End times are blank
    And there is a CANCEL button on the far right. I'm pretty sure this
    is the attempted undeploy I mentioned above. Pressing this button
    doesn't do anything. I can repeated undeploy and redeploy this web
    app but that second activity keeps coming back.Sorry sounds like you have hit a bug. :(
    Deploy from the command line.
    java weblogic.Deployer <url/user/pass> -name mywebapp -source PATH_TO_EXPLODED_DIR_OR_EAR_OR_WAR_FILE
    -activate
    If it fails to return, then post the server's log file.
    >
    Where does WL keep these Deployment activities stored ? Its putting
    them somewhere in storage. They are only in memory for duration of server run, if you restart they go away.
    Is there anyway I can delete this failed
    activity ?
    Any thoughts appreciated.Cheers
    mbg
    >

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How can I debug a web application running on Weblogic 10.3

    Hello,
    I have inherited a NetUI Web Application developed using Weblogic Workshop and I can't manage to debug it. I have configure my server in Workshop and to debug it I right-click the project in Project Exporer and select Debug As -> Debug On Server, but this isn't working. The browser does open the application doesn't appear to be getting delpoyed.
    Can anyone help me out? I am using Weblogic 10.3 and Java 1.6.
    Thanks,
    Sean

    Hi Kal,
    The application is an enterprise application packaged as an EAR. if I right click on the project and click Debug As -> Debug on Server, the application appears in the Server Tab, but it does not start automatically. If I then manually start the server the application runs, but it does not stop at break points and I can not debug it.
    If I right-click on the web project that is packaged as part of the ear and select Debug As -> Debug On Server again the application is deployed, but I can't debug it. I don't get error messages, the application functions as normal but it does not stop at break points. When I attempt to debug the application via the Web Project, two browsers open automatically, both correctly displaying the application.
    Regards,
    Sean

  • Please help me to undeploy web applications without starting weblogic.

    My colleague deployed his web application to my weblogic domain. However, the domain cannot be started after deployment. How to undeploy that application without starting the weblogic?
    I use weblogic 10.3.3. His application uses servlet and jsp and tests that application in weblogic 10.3.2

    Delete the application from the deploy directory. The domains/base_domain/autodeploy is the directory for auto deployed applications, which get deployed when server is started. Or, the domain's InstallDir directory.
    Edited by: dvohra16 on Jan 22, 2011 4:43 PM

  • Error while web application deployment in NetBeans5.5

    Error while web application deployment in NetBeans5.5. I am always getting Tomcat deployment error. using Netbeans 5.5.1 with bundeld tomcat. But in some machines its working fine.
    regards
    jossy v jose

    What is the error message you see?
    Are there any stacktraces or other relevant messages in the ide log file? (The ide log file is [userdir]/var/log/messages.log. On userdir: http://blogs.sun.com/karthikr/entry/jse_directories)
    You can also check the server log file to see if there are more detailed messages.
    You can also try setting ant's verbose level to debug or verbose (Tools | Options | Miscellaneous | Ant | Verbosity Level) and check the output.

  • Jdeveloper WS proxy error while invoking  web service deployed on weblogic

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

  • Can you reload web application from the Weblogic console?

              Good day, eh!
              Can you reload all your jsp/servlet classes of your
              web application from the Weblogic console?
              A one big button labeled 'Reload application' would be very
              good property in Weblogic
              Thanks for Your answers
              - hoser
              

    Hi,
              I agree it is a much needed feature. Suppose I just change an init
              param of one application in the web.xml, I don't want to take down the
              15 other webapps running on my server just to be able to have that web
              app restart and re-read is configuration. Of course, I could program
              some servlet that allows changing application attributes and to enable
              restarting, but really this a)does not cover all the cases (i.e. addind
              an EBJ reference binding to web.xml) b) should be provided by the app
              server, not programmed by every little programmer again & again.
              Mathieu
              Jeff Nowakowski wrote:
              >
              > The URL you give refers to redeploying EJBs, not web applications. Being
              > able to redeploy a web application would be a very convenient feature.
              >
              > -Jeff
              >
              > Gene Chuang <[email protected]> wrote in message news:[email protected]...
              > > Button is already there!
              > >
              > > http://www.weblogic.com/docs51/techdeploy/hotdeploy.html#consoledeployejb
              > >
              > > Gene
              > >
              > > "hoser" <[email protected]> wrote in message
              > > news:[email protected]...
              > > >
              > > > Good day, eh!
              > > >
              > > > Can you reload all your jsp/servlet classes of your
              > > > web application from the Weblogic console?
              > > >
              > > > A one big button labeled 'Reload application' would be very
              > > > good property in Weblogic
              > > >
              > > > Thanks for Your answers
              > > >
              > > > - hoser
              > >
              > >
              

  • Profiling of Application deployed in weblogic

    Hi All,
    I am looking for a profiling a application deployed in weblogic.
    I used jvisualvm & Jconsole. But I am looking for visual tool which can show the class/reference like jvisualvm does under profile section.
    But for my weblogic, it is not showing any reference.
    I guess either i need to give special java option while starting weblogic or need to use some other profiler.
    Any help will be appreciated.

    Hi,
    You can use JRockit Mission Control to profile your application on weblogic.
    http://www.oracle.com/technetwork/middleware/jrockit/overview/index-090630.html

  • Web-application deployment problem (404 - File not found)

    Hello
    Does anyone have had the same problems like me on deploying java web-applications on iPlanet WS 6.0?
    I started with the HelloWorld.war example that came with the server and went through the manual but no luck so far. Heres what I did:
    0. Checked that webapps are enabled in the servler.xml file
    1. Created a directory /opt/webapps and /opt/webapps/hello with sufficient permissions
    2. Copied the HelloWorld.war example to /opt/webapps
    3. Deployed the excample on my test-server using the webinterface.
    Heres the content of the web-apps.xml file of my testserver after step 3:
    [DTD here]
    <vs>
    <jsp-servlet enable="true">
    <init-param>
    <param-name>use-precompiled</param-name>
    <param-value>true</param-value>
    </init-param>
    </jsp-servlet>
    <web-app uri="/hello" dir="/opt/webapps/hello" enable="true"/>
    </vs>
    All files have been extracted to /opt/webapps/hello properly. The server has been restarted.
    When I finally point my browser to http://server/hello or hello/index.jsp I get only a 404 - File not found message by the server. The context path seems to be totaly ignored.
    Heres the error log of the server
    [17/Feb/2003:16:17:38] info (12040): successful server startup
    [17/Feb/2003:16:17:38] info (12040): iPlanet-WebServer-Enterprise/6.0SP2 B11/13/2001 00:49
    [17/Feb/2003:16:17:39] info (12041): Installing a new configuration
    [17/Feb/2003:16:17:39] info (12041): [LS ls1] http://XXX.XXX.XXX.XX, port 1080 ready to accept requests
    [17/Feb/2003:16:17:39] info (12041): A new configuration was successfully installed
    [17/Feb/2003:16:17:40] info (12041): Using the Solaris VM v1.2.2 from Sun Microsystems Inc.
    [17/Feb/2003:16:17:40] info (12041): Java VM classpath: /www/ns-home6sp2/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/opt/jdk1.2.2/lib/tools.jar:/www/ns-home6sp2/bin/https/jar/NSServletLayer.jar:/www/ns-home6sp2/bin/https/jar/NSJavaUtil.jar:/www/ns-home6sp2/bin/https/jar/NSJavaMiscUtil.jar:/www/ns-home6sp2/bin/https/jar/servlet.jar:/www/ns-home6sp2/bin/https/jar/servlet-2.3-filters-api.jar:/www/ns-home6sp2/bin/https/jar/jsp092.jar:/www/ns-home6sp2/bin/https/jar/jaxp.jar:/www/ns-home6sp2/bin/https/jar/crimson.jar:/www/ns-home6sp2/bin/https/jar/xalan.jar:/www/ns-home6sp2/bin/https/jar/jspengine.jar:
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): Adding web application (/hello) at (/opt/webapps/hello)
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): vs(https-duke)servlet 'snoop' class = 'SnoopServlet' loaded in context = '/hello'
    [17/Feb/2003:16:17:40] info (12041): snoop: init
    [17/Feb/2003:16:17:40] info (12041): Successfully initialized web application environment (web-apps.xml) for virtual server (https-duke)

    i had similar problem due to the incorrect jdk path...
    try http://..../hello/snoop, if this works, it seems that the jsp file cannot be compiled automatically and jdk path needs to be checked...

Maybe you are looking for

  • ISE 1.2: Show live Sessions with/without Events

    I have a strange issue. Sometime I see Events according to my live sessions, sometimes not. I am wondering is somebody is aware if this feature/bug in ISE 1.2 (Patch 5): all theses sessions come from the same SSID/WLC (WiSM2 with rel. 7.6). All sessi

  • Error in Flatfile (txt) to xml file scenario

    hi, while executing the Flat file (txt) to xml file  scenario, the txt file picked up from my source directory, but i could not find in my target directory. when i check message monitoring, it is showing successful. Audit Log for Message: af840930-3f

  • How do i fix my wifi because it is greyed out

    I need to know how to fix my wifi because everytime i try to turn on my wifi it wont let me and its greyed out

  • Customer (shipt-to) adress in deliveries

    Hello, I need to know in what tables is the data of the adress of the customers (street, location, etc) Also, I would need to know if this information exists in delivery tables or this information is only linked to the customer table/s (u can see all

  • IPhoto book order will not accept proper address???

    They say city/state/zip is incorrect.....HOWEVER it is correct